gapi.loaded_1(function(_){var window=this; _.Kh=(window.gapi||{}).load; _.To=_.vf(_.If,"rw",_.wf()); var Uo=function(a,b){(a=_.To[a])&&a.state=0};kp=function(a){return _.vf(_.If,"watt",_.wf())[a]};lp=function(a){return function(b,c){return a?_.$m()[c]||a[c]||"":_.$m()[c]||""}};_.mp={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.np=!1; _.op=function(){if(!_.np){for(var a=document.getElementsByTagName("meta"),b=0;b0&&(b=_.Cf(a,e,""))&&(_.cp[e]=b)}_.np=!0}e=_.wf();_.Af(_.cp,e);return e};pp=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.Gm(document,a)}; qp=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=_.wf();b[">type"]=a;_.Af(c,b);a=_.dn(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.Ep=function(a){_.vf(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 gp=_.pf(["data-"]),Gp,Hp,Ip,Jp,Kp=/(?:^|\s)g-((\S)*)(?:$|\s)/,Lp={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Gp=_.vf(_.If,"SW",_.wf());Hp=_.vf(_.If,"SA",_.wf());Ip=_.vf(_.If,"SM",_.wf());Jp=_.vf(_.If,"FW",[]); var Mp=function(a,b){return(typeof a==="string"?document.getElementById(a):a)||b},Qp=function(a,b){var c;Np.ps0=(new Date).getTime();Op("ps0");a=Mp(a,_.sf);var d=_.sf.documentMode;if(a.querySelectorAll&&(!d||d>8)){d=b?[b]:hp(Gp).concat(hp(Hp)).concat(hp(Ip));for(var e=[],f=0;f0&&q>=e&&(f.ic="1");q=/^#|^fr-/;e={};for(var t in f)_.xf(f,t)&&q.test(t)&&(e[t.replace(q,"")]=f[t],delete f[t]);t=_.Sf("iframes/"+a+"/params/si")=="q"?f:e;q=_.op();for(var v in q)!_.xf(q,v)||_.xf(f,v)||_.xf(e,v)||(t[v]=q[v]);v=[].concat(zp);t=_.Sf("iframes/"+a+"/methods");_.sn(t)&&(v=v.concat(t));for(u in c)_.xf(c,u)&&/^on/.test(u)&&(a!="plus"||u!="onconnect")&&(v.push(u),delete f[u]);delete f.callback;e._methods=v.join(",");var u=_.Fm(n,f,e);v=h||{};v.allowPost= 1;v.attributes=yp;v.dontclear=!k;h={};h.userParams=c;h.url=u;h.type=a;_.Fp(a,b,c,u,v,h);b=h.id;c=_.wf();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.To[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),Rp(a,b))}},Sp=function(a,b,c){if(a&&a.nodeType===1&&b){if(c)return 1;if(Ip[b]){if(ip[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Hp[b])return 0;if(Gp[b])return 1}}return null};_.vf(_.Bf,"platform",{}).go=function(a,b){Qp(a,b)};var Tp=_.vf(_.If,"perf",_.wf()),Np=_.vf(Tp,"g",_.wf()),Up=_.vf(Tp,"i",_.wf()),Vp,Wp,Xp,Op,Zp,$p,aq;_.vf(Tp,"r",[]);Vp=_.wf();Wp=_.wf();Xp=function(a,b,c,d){Vp[c]=Vp[c]||!!d;_.vf(Wp,c,[]);Wp[c].push([a,b])};Op=function(a,b,c){var d=Tp.r;typeof d==="function"?d(a,b,c):d.push([a,b,c])};Zp=function(a,b,c,d){if(b=="_p")throw Error("P");_.Yp(a,b,c,d)};_.Yp=function(a,b,c,d){$p(b,c)[a]=d||(new Date).getTime();Op(a,b,c)};$p=function(a,b){a=_.vf(Up,a,_.wf());return _.vf(a,b,_.wf())}; aq=function(a,b,c){var d=null;b&&c&&(d=$p(b,c)[a]);return d||Np[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__.fP={};window.__gapi_jstiming__.Eda=1;var bq=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)},cq=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+"."+bq(a,l,h[m][0])):k&&e.push(l+"."+bq(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("")},dq=function(a,b,c){a=cq(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.Eda++; window.__gapi_jstiming__.fP[d]=b;b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.fP[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 dq(a,b,c), k=!0;k&&(f=!0,document.removeEventListener(e,h,!1))}};document.addEventListener(e,h,!1);return""}return dq(a,b,c)}};var eq={g:"gapi_global",m:"gapi_module",w:"gwidget"},fq=function(a,b){this.type=a?a=="_p"?"m":"w":"g";this.name=a;this.Js=b};fq.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.Js;case "w":return this.type+"."+this.name+this.Js}}; var gq=new fq,hq=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),iq=_.vf(Tp,"_c",_.wf()),jq=Math.random()<(_.Sf("csi/rate")||0),lq=function(a,b,c){for(var d=new fq(b,c),e=_.vf(iq,d.key(),_.wf()),f=Wp[a]||[],h=0;h=0;--d){var e=a.jy[d],f=b[a.G0[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.pD)a.pD.hasOwnProperty(k)&&(c[k]=Mq(c[k]||function(){},a.pD[k]));c.drefresh=zq;c.erefresh=Aq;return c}; Mq=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(rq){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())}; Wq=function(a,b){a.gq++;Zp("wrs",a.Ze,String(a.gq));var c=b.userParams,d=Tq(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=Gq(a,d),l=Tq(a.parameters,c);_.Af(_.op(),l);l=Sq(d,l);c=!!c["data-onload"];var m=_.Hn,n=_.wf();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=_.Kn;_.$o(n);f=l;a.bn&&(e[2]=n,e[3]=f,e[4]=k,a.bn("i",e));k=m.attach(n);k.id=b.id;k.EL(k,n);Hq(k,d);Iq(k,h);Jq(a, k,c);Kq(a.Ze,a.gq.toString(),k);e[5]=k;a.bn&&a.bn("e",e)};Xq=function(a,b){var c=b.url;a.yga||_.Lj(c)?Wq(a,b):_.Pa.open?Vq(a,b):(0,_.Kh)("iframes",function(){Vq(a,b)})}; _.Yq=function(a){var b=Lq(a);Uq(b);_.bh(b.Ze,function(d){Xq(b,d)});Gp[b.Ze]=!0;var c={Aa:function(d,e,f){var h=e||{};h.type=b.Ze;e=h.type;delete h.type;var k=Mp(d);if(k){d={};for(var l in h)_.xf(h,l)&&(d[l.toLowerCase()]=h[l]);d.rd=1;(l=!!d.ri)&&delete d.ri;Pp(e,k,d,[],0,l,f)}else _.Zg.log("gapi."+e+".render: missing element "+typeof d==="string"?d:"")},go:function(d){Qp(d,b.Ze)},pra:function(){var d=_.vf(_.If,"WI",_.wf()),e;for(e in d)delete d[e]}};a=function(){qq==="onload"&&c.go()};if(!jp(b.Ze)){if(!_.$g())try{a()}catch(d){}_.ah(a)}_.r("gapi."+ b.Ze+".go",c.go);_.r("gapi."+b.Ze+".render",c.Aa);return c};var Zq=function(){var a=window;return!!a.performance&&!!a.performance.getEntries},Kq=function(a,b,c){if(Zq()){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); Zp("wrt0",a,b,Math.round(f.startTime));Zp("wrt1",a,b,h);Zp("wrt2",a,b,k);Zp("wrt3",a,b,l)}},1E3)};c.register(Oq(c),e,Qq);c.register(Pq(c),e,Qq)}};_.r("gapi.widget.make",_.Yq); _.jg=_.jg||{};_.jg.yv=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0}; _.Pa.Pa.Ti.yv=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&&qr())if(e=rr(c),d.push(25),typeof e=== "object")return e;return{}}};tr=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());pr(c,b);a.push(c)}; _.ur=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=sr(f,h))&&d.push(f));c&&tr(b,c);a=nr("cd");c=0;for(d=a.length;c255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Fi,Gi,Ii;Fi={};Gi=null;_.Hi=_.ke||_.le||!_.Ci&&typeof _.Sa.atob=="function";_.Ji=function(a,b){b===void 0&&(b=0);Ii();b=Fi[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("")}; _.Ki=function(a,b){function c(l){for(;d>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}}; Ii=function(){if(!Gi){Gi={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Fi[c]=d;for(var e=0;e=0;b--)this.remove(a[b])};dj=function(a){a=(a.Rb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f=0&&a.indexOf(b,c)==c};_.Xj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.Yj=function(a){var b;if(_.le&&(b=a.parentElement))return b;b=a.parentNode;return _.jf(b)?b:null};_.ak=function(a,b){this.type="function"==typeof _.Zj&&a instanceof _.Zj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Sv=!1};_.ak.prototype.stopPropagation=function(){this.Sv=!0};_.ak.prototype.preventDefault=function(){this.defaultPrevented=!0};var bk=function(){if(!_.Sa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};_.Sa.addEventListener("test",c,b);_.Sa.removeEventListener("test",c,b)}catch(d){}return a}();_.ck=function(a,b){_.ak.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.BJ=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Mf=null;a&&this.zd(a,b)};_.bb(_.ck,_.ak);var dk={2:"touch",3:"pen",4:"mouse"}; _.ck.prototype.zd=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)?_.ke&&(_.fe(b,"nodeName")||(b=null)):c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.le||a.offsetX!== void 0?a.offsetX:a.layerX,this.offsetY=_.le||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.BJ=_.ne?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId|| 0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:dk[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.Mf=a;a.defaultPrevented&&_.ck.N.preventDefault.call(this)};_.ck.prototype.stopPropagation=function(){_.ck.N.stopPropagation.call(this);this.Mf.stopPropagation?this.Mf.stopPropagation():this.Mf.cancelBubble=!0};_.ck.prototype.preventDefault=function(){_.ck.N.preventDefault.call(this);var a=this.Mf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.ek="closure_listenable_"+(Math.random()*1E6|0);_.fk=function(a){return!(!a||!a[_.ek])};var gk=0;var hk=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Rf=e;this.key=++gk;this.Xv=this.hy=!1},ik=function(a){a.Xv=!0;a.listener=null;a.proxy=null;a.src=null;a.Rf=null};var jk=function(a){this.src=a;this.ze={};this.bx=0};jk.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ze[f];a||(a=this.ze[f]=[],this.bx++);var h=kk(a,b,d,e);h>-1?(b=a[h],c||(b.hy=!1)):(b=new hk(b,this.src,f,!!d,e),b.hy=c,a.push(b));return b};jk.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ze))return!1;var e=this.ze[a];b=kk(e,b,c,d);return b>-1?(ik(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.ze[a],this.bx--),!0):!1}; var lk=function(a,b){var c=b.type;if(!(c in a.ze))return!1;var d=_.ub(a.ze[c],b);d&&(ik(b),a.ze[c].length==0&&(delete a.ze[c],a.bx--));return d};jk.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.ze)if(!a||c==a){for(var d=this.ze[c],e=0;e-1?a[e]:null}; jk.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Vj(this.ze,function(f){for(var h=0;h>>0);_.rk=function(a){if(typeof a==="function")return a;a[zk]||(a[zk]=function(b){return a.handleEvent(b)});return a[zk]};_.Uj(function(a){wk=a(wk)});_.Ak=function(){_.Oj.call(this);this.Dk=new jk(this);this.C5=this;this.tJ=null};_.bb(_.Ak,_.Oj);_.Ak.prototype[_.ek]=!0;_.g=_.Ak.prototype;_.g.zo=function(){return this.tJ};_.g.MC=function(a){this.tJ=a};_.g.addEventListener=function(a,b,c,d){_.qk(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.xk(this,a,b,c,d)}; _.g.dispatchEvent=function(a){var b,c=this.zo();if(c)for(b=[];c;c=c.zo())b.push(c);c=this.C5;var d=a.type||a;if(typeof a==="string")a=new _.ak(a,c);else if(a instanceof _.ak)a.target=a.target||c;else{var e=a;a=new _.ak(d,c);_.Bb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Sv&&f>=0;f--){var h=a.currentTarget=b[f];e=h.ju(d,!0,a)&&e}a.Sv||(h=a.currentTarget=c,e=h.ju(d,!0,a)&&e,a.Sv||(e=h.ju(d,!1,a)&&e));if(b)for(f=0;!a.Sv&&f=0};_.gs=function(){return _.Yb&&_.Zb?_.Zb.mobile:!_.fs()&&(_.bc("iPod")||_.bc("iPhone")||_.bc("Android")||_.bc("IEMobile"))}; _.fs=function(){return _.Yb&&_.Zb?!_.Zb.mobile&&(_.bc("iPad")||_.bc("Android")||_.bc("Silk")):_.bc("iPad")||_.bc("Android")&&!_.bc("Mobile")||_.bc("Silk")};_.js=function(){return!_.gs()&&!_.fs()}; var tt;tt=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.ut=function(a,b,c,d){return Array.prototype.splice.apply(a,tt(arguments,1))};_.vt=function(a,b,c){if(a!==null&&b in a)throw Error("k`"+b);a[b]=c};_.wt=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Re(c,"*",a,b)[0]||null}return a||null}; _.xt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.zt=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.At=function(a){_.Oj.call(this);this.Hg=a;this.kc={}};_.bb(_.At,_.Oj);var Bt=[];_.At.prototype.qa=function(a,b,c,d){return this.vv(a,b,c,d)}; _.At.prototype.vv=function(a,b,c,d,e){Array.isArray(b)||(b&&(Bt[0]=b.toString()),b=Bt);for(var f=0;f=0))throw Error("Z`"+a);if(!hv(b))throw Error("$`"+a);this.uc[a]||(this.uc[a]=[]);fv(this.uc[a],b)<0&&this.uc[a].push(b)};ov.prototype.removeEventListener=function(a,b){if(!(fv(this.oN,a)>=0))throw Error("Z`"+a);hv(b)&&this.uc[a]&&this.uc[a].length&&(b=fv(this.uc[a],b),b>=0&&this.uc[a].splice(b,1))}; ov.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&fv(this.oN,b)>=0))throw Error("aa`"+b);if(this.uc[b]&&this.uc[b].length)for(var c=this.uc[b].length,d=0;d>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var D=w^v&(u^w);var C=1518500249}else D= v^u^w,C=1859775393;else t<60?(D=v&u|w&(v|u),C=2400959708):(D=v^u^w,C=3395469782);D=((p<<5|p>>>27)&4294967295)+D+y+C+q[t]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v=56;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;t<5;t++)for(var v=24;v>=0;v-=8)p[q++]=e[t]>>v&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,Zi:function(){for(var p=d(),q="",t=0;t2&&(e=f[2]);(f=e&&fv(e.split("|"),c)>=0)?Gv(e,d):Gv(e?e+"|"+c:c,d);c=!f;var h=this.uU,k=this.eea;d=this.nn;e=this.An;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&&hv(document.requestStorageAccess)&& (l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");yv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.cv&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Po=f}a&&this.qB.push(a)}};_.g.qV=function(){return this.Oo&&this.Pw};_.g.xo=function(){return this.qU}; Rv=function(a){for(var b=0;b=0)throw Error("ja");};_.Qv.prototype.Gj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;Uv(f);b=_.iv(b);_.Tv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Qv.prototype.SA=function(a,b,c,d,e){b=_.iv(b);_.Tv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Vv=function(a,b,c){Uv(b.identifier);_.Tv(a,"getSessionSelector",b,c)}; _.Wv=function(a,b,c,d,e){Uv(b.identifier);_.Tv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Xv=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);_.Tv(a,"monitorClient",b,h)};_.Qv.prototype.revoke=_.gb(8);_.Qv.prototype.Dt=_.gb(10);qv.mA={};qv.wG=function(a){return qv.mA[a]}; qv.UA=function(a,b,c){c=c===void 0?!1:c;var d=qv.wG(a);if(!d){d=String;if(Jv){var e=new window.Uint32Array(1);Iv.getRandomValues(e);e=Number("0."+e[0])}else e=Lv,e+=parseInt(Nv.substr(0,20),16),Nv=Pv(Nv),e/=Mv+Math.pow(16,20);d=new _.Qv(a,d(2147483647*e),c);qv.mA[a]=d}d.UA(b)};qv.z8=function(a){for(var b in qv.mA){var c=qv.wG(b);if(c&&c.Po&&c.Po.contentWindow==a.source&&c.xH==a.origin)return c}};qv.h9=function(a){for(var b in qv.mA){var c=qv.wG(b);if(c&&c.xH==a)return c}};qv=qv||{}; var Zv=function(){var a=[],b;for(b in _.Yv)a.push(_.Yv[b]);ov.call(this,a);this.Fm={};dv("EventBus is ready.")};gv(Zv,ov);_.Yv={D4:"sessionSelectorChanged",dE:"sessionStateChanged",Xs:"authResult",P1:"displayIFrame"};aw=function(a,b){var c=$v;a&&b&&(c.Fm[a]||(c.Fm[a]=[]),fv(c.Fm[a],b)<0&&c.Fm[a].push(b))};bw=function(a){var b=$v;a&&(b.Fm[a]||(b.Fm[a]=[]))};cw=function(a,b,c){return b&&a.Fm[b]&&fv(a.Fm[b],c)>=0};_.g=Zv.prototype; _.g.jda=function(a){var b,c=!!a.source&&(a.source===_.xv||a.source.opener===window);if(b=c?qv.h9(a.origin):qv.z8(a)){try{var d=_.nv.parse(a.data)}catch(e){dv("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.nn){dv("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.nk[c.id])delete b.nk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?dv("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.tU[a.type]?(d=this.tU[a.type], c&&!d.K5?dv("Bad IDP event. Source window cannot be a popup."):d.Ss&&!d.Ss.call(this,b,a)?dv("Bad IDP event."):d.Rf.call(this,b,a)):dv("Bad IDP event.")}else dv("Bad event, no corresponding Idp Stub.")};_.g.Iea=function(a,b){return cw(this,a.Gb,b.clientId)};_.g.Hea=function(a,b){a=a.Gb;b=b.clientId;return!b||cw(this,a,b)};_.g.Y5=function(a,b){return cw(this,a.Gb,b.clientId)}; _.g.nca=function(a,b){a.Oo=!0;a.Pw=!!b.cookieDisabled;Rv(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};Dw=function(a){return a.length>0&&a.every(function(b){return Aw.includes(b)})}; Ew=function(a,b,c,d,e,f,h){var k=_.vv(a,"authServerUrl");if(!k)throw Error("ea`"+a);a=_.iv(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=Cw())&&(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?"?":"&")+ww(a)};Fw=function(a,b,c,d){if(!a.Ub)throw Error("va");a.Vk=c||a.Z5||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Jd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Vk;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 Ew(a.Gb,a.ke,a.Ub,a.In,!0,b,d)}; Gw=function(a,b,c){if(!a.Ub)throw Error("va");return Ew(a.Gb,a.ke,a.Ub,a.In,!1,b,c)};Hw=function(a,b){a.np&&window.clearTimeout(a.np);a.np=window.setTimeout(function(){a.Vk==b&&(_.xv=void 0,a.np=null,a.Vk=void 0,a.hp({authResult:{error:"popup_closed_by_user"}}))},1E3)}; Iw=function(a,b,c){if(!a.Ub)throw Error("wa");c=c||{};c=Fw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Bw())&&_.hw(a,a.AW,[]);var d=a.Vk;a.HX.open(c,b,function(){a.Vk==d&&Hw(a,d)},function(){a.Vk=void 0;a.hp({authResult:{error:"popup_blocked_by_browser"}})})}; Jw=function(a,b){var c=b||{};b=_.iv(a.In);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.ke;b.nonce||(b.nonce="notprovided");d=_.vv(a.Gb, "fedcmConfigUrl");b.response_type=c.responseType.split(" ");b.scope=e.join(" ");c=navigator.userActivation.isActive?"button":"widget";e=Dw(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Ub,fields:e,params:b}],mode:c},mediation:"required"}}; Kw=function(a,b){if(!a.Ub)throw Error("wa");b=Jw(a,b);navigator.credentials.get(b).then(function(c){c=JSON.parse(c.token);var d={client_id:c.client_id,login_hint:c.login_hint,expires_in:3600,scope:c.scope};c.code&&(d.code=c.code);c.id_token&&(d.id_token=c.id_token);a.hp({type:_.Yv.Xs,idpId:a.Gb,authResult:d})},function(c){a.hp({type:_.Yv.Xs,idpId:a.Gb,authResult:{error:c}})})};Lw=function(a,b,c){a.Nk?c(a.xo()):_.hw(a,a.NV,[b,c])};_.Mw=function(a){_.vf(_.If,"le",[]).push(a)}; _.Nw=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("")}; Ow=function(a){var b=[];_.Ki(a,function(c){b.push(c)});return b};_.Pw=function(a,b){_.sj[b||"token"]=a};_.Qw=function(a){delete _.sj[a||"token"]};_.nv={parse:function(a){a=_.Ug("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Vg(a)}};_.rw.prototype.TF=function(a,b){_.hw(this,this.J7,[a,b])};_.rw.prototype.J7=function(a,b){this.Wd.TF(this.Ub,a,this.Qj,this.Ue,b)};_.Qv.prototype.TF=function(a,b,c,d,e){c=_.iv(c);_.Tv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Rw,Sw=["client_id","cookie_policy","scope"],Tw="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(" "),Uw=["authuser","after_redirect","access_type","hl"],Vw=["login_hint","prompt"],Ww={clientid:"client_id",cookiepolicy:"cookie_policy"}, Xw=["approval_prompt","authuser","login_hint","prompt","hd"],Yw=["login_hint","g-oauth-window","status"],Zw=Math.min(_.Sf("oauth-flow/authWindowWidth",599),screen.width-20),$w=Math.min(_.Sf("oauth-flow/authWindowHeight",600),screen.height-30);var ax=function(a){_.rb.call(this,a)};_.A(ax,_.rb);ax.prototype.name="gapi.auth2.ExternallyVisibleError";var bx=function(){};bx.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var cx=function(){};cx.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c=0||a.match(Vx))&&this.bs.push("permission"),a.indexOf("id_token")>=0&&this.bs.push("id_token"),a.indexOf("code")>=0&&this.bs.push("code")):this.bs=Ux};Qx.prototype.fr=function(){return Tx(this,"code")};var Rx=function(a){return Tx(a,"permission")};Qx.prototype.toString=function(){return this.bs.join(" ")}; var Tx=function(a,b){var c=!1;_.$c(a.bs,function(d){d==b&&(c=!0)});return c};var Xx=function(a,b,c){this.gp=b;this.bca=a;for(var d in a)a.hasOwnProperty(d)&&Wx(this,d);if(c&&c.length)for(a=0;a");var h=_.jg.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};_.jg.vS=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};_.jg.Kpa=function(b){return a(b)}})(); _.Lh=window.gapi&&window.gapi.util||{}; _.Lh=_.Lh={};_.Lh.getOrigin=function(a){return _.Nh(a)}; _.Xy=function(a){if(a.indexOf("GCSC")!==0)return null;var b={Ej:!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=_.Vy(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.wf;return!d&&(c!=="U"||e.wf)||d&&!_.Wy?b:{Ej:!0,wf:d,E6:a.substr(1),domain:e.domain,cj:e.cj}};_.Yy=function(a,b){this.Xf=a;a=b||{};this.Fba=Number(a.maxAge)||0;this.ke=a.domain;this.Xm=a.path;this.sea=!!a.secure};_.Yy.prototype.read=function(){for(var a=this.Xf+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.sea&&(a+=";secure");document.cookie=a;return!0};_.Yy.prototype.clear=function(){this.write("",0)};var $y=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Zy=/^[A-Z_][A-Z0-9_]{0,63}$/; _.Yy.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var D=w^v&(u^w);var C=1518500249}else D=v^u^w,C=1859775393;else t<60?(D=v&u|w&(v|u),C=2400959708):(D=v^u^w,C=3395469782);D=((p<<5|p>>>27)&4294967295)+ D+y+C+q[t]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v=56;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;t<5;t++)for(var v=24;v>=0;v-=8)p[q++]=e[t]>>v&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,Zi:function(){for(var p=d(),q="",t=0;t=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){_.yc(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 _.Ds?(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 Ps,Ns,Ts,Vs;_.Os=function(a,b,c){if(typeof b==="string")(b=Ns(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Ns(c,d);f&&(c.style[f]=e)}};Ps={};Ns=function(a,b){var c=Ps[b];if(!c){var d=Js(b);c=d;a.style[d]===void 0&&(d=(_.le?"Webkit":_.ke?"Moz":_.he?"ms":null)+Ks(d),a.style[d]!==void 0&&(c=d));Ps[b]=c}return c};_.Qs=function(a,b){var c=a.style[Js(b)];return typeof c!=="undefined"?c:a.style[Ns(a,b)]||""}; _.Rs=function(a,b){var c=_.Oe(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ss=function(a,b){return _.Rs(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Ts=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Ws=function(a,b){b=b||_.Es(document);var c=b||_.Es(document);var d=_.Us(a),e=_.Us(c),f=_.Rs(c,"borderLeftWidth");var h=_.Rs(c,"borderRightWidth");var k=_.Rs(c,"borderTopWidth"),l=_.Rs(c,"borderBottomWidth");h=new _.Ms(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Es(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=Vs(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 _.Ds(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Us=function(a){var b=_.Oe(a),c=new _.Ds(0,0);if(a==(b?_.Oe(b):document).documentElement)return c;a=Ts(a);b=_.Fs(_.Pe(b).Rb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Ys=function(a,b){var c=new _.Ds(0,0),d=_.Ye(_.Oe(a));if(!_.fe(d,"parent"))return c;do{var e=d==b?_.Us(a):_.Xs(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Xs=function(a){a=Ts(a);return new _.Ds(a.left,a.top)}; _.$s=function(a,b,c){if(b instanceof _.Je)c=b.height,b=b.width;else if(c==void 0)throw Error("R");a.style.width=_.Zs(b,!0);a.style.height=_.Zs(c,!0)};_.Zs=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a};_.at=function(a){var b=Vs;if(_.Ss(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}; Vs=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.le&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Ts(a),new _.Je(a.right-a.left,a.bottom-a.top)):new _.Je(b,c)};_.bt=function(a,b){a.style.display=b?"":"none"};_.dt=function(a){var b=_.Pe(void 0),c=_.Gs(b,"HEAD")[0];if(!c){var d=_.Gs(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Ie('style[nonce],link[rel="stylesheet"][nonce]'))&&d.setAttribute("nonce",e);_.ct(d,a);b.appendChild(c,d)}; _.ct=function(a,b){b=_.Is(b);_.Sa.trustedTypes?_.lf(a,b):a.innerHTML=b};_.et=_.ke?"MozUserSelect":_.le||_.ie?"WebkitUserSelect":null; _.Cy=function(a,b){_.Ak.call(this);this.Lm=a||1;this.Sw=b||_.Sa;this.nP=(0,_.z)(this.gga,this);this.EV=_.Jc()};_.bb(_.Cy,_.Ak);_.g=_.Cy.prototype;_.g.enabled=!1;_.g.Nc=null;_.g.setInterval=function(a){this.Lm=a;this.Nc&&this.enabled?(this.stop(),this.start()):this.Nc&&this.stop()}; _.g.gga=function(){if(this.enabled){var a=_.Jc()-this.EV;a>0&&a2147483647?-1:_.Sa.setTimeout(a,b||0)};_.Ey=function(a){_.Sa.clearTimeout(a)}; _.nz=function(a){_.Oj.call(this);this.Xd=1;this.GB=[];this.LB=0;this.hg=[];this.dk={};this.U5=!!a};_.bb(_.nz,_.Oj);_.g=_.nz.prototype;_.g.subscribe=function(a,b,c){var d=this.dk[a];d||(d=this.dk[a]=[]);var e=this.Xd;this.hg[e]=a;this.hg[e+1]=b;this.hg[e+2]=c;this.Xd=e+3;d.push(e);return e};_.g.Hw=_.gb(18);_.g.unsubscribe=function(a,b,c){if(a=this.dk[a]){var d=this.hg;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.El(a)}return!1}; _.g.El=function(a){var b=this.hg[a];if(b){var c=this.dk[b];this.LB!=0?(this.GB.push(a),this.hg[a+1]=function(){}):(c&&_.ub(c,a),delete this.hg[a],delete this.hg[a+1],delete this.hg[a+2])}return!!b}; _.g.zp=function(a,b){var c=this.dk[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e0&&this.LB==0)for(;c=this.GB.pop();)this.El(c)}}return e!=0}return!1};var oz=function(a,b,c){_.dl(function(){a.apply(b,c)})}; _.nz.prototype.clear=function(a){if(a){var b=this.dk[a];b&&(b.forEach(this.El,this),delete this.dk[a])}else this.hg.length=0,this.dk={}};_.nz.prototype.Sb=function(a){if(a){var b=this.dk[a];return b?b.length:0}a=0;for(b in this.dk)a+=this.Sb(b);return a};_.nz.prototype.va=function(){_.nz.N.va.call(this);this.clear();this.GB.length=0}; _.pz=function(a){this.jga=a};_.pz.prototype.toString=function(){return this.jga};_.qz=function(a){_.Oj.call(this);this.Ae=new _.nz(a);_.Qj(this,this.Ae)};_.bb(_.qz,_.Oj);_.g=_.qz.prototype;_.g.subscribe=function(a,b,c){return this.Ae.subscribe(a.toString(),b,c)};_.g.Hw=_.gb(17);_.g.unsubscribe=function(a,b,c){return this.Ae.unsubscribe(a.toString(),b,c)};_.g.El=function(a){return this.Ae.El(a)};_.g.zp=function(a,b){return this.Ae.zp(a.toString(),b)};_.g.clear=function(a){this.Ae.clear(a!==void 0?a.toString():void 0)}; _.g.Sb=function(a){return this.Ae.Sb(a!==void 0?a.toString():void 0)}; var rz=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e":(b=Bz(b),h+=">"+_.wc(b).toString()+"");h=_.Vb(h);_.Ge(a,h);return _.Qs(a.firstChild,"transition")!=""}); _.Gz=function(){_.Fz="oauth2relay"+String(2147483647*(0,_.Th)()|0)};_.Hz=new _.qz;_.Iz=new _.pz("oauth");_.Gz();_.Sf("oauth-flow/client_id");var Jz=String(_.Sf("oauth-flow/redirectUri"));if(Jz)Jz.replace(/[#][\s\S]*/,"");else{var Kz=_.Lh.getOrigin(window.location.href);_.Sf("oauth-flow/callbackUrl");encodeURIComponent(Kz)}_.Lh.getOrigin(window.location.href); var Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,xA,yA,zA,CA,BA,DA,EA,FA,GA,HA,IA,JA,KA,LA,NA;_.Lz=function(a,b){if(_.Hi&&!b)return _.Sa.atob(a);var c="";_.Ki(a,function(d){c+=String.fromCharCode(d)});return c};Mz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Nz=function(a){return _.Zi("enableMultilogin")&&a("cookie_policy")&&!Mz(a)?!0:!1}; Qz=function(){var a,b=null;_.fz.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Vy(c),!a||c.wf&&!a.wf||c.wf==a.wf&&c.cj>a.cj)&&(a=c,b=d)});return{g6:a,authuser:b}};Rz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Sz=function(a){a=a.toUpperCase();for(var b=0,c=Rz.length;b40&&(b=new _.Sh,b.jx(a),a=b.Zi().toUpperCase());return a}; Tz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Uz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Jea:Tz(a[1]),Bqa:Tz(a[2]),upa:Tz(a[3])}};Vz=function(a){var b=Qz(),c=b.g6;b=b.authuser;var d=a&&Sz(a);if(b!==null){var e;_.fz.iterate(function(h,k){(h=_.Xy(h))&&h.Ej&&(d&&h.E6!=d||h.wf==c.wf&&h.cj==c.cj&&(e=k))});if(e){var f=Uz(e);a=f&&f.Jea[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,zra:a,clientId:f}}}return null}; Wz=function(a,b){a=_.tj(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};_.Xz=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.Pw(c,d):_.Qw(d)}; Yz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Nh(a));var b=window.location.hostname,c=b,d=_.Wy;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Zg.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 _.Zg.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,wf:d,cj:b}}; Zz=function(a){var b=Yz(a);if(!b)return new _.az("G_USERSTATE_");a=["G_USERSTATE_",_.Wy&&b.wf?"S":"H",b.cj].join("");var c=_.jz[a];c||(c={AI:63072E3},_.Af(_.mz(b),c),c=new _.Yy(a,c),_.jz[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};$z=function(a){var b=Zz(a).read();a=_.wf();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; aA=function(a,b,c){var d=$z(b),e=d[a];d[a]="0";var f=[];_.vn(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Zz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};bA=function(a){a=Yz(a.g_user_cookie_policy);if(!a||a.wf&&!_.Wy)a=null;else{var b=["G_AUTHUSER_",_.Wy&&a.wf?"S":"H",a.cj].join(""),c=_.iz[b];c||(c=new _.fz(b,_.mz(a)),_.iz[b]=c);a=c}_.Tf("googleapis.config/sessionIndex",null);a.clear()};cA=function(a){return Mz(function(b){return a[b]})};dA=0;eA=!1;fA=[];gA={};hA={};iA=null; jA=function(a){var b=_.Fz;return function(c){if(this.f==b&&this.t==_.dh.ko(this.f)&&this.origin==_.dh.Do(this.f))return a.apply(this,arguments)}};kA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ga");};lA=function(a){var b=_.jg.kh,c=b(a).jsh;if(c!=null)return kA(c),a;if(b=String(b().jsh||_.If.h||""))kA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};mA=function(){return!!_.Sf("oauth-flow/usegapi")}; nA=function(a,b){mA()?iA.unregister(a):_.dh.unregister(a+":"+b)};oA=function(a,b,c){mA()?iA.register(a,c,_.Kn):_.dh.register(a+":"+b,jA(c))};pA=function(){Oz.parentNode.removeChild(Oz)};qA=function(a){var b=Oz;_.Dz(b,[{yp:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Dz(b,[{yp:"transform",duration:1,timing:"ease",delay:0}]);_.Dy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};rA=function(){var a=Pz+88;qA(a);Pz=a}; sA=function(){var a=Pz-88;qA(a);Pz=a};tA=function(a){var b=a?rA:sA,c=a?sA:rA;a=a?"-":"";Pz=parseInt(a+88,10);Oz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Oz.style.transform="translate3d(0px,"+a+88+"px,0px)";Oz.style.display="";Oz.style.visibility="visible";b();_.Dy(c,4E3);_.Dy(pA,5E3)}; uA=function(a){var b=_.Sf("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Oz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Os(c,"visibility","hidden");_.Os(c,b,"-40px");_.Os(c,"height","128px");var d=c;if(_.js()){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"?"-":"";Pz=parseInt(e+88,10);Oz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Oz.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){}_.Hn.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?tA(!0):tA(!1)}})}; vA=function(a){var b=_.op(),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}; wA=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=_.Sf("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||Vz(c)!=null||!cA(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};xA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Ug(_.Lz(a,!0));if(a===!1)throw Error("Ha");return a};yA=function(a){return(a=xA(a))?a.sub:null}; zA=function(a){a&&fA.push(a);a=_.Fz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(dA&&c-dA<6E4)return;var d=_.dh.ko(a);d&&(nA("oauth2relayReady",d),nA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Gz();a=_.Fz}dA=c;var e=String(2147483647*(0,_.Th)()|0);b=_.Sf("oauth-flow/proxyUrl")||_.Sf("oauth-flow/relayUrl");mA()?iA=_.Hn.openChild({where:_.jg.vS(),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(_.Lh.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.jg.vS(),d=_.jg.bQ({name:a,id:a}),d.src=lA(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),_.dh.xw(a));oA("oauth2relayReady",e,function(){nA("oauth2relayReady",e);var f=fA;if(f!==null){fA= null;for(var h=f.length,k=0;k=0&&_.Sf("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",eA||(eA=!0,uA(l))); _.Xz(k,h);h=Wz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(p){}f.callback&&(f.callback(h),f.callback=null)}}})};_.AA=function(a){fA!==null?zA(a):a&&a()};CA=function(a,b){var c=BA,d=yA(a);d&&(bA(a),aA(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=wA(null,e);c(e)}}))}; BA=function(a){a||(a=Wz(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||(_.If.drw=null);_.Xz(a);if(b=a.authuser)_.Sf("googleapis.config/sessionIndex"),_.Tf("googleapis.config/sessionIndex",b);_.Hz.zp(_.Iz,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=_.Nk(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);_.Pw(b);return b}; GA=function(a){if(a.include_granted_scopes===void 0){var b=_.Sf("include_granted_scopes");a.include_granted_scopes=!!b}};HA=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; IA=function(a){var b=a||{},c={};_.$c(EA,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Sf("googleapis/overrideClientId");a!=null&&(c.client_id=a);GA(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{_.Gx(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}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=_.bj(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Sf("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; JA=function(a,b){var c=IA(a),d=new _.gl(function(e,f){_.ly(c,function(h){var k=h||{};_.$c(DA,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=FA(k),h.authuser!=null&&_.Tf("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};KA=_.rj.tS;LA=null; _.OA=function(a,b){if(a.approvalprompt!=="force"){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,_.hd)((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=(0,_.hd)(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||_.Sf("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Sf("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};NA=function(a){_.Yp("waaf0","signin","0");JA(a,function(b){_.Yp("waaf1","signin","0");BA(b)})}; _.PA=function(a){a=_.MA(a);_.Tf("oauth-flow/authWindowWidth",445);_.Tf("oauth-flow/authWindowHeight",615);NA(a)};_.QA=function(a){_.Hz.unsubscribe(_.Iz,a);_.Hz.subscribe(_.Iz,a)};var XA,$A;_.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=_.op();_.Af(a,c);c=vA(c);if(_.SA(c)){var d=_.TA();_.UA(c);b?_.Hf(b,"click",function(){_.VA(c,d)}):_.VA(c,d)}}; _.TA=function(){var a=new XA;_.QA(function(b){a.BI&&b&&(b.access_token&&_.Tf("isPlusUser",!0),b["g-oauth-window"]&&(a.BI=!1,_.Zg.warn("OTA app install is no longer supported.")))});return a};XA=function(){this.BI=!1};_.UA=function(a){a=_.YA(a);_.ZA(a.callback);_.AA(function(){_.OA(a)})};_.YA=function(a){$A(a);a.redirecturi&&delete a.redirecturi;Nz(function(b){return a[b]})||(a.authuser=0);return a};$A=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.ZA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.RA('Callback function named "'+a+'" not found');return}a&&_.QA(a)};_.VA=function(a,b){b.BI=!0;a=_.YA(a);_.PA(a)};_.r("gapi.auth.authorize",JA);_.r("gapi.auth.checkSessionState",function(a,b){var c=_.wf();c.client_id=a.client_id;c.session_state=a.session_state;_.AA(function(){mA()?iA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Kn):_.dh.call(_.Fz,"check_session_state",jA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.r("gapi.auth.getAuthHeaderValueForFirstParty",KA);_.r("gapi.auth.getToken",Wz); _.r("gapi.auth.getVersionInfo",function(a,b){_.AA(function(){var c=_.pj()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?mA()?iA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Kn):_.dh.call(_.Fz,"get_versioninfo",jA(function(f){a(f)}),d,b):a()})});_.r("gapi.auth.init",_.AA);_.r("gapi.auth.setToken",_.Xz);_.r("gapi.auth.signIn",function(a){_.WA(a)});_.r("gapi.auth.signOut",function(){var a=Wz();a&&CA(a,a.cookie_policy)}); _.r("gapi.auth.unsafeUnpackIdToken",xA);_.r("gapi.auth._pimf",_.OA);_.r("gapi.auth._oart",uA);_.r("gapi.auth._guss",function(a){return Zz(a).read()}); var aB=_.op();aB.clientid&&aB.scope&&aB.callback&&!_.Sf("disableRealtimeCallback")&&_.UA(aB); var zy=function(){};zy.prototype.sP=null;zy.prototype.getOptions=function(){var a;(a=this.sP)||(a=this.sP={});return a};var By;By=function(){};_.bb(By,zy);_.Ay=new By; _.Li=function(a){return a==null?"":String(a)};_.Mi=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.Ni=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]}; _.Oi=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};_.rj={UT:_.qj,Xaa:_.nj,TS:function(){var a=null;_.nj()&&(a=window.__PVT,a==null&&(a=(new _.cj(document)).get("BEAT")));return a},tS:_.pj};var Gj,Fj;Gj=function(){return!!Fj("auth/useFirstPartyAuthV2")};Fj=function(a){return _.Sf("googleapis.config/"+a)}; _.Hj=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=_.tj())&&e.access_token&&(c=="oauth2"||c=="auto")&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Fj("auth/useFirstPartyAuth")||c=="1p")&&c!="oauth2";if(e&&_.nj()){if(Gj()){d=Fj("primaryEmail");c=Fj("appDomain");e=Fj("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=_.pj(f)}else d=_.pj();d&&(c=a["X-Goog-AuthUser"],b=_.bj(b),b=c||b,_.gd(_.Li(b))&&(!Gj()||Gj()&&_.gd(_.Li(Fj("primaryEmail")))&&_.gd(_.Li(Fj("appDomain")))&&_.gd(_.Li(Fj("fogId"))))&&(b="0"),_.gd(_.Li(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:Fj("auth/useOriginToken")!==!1&&(e=_.rj.TS())&&(a.OriginToken=e)}return a};_.Ij=function(){function a(n,p,q,t,v){var u=f("proxy");if(t||!u){u=f("root");var w=f("root-1p")||u;u=u||"https://content.googleapis.com";w=w||"https://clients6.google.com";var y=f("xd3")||"/static/proxy.html";u=(t||String(p?w:u))+y}u=String(u);q&&(u+=(u.indexOf("?")>=0?"&":"?")+"usegapi=1");(p=_.jg.kh().jsh||_.If.h)&&(u+=(u.indexOf("?")>=0?"&":"?")+"jsh="+encodeURIComponent(p));u+="#parent="+encodeURIComponent(v!=null?String(v):_.Lh.getOrigin(document.location.href));return u+("&rpctoken="+n)}function b(n, p,q,t,v){var u=d(q,t,v);k[u]||(q=Ej(u,p),_.dh.register("ready:"+n,function(){_.dh.unregister("ready:"+n);if(!l[u]){l[u]=!0;var w=m[u];m[u]=[];for(var y=0,D=w.length;y=65&&e<=90&&(e+=32);f>=65&&f<=90&&(f+=32);if(e!=f)return!1}return!0}; _.gi=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};hi={"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}; ii={"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}; ji=function(a){if(!_.Gc(a))return null;for(var b={},c=0;c0&&(this.Pd=_.Dy(this.Oi,this.Ms,this)),this.pA=!0,this.Ya.send(a),this.pA=!1}catch(h){this.Xy(5,h)}}; _.g.Oi=function(){typeof _.Ra!="undefined"&&this.Ya&&(this.xr=8,this.dispatchEvent("timeout"),this.abort(8))};_.g.Xy=function(a){this.mg=!1;this.Ya&&(this.Ro=!0,this.Ya.abort(),this.Ro=!1);this.xr=a;Py(this);Qy(this)};var Py=function(a){a.DF||(a.DF=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};_.Jy.prototype.abort=function(a){this.Ya&&this.mg&&(this.mg=!1,this.Ro=!0,this.Ya.abort(),this.Ro=!1,this.xr=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Qy(this))}; _.Jy.prototype.va=function(){this.Ya&&(this.mg&&(this.mg=!1,this.Ro=!0,this.Ya.abort(),this.Ro=!1),Qy(this,!0));_.Jy.N.va.call(this)};_.Jy.prototype.UW=function(){this.isDisposed()||(this.EH||this.pA||this.Ro?Ry(this):this.gJ())};_.Jy.prototype.gJ=function(){Ry(this)}; var Ry=function(a){if(a.mg&&typeof _.Ra!="undefined"&&(!a.FD[1]||_.Sy(a)!=4||a.getStatus()!=2))if(a.pA&&_.Sy(a)==4)_.Dy(a.UW,0,a);else if(a.dispatchEvent("readystatechange"),_.Sy(a)==4){a.mg=!1;try{a.ur()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.xr=6,a.getStatus(),Py(a))}finally{Qy(a)}}},Qy=function(a,b){if(a.Ya){Oy(a);var c=a.Ya,d=a.FD[0]?function(){}:null;a.Ya=null;a.FD=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Oy=function(a){a.Pd&&(_.Ey(a.Pd),a.Pd= null)};_.Jy.prototype.isActive=function(){return!!this.Ya};_.Jy.prototype.ur=function(){var a=this.getStatus(),b;if(!(b=_.Iy(a))){if(a=a===0)a=String(this.QA).match(_.Mi)[1]||null,!a&&_.Sa.self&&_.Sa.self.location&&(a=_.Sa.self.location.protocol.slice(0,-1)),a=!Ky.test(a?a.toLowerCase():"");b=a}return b};_.Sy=function(a){return a.Ya?a.Ya.readyState:0};_.Jy.prototype.getStatus=function(){try{return _.Sy(this)>2?this.Ya.status:-1}catch(a){return-1}}; _.Ty=function(a){try{return a.Ya?a.Ya.responseText:""}catch(b){return""}};_.Uy=function(a){try{if(!a.Ya)return null;if("response"in a.Ya)return a.Ya.response;switch(a.ln){case "":case "text":return a.Ya.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ya)return a.Ya.mozResponseArrayBuffer}return null}catch(b){return null}};_.Jy.prototype.getResponseHeader=function(a){if(this.Ya&&_.Sy(this)==4)return a=this.Ya.getResponseHeader(a),a===null?void 0:a}; _.Jy.prototype.getAllResponseHeaders=function(){return this.Ya&&_.Sy(this)>=2?this.Ya.getAllResponseHeaders()||"":""};_.Uj(function(a){_.Jy.prototype.gJ=a(_.Jy.prototype.gJ)}); _.Au=function(a){var b=0,c;for(c in a)b++;return b};_.Bu=function(a){if(a.Hd&&typeof a.Hd=="function")return a.Hd();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(_.Gc(a)){for(var b=[],c=a.length,d=0;d=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," ")):"")}}}; _.Fu=function(a,b,c){for(var d=0,e=b.length;(d=a.indexOf(b,d))>=0&&dc)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,e!==-1?e:0).replace(/\+/g," "))}; Iu=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(_.Gc(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=_.Cu(a),e=_.Bu(a),f=e.length,h=0;h 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.gr();c?_.Ou(b,a.Zd.clone()):c=!!a.ZF;c&&b.ql(a.wz());return b};_.Ju.prototype.clone=function(){return new _.Ju(this)};_.Ku=function(a,b,c){a.Ji=c?Vu(b,!0):b;a.Ji&&(a.Ji=a.Ji.replace(/:$/,""));return a};_.Lu=function(a,b,c){a.Fh=c?Vu(b):b;return a};_.Ju.prototype.hh=function(){return this.ke};_.Mu=function(a,b,c){a.ke=c?Vu(b,!0):b;return a}; _.Nu=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("T`"+b);a.Qg=b}else a.Qg=null;return a};_.Ju.prototype.getPath=function(){return this.Xm};_.Ju.prototype.setPath=function(a,b){this.Xm=b?Vu(a,!0):a;return this};_.Ju.prototype.gr=function(){return this.Zd.toString()!==""};_.Ou=function(a,b,c){b instanceof _.Pu?(a.Zd=b,a.Zd.hL(a.lh)):(c||(b=Qu(b,Wu)),a.Zd=new _.Pu(b,a.lh));return a};_.Ju.prototype.nb=function(a,b){return _.Ou(this,a,b)};_.Ju.prototype.getQuery=function(){return this.Zd.toString()}; _.Xu=function(a,b,c){a.Zd.set(b,c);return a};_.g=_.Ju.prototype;_.g.ih=function(a){return this.Zd.get(a)};_.g.wz=function(){return this.ZF};_.g.ql=function(a,b){this.ZF=b?Vu(a):a;return this};_.g.removeParameter=function(a){this.Zd.remove(a);return this};_.g.hL=function(a){this.lh=a;this.Zd&&this.Zd.hL(a)};_.Yu=function(a,b){return a instanceof _.Ju?a.clone():new _.Ju(a,b)};Vu=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Qu=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Zu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Zu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ru=/[#\/\?@]/g;Tu=/[#\?:]/g;Su=/[#\?]/g;Wu=/[#\?@]/g;Uu=/#/g;_.Pu=function(a,b){this.Je=this.Rc=null;this.Ag=a||null;this.lh=!!b};$u=function(a){a.Rc||(a.Rc=new Map,a.Je=0,a.Ag&&Eu(a.Ag,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.Pu.prototype; _.g.Sb=function(){$u(this);return this.Je};_.g.add=function(a,b){$u(this);this.Ag=null;a=av(this,a);var c=this.Rc.get(a);c||this.Rc.set(a,c=[]);c.push(b);this.Je+=1;return this};_.g.remove=function(a){$u(this);a=av(this,a);return this.Rc.has(a)?(this.Ag=null,this.Je-=this.Rc.get(a).length,this.Rc.delete(a)):!1};_.g.clear=function(){this.Rc=this.Ag=null;this.Je=0};_.g.isEmpty=function(){$u(this);return this.Je==0};_.g.Yi=function(a){$u(this);a=av(this,a);return this.Rc.has(a)}; _.g.uk=function(a){var b=this.Hd();return _.tb(b,a)};_.g.forEach=function(a,b){$u(this);this.Rc.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.Cg=function(){$u(this);for(var a=Array.from(this.Rc.values()),b=Array.from(this.Rc.keys()),c=[],d=0;d0?String(a[0]):b}; _.g.setValues=function(a,b){this.remove(a);b.length>0&&(this.Ag=null,this.Rc.set(av(this,a),_.vb(b)),this.Je+=b.length)};_.g.toString=function(){if(this.Ag)return this.Ag;if(!this.Rc)return"";for(var a=[],b=Array.from(this.Rc.keys()),c=0;c0&&(b+=b.length>0?"&":"",b+="c=",b+=encodeURIComponent(d+":"+f),e.reset());if(b.length>1E3)break}b!==""&&Math.random()2?a.Ya.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},xB=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,yB=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,zB=/;\s*charset\s*=/i,AB=/(([\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,BB= function(a){var b=[];a=a.replace(AB,function(c){b.push(_.Lz(c));return""});if(a.length)throw Error("Fa");return b.join("")},CB=function(a){var b=a.headers;if(b&&_.si(b,"X-Goog-Safety-Encoding")==="base64"){var c=BB(a.body),d=_.si(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(xB)||d.match(yB)&&!d.match(zB))c=_.Nw(_.Ei(c));_.ti(b,"X-Goog-Safety-Encoding");_.ti(b,"X-Goog-Safety-Content-Type");a.body=c}},DB=function(a,b,c){c||((c=_.Sf("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/, "")||"/"),c=String(c||""));c||(c=_.Sf("googleapis.config/root"),b&&(c=_.Sf("googleapis.config/root-1p")||c),c=String(c||""));c=String(mB(b,c)||c);return a=_.Hy(c,a)},EB=function(a,b){var c=a.params||_.wf();c.url=c.path;var d=c.root;d=DB("/",_.qj(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Ij.tn("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?CB(e.gapiRequest.data):CB(e),b(e,_.Vg(e))):b(e,f)})},FB=function(a){var b=_.fj(a,"params", "headers");b&&typeof b==="object"||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.si(b,c);d&&(_.qi(c,d),_.ti(a,c,d))}c=(window.location.href.match(_.Mi)[1]||null)=="chrome-extension";a=_.qj(a);return!(c&&a)&&lB()},GB=function(a){return new _.gl(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:e.status!=204&&_.Ug(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};kB(e)?b(e):c(e)}; try{EB(a,d)}catch(e){c(e)}})},HB=function(a){var b=!_.Sf("client/cors")||!!_.Sf("client/xd4"),c={};_.vn(a,function(d,e){(d=_.qi(e,d))||b||(d=_.pi(e));d&&(e=_.si(a,d))&&_.ti(c,d,e)});return c},IB=function(a){var b=a.params||_.wf();a=_.Nk(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!(c==="POST"||_.Fu(d,"$unique",d.search(_.Gu))>=0||_.Fu(d,e,d.search(_.Gu))>=0)){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase()); f.sort();f.push(_.Nh(location.href));var h=f.join(":");f=_.hj();f.update(h);h=f.Zi().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.Gy(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.qj(a)||b.authType=="1p";f=!!_.Sf("googleapis.config/auth/useUberProxyAuth")||!!_.Sf("client/withCredentials");_.ti(a,"X-Referer");a=HB(a);var k=new vB(d,c,e,a);k.Gh=b||f;h&&(k.ln=h);return new _.gl(function(l,m){k.then(function(n){CB(n);l(n)},function(n){m(n)})})},JB=function(a,b){var c= function(d){d=_.Nk(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Vg(d))};IB(a).then(c,c)},KB=function(a,b){(_.Sf("client/cors")||_.Sf("client/xd4"))&&FB(a)?(rB(sB(),12).Hb(),JB(a,b)):(rB(sB(),11).Hb(),EB(a,b))},LB=function(a){this.jn=a;this.mg=!1;this.promise={then:(0,_.z)(function(b,c,d){this.mg||(this.mg=!0);this.Yv&&!this.Wv?this.jn.resolve(this.Yv):this.Wv&&!this.Yv&&this.jn.reject(this.Wv);return this.jn.promise.then(b,c,d)},this)}}; LB.prototype.resolve=function(a){this.mg?this.jn.resolve(a):this.Yv||this.Wv||(this.Yv=a)};LB.prototype.reject=function(a){this.mg?this.jn.reject(a):this.Yv||this.Wv||(this.Wv=a)};var MB=function(a){a=_.gj(a.error);return{code:a.code,data:a.errors,message:a.message}},NB=function(a){throw Error("Ia`"+a);};var OB=function(a){cB.call(this,OB.prototype.xp);if(!a||typeof a!="object"&&typeof a!="string")throw new bB("Missing required parameters");if(typeof a==="string"){var b={};b.path=a}else b=a;if(!b.path)throw new bB('Missing required parameter: "path"');this.Ii={};this.Ii.path=b.path;this.Ii.method=b.method||"GET";this.Ii.params=b.params||{};this.Ii.headers=b.headers||{};this.Ii.body=b.body;this.Ii.root=b.root;this.Ii.responseType=b.responseType;this.Ii.apiId=b.apiId;this.Kn=b.authType||"auto";this.fba= !!b.isXd4;this.ZU=!1;this.Tj(this.Kn);this.wY=!1};_.A(OB,cB);OB.prototype.qf=function(){return this.Ii};OB.prototype.Tj=function(a){this.Kn=a;this.ZU=this.Kn==="1p"};OB.prototype.Fu=function(){return this.ZU}; OB.prototype.Xk=function(){if(!this.wY){this.wY=!0;var a=this.Ii,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=_.si(b,e);f&&(e=_.qi(e,f)||_.pi(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=_.gi(h);if(h!=e)throw Error("F");h.charAt(h.length-1)!="/"&&(h+="/");c=_.Hy(h,c);_.Wj(c,"/")&&(c=c.substring(0,c.length-1));h=_.wf();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.Qi(c,h);a.path=c;a.root=mB(!!d,a.root);a.url=DB(a.path,!!d,a.root)}}; var RB=function(a){a.Xk();var b=a.Ii;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.Kn}}};OB.prototype.execute=function(a){var b=RB(this);KB(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=_.Ug(c.body)}catch(h){}a&&a(f,d)})}; OB.prototype.xp=function(){var a=RB(this);(_.Sf("client/cors")||_.Sf("client/xd4"))&&FB(a)?(rB(sB(),15).Hb(),a=IB(a)):(rB(sB(),14).Hb(),a=GB(a));return a};OB.prototype.tj=function(){return this.xp()};var QB=["appVersion","platform","userAgent"],PB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};OB.prototype.execute=OB.prototype.execute;OB.prototype.then=OB.prototype.then;OB.prototype.getPromise=OB.prototype.tj;var SB=function(a){if(!a||typeof a!="object")throw new bB("Missing rpc parameters");if(!a.method)throw new bB("Missing rpc method");this.fC=a};SB.prototype.xe=function(){var a=this.fC.transport;return a?a.root||null:null};SB.prototype.execute=function(a){var b=hB();b.add(this,{id:"gapiRpc",callback:this.xv(a)});b.execute()}; SB.prototype.XA=function(a){var b=this.fC.method,c=String,d;(d=this.fC.apiVersion)||(d=String(b).split(".")[0],d=_.Sf("googleapis.config/versions/"+b)||_.Sf("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.fC.rpcParams)&&(a.params=b);return a}; SB.prototype.xv=function(a){return function(b,c){if(b)if(b.error){var d=b.error;d.error==null&&(d.error=_.Nk(b.error))}else d=b.result||b.data,_.yc(d)&&d.result==null&&(d.result=_.Nk(b.result||b.data));else d=!1;a(d,c)}};SB.prototype.execute=SB.prototype.execute;var UB=function(a,b){this.Le=b||0;this.Le==2?(b=null,a!=null&&_.yc(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.Db=new SB(b)):(this.Le==0&&(b=a&&a.callback)&&(a.callback=TB(b)),b=null,a!=null&&(_.yc(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.Db=new OB(b))},TB=function(a){return function(b){if(b!=null&&_.yc(b)&&b.error){var c=MB(b);b=_.Vg([{id:"gapiRpc",error:c}]);c.error=_.gj(c)}else b==null&&(b={}),c=_.gj(b),c.result=_.gj(b),b=_.Vg([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=UB.prototype;_.g.getFormat=function(){return this.Le};_.g.execute=function(a){this.Db.execute(a&&this.Le==1?TB(a):a)};_.g.then=function(a,b,c){this.Le==2&&NB('The "then" method is not available on this object.');return this.Db.then(a,b,c)}; _.g.OC=function(a){this.Db.OC&&this.Db.OC(a)};_.g.qf=function(){if(this.Db.qf)return this.Db.qf()};_.g.Xk=function(){this.Db.qf&&this.Db.Xk()};_.g.xe=function(){if(this.Db.xe)return this.Db.xe()};_.g.XA=function(a){if(this.Db.XA)return this.Db.XA(a)};_.g.Tj=function(a){this.Db.Tj&&this.Db.Tj(a)};_.g.Fu=function(){return this.Db.Fu()};_.g.tj=function(){if(this.Db.tj)return this.Db.tj()};UB.prototype.execute=UB.prototype.execute;UB.prototype.then=UB.prototype.then;UB.prototype.getPromise=UB.prototype.tj;var VB=//,WB=/^application\/http(;.+$|$)/,XB=["clients6.google.com","content.googleapis.com","www.googleapis.com"],YB=function(a,b){a=_.si(a,b);if(!a)throw new bB("Unable to retrieve header.");return a},ZB=function(a){var b=void 0;a=_.sa(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.qf().apiId;if(typeof c!=="string")return"batch";if(b===void 0)b=c;else if(b!=c)return"batch"}b=_.Sf("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},$B=function(a){a=a.map(function(b){return b.request}); return ZB(a)},aC=function(a,b){var c=[];a=a.qf();var d=function(f,h){_.vn(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")},dC=function(a,b){a=bC(a,b);var c={};_.wb(a,function(d,e){c[e]=cC(d,e)});return c},cC=function(a,b){return{result:a.result||a.body,rawResult:_.Vg({id:b,result:a.result||a.body}), id:b}},bC=function(a,b){a=(0,_.hd)(a);_.Wj(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.wf();for(var c=0;c");f=YB(d.outerHeaders,"Content-ID");f=VB.exec(f);if(!f)throw new bB("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=_.Ug(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},eC= function(a,b){for(var c=[];b1&&_.Zg.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.sa(Object.entries(a.Ck)),e=d.next();!e.done;e=d.next()){e=_.sa(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.sa(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Xk(),f==="batch"&&c&&(h=!1,l.Yaa=!0,l.request.qf.root=a.Ef,b.push(l.request), a.fn.push([l]));if(h){var m=e;f=a.Ef;h=a.fA;k=a.WT;l="batch"+String(Math.round(2147483647*_.Aj()))+String(Math.round(2147483647*_.Aj()));var n="--"+l;l="multipart/mixed; boundary="+l;for(var p={path:$B(m),method:"POST"},q=[],t=0;t0&&c.length===a.length)throw c[0];_.ol(d).then(function(e){var f=e.map(function(h){return h.oda});e=e.map(function(h){return h.eP});b(e,f)})}}; gC.prototype.xp=function(){var a=this;if(Object.keys(this.Ck).length<1)return _.kl({});var b=iC(this).map(function(c){return new _.gl(function(d,e){return c.tj().then(d,e)})});return fB(b).then(function(c){c=c.map(function(d){return d.jz?d.value:d});return jC(a,c,!0)})}; gC.prototype.uX=function(a,b,c,d){var e={};if(c){e=b?bC:dC;b=YB(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new bB("Boundary not indicated in response.");e=e(a.body,"--"+b)}else b?(a.result=_.Ug(a.body),e[d]=a):e[d]=cC(a,d);a={};e=_.sa(Object.entries(e));for(b=e.next();!b.done;b=e.next())if(c=_.sa(b.value),b=c.next().value,c=c.next().value,a[b]=c,!this.Vx[b])throw new bB("Could not find batch entry for id "+b+".");return a}; var jC=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;m0?iB({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):iB({path:sC(f, a),root:d&&d.root}).then(c,c)},tC=function(a,b,c,d,e){e=e===void 0?{}:e;var f=b.servicePath||"";_.fd(f,"/")||(f="/"+f);var h=vC(a.path,[a.parameters,b.parameters],c||{});c=h.Ld;var k=h.tga;f=_.Hy(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&_.Au(k)==1&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}m==null&&(m=d);m==null&&a.request&&(_.Di(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;l=="GET"&&m!==void 0&&String(m)!=""&&(_.ti(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 iB({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},vC=function(a,b,c){c=_.Nk(c);var d={};_.un(b,function(e){_.vn(e,function(f,h){var k=f.required;if(f.location=="path")if(Object.prototype.hasOwnProperty.call(c,h))_.$b(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.$b(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new bB("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,Ld:d,tga:c}};var wC=function(a,b,c,d){var e=b||"v1",f=_.yc(d)?d:{root:d};if(c)uC(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 _.gl(function(h,k){var l=function(m){m?k(m):h()};try{uC(a,e,l,f)}catch(m){k(m)}})},xC=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),yC=function(a,b){if(!a)throw new bB("Missing required parameters"); var c=typeof a==="object"?a:{path:a};a=c.callback;delete c.callback;b=new UB(c,b);if(c=!!_.Sf("client/xd4")&&lB()){var d=b.qf();c=d.path;(d=d.root)&&d.charAt(d.length-1)!=="/"&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(xC)}c&&(b=new pC(b));return a?(b.execute(a),null):b};jB.kP(function(a){return yC.apply(null,arguments)}); var zC=function(a,b){if(!a)throw new bB("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e