this._D=this._D||{};(function(_){var window=this;
try{
_.r("nQy7te");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("JMlBJd");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("byfTOb");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("LEikZe");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sHns9b");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("rJmJrc");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("VLKYIb");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("vXcQ6e");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("n7wSQ");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("h8Xfyd");

_.u();

}catch(e){_._DumpException(e)}
try{
var Umb;_.Tmb=function(a){return(a=a.getItem().ef())?_.y(a,1)||"":""};Umb=[4,5,6,7];_.kC=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.kC,_.P);_.kC.prototype.Wb="JmcaR";_.kC.prototype.Fb=function(){return _.y(this,1)};_.kC.prototype.Dc=function(a){return _.x(this,1,a)};_.kC.prototype.CY=function(){return _.y(this,2)};_.Vmb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.Vmb,_.P);_.Vmb.prototype.Wb="dvhrqe";_.Vmb.prototype.V=function(){return _.F(this,1)};_.Wmb=function(a){_.Q(this,a,0,-1,Umb,null)};
_.M(_.Wmb,_.P);_.Wmb.prototype.V=function(){return _.C(this,_.L3a,1)};_.Wmb.prototype.OC=function(){return _.C(this,_.kC,8)};_.Wmb.prototype.W=function(){return _.C(this,_.Vmb,9)};_.r("synz");
_.lC=function(a){_.Q(this,a,0,-1,Xmb,null)};_.M(_.lC,_.P);var Xmb=[2];_.lC.prototype.getUser=function(){return _.C(this,_.ok,1)};_.lC.prototype.getMetadata=function(){return _.C(this,_.Wmb,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syo0");

_.u();

}catch(e){_._DumpException(e)}
try{
_.yB=function(a){if(Array.isArray(a))return a.map(_.yB).join("");if(_.y(a,2)){if(!a.getId())throw Error("Jd");return a.getId()+"/"+_.y(a,2)+","}return""};_.zB=function(a,b){return _.jh(a,b)};_.r("syof");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syok");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
var Gnb,Hnb;_.Enb=function(a){return a instanceof _.ob?a:a instanceof _.pb?a.qg:null};_.Fnb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")};Gnb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
Hnb=function(a){var b=_.Kea(Gnb,function(c){return a==c});if(void 0===b)throw Error("ib`"+a);return b};_.Inb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Gnb[a.name]):(this.code=a=a.code,this.name=Hnb(a));_.aa.call(this,_.Fnb("%s %s",this.name,b))};_.M(_.Inb,_.aa);var Jnb=function(a,b){_.Qg.call(this,a.type,b)};_.M(Jnb,_.Qg);_.r("syol");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Knb=function(){_.O.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.K)(this.JQ,this);this.H.onprogress=(0,_.K)(this.JQ,this);this.H.onload=(0,_.K)(this.JQ,this);this.H.onabort=(0,_.K)(this.JQ,this);this.H.onerror=(0,_.K)(this.JQ,this);this.H.onloadend=(0,_.K)(this.JQ,this)};_.M(_.Knb,_.O);_.g=_.Knb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Inb(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Inb(this.H.error,"reading file")};_.g.JQ=function(a){this.dispatchEvent(new Jnb(a,this))};_.g.ab=function(){_.Knb.nb.ab.call(this);delete this.H};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sys8");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sys9");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysd");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysq");

_.u();

}catch(e){_._DumpException(e)}
try{
_.vkb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.vkb,_.P);_.vkb.prototype.RA=function(){return _.C(this,_.nta,1)};_.wkb=function(a){var b=new _.vkb;return _.R(b,1,a)};_.WB=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.WB,_.P);_.g=_.WB.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.y(this,5)};
_.g.Od=function(a){return _.x(this,5,a)};_.g.Gn=function(){return null!=_.y(this,5)};_.XB=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.XB,_.P);_.XB.prototype.V=function(){return _.y(this,1)};_.XB.prototype.Fb=function(){return _.y(this,2)};_.XB.prototype.Dc=function(a){return _.x(this,2,a)};_.XB.prototype.W=function(){return _.y(this,3)};_.r("sysp");
_.ykb=function(a){_.Q(this,a,0,-1,xkb,null)};_.M(_.ykb,_.P);var xkb=[1];_.ykb.prototype.V=function(){return _.y(this,1)};
_.Akb=function(a){_.Q(this,a,0,-1,zkb,null)};_.M(_.Akb,_.P);var zkb=[1];_.Akb.prototype.V=function(){return _.vj(this,_.XB,1)};
_.Ckb=function(a){_.Q(this,a,0,-1,Bkb,null)};_.M(_.Ckb,_.P);var Bkb=[1];_.Ckb.prototype.V=function(){return _.vj(this,_.Akb,1)};_.Ckb.prototype.addResult=function(a,b){return _.zj(this,1,a,_.Akb,b)};
_.Dkb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.Dkb,_.P);_.Dkb.prototype.W=function(){return _.C(this,_.Ckb,1)};_.Dkb.prototype.V=function(){return _.C(this,_.ykb,2)};
_.YB=function(a){_.Q(this,a,0,-1,Ekb,null)};_.M(_.YB,_.P);var Ekb=[2,14,18];_.g=_.YB.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.zd=function(){return _.vj(this,_.vm,2)};_.g.gw=function(a){return _.yj(this,2,a)};_.g.Pf=function(a,b){return _.zj(this,2,a,_.vm,b)};_.g.Pj=function(){return _.y(this,3)};_.g.Rga=function(){return _.A(this,5,!0)};_.g.SW=function(){return _.C(this,_.Dkb,7)};_.g.Sga=function(){return _.F(this,8)};
_.g.kF=function(){return _.C(this,_.vkb,10)};_.g.hI=function(a){return _.R(this,10,a)};_.g.getSessionId=function(){return _.C(this,_.Bm,11)};_.g.setSessionId=function(a){return _.R(this,11,a)};_.g.TW=function(){return _.y(this,17)};_.g.VW=function(a){return _.x(this,17,a)};_.g.Ne=function(){return _.y(this,12)};_.g.UW=function(a){return _.x(this,12,a)};_.g.Jm=function(){return _.y(this,15)};_.g.c7=function(){return _.y(this,18)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sysr");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sytf");
_.PC=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PC,_.P);_.PC.prototype.ke=function(){return _.C(this,_.pe,1)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sytx");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.wD=function(a,b,c){_.N.call(this);this.ds=null!=c?(0,_.K)(a,c):a;this.ma=b;this.Og=(0,_.K)(this.C_a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.M(_.wD,_.N);_.g=_.wD.prototype;_.g.se=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Le()+this.ma:this.H=_.Wh(this.Og,this.ma)};_.g.stop=function(){this.H&&(_.Zh(this.H),this.H=null);this.ha=null;this.V=!1;this.ka=[]};_.g.pause=function(){++this.W};
_.g.resume=function(){this.W&&(--this.W,!this.W&&this.V&&(this.V=!1,this.ds.apply(null,this.ka)))};_.g.ab=function(){this.stop();_.wD.nb.ab.call(this)};_.g.C_a=function(){this.ha?(this.H=_.Wh(this.Og,this.ha-_.Le()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.ds.apply(null,this.ka)))};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvr");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syw5");

_.u();

}catch(e){_._DumpException(e)}
try{
_.iG=function(a){return _.y(a,11)};_.r("syvu");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvv");
_.jG=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jG,_.P);_.jG.prototype.Gc=function(){return _.y(this,1)};_.lLb=function(a){var b=new _.jG;return _.x(b,1,a)};_.jG.prototype.lh=function(){return _.y(this,2)};_.jG.prototype.Ki=function(a){return _.x(this,2,a)};_.jG.prototype.ke=function(){return _.C(this,_.pe,3)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvw");

_.u();

}catch(e){_._DumpException(e)}
try{
_.SKb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.SKb,_.P);_.r("syvx");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syvz");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syw0");

_.u();

}catch(e){_._DumpException(e)}
try{
_.$F=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.$F,_.P);_.$F.prototype.getName=function(){return _.y(this,1)};_.$F.prototype.wd=function(a){return _.x(this,1,a)};_.$F.prototype.ke=function(){return _.C(this,_.pe,2)};_.r("syw6");
_.aG=function(a){_.Q(this,a,0,-1,iKb,null)};_.M(_.aG,_.P);var iKb=[5,6,9,10,12,13,15,16];_.aG.prototype.getId=function(){return _.y(this,1)};_.aG.prototype.kc=function(a){return _.x(this,1,a)};_.aG.prototype.ay=function(){return _.y(this,2)};
_.bG=function(a){_.Q(this,a,0,-1,jKb,null)};_.M(_.bG,_.P);var jKb=[2,4];_.bG.prototype.Kk=function(){return _.y(this,1)};_.kKb=function(a,b){return _.x(a,1,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syyq");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.CH=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ta=d||2};_.CH.prototype.V=0;_.CH.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.CH.prototype.tb=function(){return this.W};_.DH=function(a){a.H=Math.min(a.ha,a.H*a.ta);a.W=Math.min(a.ha,a.H+(a.ma?Math.round(a.ma*(Math.random()-.5)*2*a.H):0));a.V++};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syym");
var JXb=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"moz-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"chrome-untrusted"!==a&&"chrome"!==a&&"app"!==a&&"devtools"!==a)throw Error("Ie`"+
a);c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
var KXb=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}function b(t){for(var v=h,z=0;64>z;z+=4)v[z/4]=t[z]<<24|t[z+1]<<16|t[z+2]<<8|t[z+3];for(z=16;80>z;z++)t=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],E=e[2],L=e[3],J=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var X=L^B&(E^L);var T=1518500249}else X=B^E^L,T=1859775393;else 60>z?(X=B&E|L&(B|E),T=2400959708):(X=B^E^L,T=3395469782);X=((t<<5|t>>>27)&4294967295)+
X+J+T+v[z]&4294967295;J=L;L=E;E=(B<<30|B>>>2)&4294967295;B=t;t=X}e[0]=e[0]+t&4294967295;e[1]=e[1]+B&4294967295;e[2]=e[2]+E&4294967295;e[3]=e[3]+L&4294967295;e[4]=e[4]+J&4294967295}function c(t,v){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],B=0,E=t.length;B<E;++B)z.push(t.charCodeAt(B));t=z}v||(v=t.length);z=0;if(0==n)for(;z+64<v;)b(t.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[n++]=t[z++],q++,64==n)for(n=0,b(f);z+64<v;)b(t.slice(z,z+64)),z+=64,q+=64}function d(){var t=[],
v=8*q;56>n?c(k,56-n):c(k,64-(n-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var B=24;0<=B;B-=8)t[v++]=e[z]>>B&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var t=d(),v="",z=0;z<t.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(t[z]/16))+"0123456789ABCDEF".charAt(t[z]%16);return v}}};
var MXb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ga(d,function(k){e.push(k)}),LXb(e.join(" "));var f=[],h=[];_.Ga(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.ia(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ga(d,function(k){e.push(k)});a=LXb(e.join(" "));a=[c,a];_.ia(h)||a.push(h.join(""));return a.join("_")},LXb=function(a){var b=KXb();b.update(a);return b.digestString().toLowerCase()};
_.NXb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.ubb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.OXb=function(a){var b=JXb(String(_.m.location.href));if(_.NXb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.ubb(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.m.location.href);return d&&c&&b?[b,MXb(JXb(d),c,a||null)].join(" "):null}}return null};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syyl");
_.PXb=function(a,b,c){_.ti(a.url,function(d){d=d.target;_.vi(d)?b(_.wi(d)):c(d.Fb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.QXb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QXb,_.P);_.QXb.prototype.yi=function(){return _.y(this,7)};
_.RXb=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.RXb,_.P);_.Ej[66321687]=new _.jj(66321687,_.RXb);
var SXb;_.EH=function(a){_.Q(this,a,0,30,SXb,null)};_.M(_.EH,_.P);SXb=[3,20,27];_.FH=function(a,b){return _.x(a,8,b)};
var UXb=function(a){_.Q(this,a,0,17,TXb,null)};_.M(UXb,_.P);var TXb=[3,5],VXb=function(a){var b=_.Le().toString();return _.x(a,4,b)},WXb=function(a,b){return _.yj(a,3,b)},XXb=function(a,b){return _.x(a,14,b)};
var ZXb=function(a){_.Q(this,a,0,6,YXb,null)};_.M(ZXb,_.P);var YXb=[5];
var $Xb=function(a){_.Q(this,a,0,-1,null,null)};_.M($Xb,_.P);
var aYb=new _.jj(175237375,$Xb);
var cYb;
_.GH=function(a,b,c,d,e,f,h,k,l,n,q){_.O.call(this);this.Ld=a;this.tc=b||_.Ie;this.W=new UXb;this.Qa="";this.Md=d;this.Cc=q;this.H=[];this.Vb="";this.Oe=_.Ke(_.dha,0,1);this.wa=e||null;this.Ga=c||null;this.Wa=h||!1;this.Ma=l||null;this.Hc=this.Zc=this.ha=!1;this.lc=this.hb=-1;this.Db=!1;this.ka=null;this.ie=!k;this.Ba=null;this.Ka=0;this.Ge=1;this.Ib=f||!1;this.rb=!1;this.kd=!this.Ib&&(_.Oi.Xn&&_.Ag(65)||_.Oi.Fu&&_.Ag(45))&&!!_.ae()&&!!_.ae().navigator&&!!_.ae().navigator.sendBeacon;a=_.x(new _.RXb,1,
1);f||(f=new _.QXb,b=document.documentElement.getAttribute("lang"),f=_.x(f,5,b),_.R(a,11,f));_.R(this.W,1,a);_.x(this.W,2,this.Ld);this.ma=new _.CH(1E4,3E5,.1);this.V=new _.Vh(this.ma.tb());this.Pa(this.V);_.md(this.V,"tick",_.Yea(bYb(this,n)),!1,this);this.Ja=new _.Vh(6E5);this.Pa(this.Ja);_.md(this.Ja,"tick",_.Yea(bYb(this,n)),!1,this);this.Wa||this.Ja.start();this.Ib||(_.md(_.ae(),"beforeunload",this.ta,!1,this),_.md(_.ae(),"unload",this.ta,!1,this),_.md(document,"pagehide",this.ta,!1,this))};
_.M(_.GH,_.O);var bYb=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.GH.prototype.ab=function(){this.ta();_.GH.nb.ab.call(this)};cYb=function(a){a.wa||(a.wa=.01>a.Oe()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.dYb=function(a){a.Zc=a.kd};_.eYb=function(a,b){a.ma=new _.CH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.tb())};
_.GH.prototype.log=function(a){a=_.Dj(a);var b=this.Ge++;_.x(a,21,b);this.Qa&&_.x(a,26,this.Qa);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.x(b,1,c)}null==_.y(a,15)&&_.x(a,15,60*(new Date).getTimezoneOffset());this.ka&&(b=_.Dj(this.ka),_.R(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new fYb(a));this.Wa||this.V.enabled||this.V.start()};
_.GH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)gYb(this);else{var d=_.Le();if(this.lc>d&&this.hb<d)b&&b("throttled");else{var e=XXb(WXb(VXb(_.Dj(this.W)),this.H),this.Ka);d={};var f=this.tc();f&&(d.Authorization=f);var h=cYb(this);this.Ga&&(d["X-Goog-AuthUser"]=this.Ga,h=_.oi(h,"authuser",this.Ga));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.oi(h,"pageId",this.Ma));if(f&&this.Vb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Ka=
0,this.ha)a&&a();else{var k=e.Ac(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,eQa:1,requestHeaders:d,requestType:"POST",withCredentials:this.ie,timeoutMillis:0},q=(0,_.K)(function(z){this.ma.reset();this.V.setInterval(this.ma.tb());if(z){try{var B=JSON.parse(z.replace(")]}'\n",""));var E=new ZXb(B)}catch(L){}E&&(z=_.D(E,1,"-1"),z=Number(z),0<z&&(this.hb=_.Le(),this.lc=this.hb+z),E=_.Bj(E,aYb))&&(E=_.D(E,1,-1),-1!=E&&(this.Db||_.eYb(this,E)))}a&&a()},this),t=(0,_.K)(function(z){var B=
_.vj(e,_.EH,3);_.DH(this.ma);this.V.setInterval(this.ma.tb());401==z&&f&&(this.Vb=f);if(500<=z&&600>z||401==z||0==z)this.H=B.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),v=function(){c.Cc?c.Cc.send(n,q,t):c.Md(n,q,t)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.eQa=2;v()},function(){v()}):v()}}}};
_.GH.prototype.ta=function(){this.ha||(this.Zc&&gYb(this),this.Hc&&hYb(this),this.flush())};
var gYb=function(a){iYb(a,32,10,function(b,c){b=_.oi(b,"format","json");b=_.ae().navigator.sendBeacon(b,c.Ac());a.rb&&!b&&(a.rb=!1);return b})},hYb=function(a){iYb(a,6,5,function(b,c){b=_.li(b,"format","base64json","p",_.Qi(c.Ac(),3));_.Wf(new Image,b);return!0})},iYb=function(a,b,c,d){if(0!=a.H.length){var e=_.Aja(cYb(a),"format");e=_.li(e,"auth",a.tc(),"authuser",a.Ga||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=WXb(VXb(_.Dj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
fYb=function(){this.type="event-logged"};_.M(fYb,_.Qg);
_.HH=function(a,b,c,d,e,f,h){_.GH.call(this,a,_.OXb,b,_.PXb,c,d,e,void 0,f,h)};_.I(_.HH,_.GH);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("syzj");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy10q");
_.xM=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.xM,_.P);_.xM.prototype.getKey=function(){return _.y(this,1)};_.dDc=function(a,b){return _.x(a,1,b)};_.xM.prototype.tb=function(){return _.y(this,2)};_.xM.prototype.jc=function(a){return _.x(this,2,a)};_.xM.prototype.ul=function(){return _.x(this,2,void 0)};_.xM.prototype.Ph=function(){return null!=_.y(this,2)};
_.yM=function(a){_.Q(this,a,0,-1,eDc,null)};_.M(_.yM,_.P);var eDc=[2,4,6];_.yM.prototype.PC=function(){return _.y(this,1)};_.fDc=function(a,b){return _.yj(a,2,b)};_.yM.prototype.getUrl=function(){return _.y(this,3)};_.gDc=function(a,b){return _.x(a,3,b)};_.hDc=function(a,b){return _.x(a,5,b)};
_.iDc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.jDc=_.Nea(_.iDc);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy10r");

_.u();

}catch(e){_._DumpException(e)}
try{
_.kDc=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.r("sy10z");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.zM=function(a,b){return _.x(a,4,b)};_.lDc=function(a,b){_.x(a,11,b)};_.AM=function(a,b){_.x(a,25,b)};_.BM=function(a,b,c){return _.MVa(a,b,c?32:16)};_.mDc=function(a,b,c,d,e,f){var h=new _.yi(null,void 0);a&&_.zi(h,a);b&&(h.ka=b);c&&_.Ai(h,c);d&&_.Bi(h,d);e&&_.Ci(h,e);f&&_.Di(h,f);return h};_.r("sy111");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.CM=function(a,b,c){_.N.call(this);this.ds=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.I(_.CM,_.N);_.g=_.CM.prototype;_.g.se=function(a){this.ha=arguments;this.H||this.W?this.V=!0:nDc(this)};_.g.stop=function(){this.H&&(_.Zh(this.H),this.H=null,this.V=!1,this.ha=null)};_.g.pause=function(){this.W++};_.g.resume=function(){this.W--;this.W||!this.V||this.H||(this.V=!1,nDc(this))};_.g.ab=function(){_.N.prototype.ab.call(this);this.stop()};
var nDc=function(a){a.H=_.Wh(function(){a.H=null;a.V&&!a.W&&(a.V=!1,nDc(a))},a.ka);var b=a.ha;a.ha=null;a.ds.apply(null,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
var oDc=function(a,b){if(b&&a in b)return a;var c=_.AEa();return c?(c=c.toLowerCase(),a=c+_.rga(a),void 0===b||a in b?a:null):null};_.r("sy112");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.pDc=function(a){_.O.call(this);this.Gd=a||_.fh();if(this.JA=this.gZa())this.H=_.md(this.Gd.Xb(),this.JA,(0,_.K)(this.H_a,this))};_.M(_.pDc,_.O);_.g=_.pDc.prototype;_.g.gZa=_.Kba(function(){var a=!!this.XX(),b="hidden"!=this.XX();if(a){var c;b?c=((_.AEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.XX=_.Kba(function(){return oDc("hidden",this.Gd.Xb())});_.g.u_a=_.Kba(function(){return oDc("visibilityState",this.Gd.Xb())});_.g.vJ=function(){return!!this.Gd.Xb()[this.XX()]};
_.g.H_a=function(){var a=this.XX()?this.Gd.Xb()[this.u_a()]:null;a=new qDc(this.vJ(),a);this.dispatchEvent(a)};_.g.ab=function(){_.Xg(this.H);_.pDc.nb.ab.call(this)};var qDc=function(a){_.Qg.call(this,"visibilitychange");this.hidden=a};_.M(qDc,_.Qg);

_.u();

}catch(e){_._DumpException(e)}
try{
_.rDc=function(a){return _.fe(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};_.sDc=function(){this.H=-1};_.r("sy114");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.DM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.M(_.DM,_.sDc);_.DM.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.ha=this.W=0};
var tDc=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.V[0];c=a.V[1];e=a.V[2];var f=a.V[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>
15);h=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|
h>>>20);h=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<
5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|
h>>>21);h=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+f&4294967295};
_.DM.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.H,d=this.ka,e=this.W,f=0;f<b;){if(0==e)for(;f<=c;)tDc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){tDc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){tDc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.DM.prototype.digest=function(){var a=Array((56>this.W?this.H:2*this.H)-this.W);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ha;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.V[b]>>>d&255;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var wDc;_.EM=function(a){return a instanceof Error};_.FM=function(a){var b={};_.$e(a,function(c,d){b[d.toLowerCase()]=c});return b};_.uDc=function(a){return(a=a&&_.FM(a))&&a["x-guploader-uploadid"]};_.vDc=function(a){return(a=a&&_.FM(a))&&a["x-google-trace"]};wDc=[6];_.GM=function(a){_.Q(this,a,0,-1,wDc,null)};_.M(_.GM,_.P);_.HM=function(a,b){return _.x(a,14,b)};_.r("sy11q");
_.xDc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.xDc,_.P);
_.IM=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IM,_.P);_.IM.prototype.getOptions=function(){return _.C(this,_.xDc,1)};_.IM.prototype.Jm=function(){return _.y(this,2)};_.IM.prototype.hd=function(){return _.C(this,_.he,3)};
_.yDc=function(a){_.Q(this,a,0,-1,null,_.JM)};_.M(_.yDc,_.P);_.JM=[[3,4,5,6,7,8,9,10]];
var zDc,BDc;
_.ADc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200==a||204==a||308==a)return null;e=zDc(e)||new _.ob;_.x(e,8,!0);k&&(k=_.Di(new _.yi(k),void 0).toString(),_.x(e,19,k));e.EC()||_.x(e,15,a||f);e.getMessage()||_.mq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.nq(e,d);e.Pi()||(5==f?_.HM(e,7):0!=a||d?403==a?_.HM(e,22):503==a||429==a?_.HM(e,24):(_.x(e,14,void 0),_.x(e,10,1),_.x(e,8,!0)):l||_.HM(e,2));e.n1(_.uDc(c));e.Z0(_.vDc(c));
return e};zDc=function(a){if(!_.wa(a))return null;var b=new _.ob,c=a.error;if(!c)return _.nq(b,JSON.stringify(a)),null;_.x(b,15,c.code);_.mq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=BDc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.nq(b,a);return b};
BDc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,teamDriveFileLimitExceeded:40,
teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,
mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy125");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.KM=function(a){return _.A(a,5,!1)};_.r("sy11w");

_.u();

}catch(e){_._DumpException(e)}
try{
var CDc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.kea);try{delete a[_.kea]}catch(b){}},LM=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.wa(f)){f[_.kea]||c.push(f);var l=_.xa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var n in f)"function"!==typeof f[n]&&(b.push("\n"),b.push(k),b.push(n+" = "),e(f[n],k));b.push("\n"+h+"}");delete d[l]}}else b.push(f)}catch(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)CDc(c[a]);return b.join("")};_.r("sy128");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var NM,EDc,DDc;_.MM=function(a,b,c){if("number"===typeof a)var d={name:DDc(a)};else d=a,a=EDc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.M(_.MM,_.aa);_.MM.prototype.getName=function(){return this.V.name||""};NM={$Na:1,CNa:2,NOT_FOUND_ERR:3,PMa:4,TMa:5,DNa:6,XNa:7,ABORT_ERR:8,ONa:9,Czb:10,TIMEOUT_ERR:11,LNa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.FDc=(_.m.ZB||_.m.sE||NM).$Na;_.GDc=(_.m.ZB||_.m.sE||NM).CNa;_.HDc=(_.m.ZB||_.m.sE||NM).NOT_FOUND_ERR;
_.IDc=(_.m.ZB||_.m.sE||NM).PMa;_.JDc=(_.m.ZB||_.m.sE||NM).TMa;_.KDc=(_.m.ZB||_.m.sE||NM).DNa;_.LDc=(_.m.ZB||_.m.sE||NM).XNa;_.MDc=(_.m.ZB||_.m.sE||NM).ABORT_ERR;_.NDc=(_.m.ZB||_.m.sE||NM).ONa;_.ODc=(_.m.ZB||_.m.sE||NM).TIMEOUT_ERR;_.PDc=(_.m.ZB||_.m.sE||NM).LNa;_.QDc=(_.m.DOMException||NM).INVALID_ACCESS_ERR;_.RDc=(_.m.DOMException||NM).INVALID_STATE_ERR;
EDc=function(a){switch(a){case "UnknownError":return _.FDc;case "NotFoundError":return _.HDc;case "ConstraintError":return _.IDc;case "DataError":return _.JDc;case "TransactionInactiveError":return _.LDc;case "AbortError":return _.MDc;case "ReadOnlyError":return _.NDc;case "TimeoutError":return _.ODc;case "QuotaExceededError":return _.PDc;case "InvalidAccessError":return _.QDc;case "InvalidStateError":return _.RDc;default:return _.FDc}};
DDc=function(a){switch(a){case _.FDc:return"UnknownError";case _.HDc:return"NotFoundError";case _.IDc:return"ConstraintError";case _.JDc:return"DataError";case _.LDc:return"TransactionInactiveError";case _.MDc:return"AbortError";case _.NDc:return"ReadOnlyError";case _.ODc:return"TimeoutError";case _.PDc:return"QuotaExceededError";case _.QDc:return"InvalidAccessError";case _.RDc:return"InvalidStateError";default:return"UnknownError"}};
_.OM=function(a,b){return"error"in a?new _.MM(a.error,b):new _.MM({name:"UnknownError"},b)};_.PM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.MM(a,b);if("code"in a){var c=DDc(a.code);b=b+": "+a.message;return new _.MM({name:c},b)}return new _.MM({name:"UnknownError"},b)};
_.QM=function(a){this.H=a};_.SDc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.QM.prototype.range=function(){return this.H};
var TDc=function(a){this.H=a};TDc.prototype.getName=function(){return this.H.name};var UDc=function(a,b,c,d){var e=new _.Hj;try{var f=a.H[b](d)}catch(h){return c+=" with key "+LM(d),e.Bd(_.PM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+LM(d);e.Bd(_.OM(h.target,c))};return e};TDc.prototype.get=function(a){return UDc(this,"get","getting from index "+this.getName(),a)};
TDc.prototype.getKey=function(a){return UDc(this,"getKey","getting key from index "+this.getName(),a)};TDc.prototype.getAll=function(a,b){return _.VDc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.VDc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.QM?d.H:(new _.QM(_.SDc.only(d))).H;var h=new _.Hj;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?LM(f):"<all>"),h.Bd(_.PM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?LM(f):"<all>");h.Bd(_.OM(l.target,c))};return h};
var RM=function(a){this.H=a},WDc;RM.prototype.getName=function(){return this.H.name};WDc=function(a,b,c,d,e){var f=new _.Hj;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=LM(d),e&&(c+=", with key "+LM(e)),f.Bd(_.PM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=LM(d);e&&(c+=", with key "+LM(e));f.Bd(_.OM(k.target,c))};return f};_.XDc=function(a,b,c){return WDc(a,"put","putting into "+a.getName()+" with value",b,c)};
RM.prototype.add=function(a,b){return WDc(this,"add","adding into "+this.getName()+" with value ",a,b)};RM.prototype.remove=function(a){var b=new _.Hj;try{var c=this.H["delete"](a instanceof _.QM?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+LM(a),b.Bd(_.PM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+LM(a);b.Bd(_.OM(e.target,f))};return b};
RM.prototype.get=function(a){var b=new _.Hj;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+LM(a),b.Bd(_.PM(e,c)),b}c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){var f="getting from "+d.getName()+" with key "+LM(a);b.Bd(_.OM(e.target,f))};return b};RM.prototype.getAll=function(a,b){return YDc(this,"getting all from index "+this.getName(),a,b)};
var YDc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.QM?c.H:(new _.QM(_.SDc.only(c))).H;var f=new _.Hj;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?LM(e):"<all>"),f.Bd(_.PM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?LM(e):"<all>");f.Bd(_.OM(k.target,b))};return f};
RM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Hj;try{var c=this.H.clear()}catch(d){return b.Bd(_.PM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Bd(_.OM(d.target,a))};return b};_.ZDc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.PM(d,"creating new index "+b+" with key path "+c);}};RM.prototype.getIndex=function(a){try{return new TDc(this.H.index(a))}catch(b){throw _.PM(b,"getting index "+a);}};
RM.prototype.count=function(a){var b=new _.Hj;try{var c=this.H.count(a?a.H:null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Bd(_.OM(e.target,d.getName()))}}catch(e){b.Bd(_.PM(e,this.getName()))}return b};
var $Dc=function(a,b){_.O.call(this);this.H=a;this.V=b;this.Lb=new _.Xd(this);this.Lb.listen(this.H,"complete",(0,_.K)(this.dispatchEvent,this,"complete"));this.Lb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.E_a)};_.M($Dc,_.O);_.g=$Dc.prototype;_.g.E_a=function(a){a.target instanceof _.MM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.OM(a.target,"in transaction")})};_.g.Jh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new RM(this.H.objectStore(a))}catch(b){throw _.PM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.PM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Hj;_.Bd(this,"complete",(0,_.K)(a.callback,a));var b=_.Bd(this,"abort",function(){_.Xg(c);a.Bd(new _.MM(_.MDc,"waiting for transaction to complete"))});var c=_.Bd(this,"error",function(e){_.Xg(b);a.Bd(e.target)});var d=this.V;return a.mb(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.ab=function(){$Dc.nb.ab.call(this);this.Lb.dispose()};
var aEc=function(a){_.O.call(this);this.H=a;this.Lb=new _.Xd(this);this.Lb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Lb.listen(this.H,"error",this.D_a);this.Lb.listen(this.H,"versionchange",this.JTa);this.Lb.listen(this.H,"close",(0,_.K)(this.dispatchEvent,this,"close"))};_.M(aEc,_.O);_.g=aEc.prototype;_.g.eja=!0;_.g.D_a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.JTa=function(a){this.dispatchEvent(new bEc(a.oldVersion,a.newVersion))};_.g.close=function(){this.eja&&(this.H.close(),this.eja=!1)};_.g.ri=function(){return this.eja};_.g.getName=function(){return this.H.name};_.cEc=function(a,b,c){try{return new RM(a.H.createObjectStore(b,c))}catch(d){throw _.PM(d,"creating object store "+b);}};_.SM=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new $Dc(d,a)}catch(e){throw _.PM(e,"creating transaction");}};
aEc.prototype.ab=function(){aEc.nb.ab.call(this);this.Lb.dispose()};var bEc=function(a,b){_.Qg.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.M(bEc,_.Qg);
_.dEc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB;_.eEc=function(a,b,c,d){var e=new _.Hj;b=b?_.dEc.open(a,b):_.dEc.open(a);b.onsuccess=function(f){f=new aEc(f.target.result);e.callback(f)};b.onerror=function(f){e.Bd(_.OM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new aEc(f.target.result);c(new bEc(f.oldVersion,f.newVersion),h,new $Dc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new bEc(f.oldVersion,f.newVersion))};return e};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy129");
_.fEc=function(a){this.V=a};_.fEc.prototype.H=function(a){a=_.FH(new _.EH,a.Ac());this.V.log(a);return new _.Nh(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.gEc=function(a){this.V=a;_.dYb(this.V)};_.gEc.prototype.H=function(a){a=_.FH(new _.EH,a.Ac());this.V.log(a);this.V.ta()};

_.u();

}catch(e){_._DumpException(e)}
try{
var hEc=function(a){_.Q(this,a,0,-1,null,null)},sEc;_.M(hEc,_.P);var iEc=[3,42],jEc=function(a){_.Q(this,a,0,-1,iEc,null)};_.M(jEc,_.P);jEc.prototype.Ub=function(){return _.y(this,27)};var kEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(kEc,_.P);var lEc=[2],mEc=function(a){_.Q(this,a,0,-1,lEc,null)};_.M(mEc,_.P);var nEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(nEc,_.P);var oEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(oEc,_.P);var pEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(pEc,_.P);
var rEc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.zza.length;a++){var b=_.zza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;qEc(this,b);break}}},qEc=function(a,b){a.V=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.W=!0;a.V.onDisconnect.addListener(function(){a.W=!1});document.addEventListener("mousemove",function(c){a.ha=c.clientX;a.ka=c.clientY})};
rEc.prototype.H=function(a){if(this.ma&&this.W){var b=_.C(a,_.Na,2)||new _.Na,c=_.C(a,_.Zo,5)||new _.Zo,d=_.C(a,_.Yo,3)||new _.Yo;a=_.vj(a,_.Gya,1);a=_.p(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.Ac(),session_info:b.Ac(),session_invariants:c.Ac(),client_info:d.Ac()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};sEc=function(a){this.H=a};_.tEc=function(a){this.Kd=a};_.tEc.prototype.getId=function(){return this.Kd};
_.r("sy11z");
var uEc=function(){_.Cp.call(this)};_.I(uEc,_.Cp);uEc.prototype.$r=function(){return 1==_.y(_.C(this.H,hEc,7),1)};var vEc=new _.yp("high_frequency_builder");
var wEc=function(a,b,c){a=new _.Vh(a);c.Pa(a);var d=new _.Xd(c);c.Pa(d);d.listen(a,"tick",b);a.start()};
var xEc=function(){_.Cp.call(this)};_.I(xEc,_.Cp);var yEc=function(a,b,c){var d=1E3*_.Le();if(0==b){b=new _.Lo;var e=new _.pya;e=_.x(e,1,d);_.R(b,1,e);_.x(b,3,1);_.R(a.H,8,b);_.x(a.H,12,c);_.x(a.H,13,c);_.x(a.H,4,d);_.x(a.H,3,c)}else 1==b&&(b=new _.Lo,e=new _.qya,d=_.x(e,1,d),_.R(b,2,d),_.x(b,3,2),_.R(a.H,8,b),_.x(a.H,12,c),_.x(a.H,3,c));return a},zEc=new _.yp("system_builder");
var AEc=function(a,b){_.N.call(this);this.V=a;this.H=new _.pDc(b);this.Pa(this.H);this.Lb=new _.Xd(this);this.Pa(this.Lb);this.H.XX()&&this.Lb.listen(this.H,"visibilitychange",this.W)};_.I(AEc,_.N);AEc.prototype.W=function(){if(this.V.eO()){var a=this.H.vJ()?102001:102E3;a=this.V.nD(a,0);this.V.Ro(a)}};
var BEc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.V=b;this.Pa(this.V);this.ha=c;this.W=null};_.I(BEc,_.N);_.g=BEc.prototype;_.g.Ro=function(a){var b=this.H;_.x(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.$b()&&b.V.se();return new sEc(a)};_.g.nD=function(a,b){a=yEc(CEc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.pG=function(){return this.H.V};
_.g.mF=function(a){var b=this.H,c=_.Dp(a,zEc),d=b.ka++,e=_.C(_.C(c.H,_.Lo,8),_.qya,2),f=1E3*_.Le();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.y(a.H,12))};_.g.sT=function(){var a=this.V;if(!a.ka||a.H.W){var b=DEc(a.H,691).build();b=EEc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.dc(this.W),this.W=null)};_.g.tT=function(){var a=this.H,b=DEc(a,716);FEc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.se();this.ha&&(this.W=new AEc(this))};_.g.n6=function(){this.V.ha();return _.Rh(_.bi(this.V.W)).then()};
_.g.eO=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var GEc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.CM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.I(GEc,_.N);GEc.prototype.initialize=function(){wEc(this.wa,this.V.se,this.V);wEc(36E5,this.ma,this)};GEc.prototype.ha=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ka||this.H.W)){var b=HEc(this.H),c=this.Ba.H(b);c&&(_.Th(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
GEc.prototype.ma=function(){var a=this.H,b=DEc(a,1153).build();a.H.add(b);this.V.se()};
var IEc=function(a){_.N.call(this);this.H=a;this.Pa(this.H)};_.I(IEc,_.N);_.g=IEc.prototype;_.g.Ro=function(a){a=this.H.Ro(a);this.n6();return a};_.g.nD=function(a,b){return this.H.nD(a,b)};_.g.pG=function(){return this.H.pG()};_.g.mF=function(a){return this.H.mF(a)};_.g.sT=function(){return this.H.sT()};_.g.tT=function(){return this.H.tT()};_.g.n6=function(){return this.H.n6()};_.g.eO=function(){return this.H.eO()};
var JEc=function(){};JEc.prototype.FI=function(){return new uEc};
var KEc=function(){this.H=[]};KEc.prototype.add=function(a){this.H.push(a)};KEc.prototype.$b=function(){return this.H.length};
var LEc=function(){this.H={}};LEc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};LEc.prototype.remove=function(a){delete this.H[a]};
var MEc=function(a,b){this.V=a;this.Ga=b;this.ka=1;this.wa=this.ha=null;this.ma=new LEc;this.H=new KEc;this.ta=this.Ba=this.W=!1},CEc=function(a,b){a=_.Dp((new _.Cp).initialize(new _.Gya,a.Ga),zEc);_.x(a.H,10,b);return a},HEc=function(a){var b=a.H,c=b.H;b.H=[];return EEc(a,c)},EEc=function(a,b){var c=new _.Sya;var d=_.Dj(a.V.ha);c=_.R(c,2,d);d=a.V;(d=d.V?_.Dj(d.V):null)&&_.R(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.C(b[h],_.Xo,5);if(k&&_.C(k,jEc,1)){k=_.C(k,jEc,1);null!=_.y(k,12)&&
void 0===e&&(e=_.F(k,12));k=_.C(k,kEc,20);if(void 0!==k&&void 0===f){f=new pEc;var l=_.F(k,2);void 0!==l&&_.x(f,2,l);k=_.F(k,1);void 0!==k&&_.x(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.Dj(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.Yo),void 0!==e&&_.x(d,6,e),void 0!==f&&_.R(d,13,f);(e=d)&&_.R(c,3,e);a=_.Dj(a.V.ka);_.R(c,4,a);_.yj(c,1,b);return c},DEc=function(a,b){var c=yEc(CEc(a,b),0,a.ka++);var d=a.ma;var e=Object.keys(d.H);if(0==e.length)d=null;else{for(var f=[],h=0;h<e.length;h++){var k=
Number(e[h]),l=d.H[k],n=new nEc;k=_.x(n,1,k);l=_.y(l.H,10);l=_.x(k,2,l);f.push(l)}d=f}716!=b&&(b=a.wa,_.x(c.H,6,a.ha),e=new mEc,b=_.x(e,1,b),d&&_.yj(b,2,d),d=_.Ep(c),_.R(d,3,b));FEc(a,c);return c},FEc=function(a,b){a.ha=_.y(b.H,12);a.wa=_.y(_.C(_.C(b.H,_.Lo,8),_.pya,1),1)};
var NEc=function(){};NEc.prototype.FI=function(){return new xEc};
var OEc=function(){this.H=this.V=null};OEc.prototype.build=function(){null==this.H&&(this.H=new _.fCa);_.Gp(this.H,zEc,new NEc);_.Gp(this.H,vEc,new JEc);var a=this.H;var b=this.V;if(null==_.y(_.TM(b),1)){var c=_.TM(b),d=new _.oya;_.R(c,1,d)}b=_.C(_.TM(b),_.oya,1);a.H=b;b=_.oc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new MEc(this.V,this.H)};
var PEc=function(){this.ha=new _.Na;this.V=null;this.ka=new oEc;_.x(this.ka,1,6);this.H=this.W=null};PEc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.QEc=function(a,b){_.x(a.ha,2,b);return a};_.REc=function(a,b){if(null==a.W){a.W=new _.Mya;var c=_.TM(a);_.R(c,2,a.W)}_.x(a.W,1,b)};_.TM=function(a){null==a.V&&(a.V=new _.Zo);return a.V};_.SEc=function(a){null==a.H&&(a.H=new _.Yo);return a.H};
_.TEc=function(){this.V=this.ma=null;this.ka=new PEc;this.ha=null;this.H=this.ta=!1;this.W=null};_.UEc=function(a,b){a.ma=b;return a};_.VEc=function(a,b){a.V=b;return a};_.WEc=function(a,b){a.ha=b;return a};_.TEc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.XEc=function(a,b){_.x(a.ka.ha,6,b);return a};
_.TEc.prototype.build=function(){var a=new OEc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new rEc;this.V=this.ma=b}b=new GEc(a,this.ma,this.V,this.ta,this.W);a=new BEc(a,b,!1);this.H&&(a=new IEc(a));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var $Ec;_.WM=function(a){if(a instanceof _.ob)return a;var b;if(_.EM(a)){if(b=_.Enb(a))return b;b=_.uDa(void 0,void 0,a)}else b="string"===typeof a?_.uDa(a):_.uDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.UM(b,2);_.VM(b,6);return b};_.YEc=function(a){var b=a.Pi();a=a.EC();return 15==b||32==b||33==b||401==a};_.XM=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.ZEc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ZEc,_.P);_.YM=function(a){return _.D(a,1,0)};_.ZM=function(a){return _.C(a,_.ZEc,4)};_.$M=function(a){return _.A(a,84,!1)};_.UM=function(a,b){return _.x(a,1,b)};_.VM=function(a,b){return _.x(a,2,b)};$Ec=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.aN=function(a){_.Q(this,a,0,-1,$Ec,null)};_.M(_.aN,_.P);_.g=_.aN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Qf=function(){return _.y(this,3)};_.g.ol=function(a){return _.x(this,3,a)};_.g.Kq=function(a){return _.x(this,4,a)};_.g.mh=function(){return _.F(this,5)};_.g.Rn=function(a){return _.x(this,5,a)};_.g.Ub=function(){return _.y(this,6)};_.g.pA=function(a,b){_.tj(this,8,a,b)};_.g.Wh=function(){return _.y(this,12)};_.g.ke=function(){return _.C(this,_.pe,17)};_.g.hp=function(){return _.F(this,18)};_.g.wc=function(){return _.y(this,21)};
_.bN=function(a,b){return _.x(a,16,b)};_.r("sy11p");
_.cN=function(a){_.Q(this,a,0,-1,aFc,null)};_.M(_.cN,_.P);var aFc=[5];_.cN.prototype.SI=function(){return _.D(this,2,100)};_.cN.prototype.Oh=function(){return _.y(this,5)};_.cN.prototype.ke=function(){return _.C(this,_.pe,6)};_.cN.prototype.wc=function(){return _.y(this,8)};
_.bFc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var dN;dN={};_.cFc=(dN[0]="/drive/v2internal",dN[1]="/drive/v2internal.corp",dN[2]="/drive/v2internal.scary",dN[4]="/drive/v2internal.scary",dN[5]="/drive/v2beta",dN[6]="/drive/v2.1beta",dN);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var eN,eFc;eN={};_.dFc=(eN[1]="modifiedDate",eN[2]="modifiedByMeDate",eN[3]="quotaBytesUsed",eN[4]="title",eN[6]="lastViewedByMeDate",eN[10]="createdDate",eN[7]="sharedWithMeDate",eN[9]="starred",eN[11]="recency",eN[5]="relevance",eN[12]="trashedDate",eN[13]="lastViewedByMeDate",eN);eFc={};_.fFc=(eFc[1]="asc",eFc[2]="desc",eFc);
_.gFc=function(a,b,c,d,e,f,h){a="number"===typeof a?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():_.Le();this.date=new Date(a)};_.M(_.gFc,_.Vv);_.g=_.gFc.prototype;_.g.clone=function(){var a=new _.gFc(this.date);a.KA=this.KA;a.lM=this.lM;return a};_.g.add=function(a){(a.ka||a.ha)&&_.Tv.prototype.add.call(this,new _.Sv(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Or))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Vv.prototype.getUTCFullYear;
_.g.getMonth=_.Vv.prototype.getUTCMonth;_.g.getDate=_.Vv.prototype.getUTCDate;_.g.getHours=_.Vv.prototype.getUTCHours;_.g.getMinutes=_.Vv.prototype.getUTCMinutes;_.g.getSeconds=_.Vv.prototype.getUTCSeconds;_.g.getMilliseconds=_.Vv.prototype.getUTCMilliseconds;_.g.getDay=_.Vv.prototype.getUTCDay;_.g.setFullYear=_.Vv.prototype.setUTCFullYear;_.g.setMonth=_.Vv.prototype.setUTCMonth;_.g.setDate=_.Vv.prototype.setUTCDate;_.g.setHours=_.Vv.prototype.setUTCHours;_.g.setMinutes=_.Vv.prototype.setUTCMinutes;
_.g.setSeconds=_.Vv.prototype.setUTCSeconds;_.g.setMilliseconds=_.Vv.prototype.setUTCMilliseconds;
var hFc,jFc;hFc={};_.iFc=(hFc[1]="0",hFc[2]="1",hFc[3]="2",hFc);jFc={};_.kFc=(jFc[1]="asc",jFc[2]="desc",jFc);
_.lFc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.mFc=_.x(new _.aN,15,!0);_.nFc=_.bN(new _.aN,!0);_.oFc=_.bN(new _.aN,!1);
_.pFc=_.vg&&0>_.Ye(_.zg,"533");
_.qFc=new Set([0,1,2,3]);
var rFc,tFc,wFc,xFc,zFc,AFc,BFc,CFc;rFc={};_.sFc=(rFc[0]="POST",rFc[2]="PUT",rFc[12]="POST",rFc);tFc={};_.uFc=(tFc[0]=1,tFc[2]=3,tFc);wFc={};xFc={};_.vFc=(xFc[2]=(wFc["x-goog-upload-protocol"]="batch",wFc),xFc);zFc={};AFc={};BFc={};CFc={};_.yFc=(CFc[0]=(zFc["content-type"]="application/http",zFc["content-transfer-encoding"]="binary",zFc),CFc[12]=(AFc["content-type"]="application/http",AFc["content-transfer-encoding"]="binary",AFc),CFc[2]=(BFc["content-type"]="application/http",BFc),CFc);
_.DFc=new _.M_a("yyyy:MM:dd HH:mm:ss");
var EFc,GFc;EFc={};_.FFc=(EFc[1]="active",EFc[2]="archived",EFc);GFc={};_.HFc=(GFc[0]="unset",GFc[1]="default",GFc[2]="small",GFc[3]="size16kb",GFc);
_.IFc=new _.yp("drive_dataservice_builder");
_.JFc=new _.tEc("drive_dataservice_invariants");
_.KFc=new Map([[[1],1],[[6],7],[[2],2]]);_.fN=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.LFc=new Map([[12,function(a){return _.F(a,69)}],[24,function(a){return _.A(a,3,!1)}],[9,function(a){return _.A(a,17,!1)}],[21,function(a){return _.$M(a)}],[13,function(a){return _.F(a,60)}],[2,function(a){return _.A(a,8,!0)}],[6,function(a){return _.A(a,11,!1)}],[14,function(a){return a.Lp()}],[16,function(a){return _.A(a,56,!1)}],[17,function(a){return _.A(a,57,!1)}],[18,function(a){return _.A(a,54,!1)}],[19,function(a){return _.A(a,53,!1)}],[23,function(a){return _.A(a,15,!1)}],[28,function(a){return _.A(a,
1,!1)}]]);_.MFc=new Map([[25,function(a){return _.A(a,1,!1)}],[26,function(a){return _.A(a,2,!1)}],[27,function(a){return _.A(a,3,!1)}],[29,function(a){return _.A(a,4,!1)}],[30,function(a){return _.A(a,5,!1)}],[31,function(a){return _.A(a,6,!1)}]]);_.NFc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.OFc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237]]);_.PFc=new Map([[[2],3],[[1],2],[[0],1]]);_.QFc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.RFc=new Map([[[_.GDc],1],[[_.HDc],2],[[_.IDc],3],[[_.JDc],4],[[_.KDc],5],[[_.LDc],6],[[_.MDc],7],[[_.NDc],8],[[_.ODc],10],[[_.PDc],11],[[_.QDc],12],[[_.RDc],13]]);_.SFc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.TFc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11r");
_.gN=function(a){_.Q(this,a,0,-1,UFc,null)};_.M(_.gN,_.P);var UFc=[8];_.gN.prototype.Qx=function(){return _.y(this,1)};_.gN.prototype.Gc=function(){return _.y(this,2)};_.hN=function(a,b){return _.x(a,2,b)};_.gN.prototype.rz=function(){return _.A(this,3,!1)};_.gN.prototype.getItem=function(){return _.C(this,_.vm,4)};_.gN.prototype.setItem=function(a){return _.R(this,4,a)};_.gN.prototype.wc=function(){return _.y(this,7)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11v");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11u");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11y");

_.u();

}catch(e){_._DumpException(e)}
try{
var VFc;VFc=[1];_.iN=function(a){_.Q(this,a,0,-1,VFc,null)};_.M(_.iN,_.P);_.iN.prototype.V=function(){return _.y(this,1)};_.r("sy11t");
_.jN=function(a){_.Q(this,a,0,-1,WFc,null)};_.M(_.jN,_.P);var WFc=[2];_.jN.prototype.Fb=function(){return _.y(this,1)};_.jN.prototype.Dc=function(a){return _.x(this,1,a)};_.jN.prototype.ej=function(){return _.vj(this,_.vm,2)};_.XFc=function(a,b){return _.yj(a,2,b)};_.jN.prototype.Ao=function(a,b){return _.zj(this,2,a,_.vm,b)};_.jN.prototype.getSessionId=function(){return _.C(this,_.Bm,3)};_.jN.prototype.setSessionId=function(a){return _.R(this,3,a)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy126");

_.u();

}catch(e){_._DumpException(e)}
try{
_.kN=function(a){for(var b in a)delete a[b]};_.YFc=function(a){a=_.wf(a);return 0===a.length?_.Hfa:new _.Jf(a,_.Ffa)};_.ZFc=function(a,b){a=_.di(a);b=_.di(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.r("sy127");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11s");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy124");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy11x");

_.u();

}catch(e){_._DumpException(e)}
try{
_.lN=function(a){return _.x(a,3,!0)};_.$Fc=function(a,b){return _.x(a,7,b)};_.r("sy11o");
_.aGc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.bGc=_.Nea(_.aGc);
_.cGc=new Set([1,2,4,5,6]);
_.dGc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.eGc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.fGc=new Set([1004]);
_.gGc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.hGc=new Set([7,4,5,9,6,10,11,12]);
_.iGc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var mN,kGc;mN={};_.jGc=(mN[5]=0,mN[7]=1,mN[1]=2,mN[3]=3,mN[4]=4,mN[2]=5,mN[6]=6,mN);kGc={};_.lGc=(kGc[1]=0,kGc[2]=1,kGc[3]=2,kGc[4]=3,kGc);
var mGc;mGc={};_.nGc=(mGc[1]="active",mGc[2]="archived",mGc);
var oGc;oGc=function(a){return"kind,defaultAppIds,items("+a+")"};_.pGc=oGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing");
_.qGc=oGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData");
_.rGc=oGc("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData,appDataQuotaBytesUsed");
_.sGc=new Set([5,4,1,6,2]);_.tGc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.uGc=function(a,b){return _.x(a,1,b)};_.vGc=function(a,b){return _.R(a,1,b)};_.wGc=function(a,b){return _.x(a,2,b)};_.xGc=function(a,b){return _.R(a,3,b)};_.r("sy12a");

_.u();

}catch(e){_._DumpException(e)}
try{
_.yGc=function(a,b){return _.x(a,1,b)};_.zGc=function(a,b){return _.x(a,2,b)};_.AGc=function(a,b){return _.x(a,3,b)};_.r("sy12f");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy12d");

_.u();

}catch(e){_._DumpException(e)}
try{
_.r("sy12g");
var BGc=function(a,b){this.V=a;this.H=null;this.W=b};BGc.prototype.get=function(a){return this.Ts()[a]||null};BGc.prototype.set=function(a){this.Ts()[this.W(a)]=a;this.V=null};BGc.prototype.Ts=function(){this.H||(this.H=_.laa(this.V,this.W));return this.H};
var DGc,EGc,CGc;_.nN=function(a,b){this.H=a;this.V=b};
_.oN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!CGc(a,b[e],c[e])){d=e;break b}d=-1}if(-1==d){if(b.length==c.length){d=[];break a}if(b.length>c.length){d=[];for(var f=e=c.length;f<b.length;f++)d.push(a.H.bF(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.dF(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&CGc(a,b[e],c[f]);e--,f--);f=b.length-1-e;var h=b.length-f;e=b.slice(d,h);h=c.length-f;f=c.slice(d,h);var k,l=[];
for(h=0;h<e.length+1;h++)l[h]=[],l[h][0]=0;for(k=0;k<f.length+1;k++)l[0][k]=0;for(h=1;h<=e.length;h++)for(k=1;k<=f.length;k++)CGc(a,e[h-1],f[k-1])?l[h][k]=l[h-1][k-1]+1:l[h][k]=Math.max(l[h-1][k],l[h][k-1]);var n=[];h=e.length;for(k=f.length;0<h||0<k;)0<h&&0<k&&CGc(a,e[h-1],f[k-1])?(k--,h--):0<k&&(0==h||l[h][k-1]>l[h-1][k])?(n.unshift(a.H.dF(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.bF(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.AF(e[h])),void 0!==f[k]){k=
f[k];l=a;var q=e[k],t=e[h];n=1==q.getType()?q:t;q=2==q.getType()?q:t;t=n.ai()||0;t>(q.ai()||0)&&--t;if(l=l.H.LJ(l.H.AF(n),q.ai()||0,t))e[k]=l,e.splice(h,1),h--}else f[k]=h;f=[];if(null!=e)for(h=0;h<e.length;h++)k=e[h],l=k.ai()||0,n=k.Ot()||0,k.setPosition((k.ai()||0)+DGc(f,k.ai()||0)),e[h].setPosition((e[h].ai()||0)+d),3==e[h].getType()&&(k.ou((k.Ot()||0)+DGc(f,k.Ot()||0)),e[h].ou((e[h].Ot()||0)+d)),f.push(EGc(k.getType(),l,n));d=e}e=[];b=new BGc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.Cj(k,h)&&e.push(a.H.bI(h,f));return d.concat(e)};DGc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};EGc=function(a,b,c){switch(a){case 1:return{offset:1,start:b,end:Number.MAX_VALUE};case 2:return{offset:-1,start:b,end:Number.MAX_VALUE};case 3:return b>c?{offset:-1,start:c,end:b}:{offset:1,start:b,end:c};default:return{offset:0,start:-1,end:-1}}};CGc=function(a,b,c){return a.V(b)==a.V(c)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.pN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.pN,_.P);_.pN.prototype.getType=function(){return _.y(this,1)};_.qN=function(a){var b=new _.pN;return _.x(b,1,a)};_.g=_.pN.prototype;_.g.getItem=function(){return _.C(this,_.vm,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Ot=function(){return _.y(this,3)};_.g.ou=function(a){return _.x(this,3,a)};_.g.ai=function(){return _.y(this,4)};_.g.setPosition=function(a){return _.x(this,4,a)};_.r("sy12i");
var FGc=function(){};_.g=FGc.prototype;_.g.dF=function(a,b){return _.qN(1).setItem(a).setPosition(b)};_.g.bF=function(a,b){return _.qN(2).setPosition(b).setItem(a)};_.g.LJ=function(a,b,c){return _.qN(3).ou(b).setPosition(c).setItem(a)};_.g.bI=function(a,b){return _.qN(4).setItem(a).setPosition(b)};_.g.AF=function(a){return a.getItem()};
_.rN=function(){_.nN.call(this,new FGc,function(a){return a.getId()})};_.I(_.rN,_.nN);_.Je(_.rN);

_.u();

}catch(e){_._DumpException(e)}
try{
_.sN=function(a,b){return _.x(a,33,b||[])};_.GGc=function(a,b){return _.x(a,5,b)};_.qb=function(a){_.Qg.call(this,_.cc);this.error=a};_.I(_.qb,_.Qg);_.r("sy12h");
_.HGc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.tN=function(a,b){_.x(a,1,b)};_.r("sy12j");

_.u();

}catch(e){_._DumpException(e)}
try{
var IGc,JGc,NGc,RGc,SGc,TGc,UGc,hHc,uO,iHc,jHc,qHc,rHc,sHc,AHc,BHc,PGc,ZHc,OGc,oIc,rIc,sIc,tIc,vIc,wIc,xIc,yIc,AIc,BIc,CIc,DIc,PIc,QIc,VIc,XIc,YIc,ZIc,bJc,fJc,iJc,nJc,oJc,qJc,bHc,sJc,cHc,tJc,$O,bP,vJc,wJc,xJc,yJc,zJc,CJc,DJc,EJc,FJc,GJc,kHc,JJc,lHc,mHc,nHc,oHc,pHc,SJc,RJc,cKc,eKc,hKc,fKc,iKc,gKc,dKc,lKc,tKc,JKc,KKc,MKc,PKc,SKc,XKc,ZKc,$Kc,aLc,bLc,cLc,dLc,eLc,fLc,gLc,hLc,iLc,jLc,pLc,kLc,tLc,vLc,lLc,wLc,yLc,zLc,CLc,HLc,ILc,JLc,KLc,UKc,VLc,WLc,XLc,YLc,$Lc,dMc,bMc,eMc,fMc,aMc,gMc,cMc,pMc,oMc,qMc,uMc,
vMc,wMc,AMc,BMc,CMc,DMc,LJc;_.uN=function(a,b,c){var d=new _.ob,e=_.Uga(_.uN);_.x(d,20,e);_.VM(d,a);_.UM(d,b?b:2);c&&_.HM(d,c);return d};_.vN=function(a){var b;a instanceof _.ob?b=new _.pb(null,a):b=_.EM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("jb`"+a);b.stack||(b.stack=_.Uga(_.vN));return b};
_.wN=function(a){return a instanceof _.pb?a:a instanceof _.ob?new _.pb(void 0,a):a instanceof Error?new _.pb("Not a drive.ds.Error",void 0,a):new _.pb("Not an Error",void 0,Error("kb`"+JSON.stringify(a)))};_.xN=function(a){throw _.wN(a);};IGc=function(a){return 7==a.Pi()||24==a.zn()&&(a=a.EC(),503==a||429==a)?!0:!1};JGc=function(a,b){return b?b+"("+a+")":a};
_.yN=function(a,b,c){var d={},e=[];b&&e.push("kind");a.V5a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.KGc.includes(n)){var q=_.Wbb.get(n);if(q){var t=_.xA[n];a.lI&&t&&(q=t);a.Wv&&(a.lI?(n=_.wA[n])&&(q=n):(n=_.Xbb[n])&&(q=n));q.split(",").forEach(function(v){var z=_.sga(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.p(Object.entries(d)),k=h.next();!k.done;f={rV:f.rV},k=h.next()){var l=_.p(k.value);k=l.next().value;l=l.next().value;
f.rV=[];l.forEach(function(n){return function(q){n.rV.push(q)}}(f));"owners"==k&&b&&f.rV.push("kind");e.push(JGc(f.rV.join(","),k))}return JGc(e.join(","),c)};_.LGc=function(a){var b=new _.fp;b.append(_.yN(a,!0));return b.toString()};_.MGc=function(a,b){return a.filter(function(c){return b.includes(c)})};NGc=function(a){a=a.filter(function(b){return!_.Wbb.has(b)});if(a.length)throw Error("bd`"+a.join(", "));};
_.QGc=function(a){if(a){var b=a.Ub();b&&_.zM(a,b.toLowerCase());OGc(a,_.vj(a,PGc,58).map(function(c){var d=c.Ub();d&&_.x(c,1,d.toLowerCase());return c}))}};_.zN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Ub():!1};_.AN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Ub();return b&&_.zN(a)?(a=a.ef(),!!a&&"application/vnd.google-apps.folder"==_.y(a,3)):"application/vnd.google-apps.folder"==c};
RGc=function(a){var b=a&&a.getId()||null;a&&_.zN(a)&&(a=(a=a.ef())&&_.y(a,1))&&(b=a);return b};SGc=function(a,b){b&&(_.Ii(a,"openDrive",!!_.A(b,2,!1)),_.Ii(a,"reason",_.y(b,1)||0),_.Ii(a,"syncType",_.y(b,3)||0),_.Ii(a,"errorRecovery",!!_.A(b,4,!1)))};TGc=function(a){if(_.gf(a))return"\r\n";var b="";_.$e(a,function(c,d){b+=d+": "+c+"\r\n"});return b};UGc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.sga(a[c],":",1);d&&2==d.length&&(b[(0,_.Ue)(d[0])]=(0,_.Ue)(d[1]))}return _.FM(b)};
hHc=function(a){if(a instanceof _.BN)return"request access";if(a instanceof _.CN)return"admin migrate to TD";if(a instanceof _.DN)return"authorize app";if(a instanceof _.EN)return"copy item";if(a instanceof _.FN)return"change category links";if(a instanceof _.GN)return"create item";if(a instanceof _.HN)return"create ws";if("undefined"!=typeof _.IN&&a instanceof _.IN)return"delete app";if("undefined"!=typeof _.JN&&a instanceof _.JN)return"delete backup";if(a instanceof _.KN)return"delete item";if("undefined"!=
typeof _.LN&&a instanceof _.LN)return"delete permission";if(a instanceof _.MN)return"delete revision";if(a instanceof _.NN)return"delete TD";if("undefined"!=typeof _.tD&&a instanceof _.tD)return"delete pref";if(a instanceof _.ON)return"delete ws";if(a instanceof _.PN)return"download item";if(a instanceof _.QN)return"empty trash";if(a instanceof _.Xn)return"find by ID";if(a instanceof _.VGc)return"item export start";if("undefined"!=typeof _.RN&&a instanceof _.RN)return"get app";if("undefined"!=typeof _.SN&&
a instanceof _.SN)return"insert app";if("undefined"!=typeof _.TN&&a instanceof _.TN)return"insert permission";if(a instanceof _.IM)return a=a.hd(),_.UN(a)?"quick access item query":_.VN(a)?"people predict item query":_.WN(a)?"drive priority query":"item query";if("undefined"!=typeof _.XN&&a instanceof _.XN)return"list android backup items request";if(a instanceof _.YN){var b="unknown";switch(a.getType()){case 1:b="installed";break;case 2:b="installed w/ app data";break;case 3:b="all installable";
break;case 4:b="installed w/ quota"}return"list apps ["+b+"]"}return"undefined"!=typeof _.ZN&&a instanceof _.ZN?"list backups":a instanceof _.cN?"list changes":a instanceof _.$N?"list permissions":"undefined"!=typeof _.aO&&a instanceof _.aO?"list revisions":a instanceof _.bO?"people api":a instanceof _.$F?"get published category":"undefined"!=typeof _.cO&&a instanceof _.cO?"get remaining changes":a instanceof _.dO?"remove item":"undefined"!=typeof _.eO&&a instanceof _.eO?"reparent item":a instanceof
_.fO?"restore item":"undefined"!=typeof _.gO&&a instanceof _.gO?"list suggested workspace items":a instanceof _.co?"list suggested workspaces":"undefined"!=typeof _.hO&&a instanceof _.hO?"update app":a instanceof _.iO?"update category metadata":a instanceof _.aN?"update item":a instanceof _.jO?"update revision":a instanceof _.kO?"update TD":"undefined"!=typeof _.uD&&a instanceof _.uD?"update pref":a instanceof _.lO?"update ws":a instanceof _.mO?"get account":"undefined"!=typeof _.nO&&a instanceof
_.nO?"get workspace":a instanceof _.WGc?"list activity":a instanceof _.XGc?"list category metadata":a instanceof _.oO?"create TD":"undefined"!=typeof _.YGc&&a instanceof _.YGc?"item export cancel":"undefined"!=typeof _.ZGc&&a instanceof _.ZGc?"item export status":"undefined"!=typeof _.pO&&a instanceof _.pO?"generate cse token":"undefined"!=typeof _.qO&&a instanceof _.qO?"get largest change ID":a instanceof _.$Gc?"list prefs":a instanceof _.rO?"multipart upload":a instanceof _.aHc?"list published categories":
a instanceof bHc?"init resumable upload":a instanceof cHc?"resumable upload chunk":a instanceof _.dHc?"resumable upload":a instanceof _.eo?"get TD":"undefined"!=typeof _.eHc&&a instanceof _.eHc?"move TD preflight":a instanceof _.sO?"list TDs":"undefined"!=typeof _.tO&&a instanceof _.tO?"get TD stats":a instanceof _.fHc?"test connection":"undefined"!=typeof _.gHc&&a instanceof _.gHc?"list workspaces":"unknown"};
uO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};iHc=function(a){if(a instanceof _.GN||a instanceof _.rO||a instanceof _.dHc||a instanceof bHc||a instanceof cHc)return(new _.vO).Dc(8);throw Error("Ue");};jHc=function(a){if(a instanceof _.aN){var b=_.wO(_.x(_.Dj(a),1,void 0),void 0);b=_.Cj(b,_.mFc)}else b=!1;b||(a instanceof _.aN?(a=_.wO(_.x(_.Dj(a),1,void 0),void 0),b=_.Cj(a,_.nFc)||_.Cj(a,_.oFc)):b=!1);return b?!1:!0};
_.xO=function(a){return kHc.includes(a.constructor)?jHc(a):!1};qHc=function(a,b){return lHc.includes(a.constructor)||b&&(_.A(b,54,!1)&&mHc.includes(a.constructor)||nHc.includes(a.constructor)&&!_.yO(a)||_.A(b,56,!1)&&_.yO(a)||_.A(b,57,!1)&&oHc.includes(a.constructor)||!(!_.A(b,53,!1)||mHc.includes(a.constructor)||nHc.includes(a.constructor)||_.yO(a)||oHc.includes(a.constructor)||pHc.includes(a.constructor)))?!0:!1};
rHc=function(a,b,c){c=void 0===c?!1:c;var d=new _.yi(_.D(b,16,"")+"/open"),e=a.getId();_.zN(a)&&c&&(e=RGc(a));_.Ii(d,"id",e);_.Ii(d,"authuser",_.YM(b.Se()));return d.toString()};sHc=function(a){var b={};a=a.Qa().split("\r\n");for(var c=0;c<a.length;c++)if(!_.Bc(a[c])){var d=_.sga(a[c],":",1),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return _.bf(b,function(h){return h.join(", ")})};_.tHc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tHc,_.P);
_.zO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.zO,_.P);_.zO.prototype.tb=function(){return _.y(this,1)};_.zO.prototype.jc=function(a){return _.x(this,1,a)};_.zO.prototype.ul=function(){return _.x(this,1,void 0)};_.zO.prototype.Ph=function(){return null!=_.y(this,1)};var uHc=[3],vHc=function(a){_.Q(this,a,0,-1,uHc,null)};_.M(vHc,_.P);vHc.prototype.V=function(){var a=_.y(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}return a};
var wHc=[3],xHc=function(a){_.Q(this,a,0,-1,wHc,null)};_.M(xHc,_.P);xHc.prototype.V=function(){return _.y(this,3)};_.yHc=function(a){var b=new _.ok;return _.x(b,1,a)};_.zHc=function(a,b){return _.x(a,8,b)};AHc=[3];BHc=function(a){_.Q(this,a,0,-1,AHc,null)};_.M(BHc,_.P);BHc.prototype.V=function(){return _.y(this,3)};_.AO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.AO,_.P);_.AO.prototype.tb=function(){return _.y(this,1)};_.AO.prototype.jc=function(a){return _.x(this,1,a)};
_.AO.prototype.ul=function(){return _.x(this,1,void 0)};_.AO.prototype.Ph=function(){return null!=_.y(this,1)};_.BO=function(a){return _.vj(a,_.me,6)};_.CO=function(a){return _.vj(a,_.Vb,12)};_.DO=function(a){return _.D(a,45,1)};_.UN=function(a){return _.A(a,47,!1)};_.VN=function(a){return _.A(a,49,!1)};_.WN=function(a){return _.A(a,52,!1)};_.EO=function(a){return _.D(a,2,"")};_.CHc=function(a,b){return _.x(a,27,b||[])};_.FO=function(a){return _.D(a,39,0)};_.GO=function(a){return _.A(a,40,!1)};
_.HO=function(a){return _.A(a,49,!1)};_.DHc=function(a,b){return _.x(a,1,b)};_.EHc=function(a,b){return _.x(a,7,b)};_.FHc=function(a,b){return _.x(a,8,b)};_.GHc=function(a,b){return _.x(a,9,b)};_.HHc=function(a,b){return _.x(a,11,b)};_.IHc=function(a,b){return _.x(a,12,b)};_.JHc=function(a,b){return _.x(a,16,b)};_.KHc=function(a,b){return _.x(a,17,b)};_.LHc=function(a,b){return _.x(a,20,b)};_.MHc=function(a,b){return _.x(a,21,b)};_.NHc=function(a,b){return _.x(a,31,b)};
_.OHc=function(a,b){return _.x(a,32,b)};_.PHc=function(a,b){return _.x(a,33,b)};_.QHc=function(a,b){return _.x(a,42,b)};_.RHc=function(a,b){return _.x(a,43,b)};_.SHc=function(a,b){return _.x(a,46,b)};_.THc=function(a,b){return _.x(a,47,b)};_.UHc=function(a,b){return _.x(a,48,b)};_.IO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IO,_.P);_.KO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.KO,_.P);_.KO.prototype.Xu=function(){return _.y(this,4)};_.LO=function(a,b){return _.x(a,1,b)};
_.VHc=function(a,b){return _.x(a,2,b)};PGc=function(a){_.Q(this,a,0,-1,null,null)};_.M(PGc,_.P);PGc.prototype.Ub=function(){return _.y(this,1)};PGc.prototype.getUrl=function(){return _.y(this,2)};_.MO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.MO,_.P);_.MO.prototype.Re=function(){return _.y(this,3)};_.MO.prototype.Uf=function(a){return _.x(this,3,a)};_.NO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NO,_.P);_.WHc=function(a,b){return _.x(a,1,b)};_.XHc=function(a,b){return _.yj(a,2,b)};
_.YHc=function(a,b){return _.yj(a,3,b)};ZHc=[2];_.OO=function(a){_.Q(this,a,0,-1,ZHc,null)};_.M(_.OO,_.P);_.OO.prototype.Qf=function(){return _.y(this,1)};_.OO.prototype.ol=function(a){return _.x(this,1,a)};_.OO.prototype.oea=function(a,b){return _.tj(this,2,a,b)};_.PO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PO,_.P);_.PO.prototype.Re=function(){return _.y(this,2)};_.PO.prototype.Uf=function(a){return _.x(this,2,a)};_.QO=function(a,b){return _.x(a,2,b||[])};_.$Hc=function(a,b){_.x(a,8,b)};
_.aIc=function(a,b){return _.x(a,19,b)};_.bIc=function(a,b){_.x(a,26,b)};_.cIc=function(a,b){_.x(a,31,b)};_.dIc=function(a,b){_.x(a,34,b)};_.eIc=function(a,b){return _.x(a,44,b)};_.fIc=function(a,b){return _.x(a,52,b)};OGc=function(a,b){_.yj(a,58,b)};_.gIc=function(a,b){return _.x(a,72,b)};_.hIc=function(a,b){_.R(a,85,b)};_.iIc=function(a,b){return _.x(a,92,b)};_.jIc=function(a,b){return _.x(a,93,b)};_.kIc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};
_.lIc=function(a){return _.Tv.prototype.JU.call(a,!0)+"T"+_.ig(a.getHours(),2)+":"+_.ig(a.getMinutes(),2)+":"+_.ig(a.getSeconds(),2)+a.AY()};_.mIc=function(a,b){return _.x(a,18,b||[])};_.nIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.nIc,_.P);oIc=[3,4,10,18,19,28];_.GN=function(a){_.Q(this,a,0,-1,oIc,null)};_.M(_.GN,_.P);_.g=_.GN.prototype;_.g.Ub=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};
_.g.pA=function(a,b){_.tj(this,3,a,b)};_.g.ke=function(){return _.C(this,_.pe,7)};_.g.Xr=function(){return _.A(this,13,!1)};_.g.wc=function(){return _.y(this,14)};_.g.Gc=function(){return _.y(this,23)};_.g.Xu=function(){return _.y(this,24)};_.pIc=function(a,b){return _.x(a,1,b)};_.qIc=function(a,b){return _.x(a,3,b||[])};_.RO=function(a){return _.y(a,9)};_.KN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.KN,_.P);_.KN.prototype.getId=function(){return _.y(this,1)};
_.KN.prototype.kc=function(a){return _.x(this,1,a)};_.KN.prototype.ke=function(){return _.C(this,_.pe,3)};_.NN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NN,_.P);_.NN.prototype.getId=function(){return _.y(this,1)};_.NN.prototype.kc=function(a){return _.x(this,1,a)};_.NN.prototype.ke=function(){return _.C(this,_.pe,2)};_.wO=function(a,b){return _.R(a,17,b)};rIc=[7,8];_.kO=function(a){_.Q(this,a,0,-1,rIc,null)};_.M(_.kO,_.P);_.g=_.kO.prototype;_.g.getId=function(){return _.y(this,1)};
_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,4)};_.g.K6=function(){return _.F(this,12)};_.g.zY=function(){return _.F(this,13)};_.g.Cl=function(){return _.F(this,15)};sIc=[1];_.SO=function(a){_.Q(this,a,0,-1,sIc,null)};_.M(_.SO,_.P);_.g=_.SO.prototype;_.g.Oh=function(){return _.y(this,1)};_.g.ke=function(){return _.C(this,_.pe,2)};_.g.lh=function(){return _.D(this,3,20)};
_.g.Ki=function(a){return _.x(this,3,a)};_.g.Cl=function(){return _.F(this,4)};_.sO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sO,_.P);_.sO.prototype.getOptions=function(){return _.C(this,_.xDc,1)};_.sO.prototype.Jm=function(){return _.y(this,2)};_.sO.prototype.hd=function(){return _.C(this,_.SO,3)};tIc=function(a,b){return _.VDc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.uIc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.PM(c,"deleting object store "+b);}};
vIc=function(){var a=new _.TEc;a.W=12E4;a.ta=!0;return a};
wIc={CacheSize:"Number of items currently in the in-memory cache.",SecondaryFields:"List of secondary fields",CachedCorpusType:"Type of corpus cached (folder, linked, subscribed, full, partial).",InitialChanges:"Status of initial catchup changelog requests.",SdkBackfillEnabled:"Whether backfill via Drive SDK is enabled.",UploadFailureCount:"Number of failed uploads.",UploadSuccessCount:"Number of successful uploads.",UploadTotalCount:"Number of initiated uploads.",InitialViewDataLoaded:"Whether initial view data was loaded before the initial query."};
xIc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};yIc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.zIc=function(a){if(_.ika)return _.m.atob(a);var b="";_.kka(a,function(c){b+=String.fromCharCode(c)});return b};AIc=function(){this.V=0;this.H=[]};_.g=AIc.prototype;_.g.add=function(a){var b=this.H[this.V];this.H[this.V]=a;this.V=(this.V+1)%40;return b};_.g.get=function(a){a=BIc(this,a);return this.H[a]};_.g.set=function(a,b){a=BIc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};
_.g.uc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.jh=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.af=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.Zn=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};BIc=function(a,b){if(b>=a.H.length)throw Error("T");return 40>a.H.length?b:(a.V+Number(b))%40};CIc=[2,3];_.FN=function(a){_.Q(this,a,0,-1,CIc,null)};
_.M(_.FN,_.P);_.FN.prototype.wc=function(){return _.y(this,1)};_.FN.prototype.ke=function(){return _.C(this,_.pe,4)};_.TO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.TO,_.P);_.g=_.TO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.Ub=function(){return _.y(this,2)};_.g.Xr=function(){return _.F(this,4)};_.g.FC=function(){return _.y(this,8)};_.vO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.vO,_.P);_.g=_.vO.prototype;
_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.getItem=function(){return _.C(this,_.vm,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Pj=function(){return _.y(this,3)};_.g.Gc=function(){return _.y(this,5)};_.UO=function(a,b){return _.x(a,5,b)};_.g=_.vO.prototype;_.g.UC=function(){return _.y(this,7)};_.g.n1=function(a){return _.x(this,7,a)};_.g.Qga=function(a){_.x(this,9,a)};_.g.exa=function(a){_.x(this,10,a)};_.g.II=function(){return _.y(this,16)};
_.g.Z0=function(a){return _.x(this,16,a)};_.BN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.BN,_.P);_.BN.prototype.Gc=function(){return _.y(this,1)};_.CN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.CN,_.P);_.CN.prototype.getId=function(){return _.y(this,1)};_.CN.prototype.kc=function(a){return _.x(this,1,a)};_.CN.prototype.Qj=function(){return _.y(this,2)};_.DN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.DN,_.P);_.DN.prototype.Gc=function(){return _.y(this,2)};
_.DN.prototype.ke=function(){return _.C(this,_.pe,4)};DIc=[3,7];_.EN=function(a){_.Q(this,a,0,-1,DIc,null)};_.M(_.EN,_.P);_.g=_.EN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.pA=function(a,b){_.tj(this,3,a,b)};_.g.ke=function(){return _.C(this,_.pe,5)};_.HN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.HN,_.P);
_.HN.prototype.getTitle=function(){return _.y(this,1)};_.HN.prototype.setTitle=function(a){return _.x(this,1,a)};_.HN.prototype.ke=function(){return _.C(this,_.pe,2)};_.MN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.MN,_.P);_.MN.prototype.Gc=function(){return _.y(this,1)};_.MN.prototype.ke=function(){return _.C(this,_.pe,3)};_.ON=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ON,_.P);_.ON.prototype.getId=function(){return _.y(this,1)};_.ON.prototype.kc=function(a){return _.x(this,1,a)};
_.ON.prototype.ke=function(){return _.C(this,_.pe,3)};_.QN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QN,_.P);_.QN.prototype.ke=function(){return _.C(this,_.pe,1)};_.dO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.dO,_.P);_.g=_.dO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Jg=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,3)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};
_.M(_.fO,_.P);_.g=_.fO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Jg=function(a){return _.x(this,2,a)};_.g.ke=function(){return _.C(this,_.pe,3)};_.jO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jO,_.P);_.jO.prototype.Gc=function(){return _.y(this,1)};_.jO.prototype.Xr=function(){return _.F(this,3)};_.jO.prototype.ke=function(){return _.C(this,_.pe,4)};_.lO=function(a){_.Q(this,a,0,-1,null,null)};
_.M(_.lO,_.P);_.g=_.lO.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.y(this,3)};_.g.Od=function(a){return _.x(this,3,a)};_.g.Gn=function(){return null!=_.y(this,3)};_.g.ke=function(){return _.C(this,_.pe,5)};var EIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(EIc,_.P);EIc.prototype.getEnvironment=function(){return _.y(this,2)};
EIc.prototype.setEnvironment=function(a){return _.x(this,2,a)};var FIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FIc,_.P);_.GIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.GIc,_.P);_.GIc.prototype.Ne=function(){return _.y(this,1)};_.GIc.prototype.Fb=function(){return _.y(this,4)};_.GIc.prototype.Dc=function(a){return _.x(this,4,a)};var HIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HIc,_.P);var IIc=function(a,b){_.x(a,6,b)},JIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(JIc,_.P);_.g=JIc.prototype;
_.g.RTa=function(a){_.x(this,1,a)};_.g.Mjb=function(a){_.x(this,2,a)};_.g.Zx=function(){return _.F(this,3)};_.g.STa=function(a){_.x(this,3,a)};_.g.vjb=function(a){_.x(this,4,a)};var KIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(KIc,_.P);KIc.prototype.Zx=function(){return _.F(this,2)};var LIc=function(a,b){return _.x(a,2,b)},MIc=function(a,b){_.x(a,3,b)};KIc.prototype.Aw=function(){return _.y(this,6)};var NIc=function(a,b){return _.x(a,8,b)},OIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(OIc,_.P);
OIc.prototype.hd=function(){return _.C(this,_.GIc,1)};OIc.prototype.getState=function(){return _.C(this,HIc,2)};OIc.prototype.Od=function(a){return _.R(this,2,a)};OIc.prototype.Gn=function(){return null!=_.y(this,2)};_.KGc=[42,1005,20,50,18,1003,1002];PIc=[73,71];QIc=function(a){var b=new _.Hj;a.listen("loadend",_.Ke(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Bd(f):c.callback(e);d.dispose()},b,a));return b};_.RIc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.SIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.SIc,_.P);_.g=_.SIc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.tb=function(){return _.y(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.ul=function(){return _.x(this,2,void 0)};_.g.Ph=function(){return null!=_.y(this,2)};_.g.Qf=function(){return _.y(this,3)};_.g.ol=function(a){return _.x(this,3,a)};_.g.getType=function(){return _.y(this,4)};_.TIc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.VO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.VO,_.P);_.VO.prototype.gr=function(){return _.C(this,_.YB,1)};_.UIc=function(a,b){return _.R(a,1,b)};_.VO.prototype.Jm=function(){return _.y(this,3)};VIc=[3,4];_.YN=function(a){_.Q(this,a,0,-1,VIc,null)};_.M(_.YN,_.P);_.YN.prototype.getType=function(){return _.y(this,1)};_.YN.prototype.ke=function(){return _.C(this,_.pe,2)};_.WIc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.WIc,_.P);_.WIc.prototype.getId=function(){return _.y(this,1)};
_.WIc.prototype.kc=function(a){return _.x(this,1,a)};_.WIc.prototype.ke=function(){return _.C(this,_.pe,2)};_.$N=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.$N,_.P);_.$N.prototype.Jm=function(){return _.y(this,2)};_.$N.prototype.hd=function(){return _.C(this,_.WIc,3)};XIc=[1];_.bO=function(a){_.Q(this,a,0,-1,XIc,null)};_.M(_.bO,_.P);_.bO.prototype.Ol=function(){return _.y(this,1)};_.mO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.mO,_.P);_.mO.prototype.ke=function(){return _.C(this,_.pe,1)};
_.mO.prototype.Bg=function(){return _.y(this,4)};YIc=[2];_.iO=function(a){_.Q(this,a,0,-1,YIc,null)};_.M(_.iO,_.P);_.iO.prototype.Gc=function(){return _.y(this,1)};_.iO.prototype.yM=function(){return _.vj(this,_.bG,2)};_.iO.prototype.ke=function(){return _.C(this,_.pe,3)};_.PN=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PN,_.P);_.PN.prototype.getId=function(){return _.y(this,1)};_.PN.prototype.kc=function(a){return _.x(this,1,a)};ZIc=[1];_.VGc=function(a){_.Q(this,a,0,-1,ZIc,null)};_.M(_.VGc,_.P);
var $Ic=function(a){_.Qg.call(this,a);_.bFc.get(a)};_.I($Ic,_.Qg);_.aJc=function(){var a=void 0===a?1E3:a;this.V=new _.fm;this.H=new _.fm;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.cJc=function(a){var b=a.V.jh();a.W&&b.push(bJc("...","...","...","..."));_.ta(b,a.H.jh());return b};_.dJc=function(a){var b=[];a=_.cJc(a);for(var c=0;c<a.length;c++){var d=a[c];b.push(d.totalTime+"\t|\t"+d.level+"\t|\t"+d.logName+"\t|\t"+d.message)}return b.join("\n")};
_.aJc.prototype.info=function(a,b){_.WO(this,a,b,"info")};_.aJc.prototype.config=function(a,b){_.WO(this,a,b,"config")};_.aJc.prototype.log=function(a,b,c){_.WO(this,a,b,c)};_.WO=function(a,b,c,d){a.H.$b()>=a.ka&&(a.W=!0,_.gm(a.H));var e=Date.now()-a.ma;b=bJc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.$b()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};bJc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.eJc=function(){this.H={}};
fJc=function(a,b,c){if(a.H[b])throw Error("Qe");a.H[b]=c};_.eJc.prototype.notify=function(a,b){for(var c=0;c<a.length;c++)if(this.H[a[c]])try{this.H[a[c]](b)}catch(d){_.m.setTimeout(function(){throw d;},0)}};var gJc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},hJc=function(a){_.Qg.call(this,"Ab");this.request=a};_.I(hJc,_.Qg);var XO=function(){_.O.apply(this,arguments)};_.I(XO,_.O);iJc=function(a,b){a.dispatchEvent(new hJc(b))};_.jJc=function(a){XO.call(this);this.V=a};_.I(_.jJc,XO);
_.jJc.prototype.H=function(a){var b=!1;_.YEc(_.WM(a.ku[a.ku.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.ku.length?(iJc(this,a),!0):!1};var YO=function(a){_.O.call(this);this.ha=a};_.I(YO,_.O);_.g=YO.prototype;_.g.max=function(){};_.g.IT=function(){};_.g.Cna=function(){};_.g.mGa=function(){};_.g.lGa=function(){};_.g.kGa=function(){};_.g.pB=function(){this.dispatchEvent(new _.Qg("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
var kJc=function(a){_.Qg.call(this,"Cb");this.Kw=a};_.I(kJc,_.Qg);kJc.prototype.Ef=function(){return this.Kw};_.lJc=function(a,b){YO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.Xd(this);this.Pa(this.H);this.H.listen(this.W,"Cb",function(d){d.Ef()||c.pB()});this.H.listen(this.V,"ta",this.pB)};_.I(_.lJc,YO);_.lJc.prototype.max=function(){var a=this.W.Ef(),b=this.V.H;return!a&&b?Infinity:0};_.lJc.prototype.IT=function(){this.pB()};
_.mJc=function(a,b,c){this.H=new _.CH(a,b,.5);this.W=c;this.V=!0};_.ZO=function(a,b){YO.call(this,"Backoff");this.H=a;this.V=b};_.I(_.ZO,YO);_.ZO.prototype.max=function(){return this.H.V?Infinity:0};_.ZO.prototype.lGa=function(){this.H.H.reset()};_.ZO.prototype.kGa=function(a){var b=this;nJc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.tb(),oJc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){oJc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.pB()},a),_.DH(this.H.H))};
nJc=function(a){a=a.ku.length&&_.ba(a.ku).response;return!!(a&&a instanceof _.ob&&IGc(a))};oJc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.pJc=function(a,b){YO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.I(_.pJc,YO);_.pJc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.pJc.prototype.IT=function(a){a>=this.V?this.pB():null==this.H&&qJc(this)};_.pJc.prototype.Cna=function(a,b){0<b?qJc(this):this.H=null};
qJc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.pB.bind(a),a.W)};_.WGc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.oO=function(a){this.request=a;this.requestId=_.kg()};_.rJc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.$Gc=function(a,b){this.request=a;this.H=b};_.rO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.dHc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};
bHc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};sJc=function(a,b,c){this.j9a=a;this.lib=b;this.YSa=c};cHc=function(a,b,c,d,e,f,h){this.ka=a;this.H=b;this.ha=c;this.W=d;this.V=e;this.contentType=f;this.ot=h};_.fHc=function(a){this.H=a};_.XGc=function(a,b){this.request=a;this.pageToken=b||""};_.aHc=function(a,b){this.request=a;this.pageToken=b||""};tJc=function(a,b){this.hfa=a;this.LD=b};$O=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.aP=function(a,b,c){a.jJ.length&&a.append(" "+(c||"and")+" ");a.append(b)};bP=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push($O(c));e.push("in");e.push(b);_.aP(a,e.join(" "))}};_.cP=function(a,b,c,d){d=void 0===d?"and":d;if(null!=c){var e=[];e.push(b);e.push("=");e.push((!!c).toString());_.aP(a,e.join(" "),d)}};_.uJc=function(a){var b=new _.gFc;b.setTime(a);return b};vJc=function(a,b){b=_.vj(b,_.zO,35)||[];_.Ga(b,function(c){bP(a,"ancestors",c.tb(),!1)})};
wJc=function(a,b){b=_.vj(b,_.zO,38)||[];_.Ga(b,function(c){bP(a,"descendants",c.tb(),!1)})};xJc=function(a,b){b=_.vj(b,_.rk,37)||[];_.Ga(b,function(c){bP(a,"folderFeatures",c.tb(),!1)})};yJc=function(a,b){b=_.y(b,39);_.Ga(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push($O(c));_.aP(a,d.join(" "))})};zJc=function(a,b){b=_.y(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push($O(b));_.aP(a,c.join(" "))}};
_.AJc=function(a){a=_.vj(a,_.AO,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].tb());return b.join(",")};_.BJc=function(a){a=a.Rt();return null==a||0==a.length?"":_.fe(a,function(b){b=_.y(b,1);if(0==b)throw Error("Re");return _.jDc[b]}).join(",")};
CJc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=$O(a.tb());_.F(a,4)?(_.A(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.A(a,2,!1)&&d.push("not"),d.push("mimeType"));d.push("=");d.push(e);d[0]=b+d[0];d[d.length-1]+=c;return d.join(" ")};DJc=function(a){if(_.F(a,2))return"any";switch(a.tb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
EJc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};FJc=function(a,b,c){if(null!=_.y(c,2)){var d=EJc(_.y(c,1));c=$O(_.lIc(_.uJc(_.y(c,2)||0)));_.aP(a,[b,d,c].join(" "))}};GJc=function(a){switch(a){case 1:return"anyoneCanFind";case 2:return"anyoneWithLink";case 3:return"domainCanFind";case 4:return"domainWithLink";case 5:return"limited"}return""};
_.HJc=function(a){for(var b=new _.fp,c=_.vj(a,_.tk,4),d=0;d<c.length;d++){var e=c[d],f=e.tb();if(f){var h=_.y(e,1),k=_.A(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push($O(f));_.aP(b,l.join(" "))}}for(var n=_.vj(a,_.sk,5),q=0;q<n.length;q++){var t=n[q],v=t.tb();if(v){var z=[];_.A(t,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push($O(v));_.aP(b,z.join(" "))}}var B=_.BO(a);if(B&&0!=B.length){for(var E=[],L=[],J=0;J<B.length;J++){var X=B[J];
X.tb()&&(_.A(X,2,!1)?L.push(X):E.push(X))}for(var T=0;T<E.length;T++){var la=CJc(E[T],0==T?"(":"",T==E.length-1?")":"");_.aP(b,la,0!=T?"or":"and")}for(var Fa=0;Fa<L.length;Fa++)_.aP(b,CJc(L[Fa],0==Fa?"(":"",Fa==L.length-1?")":""))}for(var Da=_.vj(a,_.qk,7),Aa=0;Aa<Da.length;Aa++)FJc(b,"modifiedDate",Da[Aa]);for(var pa=_.vj(a,_.qk,8),Va=0;Va<pa.length;Va++)FJc(b,"lastViewedByMeDate",pa[Va]);_.cP(b,"trashed",a.mh());_.cP(b,"explicitlyTrashed",_.F(a,17));_.cP(b,"starred",_.F(a,10));_.cP(b,"hidden",a.Cl());
for(var xb=_.CO(a),Xb=0;Xb<xb.length;Xb++){var yb=xb[Xb];bP(b,"parents",yb.tb(),_.A(yb,2,!1))}for(var fc=_.vj(a,_.ke,13),Kc=0;Kc<fc.length;Kc++){var re=fc[Kc];bP(b,"owners",re.tb(),_.A(re,2,!1))}for(var dg=_.vj(a,_.ke,14),Ae=0;Ae<dg.length;Ae++){var rf=dg[Ae];bP(b,"writers",rf.tb(),_.A(rf,2,!1))}for(var Og=_.vj(a,_.ke,15),wg=0;wg<Og.length;wg++){var Pc=Og[wg];bP(b,"readers",Pc.tb(),_.A(Pc,2,!1))}_.F(a,16)&&_.aP(b,"sharedWithMe");_.cP(b,"unparented",_.F(a,34));vJc(b,a);wJc(b,a);xJc(b,a);yJc(b,a);for(var Ei=
_.y(a,40),sf=0;sf<Ei.length;sf++){var Gg=[];0==sf&&Gg.push("(");Gg.push($O(Ei[sf]));Gg.push("in");Gg.push("templateData.categories");sf==Ei.length-1&&Gg.push(")");_.aP(b,Gg.join(" "),0==sf?"and":"or")}var Bb=_.y(a,41);if(null!=Bb){var Mh=[];Mh.push("templateData.galleryState");Mh.push("=");Mh.push($O(_.iFc[Bb]||""));_.aP(b,Mh.join(" "))}var Qk=_.y(a,42);if(null!=Qk){var ni=[];ni.push("visibility");ni.push("=");ni.push($O(GJc(Qk)));_.aP(b,ni.join(" "))}for(var rl=_.vj(a,_.lk,44),wj=0;wj<rl.length;++wj){var mg=
rl[wj];bP(b,"actionItems",DJc(mg),_.A(mg,3,!1))}if(null!=_.y(a,50)){var Bh=[];Bh.push("pairedDocType");var lm=_.A(a,50,!1)?"!=":"=";Bh.push(lm);Bh.push($O("NONE"));_.aP(b,Bh.join(" "))}bP(b,"workspaceIds",_.y(a,54),!1);for(var cq=_.vj(a,_.mk,57),sl=0;sl<cq.length;sl++){var tl=[];0==sl&&tl.push("(");tl.push($O(cq[sl].tb()));tl.push("in");tl.push("approvals");sl==cq.length-1&&tl.push(")");_.aP(b,tl.join(" "),0==sl?"and":"or")}if(null!=_.y(a,58)){var Ij=_.C(a,_.ke,58),Nn=Ij.tb(),dq=_.A(Ij,2,!1);if(Nn){var nk=
[];dq&&nk.push("not");nk.push("creator");nk.push("=");nk.push($O(Nn));_.aP(b,nk.join(" "))}}var eq=a.Px();if(eq)for(var ul=_.p(_.vj(eq,_.Ama,1)),Po=ul.next();!Po.done;Po=ul.next()){var Qo=Po.value;bP(b,"categoryMetadata",Qo.Kk());for(var On=_.p(Qo.Jk()),Vm=On.next();!Vm.done;Vm=On.next()){var Hg=Vm.value,Ve=_.y(Hg,1),jd=_.kj(Hg,_.pk[0]);if(10==jd){_.C(Hg,_.rma,10);var Ro=_.F(Hg,15);(void 0===Ro?0:Ro)?_.aP(b,Ve+" is null"):_.aP(b,"not ("+Ve+" is null)")}else{var Xh=new _.fp,Ui=void 0;switch(jd){case 3:Ui=
_.C(Hg,vHc,3);for(var rv=_.p(Ui.V()),lr=rv.next();!lr.done;lr=rv.next())_.cP(Xh,Ve,lr.value,"or");break;case 14:for(var ts=Ui=_.C(Hg,_.kma,14),us=new Map([[1,"="],[2,">"],[3,"<"]]),vs=_.p(ts.V()),Pn=vs.next();!Pn.done;Pn=vs.next()){var Yt=Pn.value,So=us.get(_.y(ts,2));if(!So)throw Error("Se");var ch=[Ve,So,$O(Yt.getYear()+"-"+Yt.getMonth()+"-"+Yt.getDay())];_.aP(Xh,ch.join(" "),"or")}break;case 8:for(var Jj=Ui=_.C(Hg,_.qma,8),Qn=new Map([[1,"="],[2,">"],[3,"<"]]),Yh=_.p(Jj.V()),To=Yh.next();!To.done;To=
Yh.next()){var Zt=To.value,ws=Qn.get(_.y(Jj,2));if(!ws)throw Error("Se");_.aP(Xh,[Ve,ws,Zt].join(" "),"or")}break;case 9:for(var mr=Ui=_.C(Hg,xHc,9),fq=new Map([[1,"in"]]),Uo=_.p(mr.V()),Rk=Uo.next();!Rk.done;Rk=Uo.next()){var xs=Rk.value,$t=fq.get(_.y(mr,2));if(!$t)throw Error("Se");_.aP(Xh,[xs,$t,Ve].join(" "),"or")}break;case 6:for(var Wm=Ui=_.C(Hg,_.vma,6),gq=new Map([[1,"="]]),ys=_.p(Wm.V()),zs=ys.next();!zs.done;zs=ys.next()){var nr=zs.value,As=gq.get(_.y(Wm,2));if(!As)throw Error("Se");_.aP(Xh,
[Ve,As,$O(nr)].join(" "),"or")}break;case 7:for(var sv=Ui=_.C(Hg,_.tma,7),Bs=new Map([[1,"in"]]),Vo=_.p(sv.V()),Cs=Vo.next();!Cs.done;Cs=Vo.next()){var Ds=Cs.value,au=Bs.get(_.y(sv,2));if(!au)throw Error("Se");_.aP(Xh,[$O(Ds),au,Ve].join(" "),"or")}break;case 4:for(var Es=Ui=_.C(Hg,_.xma,4),Xm=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),gx=_.p(Es.V()),Be=gx.next();!Be.done;Be=gx.next()){var hq=Be.value,hx=Xm.get(_.y(Es,2));if(!hx)throw Error("Se");_.aP(Xh,[Ve,hx,$O(hq)].join(" "),"or")}break;
case 5:for(var oz=Ui=_.C(Hg,BHc,5),JO=new Map([[1,"in"]]),iq=_.p(oz.V()),tv=iq.next();!tv.done;tv=iq.next()){var bu=tv.value,uv=JO.get(_.y(oz,2));if(!uv)throw Error("Se");_.aP(Xh,[$O(bu),uv,Ve].join(" "),"or")}break;case 12:for(var Ym=Ui=_.C(Hg,_.oma,12),OF=new Map([[1,"="]]),PF=_.p(Ym.V()),ix=PF.next();!ix.done;ix=PF.next()){var pz=ix.value,jC=OF.get(_.y(Ym,2));if(!jC)throw Error("Se");_.aP(Xh,[Ve,jC,$O(pz)].join(" "),"or")}break;case 11:for(var QF=Ui=_.C(Hg,_.mma,11),s6=new Map([[1,"in"]]),t6=_.p(QF.V()),
DX=t6.next();!DX.done;DX=t6.next()){var wja=DX.value,EX=s6.get(_.y(QF,2));if(!EX)throw Error("Se");_.aP(Xh,[$O(wja),EX,Ve].join(" "),"or")}}_.F(Hg,15)?_.aP(b,"not ("+Xh+")"):_.aP(b,1<Ui.V().length?"("+Xh+")":""+Xh)}}}_.F(a,60)&&_.cP(b,"securityUpdateEligible",_.F(a,60));1==_.DO(a)&&zJc(b,a);return b.toString()};
_.IJc=function(a){var b=new _.fp(_.HJc(a));_.UN(a)?_.aP(b,"isQuickAccessRequest"):_.VN(a)?_.aP(b,"isPeoplePredictRequest"):_.WN(a)&&_.aP(b,"isDrivePriorityRequest");var c=a.ve();if(c){var d=[];d.push("sortBy");d.push(_.dFc[c.getType()]);d.push(_.kFc[c.Nh()]);_.F(c,3)&&d.push("foldersFirst");_.aP(b,d.join(" "))}_.cP(b,"domainSearch",_.F(a,18));_.cP(b,"offline",_.F(a,19));_.vj(a,_.AO,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.AJc(a)),_.aP(b,c.join(" ")));a.Rt().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.BJc(a)),_.aP(b,c.join(" ")));if(c=_.DO(a))d=[],d.push("corpora"),d.push("="),d.push($O(_.RIc[c])),_.aP(b,d.join(" "));1!=_.DO(a)&&zJc(b,a);_.A(a,48,!1)&&_.aP(b,"cachedOnly");return b.toString()};_.yO=function(a){if(a instanceof _.IM)a=a.hd();else if(!a)return!1;return a instanceof _.co||"undefined"!=typeof _.gO&&a instanceof _.gO||"undefined"!=typeof _.dP&&a instanceof _.dP||a instanceof _.he&&(_.UN(a)||_.VN(a)||_.WN(a))};
kHc=[_.BN,_.DN,_.CN,_.FN,_.EN,_.GN,_.HN,_.KN,_.MN,_.NN,_.ON,_.QN,_.dO,_.fO,_.iO,_.aN,_.jO,_.kO,_.lO,_.oO,_.rO];JJc=[_.cN];lHc=[_.$F,_.aHc];mHc=[_.$N,_.mO,_.$Gc,_.sO];nHc=[_.IM,_.Xn,_.cN,_.XGc];oHc=[_.sO,_.eo];pHc=[_.PN,_.VGc,_.YN,_.bO,_.WGc,_.rO,cHc,bHc];_.eP=function(){this.Bp=[]};_.eP.prototype.add=function(a,b){b?this.Bp.unshift(a):this.Bp.push(a);return!0};_.eP.prototype.H=function(a){return _.va(this.Bp,0,a)};
_.eP.prototype.cancel=function(a){return _.oa(this.Bp,function(b){return b.yr.config.requestId==a?(b.zk.resolve(iHc(b.yr.request)),!0):!1})};_.KJc=function(a){XO.call(this);this.V=a};_.I(_.KJc,XO);_.KJc.prototype.H=function(a){var b=_.WM(a.ku[a.ku.length-1].response),c=!1;if(2==b.zn())b=this.V,LJc(b,3)&&_.MJc(b),c=!0;else if(_.YEc(b)){b=this.V;if(c=!b.H)c=b.qc,c=!c.vG&&c.isConnected()?c.H9=!0:!1;c&&_.MJc(b);c=!0}return c&&2>a.ku.length?(iJc(this,a),!0):!1};var NJc=function(){YO.call(this,"Immediate")};
_.I(NJc,YO);NJc.prototype.max=function(){return Infinity};NJc.prototype.IT=function(){this.pB()};var OJc=function(){YO.call(this,"One Request")};_.I(OJc,YO);OJc.prototype.max=function(){return 1};_.PJc=function(a){YO.call(this,"Online");var b=this;this.Rg=a;this.H=new _.Xd(this);this.Pa(this.H);this.H.listen(this.Rg,["wb","xb","yb"],function(){return b.pB()})};_.I(_.PJc,YO);_.PJc.prototype.max=function(){return this.Rg.isConnected()?Infinity:0};_.PJc.prototype.IT=function(){this.pB()};
_.fP=function(a){YO.call(this,"Parallel");this.V=a;this.H=0};_.I(_.fP,YO);_.fP.prototype.max=function(){return Math.max(0,this.V-this.H)};_.fP.prototype.IT=function(){this.H<this.V&&this.pB()};_.fP.prototype.Cna=function(a){this.H+=a.length};_.fP.prototype.mGa=function(a){this.H-=a.length;this.H<this.V&&this.pB()};
_.gP=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.Ka=a;this.W=b;this.ka=new _.Xd(this);this.Pa(this.ka);this.H=c;for(a=0;a<c.length;a++)this.ka.listen(c[a],"Bb",this.ma);this.V=d;this.ta=e;for(c=0;c<e.length;c++)this.ka.listen(e[c],"Ab",function(k){QJc(h,!0,k.request)});this.Ma=_.Ax("drive.ds.network.queue.Queue [%s]",f);this.Ja=0;this.ha=new Map};_.I(_.gP,_.O);_.gP.prototype.add=function(a){return QJc(this,!1,{yr:a,zk:_.Sh(),ku:[]})};
_.gP.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?RJc(this,"Canceled ID "+a+" during execution."):c&&RJc(this,"Canceled ID "+a+" inside bucket.");return b||c};var QJc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.mq(new _.ob,"No queue bucket accepted request."),_.Ph(_.wN(a));for(var d=SJc(a),e=0;e<a.H.length;e++)a.H[e].IT(d);return c.zk.promise};
_.gP.prototype.ma=function(){var a=SJc(this);if(a){for(var b=this.H.reduce(function(e,f){return Math.min(e,f.max(a))},Infinity),c=[],d=0;d<this.V.length&&0==c.length;d++)c=this.V[d].H(b);0<c.length&&(RJc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),TJc(this,c))}};
var TJc=function(a,b){var c=String(a.Ja++);a.ha.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Ga.bind(a,b[e]),a.Ba.bind(a,b[e]));e=SJc(a);for(var f=0;f<a.H.length;f++)a.H[f].Cna(b,e);_.Th(_.Rh(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.gP.prototype.Ga=function(a,b){var c=a.yr.config;RJc(this,hHc(a.yr.request)+" request completed successfully. xd4: "+!(!c||!c.gG));for(c=0;c<this.H.length;c++)this.H[c].lGa();a.zk.resolve(b)};
_.gP.prototype.Ba=function(a,b){b=_.wN(b);RJc(this,hHc(a.yr.request)+(" request failed with error: "+b.W+"."));a.ku.push({response:b,Olb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].kGa(a);a.yr.config.x$||!this.ta.some(function(d){return d.H(a)})?a.zk.reject(b):RJc(this,hHc(a.yr.request)+" encountered an error, but was intercepted to be retried.")};_.gP.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].mGa(a)};
SJc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Bp.length){b=a.V[c].Bp.length;break}return b};RJc=function(a,b){a.Ka.info(a.Ma,b)};_.UJc=function(a,b,c,d){XO.call(this);this.V=_.D(a,21,1E3);this.ma=_.D(a,1,1);this.W=b;this.ka=c;this.ha=d};_.I(_.UJc,XO);
_.UJc.prototype.H=function(a){var b=a.ku.length,c=0<b&&_.ba(a.ku).response||null;if(c){c=_.WM(c);if(2==c.zn()&&this.ka.Ef())return VJc(this,a,b);var d=c.Pi();if(3==d||31==d||13==d||9==d)return WJc(this,a,b);if(IGc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?(XJc(this,"Backoff number "+b+" for a User Rate Limit error."),iJc(this,a),a=!0):(XJc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var VJc=function(a,b,c){XJc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return iJc(a,b)},a.V);return!0},WJc=function(a,b,c){var d=a.ma;if(c<=d)return XJc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return iJc(a,b)},a.V*Math.pow(2,c)),!0;XJc(a,"Done retrying retriable requests after "+d+" retries.");return!1},XJc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},YJc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.XM()){var b=new FileReaderSync;return _.Oh(b.readAsDataURL(a))}var c=new _.Knb,d=QIc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return _.Ph(new _.Inb(e,"reading data"))}},ZJc=function(a){return YJc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},$Jc=function(a,b,c,d,e,f,h){this.Wa=a;this.ha=b;this.hb=c;this.ta=d;this.rb=e;this.hc=f;this.Ma=h;a=_.C(f.request,_.nIc,15);a=_.XM()&&a?_.y(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Ga=this.Ka=
this.wa=null;this.W=_.Sh();this.ma=!1;this.Ja=h.requestId;this.ka="progress_"+this.Ja;h.dpa=this.ka;this.Ba=this.Qa=0},aKc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
$Jc.prototype.start=function(){var a=this,b=new bHc(this.hc.request,this.V,this.hc.metadata),c=bKc(this);this.Wa.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.j9a;a.Ka=d.lib;a.Ga=d.YSa;cKc(a)},function(d){return void a.W.reject(d)});return _.Th(this.W.promise.then(function(d){dKc(a,d);return d},function(d){d=_.wN(d);dKc(a,d.qg);return _.Ph(d)}),function(){gJc(a.ha,[a.ka])})};var bKc=function(a){var b=_.kf(a.Ma);fJc(a.ha,a.ka,xIc(function(){return void a.ha.notify([a.Ja],0)}));return b};
$Jc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(iHc(this.hc)),!0)};cKc=function(a){a.ma||(aKc(a,"Uploading chunk "+a.Ba+" for "+a.wa+"."),eKc(a,4))};
eKc=function(a,b){fKc(a).then(function(c){if(c){var d=gKc(a,c.H.size);if(d.x$){var e=(new _.vO).Dc(8);a.W.resolve(e)}else a.Wa.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ba++;f.UC()&&(a.Ka=f.UC());f.II()&&(a.Ga=f.II());a.H<a.V?cKc(a):a.W.resolve(f)},function(f){var h=_.WM(f);h.Yja()||h.c8()?hKc(a,b,h,!1):ZJc(c.H).then(function(k){k=k?_.LDa.get(k)||25:38;_.HM(h,k);k=38==h.zn();var l=38!=h.zn()&&25!=h.zn();hKc(a,b,h,k,l)},function(){})})}else e=_.wN(_.HM(_.mq(new _.ob,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};hKc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Qga(f);!e&&0<b?(a.Qa++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;aKc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.wa+"."));eKc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.wN(c))};
fKc=function(a){return iKc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new cHc(a.wa,b,a.V,a.H,a.H+b.size-1,a.hc.request.Ub(),_.y(a.hc.request,12)||void 0)})};iKc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.hc.H?a.hc.H(c,b):_.Oh(_.TIc(a.hc.file,c,d))};gKc=function(a,b){var c=_.kf(a.Ma);c.kva=!0;var d=a.H/a.V,e=b/a.V;gJc(a.ha,[a.ka]);fJc(a.ha,a.ka,function(f){a.ha.notify([a.Ja],d+e*f)});return c};
dKc=function(a,b){b.exa(3);b.Qga(a.Qa);b.UC()||b.n1(a.Ka);b.II()||b.Z0(a.Ga)};_.jKc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.jKc.prototype.create=function(a,b){return new $Jc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.kKc=function(a){this.V=a;this.H={}};
_.kKc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].yr.request instanceof _.dHc)b.push(lKc(this,a[c].yr));else{var d=_.mq(new _.ob,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(_.Ph(_.wN(d)))}return b};_.kKc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.kKc.prototype.gEa=function(){return!_.gf(this.H)};lKc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Th(d,function(){delete a.H[e]})};
_.mKc=function(a,b){return new _.gP(b,a,[new NJc],[new _.eP],[],"immediate")};_.nKc=function(a,b,c,d,e,f,h){if(h){var k=new _.PJc(h.getState());d=new _.KJc(h)}else k=new _.lJc(c,d),d=new _.jJc(d);return new _.gP(f,a,[k,new _.ZO(e,f),new OJc],[new _.eP],[d,new _.UJc(b,e,h?h.getState():c,f)],"connected")};
_.oKc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.D(b,10,50):l;if(h){var n=new _.PJc(h.getState());d=new _.KJc(h)}else n=new _.lJc(c,d),d=new _.jJc(d);return new _.gP(f,a,[n,new _.pJc(l,_.D(b,12,10)),new _.fP(3*l),new _.ZO(e,f)],[new _.eP],[d,new _.UJc(b,e,h?h.getState():c,f)],k)};_.pKc=function(a,b,c){b=_.D(b,46,1);return new _.gP(c,a,[new _.fP(b)],[new _.eP],[],"resumable_upload")};
_.qKc=function(a,b,c,d,e,f,h,k){this.Ga=a;this.Ba=b;this.V=c;this.ma=d;this.wa=e;this.ka=f;this.ha=h;this.ta=k;this.W=null};_.qKc.prototype.H=function(a,b){var c=this,d=function(h){h=_.wN(h);var k=h.qg;jHc(a)||_.oq(k);return _.Ph(h)};if(this.ha()&&(a instanceof _.IM&&_.yO(a.hd())||b&&b.Bnb)){this.W||(this.W=_.Sh());var e=this.W.promise}var f=function(){return rKc(c,a,b).then(null,d)};return e?e.then(f):f()};
var rKc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ga.validate(b);if(d)return _.Ph(_.wN(d));d=a.Ba.V(b);return d instanceof _.ob?_.Ph(_.wN(d)):Array.isArray(d)?(d=d.map(function(e){return sKc(a,b,e,c)}),_.Rh(d)):sKc(a,b,d,c)},sKc=function(a,b,c,d){var e=tKc(a,c);if(!e)return b=_.HM(_.mq(new _.ob,"Failed to choose a queue for server request."),18),_.Ph(_.wN(b));if(e===a.V[7]||e===a.V[8])d.gG=!0;d=e.add({request:c,config:d});(_.xO(b)||_.xO(c))&&_.Th(d,function(){a.ha()||(a.ta(),a.W&&(a.W.resolve(),a.W=
null))});b=a.ma.apply(c,d);d.then(function(f){return a.wa.apply(c,f)},function(){});return b};_.qKc.prototype.cancel=function(a){return _.cf(this.V,function(b){return b.cancel(a)})};
tKc=function(a,b){var c=!1;b instanceof _.Xn?c=!!_.F(b,7):b instanceof _.IM&&(c=(c=b.hd())&&!!_.F(c,46));return(b instanceof _.fHc||b instanceof _.yM&&_.F(b,9))&&a.V[1]?a.V[1]:b instanceof _.dHc&&a.V[5]?a.V[5]:c&&qHc(b,a.ka)&&a.V[7]?a.V[7]:qHc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.Xn&&a.V[6]?a.V[6]:(c||JJc.includes(b.constructor))&&a.V[3]?a.V[3]:kHc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.uKc=function(a,b){this.H=a;this.V=_.cFc[_.D(a.hf(),8,0)];this.ha=_.cFc[_.D(a.hf(),51,5)];this.W=b;this.ka=_.kg()};
_.uKc.prototype.Ic=function(a,b){if(b.gG)vKc(this,a,b),wKc(this,a,b);else if(11==a.$o){if(b.kfb){var c=b.X$||_.D(this.H.hf(),37,"");_.Ii(a.uri,"key",c)}vKc(this,a,b);xKc(this,a,b)}else switch(a.uri=yKc(this,a.$o,a.uri),a.$o){case 1:xKc(this,a,b);vKc(this,a,b);break;case 0:_.A(this.H,83,!1)&&(b.$F||_.KM(this.H.Se())||_.Ii(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:xKc(this,a,b);wKc(this,a,b);vKc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:xKc(this,a,b);wKc(this,a,b);break;
default:throw Error("bf`"+a.$o);}};
var zKc=function(a,b){var c=yKc(a,b,new _.yi);if(!c.H)throw Error("df");return _.Ci(_.Bi(_.Ai(_.zi(new _.yi,c.W),c.H),c.ha),_.qFc.has(b)?"/batch"+a.V:"/batch")},yKc=function(a,b,c){var d=_.y(a.H.hf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.D(a.H.hf(),62,"");break;case 8:a=_.y(a.H.hf(),53);break;case 9:a=_.y(a.H.hf(),56);break;case 10:a=_.y(a.H.hf(),22);break;
case 13:a=_.y(a.H.hf(),55);break;case 12:a=_.y(a.H.hf(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.yi(a);_.Mc(c,"/")&&(c=c.slice(1));return new _.yi(a+"/"+c)},xKc=function(a,b,c){a=a.H.Se();c.$F||_.KM(a)||(c=[{key:"u",value:_.EO(a)}],b.headers.authorization=_.OXb(c)||"",c=_.YM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},vKc=function(a,b,c){var d=a.H.Se(),e=a.H.hf(),f=c.cmb||!!_.y(e,13);c=c.dmb||_.A(e,14,!1);var h=11==b.$o;
f&&((f=_.y(e,13))&&_.Mc(f,"email:")?_.Ii(b.uri,"trace",f):f&&"trace:true"==f?_.Ii(b.uri,"$trace","true"):f?_.Ii(b.uri,"trace","token:"+f):_.Ii(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Ii(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.D(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},wKc=function(a,b,c){c.$F||_.KM(a.H.Se())?_.Ii(b.uri,"key",_.D(a.H.hf(),36,"")):(a=c.X$||_.D(a.H.hf(),37,""),_.Ii(b.uri,"key",a))},
AKc=function(a){this.H=a};AKc.prototype.build=function(a,b){var c="====="+_.kg()+"=====",d=a[0].$o,e=b.every(function(l){return l.gG});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=zKc(this.H,a[0].$o);_.Ii(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.uFc[d],h=_.vFc[d]||{},h["content-type"]=_.Ax('multipart/mixed; boundary="%s"',c),d=_.sFc[d],k=new _.yi("");a=BKc(this,a,b,c,e);return{$o:f,body:a,headers:h,method:d,uri:k}};
var BKc=function(a,b,c,d,e){for(var f=TGc(_.yFc[b[0].$o]||{}),h="",k=0;k<b.length;k++){e&&xKc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=yKc(n,q.$o,q.uri);switch(q.$o){case 0:case 5:wKc(n,q,t);vKc(n,q,t);break;case 2:xKc(n,q,t);wKc(n,q,t);var v=q,z=_.y(n.H.hf(),57);v.headers.host=_.Mi(z).H;v.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;vKc(n,q,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.$o);default:throw Error("bf`"+
q.$o);}n=l;q=n.uri.clone();_.zi(q,"");_.Ai(q,"");_.Bi(q,null);l=f+"\r\n"+(n.method+" "+q+" HTTP/1.1\r\n")+TGc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},CKc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,DKc=/^multipart\/mixed; boundary="?([^"]+)"?$/,EKc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.pb("Individual batch response contained too few parts.",_.HM(_.nq(new _.ob,b),17));var f=e[1].split("\r\n");if(d=CKc.exec(f[0])){var h=_.og(d[1]);
d=d[2]}else return new _.pb("Could not extract HTTP status code and text.",_.HM(_.nq(new _.ob,b),16));f.shift();a=_.kf(a);Object.assign(a,UGc(f));try{var k=_.Bc(_.jg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.ADc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.wN(c):{headers:a,text:b,json:k||void 0}},FKc=function(){_.si.apply(this,arguments)};_.I(FKc,_.si);FKc.prototype.Qa=function(){return _.iga(_.si.prototype.Qa.call(this))};
var GKc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},HKc=function(a,b,c){try{a.ma.Ic(b,c);var d=new FKc;d.W=!0;var e=c.requestId||"",f=_.Sh();d.listen("complete",a.ta.bind(a,d,f,e,c.yka,4==b.$o));e&&c.dpa&&!c.gG&&(a.V[e]=d,a.H[e]=c,d.Vb=!0,d.listen("uploadprogress",(0,_.K)(a.ka,a,c)),c.kva||d.listen("downloadprogress",(0,_.K)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.Ph(_.wN(h))}};
GKc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.xe()?(a.x$=!0,b.abort(),!0):!1};GKc.prototype.ta=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.V[c],delete this.H[c]);c={headers:sHc(a),text:_.wi(a)};if(!d)try{c.json=_.xi(a)}catch(f){}d=_.ADc(a.Fb(),_.Lja(a),c.headers,c.text,c.json,a.V,_.Oja(a),String(a.ka),e);a.dispose();d?b.reject(_.wN(d)):b.resolve(c)};
GKc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.dpa],a.kva?b.loaded/b.total:b.loaded/b.total/2)};GKc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.dpa],b.loaded/b.total/2+.5)};var IKc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
IKc.prototype.add=function(a,b){var c="DEFAULT";b.gG&&(c=zKc(this.V,a.$o).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.gG&&!_.uFc[a.$o])return a=_.mq(new _.ob,"Unsupported batch API: "+a.$o),_.Ph(_.wN(a));var d=_.Sh();c.push({request:a,config:b,zk:d});return d.promise};
IKc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{JKc(a,b)}catch(f){var d=_.nq(_.mq(new _.ob,"Error executing XHR: "+f.message),f.stack),e=_.wN(d);b.forEach(function(h){h.zk.reject(e)});a.H.delete(c)}})};
JKc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.yka&&!c.config.gG){var d=!1;if(_.uFc[c.request.$o]){var e={$o:c.request.$o,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Ic(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.zk;HKc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}KKc(a,b)};
KKc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});HKc(a.W,a.ha.build(c,d),{yka:!0,gG:d.every(function(e){return e.gG})}).then(function(e){e.headers=_.FM(e.headers);var f=DKc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.pb("Could not extract batch boundary.",_.HM(_.nq(new _.ob,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Mc(_.iga(h[0]),f)&&_.Bc(h[1]))h=_.iga(h[0]).substring(f.length);else throw new _.pb("Could not parse batch response; did not begin and end with boundary.",
_.HM(_.nq(new _.ob,JSON.stringify(e)),15));f=h.split(f);h=c.length==f.length;for(var k=[],l=0;l<f.length;l++){var n=h?c[l]:void 0;k.push(EKc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.wN(e);return _.kDc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].zk,k=e[f];k instanceof _.ob||k instanceof _.pb?h.reject(_.wN(k)):h.resolve(k)}})};_.hP=function(a,b){_.HO(a)&&(b.supportsTeamDrives=!0)};
_.LKc=function(a){this.H=_.mc(_.y(a,27)).concat();this.V=new Set;var b=_.MGc(this.H,_.y(a,28));if(0<b.length)throw Error("ef`"+b.join(","));this.H.push(21);this.H.push(70);_.KM(a.Se())||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.HO(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();NGc(this.H)};_.iP=function(a){return _.mc(a.H).concat()};
MKc=function(a){return a instanceof _.IM||a instanceof _.sO||"undefined"!=typeof _.jP&&a instanceof _.jP||a instanceof _.kO||a instanceof _.NN||a instanceof _.GN||a instanceof _.KN||a instanceof _.aN&&_.xO(a)};_.NKc=function(a,b){this.V=b;this.H={};this.W=new AIc;b=_.yN({fields:_.y(a,28),Wv:_.KM(a.Se())});this.jc("SecondaryFields",b);this.jc("SdkBackfillEnabled",!!_.A(a,45,!1)+" (Include corpus cache: "+!!_.A(a,46,!1)+")")};_.NKc.prototype.jc=function(a,b){this.H[a]=_.OKc(a,b)};
PKc=function(a,b){var c=a.H[b];c||(c=_.OKc(b,0,2),a.H[b]=c);c.jc(String(Number(c.tb())+1))};_.OKc=function(a,b,c){var d=new _.SIc;_.x(d,1,a);_.x(d,4,c||1);d.jc(String(b));d.ol(wIc[a]);return d};
_.QKc=function(a,b,c){var d=new _.yDc;_.x(d,2,"Pending...");b instanceof _.IM?_.xj(d,3,_.JM[0],b):b instanceof _.sO?_.xj(d,4,_.JM[0],b):"undefined"!=typeof _.jP&&b instanceof _.jP?_.xj(d,5,_.JM[0],b):b instanceof _.kO?_.xj(d,6,_.JM[0],b):b instanceof _.NN?_.xj(d,7,_.JM[0],b):b instanceof _.GN?_.xj(d,8,_.JM[0],b):b instanceof _.KN?_.xj(d,9,_.JM[0],b):b instanceof _.aN&&_.xj(d,10,_.JM[0],b);var e=hHc(b),f=[];if(b instanceof _.CN)uO(f,"ID",b.getId()),uO(f,"Parent ID",b.Qj());else if(b instanceof _.NN)uO(f,
"TD ID",b.getId());else if(b instanceof _.IM)b=_.IJc(b.hd()),uO(f,"Query",b);else if(b instanceof _.sO)uO(f,"Query","All");else if(b instanceof _.kO)uO(f,"TD ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.GN)uO(f,"MimeType",b.Ub()),uO(f,"Title",b.getTitle()),uO(f,"Parents",_.y(b,3)),uO(f,"Convert",_.F(b,8)),uO(f,"Request ID",_.RO(b)),uO(f,"Parent Request IDs",_.y(b,10)),uO(f,"Revision Item ID",_.y(b,12)),uO(f,"Pinned",_.F(b,8));else if(b instanceof
_.HN)uO(f,"Title",b.getTitle());else if(b instanceof _.KN)uO(f,"ID",b.getId());else if(b instanceof _.ON)uO(f,"WS ID",b.getId());else if(b instanceof _.aN){if(uO(f,"ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"Description",b.Qf()),uO(f,"Starred",_.F(b,4)),uO(f,"Trashed",b.mh()),uO(f,"MimeType",b.Ub()),uO(f,"Parents",_.y(b,8)),uO(f,"Parents to add",_.y(b,9)),uO(f,"Parents to remove",_.y(b,10)),uO(f,"Restricted",_.F(b,11)),uO(f,"Folder Color",b.Wh()),uO(f,"Update Last Viewed",_.F(b,15)),uO(f,"Subscribed",
_.F(b,16)),uO(f,"Available Offline",b.hp()),uO(f,"Wksp to add",_.y(b,31)),uO(f,"Wksp to remove",_.y(b,32)),b=_.C(b,_.sm,25))uO(f,"Read Only",_.F(b,1)),uO(f,"Reason",_.y(b,2))}else b instanceof _.lO?(uO(f,"WS ID",b.getId()),uO(f,"Title",b.getTitle()),uO(f,"State",b.getState())):b instanceof _.oO&&uO(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.RKc=function(a,b){for(var c=new _.fp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+yIc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};SKc=[0,2,4,7,8];_.TKc=function(a,b,c,d,e,f,h){this.W=a;this.Ba=b;this.Ga=c;this.wa=d;this.ta=e;this.ha=f;this.H=h;this.ma=new AKc(this.W);this.ka=new GKc(this.W,this.Ba);this.V=[]};_.g=_.TKc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].yr;this.V.push(f);c.push(UKc(this.Ga,f,a[e].ku));d.push(MKc(f.request)?_.QKc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=_.Ph(_.wN(_.ADc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new IKc(this.W,this.ka,this.ma);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(q,t){var v=k.add(t,q);v.then(b.Feb.bind(b,t.$o,q.$F),function(){});return v}.bind(this,a[f].yr.config));e.push(l)}_.Rh(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].yr;var n=e[f].then(this.lSa.bind(this,l.request,d[f],a[f].ku)).Vf(function(q){return _.Ph(_.wN(q))});_.Th(n,this.k9a.bind(this,l));c.push(n)}return c};_.g.lSa=function(a,b,c,d){a=_.VKc(this.wa,a,d,c);b&&_.RKc(b,a.zd?a.zd():[]);return a};_.g.Feb=function(a,b){a=!b&&_.ha(SKc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.qc.isConnected()||a)c=LJc(b,c),a&&c&&_.WKc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};_.g.gEa=function(){return this.V.some(function(a){return _.xO(a.request)})};
_.g.k9a=function(a){_.na(this.V,a)};_.kP=function(a,b){if(!_.wa(b))throw new _.pb("Expected an object, but got a "+_.jea(b)+".",_.uN(11,void 0,8));var c=b.kind;if(!c)throw new _.pb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.uN(11,void 0,21));if(!a.includes(c))throw new _.pb("Expected "+a.join(" or ")+" but got a "+c+".",_.uN(11,void 0,9));};XKc=function(a,b){this.H=a;this.V=b};
_.lP=function(a,b){_.kP(["drive#user"],b);var c=_.yHc(1).kc(b.permissionId);c=_.x(c,11,b.id);c=_.zHc(c.wd(b.displayName),b.emailAddress);b.picture&&c.ws(b.picture.url);_.$M(a.H)&&_.zHc(c,b.emailAddressFromAccount||b.emailAddress);a=a.zf(b.permissionId,b.id);_.x(c,7,a);_.x(c,9,b.domain);return c};XKc.prototype.zf=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.EO(this.H.Se())==b};_.mP=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.YKc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.DHc(new _.pm,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);c=_.x(c,2,a.canComment);c=_.x(c,3,a.canCopy);b=_.x(c,4,b);b=_.x(b,5,a.canDownload);b=_.x(b,6,a.canEdit);b=_.IHc(_.EHc(_.JHc(_.KHc(_.LHc(_.HHc(_.x(b,10,a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.x(b,13,a.canRenameTeamDrive);b=_.MHc(_.GHc(_.FHc(b,
a.canShare),a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.PHc(_.OHc(_.NHc(_.x(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.x(b,34,a.canDeleteChildren);b=_.x(b,35,a.canTrashChildren);b=_.x(b,36,a.canRequestApproval);b=_.x(b,37,a.canReadCategoryMetadata);b=_.x(b,38,a.canEditCategoryMetadata);b=_.x(b,39,a.canChangeCategoryReferences);b=_.x(b,49,a.canSetMissingRequiredFields);
b=_.x(b,40,a.canAddMyDriveParent);b=_.x(b,41,a.canRemoveMyDriveParent);b=_.RHc(_.QHc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.UHc(_.THc(_.SHc(_.x(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.x(b,50,a.canChangeSecurityUpdateEnabled);b=_.x(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.x(b,52,a.canCreateDecryptedCopy);return _.x(b,53,a.canCreateEncryptedCopy)};
ZKc={anyone:4,audience:5,domain:3,group:2,user:1};$Kc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};aLc={docs:1,sheets:2,slides:3};bLc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};cLc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};dLc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};eLc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};fLc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};gLc={ok:1,notFound:2,permissionDenied:3};hLc={unencrypted:1,encrypted:2};iLc={unset:0,"default":1,small:2,size16kb:3};
jLc=function(a,b){this.H=a;this.V=b};
_.mLc=function(a,b,c){var d=new _.VO;a=(new _.YB).gw(kLc(a,b));a=_.x(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.kP(["drive#fileList"],b);var e=b.spellResponse;if(e){var f=[];var h=e.spellCorrections;for(e=0;e<h.length;e++){for(var k=h[e].spellFragments,l=[],n=0;n<k.length;n++){var q=k[n];var t=(new _.XB).Dc(cLc[q.status]);t=_.x(t,1,q.original);q=_.x(t,3,q.correction);l.push(q)}k=new _.Akb;l=_.yj(k,1,l);f.push(l)}h=new _.Ckb;_.yj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.ykb;
_.x(v,1,f||[])}h||v?(f=new _.Dkb,h&&_.R(f,1,h),v&&_.R(f,2,v),v=f):v=null;_.R(a,7,v);_.mIc(a,lLc(b))}d=_.UIc(d,a);c=_.vDc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
pLc=function(a,b,c,d,e){_.kP(["drive#adminFile","drive#file","drive#revision"],b);var f=_.UO(new _.vO,c);"drive#adminFile"==b.kind?(_.kP(["drive#adminFile"],b),c=(new _.vm).kc(b.id),b.parentId&&_.QO(c,[b.parentId]),_.gIc(c,b.teamDriveId),f.setItem(c),_.UO(f,c.getId())):"drive#file"==b.kind?(b=_.nLc(a,b),f.setItem(b),c||_.UO(f,b.getId())):"drive#revision"==b.kind&&(b=_.oLc(a,b),_.R(f,4,b));f.n1(_.uDc(d));f.Z0(_.vDc(d));(d=(d=d&&_.FM(d))&&d["x-server-object-version"])&&e&&(e=(new _.TO).kc(d),_.R(f,
4,e));f.Dc(1);return f};_.qLc=function(a,b){return _.UO(new _.vO,a).Dc(1).n1(_.uDc(b)).Z0(_.vDc(b))};_.sLc=function(a,b,c,d){d||_.kP(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.rLc(a,b[c],d);f&&e.push(f)}return e};
_.rLc=function(a,b,c){c||_.kP(["drive#permission"],b);c=_.yHc(ZKc[b.type]).kc(b.id);c=_.x(c,11,b.userId);var d=a.H.zf(b.id,b.userId);c=_.x(c,7,d);c=_.x(c,4,b.withLink);c=_.zHc(c.wd(b.name).ws(b.photoLink),b.emailAddress);c=_.x(c,9,b.domain);c=_.x(c,10,b.deleted);c=_.x(c,12,b.audienceId);c=_.x(c,13,b.customerId);c.getId()||c.kc(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.$M(a.V)&&c.wd(b.nameIfNotUser);a=$Kc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&
(a=6);_.x(c,6,a);return c};kLc=function(a,b){_.kP(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.nLc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.nLc(a,b[d]);c.push(e)}}return c};
_.nLc=function(a,b){_.kP(["drive#file"],b);var c=_.eIc(_.aIc(_.zM(_.QO((new _.vm).kc(b.id),tLc(b)).setTitle(b.title),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.x(c,90,Number(b.thumbnailVersion));_.x(c,21,b.iconLink);c.ol(b.description);_.bIc(c,b.explicitlyTrashed);_.x(c,22,b.shared);null!=b.quotaBytesUsed&&_.x(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.x(c,14,Number(b.fileSize));_.x(c,30,b.copyable);if(b.labels){var d=b.labels;c.Kq(d.starred);_.x(c,6,d.hidden);
c.Rn(d.trashed);_.$Hc(c,d.restricted);_.x(c,9,d.viewed)}_.x(c,10,_.mP(b.createdDate));_.x(c,69,_.mP(b.serverCreatedDate));_.lDc(c,_.mP(b.modifiedDate));_.x(c,12,_.mP(b.modifiedByMeDate));_.x(c,13,_.mP(b.lastViewedByMeDate));_.x(c,23,_.mP(b.sharedWithMeDate));_.x(c,62,_.mP(b.subscribedDate));_.x(c,70,_.mP(b.recency));b.recencyReason&&_.x(c,71,bLc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.lP(a.H,e[f]);h&&d.push(h)}_.yj(c,15,d);b.lastModifyingUser&&(d=_.lP(a.H,
b.lastModifyingUser),_.R(c,17,d));b.userPermission&&_.AM(c,$Kc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.MO,e=_.x(e,2,d.width).Uf(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.gFc,f.setMilliseconds(0),_.DFc.parse(d,f),_.x(e,1,f.getTime())),_.R(c,27,e));null!=b.folderColor&&_.dIc(c,Number(b.folderColor));_.cIc(c,b.subscribed);_.x(c,45,b.fileExtension);_.x(c,50,b.folderFeatures||[]);_.x(c,36,b.flaggedForAbuse);_.x(c,53,b.gplusMedia);_.x(c,46,b.primarySyncParentId||
void 0);_.x(c,35,b.hasChildFolders);b.source&&(_.x(c,42,b.source.client_service_id),_.x(c,43,b.source.value));b.sharingUser&&(d=_.lP(a.H,b.sharingUser),_.R(c,47,d));b.sources?_.x(c,56,b.sources||[]):b.gplusMedia&&_.x(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.iDc[h]&&(h=_.ee(new _.de,_.iDc[h]),e.push(h));c.KB(e)}_.x(c,63,b.ownedByMe);_.x(c,29,b.shareable);b.sourceAppId&&_.x(c,61,b.sourceAppId);_.x(c,74,b.changed);null!=b.recursiveFileSize&&_.x(c,77,Number(b.recursiveFileSize));
null!=b.recursiveFileCount&&_.x(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.dta).kc(h.id);h=_.x(k,2,dLc[h.type]);e.push(h)}_.yj(c,83,e)}b.capabilities&&c.ln(_.YKc(b.capabilities));b.permissionsSummary&&_.hIc(c,_.uLc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.OO).ol(d.description),e=_.x(e,3,eLc[d.galleryState]),d=_.x(e,2,d.category||[]),_.R(c,
86,d));_.gIc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.lP(a.H,b.creator),_.R(c,91,d));_.iIc(c,b.primaryDomainName);_.jIc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.lP(a.H,b.trashingUser),_.R(c,95,d));_.x(c,96,_.mP(b.trashedDate));b.version&&_.x(c,75,Number(b.version));_.x(c,98,b.hasVisitorPermissions);_.x(c,102,b.hasAppsScriptAddOn);(d=b.pairedDocType)&&_.x(c,101,aLc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.PO,e=_.x(e,1,d.width).Uf(d.height),d.durationMillis&&_.x(e,3,Number(d.durationMillis)),_.R(c,103,e));_.x(c,104,b.detectors||[]);_.x(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.p(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.VHc(_.LO(new _.sm,f.readOnly),f.reason),d.push(f);_.yj(c,125,d)}if(d=b.publishingInfo)_.x(c,118,d.published),_.x(c,119,d.publishedUrl);_.x(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&
_.x(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.p(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.om).kc(f.approvalId).Dc(fLc[f.status]),d.push(f);_.yj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.mta,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.x(e,4,gLc[d.targetLookupStatus]||0),d.targetFile&&(d=_.nLc(a,d.targetFile),
_.R(e,5,d)),_.R(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.IO,e=_.x(e,1,hLc[d.encryptionState]),d.decryptionMetadata&&(d=vLc(d.decryptionMetadata),_.R(e,2,d)),_.R(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.NO,e=_.x(e,2,d.securityUpdateEligible),d=_.x(e,3,d.securityUpdateEnabled),_.R(c,139,d));_.x(c,140,b.resourceKey);_.x(c,135,b.authorizedAppIds||[]);_.x(c,136,b.customerId);_.QGc(c);_.$M(a.V)&&_.fIc(c,5);return c};
tLc=function(a){var b=[];if(a&&a.parents){a=a.parents;for(var c=0;c<a.length;c++)b.push(a[c].id)}return b};_.oLc=function(a,b){_.kP(["drive#revision"],b);var c=(new _.TO).kc(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.mP(b.modifiedDate));c=_.x(c,4,b.pinned);c=_.x(c,5,b.downloadUrl);c=_.x(c,7,b.originalFilename);null!=b.fileSize&&_.x(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.lP(a.H,b.lastModifyingUser),_.R(c,9,a));b.decryptionMetadata&&(b=vLc(b.decryptionMetadata),_.R(c,10,b));return c};
_.uLc=function(a,b){a=_.YHc(_.XHc(_.WHc(new _.gta,b.entryCount),_.sLc(a,b,"visibility",!0)),_.sLc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};vLc=function(a){var b=a.wrappedKey;var c=new _.KO;b=b?_.zIc(b):void 0;c=_.x(c,1,b);c=_.x(c,2,Number(a.kaclsId));c=_.x(c,5,a.kaclsName);c=_.x(c,3,iLc[a.aes256GcmChunkSize]);return _.x(c,4,a.jwt)};
lLc=function(a){_.kP(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};wLc=function(a,b,c){c=void 0===c?!1:c;var d=_.F(a,44),e=a.ef();if(c&&e){if(1!=_.dd(e))return null;d=(d=_.ad(e))?_.F(d,44):!0}if(!d)return null;d=a.getId();_.zN(a)&&c&&(d=RGc(a));return[_.D(b,65,"https://lh3.google.com"),"u",_.YM(b.Se()),"d",d].join("/")+"={size}"};_.xLc=function(a){this.H=a};
_.ALc=function(a,b,c){yLc(a,b,c);c.includes(18)&&_.aIc(b,rHc(b,a.H,a.H.Lp()));if(c.includes(19)){var d=wLc(b,a.H,a.H.Lp());_.x(b,20,d)}zLc(a,b,c);if(a.H.Lp()&&_.zN(b)){if(d=(d=b.ef())&&_.ad(d)){yLc(a,d,c);c.includes(18)&&_.aIc(d,rHc(d,a.H,a.H.Lp()));if(c.includes(19)){var e=wLc(d,a.H,a.H.Lp());_.x(d,20,e)}zLc(a,d,c)}_.eIc(b,!!b.uh())}};
yLc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.A(a.H,75,!1);a=a.H.Lp();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Ub();a&&_.zN(b)&&(d=(a=b.ef())?_.y(a,3):"");_.AN(b)&&(b.Wh()&&(d+="+"+String(b.Wh())),b.Oi()&&(d+="+shared"));_.x(b,21,_.MYa(d,c?"32":"16"))}};
zLc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Ub();e&&(e=!_.AN(b)&&!_.zN(b)&&!_.Lc(e)&&(!b.WW()||2!=b.km()),d&&_.x(b,40,e),e&&c&&(d=a.H,c=a.H.Lp(),c=void 0===c?!1:c,a=b.getId(),_.zN(b)&&c&&(a=RGc(b)),c=new _.yi(_.D(d,16,"")+"/uc"),_.Ii(c,"id",a),_.Ii(c,"authuser",_.YM(d.Se())),_.Ii(c,"export","download"),_.x(b,41,c.toString())))}};_.BLc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new XKc(b,d);this.Wz=new jLc(this.ka,b)};
_.VKc=function(a,b,c,d){d=void 0===d?[]:d;try{return CLc(a,b,c,d)}catch(e){_.xN(e)}};
CLc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.GN)return _.DLc(a,b,c);if(b instanceof _.PN)return"base64"==c.headers["x-goog-safety-encoding"]?new tJc(_.naa(c.text),d.length):new tJc(new Uint8Array(_.cka(c.text)),d.length);if(b instanceof _.Xn){if(!c.json)throw _.nP();return _.mLc(a.Wz,c.json,c.headers)}if(b instanceof _.rO)return _.DLc(a,b,c);if("undefined"!=typeof _.pO&&b instanceof _.pO){if(!c.json)throw _.nP();a=c.json;return new _.rJc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.ELc&&b instanceof _.ELc){if(!c.json)throw _.nP();return _.oLc(a.Wz,c.json)}if(b instanceof cHc){if(b.V==b.ha-1){if(!c.json)throw _.nP();b=pLc(a.Wz,c.json,null,c.headers,!!b.ot);_.ALc(a.V,b.getItem(),_.iP(a.H));a=b}else a=_.qLc(null,c.headers);return a}if(b instanceof bHc){a=_.FM(c.headers);b=a.location;if(!b)throw a=_.HM(new _.ob,10),new _.pb("No upload session URI included.",a);return new sJc(b,_.uDc(a),_.vDc(a))}throw new _.pb("FromXhrConverter: Unsupported request type.",
new _.ob);};_.BLc.prototype.ma=function(){return null};_.DLc=function(a,b,c){if(!c.json){if(b instanceof _.aN)return _.qLc(_.FLc(b));throw _.nP();}var d=!1;b instanceof _.rO&&(d=!!_.y(b.request,12));b=pLc(a.Wz,c.json,_.FLc(b),c.headers,d);b.getItem()&&_.ALc(a.V,b.getItem(),_.iP(a.H));return b};_.nP=function(){var a=_.HM(new _.ob,11);return new _.pb("FromXhrConverter: JSON required, but none found",a)};_.FLc=function(a){return a.getId?a.getId():a.Gc?a.Gc():null};
_.GLc=function(a,b){if(b.length){a.parents=[];for(var c=0;c<b.length;c++){var d={};d.id=b[c];a.parents.push(d)}}};
HLc=function(a,b){var c={};_.Bc(_.jg(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Ub()&&(c.mimeType=a.Ub(),a.Gc()&&_.tda(a.Ub())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.Qi(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.HFc[d?d.V():0],f);c.clientEncryptionDetails=e}_.GLc(c,_.y(a,3));(b=a.Gc())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));_.y(a,21)&&(c.shortcutDetails={},c.shortcutDetails.targetId=_.y(a,
21));"number"===typeof _.y(a,26)&&(c.modifiedDate=_.lIc(_.uJc(_.y(a,26)||0)));return c};
ILc=function(a,b,c){var d=!!_.y(a.request,12),e="files";d&&(e+="/"+_.y(a.request,12));e=new _.yi(e);_.Ii(e,"uploadType","multipart");_.Ii(e,"supportsTeamDrives",!0);_.Ii(e,"pinned",!!a.request.Xr());null!=_.F(a.request,8)&&_.Ii(e,"convert",_.F(a.request,8));_.Ii(e,"fields",_.LGc({fields:_.iP(b).filter(function(n){return 194!=n}),Wv:!1}));SGc(e,a.request.ke());var f=HLc(a.request,a.metadata),h=_.kg();b={};b=(b["content-type"]=_.Ax('multipart/related; boundary="%s"',h),b);var k=c.indexOf(",");c=0<=
k?c.substring(k+1):"";f=JSON.stringify(f);k={};k=(k["content-type"]="application/json; charset=UTF-8",k);var l={};l=(l["content-transfer-encoding"]="base64",l);a.request.Ub()&&(l["content-type"]=a.request.Ub());a="--"+h;a=a+"\r\n"+TGc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+TGc(l)+"\r\n"+c+"\r\n"+a+"--";return{$o:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};JLc=function(a){if(a instanceof _.Inb){var b=new _.ob;_.mq(b,"fs.Error: "+a.message);a=(a=a.name)?_.LDa.get(a)||25:38;_.HM(b,a);a=_.wN(b)}return _.Ph(a)};
KLc=function(a,b){return YJc(a.file).then(function(c){return ILc(a,b,c)},JLc)};_.LLc=function(a){var b=_.HM(new _.ob,4);throw new _.pb("ToXhrConverter: Unsupported request type: "+hHc(a),b);};_.MLc=function(a,b,c){this.H=a;this.W=c};UKc=function(a,b,c){try{return b.request instanceof _.rO?KLc(b.request,a.W):_.Oh(a.ha(b.request,b.config,c))}catch(d){return d instanceof _.pb?a=d.qg:(a=new _.ob,_.mq(a,"Error converting XHR: "+d.message),_.nq(a,d.stack),_.HM(a,4)),_.Ph(a)}};
_.MLc.prototype.ha=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.GN){h=(e=!!_.y(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.y(a,12),k.pinned=!!a.Xr());null!=_.F(a,8)&&(k.convert=_.F(a,8));k.fields=_.LGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),lI:_.$M(this.H)});e=HLc(a);f["content-type"]="application/json";var q=a.ke();l=!0;_.hP(this.H,k);_.NLc(this.H,k);_.OLc(this,_.vj(a,_.uk,28),f)}else if(a instanceof _.PN)n="files/"+a.getId(),_.y(a,2)&&(k.revisionId=_.y(a,2)),k.alt="media",
f["X-Goog-Encode-Response-If-Executable"]="base64",_.A(this.H,89,!1)&&(a=_.vk((new _.uk).kc(a.getId()),_.y(a,3)),a=_.yB(a),a.length&&(f["X-Goog-Drive-Resource-Keys"]=a)),l=!0;else if(a instanceof _.Xn)l=a.Ol()[0],n="files/"+l,q=_.qa(this.Bg(c),this.Bg(c,a.Oh())),_.ya(q),k.fields=_.LGc({fields:q,Wv:_.KM(this.H.Se()),lI:_.$M(this.H)}),_.hP(this.H,k),_.PLc(this.H,k),_.QLc(this.H,k),this.V(l,k),q=a.ke(),l=!0,_.F(a,7)&&(b.yka=!0),_.OLc(this,_.vj(a,_.uk,11),f);else if("undefined"!=typeof _.pO&&a instanceof
_.pO)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.ELc&&a instanceof _.ELc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt)",n="files/"+a.id+"/revisions/"+a.ot,l=!0;else if(a instanceof cHc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=_.Ax("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof bHc?(d=2,h=(e=!!_.y(a.request,
12))?"PUT":"POST",n="files",e&&(n+="/"+_.y(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.Xr(),null!=_.F(a.request,8)&&(k.convert=_.F(a.request,8)),k.fields=_.LGc({fields:this.Bg(c).filter(function(v){return 194!=v}),Wv:_.KM(this.H.Se()),lI:_.$M(this.H)}),_.hP(this.H,k),e=HLc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,null!=a.request.Ub()&&(f["x-upload-content-type"]=a.request.Ub()),q=a.request.ke(),l=!0):a instanceof _.fHc?(n="about",
k.fields="kind",q=a.H,l=!0):_.LLc(a);l&&_.RLc(c,k);return _.SLc(d,n,k,f,h,q,e,t)};_.SLc=function(a,b,c,d,e,f,h,k){b=new _.yi(b);[10,12,13].includes(a)||SGc(b,f);c=_.p(Object.entries(c));for(f=c.next();!f.done;f=c.next()){var l=_.p(f.value);f=l.next().value;l=l.next().value;_.Ji(b,f,l)}return{$o:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.PLc=function(a,b){_.A(a.hf(),23,!1)&&(b.includePermissionsForView="published")};_.MLc.prototype.V=function(){};
_.QLc=function(a,b){_.A(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.NLc=function(a,b){_.A(a,3,!1)&&(b.enforceSingleParent=!0)};_.RLc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).Olb):b.retryCount=0};_.MLc.prototype.Bg=function(a,b){b||(b=_.iP(this.W));0<a.length&&(b=b.slice(0),_.iaa(b,function(c){return PIc.includes(c)}));return b};_.OLc=function(a,b,c){_.A(a.H,89,!1)&&b.length&&(a=_.yB(b),a.length&&(c["X-Goog-Drive-Resource-Keys"]=a))};
_.TLc=function(a,b){_.CH.call(this,a?a:500,b?b:6E5)};_.I(_.TLc,_.CH);var ULc=function(){_.Cp.call(this);this.ha=this.W=null};_.I(ULc,_.Cp);ULc.prototype.V=function(){(0,this.ha)()};VLc=function(a,b){a.ha||(a.ha=b)};_.oP=function(a){if(!a.W){a.W=new OIc;var b=_.Ep(a);_.R(b,56,a.W)}return a.W};WLc=function(a){var b=_.oP(a).getState();b||(b=new HIc,_.oP(a).Od(b));return b};XLc=function(a,b){var c=new FIc;_.x(c,1,b);a=_.Ep(a);_.R(a,12,c)};
ULc.prototype.ma=function(){var a=_.C(_.oP(this),JIc,4);if(!a){a=new JIc;var b=_.oP(this);_.R(b,4,a)}return a};YLc=function(a){var b=_.C(_.oP(a),KIc,8);b||(b=new KIc,a=_.oP(a),_.R(a,8,b));return b};_.ZLc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.O.call(this);this.Rg=b?1:a;this.H9=!1;this.vG=b};_.I(_.ZLc,_.O);_.g=_.ZLc.prototype;_.g.isConnected=function(){return!this.H9&&1==this.Rg};_.g.Hl=function(){return 1==this.Rg||2==this.Rg};_.g.Ef=function(){return 3==this.Rg};_.g.get=function(){return this.Rg};
_.g.update=function(a){if(this.vG)return!1;if(this.Rg!=a||this.H9&&1==a){var b;2==a?b=3==this.Rg?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new $Ic(b),this.Rg=a,this.H9=!1,this.dispatchEvent(b),!0}return!1};$Lc=function(a,b){this.W=a;this.V=b;this.H=null};
dMc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return aMc(a,function(c){return c.count().then(function(d){return 1E3>d?bMc(a,c,b):cMc(a,Error("ff"))},function(d){return cMc(a,d)})},"readwrite")};bMc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.U5a=c.Qd(),d)).then(null,function(e){cMc(a,e)})};
eMc=function(a){return new _.Nh(function(b){var c=new Map;aMc(a,function(d){return tIc(d.getIndex("userId"),a.W).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.p(e),k=h.next();!k.done;f={Nca:f.Nca},k=h.next())k=_.p(k.value),f.Nca=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Nca,new _.Sya(n.U5a))}}(f));return _.Rh(_.mc(e.values()).concat()).then(function(){return b(c)})})})})};
fMc=function(a,b){return aMc(a,function(c){return c.remove(b)},"readwrite")};aMc=function(a,b,c){c=void 0===c?"readonly":c;return gMc(a).then(function(d){try{var e=_.SM(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return cMc(a,f)}},function(d){return cMc(a,d)})};
gMc=function(a){return a.H?_.Oh(a.H):_.eEc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.uIc(c,"OfflineImpressions");_.ZDc(_.cEc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return cMc(a,Error("gf"))}).then(function(b){return a.H=b},function(b){return _.Ph(_.vN(b))})};cMc=function(a,b){b||(b=Error("hf"));_.WO(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Oh()};
_.hMc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.O.call(this);this.Kw=b?!1:a;this.Qka=null;this.vG=b};_.I(_.hMc,_.O);_.hMc.prototype.Ef=function(){return this.Kw};_.hMc.prototype.Qk=function(a){var b=this.Kw!=a;!this.vG&&b&&(this.Kw=a,this.dispatchEvent(new kJc(a)))};_.hMc.prototype.gA=function(a){this.Qka=a};
var jMc=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ha=a;this.W=b;this.Rg=c;this.V=d;this.Lb=new _.Xd(this);this.Lb.listen(b,"Cb",function(k){k.Ef()||iMc(h)});this.Lb.listen(c,["wb","yb"],function(){return void iMc(h)});this.ka=e;f.then(function(){return iMc(h)})};_.I(jMc,_.O);jMc.prototype.H=function(a){return(this.W.Ef()||this.Rg.Ef())&&this.W.Qka?dMc(this.V,a):this.ha.H(a)};
var iMc=function(a){return a.W.Qka?eMc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return kMc(a,d)},function(){return lMc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},kMc=function(a,b){lMc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return fMc(a.V,b).then(function(){lMc(a,"Removed offline impression batch "+b+".")},function(){lMc(a,"Unable to remove offline impression batch "+b+".")})},lMc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},mMc=function(){};mMc.prototype.FI=function(){return new ULc};var nMc=function(){this.H=new EIc};nMc.prototype.V=function(a){_.R(a,13,this.H)};nMc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};pMc=function(a,b,c,d){this.Ga=_.pP(_.OFc,_.FO(a));this.ma=_.pP(_.SFc,_.D(a.hf(),8,0));this.W=_.pP(_.PFc,_.D(a.hf(),9,2));this.ta=_.A(a,10,!1);this.Ja=_.KM(a.Se());this.wa=_.GO(a);this.ha=oMc(a);this.Ba=a.yi();this.V=this.H=null;this.Ka=b;this.Rg=c;this.ka=d};
oMc=function(a){var b=_.mc(_.LFc.keys()).concat(),c=_.mc(_.MFc.keys()).concat(),d=_.ZM(a);return b.filter(function(e){return _.LFc.get(e)(a)}).concat(c.filter(function(e){return d&&_.MFc.get(e)(d)}))};_.pP=function(a,b){a=_.p(a);for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};qMc=function(a){if(a.V)return a.V.H("aU7Ts")};
pMc.prototype.Fb=function(a){return a instanceof _.YB||"undefined"!=typeof _.qP&&a instanceof _.qP||"undefined"!=typeof _.rP&&a instanceof _.rP||"undefined"!=typeof _.sP&&a instanceof _.sP?a.Fb():"undefined"!=typeof _.tP&&a instanceof _.tP||"undefined"!=typeof _.uP&&a instanceof _.uP||"undefined"!=typeof _.vP&&a instanceof _.vP||"undefined"!=typeof _.wP&&a instanceof _.wP||"undefined"!=typeof _.xP&&a instanceof _.xP?a.response?a.response.Fb():null:null};pMc.prototype.yi=function(){return this.Ba};
var rMc=function(a){return a.Ka.Ef()||a.Rg.Ef()?2:1};pMc.prototype.getEnvironment=function(){return this.ka};var sMc=function(a,b){this.H=a;var c=new _.gya;_.hya(c,b.ha);a=this.H.pG();var d=_.SEc(a);_.R(d,10,c);(c=b.yi())&&_.REc(a,c);this.H.tT();this.V=b};sMc.prototype.isRunning=function(){return this.H.eO()};
_.tMc=function(a,b,c){var d=_.Dp(a.H.nD(b,c),_.IFc);XLc(d,rMc(a.V));b=qMc(a.V);"boolean"===typeof b&&IIc(WLc(d),b);VLc(d,function(){1==c&&a.H.mF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=WLc(d);_.x(f,1,e);a.H.Ro(d)});return d};uMc=function(a){var b=new _.fCa;var c=new nMc;_.x(c.H,1,a.Ga);_.x(c.H,3,a.ma);_.x(c.H,4,a.W);_.x(c.H,5,a.ta);_.x(c.H,6,a.Ja);_.x(c.H,7,a.wa);a=c.setEnvironment(a.getEnvironment());_.kIc(b,_.JFc,a);_.Gp(b,_.IFc,new mMc);return b};
vMc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.HH(906,b,void 0,_.XM());l.ha=!1;var n=new _.fEc(l);b=new Date;l=_.XEc(_.WEc(_.VEc(vIc(),new _.gEc(l)),uMc(c)),109).setSessionId(b.getTime()+"_"+_.kg());if(k){a=new jMc(n,d,e,new $Lc(a,f),f,h);_.UEc(l,a);d=l.build();_.QEc(d.pG(),1E3*b.getTime());var q=new sMc(d,c);(new _.Xd).listen(a,"Db",function(){_.tMc(q,106008,0).V()});return q}_.UEc(l,n);a=l.build();_.QEc(a.pG(),1E3*b.getTime());return new sMc(a,c)};
wMc=function(a,b){this.V=a;this.ha=b};wMc.prototype.H=function(a){this.V&&_.xMc(this)&&_.tMc(this.V,a,0).V()};wMc.prototype.W=function(a){return this.V&&_.xMc(this)?_.tMc(this.V,a,1):null};_.xMc=function(a){return!(!a.V||!a.V.isRunning())};_.yMc=function(a,b,c,d,e,f){var h=_.F(a,59),k=_.YM(a.Se()).toString(),l=_.EO(a.Se());f=new pMc(a,b,c,f);a=h?vMc(l,k,f,b,c,d,e,_.A(a,17,!1)):null;return new wMc(a,f)};_.zMc=function(a,b,c){this.qc=a;this.ha=b;this.W=c;this.V=this.bm=null;this.H=!1};
_.zMc.prototype.getState=function(){return this.qc};_.WKc=function(a){a.V=null;a.bm&&(clearTimeout(a.bm),a.bm=null)};_.MJc=function(a){a.V||a.H||(a.V=new _.TLc(5E3,6E4),AMc(a))};AMc=function(a){BMc(a);a.V&&(a.bm=setTimeout(function(){return void AMc(a)},a.V.tb()),_.DH(a.V))};BMc=function(a){_.Th(_.Oh().then(null,function(){return null}),function(){return void CMc(a)})};
CMc=function(a){DMc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.fHc(_.qe(new _.pe,312)))}).then(null,function(b){b=_.wN(b);_.YEc(b.qg)&&LJc(a,2);return _.Ph(b)}).then(null,function(){return null})};DMc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};LJc=function(a,b){return!a.H&&a.qc.update(b)?(DMc(a,"Connection status: "+_.TFc.get(b)),!0):!1};_.r("sy12e");
_.EMc=function(a,b,c){_.Qg.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.I(_.EMc,_.Qg);
_.yP=function(a,b,c,d,e,f,h){_.O.call(this);var k=this;this.W=a;this.ma=b;this.Ga=c;this.ta=d;this.Wa=e;this.ha=f;this.H={};this.je=null;this.Ba=h;this.wa={};_.od(this,function(){k.Cx()})};_.I(_.yP,_.O);_.yP.prototype.CQ=function(){return _.lg()};
_.yP.prototype.upload=function(a,b,c){PKc(this.ma,"UploadTotalCount");var d=_.RO(a);if(d&&this.H[d])throw new _.pb("Upload requested with a duplicate request ID.");var e=_.y(a,10);if(e&&e.length){if(1!=e.length)throw new _.pb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.pb("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);d||(d=this.CQ(),_.x(a,9,d));a=_.Dj(a);e=FMc(this,d);this.H[d]={request:a,file:b,
Yf:e,oF:!1,lK:0,success:!1,VE:!1,children:[],metadata:c,$k:void 0};f?GMc(this,d,f):this.ka(d);return e.Gk()};
var FMc=function(a,b){var c=new _.Hj;c.xf(_.Ke(a.Qa,b),_.Ke(a.Ma,b),a);return c},GMc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.ya(c.children);c.Yf.then(function(f){if(1==f.Fb()&&(f=f.Gc(),_.y(e.request,3).push(f),_.x(e.request,10,[]),!c.VE||d)){a.ka(b);return}HMc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Yf.Bd(_.EM(f)?f:Error(f))})};
_.yP.prototype.Qa=function(a,b){PKc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Fb();(b=a.$k)&&!a.VE&&(LIc(NIc(YLc(b),a.lK),!0),b.V())};_.yP.prototype.Ma=function(a,b){var c=_.C(this.W,_.GM,58);c&&_.A(c,1,!1)&&(this.wa[a]=b);PKc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.$k)&&!c.VE&&(LIc(NIc(YLc(a),c.lK),!1),b=(c=b&&b.qg)&&c.Pi(),c=c&&c.zn(),b?MIc(YLc(a),IMc.get(b)||13):c&&MIc(YLc(a),JMc.get(c)||0),a.V())};
_.yP.prototype.ka=function(a){var b=this.H[a];if(!b.oF){b.oF=!0;a=this.H[a];var c=a.request,d=_.C(this.W,_.GM,58);d&&_.A(d,4,!1)&&(d=c.getTitle().match(KMc))&&(!d[1]||a.lK<Number(d[1].substr(1)))&&(c=_.Dj(c),_.ka(_.y(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.C(b.request,_.nIc,15))?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.hf();d=_.D(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ba&&3!=d){var f=this.Ba.W(106012);if(f){b.$k=f;f=YLc(f);f=_.x(f,1,2==d?2:1);f=_.x(f,4,
!!b.metadata);var h=!!_.y(a,12);f=_.x(f,5,h);e=_.x(f,6,e);c=_.D(c,32,1073741824);_.x(e,7,c)}}switch(d){case 2:if(b.file){c=b.Yf;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Ke(this.ha,_.RO(a)));LMc(this,new _.dHc(a,d,k,b),c,_.RO(a))}break;case 1:b.file&&(k=b.Yf,c=b.file,b=b.metadata,d=_.C(this.W,_.tHc,2),LMc(this,new _.rO(a,c,d&&_.A(d,2,!1)?b:void 0),k,_.RO(a)));break;case 3:LMc(this,a,b.Yf,_.RO(a));break;default:throw new _.pb("Upload type ${uploadType} not supported.");}}};
var LMc=function(a,b,c,d){fJc(a.Ga,d,a.Ja.bind(a,d));_.Th(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return MMc(a,b,e)}),function(){gJc(a.Ga,[d])}).then(c.callback,c.Bd,c)},MMc=function(a,b,c){var d=_.wN(c),e=b instanceof _.rO&&b.request.Gc()||"";c=d.qg;if(e&&8==c.Pi()){HMc(a);var f=_.Zn(new _.Xn,[e]);return _.Pj(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.gr().zd()[0];var k=b.request;if(h&&!h.mh()&&(h.Ub()||"").replace(/\s/g,"")==(k.Ub()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return HMc(a),_.UO((new _.vO).setItem(h),e).Dc(1);HMc(a);return _.Ph(d)}))}return _.Qj(d)};
_.yP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.VE||0!=c.children.length))if(c.VE=!0,c.Yf.Ie())HMc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ga(c.children,this.cancel,this);else{var d=c.$k;d&&(MIc(LIc(NIc(YLc(d),c.lK),!1),2),d.V());var e=_.Sh();c.oF?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.oF=!0,d=new _.vO,d.Dc(8),c.Yf.callback(d),e.resolve(!0));e.promise.then(function(f){return HMc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.yP.prototype.Cx=function(){var a=this;_.$e(this.H,function(b,c){a.cancel(c)})};
_.yP.prototype.Fma=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.H[f]){var h=[];do{h.push(f);var k=(_.y(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Yf.Ie()||e[k])break;else if(!c.has(k)){e[f]=new _.pb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ca(h,function(n){var q=b.H[n];q.lK++;if(!e[n])if(!q.Yf.Ie()||q.success)e[n]=new _.pb("Unable to retry request.");else{var t=(_.y(q.request,10)||[])[0];e[t]instanceof _.pb?
e[n]=e[t]:(q.Yf=FMc(b,n),q.oF=!1,q.VE=!1,(t=t?b.H[t]:null)?GMc(b,n,t,!0):d.push(n),e[n]=q.Yf.Gk())}})}else e[f]=new _.pb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Hj?f:_.Qj(f)});_.Ga(d,this.ka,this);return a};var HMc=function(a){a.isDisposed()};_.yP.prototype.hd=function(a){return this.H[a]};var KMc=/^uploadTestFailMe(\.[1-9])?$/,JMc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),IMc=new Map([[3,14]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.OMc=function(a){return _.id(a).Bg(_.A(a.get(_.Ya),19,!1)?NMc:_.gd)};_.r("sy12l");
var NMc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

}catch(e){_._DumpException(e)}
try{
var PMc=function(a,b){a=a.request;a=_.Ax('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.RO(a)||"");var c=b.qg;c=c?_.y(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}},QMc=function(a){a={Title:a.getTitle(),Type:a.Ub(),Parents:_.y(a,3),Convert:_.F(a,8),ID:_.RO(a)};var b=[];_.$e(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")},RMc=function(a){var b=[];b.push(QMc(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&
c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.lK&&b.push("# of retries by client: "+a.lK);var d="";a.oF?a.Yf.Ie()?a.Yf.xf(function(){d="Completed successfully."},function(e){d=e instanceof _.Kj?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+d);return b.join("\n")},SMc=function(a,b,c,d,e,f){var h=_.Ax("Drive Upload Report: %d/%d failed",_.df(f),_.df(e));a=a.hf();d.push("Batch query interval: "+_.D(a,
12,10)+"ms");d.push("Max resumable upload chunk size: "+_.D(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.D(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.D(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.D(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.$e(e,function(n){l.push(RMc(n))});k.push({name:"AllUploadRequests.txt",content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.dJc(b)});_.$e(f,function(n,
q){k.push(PMc(e[q],n))});return{title:h,description:d,pQ:k,Yd:152391,q6:c,FW:361003}},TMc=function(a){return Array.prototype.concat.apply([],arguments)},UMc=function(a,b,c){c=_.Ba(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1},VMc=function(a){return String.fromCharCode(10>a?48+a:87+a)},WMc=function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;8>c;c++){var d=a.charCodeAt(7-c);b[2*c+2]=VMc(d>>4);b[2*c+3]=VMc(d&15)}return b.join("")},XMc=function(a){var b=new _.fp;b.append("kind,largestChangeId,nextPageToken,");
b.append("items(deleted,fileId,id,kind,");b.append(_.yN(a,!0,"file"));a.DV&&(b.append(",teamDriveId,teamDrive("),b.append(a.DV),b.append(")"));b.append(")");return b.toString()},YMc=function(a){var b=new _.fp;b.append("kind,nextPageToken,items(");b.append(_.yN(a,!0));b.append("),incompleteSearch");a.DV&&(b.append(","),b.append(a.DV));return b.toString()},zP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.IO,138),k=_.C(d,_.sm,111),l=_.C(d,_.MO,27),n=_.C(d,_.NO,
139),q=d.ef(),t=_.C(d,_.PO,103);switch(e){case 74:_.yj(d,83,[]);break;case 188:_.x(d,137,void 0);break;case 149:_.x(d,128,[]);break;case 148:_.yj(d,127,[]);break;case 138:_.x(d,126,void 0);break;case 184:_.x(d,135,[]);break;case 76:f&&_.x(f,1,void 0);break;case 208:f&&_.x(f,48,void 0);break;case 185:f&&_.x(f,40,void 0);break;case 213:f&&_.x(f,50,void 0);break;case 156:f&&_.x(f,39,void 0);break;case 61:f&&_.x(f,2,void 0);break;case 216:f&&_.x(f,52,void 0);break;case 217:f&&_.x(f,53,void 0);break;case 77:f&&
_.x(f,4,void 0);break;case 134:f&&_.x(f,34,void 0);break;case 147:f&&_.x(f,38,void 0);break;case 81:f&&_.x(f,10,void 0);break;case 82:f&&_.x(f,11,void 0);break;case 114:f&&_.x(f,27,void 0);break;case 133:f&&_.x(f,33,void 0);break;case 202:f&&_.x(f,47,void 0);break;case 132:f&&_.x(f,32,void 0);break;case 101:f&&_.x(f,20,void 0);break;case 201:f&&_.x(f,46,void 0);break;case 131:f&&_.x(f,31,void 0);break;case 200:f&&_.x(f,45,void 0);break;case 130:f&&_.x(f,30,void 0);break;case 93:f&&_.x(f,17,void 0);
break;case 191:f&&_.x(f,44,void 0);break;case 146:f&&_.x(f,37,void 0);break;case 90:f&&_.x(f,16,void 0);break;case 78:f&&_.x(f,7,void 0);break;case 186:f&&_.x(f,41,void 0);break;case 85:f&&_.x(f,12,void 0);break;case 137:f&&_.x(f,36,void 0);break;case 209:f&&_.x(f,49,void 0);break;case 79:f&&_.x(f,8,void 0);break;case 189:f&&_.x(f,42,void 0);break;case 190:f&&_.x(f,43,void 0);break;case 80:f&&_.x(f,9,void 0);break;case 135:f&&_.x(f,35,void 0);break;case 102:f&&_.x(f,21,void 0);break;case 69:_.x(d,
74,void 0);break;case 194:h&&_.R(h,2,void 0);break;case 193:h&&_.x(h,1,void 0);break;case 1004:_.x(d,108,void 0);break;case 136:_.yj(d,125,[]);break;case 115:k&&_.x(k,1,void 0);break;case 116:k&&_.x(k,2,void 0);break;case 34:_.x(d,30,void 0);f&&_.x(f,3,void 0);break;case 9:_.x(d,10,void 0);break;case 91:_.R(d,91,void 0);break;case 43:_.x(d,42,void 0);_.x(d,43,void 0);break;case 187:_.x(d,136,void 0);break;case 26:_.x(d,24,void 0);break;case 108:_.x(d,104,[]);break;case 41:_.x(d,40,void 0);f&&_.x(f,
5,void 0);break;case 42:_.x(d,41,void 0);break;case 1005:ZMc(d,[]);break;case 59:f&&_.x(f,6,void 0);break;case 28:_.x(d,26,void 0);break;case 44:_.x(d,45,void 0);break;case 13:_.x(d,14,void 0);break;case 48:_.x(d,36,void 0);break;case 38:_.x(d,34,void 0);break;case 49:_.x(d,50,[]);break;case 51:_.x(d,53,void 0);break;case 104:_.x(d,102,void 0);break;case 39:_.x(d,35,void 0);break;case 87:_.x(d,76,void 0);break;case 100:_.x(d,98,void 0);break;case 72:_.x(d,78,void 0);break;case 5:_.x(d,6,void 0);break;
case 20:_.x(d,21,void 0);break;case 21:break;case 29:l&&_.x(l,1,void 0);break;case 31:l&&_.x(l,3,void 0);break;case 92:l&&_.x(l,4,void 0);break;case 30:l&&_.x(l,2,void 0);break;case 16:_.R(d,17,void 0);break;case 12:_.x(d,13,void 0);break;case 211:n&&_.x(n,2,void 0);break;case 212:n&&_.x(n,3,void 0);break;case 157:(d=d.Sj())&&$Mc(d,[]);break;case 3:_.x(d,4,void 0);break;case 11:_.x(d,12,void 0);break;case 10:_.x(d,11,void 0);break;case 50:_.x(d,49,void 0);_.x(d,51,void 0);_.R(d,81,void 0);break;case 18:_.x(d,
19,void 0);break;case 95:_.x(d,93,void 0);break;case 58:_.x(d,63,void 0);break;case 14:_.yj(d,15,[]);break;case 103:_.x(d,101,void 0);break;case 1:_.QO(d,[]);break;case 96:_.x(d,94,void 0);break;case 1003:aNc(d,[]);break;case 75:_.hIc(d,void 0);break;case 94:_.x(d,92,void 0);break;case 45:_.x(d,46,void 0);break;case 124:_.x(d,118,void 0);break;case 125:_.x(d,119,void 0);break;case 1002:_.R(d,100,void 0);break;case 32:_.x(d,28,void 0);break;case 67:_.x(d,70,void 0);break;case 68:_.x(d,71,void 0);break;
case 73:_.x(d,79,void 0);break;case 71:_.x(d,77,void 0);break;case 210:_.x(d,140,void 0);break;case 7:_.x(d,8,void 0);break;case 122:bNc(d,void 0);break;case 66:_.x(d,69,void 0);break;case 33:_.x(d,29,void 0);break;case 24:_.x(d,22,void 0);break;case 25:_.x(d,23,void 0);break;case 46:_.R(d,47,void 0);break;case 192:q&&_.x(q,6,void 0);break;case 159:q&&_.R(q,5,void 0);break;case 154:q&&_.x(q,1,void 0);break;case 158:q&&_.x(q,4,void 0);break;case 155:q&&_.x(q,3,void 0);break;case 52:_.x(d,56,[]);break;
case 56:_.x(d,61,void 0);break;case 55:d.KB([]);break;case 4:_.x(d,5,void 0);break;case 35:_.x(d,31,void 0);break;case 57:_.x(d,62,void 0);break;case 83:_.x(d,72,void 0);break;case 84:_.R(d,86,void 0);break;case 19:_.x(d,20,void 0);_.x(d,44,void 0);_.x(d,90,void 0);break;case 2:_.x(d,3,void 0);break;case 6:_.x(d,7,void 0);break;case 98:_.x(d,96,void 0);break;case 97:_.R(d,95,void 0);break;case 27:_.x(d,25,void 0);break;case 70:_.x(d,75,void 0);break;case 107:t&&_.x(t,3,void 0);break;case 106:t&&_.x(t,
2,void 0);break;case 105:t&&_.x(t,1,void 0);break;case 8:_.x(d,9,void 0);break;case 126:_.x(d,120,[]);break;default:throw Error("Zc`"+e);}}},dNc=function(a,b){if(0!=a.length){var c=new Set(_.mc(a).concat(_.mc(cNc)));a=_.mc(_.Wbb.keys()).concat().filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)zP(b[d],a)}},eNc=function(a,b){var c=a.getCapabilities()||new _.pm,d=_.C(a,_.IO,138),e=_.C(a,_.sm,111),f=_.C(a,_.MO,27),h=_.C(a,_.NO,139),k=a.ef(),l=_.C(a,_.PO,103);switch(b){case 74:return 0<
_.ym(a).length;case 188:return null!=_.F(a,137);case 149:return 0<_.y(a,128).length;case 148:return 0<a.Wha().length;case 138:return null!=a.t6();case 184:return 0<_.y(a,135).length;case 76:return null!=_.qm(c);case 208:return null!=_.F(c,48);case 185:return null!=_.F(c,40);case 213:return null!=_.F(c,50);case 156:return null!=_.F(c,39);case 61:return null!=_.F(c,2);case 216:return null!=_.F(c,52);case 217:return null!=_.F(c,53);case 77:return null!=_.F(c,4);case 134:return null!=_.F(c,34);case 147:return null!=
c.Uu();case 81:return null!=_.F(c,10);case 82:return null!=_.F(c,11);case 114:return null!=_.F(c,27);case 133:return null!=_.F(c,33);case 202:return null!=_.F(c,47);case 132:return null!=_.F(c,32);case 101:return null!=_.F(c,20);case 201:return null!=_.F(c,46);case 131:return null!=_.F(c,31);case 200:return null!=_.F(c,45);case 130:return null!=_.F(c,30);case 93:return null!=_.F(c,17);case 191:return null!=_.F(c,44);case 146:return null!=_.F(c,37);case 90:return null!=_.rm(c);case 78:return null!=
_.F(c,7);case 186:return null!=_.F(c,41);case 85:return null!=_.F(c,12);case 137:return null!=_.F(c,36);case 209:return null!=_.F(c,49);case 79:return null!=_.F(c,8);case 189:return null!=_.F(c,42);case 190:return null!=_.F(c,43);case 80:return null!=c.V();case 135:return null!=_.F(c,35);case 102:return null!=_.F(c,21);case 69:return null!=_.F(a,74);case 194:return null!=d&&null!=_.C(d,_.KO,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.F(a,108);case 136:return 0<a.nR().length;
case 115:return null!=e&&null!=_.F(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.F(a,30)||null!=_.F(c,3);case 9:return null!=a.PA();case 91:return null!=_.C(a,_.ok,91);case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=_.y(a,136);case 26:return null!=a.Qf();case 108:return 0<_.y(a,104).length;case 41:return null!=c.W();case 42:return null!=_.y(a,41);case 1005:return 0<a.DI().length;case 59:return null!=_.F(c,6);case 28:return null!=a.HA();case 44:return null!=
_.y(a,45);case 13:return null!=a.FC();case 48:return null!=_.F(a,36);case 38:return null!=a.Wh();case 49:return 0<_.y(a,50).length;case 51:return null!=_.F(a,53);case 104:return null!=_.F(a,102);case 39:return null!=a.U6();case 87:return null!=_.xm(a);case 100:return null!=_.F(a,98);case 72:return null!=_.y(a,78);case 5:return null!=a.Cl();case 20:return null!=a.De();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==f.Re());case 92:return!(!f||null==_.y(f,
4));case 30:return!(!f||null==_.y(f,2));case 16:return null!=a.Fo();case 12:return null!=a.Gx();case 211:return null!=h&&null!=_.F(h,2);case 212:return null!=h&&null!=_.F(h,3);case 157:return a=a.Sj(),!(!a||!_.vj(a,_.um,8));case 3:return null!=a.Ub();case 11:return null!=a.vz();case 10:return null!=a.mq();case 50:return null!=a.hp()||null!=_.F(a,51)||null!=a.Ql();case 18:return null!=_.y(a,19);case 14:return 0<_.wm(a).length;case 95:return null!=a.Fm();case 58:return null!=_.F(a,63);case 103:return null!=
_.y(a,101);case 1:return 0<a.Uh().length;case 96:return null!=_.F(a,94);case 1003:return 0<_.Am(a).length;case 75:return null!=a.Nu();case 94:return null!=_.y(a,92);case 45:return null!=a.np();case 124:return null!=_.F(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.zm(a);case 32:return null!=a.kz();case 67:return null!=a.$I();case 68:return null!=a.aJ();case 73:return null!=_.y(a,79);case 71:return null!=a.V();case 210:return null!=_.y(a,140);case 7:return null!=a.WW();case 122:return null!=
a.SC();case 66:return null!=_.y(a,69);case 33:return null!=_.F(a,29);case 24:return null!=a.Oi();case 25:return null!=a.Qt();case 46:return null!=a.IA();case 192:return null!=k&&null!=_.F(k,6);case 159:return null!=k&&null!=_.ad(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.dd(k);case 155:return null!=k&&null!=_.y(k,3);case 52:return 0<_.y(a,56).length;case 55:return 0<a.Rt().length;case 56:return null!=_.y(a,61);case 4:return null!=a.hw();case 35:return null!=_.F(a,
31);case 57:return null!=_.y(a,62);case 83:return null!=a.wc();case 84:return null!=_.C(a,_.OO,86);case 2:return null!=a.getTitle();case 19:return null!=a.uh()||null!=_.F(a,44)||null!=_.y(a,90);case 6:return null!=a.mh();case 98:return null!=a.eJ();case 97:return null!=a.JF();case 27:return null!=a.km();case 70:return null!=_.y(a,75);case 107:return null!=l&&null!=_.y(l,3);case 106:return null!=l&&null!=l.Re();case 105:return null!=l&&null!=_.y(l,1);case 8:return null!=_.F(a,9);case 126:return 0<
_.y(a,120).length;default:throw Error("$c`"+b);}},fNc=function(a,b){return b.every(function(c){return eNc(a,c)})},gNc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.KGc:[]);return b.every(function(e){return(new Set(d)).has(e)})},hNc=function(a,b){var c=new Set(b.concat(_.KGc));return a.filter(function(d){return!c.has(d)})},AP=function(a,b,c){b=b.clone();c.forEach(function(d){if(eNc(b,d))if(_.Ybb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.pm;a.ln(f);switch(d){case 76:_.DHc(f,
_.qm(e));break;case 208:_.UHc(f,_.F(e,48));break;case 185:var h=_.F(e,40);_.x(f,40,h);break;case 213:var k=_.F(e,50);_.x(f,50,k);break;case 156:var l=_.F(e,39);_.x(f,39,l);break;case 61:var n=_.F(e,2);_.x(f,2,n);break;case 216:var q=_.F(e,52);_.x(f,52,q);break;case 217:var t=_.F(e,53);_.x(f,53,t);break;case 77:var v=_.F(e,4);_.x(f,4,v);break;case 134:var z=_.F(e,34);_.x(f,34,z);break;case 147:var B=e.Uu();_.x(f,38,B);break;case 81:var E=_.F(e,10);_.x(f,10,E);break;case 82:_.HHc(f,_.F(e,11));break;
case 114:var L=_.F(e,27);_.x(f,27,L);break;case 133:_.PHc(f,_.F(e,33));break;case 202:_.THc(f,_.F(e,47));case 132:_.OHc(f,_.F(e,32));break;case 101:_.LHc(f,_.F(e,20));break;case 201:_.SHc(f,_.F(e,46));break;case 131:_.NHc(f,_.F(e,31));break;case 200:var J=_.F(e,45);_.x(f,45,J);break;case 130:var X=_.F(e,30);_.x(f,30,X);break;case 93:_.KHc(f,_.F(e,17));break;case 191:var T=_.F(e,44);_.x(f,44,T);break;case 146:var la=_.F(e,37);_.x(f,37,la);break;case 90:_.JHc(f,_.rm(e));break;case 78:_.EHc(f,_.F(e,
7));break;case 186:var Fa=_.F(e,41);_.x(f,41,Fa);break;case 85:_.IHc(f,_.F(e,12));break;case 137:var Da=_.F(e,36);_.x(f,36,Da);break;case 209:var Aa=_.F(e,49);_.x(f,49,Aa);break;case 79:_.FHc(f,_.F(e,8));break;case 189:_.QHc(f,_.F(e,42));break;case 190:_.RHc(f,_.F(e,43));break;case 80:_.GHc(f,e.V());break;case 135:var pa=_.F(e,35);_.x(f,35,pa);break;case 102:_.MHc(f,_.F(e,21));break;case 34:var Va=_.F(b,30);_.x(a,30,Va);var xb=_.F(e,3);_.x(f,3,xb);break;case 41:var Xb=_.F(b,40);_.x(a,40,Xb);var yb=
e.W();_.x(f,5,yb);break;case 59:var fc=_.F(e,6);_.x(f,6,fc)}}}else if(_.Zbb.has(d)){var Kc=_.C(b,_.IO,138);if(Kc){var re=_.C(a,_.IO,138)||new _.IO;_.R(a,138,re);switch(d){case 194:var dg=_.C(Kc,_.KO,2);_.R(re,2,dg);break;case 193:var Ae=_.y(Kc,1);_.x(re,1,Ae)}}}else if(_.$bb.has(d)){var rf=_.C(b,_.sm,111);if(rf){var Og=_.C(a,_.sm,111)||new _.sm;_.R(a,111,Og);switch(d){case 115:_.LO(Og,_.F(rf,1));break;case 116:_.VHc(Og,_.y(rf,2))}}}else if(_.acb.has(d)){var wg=_.C(b,_.MO,27);if(wg){var Pc=_.C(a,_.MO,
27)||new _.MO;_.R(a,27,Pc);switch(d){case 29:var Ei=_.y(wg,1);_.x(Pc,1,Ei);break;case 31:Pc.Uf(wg.Re());break;case 92:var sf=_.y(wg,4);_.x(Pc,4,sf);break;case 30:var Gg=_.y(wg,2);_.x(Pc,2,Gg)}}}else if(_.bcb.has(d)){var Bb=_.C(b,_.NO,139);if(Bb){var Mh=_.C(a,_.NO,139)||new _.NO;_.R(a,139,Mh);switch(d){case 211:var Qk=_.F(Bb,2);_.x(Mh,2,Qk);break;case 212:var ni=_.F(Bb,3);_.x(Mh,3,ni)}}}else if(_.ccb.has(d)){var rl=b.ef();if(rl){var wj=a.ef()||new _.mta;_.R(a,132,wj);switch(d){case 192:var mg=_.F(rl,
6);_.x(wj,6,mg);break;case 159:var Bh=_.ad(rl);_.R(wj,5,Bh);break;case 154:var lm=_.y(rl,1);_.x(wj,1,lm);break;case 158:var cq=_.dd(rl);_.x(wj,4,cq);break;case 155:var sl=_.y(rl,3);_.x(wj,3,sl)}}}else if(_.dcb.has(d)){var tl=_.C(b,_.PO,103);if(tl){var Ij=_.C(a,_.PO,103)||new _.PO;_.R(a,103,Ij);switch(d){case 107:var Nn=_.y(tl,3);_.x(Ij,3,Nn);break;case 106:Ij.Uf(tl.Re());break;case 105:var dq=_.y(tl,1);_.x(Ij,1,dq)}}}else switch(d){case 74:var nk=_.ym(b);_.yj(a,83,nk);break;case 188:var eq=_.F(b,
137);_.x(a,137,eq);break;case 149:var ul=_.y(b,128);_.x(a,128,ul||[]);break;case 148:var Po=b.Wha();_.yj(a,127,Po);break;case 138:var Qo=b.t6();_.x(a,126,Qo);break;case 184:var On=_.y(b,135);_.x(a,135,On||[]);break;case 69:var Vm=_.F(b,74);_.x(a,74,Vm);break;case 1004:var Hg=_.F(b,108);_.x(a,108,Hg);break;case 136:var Ve=b.nR();_.yj(a,125,Ve);break;case 9:var jd=b.PA();_.x(a,10,jd);break;case 91:var Ro=_.C(b,_.ok,91);_.R(a,91,Ro);break;case 43:var Xh=_.y(b,42);_.x(a,42,Xh);var Ui=_.y(b,43);_.x(a,
43,Ui);break;case 187:var rv=_.y(b,136);_.x(a,136,rv);break;case 26:a.ol(b.Qf());break;case 108:var lr=_.y(b,104);_.x(a,104,lr||[]);break;case 42:var ts=_.y(b,41);_.x(a,41,ts);break;case 1005:ZMc(a,b.DI());break;case 28:_.bIc(a,b.HA());break;case 44:var us=_.y(b,45);_.x(a,45,us);break;case 13:var vs=b.FC();_.x(a,14,vs);break;case 48:var Pn=_.F(b,36);_.x(a,36,Pn);break;case 38:_.dIc(a,b.Wh());break;case 49:var Yt=_.y(b,50);_.x(a,50,Yt||[]);break;case 51:var So=_.F(b,53);_.x(a,53,So);break;case 104:var ch=
_.F(b,102);_.x(a,102,ch);break;case 39:var Jj=b.U6();_.x(a,35,Jj);break;case 87:var Qn=_.xm(b);_.x(a,76,Qn);break;case 100:var Yh=_.F(b,98);_.x(a,98,Yh);break;case 72:var To=_.y(b,78);_.x(a,78,To);break;case 5:var Zt=b.Cl();_.x(a,6,Zt);break;case 20:var ws=b.De();_.x(a,21,ws);break;case 21:a.kc(b.getId());break;case 16:var mr=b.Fo();_.R(a,17,mr);break;case 12:var fq=b.Gx();_.x(a,13,fq);break;case 157:var Uo=b.Sj();if(Uo){var Rk=a.Sj()||new _.kta;iNc(a,Rk);$Mc(Rk,_.vj(Uo,_.um,8))}break;case 3:_.zM(a,
b.Ub());break;case 11:var xs=b.vz();_.x(a,12,xs);break;case 10:_.lDc(a,b.mq());break;case 50:var $t=b.hp();_.x(a,49,$t);var Wm=_.F(b,51);_.x(a,51,Wm);var gq=b.Ql();_.R(a,81,gq);break;case 95:_.jIc(a,b.Fm());break;case 18:_.aIc(a,_.y(b,19));break;case 58:var ys=_.F(b,63);_.x(a,63,ys);break;case 14:var zs=_.wm(b);_.yj(a,15,zs);break;case 1:_.QO(a,b.Uh());break;case 96:var nr=_.F(b,94);_.x(a,94,nr);break;case 103:var As=_.y(b,101);_.x(a,101,As);break;case 1003:aNc(a,_.Am(b));break;case 75:_.hIc(a,b.Nu());
break;case 94:_.iIc(a,_.y(b,92));break;case 45:var sv=b.np();_.x(a,46,sv);case 124:var Bs=_.F(b,118);_.x(a,118,Bs);break;case 125:var Vo=_.y(b,119);_.x(a,119,Vo);break;case 1002:var Cs=_.zm(b);_.R(a,100,Cs);break;case 32:var Ds=b.kz();_.x(a,28,Ds);break;case 67:var au=b.$I();_.x(a,70,au);break;case 68:var Es=b.aJ();_.x(a,71,Es);break;case 73:var Xm=_.y(b,79);_.x(a,79,Xm);break;case 71:var gx=b.V();_.x(a,77,gx);break;case 210:var Be=_.y(b,140);_.x(a,140,Be);break;case 7:_.$Hc(a,b.WW());break;case 122:bNc(a,
b.SC());break;case 66:var hq=_.y(b,69);_.x(a,69,hq);break;case 33:var hx=_.F(b,29);_.x(a,29,hx);break;case 24:var oz=b.Oi();_.x(a,22,oz);break;case 25:var JO=b.Qt();_.x(a,23,JO);break;case 46:var iq=b.IA();_.R(a,47,iq);break;case 52:var tv=_.y(b,56);_.x(a,56,tv||[]);break;case 56:var bu=_.y(b,61);_.x(a,61,bu);break;case 55:a.KB(b.Rt());break;case 4:a.Kq(b.hw());break;case 35:_.cIc(a,_.F(b,31));break;case 57:var uv=_.y(b,62);_.x(a,62,uv);break;case 83:_.gIc(a,b.wc());break;case 84:var Ym=_.C(b,_.OO,
86);_.R(a,86,Ym);break;case 98:var OF=b.eJ();_.x(a,96,OF);break;case 97:var PF=b.JF();_.R(a,95,PF);break;case 19:var ix=b.uh();_.x(a,20,ix);_.eIc(a,_.F(b,44));var pz=_.y(b,90);_.x(a,90,pz);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Rn(b.mh());break;case 27:_.AM(a,b.km());break;case 70:var jC=_.y(b,75);_.x(a,75,jC);break;case 8:var QF=_.F(b,9);_.x(a,9,QF);break;case 126:var s6=_.y(b,120);_.x(a,120,s6||[]);break;default:throw Error("ad`"+d);}})},jNc=function(a,b){var c=_.yA[a];return b.filter(function(d){return!c||
!c.has(d)})},kNc=function(a,b,c){a=jNc(c,a);return gNc(b,a,!0)},lNc=function(a){return!!_.F(a,31)&&!_.F(a,94)},nNc=function(a){return mNc.some(function(b){return eNc(a,b)})},oNc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(BP(b))})},pNc=function(a){return oNc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))},qNc=function(a,b){var c=_.FM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d},sNc=function(a,b){if(b){var c=
[];_.F(b,3)&&c.push("folder");var d=rNc()&&4==b.getType()?"title_natural":_.dFc[b.getType()];b=_.fFc[b.Nh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}},uNc=function(a,b,c,d){b="#"+b+"_";var e=new _.DM;e.update(c.join(","));b+=_.rDc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new tNc(c.port),c.port.start()):a=new tNc(new Worker(a));return a},wNc=function(a){var b=a.slice(0),c=new Set(b);vNc.forEach(function(d){c.has(d)||b.push(d)});b.sort();
return b},yNc=function(a){var b=new xNc;if(a instanceof _.BN)_.xj(b,16,CP[0],a);else if(a instanceof _.CN)_.xj(b,1,CP[0],a);else if(a instanceof _.DN)_.xj(b,2,CP[0],a);else if(a instanceof _.GN)_.xj(b,3,CP[0],a);else if(a instanceof _.jP)_.xj(b,4,CP[0],a);else if(a instanceof _.EN)_.xj(b,5,CP[0],a);else if(a instanceof _.KN)_.xj(b,6,CP[0],a);else if(a instanceof _.MN)_.xj(b,7,CP[0],a);else if(a instanceof _.NN)_.xj(b,8,CP[0],a);else if(a instanceof _.QN)_.xj(b,9,CP[0],a);else if(a instanceof _.dO)_.xj(b,
10,CP[0],a);else if("undefined"!=typeof _.eO&&a instanceof _.eO)_.xj(b,11,CP[0],a);else if(a instanceof _.fO)_.xj(b,12,CP[0],a);else if(a instanceof _.aN)_.xj(b,13,CP[0],a);else if(a instanceof _.jO)_.xj(b,14,CP[0],a);else if(a instanceof _.kO)_.xj(b,15,CP[0],a);else throw new _.pb("Unsupported request type");return b},BNc=function(a){a=a.map(function(c){var d=new zNc;if(c instanceof _.BN)_.xj(d,6,DP[0],c);else if(c instanceof _.KN)_.xj(d,1,DP[0],c);else if(c instanceof _.dO)_.xj(d,2,DP[0],c);else if("undefined"!=
typeof _.eO&&c instanceof _.eO)_.xj(d,3,DP[0],c);else if(c instanceof _.aN)_.xj(d,4,DP[0],c);else if(c instanceof _.kO)_.xj(d,5,DP[0],c);else throw new _.pb("Unsupported request type");return d});var b=new ANc;_.yj(b,1,a);return b},ENc=function(a){var b=new CNc;if("undefined"!=typeof _.tD&&a instanceof _.tD)_.xj(b,1,DNc[0],a);else if("undefined"!=typeof _.uD&&a instanceof _.uD)_.xj(b,2,DNc[0],a);else throw new _.pb("Unsupported request type");return b},HNc=function(a){var b=new FNc;if(a instanceof
_.HN)_.xj(b,1,GNc[0],a);else if(a instanceof _.ON)_.xj(b,2,GNc[0],a);else if(a instanceof _.lO)_.xj(b,3,GNc[0],a);else throw new _.pb("Unsupported request type");return b},INc=function(a,b){var c=a.Ql();c||(c=new _.tm,b&&_.R(a,81,c));return c},JNc=function(a){if(_.AN(a))_.tN(INc(a,!0),!0);else if(_.AN(a,!0)){var b=a.ef();if(b=b&&_.ad(b))_.tN(INc(b,!0),!0),_.tN(INc(a,!0),!0)}},KNc=function(a){return!!a.Ql()&&!_.AN(a)},LNc=function(a){var b=[];_.Ga(a,function(c){if(3!=BP(c)){var d=c;if(null!=d.hp()||
null!=_.F(d,51)||null!=d.Ql())c=_.Dj(c),_.x(c,49,void 0),_.x(c,51,void 0),_.R(c,81,void 0);b.push(c)}});return b},EP=function(a){return a.map(function(b){return b.getItem()})},MNc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b},ONc=function(a){return a.map(function(b){var c=new _.J3a;c=_.x(c,3,NNc[b.serviceName]);return _.x(c,2,Number(b.WAb))})},QNc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return PNc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):
b},0)},SNc=function(a){a=a.yw();var b=new RNc;a.forEach(function(c){var d=c.getKey();d=d&&_.y(d,2);"corpusSize"==d?(c=_.og(c.tb()),_.x(b,3,c)):"linkedItems"==d?(c=_.og(c.tb()),_.x(b,2,c)):"linkedFolders"==d&&(c=_.og(c.tb()),_.x(b,1,c))});return"number"===typeof _.y(b,3)?b:null},TNc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.pe;_.qe(b,305);_.se(b,!0);_.x(b,3,2);var c=new _.PC;_.R(c,1,b);var d=new _.$Gc(c,[7]);a=a.then(function(e){return e.H(d)}).then(SNc);return _.Pj(a)},
UNc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.tb();(a=c&&_.ao(c))&&(b.namespace=_.bGc[a]);return b},VNc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.bGc[a[c]]);return b},YNc=function(a){var b=_.iG(a);b=WNc(new FP,b).wd(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new XNc;a=_.y(a,5);a=_.x(c,1,a);return _.R(b,4,a)},$Nc=function(a,b){var c=ZNc(a.V,b.Gc());if(c){var d=c.getItem(),e=d.Nu();if(e){var f=_.vj(e,_.ok,2),h=_.oa(f,function(k){return k.getId()==b.V()});_.XHc(e,
f);h||(f=_.vj(e,_.ok,3),_.oa(f,function(k){return k.getId()==b.V()}),_.YHc(e,f));_.WHc(e,(_.y(e,1)||1)-1);GP(a,[d],c.V)}}},bOc=function(a,b,c){if(b=ZNc(a.V,b.Gc())){var d=b.getItem(),e=d.Nu();if(e){if(1==c.getType()||2==c.getType()){var f=_.vj(e,_.ok,3);f.push(c);_.Ca(f,aOc);_.YHc(e,f)}else f=_.vj(e,_.ok,2),f.push(c),_.Ca(f,aOc),_.XHc(e,f);_.WHc(e,(_.y(e,1)||0)+1);GP(a,[d],b.V)}}},fOc=function(a){var b=a.json.exportJob,c=cOc[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||
0;var f=0,h=0,k=_.fe(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.fe(b.failedItemInfos||[],function(l){var n=_.zM((new _.vm).kc(l.docId).setTitle(l.title),l.mediaType);n=(new _.dOc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new eOc(c,d,k,f,h,e,a,b)},gOc=function(a){a=a.hd();return a?(a=a.ke())?_.y(a,1):0:0},hOc=function(a,b){return _.A(b,5,!1)?a+",graceQuotaInfo":a},jOc=function(a,b){var c=new _.iN,
d=new Set;if(6==a){a=_.p(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.HGc.get(BP(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}iOc(c,_.mc(d).concat());return c},kOc=function(a,b){var c={};a=_.af(a,function(d){return!!d});b=_.af(b,function(d){return!!d});_.$e(a,function(d,e){var f=b[e];f?_.Cj(d,f)||(d=_.qN(4).setItem(f),c[e]=d):(d=_.qN(2).setItem(d),c[e]=d)});_.$e(b,function(d,e){a[e]||(d=_.qN(1).setItem(d),c[e]=d)});return c},lOc=function(a,b){return _.df(a)!=_.df(b)||!_.gf(kOc(a,b))},pOc=
function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(mOc(b))return b=new HP(a,b,3),new IP(b,b.Ja);_.x(b,61,!1);var c=_.KM(b.Se())?2:1;a=new JP(a,b,c,void 0,void 0,void 0);return _.KM(b.Se())?new nOc(a):new oOc(a)},rOc=function(a){return _.id(a).Bg(_.A(a.get(_.Ya),19,!1)?qOc:_.b_a)},KP=function(a,b){a.H.push(b>>>0&255);a.H.push(b>>>8&255);a.H.push(b>>>16&255);a.H.push(b>>>24&255)},sOc=function(a){_.Q(this,a,0,-1,null,null)},MP,wOc,xOc,yOc,lPc,mPc,nPc,oPc,pPc,qPc,rPc,sPc,tPc,uPc,vPc,wPc,xPc,yPc,zPc,APc,
BPc,CPc,DPc,EPc,FPc,GPc,HPc,IPc,JPc,KPc,LPc,MPc,NPc,$Mc,BP,iNc,aNc,bNc,ZMc,OPc,UPc,VPc,WPc,cQc,dQc,eQc,hQc,iQc,jQc,kQc,GQc,HQc,KQc,MQc,NQc,OQc,PQc,QQc,RQc,SQc,TQc,QP,RP,UQc,VQc,WQc,XQc,YQc,ZQc,$Qc,aRc,bRc,cRc,dRc,eSc,mSc,nSc,oSc,pSc,qSc,tSc,vSc,QSc,RSc,dTc,sTc,uTc,yTc,FTc,JTc,PTc,dUc,fUc,gUc,zUc,AUc,eOc,BUc,CUc,DUc,rNc,EUc,FUc,BQ,GUc,HUc,IUc,JUc,IVc,JVc,KVc,LVc,MVc,NVc,OVc,PVc,QVc,RVc,SVc,TVc,BWc;_.M(sOc,_.P);var tOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(tOc,_.P);
var uOc=[11],vOc=function(a){_.Q(this,a,0,-1,uOc,null)};_.M(vOc,_.P);var LP=function(a){_.Q(this,a,0,-1,null,null)};_.M(LP,_.P);LP.prototype.getKey=function(){return _.y(this,2)};MP=function(a){return _.D(a,4,"en")};_.NP=function(a){return _.C(a,vOc,34,1)};wOc=function(a,b){return _.yj(a,1,b)};xOc=[1];yOc=function(a){_.Q(this,a,0,-1,xOc,null)};_.M(yOc,_.P);yOc.prototype.WI=function(){return _.vj(this,_.ok,1)};yOc.prototype.V3=function(a){_.zj(this,1,a,_.ok,void 0)};
var zOc=function(a){var b=new yOc;return _.yj(b,1,a)},AOc=function(a,b){return _.R(a,1,b)},BOc=function(a,b){_.yj(a,2,b)},COc=function(a,b){_.R(a,6,b)},DOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(DOc,_.P);var EOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(EOc,_.P);var OP=function(a){_.Q(this,a,0,-1,null,null)};_.M(OP,_.P);var FOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FOc,_.P);var GOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(GOc,_.P);var HOc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(HOc,_.P);var IOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(IOc,_.P);var JOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(JOc,_.P);var KOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(KOc,_.P);var LOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(LOc,_.P);var MOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(MOc,_.P);var NOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(NOc,_.P);var OOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(OOc,_.P);var POc=function(a){_.Q(this,a,0,-1,null,null)};_.M(POc,_.P);
var QOc=[[1,2,3,4]],ROc=function(a){_.Q(this,a,0,-1,null,QOc)};_.M(ROc,_.P);var SOc=[[1]],TOc=function(a){_.Q(this,a,0,-1,null,SOc)};_.M(TOc,_.P);var UOc=[[1,2]],VOc=function(a){_.Q(this,a,0,-1,null,UOc)};_.M(VOc,_.P);var WOc=[[1]],XOc=function(a){_.Q(this,a,0,-1,null,WOc)};_.M(XOc,_.P);var YOc=[[1,2]],ZOc=function(a){_.Q(this,a,0,-1,null,YOc)};_.M(ZOc,_.P);ZOc.prototype.jg=function(a){_.xj(this,1,YOc[0],a)};var $Oc=[1],aPc=function(a){_.Q(this,a,0,-1,$Oc,null)};_.M(aPc,_.P);
var bPc=[[1]],cPc=function(a){_.Q(this,a,0,-1,null,bPc)};_.M(cPc,_.P);var dPc=[2],ePc=function(a){_.Q(this,a,0,-1,dPc,null)};_.M(ePc,_.P);var fPc=[[1]],gPc=function(a){_.Q(this,a,0,-1,null,fPc)};_.M(gPc,_.P);gPc.prototype.jg=function(a){_.xj(this,1,fPc[0],a)};var hPc=[[1,2]],iPc=function(a){_.Q(this,a,0,-1,null,hPc)};_.M(iPc,_.P);var jPc=[[1]],kPc=function(a){_.Q(this,a,0,-1,null,jPc)};_.M(kPc,_.P);lPc=function(a,b){return _.xj(a,3,_.mm[0],b)};mPc=function(a,b){_.yj(a,1,b)};
nPc=function(a,b){return _.x(a,2,b)};oPc=function(a,b){return _.R(a,3,b)};pPc=function(a,b){return _.x(a,4,b)};qPc=function(a,b){_.yj(a,1,b)};rPc=function(a,b){return _.R(a,2,b)};sPc=function(a,b){_.yj(a,1,b)};tPc=function(a,b){return _.R(a,4,b)};uPc=function(a,b){_.R(a,5,b)};vPc=function(a,b){_.yj(a,2,b)};wPc=function(a,b){_.yj(a,4,b)};xPc=function(a,b){return _.R(a,5,b)};yPc=function(a,b){_.yj(a,1,b)};zPc=function(a,b){return _.R(a,2,b)};APc=function(a,b){_.yj(a,2,b)};
BPc=function(a,b){return _.yj(a,3,b)};CPc=function(a,b){_.yj(a,1,b)};DPc=function(a,b){return _.x(a,2,b)};EPc=function(a,b){return _.R(a,3,b)};FPc=function(a,b){_.yj(a,2,b)};GPc=function(a,b){return _.R(a,3,b)};HPc=function(a,b){_.yj(a,1,b)};IPc=function(a,b){return _.yj(a,2,b)};JPc=function(a,b){_.yj(a,1,b)};KPc=function(a,b){return _.R(a,2,b)};LPc=function(a,b){return _.R(a,1,b)};MPc=function(a,b){return _.x(a,2,b)};NPc=function(a,b){return _.x(a,3,b)};$Mc=function(a,b){_.yj(a,8,b)};
BP=function(a){return _.D(a,52,1)};iNc=function(a,b){return _.R(a,73,b)};aNc=function(a,b){_.yj(a,107,b)};bNc=function(a,b){_.R(a,109,b)};ZMc=function(a,b){return _.yj(a,117,b)};OPc=function(a,b){return _.x(a,1,b||[])};_.PPc=function(a,b){return _.yj(a,5,b)};_.QPc=function(a,b){return _.x(a,6,b)};_.RPc=function(a,b){return _.x(a,7,b)};_.SPc=function(a,b){return _.x(a,8,b)};_.TPc=function(a,b){return _.x(a,10,b)};UPc=function(a,b){return _.x(a,5,b)};VPc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(VPc,_.P);WPc=[2];_.XPc=function(a){_.Q(this,a,0,-1,WPc,null)};_.M(_.XPc,_.P);_.XPc.prototype.Xm=function(){return _.y(this,1)};_.YPc=function(a,b){return _.x(a,2,b)};_.ZPc=function(a,b){return _.x(a,3,b)};_.$Pc=function(a,b){return _.x(a,1,b)};_.aQc=function(a,b){return _.x(a,2,b)};_.bQc=function(a,b){return _.R(a,1,b)};cQc=function(a,b){return _.x(a,2,b)};dQc=function(a,b){return _.x(a,3,b)};eQc=function(a,b){_.yj(a,4,b)};_.fQc=function(a,b){_.R(a,8,b)};_.gQc=function(a,b){_.R(a,9,b)};
_.jP=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jP,_.P);_.jP.prototype.getTitle=function(){return _.y(this,1)};_.jP.prototype.setTitle=function(a){return _.x(this,1,a)};_.jP.prototype.ke=function(){return _.C(this,_.pe,2)};hQc=function(a,b){return _.x(a,9,b||[])};iQc=function(a,b){return _.x(a,10,b||[])};jQc=function(a,b){return _.x(a,36,b)};kQc=function(a,b){return _.yj(a,38,b)};_.lQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.lQc,_.P);_.lQc.prototype.getId=function(){return _.y(this,1)};
_.lQc.prototype.kc=function(a){return _.x(this,1,a)};
var mQc=function(a,b){return _.x(a,2,b)},nQc=function(a,b){return _.R(a,3,b)},oQc=function(){var a=new _.gN;return _.x(a,5,!0)},iOc=function(a,b){return _.x(a,1,b||[])},pQc={TYPE_UNSPECIFIED:0,TYPE_APP:1,TYPE_SYNC_CALENDAR:2,TYPE_SYNC_CONTACTS:3,TYPE_SYNC_PHOTOS_AND_VIDEOS:4,TYPE_CALL_HISTORY:5,TYPE_DEVICE_SETTINGS:6,TYPE_SMS:7,TYPE_MMS:8},PP=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Cj(b[a],c[a]))return!0;return!1},qQc=[1,3,5],rQc=function(a){_.Q(this,a,0,-1,qQc,
null)};_.M(rQc,_.P);rQc.prototype.Zx=function(){return _.F(this,2)};var sQc=function(a,b){_.x(a,2,b)},tQc=function(a,b){_.tj(a,5,b,void 0)},uQc=function(a,b){_.x(a,6,b)},vQc=function(a,b){_.x(a,7,b)},wQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(wQc,_.P);wQc.prototype.Zx=function(){return _.F(this,1)};wQc.prototype.qq=function(){return _.y(this,6)};var xQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(xQc,_.P);var yQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(yQc,_.P);
var zQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(zQc,_.P);var AQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(AQc,_.P);var BQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(BQc,_.P);var CQc=function(a){_.Q(this,a,0,-1,null,null)};_.M(CQc,_.P);var DQc=[1],EQc=function(a){_.Q(this,a,0,-1,DQc,null)};_.M(EQc,_.P);_.FQc=function(a,b){_.R(a,2,b)};GQc=[2];HQc=function(a){_.Q(this,a,0,-1,GQc,null)};_.M(HQc,_.P);_.g=HQc.prototype;_.g.Fb=function(){return _.y(this,1)};
_.g.Dc=function(a){return _.x(this,1,a)};_.g.WI=function(){return _.vj(this,_.ok,2)};_.g.V3=function(a){_.zj(this,2,a,_.ok,void 0)};_.g.Pj=function(){return _.y(this,3)};var IQc=[2],JQc=function(a){_.Q(this,a,0,-1,IQc,null)};_.M(JQc,_.P);JQc.prototype.Fb=function(){return _.y(this,1)};JQc.prototype.Dc=function(a){return _.x(this,1,a)};JQc.prototype.Pj=function(){return _.y(this,3)};KQc=function(a,b){return _.x(a,1,b||[])};_.LQc=function(a,b){_.R(a,1,b)};MQc=function(a,b,c){_.WO(a,b,c,"warning")};
NQc=function(a){return _.Re(a.Bp,function(b){return _.xO(b.yr.request)})};OQc=function(a){var b=[];a.Bp.forEach(function(c){(c=c.yr.config.timestamp)&&b.push(c)});return b};PQc=function(a){return a.W.gEa()?!0:a.V.some(function(b){return NQc(b)})};QQc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.yr.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ta(b,OQc(c))});return b};RQc=function(a){return _.mc(a.V).concat()};SQc=function(a){return a.H.concat(_.mc(a.V).concat())};
TQc=function(a,b){var c=new Set;b=_.p(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.V.has(d)||(a.V.add(d),c.add(d));return _.mc(c).concat()};QP=function(a){var b=_.oP(a).hd();b||(b=new _.GIc,a=_.oP(a),_.R(a,1,b));return b};RP=function(a){var b=_.C(_.oP(a),rQc,3);b||(b=new rQc,a=_.oP(a),_.R(a,3,b));return b};UQc=function(a){var b=_.C(_.oP(a),wQc,16);b||(b=new wQc,a=_.oP(a),_.R(a,16,b));return b};VQc=function(a){var b=_.C(_.oP(a),zQc,7);b||(b=new zQc,a=_.oP(a),_.R(a,7,b));return b};
WQc=function(a){var b=_.C(_.oP(a),BQc,12);b||(b=new BQc,a=_.oP(a),_.R(a,12,b));return b};
XQc=function(a){if(a instanceof _.SO)return 2;if(a instanceof _.eo)return 10;if(a instanceof _.he)return _.UN(a)?3:_.VN(a)?7:_.WN(a)?8:1;if(a instanceof _.Xn)return 9;if(a instanceof _.jG)return 11;if(a instanceof _.bO)return 15;if(a instanceof _.mO)return 6;if(a instanceof _.YN){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.PC)return 4;if(a instanceof _.go)return 12;if("undefined"!=typeof _.nO&&a instanceof _.nO)return 13}return 0};
YQc=function(a){var b=null;a instanceof _.YB||"undefined"!=typeof _.qP&&a instanceof _.qP||"undefined"!=typeof _.rP&&a instanceof _.rP?b=a.Ne()||0:"undefined"!=typeof _.tP&&a instanceof _.tP||"undefined"!=typeof _.uP&&a instanceof _.uP||"undefined"!=typeof _.vP&&a instanceof _.vP||"undefined"!=typeof _.wP&&a instanceof _.wP||"undefined"!=typeof _.xP&&a instanceof _.xP?b=a.H:"undefined"!=typeof _.sP&&a instanceof _.sP&&(b=a.Ne());return b||0};ZQc=function(a,b){return a.V&&_.xMc(a)?_.tMc(a.V,b,0):null};
$Qc=function(a,b){if(a.V&&_.xMc(a)){a=_.tMc(a.V,106018,0);var c=_.C(_.oP(a),CQc,15);if(!c){c=new CQc;var d=_.oP(a);_.R(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};aRc=function(a){a.V&&_.xMc(a)&&(a=a.V,a.isRunning()&&a.H.sT())};
bRc=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};
cRc=function(a,b){if(!(a instanceof b.constructor))throw Error("R");var c=a.Qd();b=b.Qd();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Cc&&(d[0]=a.Cc,e=1);for(;e<f;e++)_.Qka(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};dRc=[2,6];_.rP=function(a){_.Q(this,a,0,-1,dRc,null)};_.M(_.rP,_.P);_.g=_.rP.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.zd=function(){return _.vj(this,_.vm,2)};_.g.gw=function(a){return _.yj(this,2,a)};
_.g.Pf=function(a,b){return _.zj(this,2,a,_.vm,b)};_.g.Pj=function(){return _.y(this,3)};_.g.Rga=function(){return _.A(this,4,!0)};var eRc=function(a,b){return _.x(a,4,b)},fRc=function(a,b){return _.yj(a,6,b)};_.g=_.rP.prototype;_.g.kF=function(){return _.C(this,_.vkb,7)};_.g.hI=function(a){return _.R(this,7,a)};_.g.getSessionId=function(){return _.C(this,_.Bm,8)};_.g.setSessionId=function(a){return _.R(this,8,a)};_.g.TW=function(){return _.y(this,10)};_.g.VW=function(a){return _.x(this,10,a)};
_.g.Ne=function(){return _.y(this,9)};_.g.UW=function(a){return _.x(this,9,a)};var gRc=[2],hRc=function(a){_.Q(this,a,0,-1,gRc,null)};_.M(hRc,_.P);hRc.prototype.Fb=function(){return _.y(this,1)};hRc.prototype.Dc=function(a){return _.x(this,1,a)};hRc.prototype.Pj=function(){return _.y(this,3)};var iRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(iRc,_.P);var jRc=[1,2],kRc=function(a){_.Q(this,a,0,-1,jRc,null)};_.M(kRc,_.P);kRc.prototype.yw=function(){return _.vj(this,_.$n,1)};
var lRc=[1,2,4],mRc={SUCCESS:1,Ozb:2,Xrb:3,yob:4,Zzb:5,Zub:6,Sub:7,Mob:8,Wyb:9,kzb:10,Nzb:11,kqb:12,Qpb:13,Osb:14,xrb:15,Vpb:16,Upb:17,$pb:18,Xpb:19,Ypb:20,Azb:21,Xzb:22,qvb:23,yub:24,Hob:25,PERMISSION_DENIED:26,Wtb:27,Qob:28,Pob:29,INTERRUPTED:30,Ovb:31,$vb:32,uqb:33,yqb:34,czb:35,Hqb:36,yrb:37,xqb:38,Rub:39,vpb:40,Jvb:41,bwb:42,Uyb:43,gpb:44,upb:45,vrb:46,Stb:47,Qub:48,hvb:49,Kvb:50,Nyb:51,Rpb:52,Vyb:53,Tyb:54,npb:55,kpb:56,Rqb:57,nub:58,Lvb:59,ttb:60,exb:61,Txb:62,zyb:63,ctb:64,Aub:65,aAb:66,Jqb:67,
zrb:68,Mzb:69,gtb:70,Oob:71,Zob:72,ayb:73,Ayb:74,wyb:75,uyb:76,Pxb:190,tyb:191,byb:192,hyb:126,dyb:128,eyb:129,fyb:130,gyb:131,iyb:132,jyb:133,nxb:127,kxb:134,lxb:135,pxb:136,qxb:137,rxb:138,mxb:194,oxb:195,sxb:196,jxb:197,Sxb:189,dxb:139,fxb:140,txb:141,uxb:142,Gxb:143,Jxb:144,Kxb:145,Lxb:146,Mxb:147,Nxb:148,Oxb:149,Rxb:150,Xxb:151,Zxb:152,$xb:153,cyb:154,kyb:155,myb:156,nyb:157,oyb:158,pyb:159,qyb:160,ryb:161,vyb:162,yyb:163,Byb:164,gxb:165,hxb:166,ixb:167,bxb:168,cxb:169,xxb:170,vxb:171,wxb:172,
yxb:173,zxb:174,Axb:175,Bxb:176,Cxb:177,Dxb:178,Exb:179,Fxb:180,Hxb:181,Ixb:182,Qxb:106,Yxb:183,lyb:184,syb:185,Uxb:186,Vxb:187,Wxb:188,xyb:244,Ivb:77,Rzb:78,Wzb:79,bub:80,Tsb:81,Vsb:82,Qqb:83,urb:84,Xtb:85,tzb:86,wqb:87,itb:88,htb:89,Eyb:90,Cyb:91,Dyb:92,Szb:93,Ipb:94,Hpb:95,Epb:96,Gpb:97,Fpb:98,$zb:99,Qwb:100,cqb:101,Wpb:102,aqb:103,Zpb:104,bqb:105,Arb:107,hzb:108,Kwb:109,Ezb:110,Drb:111,Crb:112,ytb:113,ztb:114,fwb:115,opb:116,Gtb:117,Xqb:118,Tzb:119,Vub:120,Wub:121,Psb:193,Tpb:122,oqb:123,Ssb:124,
vub:125,jtb:198,Rvb:199,$sb:200,nob:201,etb:202,dtb:203,Rob:204,rAb:205,Mtb:206,Cpb:207,Uub:208,awb:209,Mwb:210,Bob:211,wtb:212,Dtb:213,Yyb:214,Xyb:215,btb:216,Msb:217,atb:218,Lqb:219,lzb:220,Mqb:221,utb:222,ezb:223,eAb:224,Eub:225,dzb:226,qqb:227,Ltb:228,Pqb:229,xpb:230,rzb:231,wub:232,FILE_TOO_LARGE:233,ftb:234,Kqb:235,srb:236,Yvb:237,Bub:238,Ynb:239,zpb:240,Iub:241,Wwb:242,vqb:243,lob:245,Wsb:246,jvb:247,Usb:248,aub:249,zub:250,wrb:251,$rb:252,xtb:253,lpb:254,Brb:255},nRc=function(a){_.Qg.call(this,
a)};_.I(nRc,_.Qg);var cNc=[1004,1005,1002,1003],mNc=[1002,1003,1005],oRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(oRc,_.P);oRc.prototype.Fb=function(){return _.y(this,1)};oRc.prototype.Dc=function(a){return _.x(this,1,a)};oRc.prototype.V=function(){return _.C(this,_.WB,2)};var pRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(pRc,_.P);_.g=pRc.prototype;_.g.dxa=function(){return _.F(this,1)};_.g.jk=function(a){return _.x(this,1,a)};_.g.Cl=function(){return _.F(this,2)};
_.g.Qu=function(){return _.F(this,3)};_.g.xUa=function(){return _.F(this,4)};var SP=[[13,19,12,11,10,15,14,9,8,18,17,16]],qRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(qRc,_.P);qRc.prototype.wF=function(){return _.F(this,1)};qRc.prototype.jS=function(){return null!=_.y(this,1)};qRc.prototype.V=function(){return _.F(this,2)};var rRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(rRc,_.P);var sRc=[1],tRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(tRc,_.P);
tRc.prototype.wF=function(){return _.F(this,1)};tRc.prototype.jS=function(){return null!=_.y(this,1)};tRc.prototype.V=function(){return _.F(this,2)};var uRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(uRc,_.P);_.g=uRc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Id=function(a){return _.x(this,1,a)};_.g.tb=function(){return _.y(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.ul=function(){return _.x(this,2,void 0)};_.g.Ph=function(){return null!=_.y(this,2)};
_.g.getCapabilities=function(){return _.C(this,tRc,3)};_.g.ln=function(a){return _.R(this,3,a)};_.g.oUa=function(){return _.C(this,pRc,4)};var vRc=function(a){_.Q(this,a,0,-1,sRc,null)};_.M(vRc,_.P);vRc.prototype.yF=function(){return _.vj(this,uRc,1)};var wRc=function(a,b){_.yj(a,1,b)},xRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(xRc,_.P);xRc.prototype.V=function(){return _.y(this,1)};xRc.prototype.bN=function(){return null!=_.y(this,1)};
xRc.prototype.getOptions=function(){return _.C(this,vRc,2)};var yRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(yRc,_.P);yRc.prototype.W=function(){return _.y(this,1)};yRc.prototype.V=function(){return _.y(this,2)};var zRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(zRc,_.P);zRc.prototype.bN=function(){return null!=_.y(this,1)};zRc.prototype.getOptions=function(){return _.C(this,yRc,2)};var ARc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ARc,_.P);ARc.prototype.W=function(){return _.y(this,1)};
ARc.prototype.V=function(){return _.y(this,2)};var BRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(BRc,_.P);var CRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(CRc,_.P);CRc.prototype.bN=function(){return null!=_.y(this,1)};CRc.prototype.getOptions=function(){return _.C(this,BRc,2)};var TP=[[3,4,5,6,7,8,9,10,11,12]],DRc=function(a){_.Q(this,a,0,-1,null,TP)};_.M(DRc,_.P);_.g=DRc.prototype;_.g.t1=function(a){return _.xj(this,3,TP[0],a)};_.g.WJa=function(a){return _.xj(this,4,TP[0],a)};
_.g.pJa=function(a){return _.xj(this,5,TP[0],a)};_.g.oJa=function(a){return _.xj(this,6,TP[0],a)};_.g.cJa=function(a){return _.xj(this,7,TP[0],a)};_.g.HJa=function(a){return _.xj(this,8,TP[0],a)};_.g.GJa=function(a){return _.xj(this,9,TP[0],a)};_.g.$Ja=function(a){return _.xj(this,10,TP[0],a)};_.g.eba=function(a){return _.xj(this,11,TP[0],a)};_.g.Saa=function(a){return _.xj(this,12,TP[0],a)};var ERc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ERc,_.P);var FRc=function(a){_.Q(this,a,0,-1,null,null)};
_.M(FRc,_.P);FRc.prototype.V=function(){return _.y(this,1)};FRc.prototype.bN=function(){return null!=_.y(this,1)};FRc.prototype.getOptions=function(){return _.C(this,ERc,2)};var GRc=function(a){_.Q(this,a,0,-1,null,null)};_.M(GRc,_.P);GRc.prototype.Xya=function(){return _.y(this,1)};GRc.prototype.V=function(){return _.y(this,4)};var HRc=function(a){_.Q(this,a,0,-1,null,SP)};_.M(HRc,_.P);_.g=HRc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};
_.g.rUa=function(){return _.y(this,2)};_.g.rm=function(){return _.y(this,4)};_.g.qUa=function(){return _.C(this,pRc,5)};_.g.getCapabilities=function(){return _.C(this,qRc,6)};_.g.ln=function(a){return _.R(this,6,a)};_.g.wUa=function(){return _.y(this,7)};_.g.cJa=function(a){return _.xj(this,13,SP[0],a)};_.g.pUa=function(){return _.C(this,GRc,19)};_.g.Saa=function(a){return _.xj(this,19,SP[0],a)};_.g.oJa=function(a){return _.xj(this,12,SP[0],a)};_.g.pJa=function(a){return _.xj(this,11,SP[0],a)};
_.g.JZa=function(){return _.C(this,ARc,10)};_.g.sUa=function(){return _.C(this,xRc,15)};_.g.GJa=function(a){return _.xj(this,15,SP[0],a)};_.g.tUa=function(){return _.C(this,vRc,14)};_.g.HJa=function(a){return _.xj(this,14,SP[0],a)};_.g.WJa=function(a){return _.xj(this,9,SP[0],a)};_.g.uUa=function(){return _.C(this,yRc,8)};_.g.t1=function(a){return _.xj(this,8,SP[0],a)};_.g.vUa=function(){return _.C(this,FRc,18)};_.g.eba=function(a){return _.xj(this,18,SP[0],a)};
_.g.$Ja=function(a){return _.xj(this,17,SP[0],a)};var IRc=[5,7,9],JRc=function(a){_.Q(this,a,0,-1,IRc,null)};_.M(JRc,_.P);_.g=JRc.prototype;_.g.getUser=function(){return _.C(this,_.ok,1)};_.g.fw=function(a){_.x(this,2,a)};_.g.rqa=function(a){return _.x(this,3,a)};_.g.Oqa=function(a){return _.x(this,4,a)};_.g.u1=function(a){return _.x(this,5,a||[])};_.g.Pza=function(){return _.y(this,6)};_.g.Gqa=function(a){return _.x(this,6,a)};_.g.Uia=function(){return _.y(this,7)};
_.g.s1=function(a){return _.x(this,7,a||[])};_.g.xqa=function(a){return _.x(this,8,a)};_.g.e1=function(a){return _.x(this,9,a||[])};var KRc=[7,10,12,16,13,3],UP=function(a){_.Q(this,a,0,-1,KRc,null)};_.M(UP,_.P);var VP=function(a){return _.y(a,4)};_.g=UP.prototype;_.g.fw=function(a){_.x(this,4,a)};_.g.rqa=function(a){return _.x(this,5,a)};_.g.nUa=function(){return _.y(this,6)};_.g.Oqa=function(a){return _.x(this,6,a)};_.g.u1=function(a){return _.x(this,7,a||[])};
_.g.mUa=function(){return _.y(this,8)};var LRc=function(a,b){return _.x(a,8,b)};_.g=UP.prototype;_.g.Pza=function(){return _.y(this,9)};_.g.Gqa=function(a){return _.x(this,9,a)};_.g.Uia=function(){return _.y(this,10)};_.g.s1=function(a){return _.x(this,10,a||[])};_.g.lUa=function(){return _.y(this,11)};_.g.xqa=function(a){return _.x(this,11,a)};_.g.e1=function(a){return _.x(this,12,a||[])};_.g.s_a=function(){return _.C(this,_.ok,15)};var MRc=function(a,b){return _.R(a,15,b)};
UP.prototype.W=function(){return _.vj(this,_.ok,16)};var NRc=function(a,b){_.yj(a,16,b)};UP.prototype.ma=function(a,b){return _.zj(this,16,a,_.ok,b)};UP.prototype.V=function(){return _.y(this,17)};var ORc=function(a,b){return _.x(a,17,b)};UP.prototype.ka=function(){return null!=_.y(this,17)};var PRc=function(a,b){_.yj(a,13,b)};UP.prototype.getId=function(){return _.y(this,14)};UP.prototype.kc=function(a){return _.x(this,14,a)};UP.prototype.getName=function(){return _.y(this,1)};
UP.prototype.wd=function(a){return _.x(this,1,a)};var QRc=[2],WP=function(a){_.Q(this,a,0,-1,QRc,null)};_.M(WP,_.P);WP.prototype.getName=function(){return _.y(this,1)};WP.prototype.wd=function(a){return _.x(this,1,a)};WP.prototype.V=function(){return _.vj(this,UP,2)};var RRc=function(a,b){_.yj(a,2,b)};WP.prototype.Gc=function(){return _.y(this,3)};var SRc=function(a,b){return _.x(a,3,b)},TRc=[5],URc=function(a){_.Q(this,a,0,-1,null,null)};_.M(URc,_.P);_.g=URc.prototype;
_.g.wF=function(){return _.F(this,1)};_.g.jS=function(){return null!=_.y(this,1)};_.g.HUa=function(){return _.F(this,2)};_.g.jZa=function(){return _.F(this,3)};_.g.IUa=function(){return _.F(this,4)};var XP=function(a){_.Q(this,a,0,-1,TRc,null)};_.M(XP,_.P);XP.prototype.getName=function(){return _.y(this,1)};XP.prototype.wd=function(a){return _.x(this,1,a)};XP.prototype.Kk=function(){return _.y(this,2)};var VRc=function(a,b){return _.x(a,2,b)};XP.prototype.W=function(){return _.y(this,14)};
var WRc=function(a,b){return _.x(a,14,b)};_.g=XP.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Qf=function(){return _.y(this,4)};_.g.ol=function(a){return _.x(this,4,a)};_.g.Jk=function(){return _.vj(this,HRc,5)};var XRc=function(a,b){_.yj(a,5,b)},YRc=function(a,b){_.R(a,6,b)},ZRc=function(a,b){_.R(a,7,b)},$Rc=function(a,b){_.R(a,8,b)};XP.prototype.V=function(){return _.C(this,pRc,12)};var aSc=function(a,b){_.R(a,12,b)};
XP.prototype.getCapabilities=function(){return _.C(this,URc,13)};XP.prototype.ln=function(a){return _.R(this,13,a)};var bSc={Uzb:0,lub:1,rvb:2,fvb:3,ktb:4,zob:5,mub:6,gvb:7,wsb:8,Gob:9,dvb:10},YP=function(){this.H={};this.ha=6;this.V=null};YP.prototype.Fb=function(){return this.ha};YP.prototype.Dc=function(a){this.ha=a};YP.prototype.Ne=function(){return this.V};var cSc=function(a,b){a.V=b};YP.prototype.Ts=function(){return this.H};var dSc=function(a,b){a.H=b};
YP.prototype.Ac=function(a){var b=[];_.$e(this.H,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.ha,d:this.V,me:b})};eSc=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.V=c.d;var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.H=d};_.qP=function(){YP.apply(this,arguments)};_.I(_.qP,YP);var fSc=function(){YP.apply(this,arguments)};_.I(fSc,YP);var ZP=function(a){_.Q(this,a,0,-1,null,null)};_.M(ZP,_.P);ZP.prototype.getType=function(){return _.y(this,1)};
var gSc=function(a){var b=new ZP;return _.x(b,1,a)},hSc=function(a,b){return _.R(a,2,b)};ZP.prototype.Ot=function(){return _.y(this,3)};ZP.prototype.ou=function(a){return _.x(this,3,a)};ZP.prototype.ai=function(){return _.y(this,4)};ZP.prototype.setPosition=function(a){return _.x(this,4,a)};var iSc=[2],jSc=function(a){_.Q(this,a,0,-1,iSc,null)};_.M(jSc,_.P);jSc.prototype.Fb=function(){return _.y(this,1)};jSc.prototype.Dc=function(a){return _.x(this,1,a)};
var kSc=[2],$P=function(a){_.Q(this,a,0,-1,kSc,null)};_.M($P,_.P);$P.prototype.Fb=function(){return _.y(this,1)};$P.prototype.Dc=function(a){return _.x(this,1,a)};$P.prototype.V=function(){return _.vj(this,WP,2)};var lSc=function(a,b){return _.yj(a,2,b)};$P.prototype.Pj=function(){return _.y(this,3)};var aQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(aQ,_.P);aQ.prototype.Fb=function(){return _.y(this,1)};aQ.prototype.Dc=function(a){return _.x(this,1,a)};
aQ.prototype.yY=function(){return _.C(this,_.vm,2)};mSc=function(a,b){return _.R(a,2,b)};nSc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};oSc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Yd:a.c,q6:a.fi,FW:a.dti,pQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Y5:b.ec}}):void 0}};pSc=function(a,b){return new _.QM(_.SDc.bound(a,b,void 0,void 0))};
qSc=function(){var a=new _.Hj,b=_.dEc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Bd(_.OM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.rSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.rSc,_.P);_.rSc.prototype.Jp=function(){return _.y(this,1)};_.rSc.prototype.setSize=function(a){return _.x(this,2,a)};_.rSc.prototype.getUrl=function(){return _.y(this,3)};_.sSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sSc,_.P);
_.sSc.prototype.getType=function(){return _.y(this,1)};tSc=[2,3];_.uSc=function(a){_.Q(this,a,0,-1,tSc,null)};_.M(_.uSc,_.P);vSc=[4,5,6,17,18,24];_.bQ=function(a){_.Q(this,a,0,-1,vSc,null)};_.M(_.bQ,_.P);_.bQ.prototype.getId=function(){return _.y(this,1)};_.bQ.prototype.kc=function(a){return _.x(this,1,a)};_.bQ.prototype.getName=function(){return _.y(this,2)};_.bQ.prototype.wd=function(a){return _.x(this,2,a)};var wSc=function(a,b){return _.x(a,4,b||[])},xSc=function(a,b){return _.x(a,5,b||[])};
_.bQ.prototype.UR=function(){return _.F(this,11)};_.bQ.prototype.getType=function(){return _.y(this,23)};_.bQ.prototype.Cl=function(){return _.F(this,33)};var ySc=[3],cQ=function(a){_.Q(this,a,0,-1,ySc,null)};_.M(cQ,_.P);cQ.prototype.V=function(){return _.y(this,1)};var zSc=function(a,b){return _.x(a,1,b)};cQ.prototype.getTitle=function(){return _.y(this,2)};cQ.prototype.setTitle=function(a){return _.x(this,2,a)};cQ.prototype.zd=function(){return _.vj(this,_.vm,3)};
var ASc=function(a,b){return _.yj(a,3,b)};cQ.prototype.Pf=function(a,b){return _.zj(this,3,a,_.vm,b)};cQ.prototype.ka=function(){return _.y(this,4)};var BSc=function(a,b){return _.x(a,4,b)};cQ.prototype.W=function(){return _.C(this,_.km,5)};var CSc=function(a,b){return _.R(a,5,b)},RNc=function(a){_.Q(this,a,0,-1,null,null)};_.M(RNc,_.P);_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.cO,_.P);_.cO.prototype.ke=function(){return _.C(this,_.pe,1)};
var DSc=function(){var a=new _.cO,b=_.qe(new _.pe,301);return _.R(a,1,b)};_.cO.prototype.wc=function(){return _.y(this,3)};var ESc=[2],dQ=function(a){_.Q(this,a,0,-1,ESc,null)};_.M(dQ,_.P);dQ.prototype.Fb=function(){return _.y(this,1)};dQ.prototype.Dc=function(a){return _.x(this,1,a)};dQ.prototype.Ri=function(){return _.vj(this,cQ,2)};var FSc=function(a,b){return _.yj(a,2,b)};dQ.prototype.getSessionId=function(){return _.C(this,_.Bm,3)};dQ.prototype.setSessionId=function(a){return _.R(this,3,a)};
_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tO,_.P);_.tO.prototype.wc=function(){return _.y(this,1)};_.sP=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.sP,_.P);_.g=_.sP.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.ZL=function(){return _.nj(this,2,_.WB)};_.g.Pj=function(){return _.y(this,3)};_.g.Ne=function(){return _.y(this,5)};var GSc=function(a,b){_.x(a,5,b)},HSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(HSc,_.P);
HSc.prototype.Qf=function(){return _.D(this,1,"")};HSc.prototype.ol=function(a){return _.rj(this,1,a)};HSc.prototype.getUrl=function(){return _.D(this,2,"")};_.eQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.eQ,_.P);_.eQ.prototype.getType=function(){return _.D(this,1,0)};_.eQ.prototype.getContext=function(){return _.C(this,HSc,2)};_.eQ.prototype.Xj=function(a){return _.R(this,2,a)};var ISc=[1],JSc=[2],KSc=function(a){_.Q(this,a,0,-1,JSc,null)};_.M(KSc,_.P);
KSc.prototype.getLabel=function(){return _.D(this,1,"")};KSc.prototype.Id=function(a){return _.rj(this,1,a)};_.LSc=function(a){_.Q(this,a,0,-1,ISc,null)};_.M(_.LSc,_.P);_.LSc.prototype.V=function(){return _.vj(this,KSc,1)};_.MSc=[[2,3,4]];_.fQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.fQ,_.P);_.fQ.prototype.rm=function(){return _.D(this,3,"")};_.fQ.prototype.ws=function(a){return _.rj(this,4,a)};_.NSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NSc,_.P);
_.OSc=function(a){_.Q(this,a,0,-1,null,_.MSc)};_.M(_.OSc,_.P);var PSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(PSc,_.P);QSc=[3,5];_.gQ=[[8,9,10,11,12,13]];RSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(RSc,_.P);var SSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(SSc,_.P);_.TSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.TSc,_.P);_.USc=function(a){_.Q(this,a,0,-1,QSc,_.gQ)};_.M(_.USc,_.P);_.USc.prototype.Fb=function(){return _.D(this,6,0)};_.USc.prototype.Dc=function(a){return _.sj(this,6,a)};
var VSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(VSc,_.P);var WSc=[1],XSc=function(a){_.Q(this,a,0,-1,WSc,null)};_.M(XSc,_.P);var YSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(YSc,_.P);var ZSc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ZSc,_.P);var $Sc=[1],aTc=[2],bTc=function(a){_.Q(this,a,0,-1,aTc,null)};_.M(bTc,_.P);_.cTc=function(a){_.Q(this,a,0,-1,$Sc,null)};_.M(_.cTc,_.P);_.cTc.prototype.V=function(){return _.vj(this,bTc,1)};dTc=[7];_.eTc=[[1,2,3]];
_.fTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.fTc,_.P);_.gTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.gTc,_.P);_.hTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.hTc,_.P);_.iTc=function(a){_.Q(this,a,0,-1,dTc,_.eTc)};_.M(_.iTc,_.P);_.jTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.jTc,_.P);_.jTc.prototype.getName=function(){return _.D(this,1,"")};_.jTc.prototype.wd=function(a){return _.rj(this,1,a)};var kTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(kTc,_.P);
kTc.prototype.getName=function(){return _.D(this,1,"")};kTc.prototype.wd=function(a){return _.rj(this,1,a)};kTc.prototype.getTitle=function(){return _.D(this,2,"")};kTc.prototype.setTitle=function(a){return _.rj(this,2,a)};var hQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(hQ,_.P);hQ.prototype.getName=function(){return _.D(this,1,"")};hQ.prototype.wd=function(a){return _.rj(this,1,a)};hQ.prototype.getTitle=function(){return _.D(this,2,"")};hQ.prototype.setTitle=function(a){return _.rj(this,2,a)};
var lTc=[[1,4]],mTc=function(a){_.Q(this,a,0,-1,null,lTc)};_.M(mTc,_.P);mTc.prototype.getUser=function(){return _.C(this,_.OSc,1)};mTc.prototype.W=function(){return null!=_.y(this,4)};mTc.prototype.yY=function(){return _.C(this,hQ,2)};var nTc=[[8,9,10]],oTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(oTc,_.P);_.pTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.pTc,_.P);_.pTc.prototype.getType=function(){return _.D(this,6,0)};_.qTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.qTc,_.P);
var iQ=function(a){_.Q(this,a,0,-1,null,nTc)};_.M(iQ,_.P);_.g=iQ.prototype;_.g.getName=function(){return _.D(this,1,"")};_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ub=function(){return _.D(this,6,"")};_.g.UI=function(){return _.C(this,mTc,7)};var rTc=[[8,9,10]],jQ=function(a){_.Q(this,a,0,-1,null,rTc)};_.M(jQ,_.P);jQ.prototype.getName=function(){return _.D(this,1,"")};
jQ.prototype.wd=function(a){return _.rj(this,1,a)};jQ.prototype.getTitle=function(){return _.D(this,2,"")};jQ.prototype.setTitle=function(a){return _.rj(this,2,a)};sTc=[[1,3]];_.kQ=function(a){_.Q(this,a,0,-1,null,sTc)};_.M(_.kQ,_.P);_.kQ.prototype.V=function(){return _.C(this,jQ,1)};_.kQ.prototype.W=function(){return null!=_.y(this,3)};_.kQ.prototype.yY=function(){return _.C(this,hQ,2)};_.tTc=[[1,2,3]];uTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(uTc,_.P);
var vTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(vTc,_.P);_.wTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.wTc,_.P);_.xTc=function(a){_.Q(this,a,0,-1,null,_.tTc)};_.M(_.xTc,_.P);yTc=[2,3];_.zTc=function(a){_.Q(this,a,0,-1,yTc,null)};_.M(_.zTc,_.P);_.zTc.prototype.getType=function(){return _.D(this,1,0)};_.ATc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.ATc,_.P);_.ATc.prototype.getType=function(){return _.D(this,1,0)};var BTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(BTc,_.P);
BTc.prototype.getType=function(){return _.D(this,1,0)};var CTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(CTc,_.P);var DTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(DTc,_.P);var ETc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ETc,_.P);FTc=[1,2,4];_.GTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.GTc,_.P);_.HTc=function(a){_.Q(this,a,0,-1,FTc,null)};_.M(_.HTc,_.P);_.lQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.lQ,_.P);_.lQ.prototype.getEmail=function(){return _.D(this,1,"")};
_.lQ.prototype.getTitle=function(){return _.D(this,2,"")};_.lQ.prototype.setTitle=function(a){return _.rj(this,2,a)};_.mQ=[[2,3,4,5]];_.nQ=function(a){_.Q(this,a,0,-1,null,_.mQ)};_.M(_.nQ,_.P);_.nQ.prototype.Cg=function(){return _.D(this,1,0)};_.nQ.prototype.getUser=function(){return _.C(this,_.OSc,2)};var ITc=function(a){_.Q(this,a,0,-1,null,null)};_.M(ITc,_.P);JTc=[1,2,3,4];_.KTc=function(a){_.Q(this,a,0,-1,JTc,null)};_.M(_.KTc,_.P);var LTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(LTc,_.P);
var MTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(MTc,_.P);_.NTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.NTc,_.P);_.OTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.OTc,_.P);_.OTc.prototype.getType=function(){return _.D(this,1,0)};PTc=[1];_.QTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.QTc,_.P);_.QTc.prototype.getFeature=function(){return _.D(this,1,0)};_.RTc=function(a){_.Q(this,a,0,-1,PTc,null)};_.M(_.RTc,_.P);var STc=function(a){_.Q(this,a,0,-1,null,null)};_.M(STc,_.P);
var TTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(TTc,_.P);var UTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(UTc,_.P);UTc.prototype.getType=function(){return _.D(this,1,0)};_.oQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.pQ=function(a){_.Q(this,a,0,-1,null,_.oQ)};_.M(_.pQ,_.P);_.VTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.VTc,_.P);var WTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(WTc,_.P);_.XTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.XTc,_.P);
_.YTc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.YTc,_.P);_.YTc.prototype.getType=function(){return _.D(this,1,0)};_.qQ=[[1,2,3,4,5]];_.ZTc=function(a){_.Q(this,a,0,-1,null,_.qQ)};_.M(_.ZTc,_.P);_.ZTc.prototype.getUser=function(){return _.C(this,_.OSc,1)};var $Tc=function(a){_.Q(this,a,0,-1,null,null)};_.M($Tc,_.P);$Tc.prototype.getType=function(){return _.D(this,2,0)};_.aUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.aUc,_.P);_.g=_.aUc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ta=function(){return _.C(this,iQ,3)};_.bUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.bUc,_.P);_.bUc.prototype.getParent=function(){return _.C(this,iQ,4)};_.bUc.prototype.Jg=function(a){return _.R(this,4,a)};var cUc=function(a){_.Q(this,a,0,-1,null,null)};_.M(cUc,_.P);_.g=cUc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.wd=function(a){return _.rj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.rj(this,2,a)};_.g.Ta=function(){return _.C(this,iQ,3)};_.rQ=[[1,5,3]];_.sQ=function(a){_.Q(this,a,0,-1,null,_.rQ)};_.M(_.sQ,_.P);_.sQ.prototype.V=function(){return _.C(this,iQ,1)};_.sQ.prototype.W=function(){return null!=_.y(this,5)};_.sQ.prototype.yY=function(){return _.C(this,cUc,2)};_.tQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tQ,_.P);
_.tQ.prototype.pq=function(){return _.C(this,_.Nx,2)};_.tQ.prototype.Hv=function(a){_.R(this,2,a)};dUc=[[5,6]];_.eUc=function(a){_.Q(this,a,0,-1,null,dUc)};_.M(_.eUc,_.P);_.eUc.prototype.Xm=function(){return _.C(this,$Tc,2)};fUc=[3,4,5];gUc=[[6,7]];_.uQ=function(a){_.Q(this,a,0,-1,fUc,gUc)};_.M(_.uQ,_.P);_.uQ.prototype.mea=function(a){_.zj(this,4,a,_.eUc,void 0)};var hUc=[1],ANc=function(a){_.Q(this,a,0,-1,hUc,null)};_.M(ANc,_.P);var DP=[[1,2,3,4,5,6,7]],zNc=function(a){_.Q(this,a,0,-1,null,DP)};
_.M(zNc,_.P);var vQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(vQ,_.P);vQ.prototype.getQuery=function(){return _.C(this,_.he,1,1)};var iUc=function(a,b){return _.R(a,1,b)};vQ.prototype.Jm=function(){return _.y(this,4)};var jUc=function(a,b){return _.R(a,5,b)},kUc=[1,2,5,7,9,10,12],wQ=function(a){_.Q(this,a,0,-1,kUc,null)};_.M(wQ,_.P);wQ.prototype.zd=function(){return _.vj(this,_.vm,1)};var xQ=function(a,b){return _.yj(a,1,b)};wQ.prototype.Pf=function(a,b){return _.zj(this,1,a,_.vm,b)};
wQ.prototype.WI=function(){return _.vj(this,_.ok,2)};var lUc=function(a,b){_.yj(a,2,b)};wQ.prototype.V3=function(a){_.zj(this,2,a,_.ok,void 0)};wQ.prototype.Qx=function(){return _.y(this,3)};var mUc=function(a,b){return _.x(a,3,b)};wQ.prototype.uq=function(){return _.y(this,4)};var nUc=function(a,b){return _.x(a,4,b)},oUc=function(a,b){return _.yj(a,5,b)};wQ.prototype.yw=function(){return _.vj(this,_.$n,9)};wQ.prototype.Oh=function(){return _.y(this,12)};
var pUc=function(a,b){return _.x(a,12,b||[])},qUc=function(a,b){return _.x(a,13,b)},rUc={Job:0,Iob:1,Ftb:2,fzb:3,izb:4},CP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],xNc=function(a){_.Q(this,a,0,-1,null,CP)};_.M(xNc,_.P);var DNc=[[1,2]],CNc=function(a){_.Q(this,a,0,-1,null,DNc)};_.M(CNc,_.P);var GNc=[[1,2,3]],FNc=function(a){_.Q(this,a,0,-1,null,GNc)};_.M(FNc,_.P);var sUc=[1],tUc=function(a){_.Q(this,a,0,-1,sUc,null)};_.M(tUc,_.P);tUc.prototype.EF=function(){return _.D(this,2,"")};
var uUc={ypb:"wb",Kzb:"xb",Gub:"yb",ENa:"zb"},vUc=function(a,b){return 0<=b?!a||a<=b:!0},wUc=function(a,b){return 1<a?2==b:a==b},xUc=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1==b)return!a||1>=a?2:a+1;if(-2==b)return!a||2>=a?1:a-1;throw Error("Me");},yQ=function(a,b,c,d){this.W=a;this.H=void 0===b?0:b;this.V=void 0===c?1:c;this.ha=d};_.g=yQ.prototype;_.g.clone=function(){return new yQ(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.$b=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.fH=function(a){this.V=a};_.g.Qx=function(){return this.ha};_.g.equals=function(a){return this.H==a.$b()&&this.V==a.V&&this.ha==a.Qx()&&_.Cj(this.W,a.getItem())};var yUc=function(a){_.N.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.I(yUc,_.N);
var zQ=function(a,b,c){if(a.ha)throw Error("Ne");c={Yl:_.mf(b),callback:c};b=_.p(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.V[d];null==e&&(e=[],a.V[d]=e);e.push(c)}},AQ=function(a,b){if(!a.ha)throw Error("Oe");if(!a.ka)throw Error("Pe`"+a.W+"`"+(a.W.stack?"\nOriginal stack: "+a.W.stack:""));a.ta.info("drive.ds.MilestoneManager","Passing Milestone: "+b);a.ma[b]=!0;var c=a.V[b];if(c){delete a.V[b];for(var d=0;d<c.length;++d){var e=c[d];delete e.Yl[b];if(_.gf(e.Yl))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};yUc.prototype.H=function(a){return!!this.ma[a]};yUc.prototype.start=function(){this.ha=!0};yUc.prototype.ab=function(){_.N.prototype.ab.call(this);delete this.V};_.tP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.YGc=function(a){this.H=a};zUc=function(){};AUc=function(a){this.H=a};_.ZGc=function(a){this.H=a};eOc=function(a,b,c,d,e,f,h,k){this.status=a;this.ka=b;this.H=c;this.ma=d;this.W=e;this.wv=f;this.ha=h;this.V=k};
_.vP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.eHc=function(a,b){this.request=a;this.pageToken=b||""};BUc=function(a){this.pageToken=a||""};CUc=function(){};_.gHc=function(a,b){this.request=a;this.pageToken=b||""};_.wP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.xP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.uP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};DUc=function(a,b){this.response=a;this.pageToken=b||""};rNc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};EUc=function(a,b){return rNc()?(new _.m.Intl.Collator([a||"en-CA"],b||{})).compare:function(c,d){return c.localeCompare(d)}};FUc=function(a){return _.mc(new Set(a.map(function(b){return _.lFc.get(b)}).filter(function(b){return b}))).concat().join(",")};
BQ=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=_.mc(b).concat();b=FUc(b);var d=_.$M(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":
_.A(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.A(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"};GUc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+BQ(a,b,!1)+")"};HUc=function(a){var b=new _.fp;_.cP(b,"hidden",a.Cl());(a=_.F(a,6))&&_.cP(b,"securityUpdateEligible",a);return b.toString()};IUc=function(a){switch(a?a.getType():-1){case 1:return[10];case 2:return[11];case 3:return[32];case 4:return[2];case 6:return[12];case 7:return[25];case 9:return[4];case 10:return[9];case 11:return[67];case 12:return[98];default:return null}};
JUc=function(a){var b=rNc(),c={};b&&(c.numeric=b);this.H=EUc(a,c)};JUc.prototype.compare=function(a,b,c){b=KUc(b);c=KUc(c);a=a.ve();var d=IUc(a);if(a&&d){d=LUc(this,a);var e=4==a.getType()?this.H:_.za;return MUc(a,d,e,b,c)}return _.za(b.getId(),c.getId())};JUc.prototype.sort=function(a,b,c){a=a.ve();var d=IUc(a);a&&d&&(d=LUc(this,a),d=NUc(b,d),_.Ca(b,OUc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var KUc=function(a){return a instanceof _.vm?a:a.getItem()},LUc=function(a,b){b=IUc(b);return _.K(a.V,a,b,_.za)},NUc=function(a,b){var c={};a.forEach(function(d){d=KUc(d);var e=d.getId();c[e]=b(d)});return c},OUc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.za;d=KUc(d);e=KUc(e);return MUc(b,function(h){return c[h.getId()]},f,d,e)}},MUc=function(a,b,c,d,e){var f=1==a.Nh()?1:-1;if(_.F(a,3)){a=_.AN(d,!0);var h=_.AN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.za(d.getId(),
e.getId()))};JUc.prototype.V=function(a,b,c){for(var d=PUc(a[0],c),e=1;e<a.length;e++){var f=PUc(a[e],c);d=1==b(f,d)?f:d}return d};
var PUc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Ub()||"";case 4:return b.hw()||!1;case 12:return b.Gx()||0;case 11:return b.vz()||0;case 10:return b.mq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Qt()||0;case 57:return _.y(b,62)||0;case 32:return b.kz()||0;case 9:return b.PA()||0;case 67:return b.$I()||0;case 98:return b.eJ()||0;default:return""}},QUc=function(a,b,c){c=void 0===c?!1:c;this.V=a;this.V.sort();this.H=b;this.W="";this.ha=c},CQ=function(a,
b,c){b=_.Dj(b);"root"==b.getId()&&b.kc(a.W);_.CO(b).filter(function(d){return"root"==d.tb()}).forEach(function(d){return d.jc(a.W)});_.oe(b,_.BO(b).map(function(d){d.jc(d.tb().toLowerCase());return d}));c&&_.wk(b,a.V);b.Oh().sort();return b},DQ=function(a,b,c){if(b instanceof _.he){b=CQ(a,b);var d=_.IJc(b)}else if(b instanceof _.Xn)d=b.Ol().sort().join(","),_.A(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.SO)return d=HUc(b),d+"|tdList";if(b instanceof _.eo)return d=b.Ol().sort().join(","),b.Oh().length&&
(d+="|"+FUc(b.Oh())),d+"|tdMap";throw Error("Te");}return 3==c?d:d+"|"+RUc(a,b.Oh(),2==c)},RUc=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.V);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):_.mc(e).concat().filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.yN({fields:_.mc(f).concat(),Wv:a.H}));e.size&&(d=d+" + "+_.yN({fields:_.mc(e).concat(),Wv:a.H}));return d};
QUc.prototype.equals=function(a,b,c){var d;c&&(d=3);return DQ(this,a,d)==DQ(this,b,d)};
var SUc=function(a){if(!a.Ol().every(function(b){return!_.Bc(b)}))throw new _.pb("Invalid ids for FindByIdsRequest");},UUc=function(a,b,c){if(_.VN(b))throw new _.pb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");TUc(a,b,c)},TUc=function(a,b,c){var d=_.uN(3);if(b.getId())throw new _.pb("Use findByIds() for find by id queries.",d);if(!b.lh()||0>=b.lh())throw new _.pb("A positive limit is required on an ItemQueryRequest.",d);_.y(b,33);a.ha&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),VUc(a,d,b.Oh()));if(c=(c=b.ve())&&IUc(c))d=b.Oh().length?b.Oh():a.V,VUc(a,d,c);if(_.UN(b)){if(a.H)throw new _.pb("User must be authenticated for a Quick Access request.");if(20<b.lh())throw new _.pb("Limit must be in the range [1, 20].");c=2==_.DO(b);d=_.y(b,33).length;if(c&&1!=d||d&&!c)throw new _.pb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.oe(_.x(_.x(_.sN(_.x(_.xk(_.wk(b.clone(),[]),void 0),32,void 0),[]),45,void 0),
47,void 0),[]);d=new _.he;if(!_.Cj(c,d))throw new _.pb("Some fields specified are not valid for a Quick Access request. Valid: field, request_descriptor, limit, team_drive, corpora, is_quick_access_request and mime_type. Extra: "+cRc(d,c));}if(_.WN(b)){if(a.H)throw new _.pb("User must be authenticated for a DrivePriority request.");if(2==_.DO(b))throw new _.pb("Team Drive corpora is not valid for a Drive Priority request.");a=_.x(_.x(_.x(_.xk(_.wk(b.clone(),[]),void 0),32,void 0),45,void 0),52,void 0);
b=new _.he;if(!_.Cj(a,b))throw new _.pb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+cRc(b,a));}},WUc=function(a,b,c){if(!_.VN(b))throw new _.pb("Expected a PeoplePredict request.");TUc(a,b,c);if(a.H)throw new _.pb("User must be authenticated for a People Predict request.");if(2==_.DO(b))throw new _.pb("Team Drive corpora is not valid for a People Predict request.");a=_.x(_.x(_.x(_.xk(_.wk(b.clone(),
[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.he;if(!_.Cj(a,b))throw new _.pb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+cRc(b,a));},VUc=function(a,b,c){var d=_.uN(3);if(!gNc(b,c,!0)){var e=_.yN({fields:c,Wv:a.H}),f=_.yN({fields:b,Wv:a.H});a=_.yN({fields:hNc(c,b),Wv:a.H});throw new _.pb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),
d);}},XUc=function(a){var b=new Set;_.BO(a).forEach(function(c){switch(_.a_a(c.tb())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return _.mc(b).concat()},YUc=function(a){switch(_.FO(a)){case 3:case 12:case 204:return"GOOGLE_DOCS";case 4:case 13:case 207:return"GOOGLE_SHEETS";
case 5:case 14:case 205:case 208:return"GOOGLE_SLIDES";case 6:case 203:return"GOOGLE_FORMS";case 232:return"GOOGLE_MEET";case 8:case 201:return"GOOGLE_SITES";case 229:case 216:return"GOOGLE_CLASSROOM";case 202:case 1:case 9:return"GOOGLE_DRIVE";case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},ZUc=function(){this.Bp=[]};_.I(ZUc,_.eP);
ZUc.prototype.add=function(a,b){var c=a.yr.request;return c instanceof _.rO&&_.y(c.request,12)?_.eP.prototype.add.call(this,a,b):!1};ZUc.prototype.H=function(a){return this.Bp.splice(0,Math.min(a,1))};var $Uc=function(a,b){this.Bp=[];this.V=b};_.I($Uc,_.eP);$Uc.prototype.add=function(a,b){return a.yr.request instanceof _.rO?!1:_.eP.prototype.add.call(this,a,b)};
$Uc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Bp.length&&b.length<a;f++){var h=this.Bp[f],k=h.yr.request;"undefined"!=typeof _.IN&&k instanceof _.IN||"undefined"!=typeof _.SN&&k instanceof _.SN||"undefined"!=typeof _.hO&&k instanceof _.hO?k="app|"+k.V():k instanceof _.DN||k instanceof _.EN||k instanceof _.KN||k instanceof _.aN?k="item|"+(k instanceof _.DN?k.Gc():k.getId()):"undefined"!=typeof _.LN&&k instanceof _.LN||"undefined"!=typeof _.TN&&k instanceof _.TN?k="item|"+k.Gc():
k instanceof _.MN||k instanceof _.jO?k="item|"+k.Gc():"undefined"!=typeof _.uD&&k instanceof _.uD||"undefined"!=typeof _.tD&&k instanceof _.tD?(k="undefined"!=typeof _.uD&&k instanceof _.uD?k.V().getKey():k.getKey(),k="pref|"+_.y(k,2)+"|"+_.ao(k)):k=k instanceof _.NN?"td|"+k.getId():null;var l=h.yr.request;if(l instanceof _.GN)l=!!_.F(l,8);else if(l instanceof _.EN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Ub()&&_.ecb.has(l.Ub()));l=n}else l=!1;if(k&&d[k]||l&&5==e)break;b.push(h);c.unshift(f);
k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.ma(this.Bp,c[a]);return b};var aVc=function(a,b){_.N.call(this);this.Ff=a;this.H=b};_.M(aVc,_.N);_.g=aVc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ff.V.registerService(this.H+":"+a,(0,_.K)(this.Xwa,this,b),c)};_.g.eU=function(a){this.V=(0,_.K)(this.Xwa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Xe");this.Ff.V.send(this.H+":"+a,b)};
_.g.Xwa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.g.ab=function(){this.Ff=this.Ff.H[this.H]=null};var bVc=function(a){_.N.call(this);this.V=a;this.H={};this.V.eU((0,_.K)(this.W,this))};_.M(bVc,_.N);var cVc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ve`"+b);if(b in a.H)throw Error("We`"+b);var c=new aVc(a,b);return a.H[b]=c};bVc.prototype.W=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.V&&c.V(a,b)}};
bVc.prototype.ab=function(){_.$e(this.H,function(a){_.dc(a)});_.dc(this.V);delete this.H;delete this.V};var dVc=function(a){_.N.call(this);this.H=a};_.M(dVc,_.N);_.g=dVc.prototype;_.g.cancel=function(){this.H.cancel()};_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.H.mb(function(d){d.registerService(a,b,c)})};_.g.eU=function(a){this.H.mb(function(b){b.eU(a)})};_.g.send=function(a,b){this.H.mb(function(c){c.send(a,b)})};
_.g.ab=function(){this.cancel();dVc.nb.ab.call(this)};var tNc=function(a){_.Mz.call(this);this.H=a;this.V=_.md(this.H,"message",this.mTa,!1,this)};_.M(tNc,_.Mz);_.g=tNc.prototype;_.g.je=null;_.g.send=function(a,b){var c=[];b=this.zha(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.pFc&&(a=(0,_.ai)(a));this.H.postMessage(a,c)};
_.g.mTa=function(a){a=a.Lf;var b=a.data;if(_.pFc)try{b=JSON.parse(b)}catch(d){return}if(_.wa(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.payload;if(b=this.getService(b.serviceName,c))c=_.A8a(this.pka(a.ports||[],c),b.Jna),null!=c&&b.callback(c)}};
_.g.zha=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?_.fe(b,(0,_.K)(this.zha,this,a)):b&&b.constructor==Object?_.bf(b,function(c,d){c=this.zha(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.pka=function(a,b){return Array.isArray(b)?_.fe(b,(0,_.K)(this.pka,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.bf(b,function(c,d){return this.pka(a,"_port"==d?c.val:c)},this):b};_.g.ab=function(){_.Xg(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;tNc.nb.ab.call(this)};
var eVc=function(a,b){if("*"==b)return new dVc(_.Qj(Error("Ye")));var c=new _.Vh(50),d=_.Ke(_.dc,c),e=new _.Hj(d);_.Lj(e,d);c.start();_.md(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new tNc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new dVc(e)},fVc=function(a){_.N.call(this);this.H=new bVc(a);this.W={};this.V=cVc(this.H,
"private");this.ha=cVc(this.H,"public");this.V.registerService("mics",(0,_.K)(this.NQa,this),!0)};_.M(fVc,_.N);_.g=fVc.prototype;_.g.bcb=0;_.g.ab=function(){_.dc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.bcb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.NQa=function(a){var b=a.signature;a=a.data;b in this.W&&((0,this.W[b])(a),delete this.W[b])};_.g.registerService=function(a,b){this.ha.registerService(a,(0,_.K)(this.MQa,this,b),!0)};
_.g.MQa=function(a,b){a=a(b.data);var c=b.signature;_.Oh(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var gVc=function(a,b){_.N.call(this);this.W=new bVc(a);this.Pa(this.W);this.H=new fVc(cVc(this.W,"direct"));this.Pa(this.H);a=cVc(this.W,"passthrough");this.ha=b?a:new fVc(a);this.Pa(this.ha);this.V=b;this.ka=!1};_.I(gVc,_.N);gVc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
gVc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Ie)};var EQ=function(a,b,c){if(a.V)throw Error("Ze");a.ha.registerService(b,c,!0)},FQ=function(a,b,c,d){if(a.V)throw Error("$e");a.ha.send(b,c||{},d||_.Ie)};gVc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("af");};
var vNc=[],hVc=function(a,b,c,d,e,f,h,k,l){a=a.hf();h=new _.jKc(k,h,d,_.D(a,32,1073741824),_.D(a,21,1E3));h=new _.kKc(h);k=new _.mJc(_.D(a,59,2E3),_.D(a,60,2E4),_.D(a,61,6));var n={};n[1]=_.mKc(b,d);n[2]=_.nKc(b,a,e,c,k,d,l);n[3]=_.oKc(b,a,e,c,k,d,l,"batch");var q=_.D(a,10,50);if(l){var t=new _.PJc(l.getState());var v=new _.KJc(l)}else t=new _.lJc(e,c),v=new _.jJc(c);f=new _.gP(d,b,[t,new _.pJc(q,_.D(a,11,100)),new _.fP(q),new _.ZO(k,d)],[new $Uc(a,f),new ZUc,new _.eP],[v,new _.UJc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.pKc(h,a,d),n[6]=_.oKc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.oKc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.oKc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},GQ=function(a){return a instanceof _.vm?null!=a.getId()&&a.getId()==a.wc():null!=a.Gc()&&a.Gc()==a.wc()},iVc=function(a,b,c){c=void 0===c?[]:c;var d=_.Dj(a),e=b.Sj();null!=e&&iNc(a,_.Dj(e));if((e=b.getCapabilities())&&null!=_.F(e,13)){var f=a.getCapabilities()||new _.pm,h=_.F(e,13);_.x(f,13,h);a.ln(f)}e&&null!=_.F(e,
18)&&(f=a.getCapabilities()||new _.pm,e=_.F(e,18),_.x(f,18,e),a.ln(f));AP(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,95,75,94,122,2]);d.Sj()&&AP(a,d,c)},jVc=function(a,b,c){c=void 0===c?[]:c;if(!b||!GQ(a)&&!GQ(b))return a;if(2==BP(a)){c=_.y(a,82);var d=_.Dj(b);iVc(d,a);_.fIc(d,BP(b));_.x(d,82,c);return d}a=_.Dj(a);iVc(a,b,c);return a},kVc=function(a){return(a=a?a.Sj():null)&&a.Cl()||!1},lVc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},mVc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.ma.has(e)&&!c.has(e)}))).forEach(function(e){a.ka.info("drive.ds.sync.cache.FieldsCache","Creating field cache for field: "+e);c.add(e);b[e]={}})},oVc=function(a,b,c){b.every(function(d){return GQ(d)})?nVc(b,c,a.V,a.ha):b.every(function(d){return!GQ(d)})&&nVc(b,c,a.H,a.W)},nVc=function(a,b,c,d){var e=_.MGc(b,_.mc(d).concat());0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&AP(f,k,[h])})})};lVc.prototype.update=function(a,b,c){b&&GQ(b)?pVc(a,b,this.V,this.ha,c):pVc(a,b,this.H,this.W,c)};var qVc=function(a,b){_.$e(a.H,function(c,d){_.hf(a.H[d],b)});_.$e(a.V,function(c,d){_.hf(a.V[d],b)})},pVc=function(a,b,c,d,e){_.$e(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.hf(f,a);else if(b&&fNc(b,[h])){var k=new _.vm;k.kc(b.getId());AP(k,b,[h]);f[a]=k}});b&&zP(b,_.mc(d).concat())};
lVc.prototype.clear=function(){var a=this;_.$e(this.H,function(b,c){a.H[c]={}});_.$e(this.V,function(b,c){a.V[c]={}})};
var rVc=/^[\x00-\x7F]*$/,sVc=function(){this.H=""},uVc=function(a){return tVc(a)&&0==_.y(a,40).length&&void 0==_.y(a,41)},tVc=function(a){var b=!0;_.vj(a,_.ke,13).forEach(function(d){"me"!=d.tb()&&(b=!1)});var c=a.ve();c=!c||5!=c.getType();return 0==_.vj(a,_.sk,5).length&&0==_.vj(a,_.ke,14).length&&0==_.vj(a,_.ke,15).length&&null==_.y(a,58)&&!_.F(a,18)&&!_.F(a,34)&&0==_.vj(a,_.zO,35).length&&0==_.vj(a,_.zO,38).length&&c&&b&&0==_.y(a,39).length&&!_.y(a,42)&&0==_.vj(a,_.lk,44).length&&!_.UN(a)&&!_.VN(a)&&
!_.WN(a)&&0==_.vj(a,_.mk,57).length&&vVc(a)&&!a.Px()},vVc=function(a){return _.vj(a,_.tk,4).every(function(b){return rVc.test(b.tb())})};sVc.prototype.qX=function(a,b){var c=this;return b.filter(function(d){return HQ(c,a,d)})};
var HQ=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!GQ(c);if(d){d=!0;var e=_.vj(b,_.tk,4);if(vVc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.tb()){var k=_.A(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.tb().toLowerCase();if(2==_.y(h,1))l=n==l,d=d&&(k?!l:l);else for(h=n.split(/\b|_/),n=0;n<h.length&&d;n++){var q=h[n];0!=(0,_.Ue)(q).length&&(q=!!l.match(new RegExp("(\\b|^|_)"+_.gg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.BO(b);e=d=0;k=f=!1;l=_.p(l);for(h=l.next();!h.done;h=l.next())n=
h.value,n.tb()&&(h=_.A(n,2,!1),q=c.Ub(),n=n.tb()==q,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.vj(b,_.qk,7),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.mq(),d=d&&wVc(k,f);if(d)for(d=!0,e=_.vj(b,_.qk,8),e=_.p(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Gx(),d=d&&wVc(k,f);d&&(d=b.mh(),e=(e=_.DO(b))&&(2==e||3==e),d=null==d||d==!!c.mh()&&(!d||1==c.km()||e));d&&(d=null==_.F(b,10)||_.F(b,10)==!!c.hw());d&&(d=null==b.Cl()||b.Cl()==!!c.Cl());if(d)a:{d=_.CO(b);d=_.p(d);
for(e=d.next();!e.done;e=d.next())if(e=e.value,e.tb()&&(f="root"==e.tb()&&a.H||e.tb(),f=c.Uh().includes(f),_.A(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.vj(b,_.ke,13);a=_.p(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.tb()&&(e=1==c.km(),_.A(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.F(b,16)||(_.F(b,16)?null!=c.Qt():!0));a&&(a=_.F(b,17),d=(d=_.DO(b))&&(2==d||3==d),a=null==a||a==!!c.HA()&&(!a||1==c.km()||d));a&&(a=INc(c),a=null==_.F(b,19)||_.F(b,19)==!!a.hp());a&&(a=!0);if(a=a&&
xVc(b,c)&&yVc(b,c))a=_.y(b,33),a=!a.length||a.includes(c.wc()||"");if(a=a&&zVc(b,c))_.y(b,41)?(a=_.C(c,_.OO,86),a=null!=a&&_.y(b,41)==_.y(a,3)):a=!0;if(a=a&&AVc(b,c))a=_.DO(b),1==a?(a=_.F(c,31),a=!!_.CO(b).length||!!_.vj(b,_.zO,35).length||1==_.F(b,18)||_.UN(b)||_.VN(b)||_.WN(b)||!!_.y(b,54)||null==a||a):a=2==a?!!c.wc():!0;a&&(a=_.UN(b)?!!_.zm(c)&&!c.mh():!0);a&&(a=_.VN(b)?!!_.Am(c).length&&!c.mh():!0);a&&(a=_.WN(b)?!!c.DI().length&&!c.mh():!0);a&&(a=null!=_.y(b,50)?_.A(b,50,!1)?null!=_.y(c,101)&&
0!==_.y(c,101):null==_.y(c,101):!0);a&&(b=_.y(b,54),a=!b||_.y(c,120).includes(b));return a},wVc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0},xVc=function(a,b){var c=_.mf(_.y(b,56));a=_.vj(a,_.AO,25);return 0==a.length?!0:a.every(function(d){return c[d.tb()]})},yVc=function(a,b){if(0==a.Rt().length)return!0;var c=_.mf(b.Rt().map(function(d){return _.y(d,
1)}));a=_.mf(a.Rt().map(function(d){return _.y(d,1)}));return _.cf(a,function(d,e){return c[e]})},zVc=function(a,b){var c=_.mf(_.y(b,50));a=_.vj(a,_.rk,37);return 0==a.length?!0:a.every(function(d){return c[d.tb()]})},AVc=function(a,b){if(_.y(a,40).length){if(b=_.C(b,_.OO,86)){var c=_.mf(_.y(b,2));return _.y(a,40).some(function(d){return c[d]})}return!1}return!0},BVc=function(a,b,c){var d=this;this.W=b;this.ha=c;this.H={};this.V="";a.mb(function(e){d.V=e})};
BVc.prototype.query=function(a,b){var c=this,d=[];uVc(a)&&(_.$e(this.H,function(e){HQ(c.W,a,e.getItem())&&(void 0===b||wUc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};BVc.prototype.get=function(a){return this.H[a]};BVc.prototype.getAll=function(a){for(var b=[],c=0;c<a.length;c++){var d=this.H[a[c]];d&&b.push(d)}return b};BVc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,CVc(this,a.H)?(_.hf(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.hf(this.H,a.id),a.V.H--)};
var CVc=function(a,b){return 1<b.$b()||wUc(b.V,2)||b.getItem().HA()||KNc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},DVc=function(a){_.$e(a.H,function(b){CVc(a,b)&&(_.hf(a.H,b.getId()),b.H--)})},EVc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},ZNc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),oVc(a.ka,[b.getItem()],SQc(a.ha)),b):null};EVc.prototype.H=function(a){return(a=ZNc(this,a))?a.getItem():null};
var FVc=function(a,b){var c={};b.forEach(function(d){var e=ZNc(a,d);e&&(c[d]=e)});return c},GVc=function(a,b){return _.bf(FVc(a,b),function(c){return c.getItem()})},HVc=function(a,b){b=CQ(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};EVc.prototype.query=function(a){return HVc(this,a).map(function(b){return b.getItem()})};EVc.prototype.W=function(){return _.df(this.V.H)};
IVc=function(a){var b=new Set;a=_.p(Object.values(a.V.H));for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.p(_.wm(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.iG(e));(d=c.Fo())&&b.add(d.getId()||_.iG(d));(d=c.IA())&&b.add(d.getId()||_.iG(d));(d=_.C(c,_.ok,91))&&b.add(d.getId()||_.iG(d));(c=c.JF())&&b.add(c.getId()||_.iG(c))}return b.size};
JVc=function(a){return _.C(a,_.IM,3)||_.C(a,_.sO,4)||_.C(a,_.jP,5)||_.C(a,_.kO,6)||_.C(a,_.NN,7)||_.C(a,_.GN,8)||_.C(a,_.KN,9)||_.C(a,_.aN,10)};KVc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};LVc=function(a){var b={};return b.parentId=a.Qj(),b};MVc=function(a){var b={};_.Bc(_.jg(a.getTitle()))||(b.title=a.getTitle());_.GLc(b,_.y(a,3));return b};
NVc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b};OVc=function(a){var b={};b.sourceIds=a.request.W();b.destinationFolderId=a.request.V();a.pageToken&&(b.continuationToken=a.pageToken);return b};
PVc=function(a){var b={},c={};_.Bc(_.jg(a.getTitle()))||(b.title=a.getTitle());null!=a.Qf()&&(b.description=a.Qf());null!=_.F(a,4)&&(c.starred=_.F(a,4));null!=a.mh()&&(c.trashed=a.mh());_.Bc(_.jg(a.Ub()))||(b.mimeType=a.Ub());"number"===typeof _.y(a,7)&&(b.modifiedDate=_.lIc(_.uJc(_.y(a,7)||0)));null!=_.F(a,11)&&(c.restricted=_.F(a,11));_.df(c)&&(b.labels=c);null!=a.Wh()&&(b.folderColor=a.Wh());null!=_.F(a,16)&&(b.subscribed=_.F(a,16));if(c=_.C(a,_.sm,25)){b.contentRestrictions=[];var d={};null!=
_.F(c,1)&&(d.readOnly=_.F(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.GLc(b,_.y(a,8));return b};QVc=function(a){var b={};null!=a.Xr()&&(b.pinned=a.Xr());return b};
RVc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.hg)("0",6-c.length)+c);c=_.C(a,_.lQc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.y(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
SVc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.FFc[a.getState()])&&(b.state=a);return b};TVc={Xnb:0,rob:1,Ysb:3,fAb:5,INa:6};_.IQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.IQ,_.P);_.g=_.IQ.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.kc=function(a){return _.x(this,2,a)};_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.cxa=function(){return _.y(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.kUa=function(){return _.y(this,6)};_.UVc=function(a,b){return _.x(a,6,b)};_.IQ.prototype.Qf=function(){return _.y(this,8)};_.IQ.prototype.ol=function(a){return _.x(this,8,a)};_.IQ.prototype.V=function(){return _.F(this,9)};_.VVc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.VVc,_.P);_.VVc.prototype.V=function(){return _.y(this,1)};var WVc=function(a){_.Q(this,a,0,-1,null,null)};_.M(WVc,_.P);WVc.prototype.V=function(){return _.F(this,1)};
WVc.prototype.W=function(){return _.y(this,2)};_.JQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.JQ,_.P);_.g=_.JQ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Oga=function(){return _.y(this,3)};_.g.Ps=function(){return _.y(this,4)};_.g.FY=function(){return _.C(this,WVc,6)};_.g.cZa=function(){return _.C(this,_.VVc,7)};_.g.fza=function(){return _.y(this,8)};
_.g.Nga=function(){return _.F(this,9)};var KQ=function(a,b){_.Qg.call(this,"Ib");this.error=a;this.LD=b};_.I(KQ,_.Qg);var XVc=function(a,b,c){this.H=-1;this.V=a;this.H=c||a.H||16;this.ha=Array(this.H);this.W=Array(this.H);a=b;a.length>this.H&&(this.V.update(a),a=this.V.digest(),this.V.reset());for(c=0;c<this.H;c++)b=c<a.length?a[c]:0,this.ha[c]=b^92,this.W[c]=b^54;this.V.update(this.W)};_.M(XVc,_.sDc);XVc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
XVc.prototype.update=function(a,b){this.V.update(a,b)};XVc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};var YVc=function(){this.H=64;this.V=[];this.ma=[];this.ta=[];this.ka=[];this.ka[0]=128;for(var a=1;a<this.H;++a)this.ka[a]=0;this.ha=this.W=0;this.reset()};_.M(YVc,_.sDc);
YVc.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.V[4]=3285377520;this.ha=this.W=0};
var ZVc=function(a,b,c){c||(c=0);var d=a.ta;if("string"===typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.V[0];c=a.V[1];var h=a.V[2],k=a.V[3],l=a.V[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var n=1518500249}else f=c^h^k,n=1859775393;else 60>e?(f=c&h|k&(c|h),n=2400959708):
(f=c^h^k,n=3395469782);f=(b<<5|b>>>27)+f+l+n+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+c&4294967295;a.V[2]=a.V[2]+h&4294967295;a.V[3]=a.V[3]+k&4294967295;a.V[4]=a.V[4]+l&4294967295};
YVc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.H,d=0,e=this.ma,f=this.W;d<b;){if(0==f)for(;d<=c;)ZVc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){ZVc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){ZVc(this,e);f=0;break}}this.W=f;this.ha+=b}};
YVc.prototype.digest=function(){var a=[],b=8*this.ha;56>this.W?this.update(this.ka,56-this.W):this.update(this.ka,this.H-(this.W-56));for(var c=this.H-1;56<=c;c--)this.ma[c]=b&255,b/=256;ZVc(this,this.ma);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.V[c]>>d&255,++b;return a};var LQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(LQ,_.P);LQ.prototype.getId=function(){return _.y(this,1)};LQ.prototype.kc=function(a){return _.x(this,1,a)};LQ.prototype.PC=function(){return _.y(this,3)};
LQ.prototype.we=function(){return _.y(this,4)};var $Vc=[2,4],MQ=function(a){_.Q(this,a,0,-1,$Vc,null)};_.M(MQ,_.P);MQ.prototype.Fb=function(){return _.y(this,1)};MQ.prototype.Dc=function(a){return _.x(this,1,a)};MQ.prototype.Pj=function(){return _.y(this,3)};var aWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(aWc,_.P);var bWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(bWc,_.P);bWc.prototype.Fb=function(){return _.y(this,1)};bWc.prototype.Dc=function(a){return _.x(this,1,a)};
var cWc=[4,9],dWc=function(a){_.Q(this,a,0,-1,cWc,null)};_.M(dWc,_.P);_.g=dWc.prototype;_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.xza=function(){return _.y(this,2)};_.g.fxa=function(){return _.y(this,3)};_.g.CZa=function(){return _.vj(this,_.gN,4)};var eWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(eWc,_.P);eWc.prototype.gr=function(){return _.C(this,HQc,1)};eWc.prototype.Jm=function(){return _.y(this,2)};var NQ=function(a){_.Q(this,a,0,-1,null,null)};
_.M(NQ,_.P);NQ.prototype.Fb=function(){return _.y(this,1)};NQ.prototype.Dc=function(a){return _.x(this,1,a)};NQ.prototype.Pj=function(){return _.y(this,3)};var OQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(OQ,_.P);OQ.prototype.Fb=function(){return _.y(this,1)};OQ.prototype.Dc=function(a){return _.x(this,1,a)};OQ.prototype.qY=function(){return _.C(this,_.ok,2)};OQ.prototype.Pj=function(){return _.y(this,3)};var fWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(fWc,_.P);_.g=fWc.prototype;
_.g.Fb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.Pj=function(){return _.y(this,2)};_.g.gxa=function(){return _.C(this,_.$n,3)};_.g.getKey=function(){return _.C(this,_.Ra,4)};var gWc={Vzb:0,bvb:1,evb:2,OTHER:3,cvb:4},XNc=function(a){_.Q(this,a,0,-1,null,null)};_.M(XNc,_.P);XNc.prototype.getUrl=function(){return _.y(this,1)};var FP=function(a){_.Q(this,a,0,-1,null,null)};_.M(FP,_.P);var WNc=function(a,b){return _.x(a,1,b)};
FP.prototype.getName=function(){return _.y(this,2)};FP.prototype.wd=function(a){return _.x(this,2,a)};FP.prototype.getEmail=function(){return _.y(this,3)};FP.prototype.bB=function(){return null!=_.y(this,3)};var hWc=[1],iWc=function(a){_.Q(this,a,0,-1,hWc,null)};_.M(iWc,_.P);iWc.prototype.Jo=function(){return _.vj(this,FP,1)};var jWc=function(a,b){return _.yj(a,1,b)},kWc=[2],PQ=function(a){_.Q(this,a,0,-1,kWc,null)};_.M(PQ,_.P);PQ.prototype.Fb=function(){return _.y(this,1)};
PQ.prototype.Dc=function(a){return _.x(this,1,a)};PQ.prototype.Ri=function(){return _.vj(this,_.WB,2)};var lWc=function(a,b){return _.yj(a,2,b)};PQ.prototype.Pj=function(){return _.y(this,3)};var mWc=[[2,4,6,10],[3,5,7,8,9]],nWc=[1],oWc=function(a){_.Q(this,a,0,-1,null,mWc)};_.M(oWc,_.P);var pWc=function(a){_.Q(this,a,0,-1,nWc,null)};_.M(pWc,_.P);oWc.prototype.getKey=function(){return _.y(this,1)};var qWc=[2],QQ=function(a){_.Q(this,a,0,-1,qWc,null)};_.M(QQ,_.P);
QQ.prototype.Fb=function(){return _.y(this,1)};QQ.prototype.Dc=function(a){return _.x(this,1,a)};QQ.prototype.V=function(){return _.vj(this,XP,2)};var rWc=function(a,b){return _.yj(a,2,b)};QQ.prototype.Pj=function(){return _.y(this,3)};var RQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(RQ,_.P);RQ.prototype.Fb=function(){return _.y(this,1)};RQ.prototype.Dc=function(a){return _.x(this,1,a)};RQ.prototype.V=function(){return _.C(this,XP,2)};RQ.prototype.Pj=function(){return _.y(this,3)};
var sWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(sWc,_.P);sWc.prototype.EF=function(){return _.y(this,2)};_.tWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.tWc,_.P);_.g=_.tWc.prototype;_.g.Gc=function(){return _.y(this,1)};_.g.Fb=function(){return _.y(this,2)};_.g.Dc=function(a){return _.x(this,2,a)};_.g.getError=function(){return _.C(this,_.ob,3)};_.g.Te=function(a){return _.R(this,3,a)};_.g.jo=function(){return null!=_.y(this,3)};var uWc=[1],vWc=function(a){_.Q(this,a,0,-1,uWc,null)};
_.M(vWc,_.P);_.SQ=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.SQ,_.P);_.SQ.prototype.Fb=function(){return _.y(this,1)};_.SQ.prototype.Dc=function(a){return _.x(this,1,a)};_.TQ=function(a){return _.C(a,_.lC,2)};_.wWc=function(a,b){return _.R(a,2,b)};_.SQ.prototype.Pj=function(){return _.y(this,3)};var xWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(xWc,_.P);var yWc=function(a,b){return _.x(a,1,b)},zWc=[1],AWc=function(a){_.Q(this,a,0,-1,zWc,null)};_.M(AWc,_.P);
BWc=function(a,b){return _.x(a,1,b||[])};_.dOc=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.dOc,_.P);_.g=_.dOc.prototype;_.g.getItem=function(){return _.C(this,_.vm,1)};_.g.setItem=function(a){return _.R(this,1,a)};_.g.getError=function(){return _.C(this,_.ob,2)};_.g.Te=function(a){return _.R(this,2,a)};_.g.jo=function(){return null!=_.y(this,2)};_.g.Sr=function(){return _.y(this,4)};var CWc=[1],DWc=function(a){_.Q(this,a,0,-1,CWc,null)};_.M(DWc,_.P);
var EWc=[2],UQ=function(a){_.Q(this,a,0,-1,EWc,null)};_.M(UQ,_.P);UQ.prototype.Fb=function(){return _.y(this,1)};UQ.prototype.Dc=function(a){return _.x(this,1,a)};UQ.prototype.Pj=function(){return _.y(this,3)};var FWc=function(a){_.Q(this,a,0,-1,null,null)};_.M(FWc,_.P);var GWc=[1],HWc=function(a){_.Q(this,a,0,-1,GWc,null)};_.M(HWc,_.P);HWc.prototype.V=function(){return _.y(this,2)};var IWc=function(a,b){_.x(a,2,b)},JWc=function(a,b){this.V=a|0;this.H=b|0};
JWc.prototype.equals=function(a){return this===a?!0:a instanceof JWc?this.V===a.V&&this.H===a.H:!1};JWc.prototype.yc=function(){return 31*this.V+17*this.H|0};
var KWc=function(a,b){return new JWc(a,b)},LWc=function(a,b){b=~b;a?a=~a+1:b+=1;return KWc(a,b)},MWc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?LWc:KWc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},NWc=function(){this.H=this.ha=this.V=this.W=null},OWc=function(a){var b=new _.cj;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.dj(b,1,1);var e=b.H;KP(e,c);KP(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.dj(b,2,1),e=b.H,KP(e,c),KP(e,d));c=a.ha;null!=c&&(_.dj(b,3,5),KP(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.dj(b,4,1),d=b.H,KP(d,c),KP(d,a));return _.ej(b)},PWc=function(a,b,c){this.id=a;this.V=b;this.H=c},QWc=function(a,b){return new PWc((a?a:b).getId(),a,b)},RWc=function(a,b){return new PWc(a.getId(),a,b)},VQ=function(a){return new PWc(a.getId(),null,a)},SWc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},TWc={LIMITED:1,UNLIMITED:2},NNc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},PNc={ovb:0,mrb:1},UWc=function(a,b){this.V=a;this.H=b},WWc=function(a,b){_.kP(["drive#about"],b);var c=
new _.SQ,d=new _.lC;if(b.user){var e=_.lP(a.V,b.user);_.R(d,1,e)}a=VWc(a,b);a=dQc(cQc(_.bQc(new _.Wmb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.fQc(a,_.ZPc(_.YPc((new _.kC).Dc(SWc[e.status]),Number(e.trialMillisRemaining)),_.mP(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.gQc(a,_.aQc(_.$Pc(new _.Vmb,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&eQc(a,b.importFormats.map(function(f){var h=new _.XPc;
h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.R(d,3,a);_.wWc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},VWc=function(a,b){var c=new _.L3a;c=_.x(c,1,Number(b.quotaBytesTotal));c=_.x(c,2,Number(b.quotaBytesUsed));c=_.x(c,3,Number(b.quotaBytesUsedAggregate));c=_.x(c,4,Number(b.quotaBytesUsedInTrash));c=_.QPc(_.PPc(c,ONc(b.quotaBytesByService||[])),TWc[b.quotaType]);if(_.A(a.H,5,!1)){a=_.SPc(_.RPc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-
Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-QNc(b);a=_.x(a,9,d);a=_.TPc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));d=Number(b.quotaBytesTotal);-1==d?d=1:(d=Number(b.quotaBytesUsedAggregate)/d*100,d=100<=d?6:95<=d?5:90<=d?4:80<=d?3:70<=d?2:0<=d?1:0);_.x(a,13,d);b.graceQuotaInfo&&b.graceQuotaInfo.CBb&&(a=new VPc,d=_.I3a(new Date(b.graceQuotaInfo.endDateMillis)),a=_.R(a,1,d),b=_.x(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),
_.R(c,12,b));b=c}else b=c;return b},XWc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},YWc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},ZWc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},$Wc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},aXc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},bXc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},cXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},dXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},eXc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},fXc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},gXc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},hXc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},iXc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},jXc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},kXc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},lXc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},mXc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},nXc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},oXc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},pXc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},qXc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},rXc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},sXc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},WQ=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.H3a((new _.Nx).setSeconds(a),b)},tXc=function(a){var b=new _.tQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":c=WQ(d);_.R(b,1,c);break;case "endTime":b.Hv(WQ(d))}}return b},uXc=function(a){var b=new kTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "title":b.setTitle(d)}}return b},vXc=function(a){var b=new _.pTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;
switch(c){case "type":_.sj(b,6,YWc[d])}}return b},wXc=function(a){var b=new _.qTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.rj(b,1,d);break;case "targetMimeType":_.rj(b,2,d)}}return b},xXc=function(a){var b=new _.kQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new jQ;d=_.p(Object.entries(d));for(var e=
d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.wd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new oTc;_.xj(e,8,rTc[0],f);break;case "driveFolder":e=vXc(f);_.xj(c,9,rTc[0],e);break;case "driveShortcut":e=wXc(f),_.xj(c,10,rTc[0],e)}}_.xj(b,1,sTc[0],c);break;case "drive":c=uXc(d),_.xj(b,3,sTc[0],c)}}return b},yXc=function(a){return a.map(function(b){return xXc(b)})},zXc=function(a){var b=new _.jTc;a=_.p(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "legacyId":_.rj(b,3,d);break;case "audienceDisplayName":_.rj(b,4,d)}}return b},XQ=function(a){var b=new _.OSc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.fQ;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;
switch(e){case "personName":_.rj(c,1,f);break;case "isCurrentUser":_.qj(c,2,f);break;case "displayName":_.rj(c,3,f);break;case "photoUrl":c.ws(f)}}_.xj(b,2,_.MSc[0],c);break;case "unknownUser":c=new PSc;_.xj(b,4,_.MSc[0],c);break;case "deletedUser":c=new _.NSc,_.xj(b,3,_.MSc[0],c)}}return b},AXc=function(a){return a.map(function(b){return XQ(b)})},BXc=function(a){var b=new _.ZTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=
XQ(d);_.xj(b,1,_.qQ[0],c);break;case "anonymous":c=new WTc;_.xj(b,2,_.qQ[0],c);break;case "impersonation":c=new _.XTc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=XQ(f),_.R(c,1,e)}}_.xj(b,3,_.qQ[0],c);break;case "system":c=new _.YTc;d=_.p(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.p(e.value),e=f.next().value,f=f.next().value,e){case "type":_.sj(c,1,ZWc[f])}_.xj(b,4,_.qQ[0],
c);break;case "administrator":c=new _.VTc,_.xj(b,5,_.qQ[0],c)}}return b},CXc=function(a){return a.map(function(b){return BXc(b)})},DXc=function(a){var b=new iQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.wd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.rj(b,6,d);break;case "version":_.pj(b,5,d);break;case "owner":c=new mTc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=
_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=zXc(f);_.R(c,3,e);break;case "user":e=XQ(f);_.xj(c,1,lTc[0],e);break;case "drive":e=uXc(f),_.xj(c,4,lTc[0],e)}}_.R(b,7,c);break;case "driveFile":c=new oTc;_.xj(b,8,nTc[0],c);break;case "driveFolder":c=vXc(d);_.xj(b,9,nTc[0],c);break;case "driveShortcut":c=wXc(d),_.xj(b,10,nTc[0],c)}}return b},EXc=function(a){var b=new _.sQ;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;
switch(c){case "driveItem":c=DXc(d);_.xj(b,1,_.rQ[0],c);break;case "drive":c=new _.aUc;d=_.p(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.wd(f);break;case "title":c.setTitle(f);break;case "root":e=DXc(f),_.R(c,3,e)}}_.xj(b,5,_.rQ[0],c);break;case "fileComment":c=new _.bUc;d=_.p(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.p(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.rj(c,
1,f);break;case "legacyDiscussionId":_.rj(c,2,f);break;case "linkToDiscussion":_.rj(c,3,f);break;case "parent":c.Jg(DXc(f))}_.xj(b,3,_.rQ[0],c)}}return b},FXc=function(a){return a.map(function(b){return EXc(b)})},GXc=function(a){var b=new _.GTc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.sj(b,1,sXc[d])}}return b},HXc=function(a){return a.map(function(b){var c=new _.nQ;b=_.p(Object.entries(b));for(var d=
b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "role":_.sj(c,1,bXc[e]);break;case "user":d=XQ(e);_.xj(c,2,_.mQ[0],d);break;case "group":d=new _.lQ;e=_.p(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.p(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.rj(d,1,h);break;case "title":d.setTitle(h)}}_.xj(c,3,_.mQ[0],d);break;case "domain":d=zXc(e);_.xj(c,4,_.mQ[0],d);break;case "anyone":d=new ITc;_.xj(c,5,_.mQ[0],d);
break;case "allowDiscovery":_.qj(c,6,e)}}return c})},IXc=function(a){var b=new HSc;a=_.p(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "description":b.ol(d);break;case "url":_.rj(b,2,d)}}return b},JXc=function(a){return a.map(function(b){var c=new _.QTc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.sj(c,1,lXc[e]);break;case "newRestriction":_.sj(c,
2,mXc[e])}}return c})},KXc=function(a){return a.map(function(b){var c=new YSc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=XQ(e);_.R(c,3,d);break;case "addedReviewer":d=XQ(e),_.R(c,4,d)}}return c})},LXc=function(a){return a.map(function(b){return pXc[b]})},MXc=function(a){return a.map(function(b){var c=new bTc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);
d=e.next().value;e=e.next().value;switch(d){case "publishedCategoryName":_.rj(c,1,e);break;case "types":d=LXc(e),_.x(c,2,d||[])}}return c})},NXc=function(a){return a.map(function(b){return qXc[b]})},OXc=function(a){return a.map(function(b){var c=new KSc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Id(e);break;case "types":d=NXc(e),_.x(c,2,d||[])}}return c})},PXc=function(a){var b=new MTc;a=_.p(Object.entries(a));
for(var c=a.next();!c.done;c=a.next()){var d=_.p(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.sj(b,1,rXc[d]);break;case "signinRequired":_.qj(b,2,d);break;case "publishedTime":c=WQ(d),_.R(b,3,c)}}return b},QXc=function(a){for(var b=new _.pQ,c=_.p(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.p(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.xTc,l=_.p(Object.entries(h)),n=l.next();!n.done;n=l.next()){var q=_.p(n.value),t=q.next().value,
v=q.next().value;switch(t){case "new":var z=k,B=new uTc;_.xj(z,1,_.tTc[0],B);break;case "upload":var E=k,L=new vTc;_.xj(E,2,_.tTc[0],L);break;case "copy":for(var J=v,X=new _.wTc,T=_.p(Object.entries(J)),la=T.next();!la.done;la=T.next()){var Fa=_.p(la.value),Da=Fa.next().value,Aa=Fa.next().value;switch(Da){case "originalObject":var pa=xXc(Aa);_.R(X,1,pa)}}_.xj(k,3,_.tTc[0],X)}}_.xj(b,1,_.oQ[0],k);break;case "edit":var Va=new CTc;_.xj(b,2,_.oQ[0],Va);break;case "move":for(var xb=new _.HTc,Xb=_.p(Object.entries(h)),
yb=Xb.next();!yb.done;yb=Xb.next()){var fc=_.p(yb.value),Kc=fc.next().value,re=fc.next().value;switch(Kc){case "addedParents":var dg=yXc(re);_.yj(xb,1,dg);break;case "removedParents":var Ae=yXc(re);_.yj(xb,2,Ae);break;case "fromOwnershipTransfer":_.qj(xb,3,re);break;case "reparents":var rf=re.map(GXc);_.yj(xb,4,rf)}}_.xj(b,3,_.oQ[0],xb);break;case "rename":for(var Og=new _.NTc,wg=_.p(Object.entries(h)),Pc=wg.next();!Pc.done;Pc=wg.next()){var Ei=_.p(Pc.value),sf=Ei.next().value,Gg=Ei.next().value;
switch(sf){case "oldTitle":_.rj(Og,1,Gg);break;case "newTitle":_.rj(Og,2,Gg)}}_.xj(b,4,_.oQ[0],Og);break;case "delete":for(var Bb=new _.ATc,Mh=_.p(Object.entries(h)),Qk=Mh.next();!Qk.done;Qk=Mh.next()){var ni=_.p(Qk.value),rl=ni.next().value,wj=ni.next().value;switch(rl){case "type":_.sj(Bb,1,$Wc[wj])}}_.xj(b,5,_.oQ[0],Bb);break;case "restore":for(var mg=new _.OTc,Bh=_.p(Object.entries(h)),lm=Bh.next();!lm.done;lm=Bh.next()){var cq=_.p(lm.value),sl=cq.next().value,tl=cq.next().value;switch(sl){case "type":_.sj(mg,
1,aXc[tl])}}_.xj(b,6,_.oQ[0],mg);break;case "permissionChange":for(var Ij=new _.KTc,Nn=_.p(Object.entries(h)),dq=Nn.next();!dq.done;dq=Nn.next()){var nk=_.p(dq.value),eq=nk.next().value,ul=nk.next().value;switch(eq){case "addedPermissions":var Po=HXc(ul);_.yj(Ij,1,Po);break;case "removedPermissions":var Qo=HXc(ul);_.yj(Ij,2,Qo);break;case "resharedPermissions":var On=HXc(ul);_.yj(Ij,3,On);break;case "otherActivePermissions":var Vm=HXc(ul);_.yj(Ij,4,Vm)}}_.xj(b,7,_.oQ[0],Ij);break;case "comment":for(var Hg=
new _.iTc,Ve=_.p(Object.entries(h)),jd=Ve.next();!jd.done;jd=Ve.next()){var Ro=_.p(jd.value),Xh=Ro.next().value,Ui=Ro.next().value;switch(Xh){case "post":for(var rv=Ui,lr=new _.fTc,ts=_.p(Object.entries(rv)),us=ts.next();!us.done;us=ts.next()){var vs=_.p(us.value),Pn=vs.next().value,Yt=vs.next().value;switch(Pn){case "subtype":_.sj(lr,1,cXc[Yt])}}_.xj(Hg,1,_.eTc[0],lr);break;case "assignment":for(var So=Ui,ch=new _.gTc,Jj=_.p(Object.entries(So)),Qn=Jj.next();!Qn.done;Qn=Jj.next()){var Yh=_.p(Qn.value),
To=Yh.next().value,Zt=Yh.next().value;switch(To){case "subtype":_.sj(ch,1,dXc[Zt]);break;case "assignedUser":var ws=XQ(Zt);_.R(ch,7,ws)}}_.xj(Hg,2,_.eTc[0],ch);break;case "suggestion":for(var mr=Ui,fq=new _.hTc,Uo=_.p(Object.entries(mr)),Rk=Uo.next();!Rk.done;Rk=Uo.next()){var xs=_.p(Rk.value),$t=xs.next().value,Wm=xs.next().value;switch($t){case "subtype":_.sj(fq,1,eXc[Wm])}}_.xj(Hg,3,_.eTc[0],fq);break;case "mentionedUsers":var gq=AXc(Ui);_.yj(Hg,7,gq)}}_.xj(b,8,_.oQ[0],Hg);break;case "dlpChange":for(var ys=
new _.zTc,zs=_.p(Object.entries(h)),nr=zs.next();!nr.done;nr=zs.next()){var As=_.p(nr.value),sv=As.next().value,Bs=As.next().value;switch(sv){case "type":_.sj(ys,1,fXc[Bs])}}_.xj(b,9,_.oQ[0],ys);break;case "view":for(var Vo=new UTc,Cs=_.p(Object.entries(h)),Ds=Cs.next();!Ds.done;Ds=Cs.next()){var au=_.p(Ds.value),Es=au.next().value,Xm=au.next().value;switch(Es){case "type":_.sj(Vo,1,gXc[Xm]);break;case "viewHistoryVisibility":for(var gx=Xm,Be=new TTc,hq=_.p(Object.entries(gx)),hx=hq.next();!hx.done;hx=
hq.next()){var oz=_.p(hx.value),JO=oz.next().value,iq=oz.next().value;switch(JO){case "domainPolicyVisibilityState":_.sj(Be,1,hXc[iq]);break;case "namedPartyState":_.sj(Be,2,iXc[iq])}}_.R(Vo,2,Be)}}_.xj(b,10,_.oQ[0],Vo);break;case "download":for(var tv=new BTc,bu=_.p(Object.entries(h)),uv=bu.next();!uv.done;uv=bu.next()){var Ym=_.p(uv.value),OF=Ym.next().value,PF=Ym.next().value;switch(OF){case "type":_.sj(tv,1,jXc[PF])}}_.xj(b,11,_.oQ[0],tv);break;case "reference":for(var ix=new _.eQ,pz=_.p(Object.entries(h)),
jC=pz.next();!jC.done;jC=pz.next()){var QF=_.p(jC.value),s6=QF.next().value,t6=QF.next().value;switch(s6){case "type":_.sj(ix,1,kXc[t6]);break;case "context":ix.Xj(IXc(t6))}}_.xj(b,12,_.oQ[0],ix);break;case "settingsChange":for(var DX=new _.RTc,wja=_.p(Object.entries(h)),EX=wja.next();!EX.done;EX=wja.next()){var Gbb=_.p(EX.value),pka=Gbb.next().value,c_b=Gbb.next().value;switch(pka){case "restrictionChanges":var d_b=JXc(c_b);_.yj(DX,1,d_b)}}_.xj(b,13,_.oQ[0],DX);break;case "approvalChange":for(var Uv=
new _.USc,Hbb=_.p(Object.entries(h)),aIa=Hbb.next();!aIa.done;aIa=Hbb.next()){var Ibb=_.p(aIa.value),e_b=Ibb.next().value,EG=Ibb.next().value;switch(e_b){case "approvalName":_.rj(Uv,2,EG);break;case "approvalEventNames":_.x(Uv,3,EG||[]);break;case "initiator":var f_b=XQ(EG);_.R(Uv,4,f_b);break;case "reviewers":var bIa=AXc(EG);_.yj(Uv,5,bIa);break;case "status":Uv.Dc(nXc[EG]);break;case "dueTime":var cIa=WQ(EG);_.R(Uv,7,cIa);break;case "approvalRequested":var g_b=Uv,Jbb=new RSc;_.xj(g_b,8,_.gQ[0],
Jbb);break;case "approvalCancelled":var h_b=Uv,i_b=new SSc;_.xj(h_b,9,_.gQ[0],i_b);break;case "reviewerResponded":for(var j_b=EG,qka=new _.TSc,rka=_.p(Object.entries(j_b)),dIa=rka.next();!dIa.done;dIa=rka.next()){var V6=_.p(dIa.value),k_b=V6.next().value,Kbb=V6.next().value;switch(k_b){case "reviewerDecision":_.sj(qka,1,oXc[Kbb])}}_.xj(Uv,10,_.gQ[0],qka);break;case "commentAdded":var l_b=Uv,m_b=new VSc;_.xj(l_b,11,_.gQ[0],m_b);break;case "reviewersChanged":for(var n_b=EG,Lbb=new XSc,ska=_.p(Object.entries(n_b)),
tka=ska.next();!tka.done;tka=ska.next()){var Mbb=_.p(tka.value),o_b=Mbb.next().value,p_b=Mbb.next().value;switch(o_b){case "reviewerChanges":var q_b=KXc(p_b);_.yj(Lbb,1,q_b)}}_.xj(Uv,12,_.gQ[0],Lbb);break;case "dueTimeChanged":for(var r_b=EG,Nbb=new ZSc,bsd=_.p(Object.entries(r_b)),s_b=bsd.next();!s_b.done;s_b=bsd.next()){var csd=_.p(s_b.value),jyf=csd.next().value,kyf=csd.next().value;switch(jyf){case "oldDueTime":var lyf=WQ(kyf);_.R(Nbb,1,lyf)}}_.xj(Uv,13,_.gQ[0],Nbb)}}_.xj(b,18,_.oQ[0],Uv);break;
case "lock":var myf=new ETc;_.xj(b,15,_.oQ[0],myf);break;case "unlock":var nyf=new STc;_.xj(b,16,_.oQ[0],nyf);break;case "categoryMetadataChange":for(var dsd=new _.cTc,esd=_.p(Object.entries(h)),t_b=esd.next();!t_b.done;t_b=esd.next()){var fsd=_.p(t_b.value),oyf=fsd.next().value,pyf=fsd.next().value;switch(oyf){case "changes":var qyf=MXc(pyf);_.yj(dsd,1,qyf)}}_.xj(b,17,_.oQ[0],dsd);break;case "appliedLabelChange":for(var gsd=new _.LSc,hsd=_.p(Object.entries(h)),u_b=hsd.next();!u_b.done;u_b=hsd.next()){var isd=
_.p(u_b.value),ryf=isd.next().value,syf=isd.next().value;switch(ryf){case "changes":var tyf=OXc(syf);_.yj(gsd,1,tyf)}}_.xj(b,19,_.oQ[0],gsd);break;case "publishChange":for(var v_b=new LTc,jsd=_.p(Object.entries(h)),w_b=jsd.next();!w_b.done;w_b=jsd.next()){var ksd=_.p(w_b.value),uyf=ksd.next().value,lsd=ksd.next().value;switch(uyf){case "oldPublishState":var vyf=PXc(lsd);_.R(v_b,1,vyf);break;case "newPublishState":var wyf=PXc(lsd);_.R(v_b,2,wyf)}}_.xj(b,20,_.oQ[0],v_b);break;case "linkShareMetadataChange":for(var msd=
new DTc,nsd=_.p(Object.entries(h)),x_b=nsd.next();!x_b.done;x_b=nsd.next()){var osd=_.p(x_b.value),xyf=osd.next().value,yyf=osd.next().value;switch(xyf){case "securityUpdateEnabled":_.qj(msd,1,yyf)}}_.xj(b,21,_.oQ[0],msd)}}return b},RXc=function(a){return a.map(function(b){var c=new _.eUc;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=QXc(e);_.R(c,1,d);break;case "source":d=new $Tc;e=_.p(Object.entries(e));
for(var f=e.next();!f.done;f=e.next()){var h=_.p(f.value);f=h.next().value;h=h.next().value;switch(f){case "type":_.sj(d,2,XWc[h]);break;case "appId":_.rj(d,1,h)}}_.R(c,2,d);break;case "actor":d=BXc(e);_.R(c,3,d);break;case "target":d=EXc(e);_.R(c,4,d);break;case "timestamp":d=WQ(e);_.xj(c,5,dUc[0],d);break;case "timeRange":d=tXc(e),_.xj(c,6,dUc[0],d)}}return c})},SXc=function(a){return a.map(function(b){var c=new _.uQ;b=_.p(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.p(d.value);
d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=QXc(e);_.R(c,2,d);break;case "actors":d=CXc(e);_.yj(c,3,d);break;case "actions":d=RXc(e);_.yj(c,4,d);break;case "targets":d=FXc(e);_.yj(c,5,d);break;case "timestamp":d=WQ(e);_.xj(c,6,gUc[0],d);break;case "timeRange":d=tXc(e),_.xj(c,7,gUc[0],d)}}return c})},TXc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},UXc={application:1,document:2,documentShared:3},VXc=function(a){var b=new _.rSc;b=_.x(b,3,a.iconUrl).setSize(a.size);
a.category&&_.x(b,1,UXc[a.category]);return b},WXc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.sSc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},XXc=function(a){_.kP(["drive#app"],a);var b=(new _.bQ).kc(a.id);b=_.x(b,3,a.useByDefault).wd(a.name);b=_.x(b,7,a.openUrlTemplate);b=xSc(wSc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.x(b,8,a.createUrl);b=_.x(b,9,a.createInFolderTemplate);b=_.x(b,10,a.objectType);b=_.x(b,11,a.supportsCreate);b=_.x(b,12,a.supportsImport);
b=_.x(b,13,a.supportsMultiOpen);b=_.x(b,27,a.supportsOfflineCreate);b=_.x(b,14,a.installed);b=_.x(b,15,a.authorized);b=_.x(b,16,a.productUrl);b=_.x(b,17,a.primaryFileExtensions||[]);b=_.x(b,18,a.secondaryFileExtensions||[]);b=_.x(b,19,a.shortDescription);b=_.x(b,20,a.longDescription);b=_.x(b,21,a.productId);b=_.x(b,22,a.removable);b=_.x(b,23,TXc[a.type]);b=_.x(b,25,a.hasAppData);b=_.x(b,26,a.appDataQuotaBytesUsed);b=_.x(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.x(b,30,a.hasDriveWideScope);b=
_.x(b,31,a.driveSource);b=_.x(b,32,a.driveBranded);b=_.x(b,33,a.hidden);b=_.x(b,34,a.supportsMobileBrowser);b=_.x(b,35,a.supportsTeamDrives);b=_.x(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++)d.push(VXc(c[e]));_.yj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.x(b,24,d||[]);c=a.rankingInfo||{};a=new _.uSc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=WXc(c.mimeTypeScores||[]);_.yj(a,2,d);c=WXc(c.fileExtensionScores||[]);_.yj(a,3,c);_.R(b,29,
a);return b},YXc=function(a,b){var c=new NQ;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=XXc(a),_.R(b,2,a));return b},ZXc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},$Xc=function(a){var b=new UQ;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.JQ).kc(c.id).setTitle(c.title);d=_.x(d,3,_.mP(c.updateTime));d=_.x(d,4,ZXc[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.mP(c.expiryTime));d=_.x(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:
!1);if(1==d.Ps()){var e=new WVc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.R(d,6,c)}else 2==d.Ps()&&(e=new _.VVc,e=_.x(e,1,c.deviceName),e=_.x(e,2,c.deviceModelName),e=_.x(e,3,c.shouldIncludeSpecialSyncItems),c=_.x(e,4,c.deviceAndroidId),_.R(d,7,c));return d});_.yj(b,2,a);return b},aYc=function(a){var b=new DWc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.IQ).kc(c.id);d=_.x(d,1,pQc[c.type]).setTitle(c.title);d=_.x(d,4,c.iconUri);d=_.UVc(d.setSize(c.size),
_.mP(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).ol(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.yj(b,1,a);return b},bYc=function(a,b){this.H=a;this.V=b},cYc={read:2,write:3,comment:4},dYc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.zM((new _.vm).kc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.ln(_.YKc(c.userCapabilities));_.iP(b).includes(19)&&_.eIc(d,!0);_.ALc(a,d,_.iP(b));_.fIc(d,4);return d},eYc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;
a=_.AGc(_.zGc(_.yGc(new _.nta,a.timeUsec),a.serverIp),a.processId);return _.wkb(a)},fYc=function(a){return _.zHc((new _.ok).kc(a.id).wd(a.displayName),a.emailAddress).ws(a.photoUrl)},gYc=function(a){if(!a)return null;a=a.textSegment||[];return wOc(new _.jm,a.map(function(b){var c=(new _.Gsa).oh(b.text),d=b.link;if(d){var e=new _.Hsa;d=_.x(e,1,d.url)}else d=null;c=_.R(c,2,d);c=_.x(c,3,b.bold);return _.x(c,4,b.italic)}))},hYc=function(a){var b=AOc(new _.km,gYc(a.displayText)),c=a.primaryPerson,d=a.allPeople;
c?(c=fYc(c),_.xj(b,3,_.Jsa[0],c),BOc(b,[c])):d?(c=(d.person||[]).map(function(e){return fYc(e)}),d=zOc(c),_.xj(b,4,_.Jsa[0],d),BOc(b,c)):(c=(a.person||[]).map(function(e){return fYc(e)}),c.length&&(d=zOc(c),_.xj(b,4,_.Jsa[0],d),BOc(b,c)));_.x(b,5,_.mP(a.eventTime));COc(b,gYc(a.justificationDescription));return b},YQ=function(a){return(a=a.justification)?hYc(a):null},iYc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=rPc(new _.Qsa,YQ(a));qPc(b,(a.subAction||[]).map(function(c){var d=
new TOc;c.openDocument&&(c=new OP,_.xj(d,1,SOc[0],c));return d}));return b},jYc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=KPc(new _.cta,YQ(a));JPc(b,(a.subAction||[]).map(function(c){var d=new kPc;c.openDocument&&(c=new OP,_.xj(d,1,jPc[0],c));return d}));return b},kYc=function(a){a=a.documentTopicAction;if(!a)return null;var b=zPc(new _.Xsa,YQ(a));yPc(b,(a.subAction||[]).map(function(c){var d=new XOc;c.openDocument&&(c=new OP,_.xj(d,1,WOc[0],c));return d}));return b},lYc=function(a){a=
a.documentWorkspaceAction;if(!a)return null;var b=EPc(DPc(new aPc,a.workspaceId),YQ(a));CPc(b,(a.subAction||[]).map(function(c){var d=new cPc;c.addToWorkspace&&(c=new EOc,_.xj(d,1,bPc[0],c));return d}));return b},mYc=function(a){a=a.calendarEventAction;if(!a)return null;var b=pPc(oPc(nPc(new _.Osa,a.eventId),YQ(a)),a.guestCount);mPc(b,(a.subAction||[]).map(function(c){var d=new ROc;if(c.viewCalendarEvent){var e=new OOc;_.xj(d,1,QOc[0],e)}c.shareWithAttendees&&(e=new MOc,_.xj(d,2,QOc[0],e));c.present&&
(e=new GOc,_.xj(d,3,QOc[0],e));c.openDocument&&(c=new OP,_.xj(d,4,QOc[0],c));return d}));return b},nYc=function(a){return(a.justification||[]).map(function(b){return hYc(b)})},oYc=function(a){a=a.formResponseAction;if(!a)return null;var b=IPc(new _.ata,nYc(a));HPc(b,(a.subAction||[]).map(function(c){var d=new iPc;c.openDocument?(c=new OP,_.xj(d,1,hPc[0],c)):c.viewResponses&&(c=new POc,_.xj(d,2,hPc[0],c));return d}));return b},pYc=function(a){a=a.documentDocosAction;if(!a)return null;var b=tPc(new _.Ssa,
YQ(a));sPc(b,(a.subAction||[]).map(function(c){var d=new _.Tsa;c.reply?(c=new _.Msa,_.xj(d,1,_.nm[0],c)):c.resolve?(c=new JOc,_.xj(d,2,_.nm[0],c)):c.reassign?(c=new HOc,_.xj(d,3,_.nm[0],c)):c.acceptSuggestion?(c=new DOc,_.xj(d,4,_.nm[0],c)):c.rejectSuggestion?(c=new IOc,_.xj(d,5,_.nm[0],c)):c.openThread&&(c=new _.Lsa,_.xj(d,6,_.nm[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);uPc(b,gYc(a.anchorText));return b},qYc=function(a){a=a.documentShareAction;if(!a)return null;var b=xPc(new _.Vsa,
YQ(a));wPc(b,(a.subAction||[]).map(function(c){var d=new VOc;c.suggestedShare?(c=new NOc,_.xj(d,1,UOc[0],c)):c.responseToRequest&&(c=new KOc,_.xj(d,2,UOc[0],c));return d}));vPc(b,(a.sharee||[]).map(function(c){return fYc(c)}));_.x(b,3,cYc[a.shareeRole]);return b},rYc=function(a){a=a.documentViewAction;if(!a)return null;var b=BPc(new _.Zsa,nYc(a));APc(b,(a.subAction||[]).map(function(c){var d=new ZOc;c.open?d.jg(new OP):c.reviewEdits&&(c=new LOc,_.xj(d,2,YOc[0],c));return d}));return b},sYc=function(a){a=
a.emailViewAction;if(!a)return null;var b=GPc(new ePc,YQ(a));FPc(b,(a.subAction||[]).map(function(c){var d=new gPc;c.openEmail&&d.jg(new FOc);return d}));return b},tYc=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Ksa,e=pYc(c);e&&_.xj(d,2,_.mm[0],e);(e=rYc(c))&&lPc(d,e);(e=qYc(c))&&_.xj(d,4,_.mm[0],e);(e=sYc(c))&&_.xj(d,5,_.mm[0],e);(e=mYc(c))&&_.xj(d,6,_.mm[0],e);(e=lYc(c))&&_.xj(d,7,_.mm[0],e);(e=kYc(c))&&_.xj(d,8,_.mm[0],e);(e=jYc(c))&&_.xj(d,9,_.mm[0],e);(e=iYc(c))&&_.xj(d,
10,_.mm[0],e);(c=oYc(c))&&_.xj(d,11,_.mm[0],c);return d}):(a=YQ(a),a=BPc(new _.Zsa,[a]),[lPc(new _.Ksa,a)])},uYc={UNSPECIFIED_CLIENT:0,DEFAULT_CLIENT:102,QUICK_ACCESS_CLIENT:110,DRIVE_ZERO_STATE_SEARCH_CLIENT:113,DRIVE_PRIORITY:116,DRIVE_WORKSPACES_CLIENT:117,DRIVE_PEOPLE_CLIENT:118,DRIVE_PEOPLE_WITH_ACTIONS_CLIENT:119,DRIVE_WORKING_SET_CLIENT:122,SMART_TASKS_CLIENT:123},vYc=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=OPc(new _.Bm,a.map(function(c){return uYc[c]||0}));
if(b=b.eventId)b=_.AGc(_.zGc(_.yGc(new _.nta,b.timeUsec),b.serverIp),b.processId),_.R(a,2,b);return a},wYc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=ZMc(dYc(a,b,e),tYc(e)),d.push(e))});c=(new _.YB).gw(d).hI(eYc(c)).setSessionId(vYc(c));return _.UIc(new _.VO,c)},xYc=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=fYc(f.person).kc(h);(f.childItem||[]).forEach(function(l){e.some(function(t){return t.getId()==h})||e.push(k);
var n=l.itemId,q=d.find(function(t){return t.getId()==n});q||(q=dYc(a,b,l),d.push(q));l=NPc(MPc(LPc(new _.eta,k.clone()),l.predictionReason),l.url);_.zj(q,107,l,_.eta,void 0)})}});return fRc((new _.rP).gw(d),e).hI(eYc(c)).setSessionId(vYc(c))},yYc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.hta;f=_.x(f,2,e.predictionReason);e=dYc(a,b,e);e=_.R(e,100,f);d.push(e)}});c=(new _.YB).gw(d).hI(eYc(c)).setSessionId(vYc(c)).VW(c.suggestionSessionId);return _.UIc(new _.VO,
c)},zYc=function(a){return _.yHc(1).kc(a.personName.split("/")[1])},AYc=function(a){var b=(new pRc).jk(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},BYc=function(a){var b=new URc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},CYc=function(a){var b=new qRc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canWrite)},DYc=function(a){a=void 0===a?{}:a;var b=new yRc;b=_.x(b,1,a.minSize);return _.x(b,
2,a.maxSize)},EYc=function(a){var b=new rRc;b=_.x(b,1,a.trueLabel);return _.x(b,2,a.falseLabel)},FYc=function(a){var b=new zRc;b=_.x(b,1,a.maxEntries);a=DYc(a.options);return _.R(b,2,a)},GYc=function(a){var b=new tRc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canSelect)},HYc=function(a){var b=new vRc;wRc(b,(a.choices||[]).map(function(c){var d=(new uRc).Id(c.label).jc(c.value);c.capabilities&&d.ln(GYc(c.capabilities));c.displayHints&&(c=AYc(c.displayHints),_.R(d,4,c));return d}));return b},IYc=function(a){var b=
new xRc;b=_.x(b,1,a.maxEntries);a=HYc(a.options);return _.R(b,2,a)},JYc=function(a){var b=new BRc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},KYc=function(a){var b=new CRc;b=_.x(b,1,a.maxEntries);a=JYc(a.options);return _.R(b,2,a)},LYc=function(a){var b=new FRc;a=_.x(b,1,a.maxEntries);b=new ERc;return _.R(a,2,b)},MYc=function(a){var b=(new _.ima).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},NYc=function(a){var b=new GRc;b=_.x(b,4,a.dateFormat);
var c=MYc(a.minValue);b=_.R(b,2,c);a=MYc(a.maxValue);return _.R(b,3,a)},OYc={BOOLEAN:1,TEXT:2,TEXT_LIST:3,LONG_TEXT:4,SELECTION:5,SELECTION_LIST:6,INTEGER:7,INTEGER_LIST:8,USER_SCOPED:9,USER:10,USER_LIST:11,DATE:12,DATE_STRING:12},PYc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},QYc=function(a,b){this.H=a;this.V=b},SYc=function(a,b,c){_.kP(["drive#categoryMetadataList"],c);var d=new $P,e=Object.values(c.categoryMetadata||{});lSc(d,e.map(function(f){return RYc(a,
f,b.Gc())}));d.Dc(1);return new _.uP(d,KVc(c))},UYc=function(a,b){var c=new QQ;rWc(c,(b.categories||[]).map(function(d){return TYc(a,d)}));c.Dc(1);return new DUc(c,KVc(b))},RYc=function(a,b,c){_.kP(["drive#categoryMetadata"],b);c=SRc((new WP).wd(b.categoryName),c);b=Object.values(b.attributeValues||[]);RRc(c,b.map(function(d){return VYc(a,d)}).filter(function(d){return d}));return c},TYc=function(a,b){var c=WRc(VRc((new XP).wd(b.name),b.categoryName),b.latestName).setTitle(b.title).ol(b.description);
XRc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new HRc).kc(d.id);f=_.x(f,2,d.queryGuid);f=_.x(f,3,d.helpText);f=_.x(f,4,d.displayName);if(d.attributeDisplayHints){var h=AYc(d.attributeDisplayHints);_.R(f,5,h)}d.capabilities&&f.ln(CYc(d.capabilities));_.x(f,7,OYc[e]);d=d[PYc(e)+"Options"];return WYc(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&YRc(c,zYc(b.createdBy));b.updatedBy&&ZRc(c,zYc(b.updatedBy));b.publishedBy&&$Rc(c,zYc(b.publishedBy));_.x(c,9,_.mP(b.createTime));
_.x(c,10,_.mP(b.updateTime));_.x(c,11,_.mP(b.publishTime));b.displayHints&&aSc(c,AYc(b.displayHints));b.capabilities&&c.ln(BYc(b.capabilities));return c},VYc=function(a,b){_.kP(["drive#categoryAttributeValue"],b);var c=(new UP).kc(b.id);if(b.userScoped)b=Object.values(b.userScoped),PRc(c,b.map(function(d){_.kP(["drive#userScopedAttributeValue"],d);var e=new JRc,f=_.lP(a.H,d.scopedUser);e=_.R(e,1,f);return XYc(a,e,d)?e:null}).filter(function(d){return d})),c.fw(9);else if(!XYc(a,c,b))return null;return c},
WYc=function(a,b,c,d){return YYc(a,function(){ZYc(a)[c](b,d)},c,b)},XYc=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.fw(OYc[d]);return YYc(a,function(){$Yc(a)[d](b,c[c.valueType])},c.valueType)},YYc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof DRc))return MQc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},ZYc=function(a){return{BOOLEAN:function(b,c){return b.cJa(EYc(c))},
TEXT:function(b,c){return b.t1(DYc(c))},TEXT_LIST:function(b,c){return b.WJa(FYc(c))},LONG_TEXT:function(b,c){var d=new ARc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.xj(b,10,SP[0],c)},SELECTION:function(b,c){return b.HJa(HYc(c))},SELECTION_LIST:function(b,c){return b.GJa(IYc(c))},INTEGER:function(b,c){return b.pJa(JYc(c))},INTEGER_LIST:function(b,c){return b.oJa(KYc(c))},USER:function(b){return b.$Ja(new ERc)},USER_LIST:function(b,c){return b.eba(LYc(c))},DATE:function(b,c){return b.Saa(NYc(c))},
USER_SCOPED:function(b,c){var d=new DRc;d=_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,OYc[e]);c=c[PYc(e)+"Options"];WYc(a,d,e,c);return _.xj(b,16,SP[0],d)}}},$Yc=function(a){return{BOOLEAN:function(b,c){return b.rqa(c)},TEXT:function(b,c){return b.Oqa(c)},TEXT_LIST:function(b,c){return b.u1(c)},LONG_TEXT:function(b,c){return LRc(b,c)},SELECTION:function(b,c){return b.Gqa(c)},SELECTION_LIST:function(b,c){return b.s1(c)},INTEGER:function(b,c){return b.xqa(parseInt(c,10))},INTEGER_LIST:function(b,
c){return b.e1(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return MRc(b,_.lP(a.H,c))},USER_LIST:function(b,c){NRc(b,c.map(function(d){return _.lP(a.H,d)}))},DATE_STRING:function(b,c){return ORc(b,c)}}},aZc=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},bZc=function(a){a=a.personResponse;return jWc(new iWc,a.map(function(b){var c=b.person;b=WNc(new FP,b.personId).wd(aZc(c));var d=c;d=void 0===d?{}:d;d=d.email;b=_.x(b,3,d?d[0].value:"");c=void 0===
c?{}:c;c=c.photo?c.photo[0]:null;d=new XNc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.R(b,4,c)}))},cZc=function(a){this.H=a},eZc=function(a,b){_.kP(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return dZc(a,c)})},dZc=function(a,b){_.kP(["drive#teamDrive","drive#drive"],b);var c=new _.kta,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.x(c,2,d);_.x(c,1,b.backgroundImageLink);_.x(c,3,b.trusted);_.x(c,5,b.backgroundImageGridViewLink);_.x(c,6,b.backgroundImageListViewLink);
_.x(c,7,b.hidden);(d=b.categoryReferences)&&$Mc(c,d.map(function(e){_.kP(["drive#driveCategoryReference"],e);var f=new _.um;return _.x(f,1,e.category)}));c=_.jIc(_.iIc(_.fIc(_.gIc(iNc(_.zM((new _.vm).kc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.JHc(_.YKc(b.capabilities),!0),c.ln(d));b.permissionsSummary&&_.hIc(c,_.uLc(a.H,b.permissionsSummary));b.restrictions&&bNc(c,fZc(b.restrictions));return c},fZc=
function(a){var b=new _.ita;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},gZc=function(a){_.kP(["drive#setting"],a);var b=new _.Ra;b=_.x(b,2,a.key);b=_.x(b,1,_.aGc[a.namespace]);return _.Dva(new _.$n,b).jc(a.value)},hZc={active:1,archived:2},iZc=function(a){_.kP(["drive#workspace"],a);var b=(new _.WB).kc(a.id).setTitle(a.title);b=_.x(b,3,_.mP(a.createdDate));return _.x(b,4,_.mP(a.modifiedDate)).Od(hZc[a.state])},
jZc=function(a){_.kP(["drive#workspaceList"],a);var b=a.items||[];b=lWc(new PQ,b.map(function(c){return iZc(c)}));return new _.xP(b,KVc(a))},kZc=function(a,b,c){var d=c.item||[];return _.XFc(new _.jN,d.map(function(e){return dYc(a,b,e)})).setSessionId(vYc(c))},lZc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return CSc(ASc(BSc(zSc(new cQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return dYc(a,b,f)})),YQ(c))},mZc=function(a,b,c){var d=c.item||[];return FSc(new dQ,
d.map(function(e){return lZc(a,b,e)})).setSessionId(vYc(c))},nZc=function(a){var b=new oRc;a.kind&&(a=iZc(a),_.R(b,2,a));b.Dc(1);return b},oZc=function(a,b,c,d,e,f){this.W=a;this.Ba=b;this.wa=c;this.ta=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0},pZc=function(a){var b=new _.SQ;b.Dc(a.V);a.H&&_.wWc(b,a.H?_.Dj(a.H):null);return b},rZc=function(a,b,c,d){d=void 0===d?!1:d;var e=_.cGc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.$M(a.W)){var h=(h=b&&b.getUser())&&_.iG(h);h=!(!h||
!qZc(a.Ba,h));a.V=h&&e||d?1:6}f=!_.Cj(a.H,b)||(_.$M(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.$M(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Dj(b);_.$M(a.W)||(a.V=e||d?1:6);c&&(AQ(a.wa,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};oZc.prototype.Ne=function(){return this.ha};var sZc=function(){_.O.call(this);this.H=Date.now()};_.I(sZc,_.O);
var tZc=function(a){a.H=Date.now();a.dispatchEvent("Jb")},uZc=function(a){_.O.call(this);this.wa=a;this.ha=0};_.I(uZc,_.O);var vZc=function(a){a=_.Dj(a);var b=function(c){return c.toLowerCase()};wSc(a,_.y(a,4).map(b));xSc(a,_.y(a,5).map(b));return a};_.g=uZc.prototype;_.g.Ama=function(){};_.g.qEa=function(){};_.g.remove=function(){};_.g.zma=function(){};_.g.hy=function(){return 0!=this.ha};_.g.Ne=function(){return this.ha};
var wZc=function(a,b,c){uZc.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.I(wZc,uZc);wZc.prototype.Ama=function(){var a=new MQ;if(!_.gf(this.H)){_.x(a,4,this.V||[]);var b=[];_.$e(this.H,function(c){b.push(_.Dj(c))});_.yj(a,2,b)}a.Dc(this.W);return a};wZc.prototype.qEa=function(a){this.H[a.getId()]=vZc(a);this.ka.update(1);this.dispatchEvent(new _.Qg("Kb",this))};wZc.prototype.remove=function(a){_.hf(this.H,a)&&this.ka.update(1)};
wZc.prototype.zma=function(a,b,c){c=void 0===c?!1:c;var d=!_.dGc.has(b);1==this.W&&d||(this.ha=b,xZc(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),AQ(this.wa,"nVUlO")))};
var xZc=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.y(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.ya(f);d=f.length!=a.V.length}a.V=e;var h=_.kf(a.H);_.kN(a.H);b=_.vj(b,_.bQ,2);d||(d=b.length!=_.df(h));b.forEach(function(k){var l=vZc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Cj(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.Qg("Kb",a))},yZc=function(a,b,c){_.O.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.bm=this.ha=null;this.W=!1};_.I(yZc,_.O);var AZc=function(a){if(a.ha)return a.ha;var b=_.Sh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);zZc(a,b);return b.promise};yZc.prototype.wa=function(){1==this.H&&(BZc(this,"Became unauthenticated."),this.H=!1,this.W=!0,CZc(this))};yZc.prototype.Ba=function(){0==this.H&&(BZc(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.bm&&(_.m.clearTimeout(this.bm),this.bm=null),this.dispatchEvent(new nRc("ta")))};
var CZc=function(a){a.V||(a.V=new _.TLc(5E3),a.bm=_.m.setTimeout(function(){return DZc(a)},a.V.tb()))},DZc=function(a){zZc(a);a.V&&(_.DH(a.V),a.bm=_.m.setTimeout(function(){return DZc(a)},a.V.tb()))},zZc=function(a,b){_.Oh().then(function(){return EZc(a,b)})},EZc=function(a,b){BZc(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.fHc)});b?c.then(function(){b.resolve(yWc(new xWc,1))},function(d){var e=_.wN(d).qg;d=0;_.YEc(e)?(BZc(a,"Checked authentication state: unauthenticated."),
d=2):(BZc(a,"Checked authentication state: error occurred."),_.oq(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new xWc;yWc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.wN(d);_.YEc(d.qg)&&a.W&&(a.dispatchEvent(new nRc("ua")),a.W=!1)})},BZc=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},ZQ=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ba=0},$Q=function(a){a.V=!1;a.rEa()};_.g=ZQ.prototype;
_.g.dja=function(a,b){var c=this;if(5==this.oC(a))throw Error("jf");var d=[];_.Ga(this.ty(),function(e){HQ(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.p_=function(){return this.ty().length};_.g.hT=function(a){a=this.dja(a,void 0);a=EP(a);var b=new _.YB;b.gw(a);b.Dc(this.T8()?6:1);return b};_.g.update=function(a){var b=this.lD(a.V),c=this.lD(a.H);if(!b&&!c)return!1;b&&this.IW(a.V);c&&this.tka(a.H);return!0};_.g.oC=function(a){return this.V&&this.ha?uVc(a)?1:5:5};
_.g.bT=function(){this.ha=!0};_.g.lD=function(a){return!!a&&this.V};_.g.Pw=function(a){this.Ba=a};_.g.Ne=function(){return this.Ba};var aR=function(a,b,c,d,e,f){ZQ.call(this,a,b);this.Ja=c;this.hc=CQ(c,d,!0);this.H=[];this.ka={};this.W=!e;FZc(this,e);this.wa=(0,_.K)(this.ta.compare,this.ta,this.hc);this.Ga=f||""};_.I(aR,ZQ);_.g=aR.prototype;_.g.hd=function(){return this.hc};
_.g.tka=function(a){var b=this.ka[a.getId()];b&&this.IW(b);UMc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.hc.lh()&&(this.IW(_.ba(this.H)),this.W=!1)};_.g.IW=function(a){var b=this.H,c=_.Ba(b,a,this.wa);0<=c&&_.ma(b,c);_.hf(this.ka,a.getId());a.H--};_.g.rEa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.ty=function(){return this.H};_.g.oC=function(a){var b;if(b=this.Ja.equals(this.hc,a,!0))a=a.Oh(),b=this.hc.Oh(),b=gNc(b,a,!0);return b?this.W?1:6:5};
_.g.dja=function(a,b){if(5==this.oC(a))throw Error("jf");b=b?Math.min(b,this.H.length):this.H.length;return _.ua(this.H,0,b)};_.g.lD=function(a){if(!ZQ.prototype.lD.call(this,a)||!HQ(this.ma,this.hc,a.getItem()))return!1;if(this.W||_.A(this.hc,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.wa(a,b)};_.g.T8=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.Pz=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ea(a,function(e){return e.getId()==d.getId()})&&(b?(this.IW(d),FZc(this,_.ba(a))):this.W=!0);_.Ga(a,function(e){c.update(VQ(e))})};var FZc=function(a,b){b&&HQ(a.ma,a.hc,b.getItem())&&a.tka(b)};aR.prototype.EF=function(){return this.Ga};var bR=function(a){_.N.call(this);this.context=a;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.ma=new Set;this.H=6;this.Qa=0};_.I(bR,_.N);
var HZc=function(a,b){a.ma.add(b);a.resize(!0);GZc(a,b)},IZc=function(a,b){a.ma.delete(b);0!=a.ma.size||a.GCa()?a.resize(!1):a.dispose()};bR.prototype.Ne=function(){return this.Qa};bR.prototype.Pw=function(a){this.Qa=a};bR.prototype.refresh=function(){};bR.prototype.hT=function(){};
var KZc=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Dj(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Dj(e):null}c=Object.values(c).filter(function(f){return null!=f})}JZc(a.context.V,c,b);d=c.filter(function(f){return!GQ(f)});dNc(b,d);c.forEach(function(f){_.ALc(a.context.Tv,f,b);if(f.wc()){var h=f.getCapabilities();GQ(f)?h&&(_.IHc(h,_.F(h,13)),_.GHc(h,!1),_.MHc(h,!1)):_.AN(f)?(h&&_.x(h,3,!1),_.x(f,30,!1)):h&&(_.QHc(h,!1),_.RHc(h,!1))}f.getCapabilities()||f.ln(new _.pm)})};
bR.prototype.resize=function(){};bR.prototype.hd=function(){};bR.prototype.Pz=function(a,b){var c=this,d=!1;a.forEach(function(e){e=VQ(e);d=c.ZN(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&LZc(this)};var MZc=function(a,b){var c=!1;b.forEach(function(d){c=a.ZN(d)||c});c&&LZc(a);return c};bR.prototype.update=function(a){return MZc(this,[a])};bR.prototype.ZN=function(){};var LZc=function(a){a.Ga();a.ma.forEach(function(b){GZc(a,b)})};bR.prototype.Ga=function(){};
var GZc=function(a,b){var c=cR(a.context);c=NZc(c,b).hd();a.Ja(c)||(c=a.hT(c),a=cR(a.context),a.Ba[b]=c,a.V||(a.V=_.Wh(a.ka,50,a)))},OZc=function(a,b){a.H=3;a.ma.forEach(function(c){var d=cR(a.context);d.Ga[c]=b;d.V||(d.V=_.Wh(d.ka,50,d))})},PZc=function(a){a.ma.forEach(function(b){(b=cR(a.context).ha[b])&&b.oJ()});a.Pw(0==a.Ne()?1:6)};bR.prototype.GCa=function(){return!1};bR.prototype.Ja=function(){return!1};var QZc=function(a){_.Qg.call(this,"Fb");this.id=a};_.I(QZc,_.Qg);
var RZc=function(a,b,c,d){d=void 0===d?!1:d;_.O.call(this);this.hc=a;this.wa=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ta=[];this.ma=[];this.W=null;this.Ga=d};_.I(RZc,_.O);
var VZc=function(a){if(a.V)return a.V.promise;a.V=_.Sh();a.hc.Ol().forEach(function(b){var c=_.Zn(_.Dj(a.hc),[b]),d;a.Ga&&(d={Bnb:!0});a.H.tm().then(function(e){return e.H(c,d)}).then(function(e){return void SZc(a,e)},function(e){e=_.wN(e);if(5==e.qg.Sr()||4==e.qg.Pi())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),TZc(a);else{var f=new KQ(e.qg,_.D(a.H.H.hf(),1,1));UZc(a.H.V,a.hc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
SZc=function(a,b){b.gr().zd().forEach(function(c){_.x(c,82,1);a.ta.push(c)});TZc(a)},TZc=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};RZc.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;WZc(this);XZc(this);this.ha.size==this.hc.Ol().length?(GP(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var WZc=function(a){var b=a.ta;a.ta=[];b=a.H.Wf.qX(b);if(_.KM(a.H.H.Se())){var c=a.H.V.V;_.Ga(b,function(d){var e=c.H(d.getId());e&&_.QO(d,e.Uh())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});GP(a.H.V,b,1,a.wa,!0)},XZc=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.lN(_.hN(new _.gN,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new QZc(c))})},YZc=function(a,b,c,d){bR.call(this,a);this.ha=b;this.hc=c;this.V={};this.W=_.ZM(a.H)||new _.ZEc;d&&this.Pz(d,!0)};
_.I(YZc,bR);
YZc.prototype.refresh=function(){var a=this;this.H=6;if(_.A(this.hc,5,!1))return this.H=1,_.Oh();var b=!gNc(_.iP(this.ha),this.hc.Oh()),c=[],d=this.context.uq();this.hc.Ol().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=BP(n)||b)n=n&&n.Ql(),l=!(n&&_.F(n,2));l&&c.push(k)}});if(0==c.length)return this.Pz([],!1),_.Oh();var e=this.hc.clone();_.Zn(e,c);var f=new RZc(e,this.context,this.hc),h=_.Sh();this.context.ka.Ef()?(this.Rd.listen(this.context.ka,"Cb",function(k){k.Ef()||
(a.Rd.Pc(a.context.ka,"Cb"),ZZc(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Rg.Ef()&&(this.H=0<Object.values(this.V).length?1:2),ZZc(this,f,h));return h.promise};var ZZc=function(a,b,c){a.Rd.listen(b,"Fb",function(d){a.V[d.id]=null});PZc(a);VZc(b).then(function(){c.resolve()},c.reject)};_.g=YZc.prototype;
_.g.D4=function(a){var b=this;return this.context.ma.equals(a,this.hc)?_.A(this.W,5,!1)&&_.A(this.W,3,!1)?a.Ol().every(function(c){return(c=b.V[c])&&_.F(c.getItem(),31)}):gNc(_.iP(this.ha),a.Oh()):!1};_.g.hT=function(a){var b=new _.qP;_.$M(this.context.H)?b.Dc(pNc(Object.values(this.V))?6:this.H):b.Dc(this.H);cSc(b,this.Ne());dSc(b,_.bf(this.V,function(c){return c?c.getItem():null}));KZc(this,a.Oh(),b.Ts());return b};_.g.resize=function(){};_.g.hd=function(){return this.hc};
_.g.ZN=function(a){var b=$Zc(this,a.V),c=$Zc(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};var $Zc=function(a,b){return!!b&&_.ha(a.hc.Ol(),b.getId())},a_c=function(a,b){_.Qg.call(this,a);this.changes=b};_.I(a_c,_.Qg);var b_c=function(){this.wa=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};b_c.prototype.getSessionId=function(){return this.ta};b_c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
b_c.prototype.uc=function(){return this.H};
var c_c=function(a){var b=new b_c;if(a.kF()){var c=a.kF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.TW()&&(c=a.TW(),b.H=!1,b.wa=c);a instanceof _.rP&&_.vj(a,_.ok,6).length?(a=_.vj(a,_.ok,6),b.H=!1,b.ha=a):a instanceof _.YB&&(a.SW()||a.Sga()||a.c7().length)&&(c=a.SW(),b.H=!1,b.ma=c,c=a.Sga()||!1,b.H=!1,b.V=c,a=a.c7(),b.H=!1,b.W=a);return b},dR=function(a,b,c,d,e){e=void 0===e?"":e;_.O.call(this);this.context=a;this.Ja=a.W;this.request=b;this.nextPageToken=e;this.W=0;this.wa=
!1;this.V=[];this.ma=new Set;this.H=!1;this.ka=0;this.ta=c||!1;this.Ga=d||!1;this.Ba=this.cpa(b);this.ha=new b_c};_.I(dR,_.O);var d_c=function(a){return!a.wa||""!=a.nextPageToken},f_c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&d_c(a)?e_c(a):_.Oj()};dR.prototype.$b=function(){return this.V.length};
var e_c=function(a){var b=a.W-a.V.length+a.ka;a.Ja.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=new _.Hj;c.mb(a.J2a,a);var d=_.wGc(_.xGc(new _.IM,a.Ba),a.nextPageToken);b=_.uGc(new _.xDc,b);a.Ga&&_.x(b,10,!0);_.vGc(d,b);a.wa=!0;a.H=!0;a.context.tm().then(function(e){return e.H(d)}).then(a.wEa.bind(a,c),a.vEa.bind(a,c,b));return c};_.g=dR.prototype;
_.g.wEa=function(a,b){this.H=!1;if(b instanceof _.rP)var c=b;else c=b.gr(),this.nextPageToken=b.Jm()||"";this.ha=c_c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.zd())};
_.g.vEa=function(a,b,c){c=_.wN(c);this.H=!1;if(5==c.qg.Sr())a.callback([]);else{if(10==c.qg.Sr()&&(_.uGc(b,Math.ceil(_.D(b,1,1E3)/2-2E-15)),1<_.D(b,1,1E3))){var d=_.vGc(_.wGc(_.xGc(new _.IM,this.Ba),this.nextPageToken),b);this.H=!0;this.context.tm().then(function(e){return e.H(d)}).then(this.wEa.bind(this,a),this.vEa.bind(this,a,b));return}b=new KQ(c.qg,_.D(this.context.H.hf(),1,1));this.uEa(b);this.dispatchEvent(b);a.Bd(c)}};
_.g.J2a=function(a){for(var b=this,c=new Set,d=_.p(a),e=d.next();!e.done;e=d.next()){e=e.value;if(c.has(e.getId())){e=_.oq(_.mq(_.VM(_.UM(new _.ob,2),9),"Encountered duplicate item in server query response"));this.context.dispatchEvent(new _.qb(new _.pb("Encountered duplicate item in server query response",e)));break}c.add(e.getId())}e=a.filter(function(f){var h=b.ma.has(f.getId());b.ma.add(f.getId());return!h});this.ka+=a.length-e.length;a=_.p(e);for(c=a.next();!c.done;c=a.next())_.x(c.value,82,
this.ta?2:1);a=[];c=_.p(this.DHa(e));for(e=c.next();!e.done;e=c.next())e=e.value,this.V.push(e.getId()),e=_.hN(new _.gN,e.getId()).setItem(e),a.push(e);a.length&&this.dispatchEvent(new a_c("Eb",a));if(this.V.length<this.W&&this.nextPageToken)return e_c(this);this.dispatchEvent("Hb")};_.g.DHa=function(a){return a};_.g.uEa=function(){};_.g.hd=function(){return this.request};_.g.cpa=function(a){a=_.Dj(a);this.ta&&_.x(a,46,!0);return a};var eR=function(a,b,c,d){dR.call(this,a,b,void 0,c,d)};_.I(eR,dR);
eR.prototype.DHa=function(a){a=this.context.Wf.qX(a);GP(this.context.V,a,1,this.request,d_c(this));return a};eR.prototype.uEa=function(a){UZc(this.context.V,this.request,a)};eR.prototype.cpa=function(a){var b=a=dR.prototype.cpa.call(this,a),c=_.CO(b);0==_.y(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].tb()))&&(c=c.wc())&&(_.sN(b,[c]),_.x(b,45,2));g_c(this,a);return a};
var g_c=function(a,b){if(_.CO(b).some(function(d){return(d=a.context.V.V.H(d.tb()))&&_.F(d,108)})){var c=b.ke();c||(c=new _.pe,_.xk(b,c));_.qe(c,937)}},h_c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.wa=d;this.W=0},j_c=function(a){var b=_.oc(a.ta);b=b.filter(function(d){return d instanceof YZc});var c=new Set;b.forEach(function(d){d.hd().Ol().forEach(function(e){a.wa.get(e)||c.add(e)})});b=_.qe(new _.pe,310);i_c(a,"Re-querying missing find-by-ids :"+c.size);a.H(_.mc(c).concat(),b)},l_c=function(a,
b){var c=[];(a.V.V.Qa.H[b||"subscribed"]||[]).forEach(function(d){_.$e(a.ta,function(e){_.Cj(e.hd(),d)&&c.push(e)})});_.ya(c);0<c.length&&(k_c(a),c.forEach(function(d){d=DQ(a.V.ma,d.hd(),3);i_c(a,"Refreshing "+b+" cache: "+d)}),_.Th(_.Qh(c.map(function(d){return d.refresh().Vf(_.Ie)})),a.ha.bind(a)))};
h_c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Bc(e)});if(0==a.length)return _.Oh({});a=_.x(_.Yn(_.Zn(new _.Xn,a),d||_.iP(this.ma)),7,!0);_.Cva(a,b);k_c(this);b=new RZc(a,this.V,void 0,c);return _.Th(VZc(b),this.ka.bind(this,b))};h_c.prototype.ka=function(a){a.dispose();this.ha()};var k_c=function(a){a.W++;a.V.wa.setActive(!1)};h_c.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var i_c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},m_c=function(a,b,c){_.N.call(this);this.ma=a;this.H=b;this.hc=c;a=new _.pe;_.se(a,!1);_.qe(a,305);_.xk(this.hc,a);this.ha=new _.Xd(this);this.Pa(this.ha);this.W=this.V=null};_.I(m_c,_.N);
var n_c=function(a){if(!a.V){a.V=_.Sh();if(_.A(a.hc,48,!1))return a.H.Pw(9),a.V.resolve(a.H),a.V.promise;a.W=new dR(a.ma,a.hc,!0);a.ha.listen(a.W,"Eb",a.ka);a.ha.listen(a.W,"Hb",a.ta.bind(a));a.ha.listen(a.W,"Ib",a.V.reject.bind(a.V));f_c(a.W,a.hc.lh())}return a.V.promise};m_c.prototype.ka=function(a){var b=this;_.Ga(a.changes,function(c){c=c.getItem();b.H.update(VQ(new yQ(c)))})};m_c.prototype.ta=function(){this.H instanceof aR?this.H.W=!d_c(this.W):d_c(this.W)&&$Q(this.H);this.H.Pw(5);this.V.resolve(this.H)};
var fR=function(a,b){ZQ.call(this,a,b);this.H={}};_.I(fR,ZQ);fR.prototype.tka=function(a){this.H[a.getId()]=a;a.H++};fR.prototype.IW=function(a){_.hf(this.H,a.getId());a.H--};fR.prototype.rEa=function(){_.$e(this.H,function(a){a.H--});this.H={}};fR.prototype.ty=function(){return Object.values(this.H)};var gR=function(a,b,c,d,e){fR.call(this,a,b);var f=this;this.W=e;zQ(c,["aU7Ts","BNEDtc"],function(){return f.bT()})};_.I(gR,fR);
gR.prototype.oC=function(a){var b=this,c=fR.prototype.oC.call(this,a);if(5==c)return c;if(0<_.y(a,33).length)return 5;a=_.CO(a);return 0<a.length&&!a.every(function(d){d=b.H[d.tb()];return null!=d&&!d.getItem().wc()&&lNc(d.getItem())&&!_.F(d.getItem(),108)})?5:1};gR.prototype.lD=function(a){return fR.prototype.lD.call(this,a)&&o_c(this,a.getItem())};var o_c=function(a,b){if(_.F(b,31)||!a.ha)return!0;var c=a.W();return b.Uh().some(function(d){var e=a.H[d];return d==c||null!=e&&lNc(e.getItem())})};
gR.prototype.bT=function(){var a=this;fR.prototype.bT.call(this);_.$e(this.H,function(b){o_c(a,b.getItem())||(b.H--,_.hf(a.H,b.getId()))})};gR.prototype.hd=function(){return new _.he};gR.prototype.getType=function(){return"SubscribedCorpusCache"};gR.prototype.T8=function(){return!1};var hR=function(a,b,c){fR.call(this,a,b);this.W=c};_.I(hR,fR);_.g=hR.prototype;
_.g.oC=function(a){var b=this,c=fR.prototype.oC.call(this,a);if(5==c)return c;c=_.CO(a);var d=c.every(function(e){var f=e.tb();return(null!=b.H[f]||b.W==f)&&!_.A(e,2,!1)});if(0<c.length&&d)return 1;a=_.y(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.lD=function(a){return fR.prototype.lD.call(this,a)&&!!a&&a.getItem().wc()==this.W&&!GQ(a.getItem())};_.g.T8=function(){return!1};_.g.hd=function(){var a=new _.he;_.sN(a,[this.W]);_.x(a,45,2);return a};_.g.wc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var p_c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.he;_.x(a,48,!0);var b=new _.Wb;_.Yb(b,11);_.Zb(b,2);_.ie(a,b);this.ka=CQ(this.ha,a,!0)};p_c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof gR?b.H=c:c instanceof aR?b.W.push(c):c instanceof hR&&b.V.push(c)})};
p_c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof gR)b.H&&($Q(b.H),b.H=null);else if(c instanceof aR){var d=_.da(b.W,function(e){return b.ha.equals(e.hd(),c.hd())});0<=d&&($Q(b.W[d]),_.ma(b.W,d))}else c instanceof hR&&(d=_.da(b.V,function(e){return b.ha.equals(e.hd(),c.hd())}),0<=d&&($Q(b.V[d]),_.ma(b.V,d)))})};
var q_c=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},r_c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Dj(c.hd()),_.x(c,32,void 0),c.KB([]),!_.Cj(a.ka,c)):!0})},s_c=function(a,b){return _.Re(a.V,function(c){return c.wc()==b})},t_c=function(a,b){return r_c(a).find(function(c){return a.ha.equals(c.hd(),CQ(a.ha,b,!0))})},u_c=function(){this.H={}},iR=function(a,b){v_c(a,"subscribed");b&&v_c(a,b);return a.H[b||"subscribed"].zk.promise},
v_c=function(a,b){a.H[b]||(a.H[b]={count:0,WCa:[],EHa:[],zk:_.Sh()});a.H[b].count++},x_c=function(a,b){b&&!w_c(a,b)||w_c(a,"subscribed")},w_c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].zk.resolve({items:a.H[b].WCa,igb:a.H[b].EHa}),_.hf(a.H,b));return!0};u_c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.wc();f&&f==e.Gc()&&c.H[f]&&c.H[f].EHa.push(e);c.H[d]&&c.H[d].WCa.push(e)})};
var y_c=function(a,b){_.Qg.call(this,"Lb");this.He=a;this.H=b};_.I(y_c,_.Qg);var z_c=function(a,b){return new _.Nh(function(c,d){b.then(function(e){var f={};a.ty().forEach(function(h){var k=h.getId();JNc(h.getItem());f[k]=new yQ(h.getItem())});e.items.forEach(function(h){var k=h.Gc();k=f[k];h.rz()?k&&a.update(new PWc(k.getId(),k,null)):(h=h.getItem(),JNc(h),a.update(QWc(k,new yQ(h))))});a.bT();c(e.igb)},d)})},A_c=function(a,b){_.N.call(this);this.H=a;this.V=b};_.I(A_c,_.N);
var H_c=function(a){var b=_.m._DRIVE_ivd;B_c(a,"Running initial view populator (IVDP).");try{var c=new wQ(JSON.parse(b))}catch(t){C_c(a,"Error parsing initial view dump.",t);return}b=a.H.H.Se();if(!_.KM(b)){var d=_.C(c,_.lC,8);if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&rZc(a.H.tc,d,4)}(b=c.uq())&&D_c(a.H,b,6)}var f=c.Qx()||void 0;f&&E_c(a.H,f,!0);if((b=c.yw())&&b.length){d=(d=a.H.H.hf())&&_.y(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.ao(t))&&h.add(t)});F_c(a.H.Ma,
b,4,_.mc(h.values()).concat())}b=c.zd();b.forEach(function(t){_.QGc(t);_.x(t,82,6)});if(d=_.vj(c,vQ,5)[0])if(c=a.H.ma,kNc(_.iP(a.V),d.getQuery().Oh(),_.FO(a.H.H)))if((e=d.getQuery().ve())&&4==e.getType()&&!rNc())C_c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=CQ(c,d.getQuery());var k=_.y(d,2)||void 0;e.Ki(k);k=b.map(function(t){return new yQ(t,void 0,1,f)});var l=_.C(d,_.vm,3);if(l&&_.y(d,2)){var n=k[k.length-1];_.x(l,82,6);if(!_.Cj(l,n.getItem())){C_c(a,"Invalid last item in initial view data.");
return}}d=(l=_.ZM(a.H.H))&&_.A(l,2,!1)&&d.Jm()||"";var q=new aR(a.H.Ka,a.H.Wa,a.H.ma,e,n,d);q.Pw(4);k.forEach(function(t){q.update(VQ(t))});G_c(a.H.V,q);n=q.hd();B_c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+DQ(c,n));c=new _.IM;_.xGc(c,n);n=_.QKc(a.H.Qa,c,"IVDP");_.RKc(n,b);AQ(a.H.ha,"W6J7De")}}else C_c(a,"Invalid initial view data, fields: "+RUc(c,d.getQuery().Oh()));else C_c(a,"No initial query found")},C_c=function(a,b,c){var d=
c?void 0:_.oq(_.VM(_.UM(new _.ob,2),6));c=new _.pb(b,d,c);a.H.rb(c.qg);B_c(a,"Initial view dump population failed. Message: "+b);AQ(a.H.ha,"DEJoH")},B_c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},I_c=function(a){_.O.call(this);this.context=a;this.V=new gR(a.Ka,a.Wa,a.ha,a.H,function(){return a.uq()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.I(I_c,_.O);
var J_c=function(a,b){var c=_.D(a.context.H,31,2E4);("number"===typeof _.y(b,3)?_.y(b,3):c+1)>c?($Q(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Qa.jc("CachedCorpusType",b)};I_c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var K_c=function(a,b){0==a.W&&(a.W=b)},L_c=function(a,b){_.O.call(this);this.V=a;this.hc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.I(L_c,_.O);
var N_c=function(a){return a.W||a.ha&&""==a.H?_.Oj():M_c(a)};L_c.prototype.$b=function(){return this.ka.length};
var M_c=function(a){a.ha=!0;a.W=!0;var b=mQc(nQc(new _.sO,a.hc),a.H),c=_.QKc(a.V.Qa,b);return _.Pj(a.V.tm().then(function(d){return d.H(b)}).then(function(d){var e=d.gr().zd();a.H=d.Jm()||"";O_c(a,c,e)},function(d){a.W=!1;d=new KQ(_.WM(d),_.D(a.V.H.hf(),1,1));a.dispatchEvent(d)}))},O_c=function(a,b,c){_.RKc(b,c);for(b=0;b<c.length;b++)_.x(c[b],82,1);GP(a.V.V,c,1,a.hc,!a.ha||""!=a.H);var d=[];_.Ga(c,function(e){this.ka.push(e.getId());e=_.hN(new _.gN,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new a_c("Eb",
d));a.H?M_c(a):(a.W=!1,a.dispatchEvent("Hb"))};L_c.prototype.hd=function(){return this.hc};var P_c=function(a){this.H=EUc(a,{numeric:!0})};P_c.prototype.sort=function(a){_.Ca(a,this.V.bind(this))};P_c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.za(a.getId(),b.getId()):c};
var jR=function(a,b,c,d){d=void 0===d?!1:d;bR.call(this,a);this.ka=b;this.hc=_.Dj(c);this.ha=new L_c(a,this.hc);this.ta=new P_c(MP(a.H.Se()));this.W=[];_.od(this,this.ARa,this);this.V=null;d&&(this.V=_.Sh(),this.V.resolve())};_.I(jR,bR);jR.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return Q_c(this)};
var Q_c=function(a){if(a.V)return a.V.promise;a.V=_.Sh();a.context.ka.Ef()?a.Rd.listen(a.context.ka,"Cb",function(b){b.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),PZc(a),N_c(a.ha).xf(a.V.resolve,a.V.reject,a.V))}):(PZc(a),N_c(a.ha).xf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=jR.prototype;_.g.resize=function(){};_.g.hd=function(){return this.hc};_.g.ty=function(){return this.W};_.g.D4=function(a){return this.context.ma.equals(a,this.hc)};
_.g.hT=function(a){a=a.lh();this.ta.sort(this.W);var b=EP(_.ua(this.W,0,Math.min(a,this.W.length)));KZc(this,SQc(this.ka),b);var c=new _.YB;c.gw(b);c.Dc(1==this.H||a<=this.W.length?1:this.context.ka.Ef()||this.context.Rg.Ef()?0<this.W.length?1:2:6);c.UW(this.Ne());UPc(c,a<this.W.length||!(this.context.ka.Ef()||this.context.Rg.Ef())&&1!=this.H);return c};_.g.Pz=function(a,b){this.V&&bR.prototype.Pz.call(this,a,b)};
_.g.ZN=function(a){if(!this.V)return!1;var b=a.id,c=_.ea(this.W,function(h){return h.getId()==b}),d=!!c,e=R_c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?S_c(this,f,a.H):T_c(this,f):U_c(this,a.H);else return!1;return!0};var U_c=function(a,b){a.W.push(b);b.H++},T_c=function(a,b){_.na(a.W,b);b.H--},S_c=function(a,b,c){a.W[_.fa(a.W,b)]=c;c.H++;b.H--},R_c=function(a,b){if(b){var c;if(c=GQ(b.getItem()))if(a=a.hc,b=b.getItem(),c=!!b&&!!b.Sj())a=a.Cl(),c=null==a||!!b.Sj().Cl()==a;b=c}else b=!1;return b};
_.g=jR.prototype;_.g.ARa=function(){this.W.forEach(function(a){a.H--})};_.g.GCa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.p_=function(){return this.W.length};_.g.bT=function(){this.H=1};
var V_c=function(a){this.H=a},X_c=function(a,b){return W_c(a,b,null,0,5)},W_c=function(a,b,c,d,e){if(0==e||null==b){var f=new sWc;_.x(f,2,b);_.x(f,1,d);return _.Oh(f)}var h=DSc();_.x(h,2,b);c&&_.x(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.EF();k=d+_.y(k,1);return W_c(a,l,c,k,e-1)})},Y_c=function(){this.qc=[];this.V=this.H=0};
Y_c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.qc,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.V=c};var Z_c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.qc,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.V=e},$_c=function(a){this.W=a;this.V=new XVc(new YVc,_.cka(a));this.H=new YVc};
$_c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.dka(b);c=a0c(this,a);return b.concat(c,b0c(this,b,a,!0))};
var c0c=function(a,b){var c=b0c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=a0c(a,c);if(b!=a)throw Error("kf");return c},a0c=function(a,b){a=a.V;b=bRc(b);a.reset();a.update(b);b=a.digest();return _.dka(b)},b0c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new Y_c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.qc,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.V=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/
8192;e++)a=bRc(c.substring(8192*e,8192*(e+1))),Z_c(b,a),d+=_.dka(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.m.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;Z_c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("lf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=kR(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=kR(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=kR(d,e++),k=kR(d,e++),l=kR(d,e++),f=((f&7)<<18|(h&63)<<12|(k&63)<<6|l&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(h=kR(d,e++),k=kR(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},kR=function(a,b){return a[Math.floor(b/8192)][b%8192]},d0c=function(a,b,c){this.H=a;this.W=b;this.V=c};d0c.prototype.getData=function(){return this.H};d0c.prototype.qq=function(){return this.W};
var e0c=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.ma=a;this.ka=b;this.W=c;this.V=d;this.H=_.ra(e);_.Ca(this.H);_.ya(this.H);this.PZ=f;this.ha=null;this.ta=this.wa=!1;this.Ba=void 0};e0c.prototype.ay=function(){return this.ma};e0c.prototype.mj=function(){return this.ka};e0c.prototype.Bg=function(){return _.ra(this.H)};
var lR=function(a){if(!a.ha){var b=new _.DM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.rDc(b.digest())}return a.ha},f0c=function(a){return{versionKey:lR(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.PZ}},g0c=function(a){var b=!0;b=void 0===b?!1:b;if(!a)return null;var c=a.versionInfo,d=a.versionKey;if(!c||!d)return null;a=new e0c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:lR(a)!=d&&(a=null);return a},h0c=function(a,b,c){return[a.ay(),a.mj(),
b?"#":lR(a)].join(":")+":"+(c||"")},i0c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};i0c.prototype.getKey=function(){return this.H};i0c.prototype.tb=function(){return this.V};
var j0c=function(a,b){return{k:h0c(b,a.global,a.H),v:a.V}},k0c=function(a,b){a=h0c(a,b);return pSc(a+"A",a+"z")},l0c=function(a,b){this.K2=a;this.J2=b},m0c=function(a){return a?new l0c(a.versionKey,a.versionChangeTimestamp):null},n0c=function(a,b){return a+":"+b},o0c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.ZQ=void 0===e?null:e},p0c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.ZQ}},q0c=function(a,b,c,d){a=lR(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Ax(":%02d",c)},r0c=function(a,b,c,d){c=q0c(a,b,void 0===c?0:c,d);a=lR(a)+"_"+b;3==b&&(a+="_"+d);return pSc(c,a+":a")},s0c=function(a){var b=lR(a)+"_";a=lR(a)+"_A";return pSc(b,a)},t0c=function(a){return a?new o0c(a.data,a.index,a.size,a.timestamp,a.e):null},u0c={iAb:"Versions",pNa:"Metadata",Spb:"Data",ENa:"Offline"},mR=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.V=null;this.rb=a.then(function(f){e.V=f});this.hb=b;this.ma=c;this.Ga=
d;this.H=null;this.Ka=!1;this.Ja=!0;this.ha=null;this.ta=!1;this.W="";this.Lb=new _.Xd(this);this.Pa(this.Lb);this.wa=null};_.I(mR,_.N);mR.prototype.initialize=function(){return v0c(this)};
var v0c=function(a,b){a.ha||(a.ha=_.Sh(),a.rb.then(function(){b?(a.Ja=!1,w0c(a,b),x0c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),x0c(a,"Opening database GoogleDriveDs (version 2)"),_.eEc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).xf(a.Wa.bind(a),a.Ba.bind(a)),_.$h(2E4).then(a.Qa.bind(a)))},function(c){a.ha.reject(new _.pb("Database version error",void 0,_.EM(c)?c:void 0))}));return a.ha.promise},w0c=function(a,b){a.H=b;a.Lb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.Lb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};mR.prototype.Ma=function(a,b){x0c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Ga(b.H.objectStoreNames,function(c){return _.uIc(b,c)});_.$e(u0c,function(c){var d=_.eGc.get(c);_.cEc(b,c,d?{keyPath:d}:void 0)})};
mR.prototype.Ba=function(a){var b;a&&a instanceof _.MM&&"InvalidStateError"==a.getName()&&_.Oi.Fu?b=Error("mf"):_.EM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);y0c(this,!1)};mR.prototype.Wa=function(a){this.ta?a.dispose():(w0c(this,a),this.Pa(this.H),this.Ga||z0c(this).Vf(function(){}),x0c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),y0c(this,!0))};
var y0c=function(a,b){if(a.wa){var c=a.wa,d=_.C(_.oP(c),xQc,5);d||(d=new xQc,c=_.oP(c),_.R(c,5,d));d=_.x(d,1,2);d=_.x(d,2,a.V.W);d=_.x(d,5,a.V.wa);b=_.x(d,3,b);b=_.x(b,4,a.Ka);_.x(b,6,a.V.Ba);a.wa.V();a.wa=null}};mR.prototype.Qa=function(){this.H||this.kh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("nf")))};mR.prototype.ka=function(a){x0c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ja&&this.H.close())};mR.prototype.kh=function(){return this.ta};
var A0c=function(a){return a.ta?a.W:null},nR=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ga&&"readonly"!=c)return null;a=a.H;try{return _.SM(a,[b],c)}catch(d){return null}},z0c=function(a){var b=nR(a,"Versions","readwrite");if(!b)return _.Ph(Error("of"));_.XDc(b.objectStore("Versions"),f0c(a.V));return b.wait().then(function(){})},B0c=function(a){if(!a.H)return _.Ph(Error("pf"));if(a.kh())return _.Ph(Error(a.W));var b=nR(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(lR(a.V)).then():
_.Ph(Error("qf"))},C0c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=t0c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("rf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("sf")),0;var e=d[0].size;if(!e)return b.reject(Error("tf")),0;if(e>d.length)return b.reject(Error("uf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("vf`"+e)),0;if(c&&a<c)return b.reject(Error("wf`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},E0c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Ph(Error("xf"));if(a.kh())return _.Ph(Error(a.W));var e=r0c(a.V,b,0,c),f=nR(a,"Data");if(!f)return _.Ph(Error("yf"));e=f.objectStore("Data").getAll(e);var h=_.Sh();e.xf(function(k){k=C0c(k,h,d);a.Ga||null==k||D0c(a,b,c,k).Vf(function(){})},h.reject);return h.promise},G0c=function(a,b,c,d,e){if(a.H){if(a.kh())return _.Ph(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.Ph(Error("zf"))}else return _.Ph(Error("Af"));var f=Date.now(),h=b.length;b=b.map(function(n,q){return{key:q0c(a.V,c,q,d),data:new o0c(n.getData(),q,h,f,e),metadata:n}});var k=nR(a,"Data","readwrite");if(!k)return _.Ph(Error("Bf"));var l=k.objectStore("Data");b.forEach(function(n){var q=F0c(a,c,d,n.metadata);_.XDc(l,p0c(n.data),n.key).then(function(){if(q){var t=UQc(q);_.x(t,1,!0);q.V()}},function(t){t=t instanceof _.MM?t.code:_.FDc;if(q&&a.ma){var v=UQc(q);v=_.x(v,1,!1);t=_.pP(_.RFc,t);
_.x(v,2,t);q.V()}})});return k.wait().then(function(){})},F0c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=UQc(a);b=_.pP(_.QFc,b);b=_.x(e,3,b);c=_.pP(_.NFc,c);c=_.x(b,4,c);b=d.V;_.x(c,5,null==b?0:b?2:1);void 0!=d.qq()&&(c=UQc(a),d=d.qq(),_.x(c,6,d))}return a}return null},D0c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.kh())return _.Ph(Error(a.W));if(3==b&&void 0==c)return _.Ph(Error("Cf"))}else return _.Ph(Error("Df"));b=r0c(a.V,b,d,c);a=nR(a,"Data","readwrite");if(!a)return _.Ph(Error("Ef"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},H0c=function(a){if(!a.H)return _.Ph(Error("Ff"));if(a.kh())return _.Ph(Error(a.W));var b=s0c(a.V);a=nR(a,"Data","readwrite");if(!a)return _.Ph(Error("Gf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
mR.prototype.getMetadata=function(a){if(this.H){if(this.kh())return _.Ph(Error(this.W));if(a&&0==a.length)return _.Ph(Error("Hf"))}else return _.Ph(Error("If"));var b=this.V,c=nR(this,"Metadata");if(!c)return _.Ph(Error("Jf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(h0c(b,h.global,h.key)).then())});a=_.Qh(e)}else a=_.Qh([d.getAll(k0c(b,!1)).then(),d.getAll(k0c(b,!0)).then()]).then(function(h){return TMc(h[0],h[1])});var f=_.Sh();a.then(function(h){f.resolve(h.map(function(k){if(k){var l=
k.k.split(":"),n="#"==l[2];k=4!=l.length||!n&&l[2]!=lR(b)||l[0]!=b.ay()||l[1]!=String(b.mj())?null:new i0c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var I0c=function(a,b){if(a.H){if(a.kh())return _.Ph(Error(a.W));if(0==b.length)return _.Ph(Error("Kf"))}else return _.Ph(Error("Lf"));var c=nR(a,"Metadata","readwrite");if(!c)return _.Ph(Error("Mf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.XDc(d,j0c(f,a.V)).then())});return _.Qh(e).then(function(){})},J0c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.kh())return _.Ph(Error(a.W))}else return _.Ph(Error("Of"));var c=a.V;a=nR(a,"Metadata","readwrite");if(!a)return _.Ph(Error("Pf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(k0c(c,!1)).then());b&&d.push(a.remove(k0c(c,!0)).then());return _.Qh(d).then(function(){})},K0c=function(a){if(!a.H)return _.Ph(Error("Qf"));if(a.kh())return _.Ph(Error(a.W));var b=n0c(a.V.ay(),a.V.mj());return(a=nR(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return m0c(c)}):_.Ph(Error("Rf"))},L0c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Ph(Error("Sf"));if(a.kh())return _.Ph(Error(a.W));var c=a.V,d=n0c(c.ay(),c.mj());
b=new l0c(lR(c),b?Date.now():void 0);a=nR(a,"Offline","readwrite");if(!a)return _.Ph(Error("Tf"));_.XDc(a.objectStore("Offline"),{versionKey:b.K2,versionChangeTimestamp:b.J2},d);return a.wait().then(function(){})};mR.prototype.Qk=function(a){var b=this;return this.H?this.kh()?_.Ph(Error(this.W)):K0c(this).then(function(c){var d=lR(b.V);if(c)if(a){if(!c.J2&&d==c.K2&&d!=lR(a))return L0c(b,!0);if(c.J2&&d==lR(a))return L0c(b)}else{if(d!=c.K2)return L0c(b)}else if(!a)return L0c(b)}):_.Ph(Error("Uf"))};
var M0c=function(a){if(!a.H)return _.Ph(Error("Vf"));if(a.kh())return _.Ph(Error(a.W));var b=a.V,c=n0c(b.ay(),b.mj());return K0c(a).then(function(d){if(d&&(d=nR(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
mR.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.kh()?_.Ph(Error(this.W)):K0c(this).then(function(c){var d=c&&c.K2==lR(b.V);return d&&!a?!1:(c&&d?M0c(b):_.Oh()).then(function(){return _.Qh([J0c(b,a),H0c(b),B0c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Ph(Error("Wf"))};mR.prototype.close=function(){this.ka("Closing database")};
var x0c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},N0c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.oc(u0c).every(function(c){return b&&b.contains(c)})},O0c=function(){var a=_.Sh();_.eEc("GoogleDriveDs").xf(function(b){b?N0c(b)?a.resolve(b):(b.close(),_.Th(qSc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},P0c=function(a,b,c){var d=_.Sh();a?_.SM(a,["Versions"],"readonly").objectStore("Versions").getAll().xf(function(e){e=
_.oc(e).map(function(f){return g0c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ay()==b)&&(!c||f.mj()==c)}))},d.reject):d.resolve([]);return d.promise},Q0c=function(a,b,c){var d=_.Sh();O0c().then(function(e){e?_.SM(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return m0c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.J2&&(h=c+f.J2-Date.now());var k=_.SM(e,["Versions"],"readonly");k.objectStore("Versions").get(f.K2).then(function(l){(l=
g0c(l))?(l.wa=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.Lj(k.wait(),function(){return e.close()})}else d.resolve(null),e.close()},function(f){d.reject(f);e.close()}):d.resolve(null)},d.reject);return d.promise},R0c=function(a,b,c){var d=_.Sh(),e=new mR(_.Oh(a),b);v0c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},S0c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=R0c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Qh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+lR(l)))});d.resolve(k)})},T0c=function(a,b,c){var d=Date.now()-12096E5,e=_.Sh();O0c().then(function(f){f?(_.Th(e.promise,function(){return f.close()}),P0c(f,a,b).then(function(h){return h.filter(function(k){return k.PZ<d})},function(){return[]}).then(function(h){S0c(h,c,f,e)})):e.resolve([])});return e.promise},U0c=function(a,b,c){var d=_.Sh();O0c().then(function(e){e?
(_.Th(d.promise,function(){return e.close()}),P0c(e,a,b).then(function(f){S0c(f,c,e,d,!0)})):d.resolve([])});return d.promise},V0c=function(a,b,c,d){if(a.length){var e=a.shift(),f=q0c(e,3,0,1);try{_.SM(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=t0c(h))&&(!h.ZQ||h.ZQ&&d.has(e.V))?b.resolve(e):V0c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},W0c=function(a,b,c,d,e,f,h){var k=_.Sh();O0c().then(function(l){l?(_.Th(k.promise,function(){return l.close()}),
P0c(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=lR(q))&&q.W==c&&q.PZ>=e&&kNc(d.filter(function(t){return!_.fGc.has(t)}),q.Bg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.PZ-q.PZ}),V0c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},X0c=function(a,b,c){this.V=a;this.H=_.Sh();this.ta=!1;this.W=_.D(b,7,"");this.ka=_.D(_.NP(b),6,2E7);this.ha=_.$M(b);this.ma=_.D(_.NP(b),12,0);this.wa=c};
X0c.prototype.initialize=function(){var a=this;this.ta||(this.ta=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.Pj(this.H.promise)};
var Y0c=function(a){if(a instanceof _.lC)return 0;if(a instanceof MQ)return 1;if(a instanceof kRc)return 5;if(a instanceof wQ)return 3;if(a instanceof iWc)return 6;throw new _.pb("Unsupported dataShard in getDataType");},Z0c=function(a){if(0==a)return _.lC;if(1==a)return MQ;if(5==a)return kRc;if(3==a)return wQ;if(6==a)return iWc;throw new _.pb("Unsupported dataType:"+a+" in getDataTypeCtor");},$0c=function(a){if(a instanceof wQ)return _.D(a,13,0)},a1c=function(a){if(a instanceof wQ)return a.zd().length},
b1c=function(a){if(a instanceof wQ)return a=_.F(a,6),null!=a?a:void 0},f1c=function(a,b,c){if(0==c.length)return _.Oh();var d=Y0c(c[0]);c.forEach(function(){});var e=$0c(c[0]);3==d&&c1c(a,c);var f=!!b;return d1c(a,c).then(function(h){return f?e1c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.Ph(Error("Xf"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return G0c(a.V,h,d,e,f)})})},d1c=function(a,
b){return new _.Nh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Ac();n.length>a.ka?e=!0:f.push(new d0c(n,a1c(l),b1c(l)))}});if(e){var h=Error("Yf"),k=new _.ob;_.UM(k,2);_.HM(k,23);_.x(k,21,h.message);_.oq(k);a.wa(k);d(h)}c(f)})},c1c=function(a,b){$0c(b[0]);b.forEach(function(){});a.ha||g1c(b);h1c(a,b)},oR=function(a,b,c,d,e){var f=_.Sh();a.H.promise.then(function(){return E0c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Hj;h[0]&&h[0].ZQ?i1c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=Z0c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||j1c(k),k1c(k));f.resolve(k)}).Vf(f.reject,f);return f.promise},g1c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].WI().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.zd()||[]).forEach(function(h){var k=pR(_.wm(h),c,d);_.yj(h,15,k);k=pR([h.Fo()],c,d)[0];_.R(h,17,k);k=pR([h.IA()],c,d)[0];_.R(h,47,k);k=pR([_.C(h,_.ok,91)],c,d)[0];_.R(h,
91,k);k=pR([h.JF()],c,d)[0];_.R(h,95,k);if(h=h.Nu())_.XHc(h,pR(_.vj(h,_.ok,2),c,d)),_.YHc(h,pR(_.vj(h,_.ok,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});lUc(a[0],e)}},pR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.Cj(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.ok,e.kc(f),c.set(f,e),d.push(e))}else d.push(e)});return d},j1c=function(a){var b=new Map,c=new Map;a[0]&&a[0].WI()&&a[0].WI().forEach(function(d){b.set(d.getId(),
d);d=(new _.ok).kc(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.zd()||[]).forEach(function(e){var f=qR(_.wm(e),b,c);_.yj(e,15,f);f=qR([e.Fo()],b,c)[0];_.R(e,17,f);f=qR([e.IA()],b,c)[0];_.R(e,47,f);f=qR([_.C(e,_.ok,91)],b,c)[0];_.R(e,91,f);f=qR([e.JF()],b,c)[0];_.R(e,95,f);if(e=e.Nu())_.XHc(e,qR(_.vj(e,_.ok,2),b,c)),_.YHc(e,qR(_.vj(e,_.ok,3),b,c))});lUc(d,[])})},qR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Cj(c.get(f),e)?d.push(_.Dj(b.get(f))):
d.push(e)}else d.push(e)});return d},h1c=function(a,b){if(a.ma){a=a.ma;for(var c=b.length-1;0<=c;c--)if(_.D(b[c],13,0)){for(var d=[],e=b[c].zd();e.length>a;){var f=_.va(e,a-1,a);f=xQ(new wQ,f);d.push(f)}xQ(b[c],e);d.length&&_.Ke(_.va,b,c+1,0).apply(null,d)}}},k1c=function(a){for(var b={},c=1;c<a.length;b={b3:b.b3},c++)if(!_.D(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.D(a[e],13,0);e++)d++;e=a[c-1];d=_.va(a,c,d);b.b3=e.zd();d.forEach(function(f){return function(h){_.ta(f.b3,h.zd())}}(b));xQ(e,b.b3)}},
e1c=function(a,b,c){if(!_.XM()&&a.W){var d=new Worker(a.W),e=new _.Hj;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Bd(Error(k))},!1);c=BWc(new AWc,c);d.postMessage({command:"encrypt",data:{request:c.Ac(),key:b}});return e}try{a=[];var f=new $_c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Oj(a)}catch(k){h=_.Qj(k)}return h},i1c=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.ka){b.callback(void 0);
return}if(!_.XM()&&a.W){var f=new Worker(a.W);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(k){f.terminate();throw Error(k);},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new $_c(c);for(c=0;c<d.length;c++)a.push(c0c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},l1c={key:"rid",global:!0},m1c={key:"ooi",global:!0},n1c={key:"rtds",global:!1},o1c={key:"dct",global:!1},p1c={key:"pc",global:!1},
q1c=function(a){this.H=new _.Nh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},r1c=function(a,b){return a.H.then(function(c){if(c&&!c.kh())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.tb():void 0},function(){})})},rR=function(a,b,c){return a.H.then(function(d){return d&&!d.kh()?I0c(d,[new i0c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
q1c.prototype.uq=function(){return r1c(this,l1c).then(function(a){return a?a:null})};var s1c=function(a){return r1c(a,m1c).then(function(b){return"boolean"===typeof b?b:null})};q1c.prototype.gA=function(a){return rR(this,m1c,a)};
var t1c=function(a){return r1c(a,p1c).then(function(b){return"boolean"===typeof b?b:null})},u1c=function(a){return r1c(a,n1c).then(function(b){return Array.isArray(b)?b:null})},v1c=function(a){return r1c(a,o1c).then(function(b){return"number"===typeof b?b:null})},w1c=function(a,b){I_c.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.wa=null;this.Ba=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.I(w1c,I_c);
w1c.prototype.handleError=function(){this.log("Local dump population failed.");AQ(this.context.ha,"mrK8ic")};
w1c.prototype.ta=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Hj;this.wa=b;x1c(this).then(function(){var c=_.vj(_.NP(a.H),LP,11);c=c[0]&&c[0].getKey()||"";return y1c(a,a.context.Db,c,4)}).Vf(function(c){if(_.A(a.H,8,!0))return z1c(a);throw c;}).then(function(){_.$M(a.H)||a.context.V.ma.H.clear();AQ(a.context.ha,"zaOY7");b.callback()},function(c){K_c(a,8);a.handleError();b.Bd(c)});return b}this.handleError();return _.Qj(Error("Zf"))};
var x1c=function(a){return a.context.Db.initialize().then(function(){if(!_.GO(a.H)){var b=_.D(_.NP(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Nh(function(c,d){t1c(a.context.Ga).then(function(e){e?c():d(Error("$f"))})})}})},y1c=function(a,b,c,d){var e=a.ha;A1c(a,b,c,e);B1c(a,b,c,e);C1c(a,b,c,e);return D1c(a,b,c,e).then(function(){return Promise.all([E1c(a,b,c,d,e),F1c(a,b,c,d,e),G1c(a,b,c,d,e),H1c(a,b,c,d,e)])})},A1c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
oR(b,c,0,void 0,d).then(function(f){f[0]?rZc(a.context.tc,f[0],a.Ne(),_.GO(a.H)):e()},function(){return e()})},B1c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};oR(b,c,1,void 0,d).then(function(f){f[0]?a.context.Zc.zma(f[0],a.Ne(),_.GO(a.H)):e()},function(){return e()})},C1c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};oR(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.yw();h.length&&F_c(a.context.Ma,h,
a.Ne(),_.y(f,2),_.GO(a.H))}else e()},function(){return e()})},E1c=function(a,b,c,d,e){var f=new _.Rm;oR(b,c,3,1,e).then(function(h){return I1c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||kNc(h.Oh(),_.iP(a.ka),_.FO(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.yO());var k=h.Qx();if(!k||0>k)throw Error("cg");D_c(a.context,h.uq(),d);k=h.Qx();"number"===typeof k&&E_c(a.context,Number(k));_.GO(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Sla());J1c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},F1c=function(a,b,c,d,e){var f=new _.Rm;oR(b,c,3,2,e).then(function(h){h[0]?(J1c(a,h[0],d),f.resolve()):f.reject(Error("ag"))},f.reject,f);return f.promise},G1c=function(a,b,c,d,e){var f=new _.Rm;_.HO(a.H)?oR(b,c,3,4,e).then(function(h){h.forEach(function(k){J1c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),AQ(a.context.ha,"rVezo"));return f.promise},H1c=function(a,b,c,
d,e){var f=new _.Rm;_.HO(a.H)?oR(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){J1c(a,k,d)}):AQ(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),AQ(a.context.ha,"rVezo"));return f.promise},D1c=function(a,b,c,d){var e=new _.Rm;oR(b,c,6,void 0,d).then(function(f){f=_.p(f);for(var h=f.next();!h.done;h=f.next())h=h.value,h.Jo().length&&(a.log("Importing "+h.Jo().length+" people into the PeopleCache."),h=h.Jo(),K1c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
I1c=function(a,b){var c=b.Qx();return c&&!_.GO(a.H)?X_c(new V_c(a.context.tm()),c).then(function(d){return null!=_.y(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),K_c(a,9),null):b},function(){return b}):_.Oh(b)},z1c=function(a){var b=lR(a.context.hb.V),c=_.vj(_.NP(a.H),LP,11).filter(function(d){return null!=_.y(d,2)});return W0c(_.EO(a.H.Se()),_.FO(a.H),_.D(_.NP(a.H),10,0)||0,_.iP(a.ka),a.ha||0,c.map(function(d){return _.y(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.y(k,1)}),f=new mR(_.Oh(d),a.context.W,null,!0),h=new X0c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ba=!0;return y1c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([p1c])}).then(function(k){if(k[0])return k=k[0].tb(),rR(a.context.Ga,p1c,k)}).then(function(){f.close()})}return _.Ph(Error("bg"))})},O1c=function(a,b,c){switch(_.D(b,13,0)){case 1:return L1c(a,b,c);case 2:b=_.C(b,RNc,11);if(!b)throw Error("dg");J_c(a,b);a.V.V?(a.V.Pw(a.Ne()),a=[{cache:a.V,changes:iR(a.context.Ba,
null)}]):a=[];return a;case 3:return M1c(a,b);case 4:return N1c(a,b);default:return null}},L1c=function(a,b,c){var d=[];_.vj(b,vQ,5).forEach(function(e){var f=void 0,h=_.C(e,_.vm,3);h&&(_.QGc(h),_.F(a.H,67)&&zP(h,mNc),_.x(h,82,c),f=new yQ(h));var k=e.getQuery();if(!_.A(k,48,!1)||_.vj(a.H,_.he,44).some(function(l){if(!_.A(l,48,!1))return!1;l=CQ(a.context.ma,l,!0);return _.Cj(l,k)}))e=new aR(a.context.Ka,a.context.Wa,a.context.ma,k,f),e.Pw(a.Ne()),d.push({cache:e,changes:iR(a.context.Ba,null)})});return d},
N1c=function(a,b){return _.vj(b,vQ,5).map(function(c){c=new jR(a.context,a.ka,_.C(c,_.SO,5),!0);c.Pw(a.Ne());return{cache:c,changes:iR(a.context.Ba,null)}})},M1c=function(a,b){if(!_.HO(a.H))return[];var c=_.y(_.vj(b,vQ,5)[0].getQuery(),33)[0],d=b.Qx()||void 0;b=iR(a.context.Ba,c);sR(a.context).mb(function(f){f.sea(c,d)});var e=new hR(a.context.Ka,a.context.Wa,c);e.Pw(a.Ne());return[{cache:e,changes:b}]},J1c=function(a,b,c){var d=O1c(a,b,c);d&&0!=d.length?(b.zd().forEach(function(e){_.QGc(e);_.F(a.H,
67)&&zP(e,mNc);_.x(e,82,c);if(!_.$M(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;P1c(f,tR(f,[e]))}e=new yQ(e);for(f=0;f<d.length;f++)d[f].cache.update(VQ(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new y_c(f,e.changes));a.log("Imported "+f.p_()+" items into the "+f.getType());var h=null;f instanceof hR&&(h=f.wc());a.context.Ge.promise.then(function(){x_c(a.context.Ba,h)})}),1==_.D(b,13,0)&&AQ(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.D(b,13,0)+".")};
w1c.prototype.Ne=function(){return this.Ba?7:3};var Q1c=function(a){_.N.call(this);this.H=a};_.I(Q1c,_.N);
var X1c=function(a,b){R1c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:S1c(a,b);break;case 4:T1c(a,b);break;case 6:U1c(a,b);break;case 2:V1c(a,b);break;case 7:W1c(a,b);break;case 5:_.vj(_.C(b,pWc,7),oWc,1).forEach(function(c){return X1c(a,c)});break;default:Y1c(a,"Unsupported prefetched request.")}},S1c=function(a,b){var c=_.C(b,_.he,2);b=JSON.parse(_.y(b,3)||"{}");var d=new _.IM;_.xGc(d,c);b=_.VKc(a.H.lc.V,d,{headers:{},text:"",json:b}).gr();Z1c(a,
c,b)},U1c=function(a,b){Z1c(a,_.C(b,_.he,2),_.C(b,_.YB,9))},Z1c=function(a,b,c){for(var d=c.zd(),e=_.p(d),f=e.next();!f.done;f=e.next())_.x(f.value,82,7);c=c_c(c);a=a.H.V;b=CQ(a.H.ma,b);e=uR(a,b);vR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new wR(a.H,b),f.Pw(2),a.W[e]=f);c.uc()||f.Oja(c);GP(a,d,1,b)},V1c=function(a,b){b=_.C(b,_.bo,5);var c=a.H.H.hf();c=c&&_.y(c,30)||[];var d=new Set(c);b.yw().forEach(function(e){(e=(e=e.getKey())&&_.ao(e))&&d.add(e)});F_c(a.H.Ma,
b.yw(),2,_.mc(d.values()).concat())},T1c=function(a,b){a.H.Nm.V(_.C(b,PQ,8).Ri(),_.C(b,_.go,6),2,!1)},W1c=function(a,b){var c=_.C(b,_.co,10);b=JSON.parse(_.y(b,3)||"{}");b=_.VKc(a.H.lc.V,c,{headers:{},text:"",json:b});$1c(a.H).V([b],c,2,!1)},Y1c=function(a,b,c){var d=c?void 0:_.oq(_.VM(_.UM(new _.ob,2),6));a.H.dispatchEvent(new _.qb(new _.pb(b,d,c)));R1c(a,"Prefetched request population failed.")},R1c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},xR=function(a){I_c.call(this,
a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.D(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.I(xR,I_c);xR.prototype.ta=function(){if(!_.A(this.context.H,45,!1))return K_c(this,5),this.ha(),_.Qj(Error("eg"));this.log("Drive SDK cache population initiated.");return this.context.Ds().mb(this.Ja,this).mb(this.Ga,this).Ae(this.ha,this)};
xR.prototype.Ja=function(){var a=this;AQ(this.context.ha,"L6uQWd");sR(this.context).mb(function(b){b.n2()});if(_.A(this.context.H,46,!1))return TNc(this.context.tm(),this.context.W).mb(function(b){if(!b)throw K_c(a,4),Error("fg");J_c(a,b)});this.log("Subscribed corpus cache population disabled.");$Q(this.V);return _.Oj()};
xR.prototype.Ga=function(){var a=this;this.context.Sla();var b=new _.Hj;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.hd();c.Ki(this.Ba);this.V.Pw(5);a2c(this,this.V,c)}c=_.vj(this.context.H,_.he,44);_.Ga(c,function(d){d=new aR(a.context.Ka,a.context.Wa,a.context.ma,d);d.Pw(5);a2c(a,d,d.hd());d=DQ(a.context.ma,d.hd());a.log("Starting "+d+" cache hint corpus cache population.")});_.Qh(this.ka).then(b.callback,this.wa.bind(this,b),b);return b};
var a2c=function(a,b,c){var d=iR(a.context.Ba,null);b=new m_c(a.context,b,c);a.H.push(b);b=_.Th(n_c(b).then(function(e){!e.V&&e instanceof gR&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Qa.jc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new y_c(e,d))}),function(){a.context.Ge.promise.then(function(){x_c(a.context.Ba,null)})});a.ka.push(b)};
xR.prototype.wa=function(a,b){_.Ga(this.H,function(d){d.dispose()});K_c(this,7);var c=b;b instanceof KQ?c=_.vN(b.error):_.EM(b)||(c=Error("gg`"+b));a.Bd(c)};xR.prototype.ha=function(){this.log("Drive SDK cache population failed.");AQ(this.context.ha,"Gv4zef")};xR.prototype.Ne=function(){return 5};
var b2c=function(a,b){_.N.call(this);this.H=a;this.ka=b;this.ma=new _.Xd(this);this.Pa(this.ma);this.W=new w1c(this.H,this.H.Ja);this.Pa(this.W);this.ha=new xR(this.H);this.Pa(this.ha);this.V=null;this.ta=[]};_.I(b2c,_.N);
var i2c=function(a){c2c(a,"Corpus cache population initiated.");a.V=a.H.ta.W(106002);_.m._DRIVE_dsp&&d2c(a);_.m._DRIVE_dspc=function(c){return d2c(a,c)};iR(a.H.Ba,null);_.A(a.H.H,24,!1)&&!_.GO(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?e2c(a):_.m._DRIVE_ivdc=function(){e2c(a)});var b=a.H.Db;b?(a.ma.listen(a.W,"Lb",a.wa),a.ma.listen(a.ha,"Lb",a.wa),(!_.A(a.H.H,10,!1)&&_.F(a.H.H,69)?a.H.Ld.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){c2c(a,"Dump storage initialized.");
return a.W.ta().xf(function(){return f2c(a,a.W.Ne())},function(){g2c(a,a.W.Ne(),a.W.W);if(_.GO(a.H.H))h2c(a,Error("hg"));else return a.ha.ta().then(function(){return f2c(a,a.ha.Ne())},function(c){g2c(a,a.ha.Ne(),a.ha.W);return h2c(a,c)})})},function(c){h2c(a,_.EM(c)?c:void 0,!0)})})):h2c(a,void 0,!0)},d2c=function(a,b){var c=new Q1c(a.H);(_.m._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e==b)}).forEach(function(d){try{X1c(c,new oWc(JSON.parse(d)))}catch(e){Y1c(c,"Error parsing prefetched request.",
e)}});c.dispose()};b2c.prototype.wa=function(a){var b=a.He;c2c(this,"Cache populated: "+b.getType());this.ta.push(j2c(this,b,a.H))};
var f2c=function(a,b){x_c(a.H.Ba,null);AQ(a.H.ha,"L6uQWd");sR(a.H).mb(function(c){c.n2()});return Promise.all(a.ta).then(function(){return k2c(a,b)})},l2c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},k2c=function(a,b){if(!a.isDisposed()){_.GO(a.H.H)||m2c(a.ka,_.vj(a.H.H,_.he,44));c2c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.Tla():t1c(a.H.Ga).then(function(d){d&&a.H.wa.Tla()},function(){});AQ(c,"rVezo");AQ(c,"BNEDtc");a.V&&(b=_.pP(_.fN,b),tQc(RP(a.V),b),
sQc(RP(a.V),!0),uQc(RP(a.V),IVc(a.ka.V)),vQc(RP(a.V),l2c(a)),a.V.V());a.dispose()}},g2c=function(a,b,c){a.V&&(b=_.pP(_.fN,b),tQc(RP(a.V),b),a=RP(a.V),_.tj(a,3,c,void 0))},h2c=function(a,b,c){c=void 0===c?!1:c;x_c(a.H.Ba,null);var d=a.H.ha;AQ(d,"L6uQWd");sR(a.H).mb(function(e){e.n2()});AQ(d,"mrK8ic");AQ(d,"Gv4zef");AQ(d,"rVezo");AQ(d,"BNEDtc");a.H.Qa.jc("CachedCorpusType","partialCorpus");d=!!a.W.context.Db||_.A(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.EM(b)?(d=b,c+=
d.message):c+=String(b),c2c(a,c),b=new _.pb(c,void 0,d),d=b.qg,_.UM(d,_.GO(a.H.H)?3:1),_.VM(d,6),_.mq(d,c),_.oq(d),a.H.dispatchEvent(new _.qb(b))):c2c(a,"Corpus population skipped");a.V&&(sQc(RP(a.V),!1),a.V.V());a.dispose()},j2c=function(a,b,c){return z_c(b,c).then(function(d){d.some(function(e){return b instanceof hR&&e.rz()&&e.Gc()==b.wc()})||G_c(a.ka,b,d)},function(){return h2c(a,Error("ig"))})},e2c=function(a){if(_.m._DRIVE_ivd){var b=new A_c(a.H,a.H.Ja);a.Pa(b);H_c(b)}else AQ(a.H.ha,"DEJoH")},
c2c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},n2c=function(a,b){_.Qg.call(this,"Mb");this.ha=a;this.H=b};_.I(n2c,_.Qg);n2c.prototype.getError=function(){return this.H};var o2c=function(a){_.Qg.call(this,"Nb");this.H=a};_.I(o2c,_.Qg);o2c.prototype.getPeople=function(){return this.H};var p2c=function(a){_.Qg.call(this,"Ob");this.H=a};_.I(p2c,_.Qg);p2c.prototype.getPeople=function(){return this.H};
var q2c=function(a,b,c){this.ha=a;this.H=void 0===c?0:c;this.V=new Set(b?[b]:[]);this.W=null;1==this.H&&(this.W=Date.now())};q2c.prototype.Io=function(){return this.ha.clone()};q2c.prototype.Ne=function(){return this.H};q2c.prototype.Sp=function(){return[1,4,2].includes(this.Ne())};var r2c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
r2c.prototype.create=function(a,b){if(0!=XQc(b)){var c=this.V.W(106001);if(c){var d=XQc(b),e=QP(c);_.x(e,2,d);d=null;if(b instanceof _.jG||b instanceof _.Xn||b instanceof _.he||b instanceof _.YN||b instanceof _.PC||b instanceof _.eo||b instanceof _.SO||b instanceof _.mO||"undefined"!=typeof _.nO&&b instanceof _.nO||b instanceof _.go)d=b.ke();b=d&&_.A(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=QP(c),_.x(d,7,b));this.H.set(a,c)}}};
var s2c=function(a,b,c){if(a=a.H.get(b))a=QP(a),_.x(a,5,c)},t2c=function(a,b,c,d,e){var f=a.H.get(b);f&&(QP(f).Dc(c),c=QP(f),_.x(c,1,d),null!=e&&(d=QP(f),_.x(d,6,e)),f.V(),a.H.delete(b))},u2c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Fb(c);c=YQc(c);if(1==e||2==c)e=_.pP(_.fN,c),d=QP(d),d=3==e||8==e?!_.F(d,5):0!=e?_.hGc.has(e):null,t2c(a,b,1,e,d)}},v2c=function(a,b,c){var d=a.W.Fb(c);d=_.pP(_.KFc,d||22);var e=YQc(c);e=_.pP(_.fN,e);t2c(a,b,d,e,"undefined"!=typeof _.tP&&c instanceof _.tP||"undefined"!=
typeof _.vP&&c instanceof _.vP||"undefined"!=typeof _.wP&&c instanceof _.wP?c.W:null)},yR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(QP(d).Dc(c),d.V(),a.H.delete(b))},x2c=function(a,b,c,d){_.O.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.CM(function(){return w2c(e)},100,this);this.H=[]};_.I(x2c,_.O);
var w2c=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.W.info("drive.ds.sync.query.PeopleQueryRunner","Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));y2c(a,b)}})},y2c=function(a,b){a.ha.then(function(c){return c.H(KQc(new _.bO,b))}).then(function(c){c=c.Jo();a.dispatchEvent(new o2c(c))},function(c){c=_.wN(c);a.dispatchEvent(new n2c(b,c))})},A2c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=new _.Xd(this);this.Pa(this.ka);this.Ga=b;this.W=
d;this.Ba=e;this.V=!_.A(a,90,!1);(d=_.C(a,sOc,85))||(d=new sOc);this.wa=_.D(d,1,864E5);this.ma=new x2c(a,b,c,f);this.H=new Map;this.ta=new _.wD(function(){var k=ZQc(h.Ba,106015);if(k){var l=_.C(_.oP(k),AQc,11);if(!l){l=new AQc;var n=_.oP(k);_.R(n,11,l)}_.x(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();K1c(h,k,1);h.ta.se()});this.ka.listen(this.ma,"Mb",function(k){return z2c(h,k)});this.ha=new Map};_.I(A2c,_.O);
A2c.prototype.get=function(a){var b=this.V?_.kg():"";this.V&&this.W.create(b,KQc(new _.bO,[a]));var c=this.H.get(a);if(c)return 4==c.Ne()||B2c(this,c)?(this.V&&yR(this.W,b,B2c(this,c)?6:5),C2c(this,a+" queued for refresh."),D2c(this,a)):this.V&&t2c(this.W,b,1,_.pP(_.fN,10),null),c;this.V&&yR(this.W,b,5);return null};
var D2c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.$M(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.se());c=new _.Rm;a.ha.set(b,c);return c.promise},F2c=function(a,b){var c=a.V?_.kg():"";a.V&&a.W.create(c,KQc(new _.bO,[b]));return E2c(a,b)?(a.V&&t2c(a.W,c,1,_.pP(_.fN,10),null),Promise.resolve(a.H.get(b))):D2c(a,b).then(function(){a.V&&(E2c(a,b)?t2c(a.W,c,1,_.pP(_.fN,1),null):yR(a.W,c,3));return a.H.get(b)})};
A2c.prototype.uc=function(){return 0==this.H.size};A2c.prototype.clear=function(){C2c(this,"Clearing the PeopleCache.");this.H.clear()};
var G2c=function(a){return _.mc(a.H.values()).concat().filter(function(b){return b.Sp()}).map(function(b){return b.Io()})},H2c=function(a,b){return(a=a.H.get(b))?_.mc(a.V).concat():[]},I2c=function(a,b,c){c=_.p(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.V.delete(b),0==_.mc(e.V).concat().length&&a.H.delete(d))}},K1c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(C2c(a,"Importing "+b.length+" from "+(Object.keys(gWc)[c]+".")),J2c(a,b,c)):C2c(a,"Attempted to import people data from an invalid source.",
"warning")},L2c=function(a,b,c,d){0!=b.length&&K2c(a,b,c,void 0===d?0:d)},E2c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Sp())||(c=4==b.Ne()||B2c(a,b));return!c},K2c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.p(b);for(var f=b.next();!f.done;f=b.next()){var h=f.value;if(f=a.H.get(_.y(h,1))){var k=d;if(_.y(h,1)!=_.y(f.Io(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.Ne();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.Cj(f.ha,h),f.ha=h.clone(),f.H=k,1==f.H&&(f.W=Date.now()),h=!l):
h=!1}h&&(e=!0);c&&f.V.add(c)}else 4!=d&&(e=!0,f=a,k=d,l=c,1!=k&&D2c(f,_.y(h,1)),k=new q2c(h,l,k),f.H.set(_.y(h,1),k))}return e},B2c=function(a,b){return 1==b.Ne()&&Date.now()-Number(b.W)>a.wa},C2c=function(a,b,c){a.Ga.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},z2c=function(a,b){b=b.ha.map(function(c){var d=a.H.get(c);return d?d.Io():WNc(new FP,c)});J2c(a,b,4)},J2c=function(a,b,c){for(var d=_.p(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}K2c(a,b,void 0,c)&&a.dispatchEvent(new p2c(b))},M2c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.V=new _.Xd(this);this.Pa(this.V);this.H=new A2c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.I(M2c,_.O);M2c.prototype.z2=function(a){if(a.H){var b=a.H.getItem(),c=tR(this,[b]).map(function(d){return YNc(d)});L2c(this.H,c,a.H.getId(),N2c(_.y(b,82)))}a.V&&I2c(this.H,a.id,O2c(this,a))};
var N2c=function(a){return _.iGc.get(a)||0},O2c=function(a,b){var c=P2c(a,b.V),d=P2c(a,b.H);return c.filter(function(e){return!d.includes(e)})},P2c=function(a,b){return b?tR(a,[b.getItem()]).map(function(c){return _.iG(c)}):[]},R2c=function(a,b){b=b.getUser();L2c(a.H,[YNc(b)],"ACCOUNT");Q2c(a,b)},S2c=function(a,b){var c=_.vj(b,_.TO,2).map(function(d){var e=_.C(d,_.ok,9,1);return F2c(a.H,_.iG(e)).then(function(){return void P1c(a,[e])})});return Promise.all(c).then(function(){return b})},P1c=function(a,
b){b=_.p(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.iG(c)&&Q2c(a,c)},T2c=function(a,b,c){for(var d=new Set,e=_.p(b),f=e.next();!f.done;f=e.next())f=f.value,_.iG(f)&&(d.add(_.iG(f)),L2c(a.H,[YNc(f)],c));return Promise.all(_.mc(d).concat().map(function(h){return F2c(a.H,h)})).then(function(){return P1c(a,b)})},U2c=function(a,b){return tR(a,[b]).some(function(c){return!qZc(a,_.iG(c))})},qZc=function(a,b){return E2c(a.H,b)},tR=function(a,b){return b.map(function(c){var d=c.Nu();d=d?_.mc(_.vj(d,
_.ok,2)).concat(_.mc(_.vj(d,_.ok,3))):[];var e=c.ef();e=(e=e&&_.ad(e))?tR(a,[e]):[];return _.mc(_.wm(c)).concat([c.Fo(),c.IA(),_.C(c,_.ok,91),c.JF()],_.mc(d),_.mc(e))}).flat().filter(function(c){return c&&!!_.iG(c)})};M2c.prototype.getItems=function(a){return H2c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var V2c=function(a,b){return b.map(function(c){c=c.clone();var d=tR(a,[c]);d=_.p(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.x(e,3,void 0),_.x(e,8,void 0),_.x(e,5,void 0);return c})},Q2c=function(a,b){var c=a.H.get(_.iG(b));if(c){a=c.Io();var d=_.zHc(b.wd(a.getName()),a.getEmail());c=_.gGc.get(c.H)||1;_.x(d,16,c);(a=_.C(a,XNc,4))&&b.ws(a.getUrl())}},W2c=function(){fR.apply(this,arguments)};_.I(W2c,fR);
W2c.prototype.lD=function(a){var b;if(b=fR.prototype.lD.call(this,a))a=a&&a.getItem()&&a.getItem().Ql(),b=!(!a||!a.Xr());return b};W2c.prototype.hd=function(){};W2c.prototype.getType=function(){};W2c.prototype.T8=function(){};
var X2c=function(a,b){this.V=a;this.W=b;this.H={}},Z2c=function(a,b){if(!_.UN(b)){var c=_.y(b,33);if(1==c.length)Y2c(a,c[0],b);else{c=_.CO(b);if(1==c.length&&!_.A(c[0],2,!1)){var d=c[0].tb();c=a.W.get(d);if(!c){c=a.V.V.wa;var e=_.qe(new _.pe,310);c.H([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.rm(h)&&(f=f.wc(),Y2c(a,f,b))}else Y2c(a,null,b)});return}if(c.getItem().wc()&&_.rm(c.getItem().getCapabilities())){c=c.getItem().wc();Y2c(a,c,b);return}}Y2c(a,null,b)}}},Y2c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!GQ(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(sR(a.V).mb(function(e){e.sea(b)}),$2c(a.V.Sv,b))},a3c=function(a,b){if(!_.UN(b)){var c={},d;for(d in a.H){c.gL=d;for(var e=0;e<a.H[c.gL].length;e++)if(_.Cj(b,a.H[c.gL][e])){_.ma(a.H[c.gL],e);"subscribed"!=c.gL&&sR(a.V).mb(function(f){return function(h){h.Gpa(f.gL,!1)}}(c));return}c={gL:c.gL}}}},b3c=function(){this.H=new Map;this.V=[];this.W=[]};
b3c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.zN(e)&&(a?(e=a.getItem().ef())&&_.y(e,1)&&(1==_.dd(e)||3==_.dd(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0==f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.V.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Cj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var c3c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},d3c=function(a){a.V=[];a.W=[]},zR=function(a,b,c,d){_.O.call(this);this.request=a;this.Ja=b;this.Ba=c;this.Ga=d;this.ha=new Set;this.wa=0;this.H=null};_.I(zR,_.O);var e3c=function(a){if(a.H)return a.H.promise;a.H=_.Sh();a.W(a.request).forEach(function(b,c){a.wa++;a.Ja.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};zR.prototype.Ma=function(a,b){this.ka(b);f3c(this,a)};
var f3c=function(a,b){a.ha.add(b);a.ha.size==a.wa?(a.ma(a.request),a.dispatchEvent("Hb"),a.H.resolve()):a.dispatchEvent("Eb")};zR.prototype.Ka=function(a,b){b=_.wN(b);var c=b.qg;5==c.Sr()||4==c.Pi()?(this.Ga.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),f3c(this,a)):(a=new KQ(c,_.D(this.Ba.hf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var g3c=function(a,b){zR.call(this,_.Dj(a),b.tm(),b.H,b.W);this.V=b};_.I(g3c,zR);
g3c.prototype.W=function(a){var b=new Map;a.Ol().forEach(function(c){var d=_.Hva(_.Dj(a),[c]);b.set(c,d)});return b};g3c.prototype.ka=function(a){a=a.zd()[0];GP(this.V.V,[a],1,void 0,!0,this.request.Oh())};g3c.prototype.ma=function(a){GP(this.V.V,[],1,a,!1,this.request.Oh())};g3c.prototype.ta=function(a){a=_.lN(_.hN(new _.gN,a));this.V.V.ta([a])};var h3c=function(a,b,c,d){bR.call(this,a);this.W=b;this.hc=c;this.V={};d&&this.Pz(d,!0)};_.I(h3c,bR);_.g=h3c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=BQ(this.context.H)!=BQ(this.context.H,this.hc.Oh()),c=[];this.hc.Ol().forEach(function(h){var k=a.V[h];k&&k.getItem().Sj()&&!b||c.push(h)});if(0==c.length)return this.Pz([],!1),_.Oh();var d=_.Dj(this.hc);_.Hva(d,c);var e=new g3c(d,this.context),f=_.Sh();this.context.ka.Ef()?(this.Rd.listen(this.context.ka,"Cb",function(h){h.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),PZc(a),e3c(e).then(f.resolve,f.reject,f))}),this.H=0<_.df(this.V)?1:2):(this.context.Rg.Ef()&&
(this.H=0<_.df(this.V)?1:2),PZc(this),e3c(e).then(f.resolve,f.reject,f));return f.promise};_.g.D4=function(a){return this.context.ma.equals(a,this.hc)&&gNc(_.iP(this.W),a.Oh())};_.g.hT=function(a){var b=new _.qP;b.Dc(this.H);cSc(b,this.Ne());dSc(b,_.bf(this.V,function(c){return c?c.getItem():null}));KZc(this,a.Oh(),b.Ts());return b};_.g.resize=function(){};_.g.hd=function(){return this.hc};
_.g.ZN=function(a){var b=i3c(this,a.V),c=i3c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};
var i3c=function(a,b){return!!b&&a.hc.Ol().includes(b.getId())},wR=function(a,b,c,d,e){bR.call(this,a);var f=this;this.hc=_.Dj(b);this.ha=new eR(this.context,this.hc,!1,e);this.wa=0;b=this.hc.ve()&&IUc(this.hc.ve());e=this.context.Wa;this.ka=b?(0,_.K)(e.compare,e,this.hc):null;this.Cc=!b||!uVc(this.hc)||_.KM(a.H.Se());this.tc=tVc(this.hc);this.V=[];this.ta={};this.Db=null;this.Wa=!1;this.hb=[];this.Ba=[];this.Vb=this.Ib=this.rb=null;this.W=0;c&&this.Pz(c,!d);this.lc=null;this.Ka=Date.now();this.Ma=
_.D(a.H.hf(),16,36E5);_.yO(this.hc)&&this.Rd.listen(this.context.qh,"Jb",this.Hc);_.od(this,function(){_.dc(f.ha);j3c(f)})};_.I(wR,bR);wR.prototype.refresh=function(){return k3c(this,!1)};var k3c=function(a,b){a.H=6;if(_.A(a.hc,48,!1))return a.H=1,_.Oh();if(_.yO(a.hc)){var c=l3c,d=a.context.qh.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return m3c(a,b)};wR.prototype.initialize=function(){return this.W>=this.hc.lh()||1==this.H?_.Oh():this.refresh()};
var j3c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},l3c=function(a,b){_.m.clearTimeout(a.lc);a.lc=_.m.setTimeout(function(){return k3c(a,!0)},b)};wR.prototype.Hc=function(){Date.now()-this.Ka>this.Ma&&l3c(this,0)};
var m3c=function(a,b){a.ha&&(a.Rd.Pc(a.ha,"Gb",a.Oja),a.Rd.Pc(a.ha,"Hb",a.sEa),a.ha.dispose());var c=a.hc.ke();c&&_.se(c,!1);a.ha=new eR(a.context,a.hc,b);a.wa=0;a.Rd.listen(a.ha,"Gb",function(){return a.Oja(a.ha.ha)});a.Rd.listen(a.ha,"Hb",a.sEa);return n3c(a)},n3c=function(a){var b=_.Sh();a.context.ka.Ef()?a.Rd.listen(a.context.ka,"Cb",function(c){c.Ef()||(a.Rd.Pc(a.context.ka,"Cb"),o3c(a,b))}):o3c(a,b);return b.promise},o3c=function(a,b){PZc(a);var c=a.hc.lh()+a.wa;_.cla(f_c(a.ha,c).xf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=wR.prototype;_.g.resize=function(a){var b=0;for(var c=_.p(new Set(_.mc(this.ma).concat())),d=c.next();!d.done;d=c.next()){d=d.value;var e=cR(this.context);d=NZc(e,d).hd();b=Math.max(b,d.lh())}_.yO(this.hc)?(this.hc.Ki(b),2!=this.Ne()&&!this.ha.H&&(b>this.W||a)?this.refresh():p3c(this)):this.hc.lh()!=b&&(this.hc.Ki(b),b>this.W?n3c(this):p3c(this))};_.g.hd=function(){return this.hc};_.g.D4=function(a){return this.context.ma.equals(a,this.hc)};
_.g.hT=function(a){var b=a.lh(),c,d=!1;if(_.VN(this.hc)){var e=this.V.slice();var f=this.Ba.slice(0,b);if(this.Ba.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Am(k.getItem()).filter(function(l){return h.includes(l.Io().getId())});k=k.clone();aNc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Am(l.getItem()).length})}d=pNc(e);c=new _.rP;eRc(c,!1);fRc(c,f)}else e=this.V.slice(0,b),c=new _.YB,UPc(c,b<this.V.length||!(this.context.ka.Ef()||this.context.Rg.Ef())&&
1!=this.H),_.R(c,7,this.Db),_.x(c,8,this.Wa),_.mIc(c,this.hb),d=pNc(e);e=EP(e);KZc(this,a.Oh(),e);c.gw(e);c.Dc(d?6:1==this.H||b<=this.W?1:this.context.ka.Ef()||this.context.Rg.Ef()?0<this.V.length?1:2:6);c.UW(this.Ne());c.hI(this.rb);c.setSessionId(this.Ib);c.VW(this.Vb);return c};_.g.Oja=function(a){this.Db=a.ma;this.Wa=a.V;this.hb=a.W;this.Ba=a.ha;this.rb=a.ka;this.Ib=a.getSessionId();this.Vb=a.wa};_.g.sEa=function(){var a=this.hc.lh()-this.W;0<a&&d_c(this.ha)&&(this.wa+=a,n3c(this))};
_.g.Pz=function(a,b){_.yO(this.hc)&&j3c(this);var c=!1;a=_.p(a);for(var d=a.next();!d.done;d=a.next())d=VQ(d.value),c=this.ZN(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.za;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(q3c(this,"ViewCache unsorted after import"),this.context.Wa.sort(this.hc,this.V));c&&LZc(this)};
_.g.ZN=function(a,b){var c=this.ta[a.id],d=!!c,e=r3c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&q3c(this,"Updating different wrapper from the existing one"):q3c(this,"Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?(b=f,a=a.H,this.ka&&0!=this.ka(b,a)?(s3c(this,b),t3c(this,a)):(c=this.V,d=this.ka?_.Ba(this.V,b,this.ka):_.fa(this.V,b),c[d]=a,a.H++,u3c(a)&&this.W++,b.H--,u3c(b)&&this.W--,_.hf(this.ta,b.getId()),this.ta[a.getId()]=a)):(s3c(this,f),_.yO(this.hc)&&l3c(this,0));
else{if(_.yO(this.hc)&&!b)return!1;t3c(this,a.H)}else return!1;return!0};
var t3c=function(a,b){a.ka?UMc(a.V,b,a.ka):a.V.push(b);b.H++;u3c(b)&&a.W++;a.ta[b.getId()]=b},s3c=function(a,b){if(a.ka){var c=a.V,d=_.Ba(c,b,a.ka);0<=d&&_.ma(c,d)}else _.na(a.V,b);b.H--;u3c(b)&&a.W--;_.hf(a.ta,b.getId())},r3c=function(a,b,c){if(!b)return!1;if(a.Cc&&!_.yO(a.hc)){if(c)return!0;if(!a.tc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=HQ(a.context.Ka,a.hc,b.getItem());return c&&a}}if(!HQ(a.context.Ka,a.hc,b.getItem()))return!1;var e=1.2*a.hc.lh();if(1==a.H||!a.ka||
wUc(b.V,2)||a.W<e||c||KNc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},p3c=function(a){if(1!=a.H&&!a.context.ka.Ef()&&!a.context.Rg.Ef()){var b=1.2*a.hc.lh();if(!(b>=a.W||a.ha&&b>=a.ha.$b())){b=a.W-a.hc.lh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];wUc(d.V,2)||KNc(d.getItem())||(d.H--,u3c(d)&&a.W--,_.hf(a.ta,d.getId()),_.ma(a.V,c),b--)}m3c(a,!1)}}},q3c=function(a,b){var c=new _.ob;_.UM(c,2);_.VM(c,6);_.oq(c);a.context.dispatchEvent(new _.qb(new _.pb(b,
c)))},u3c=function(a){return!wUc(a.V,2)&&3!=BP(a.getItem())};wR.prototype.Ga=function(){p3c(this)};wR.prototype.Ja=function(a){return 1!=this.H&&a.lh()>this.W&&this.ha.H};
var v3c=[50],x3c=function(a,b){_.N.call(this);var c=this;this.Wa=new _.Xd(this);this.Pa(this.Wa);this.H=a;this.Ba=b;this.W={};this.ka=new p_c(a.ma);this.ha=new BVc(a.ag,a.Ka,a.Wa);this.Ja=new b3c;_.F(a.H,60)&&(this.Ib=new W2c(a.Ka,a.Wa));this.Ga=new lVc(a.W,_.iP(this.Ba));(b=_.ZM(this.H.H))&&!_.A(b,1,!1)&&w3c(this,_.y(this.H.H,28));this.V=new EVc(this.Ba,this.H.ma,this.ha,this.Ga);this.H.ta.ha.H=this.V;this.wa=new h_c(this.H,this.Ba,this.W,this.ha);this.Qa=new X2c(this.H,this.ha);this.Ka=new b2c(this.H,
this);_.od(this.Ka,function(){c.Ka=null});this.rb=_.MGc(SQc(this.Ba),v3c);zQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.A(this.H.H,15,!1)||this.H.Vb||b.push("NVkrgc");zQ(this.H.ha,b,function(){var d=new _.ok;d.kc(c.H.Vb);_.x(d,7,!0);_.x(d,6,1);var e=new _.pm;_.DHc(e,!0);_.x(e,2,!1);_.x(e,3,!1);_.x(e,4,!1);_.x(e,5,!1);_.x(e,6,!0);_.EHc(e,!0);_.x(e,10,!1);_.HHc(e,!1);_.JHc(e,!1);_.IHc(e,!1);_.FHc(e,!1);_.GHc(e,!1);_.MHc(e,!1);var f=new _.vm;f.kc(c.H.uq());f.setTitle(_.D(c.H.H,
38,"My Drive"));_.zM(f,"application/vnd.google-apps.folder");f.Rn(!1);_.R(f,17,d);_.yj(f,15,[d]);_.AM(f,1);_.x(f,29,!0);_.x(f,63,!0);f.ln(e);GP(c,[f],1);AQ(c.H.ha,"hVFf7")});this.Ma=_.Sh();zQ(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new M2c(this.H.H,this.H.W,a.tm(),a.Tn,this.H.ta,this.H.Ld.promise);_.$M(this.H.H)&&this.Wa.listen(this.ma,"Ob",this.Db)};_.I(x3c,_.N);
x3c.prototype.Db=function(a){var b=this,c=a.getPeople();vR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.p(c);for(var e=c.next();!e.done;a={s3:a.s3},e=c.next())a.s3=e.value,this.ma.getItems(_.y(a.s3,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();vR(b,"Unexpected missing wrapper for "+h+" with "+(_.y(f.s3,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});GP(this,_.mc(d.values()).concat(),1);this.H.wa.update(6)};x3c.prototype.initialize=function(){i2c(this.Ka)};
var C3c=function(a,b,c){if(c instanceof _.he)c=CQ(a.H.ma,c),y3c(a,c.Oh()),Z2c(a.Qa,c),a=z3c(a,c),HZc(a.cache,b);else if(c instanceof _.Xn)c=A3c(a,c),y3c(a,c.Oh()),a=B3c(a,c),HZc(a.cache,b);else if(c instanceof _.SO){var d=uR(a,c),e=a.W[d];e?(3==e.H?(vR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):vR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,$r:!1}):(vR(a,d+" | ItemQueryRequest backed by new cache"),e=new jR(a.H,a.Ba,c),e.refresh().Vf(_.Ie),
a.W[d]=e,a={cache:e,$r:!0});HZc(a.cache,b)}else if(c instanceof _.eo)d=c.Oh(),e=a.Ga,mVc(e,e.V,e.ha,d),a=B3c(a,c),HZc(a.cache,b);else throw Error("jg");return a.$r},D3c=function(a,b,c){if(c instanceof _.he)c=CQ(a.H.ma,c),a3c(a.Qa,c);else if(c instanceof _.Xn)c=A3c(a,c);else if(!(c instanceof _.SO||c instanceof _.eo))throw Error("jg");c=uR(a,c);var d=a.W[c];d&&(IZc(d,b),d.isDisposed()&&delete a.W[c])},uR=function(a,b){return DQ(a.H.ma,b,2)},z3c=function(a,b){var c=uR(a,b),d=a.W[c];if(d)return 3==d.H?
(vR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):vR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,$r:!1};d=[];for(var e=5,f,h,k=q_c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.oC(b);if(5!=e){f=1==e?void 0:b.lh();d=n.dja(b,f);f=n.Ne();h=n instanceof aR?n.EF():"";vR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.p_()+" | initial "+d.length));break}}5==e&&vR(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ef()||a.H.Rg.Ef())d=d.concat(a.ha.query(b,
1)),_.ya(d,void 0,function(q){return q.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.oC(b)?e.oC(b):6,vR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new wR(a.H,b,d,1==e,h);f&&d.Pw(f);d.Pz(a.ha.query(b,2),1!=e);d.initialize().Vf(function(q){q=_.WM(q);_.oq(q);a.H.dispatchEvent(new _.qb(new _.pb("Error during view cache init",q)))});a.W[c]=d;return{cache:d,$r:!0}},B3c=function(a,b){var c=uR(a,b),d=!1,e=a.W[c];if(e)e.D4(b)?vR(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Ol()),
b=E3c(a,b,d),d=!0,a.W[c]=b,F3c(e,b),e=b,vR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Ol());e=E3c(a,b,f);d=!0;a.W[c]=e;vR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,$r:d}},E3c=function(a,b,c){var d;b instanceof _.Xn?d=new YZc(a.H,a.Ba,b,c):d=new h3c(a.H,a.Ba,b,c);c.length&&d.Pw(8);d.refresh().Vf(_.Ie);return d},G3c=function(a){return Object.values(a.W).filter(function(b){return b.hd()instanceof _.SO})};
x3c.prototype.hb=function(a){for(var b=_.qe(new _.pe,309),c=[],d=_.p(Object.entries(this.Ga.H)),e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;f=_.p(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.p(h.value);var k=h.next().value;h.next();if(k==a){c.push(Number(e));break}}}c.length&&(d=RUc(this.H.ma,c,!0),vR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var JZc=function(a,b,c){c&&c.length&&oVc(a.Ga,b,c);_.$M(a.H.H)&&(a=a.ma,P1c(a,tR(a,b)))},G_c=function(a,b,c){if(b instanceof jR){var d=uR(a,b.hd()),e=a.W[d];if(e){H3c(a,b,e);vR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof ZQ&&a.ka.removeAll([b]);var f={},h=_.kf(a.ha.H),k=[];b.ty().forEach(function(n){var q=n.getId(),t=a.ha.get(q);if(t){var v=BP(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(RWc(n,t));_.hf(h,q)}else q=VQ(n),a.ha.update(q),a.Ja.update(q),
_.$M(a.H.H)&&a.ma.z2(q);_.$M(a.H.H)&&I3c(a,n.getItem())});_.$e(h,function(n){k.push(VQ(n))});d=_.p(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof jR?(d=uR(a,b.hd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.$e(f,function(n){var q=new _.gN;_.hN(q,n.getId());q.setItem(n);l.push(q)});a.ta(l);vR(a,"Merged cache: "+b.getType());b instanceof hR&&c.forEach(function(n){J3c(a.H.Uj,n)});a.H.wa.update(3)},H3c=function(a,b,c){if(c instanceof jR&&(c=c.ty(),b=b.ty(),0!=c.length&&0!=b.length)){var d=
Math.min(c.length,b.length);c=c.slice(0,d);b=b.slice(0,d);for(var e=0;e<d;e++){var f=c[e].getItem(),h=b[e].getItem();if(f.getId()!=h.getId()){vR(a,"(b/160317444) Inconsistent shared drives list found.");_.Sj(Error("kg"));$Qc(a.H.ta,160317444);break}}}},F3c=function(a,b){(new Set(_.mc(a.ma).concat())).forEach(function(c){HZc(b,c);IZc(a,c)})},GP=function(a,b,c,d,e,f){f||(f=d?_.mc(d.Oh().filter(function(B){return!_.iP(a.Ba).includes(B)})).concat():[]);d&&d instanceof _.he&&_.yO(d)&&K3c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new yQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,z=L3c(a,t,q);if(null!=z)q.fH(z),M3c(a,v,n),JNc(n),n=jVc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.$M(a.H.H)&&I3c(a,n);!t||N3c(a,v,n,f)?(k.push(QWc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=uR(a,d),b=a.W[b],d instanceof _.he&&(d=t_c(a.ka,d))&&d.Pz(h,!!e),b&&b.Pz(h,!!e));0<k.length&&(e=_.oc(a.W),b&&_.na(e,b),O3c(a,k,e,f),P3c(a,h));cR(a.H).ka()},I3c=function(a,b){U2c(a.ma,b)||5!=BP(b)||
_.fIc(b,1)},N3c=function(a,b,c,d){(b=b?b.clone():null)&&JZc(a,[b],d);return!_.Cj(b,c)},K3c=function(a,b,c){Q3c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(AP(f,d,[1002]),AP(f,d,[1003]),AP(f,d,[1005]),b[e]=f);_.UN(c)&&0<_.y(c,33).length&&_.gIc(d,_.y(c,33)[0])})},Q3c=function(a,b,c){var d;_.UN(c)?d="quick access":_.VN(c)?d="people predict":_.WN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");vR(a,"Got "+b.length+" items for "+d+": "+c)},R3c=function(a,b){var c=
{};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.$e(c,function(d,e){e=Number(e);GP(a,EP(d),e)})};
x3c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.rz()?null:d.getItem(),f=d.Gc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new yQ(e,void 0,void 0,d.Qx()||void 0);var l=L3c(this,f,k);if(null==l)continue;k.fH(l);M3c(this,h,e);_.A(d,5,!1)&&zP(e,mNc);JNc(e);e=jVc(e,h);k.setItem(e);_.$M(this.H.H)&&I3c(this,e)}l=this.H.Sv;J3c(l.H.Uj,d);if(GQ(d)){var n=d.wc();d.rz()?S3c(l,n):(d=d.getItem(),kVc(d)&&T3c(l,n))}!h&&!e||_.Cj(h,e)||b.push(QWc(f,k))}O3c(this,b,_.oc(this.W),
[])};
var M3c=function(a,b,c){b&&!c.Ql()&&AP(c,b,a.rb);var d=b?b.ef():null,e=c.ef();e=e?_.ad(e):null;d&&e&&M3c(a,_.ad(d),e);b&&!_.zm(c)&&AP(c,b,[1002]);b&&!_.Am(c).length&&AP(c,b,[1003]);b&&!c.DI().length&&AP(c,b,[1005]);b&&null==c.V()&&AP(c,b,[71]);b&&null==_.y(c,79)&&AP(c,b,[73]);b&&_.F(b,31)&&!_.F(c,31)&&(zP(c,mNc),vR(a,"Cleared Item Suggest data for "+b.getId()+"."))},UZc=function(a,b,c){if(b instanceof _.he||b instanceof _.Xn||b instanceof _.SO)b=uR(a,b),(a=a.W[b])&&OZc(a,c);else throw Error("jg");},
L3c=function(a,b,c){var d=c.getItem();if(U3c(a.H.Wf,d.getId()))return null;if(b){if(!vUc(b.V,c.V))return null;a=b.getItem();if(3!=BP(a)&&!GQ(a)&&!GQ(d)&&a.wc()==d.wc())if(_.y(a,75)&&_.y(d,75)){if(_.y(a,75)>_.y(d,75))return null}else if(b.Qx()&&c.Qx()){if(b.Qx()>c.Qx())return null}else if(a.mq()>d.mq())return null}return xUc(b&&b.V,c.V)},V3c=function(a,b){(a=a.ha.get(b))&&a.fH(xUc(a.V,-2))},W3c=function(a,b,c){b=_.p(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Ga.update(d.id,d.H?d.H.getItem():
null,c)},O3c=function(a,b,c,d){_.$M(a.H.H)&&b.forEach(function(k){return a.ma.z2(k)});W3c(a,b,d);c=_.p(c);for(d=c.next();!d.done;d=c.next())MZc(d.value,b);c=0;b=_.p(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=q_c(a.ka);var h=_.p(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.F(a.H.H,60)&&a.Ib.update(e);a.ha.update(e);a.Ja.update(e);a.ha.get(e.id)||qVc(a.Ga,e.id)}0<c&&a.H.wa.yEa(c);X3c(a)},X3c=function(a){var b=a.Ja.V.slice(0),c=c3c(a.Ja);d3c(a.Ja);if(b.length){vR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.pe;_.qe(d,308);a.wa.H(b,d,!0)}if(c.length){vR(a,"Updating locally stale shortcuts: "+c.join(", "));b=FVc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().ef(),k=_.y(h,1);if(k=a.V.H(k))_.R(h,5,k),_.x(h,4,1),e.push(f)});R3c(a,e)}},A3c=function(a,b){_.Ca(b.Oh());var c=_.fa(b.Ol(),"root");if(0>c)return b;b=_.Dj(b);b.Ol()[c]=a.H.uq();return b},w3c=function(a,b){b=TQc(a.Ba,b);a=a.Ga;mVc(a,a.H,a.W,b)},y3c=function(a,
b){var c=_.ZM(a.H.H);c&&_.A(c,1,!1)&&w3c(a,b)},P3c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==BP(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});vR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.qe(new _.pe,311);a.wa.H(c,d)}})},m2c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!t_c(a.ka,c)){vR(a,"Adding new cache hint for "+uR(a,c));var d=new aR(a.H.Ka,a.H.Wa,a.H.ma,c);c=new m_c(a.H,d,c);var e=iR(a.H.Ba,null);_.Th(n_c(c).then(function(){z_c(d,
e).then(function(f){G_c(a,d,f)})}),function(){x_c(a.H.Ba,null)})}})})},vR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},Y3c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Z3c=function(a,b){a=Y3c(a);b=Y3c(b);return!(!a||!b||a!=b)},$3c=function(a){return a.Gc()+"_"+Y3c(a.getName())},AR=function(a,b){_.N.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.I(AR,_.N);
var c4c=function(a,b){a.H.add(b);a4c(a).then(function(){return b4c(a,b)})};AR.prototype.Ne=function(){return this.ka};AR.prototype.Bma=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.W9(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?d4c(this):_.Oh([])};
var d4c=function(a){for(var b=[],c=_.p(a.H.values()),d=c.next();!d.done;d=c.next())b.push(b4c(a,d.value));return _.Qh(b)},e4c=function(a,b){a.status=3;for(var c=[],d={},e=_.p(a.H.values()),f=e.next();!f.done;d={Jca:d.Jca},f=e.next())d.Jca=f.value,c.push(a.ha.then(function(h){return function(k){k.Ga[h.Jca]=b;k.V||(k.V=_.Wh(k.ka,50,k))}}(d)));_.Qh(c)},f4c=function(a){for(var b=[],c={},d=_.p(a.H.values()),e=d.next();!e.done;c={Kca:c.Kca},e=d.next())c.Kca=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Kca])&&h.oJ()}}(c)));_.Qh(b).then(function(){var f=0==a.Ne()?1:6;a.ka=f})},a4c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=NZc(b,d).hd();c=Math.max(c,d.lh?d.lh()||0:0)});a.U9(c)})},g4c=function(a,b){return b?a.ma.get(a.Y6(b)):null};AR.prototype.V9=function(a,b){b=xUc(g4c(this,a),b);this.ma.set(this.Y6(a),b)};AR.prototype.Y6=function(a){return a};AR.prototype.r6=function(){};
var b4c=function(a,b){return a.ha.then(function(c){var d=a.q_();c.Ba[b]=d;c.V||(c.V=_.Wh(c.ka,50,c))})};AR.prototype.removeItem=function(){};var BR=function(a,b){_.O.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.I(BR,_.O);
var h4c=function(a){return!a.ma||""!=a.ha},CR=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&h4c(a)?i4c(a):_.Oh()},i4c=function(a){a.ma=!0;a.V=!0;var b=a.V4(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return j4c(a,c)},function(c){a.V=!1;c=_.WM(c);var d=new KQ(c);a.xEa(d);a.dispatchEvent(d);return _.Ph(c)})},j4c=function(a,b){a.V=!1;a.ha=a.j7(b);b=a.E6(b);b.forEach(function(c){return a.H.push(c)});a.r_(b);return a.H.length<a.W&&h4c(a)?_.Qh([_.Oh(b),i4c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Oh(b)};BR.prototype.r_=function(){};BR.prototype.xEa=function(){};var k4c=function(a,b,c){BR.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Vf(function(e){return _.xN(e)})});this.ka=b};_.I(k4c,BR);_.g=k4c.prototype;_.g.V4=function(a,b,c){a=_.Dj(a);a.Ki(b);return new _.XGc(a,c)};_.g.j7=function(a){return a.pageToken||""};_.g.E6=function(a){return a.response.V()};_.g.r_=function(a){DR(this.ka,a,!1,1)};
_.g.xEa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&e4c(b,a)};var l4c=function(a,b,c,d){AR.call(this,a,_.Dj(d));this.V=[];this.W=null;this.wa=b;this.ta=c};_.I(l4c,AR);l4c.prototype.refresh=function(){f4c(this);this.W=new k4c(this.wa,this.ta,this.request);return CR(this.W,this.request.lh()||100)};var m4c=function(a,b){return a.V.find(function(c){return Z3c(c.getName(),b)})};_.g=l4c.prototype;
_.g.U9=function(a){this.W&&a==this.request.lh()||(this.request.Ki(a),this.W?CR(this.W,a):this.refresh())};_.g.q_=function(){var a=this,b=lSc((new $P).Dc(this.status),this.V.filter(function(c){return a.ta.dla(c)}).map(function(c){return c.clone()}));return new _.uP(b,void 0,void 0,this.Ne())};_.g.Bma=function(a,b,c){var d=this;a=a.filter(function(e){return e.Gc()==d.request.Gc()});return AR.prototype.Bma.call(this,a,b,c)};
_.g.W9=function(a,b){b=void 0===b?1:b;if(!vUc(g4c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return Z3c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.V9(a.getName(),b);return!0};_.g.removeItem=function(a){_.oa(this.V,function(b){return Z3c(b.getName(),a)})&&(this.ma.delete(this.Y6(a)),d4c(this))};_.g.Y6=function(a){return Y3c(a)};_.g.V9=function(a,b){m4c(this,a)&&AR.prototype.V9.call(this,a,b)};
_.g.r6=function(a){var b=this;return a instanceof _.iO&&a.Gc()!=this.request.Gc()?[]:a.yM().map(function(c){return m4c(b,c.Kk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var ER=function(){this.H=new Map},n4c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Y4(c),a.H.set(d,e));c4c(e,b);return f},o4c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Sfa(c),a.H.set(d,e));c4c(e,b);return f},p4c=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.H.delete(b),0==d.H.size&&d.dispose(),d.isDisposed()&&a.H.delete(a.getKey(c)))},q4c=function(a,b){return a.H.get(b)},DR=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.dla(f)});a.H.forEach(function(f){f.Bma(e,
c,d)})};ER.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};ER.prototype.r6=function(a){var b=Array.from(this.H.values()).map(function(c){return c.r6(a)});return[].concat.apply([],_.mc(b))};var r4c=function(a,b){a.H.forEach(function(c){c.V9(b,-2)})};ER.prototype.dla=function(){return!0};ER.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Y4(b),f.ka=c,this.H.set(e,f),DR(this,a,d))};
var s4c=function(){this.V=new Set;this.W=new Set;this.H=0},t4c=function(a,b){a.V.add(b)};s4c.prototype.ha=function(a){this.V.delete(a)};var u4c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};s4c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var U3c=function(a,b){return a.V.has(b)||a.W.has(b)};s4c.prototype.qX=function(a){var b=this;return a.filter(function(c){return!U3c(b,c.getId())})};var v4c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new s4c};
_.I(v4c,ER);var w4c=function(a,b){t4c(a.W,$3c(b));(a=q4c(a,b.Gc()))&&d4c(a)};_.g=v4c.prototype;_.g.getKey=function(a){return a.Gc()};_.g.Y4=function(a){return new l4c(this.ha,this.ka,this,a)};_.g.Sfa=function(a){return new l4c(this.ha,this.ka,this,a)};_.g.o9a=function(a){a=_.p(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=q4c(this,b.getId()))&&b.refresh()};_.g.dla=function(a){return!U3c(this.W,$3c(a))};
var x4c=function(a,b){this.V=a;this.H=b},y4c=function(a,b){b=_.lLb(b);var c=new k4c(a.V,a.H,b);new Promise(function(d,e){return CR(c,100).then(d,e)})},z4c=function(a,b,c){BR.call(this,a,c);this.ka=b};_.I(z4c,BR);z4c.prototype.V4=function(a,b){return _.Dj(a).Ki(b)};z4c.prototype.j7=function(){return""};z4c.prototype.E6=function(a){return[a]};z4c.prototype.r_=function(a){this.ka(a)};var A4c=function(a,b,c,d){AR.call(this,a,_.Dj(d));this.ta=c;this.wa=b;this.V=this.W=null};_.I(A4c,AR);
A4c.prototype.refresh=function(){var a=this;f4c(this);this.V=new z4c(this.request,this.ta,function(b){return a.wa.then(function(c){return c.H(b)})});return CR(this.V,this.request.lh()||0)};A4c.prototype.U9=function(a){1==this.status||this.V&&a==this.request.lh()||(this.request.Ki(a),this.V?CR(this.V,a):this.refresh())};A4c.prototype.q_=function(){if(this.W)return this.W;var a=new dQ;a.Dc(this.status);return a};A4c.prototype.W9=function(a){this.W=a;return!0};
var B4c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.I(B4c,ER);var C4c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};B4c.prototype.getKey=function(a){return a.toString()};B4c.prototype.Y4=function(a){var b=this;return new A4c(this.W,this.ka,function(c){DR(b,c,!1)},a)};B4c.prototype.Sfa=function(){throw Error("lg");};
B4c.prototype.V=function(a,b,c,d){var e=a[0].Ri();C4c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));ER.prototype.V.call(this,a,b,c,d)};var E4c=function(a){_.N.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.fm;var c=_.Sh();this.Ga=c.promise;u1c(this.H.Ga).then(function(d){b.V=d||[];c.resolve();D4c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;zQ(this.H.ha,["rVezo"],(0,_.K)(this.ka,this))};_.I(E4c,_.N);
var $2c=function(a,b){_.A(a.H.H,46,!1)&&a.Ga.then(function(){if(a.V[0]!=b){_.na(a.V,b);for(kVc(a.H.V.V.H(b))?FR(a,b,"Hidden TD, not tracking in recency list"):_.va(a.V,0,0,b);a.V.length>2*_.D(a.H.H,47,5);)a.V.pop();rR(a.H.Ga,n1c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.D(a.H.H,47,5)&&(D4c(a),a.ka())})},T3c=function(a,b){_.na(a.V,b)&&rR(a.H.Ga,n1c,a.V)},S3c=function(a,b){T3c(a,b);a.ha.contains(b)&&a.ha.remove(b);var c=a.W.get(b);c&&c.dispose();a.W.delete(b);c=a.H.V.ka;for(var d=_.ra(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.wc()==b){FR(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}sR(a.H).mb(function(h){h.Gpa(b,!0)});a.ka()};E4c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;F4c(this);for(var b={};this.ha.$b()&&!(this.ma>=_.D(this.H.H,47,5));){var c=_.gm(this.ha);this.ma++;s_c(a,c)||this.W.has(c)||(this.W.set(c,null),b.u3=new _.tO,_.x(b.u3,1,c),this.H.tm().then(function(d){return function(e){return e.H(d.u3)}}(b)).then(this.Ba.bind(this,c),this.wa.bind(this,c)));b={u3:b.u3}}}};
var D4c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},F4c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){D4c(a);a.ka()},36E5)};E4c.prototype.Ba=function(a,b){var c=_.y(b,1);c&&c>_.D(this.H.H,48,1E3)?(FR(this,a,"Too large to backfill: "+_.y(b,1)),G4c(this,a,!1)):H4c(this,a)};
E4c.prototype.wa=function(a,b){(b=_.WM(b).Pi())&&4==b?(FR(this,a,"Non-existent or inaccessible, removing from cache"),a=_.lN(_.$Fc(_.hN(new _.gN,a),a)),this.H.V.ta([a])):H4c(this,a)};
var H4c=function(a,b){var c=new hR(a.H.Ka,a.H.Wa,b),d=_.Dj(c.hd());d.Ki(_.D(a.H.H,48,1E3));d=new m_c(a.H,c,d);a.W.set(b,d);FR(a,b,"Backfill started");var e=iR(a.H.Ba,b);sR(a.H).mb(function(f){f.sea(b)});_.Th(n_c(d).then(function(){I4c(a,b,c,e)},function(){FR(a,b,"Backfill failed");a.ma--;G4c(a,b,!0)}),function(){x_c(a.H.Ba,b)})},I4c=function(a,b,c,d){c.V?(c.bT(),z_c(c,d).then(function(e){FR(a,b,"Backfill complete, size: "+c.p_());G_c(a.H.V,c,e);G4c(a,b,!1)},function(){FR(a,b,"Backfill changes failed");
G4c(a,b,!0)})):(FR(a,b,"Backfill exceeded size limit"),G4c(a,b,!0))},G4c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&sR(a.H).mb(function(e){e.Gpa(b,!1)});a.ka();0<a.W.size||_.ra(a.H.V.ka.V).map(function(e){return e.wc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return S3c(a,e)})},FR=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},J4c=function(a){var b=new _.WB;b.kc(a);return b},K4c=function(a,b,c,d,e){zR.call(this,_.Dj(a),
c,d,e);this.V=b};_.I(K4c,zR);K4c.prototype.W=function(a){var b=new Map;a.Ol().forEach(function(c){var d=_.Dj(a).Ib([c]);b.set(c,d)});return b};K4c.prototype.ka=function(a){var b=[];a.ZL().forEach(function(c){b.push(c)});this.V(b,!0)};K4c.prototype.ma=function(){this.V([],!1)};K4c.prototype.ta=function(a){this.V([J4c(a)],!0)};var L4c=function(a,b,c,d,e,f){AR.call(this,a,_.Dj(f));this.wa=e;this.Ga=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.I(L4c,AR);
L4c.prototype.refresh=function(){this.W=new K4c(this.request,this.wa,this.Ga,this.ta,this.Ba);return e3c(this.W)};L4c.prototype.U9=function(){this.W||this.refresh()};L4c.prototype.q_=function(){var a=new _.sP;a.Dc(this.status);_.$e(this.V,function(b,c){a.ZL().set(c,b||new _.WB)});GSc(a,this.Ne());return a};L4c.prototype.W9=function(a){var b=a.getId();if(_.Cj(a,J4c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Ol().indexOf(b))return this.V[b]=a,!0;return!1};
var M4c=function(a,b){a=a.getState();return null==a||b.getState()==a},N4c=function(a,b,c){BR.call(this,a,c);this.ka=b};_.I(N4c,BR);N4c.prototype.V4=function(a,b,c){a=_.Dj(a);a.Ki(b);return new _.gHc(a,c)};N4c.prototype.j7=function(a){return a.pageToken||""};N4c.prototype.E6=function(a){return a.response.Ri()};N4c.prototype.r_=function(a){this.ka(a)};var O4c=function(a){this.W=EUc(a,{numeric:!0})};
O4c.prototype.H=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!=e?f=this.W(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};O4c.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!=e?f=_.za(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};var P4c=function(a,b,c,d,e){AR.call(this,a,_.Dj(e));this.wa=d;this.Ba=b;this.W=[];this.V=null;a=new O4c(c);b=(c=_.C(this.request,_.fo,5))?c.getType():0;c=c?c.Nh():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.I(P4c,AR);P4c.prototype.refresh=function(){var a=this;f4c(this);this.V=new N4c(this.request,this.wa,function(b){return a.Ba.then(function(c){return c.H(b)})});return CR(this.V,this.request.lh()||0)};P4c.prototype.U9=function(a){1==this.status||this.V&&a==this.request.lh()||(this.request.Ki(a),this.V?CR(this.V,a):this.refresh())};P4c.prototype.q_=function(){var a=new PQ;a.Dc(this.status);lWc(a,this.W.map(function(b){return _.Dj(b)}));return new _.xP(a,void 0,1!=this.status&&h4c(this.V),this.Ne())};
P4c.prototype.W9=function(a){var b=_.oa(this.W,function(c){return c.getId()==a.getId()});return a&&M4c(this.request,a)&&!_.Cj(a,J4c(a.getId()))?UMc(this.W,a,this.ta):b};var Q4c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.I(Q4c,ER);var R4c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};Q4c.prototype.getKey=function(a){return a.toString()};
Q4c.prototype.Y4=function(a){var b=this;return new P4c(this.ha,this.ma,MP(this.W.Se()),function(c){return DR(b,c,!1)},a)};Q4c.prototype.Sfa=function(a){var b=this;return new L4c(this.ha,this.ma,this.W,this.ka,function(c,d){return DR(b,c,d)},a)};Q4c.prototype.V=function(a,b,c,d){R4c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));ER.prototype.V.call(this,a,b,c,d)};var S4c=function(){_.N.apply(this,arguments)};_.I(S4c,_.N);
var V4c=function(a,b){b=T4c(b);var c=a.getItem(),d=U4c(c.getCapabilities());b.HT.forEach(function(e){_.AM(e.getItem(),c.km());e.getItem().ln(d.clone())});return b},Y4c=function(a,b,c){var d=W4c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new yQ(b),children:[]};X4c(a,d,c);return c},W4c=function(a){var b={};a.map(function(c){c.getItem().Uh().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},X4c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(X4c(a,
b,{H:e,parent:c,children:[]}))});return c},$4c=function(a,b){var c=b.children.filter(function(h){return!_.xm(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.AM(f,a.km()),Z4c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.xm(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},a5c=function(a){var b=a.children.filter(function(f){return!_.xm(f.H.getItem())});a=new Map;for(var c=[];b.length;){var d=b.pop(),
e=d.H.getItem();a.has(e.getId())||(c.push(_.lN(_.hN(new _.gN,e.getId()))),d.children.map(function(f){_.xm(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},T4c=function(a){var b=[],c=[];a.forEach(function(d){_.xm(d.getItem())||_.F(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{LQ:c,HT:b}},U4c=function(a){a=a.clone();var b=null!=_.F(a,34)?_.F(a,34):_.F(a,7),c=null!=_.F(a,35)?_.F(a,35):_.F(a,7);_.x(a,45,c);_.SHc(a,b);_.x(a,30,c);_.NHc(a,b);_.THc(a,c);_.OHc(a,c);_.PHc(a,b);_.x(a,4,b);
_.GHc(a,c);_.LHc(a,b);_.KHc(a,_.F(a,7));_.FHc(a,_.F(a,10)||_.F(a,11));_.MHc(a,_.qm(a));_.x(a,18,void 0);_.x(a,13,void 0);_.x(a,10,void 0);_.QHc(a,_.F(a,42));_.RHc(a,_.F(a,43));_.UHc(a,_.F(a,48));return a},Z4c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.F(d,30);_.x(e,30,f);_.NHc(e,_.F(d,31));_.THc(e,_.F(d,47));_.OHc(e,_.F(d,32));_.PHc(e,_.F(d,33));f=_.F(d,4);_.x(e,4,f);_.GHc(e,d.V());_.MHc(e,_.F(d,21));_.LHc(e,_.F(d,20));_.KHc(e,_.F(d,17));_.DHc(e,_.qm(d));_.EHc(e,_.F(d,7));
f=_.F(d,10);_.x(e,10,f);_.HHc(e,_.F(d,11));f=_.F(d,45);_.x(e,45,f);_.SHc(e,_.F(d,46));_.UHc(e,_.F(d,48));a=_.xm(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.AN(b)?(_.FHc(e,_.F(c,43)),_.RHc(e,_.F(c,43)),_.QHc(e,_.F(c,42))):_.FHc(e,_.F(c,42)))},b5c=function(a){this.H=a;this.ha=new S4c;this.V=a.V;this.W=_.qe(new _.pe,306)},J3c=function(a,b){if(_.HO(a.H.H))if(GQ(b))if(b.rz())c5c(a,b);else{var c=b.Gc(),d=d5c(a,c),e=a.V.V.H(c);b=V4c(b,d);R3c(a.H.V,b.HT);a.V.wa.H(b.LQ,a.W);e5c(a,c,"SD update | Update "+b.HT.length+
" item(s), "+b.LQ.length+" divergent items");if(d=ZQc(a.H.ta,106017)){var f=WQc(d);_.x(f,1,b.LQ.length);_.x(f,2,b.HT.length);d.V()}e||(a=a.V.wa,c&&(i_c(a,"Processing potential rejoin for TD: "+c),b=_.wk(_.sN(new _.he,[c]),_.iP(a.ma)),b=_.x(b,45,1),e=_.qe(new _.pe,306),_.xk(b,e),k_c(a),b=new eR(a.V,b),f_c(b,5E3).mb(a.ka.bind(a,b)),j_c(a),l_c(a,c)))}else if(_.A(a.H.H,86,!1)){c=b.Gc();e=a.V.V.H(c);if(e&&e.wc()&&_.AN(b.getItem()||e)){if(d=!!_.xm(e),!b.rz()){var h=b.getItem();f=_.xm(e)!=_.xm(h);h=h.km()!=
e.km();d=f||d&&h}}else d=!1;if(d)if(b.rz()){if(b=d5c(a,e.wc()),e=a.ha,d=(new _.vm).kc(c),b=(b=Y4c(e,d,b))?a5c(b):[],a.H.V.ta(b),e5c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=ZQc(a.H.ta,106009))c=VQc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=d5c(a,c.wc()),d=a.ha,c=b.getItem(),c=(e=Y4c(d,c,e))?$4c(c,e):[],R3c(a.H.V,c),e5c(a,b.Gc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=ZQc(a.H.ta,106010))b=VQc(a),_.x(b,1,c.length),a.V()}},c5c=function(a,b){var c=b.Gc();
b=d5c(a,c);b=T4c(b);var d=_.fe(b.HT,function(e){return _.lN(_.hN(new _.gN,e.getId()))});a.H.V.ta(d);a.V.wa.H(b.LQ,a.W);e5c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.LQ.length+" divergent items");if(a=ZQc(a.H.ta,106016))c=WQc(a),_.x(c,1,b.LQ.length),_.x(c,2,b.HT.length),a.V()},d5c=function(a,b){var c=new _.he;_.sN(c,[b]);_.x(c,45,2);return HVc(a.V.V,c)},e5c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},f5c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
f5c.prototype.HV=function(a,b){var c=this;if(!a.yM().length)return null;var d=q4c(this.H,a.Gc());if(!d)return null;for(var e=this.H.r6(a),f={},h=_.p(a.yM()),k=h.next();!k.done;f={vE:f.vE},k=h.next())if(k=k.value,f.vE=g5c(e,k.Kk(),a.Gc()),_.F(k,3))w4c(this.H,f.vE),_.Th(b,function(q){return function(){c.H.W.ha($3c(q.vE))}}(f));else{for(var l=_.p(_.vj(k,_.aG,2)),n=l.next();!n.done;n=l.next())h5c(this,f.vE,n.value);k=_.p(_.y(k,4));for(l=k.next();!l.done;l=k.next())i5c(f.vE,l.value);DR(this.H,[f.vE],!1,
-1);b.then(function(q){return function(){return r4c(c.H,q.vE.getName())}}(f),function(q){return function(){return r4c(c.H,q.vE.getName())}}(f))}b.then(null,function(q){var t=a.Gc();y4c(c.ha,t);q=_.WM(q);_.x(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.q_()};
var g5c=function(a,b,c){var d=a.find(function(e){return Z3c(e.getName(),b)});d||(d=SRc((new WP).wd(b),c),a.push(d));return d},h5c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new UP,d.kc(c.getId()),RRc(b,b.V().concat([d])),j5c(d,c));if(1==VP(d))d.rqa(_.F(c,3));else if(12==VP(d))ORc(d,_.y(c,17));else if(2==VP(d))d.Oqa(_.y(c,4));else if(3==VP(d))_.y(c,6).length?d.u1(_.y(c,6)):_.y(c,5).length&&(a=_.y(d,7).concat(_.y(c,5)),d.u1(a));else if(4==VP(d))LRc(d,_.y(c,7));
else if(5==VP(d))d.Gqa(_.y(c,8));else if(6==VP(d))_.y(c,10).length?d.s1(_.y(c,10)):_.y(c,9).length&&(a=d.Uia().concat(_.y(c,9)),d.s1(a));else if(7==VP(d))d.xqa(_.y(c,11));else if(8==VP(d))_.y(c,13).length?d.e1(_.y(c,13)):_.y(c,12).length&&(a=_.y(d,12).concat(_.y(c,12)),d.e1(a));else if(10==VP(d))MRc(d,a.V(_.y(c,14)));else if(11==VP(d))_.y(c,16).length?NRc(d,_.y(c,16).map(a.V)):_.y(c,15).length&&NRc(d,d.W().concat(_.y(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(VP(d)+
"."),new _.pb(d,new _.ob);},i5c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==VP(a))_.x(a,5,void 0);else if(12==VP(a))_.x(a,17,void 0);else if(2==VP(a))_.x(a,6,void 0);else if(3==VP(a))a.u1([]);else if(4==VP(a))_.x(a,8,void 0);else if(5==VP(a))_.x(a,9,void 0);else if(6==VP(a))a.s1([]);else if(7==VP(a))_.x(a,11,void 0);else if(8==VP(a))a.e1([]);else if(10==VP(a))MRc(a,void 0);else if(11==VP(a))NRc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(VP(a)+"."),
new _.pb(a,new _.ob);},j5c=function(a,b){null!=_.y(b,3)?a.fw(1):null!=_.y(b,17)?a.fw(12):null!=_.y(b,4)?a.fw(2):_.y(b,6).length||_.y(b,5).length?a.fw(3):null!=_.y(b,7)?a.fw(4):null!=_.y(b,8)?a.fw(5):_.y(b,10).length||_.y(b,9).length?a.fw(6):null!=_.y(b,11)?a.fw(7):_.y(b,13).length||_.y(b,12).length?a.fw(8):null!=_.y(b,14)?a.fw(10):(_.y(b,16).length||_.y(b,15).length)&&a.fw(11)};f5c.prototype.V=function(a){return _.zHc(_.yHc(1),a)};
var k5c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ba=e;this.wa=f;this.W=k;this.Ga=h;this.ha=0};k5c.prototype.apply=function(a,b){var c=this;if(!_.xO(a))return b;var d;a instanceof _.KN?d=l5c(this,a,b):a instanceof _.QN?d=m5c(this,b):a instanceof _.aN?d=n5c(this,a,b):a instanceof _.FN?d=o5c(this,a,b):a instanceof _.iO&&(d=this.ta.HV(a,b));d&&(this.ha++,this.ka.setActive(!1),_.Th(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Oh(d):b};
var l5c=function(a,b,c){t4c(a.V,b.getId());var d=a.H.V.H(b.getId());_.Th(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.WM(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.vO).Dc(1)},m5c=function(a,b){var c=(new _.he).Rn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});u4c(a.V,c);_.Th(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.WM(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.vO).Dc(1)},o5c=function(a,b,c){var d=b.wc(),e=a.H.V.H(d);if(!e)return null;e=_.Dj(e);JZc(a.H,[e],[157]);var f=e.Sj();p5c(f,_.vj(b,_.um,2));q5c(f,_.vj(b,_.um,3));GP(a.H,[e],-1,void 0,void 0,[157]);_.Th(c,function(){V3c(a.H,d)}).then(function(h){GP(a.H,[h.yY()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.WM(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return mSc(new aQ,e).Dc(1)},p5c=function(a,b){var c={};b=_.p(b);for(var d=b.next();!d.done;c=
{n3:c.n3},d=b.next())c.n3=d.value,_.vj(a,_.um,8).some(function(e){return function(f){return f.Kk()==e.n3.Kk()}}(c))||_.zj(a,8,c.n3,_.um,void 0)},q5c=function(a,b){var c=b.map(function(d){return d.Kk()});b=_.vj(a,_.um,8).filter(function(d){return!c.includes(d.Kk())});$Mc(a,b)},n5c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.wc()&&0==b.mh())return null;var e=_.y(b,10),f=_.y(b,9);if(0<e.length&&0<f.length&&(e=Object.values(GVc(a.H.V,e.concat(f))).map(function(k){return k.wc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.Dj(d);r5c(a,b,h);GP(a.H,[h],-1,void 0,void 0,RQc(a.wa));c.then(function(){return V3c(a.H,b.getId())},function(){V3c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.WM(k);if(63==k.Pi()){var l=h.getId();_.x(k,22,l);_.x(k,23,f[0])}_.x(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.UO((new _.vO).setItem(h),h.getId()).Dc(1)},r5c=function(a,b,c){null!=b.Qf()&&c.ol(b.Qf());null!=b.Wh()&&_.dIc(c,b.Wh());null!=b.Ub()&&_.zM(c,
b.Ub());null!=_.y(b,7)&&_.lDc(c,_.y(b,7));null!=_.F(b,11)&&_.$Hc(c,_.F(b,11));null!=_.F(b,4)&&c.Kq(_.F(b,4));null!=_.F(b,16)&&_.cIc(c,_.F(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.mh()&&(c.Rn(b.mh()),_.bIc(c,b.mh()));null!=b.hp()&&_.tN(INc(c,!0),b.hp());_.y(b,8).length&&_.QO(c,_.y(b,8));if(_.y(b,9).length){var d=new Set(c.Uh());_.y(b,9).forEach(function(n){return d.add(n)});_.QO(c,_.mc(d).concat())}if(_.y(b,10).length){var e=new Set(c.Uh());_.y(b,10).forEach(function(n){return e.delete(n)});
_.QO(c,_.mc(e).concat());var f=c.np();f&&_.y(b,10).includes(f)&&_.x(c,46,void 0)}if(!c.np()){var h=a.Ga();f=c.Uh().find(function(n){var q=a.H.V.H(n);return q&&!!q.np()||n==h});_.x(c,46,f||void 0)}c.Uh().length&&(f=a.H.V.H(c.Uh()[0]))&&_.gIc(c,f.wc());if(f=_.C(b,_.sm,25)){var k=_.C(c,_.sm,111)||new _.sm;null!=_.F(f,1)&&_.LO(k,_.F(f,1));null!=_.y(f,2)&&_.VHc(k,_.y(f,2));_.R(c,111,k)}var l=_.y(c,120);_.y(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.y(b,32).forEach(function(n){_.na(l,n)});_.x(c,
120,l||[])};k5c.prototype.ma=function(a,b){var c=this,d=_.Zn(new _.Xn,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.gr().zd()[0];GP(c.H,[_.Dj(e)],1)},function(){b&&GP(c.H,[_.Dj(b)],1)})};
var s5c=function(a){return a.getName()||""},t5c=function(a){return a.getId()||""},u5c=function(a){return _.jGc[a.Cg()]},v5c=function(a){return _.lGc[a.getType()]},aOc=function(a,b){return[u5c,v5c,s5c,t5c].reduce(function(c,d){var e;0!=c?e=c:e=_.za(d(a),d(b));return e},0)},w5c=function(a,b,c,d,e,f,h){this.H=a;this.ta=b;this.V=c;this.ha=d;this.ka=e;this.W=f;this.ma=h};
w5c.prototype.apply=function(a,b){var c=this;b instanceof _.vO&&8==b.Fb()||(a instanceof _.EN||a instanceof _.GN||a instanceof _.oO||a instanceof _.aN||a instanceof _.kO||a instanceof _.dHc||a instanceof _.rO?GP(this.H,[_.Dj(b.getItem())],1):a instanceof _.KN?(b=_.lN(_.hN(new _.gN,a.getId())),this.H.ta([b])):a instanceof _.NN?(b=_.lN(_.$Fc(_.hN(new _.gN,a.getId()),a.getId())),this.H.ta([b]),J3c(this.ta,b)):a instanceof _.QN?(b=(new _.he).Rn(!0),b=this.H.V.query(b).map(function(d){return _.lN(_.hN(new _.gN,
d.getId()))}),this.H.ta(b)):"undefined"!=typeof _.IN&&a instanceof _.IN?this.V.remove(a.V()):"undefined"!=typeof _.SN&&a instanceof _.SN||"undefined"!=typeof _.hO&&a instanceof _.hO?this.V.qEa(_.C(b,_.bQ,2)):"undefined"!=typeof _.LN&&a instanceof _.LN?$Nc(this.H,a):"undefined"!=typeof _.tD&&a instanceof _.tD?this.ha.remove(a.getKey()):"undefined"!=typeof _.TN&&a instanceof _.TN?bOc(this.H,a,b.qY()):"undefined"!=typeof _.uD&&a instanceof _.uD?x5c(this.ha,b.gxa()):a instanceof _.HN||a instanceof _.lO?
DR(this.ka,[b.V()],!1):a instanceof _.ON?DR(this.ka,[J4c(a.getId())],!1):a instanceof _.XGc?DR(this.W,b.response.V(),!1,1):a instanceof _.iO?(a.yM().filter(function(d){return _.F(d,3)}).forEach(function(d){return c.W.removeItem(d.Kk()||"",a.Gc())}),y4c(this.ma,a.Gc()),this.H.hb(a.Gc())):"undefined"!=typeof _.dP&&a instanceof _.dP&&a.V().forEach(function(d){switch(d.getFeature()){case 3:case 1:switch(d=d.V(),d.getType()){case 1:case 2:if(d=c.H.V.H(d.Gc()))d=_.hN(oQc(),d.getId()).setItem(_.Dj(d)),c.H.ta([d])}}}))};
var y5c=function(a){this.H=a};
y5c.prototype.V=function(a){if(a instanceof _.dO){var b=this.H.H(a.getId());if(!b)return new _.ob;var c=(new _.aN).kc(a.getId());if(b.wc()){var d=b.getCapabilities();_.rm(d)||d.V()?c.Rn(!0):_.bN(c,!1)}else d=a.getParent(),1==b.km()?c.Rn(!0):d?(b=this.H.H(d),!b||_.F(b.getCapabilities(),7)?iQc(c,[d]):_.bN(c,!1)):_.bN(c,!1);return c}if("undefined"!=typeof _.eO&&a instanceof _.eO)return kQc(jQc(iQc(hQc((new _.aN).kc(a.getId()),a.KUa()),a.LUa()),a.MUa()),a.JUa());if(a instanceof _.fO){b=this.H.H(a.getId());
if(!b)return new _.ob;c=(new _.aN).kc(a.getId());b.wc()?(d=b.getCapabilities(),_.rm(d)||d.V()?c.Rn(!1):_.bN(c,!0)):(d=a.getParent(),1==b.km()?c.Rn(!1):d?(b=this.H.H(d),!b||_.qm(b.getCapabilities())?hQc(c,[d]):_.bN(c,!0)):_.bN(c,!0));return c}return a instanceof _.jP?new _.oO(a):"undefined"!=typeof _.GR&&a instanceof _.GR?a.V().map(function(e){var f=new _.iO;e=_.x(f,1,e);f=a.yM();e=_.yj(e,2,f);f=a.ke();return _.R(e,3,f)}):a};var z5c=function(){};
z5c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.XN&&a instanceof _.XN?(a=a.getId()||"",_.Bc(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.JN&&a instanceof _.JN&&(a=a.getId()||"",_.Bc(a)&&(b="Tried to delete backup with no id."));return b?_.WM(b):null};
var cOc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},A5c=function(a,b,c,d,e){_.BLc.call(this,a,b,d,e);this.Ba=c;this.ta=new UWc(this.ka,b);this.W=new cZc(this.Wz);this.wa=new bYc(this.Wz,this.W);this.ha=null};_.I(A5c,_.BLc);var B5c=function(a){a.ha||(a.ha=new QYc(a.ka,a.Ba));return a.ha};
A5c.prototype.ma=function(a,b){if(a instanceof _.BN)return _.qLc(_.FLc(a));if(a instanceof _.CN)return _.DLc(this,a,b);if(a instanceof _.XGc)return C5c(this,a.request,b);if(a instanceof _.DN)return _.DLc(this,a,b);if(a instanceof _.FN){if(!b.json)throw _.nP();return mSc((new aQ).Dc(1),dZc(this.W,b.json))}if(a instanceof _.EN)return _.DLc(this,a,b);if("undefined"!=typeof _.dP&&a instanceof _.dP)return new iRc;if(a instanceof _.HN)return D5c(a,b);if("undefined"!=typeof _.IN&&a instanceof _.IN)return YXc(void 0,
a.V());if("undefined"!=typeof _.JN&&a instanceof _.JN)return new FWc;if(a instanceof _.KN)return _.qLc(_.FLc(a));if("undefined"!=typeof _.LN&&a instanceof _.LN)return new OQ;if(a instanceof _.MN||a instanceof _.NN)return _.qLc(_.FLc(a));if("undefined"!=typeof _.tD&&a instanceof _.tD)return b=new fWc,a=a.getKey(),_.R(b,4,a);if(a instanceof _.ON)return D5c(a,b);if(a instanceof _.QN)return _.qLc(_.FLc(a));if(a instanceof _.VGc){if(!b.json)throw _.nP();return new AUc(b.json.exportJob.id)}if("undefined"!=
typeof _.RN&&a instanceof _.RN){if(!b.json)throw _.nP();a=b.json;b=new bWc;a=XXc(a);return _.R(b,2,a).Dc(1)}if("undefined"!=typeof _.SN&&a instanceof _.SN)return E5c(a,b);if("undefined"!=typeof _.TN&&a instanceof _.TN){if(!b.json)throw _.nP();a=(new OQ).Dc(1);b=_.rLc(this.Wz,b.json);return _.R(a,2,b)}if(a instanceof _.IM){a:{if(!b.json)throw _.nP();if(a instanceof _.IM){if((a=a.hd())&&_.UN(a)){b=yYc(this.V,this.H,b.json);break a}if(a&&_.VN(a)){b=xYc(this.V,this.H,b.json);break a}if(a&&_.WN(a)){b=
wYc(this.V,this.H,b.json);break a}}b=_.mLc(this.Wz,b.json,b.headers)}return b}if("undefined"!=typeof _.XN&&a instanceof _.XN){if(!b.json)throw _.nP();return aYc(b.json)}if(a instanceof _.YN){if(!b.json)throw _.nP();b=b.json;_.kP(["drive#appList"],b);a=new MQ;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(XXc(d[e]));a=_.yj(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Dc(1)}if("undefined"!=typeof _.ZN&&a instanceof _.ZN){if(!b.json)throw _.nP();return $Xc(b.json)}if(a instanceof _.cN)return F5c(this,
b);if(a instanceof _.$N){if(!b.json)throw _.nP();a=new eWc;d=this.Wz;e=b.json;c=new HQc;d=_.sLc(d,e,"items");c=_.yj(c,2,d);a=_.R(a,1,c);return _.x(a,2,KVc(b.json))}if("undefined"!=typeof _.aO&&a instanceof _.aO){if(!b.json)throw _.nP();a=this.Wz;d=b.json;b=new JQc;_.kP(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.oLc(a,d[e]);c.push(f)}return _.yj(b,2,c)}if(a instanceof _.yM)return G5c(a,b);if(a instanceof _.bO){if(!b.json)throw _.nP();return bZc(b.json)}if(a instanceof
_.aHc){if(!b.json)throw _.nP();return UYc(B5c(this),b.json)}if(a instanceof _.$F){if(!b.json)throw _.nP();a=B5c(this);c=b.json;b=new RQ;a=TYc(a,c);return _.R(b,2,a).Dc(1)}if(a instanceof _.cO){if(!b.json)throw _.nP();b=b.json;_.kP(["drive#remainingCount"],b);a=new sWc;c=b.nextPageToken;null!=c&&_.x(a,2,Number(c));_.x(a,1,Number(b.remainingCount));return a}if(a instanceof _.eo){if(!b.json)throw _.nP();return(new _.YB).gw([dZc(this.W,b.json)])}if(a instanceof _.sO){if(!b.json)throw _.nP();a=(new _.YB).gw(eZc(this.W,
b.json));a=_.UIc(new _.VO,a);return _.x(a,3,KVc(b.json))}if("undefined"!=typeof _.hO&&a instanceof _.hO)return E5c(a,b);if(a instanceof _.iO)return C5c(this,a,b);if(a instanceof _.aN||a instanceof _.jO)return _.DLc(this,a,b);if(a instanceof _.kO)return H5c(this,b);if("undefined"!=typeof _.uD&&a instanceof _.uD){if(!b.json)throw _.nP();b=gZc(b.json);a=new fWc;a=_.R(a,3,b);b=b.getKey();return _.R(a,4,b)}if(a instanceof _.lO)return D5c(a,b);if(a instanceof _.mO){if(!b.json)throw _.nP();return WWc(this.ta,
b.json)}if("undefined"!=typeof _.nO&&a instanceof _.nO){if(!b.json)throw _.nP();b=iZc(b.json);a=new _.sP;a.ZL().set(b.getId(),b);return a}if(a instanceof _.WGc){if(!b.json)throw _.nP();a=b.json;b=new tUc;a=_.p(Object.entries(a));for(c=a.next();!c.done;c=a.next())switch(d=_.p(c.value),c=d.next().value,d=d.next().value,c){case "nextPageToken":_.rj(b,2,d);break;case "activities":c=SXc(d),_.yj(b,1,c)}return b}if(a instanceof _.oO)return H5c(this,b);if("undefined"!=typeof _.qO&&a instanceof _.qO)return F5c(this,
b);if(a instanceof _.YGc){if(!b.json)throw _.nP();return new zUc}if(a instanceof _.ZGc){if(!b.json)throw _.nP();return fOc(b)}if(a instanceof _.$Gc){if(!b.json)throw _.nP();c=b.json;b=new _.bo;_.kP(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=gZc(c[d]))&&a.push(e);return _.Fva(b,a)}if(a instanceof _.co){if(!b.json)throw _.nP();return mZc(this.V,this.H,b.json).Dc(1)}if("undefined"!=typeof _.gO&&a instanceof _.gO){if(!b.json)throw _.nP();return kZc(this.V,this.H,b.json)}if(a instanceof
_.tO){if(!b.json)throw _.nP();a=b.json;_.kP(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new aWc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.eHc)return new BUc(KVc(b.json?b.json:{}));if(a instanceof _.fHc)return new CUc;if(a instanceof _.gHc){if(!b.json)throw _.nP();return jZc(b.json)}};
var D5c=function(a,b){if(!b.json){if(a instanceof _.ON)return nZc({});throw _.nP();}return nZc(b.json)},H5c=function(a,b){if(!b.json)throw _.nP();a=dZc(a.W,b.json);return(new _.vO).Dc(1).setItem(a)},C5c=function(a,b,c){if(!c.json)throw _.nP();return SYc(B5c(a),b,c.json)},E5c=function(a,b){if(!b.json)throw _.nP();return YXc(b.json,a.V())},F5c=function(a,b){if(!b.json)throw _.nP();a=a.wa;var c=b.json;_.kP(["drive#about","drive#changeList"],c);b=new dWc;var d=c.nextPageToken;null!=d&&_.x(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.x(b,3,Number(d));if("drive#changeList"==c.kind){_.kP(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.kP(["drive#change"],h);var k=new _.gN;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.$Fc(k,h.teamDriveId),_.hN(k,h.teamDriveId)):_.hN(k,h.fileId);h.file?k.setItem(_.nLc(f.H,h.file)):h.teamDrive&&k.setItem(dZc(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.lN(k);d.push(k)}_.yj(b,4,d)}return b},G5c=function(a,b){var c=new HWc;if(_.y(a,6).length){var d=
[];qNc(_.y(a,6),b.headers).forEach(function(e,f){e=_.dDc(new _.xM,f).jc(e);d.push(e)});_.yj(c,1,d)}IWc(c,b.json?JSON.stringify(b.json):b.text);return c},I5c=function(a){var b=new _.fp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.nGc[a]);_.aP(b,c.join(" "))}return b.toString()},J5c=function(a,b,c,d){this.H=b;this.W=d;this.ka=a};_.I(J5c,_.MLc);
J5c.prototype.ha=function(a,b,c){try{return _.MLc.prototype.ha.call(this,a,b,c)}catch(J){}var d=0,e={},f="GET",h={},k=!1;if(a instanceof _.CN){f="POST";var l="admin/files/"+a.getId()+"/migrateToTeamDrive";h.fields="kind,id,parentId,teamDriveId";h.fileId=a.getId();var n=LVc(a);e["content-type"]="application/json";k=!0}else if(a instanceof _.DN){f="POST";l="files/"+a.Gc()+"/authorize";h.appId=_.y(a,1);_.F(a,3)&&(h.propagate=!0);var q=a.ke();k=!0;_.hP(this.H,h)}else if(a instanceof _.oO)f="POST",l="teamdrives/"+
a.requestId,h.fields=BQ(this.H),n={},n=(n.name=a.request.getTitle(),n),e["content-type"]="application/json",k=!0;else if(a instanceof _.HN)f="POST",l="workspaces",h.fields="kind,id,title,createdDate,modifiedDate,state",n=NVc(a),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.EN)f="POST",l="files/"+a.getId()+"/copy",h.fields=_.LGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),lI:_.$M(this.H)}),h.convert=_.A(a,4,!1),n=MVc(a),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,
h),_.NLc(this.H,h);else if("undefined"!=typeof _.IN&&a instanceof _.IN)f="DELETE",l="apps/"+a.V(),h.appId=a.V(),h.deleteAppData=!!a.W(),q=a.ke(),k=!0;else if("undefined"!=typeof _.JN&&a instanceof _.JN)f="DELETE",l="backups/"+a.getId(),d=9;else if(a instanceof _.KN)f="DELETE",l="files/"+a.getId(),q=a.ke(),k=!0,_.hP(this.H,h),_.NLc(this.H,h);else if("undefined"!=typeof _.LN&&a instanceof _.LN)f="DELETE",l="files/"+a.Gc()+"/permissions/"+a.V(),q=a.ke(),k=!0,_.hP(this.H,h);else if(a instanceof _.MN)f=
"DELETE",l="files/"+a.Gc()+"/revisions/"+_.y(a,2),q=a.ke(),k=!0;else if(a instanceof _.NN)f="DELETE",l="teamdrives/"+a.getId(),q=a.ke(),k=!0;else if("undefined"!=typeof _.tD&&a instanceof _.tD)f="DELETE",a=a.getKey(),l="settings/"+_.y(a,2),_.ao(a)&&(h.namespace=_.bGc[_.ao(a)]),k=!0;else if(a instanceof _.ON)f="DELETE",l="workspaces/"+a.getId(),q=a.ke(),k=!0;else if(a instanceof _.QN)f="DELETE",l="files/trash",q=a.ke(),k=!0,_.NLc(this.H,h);else if("undefined"!=typeof _.RN&&a instanceof _.RN)l="apps/"+
a.V(),q=a.ke(),k=!0,h.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if("undefined"!=typeof _.XN&&a instanceof _.XN)l="backups/"+a.getId()+"/items",d=9,h.languageCode=MP(this.H.Se());else if("undefined"!=typeof _.SN&&a instanceof _.SN)f="POST",l="apps",h.appId=a.V(),q=a.ke(),k=!0;else if("undefined"!=typeof _.TN&&a instanceof _.TN)f="POST",l="files/"+a.Gc()+"/permissions",h.fields=_.$M(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",
h.emailMessage=a.tZa()||"",h.sendNotificationEmail=!a.f_a(),n={},1==a.Cg()?n.role="owner":3==a.Cg()?n.role="writer":4==a.Cg()?(n.role="reader",n.additionalRoles=["commenter"]):2==a.Cg()&&(n.role="reader"),1==a.getType()?n.type="user":2==a.getType()?n.type="group":3==a.getType()?n.type="domain":4==a.getType()?n.type="anyone":5==a.getType()&&(n.type="audience"),a.tb()&&(n.value=a.tb()),n.withLink=!a.BZa(),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,h);else if(a instanceof _.VGc)d=
8,f="POST",l="/v1/exports",e["content-type"]="application/json",n=_.y(a,1).map(function(J){return{id:J}}),n={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:n,locale:null};else if(a instanceof _.IM||"undefined"!=typeof _.dP&&a instanceof _.dP||a instanceof _.co||"undefined"!=typeof _.gO&&a instanceof _.gO)if(b=a instanceof _.IM?a.hd():a,_.yO(b)){d=10;f="POST";l="/v1/items";e["content-type"]="application/json";n={};var t=9==_.FO(this.H)?"WEB_MOBILE":"WEB_DESKTOP",v={};v.applicationType=
YUc(this.H);v.platformType=t;v.languageCode=MP(this.H.Se());v.timeZone=(new _.Tv).AY();v.requestType="LIVE_REQUEST";a instanceof _.IM&&(t=a.getOptions())&&_.A(t,10,!1)&&(v.requestType="BACKGROUND_REQUEST");b instanceof _.he?_.UN(b)?(200<=_.FO(this.H)&&300>_.FO(this.H)?v.scenarioType="ONE_PICK":v.scenarioType="QUICK_ACCESS",2==_.DO(b)&&(n.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.y(b,33)[0]}),_.BO(b).length&&(n.itemType=XUc(b))):_.VN(b)?v.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":
_.WN(b)&&(v.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.dP&&b instanceof _.dP?(l="/v1/userfeedback",n.userFeedback=b.V().map(function(J){var X=J.V(),T={},la={};la.feedbackType=nSc[X.getType()];T.item=la;T.clientInfo=v;switch(J.getFeature()){case 1:v.scenarioType="DRIVE_PRIORITY";la.itemId=X.Gc();break;case 3:v.scenarioType="QUICK_ACCESS";la.itemId=X.Gc();break;case 2:v.scenarioType="DRIVE_WORKSPACES",la.itemId=X.Gc(),la.childItem=X.V().map(function(Fa){var Da={};Da.itemId=Fa.Gc();return Da})}return T})):
b instanceof _.co?v.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.gO&&b instanceof _.gO?(v.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",n.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.LLc(a);"undefined"!=typeof _.dP&&b instanceof _.dP||(n.maxSuggestions=b.lh(),n.clientInfo=v)}else{q=b.ke();k=!0;l="files";h.q=_.HJc(b);t=[];var z;(z=_.ZM(this.H))&&_.A(z,4,!1)?(z=_.qa(this.Bg(c),
this.Bg(c,b.Oh())),_.ya(z)):z=_.ra(this.Bg(c));_.F(this.H,87)&&111==gOc(a)&&(z=z.filter(function(J){return 1!=J}));var B=void 0,E=!1;0<_.vj(b,_.sk,5).length&&(B=_.y(this.H.hf(),50),E=!0);h.fields=YMc({fields:z,Wv:_.KM(this.H.Se()),DV:B||void 0,lI:_.$M(this.H),V5a:E});h.appDataFilter="NO_APP_DATA";0<_.vj(b,_.AO,25).length&&(h.sources=_.AJc(b));0<b.Rt().length&&(h.spaces=_.BJc(b));a.Jm()&&(h.pageToken=a.Jm());(a=a.getOptions())&&_.D(a,1,1E3)&&(h.maxResults=_.D(a,1,1E3));_.A(b,36,!1)&&(h.includeUnsubscribed=
!0);_.y(b,43)&&(h.rawUserQuery=_.y(b,43));_.hP(this.H,h);_.HO(this.H)&&(h.includeTeamDriveItems=!0,0<_.y(b,33).length&&2==_.DO(b)&&(a=_.y(b,33)[0],h.teamDriveId=a,t.push(a)),h.corpora=_.RIc[_.DO(b)]);_.F(b,18)&&(_.hf(h,"corpora"),h.corpus="DOMAIN");_.A(this.H,89,!1)&&(a=_.vj(b,_.uk,63),0<a.length?_.OLc(this,a,e):(a=_.CO(b),z=_.vj(b,_.zO,35),B=_.vj(b,_.zO,38),t=t.concat(a.filter(function(J){return!_.A(J,2,!1)}).map(function(J){return J.tb()})).concat(z.map(function(J){return J.tb()})).concat(B.map(function(J){return J.tb()})),
K5c(this,t,e)));sNc(h,b.ve());_.PLc(this.H,h);_.QLc(this.H,h)}else if(a instanceof _.YN){l="apps";switch(a.getType()){case 1:h.fields=_.pGc;break;case 2:h.fields=_.qGc;break;case 4:h.fields=_.rGc;break;case 3:d=5,l="apps",h.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",h.appQueryScope="all_webstore",b.$F=!0}h.languageCode=MP(this.H.Se());0<_.y(a,
3).length&&(h.appFilterExtensions=_.y(a,3).join(","));0<_.y(a,4).length&&(h.appFilterMimeTypes=_.y(a,4).join(","));q=a.ke();k=!0}else if("undefined"!=typeof _.ZN&&a instanceof _.ZN)l="backups",d=9,h.languageCode=MP(this.H.Se());else if(a instanceof _.cN)l="changes",h.includeDeleted=_.A(a,3,!0),h.includeSubscribed=_.A(a,4,!0),h.maxResults=a.SI(),h.startChangeId=_.y(a,1),h.fields=XMc({fields:this.Bg(c),DV:_.HO(this.H)?BQ(this.H,a.Oh()):void 0,Wv:_.KM(this.H.Se()),lI:_.$M(this.H)}),h.appDataFilter="NO_APP_DATA",
a.wc()||(h.filters="DRIVE_DATASERVICE"),q=_.lj(this.H.hf(),31),q.length&&(h.spaces=_.fe(q,function(J){return _.jDc[J]}).join(",")),_.hP(this.H,h),_.HO(this.H)&&(h.includeCorpusRemovals=!0,h.includeTeamDriveItems=!0,a.wc()&&(h.teamDriveId=a.wc())),q=a.ke(),k=!0;else if(a instanceof _.$N)q=a.hd(),l="files/"+q.getId()+"/permissions",h.fields=_.$M(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",
a.Jm()&&(h.pageToken=a.Jm()),_.y(a,1)&&(h.maxResults=_.y(a,1)),q=q.ke(),k=!0,_.hP(this.H,h),_.PLc(this.H,h),_.QLc(this.H,h);else if("undefined"!=typeof _.aO&&a instanceof _.aO)h.fields=_.$M(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
h.maxResults=a.lh(),l="files/"+a.Gc()+"/revisions",q=a.ke(),k=!0;else if(a instanceof _.eo)l="teamdrives/"+a.Ol()[0],h.fields=BQ(this.H,a.Oh()),q=a.ke(),k=!0;else if(a instanceof _.eHc)f="POST",l="admin/files/migrateToTeamDrivePreFlight",n=OVc(a),e["content-type"]="application/json",k=!0;else if(a instanceof _.sO)q=a.hd(),l="teamdrives",h.fields=GUc(this.H,q.Oh()),h.q=HUc(q),a.Jm()&&(h.pageToken=a.Jm()),(q=(q=a.getOptions())&&_.D(q,1,1E3))&&(h.maxResults=q),q=a.hd().ke(),k=!0;else if(a instanceof
_.tO)l="teamdrives/"+a.wc(),h.fields="kind,id,recursiveFileCount,recursiveFolderCount",k=!0;else if("undefined"!=typeof _.hO&&a instanceof _.hO)f="PUT",l="apps/"+a.V(),h.appId=a.V(),n={},n.useByDefault=a.ka(),a.W()&&(n.hasAppData=!1),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.aN)f="PUT",l="files/"+a.getId(),h.fields=_.LGc({fields:this.Bg(c),Wv:_.KM(this.H.Se()),lI:_.$M(this.H)}),h.modifiedDateBehavior="DRIVE_UI",h.updateViewedDate=!!_.F(a,15),h.fileId=a.getId(),_.y(a,
9).length&&(h.addParents=_.y(a,9).join(",")),_.y(a,10).length&&(h.removeParents=_.y(a,10).join(",")),_.y(a,31).length&&(h.addWorkspaces=_.y(a,31).join(",")),_.y(a,32).length&&(h.removeWorkspaces=_.y(a,32).join(",")),null!=_.F(a,24)&&(h.confirmed=_.F(a,24)),h.languageCode=MP(this.H.Se()),n=PVc(a),e["content-type"]="application/json",q=a.ke(),k=!0,_.hP(this.H,h),this.V(a.getId(),h),_.F(a,36)?h.bypassMultiparentingCheck=!0:_.NLc(this.H,h),_.A(this.H,89,!1)&&(b=_.vj(a,_.uk,38),b.length?_.OLc(this,b,e):
(b=_.y(a,9).concat(_.y(a,10)),b.push(a.getId()),K5c(this,b,e)));else if(a instanceof _.jO)f="PUT",l="files/"+a.Gc()+"/revisions/"+_.y(a,2),n=QVc(a),e["content-type"]="application/json",q=a.ke();else if(a instanceof _.kO)l="teamdrives/"+a.getId(),null!=a.Cl()?(f="POST",l+="/"+(a.Cl()?"hide":"unhide")):(f="PUT",n=RVc(a),e["content-type"]="application/json"),h.fields=BQ(this.H),q=a.ke(),k=!0;else if(a instanceof _.lO)f="PUT",l="workspaces/"+a.getId(),h.fields="kind,id,title,createdDate,modifiedDate,state",
n=SVc(a),e["content-type"]="application/json",q=a.ke(),k=!0;else if("undefined"!=typeof _.uD&&a instanceof _.uD)f="PUT",n=a.V(),q=n.getKey(),l="settings/"+_.y(q,2),(q=_.ao(q))&&(h.namespace=_.bGc[q]),n=UNc(n),e["content-type"]="application/json",q=a.ke(),k=!0;else if(a instanceof _.mO)l="about",h.fields=_.$M(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)",h.fields=hOc(h.fields,this.H),q=a.ke(),k=!0;else if(a instanceof _.yM){d=11;f=a.PC();l=a.getUrl();var L=_.y(a,5)||"";_.vj(a,_.xM,2).forEach(function(J){e[J.getKey()]=J.tb()});_.vj(a,_.xM,4).forEach(function(J){h[J.getKey()]=
J.tb()});_.F(a,7)&&(b.kfb=!0);_.F(a,8)&&(b.$F=!0);_.F(a,9)&&(b.x$=!0)}else a instanceof _.XGc?(l="files/"+a.request.Gc()+"/listCategoryMetadata",q=a.request.ke(),a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.fields="kind,nextPageToken,categoryMetadata"):a instanceof _.iO?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/updateCategoryMetadata",q=a.ke(),n={categoryMetadata:a.yM().map(function(J){var X=_.vj(J,_.aG,2).map(function(la){return{id:la.getId(),
userId:la.ay(),setBooleanValue:_.F(la,3),setTextValue:_.y(la,4),setTextValues:_.y(la,6),addTextValues:_.y(la,5),setLongTextValue:_.y(la,7),setSelectionValue:_.y(la,8),setSelectionValues:_.y(la,10),addSelectionValues:_.y(la,9),setIntegerValue:_.y(la,11),setIntegerValues:_.y(la,13),addIntegerValues:_.y(la,12),setUserValue:_.y(la,14),setUserValues:_.y(la,16),addUserValues:_.y(la,15),setDateStringValue:_.y(la,17)}}),T={categoryName:J.Kk()};X.length?T.categoryAttributeValueDeltas=X:_.y(J,4).length?T.revertAttributeIds=
_.y(J,4):_.F(J,3)&&(T.removeCategory=_.F(J,3));return T})}):a instanceof _.bO?(d=13,l=_.KM(this.H.Se())?"/v2/people/public":"/v2/people",h.person_id=a.Ol(),h["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],h["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],h["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.KM(this.H.Se())||(h["core_id_params.enable_private_names"]=!0)):a instanceof _.aHc?(d=12,
l="/v1/categories/-/published",e["content-type"]="application/json",a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.$outputDefaults=!0,h.languageCode=MP(this.H.Se())):a instanceof _.$F?(d=12,l="/v1/"+a.getName(),e["content-type"]="application/json",h.$outputDefaults=!0,h.languageCode=MP(this.H.Se())):a instanceof _.FN?(e["content-type"]="application/json",f="POST",l="drives/"+a.wc()+"/changeCategoryReferences",q=a.ke(),k=!0,h.fields=BQ(this.H,[157],!0),n={},
b=_.vj(a,_.um,2),b.length&&(n.addCategoryReferences=b.map(function(J){return{category:J.Kk()}})),a=_.vj(a,_.um,3),a.length&&(n.removeCategoryReferences=a.map(function(J){return J.Kk()}))):"undefined"!=typeof _.nO&&a instanceof _.nO?(l="workspaces/"+a.Ol()[0],h.fields="kind,id,title,createdDate,modifiedDate,state",q=a.ke(),k=!0):a instanceof _.WGc?(d=7,f="POST",l="/v2/activity:query",e["content-type"]="application/json",n={},n.pageSize=a.pageSize,a.pageToken&&(n.pageToken=a.pageToken),b="items/"+a.request.getId(),
a.request.XZa()?n.ancestorName=b:n.itemName=b,n.consolidationStrategy={legacy:{}}):a instanceof _.YGc?(d=8,f="POST",l="/v1/exports/"+a.H+":cancel"):a instanceof _.ZGc?(d=8,l="/v1/exports/"+a.H):"undefined"!=typeof _.qO&&a instanceof _.qO?(l="changes",h.fields="kind,largestChangeId",_.hP(this.H,h),_.HO(this.H)&&(h.includeTeamDriveItems=!0,a.Me&&(h.teamDriveId=a.Me)),k=!0):a instanceof _.$Gc?(l="settings",h.namespace=VNc(a.H),q=a.request.ke(),k=!0):a instanceof _.gHc?(l="workspaces",h.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",
a.pageToken&&(h.pageToken=a.pageToken),a.request.lh()&&(h.maxResults=a.request.lh()),h.q=I5c(a.request),(q=_.C(a.request,_.fo,5))&&1==q.getType()&&(h.orderBy="title"),q=a.request.ke(),k=!0):a instanceof _.cO?(l="changes/getRemainingCount",h.pageToken=_.y(a,2),null!=_.y(a,3)&&(h.supportsTeamDrives=!0,h.includeTeamDriveItems=!0,h.teamDriveId=a.wc()),q=a.ke()):a instanceof _.BN?(e["content-type"]="application/json",f="POST",l="files/"+a.Gc()+"/sendAccessRequest",n={}):_.LLc(a);k&&_.RLc(c,h);return _.SLc(d,
l,h,e,f,q,n,L)};J5c.prototype.V=function(a,b){a=this.ka.V.H(a);b.expectedParentIds=a?a.Uh().join(","):[]};
var K5c=function(a,b,c){b&&b.length&&(a=GVc(a.ka.V,_.mc(new Set(b)).concat()),a=Object.values(a).filter(function(d){return null!=_.y(d,140)}).map(function(d){return _.vk((new _.uk).kc(d.getId()),_.y(d,140))}),a.length&&(c["X-Goog-Drive-Resource-Keys"]=_.yB(a)))},L5c=function(a,b,c){this.U0=_.Sh();var d=new y5c(a.V.V),e=a.rb.bind(a);e=new k5c(a.V,a.wa,new f5c(a.Md,a.Cu,e),a.Wf,this.U0.promise,a.Ja,a.uq.bind(a),e);var f=new w5c(a.V,a.Uj,a.Zc,a.Ma,a.Nm,a.Md,a.Cu);this.W=new _.eJc;this.ka=new _.uKc(a.H,
a.kd);var h=new J5c(a.V,a.H,this.U0.promise,a.Ja);this.V=new A5c(a.Ja,a.H,a.W,a.Tv,function(){return a.Vb});this.ha=hVc(a.H,new _.TKc(this.ka,this.W,h,this.V,a.Qa,a.Hc,a.Ib),a.Hc,a.W,a.ka,a.V.V,this.W,this.U0.promise,a.Ib||void 0);this.U0.resolve(c?c:new _.qKc(new z5c,d,this.ha,e,f,a.H,this.H.bind(this),b))};L5c.prototype.H=function(){return _.cf(this.ha,function(a){return PQc(a)})};
var M5c=function(a){var b=new Map,c=Date.now();_.$e(a.ha,function(d,e){d=QQc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},N5c=function(a,b){this.W=b||new Date;this.V=a;this.H=WMc(this.V)};N5c.prototype.clone=function(){return new N5c(this.V,this.W)};var O5c=function(){this.H=null;this.V=[]},P5c=function(a){return _.fe(a.V,function(b){return _.kf(b)})};
O5c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new NWc;e.W=MWc(d.H);var f=_.kg().substring(0,8);d=WMc(f);f=(new LQ).kc(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=MWc(d);e.H=KWc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,OWc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var R5c=function(a,b){var c=this;this.H=a;this.Ma=b;this.wa=null;this.ka=0;this.vG=this.$d=!1;this.ha=_.Sh();this.Ba=null;this.W=a.H;b=_.NP(this.W);this.Ja=new _.TLc(_.D(b,2,37500),_.D(b,3,6E5));this.V=null;this.ta=a.Db;this.ma={};_.$e(TVc,function(d){c.ma[d]=[]});this.Ka=this.Ga=!1;zQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){HR(c,"Initializing: loaded from local dump");Q5c(c)});zQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){HR(c,"Initializing: loaded from sdk backfill");Q5c(c)});zQ(a.ha,["mrK8ic",
"BNEDtc"],function(){HR(c,"Updating: sdk backfill complete");c.s2().Vf(_.Ie)})},Q5c=function(a){a.Ga||(a.Ga=!0,sR(a.H).mb(function(b){a.ta.initialize().xf(function(){a.wa=b;a.setActive(!0)},function(c){c&&MQc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.vN(c));HR(a,"Error initializing dump storage");a.yO()})}))};_.g=R5c.prototype;_.g.yEa=function(a){this.$d&&(this.ka+=a,this.ka>_.D(_.NP(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.vG)&&this.$d!=a){var b=this.H;a&&(b.lc.H()||0<b.V.wa.W||b.ka.Ef()||b.Rg.Ef())||((this.$d=a)?(this.ha.resolve(),this.V||this.s2().Vf(_.Ie)):(this.ha=_.Sh(),_.m.clearTimeout(this.Ba)))}};_.g.yO=function(){this.vG=!0};_.g.Zza=function(){return this.V?this.V.promise:_.Oh()};
_.g.s2=function(){var a=this;if(this.V)return this.V.promise;this.V=_.Sh();_.Th(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return s1c(a.H.Ga)}).then(function(b){var c=!b;a.vG?a.V.resolve(c):_.yo([S5c(a,3,c),S5c(a,0,c,void 0,!0),S5c(a,1,c,void 0,!0),S5c(a,5,c,void 0,!0),S5c(a,6,c,void 0,!0)]).xf(function(){return a.V.resolve(c)},function(d){d=d&&_.EM(d)?d instanceof _.pb?d:new _.pb("Failed to update dump",void 0,d):new _.pb(d||"Failed to update dump");a.V.reject(d)})},function(){a.V.reject(Error("mg"))});
return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.Hj;this.ha.promise.then(function(){return s1c(c.H.Ga)}).then(function(e){e=!e;c.vG?d.callback():_.Mj(S5c(c,a,e,b),d)});return d};
var S5c=function(a,b,c,d,e){var f=_.ba(a.ma[b]);if(f){if(f.encrypt==c&&1<a.ma[b].length)return f.Yf.Gk();var h=new _.Hj;_.Lj(f.Yf,function(){_.Mj(T5c(a,b,c,d,e),h)})}else h=T5c(a,b,c,d,e);var k={encrypt:c,Yf:h};a.ma[b].push(k);_.Lj(h,function(){_.oa(a.ma[b],function(l){return k==l})});h.Ae(function(l){a.ta.V.kh()?a.yO():l instanceof _.pb&&(l=l.V||null,l instanceof _.MM&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.yO());return null});
return h},T5c=function(a,b,c,d,e){var f=new _.Hj;a.ha.promise.then(function(){if(3==b)_.Mj(U5c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.tc;h=h.H?_.Dj(h.H):null;break;case 1:h=a.H.Zc.Ama();break;case 5:h=V5c(a.H.Ma);break;case 6:h=a.H.V.ma;h=jWc(new iWc,G2c(h.H));break;default:f.Bd("Invalid data type to write to storage.");return}if(h){var k=_.vj(_.NP(a.W),LP,11)[0].getKey();!k&&c?(HR(a,"Skipping dump update, encrypted and no key"),f.callback()):f1c(a.ta,c?k:null,[h]).then(f.callback,f.Bd,f)}else e?
(HR(a,"Skipping dump update: "+b),f.callback()):f.Bd("Failed to get data to write to dump.")}});return f},U5c=function(a,b,c){_.m.clearTimeout(a.Ba);a.Ba=_.m.setTimeout((0,_.K)(a.Qa,a),a.Ja.tb());if(b&&0==a.ka)return _.Oj();a.ka=0;var d=_.vj(_.NP(a.W),LP,11)[0].getKey();if(!d&&c)return HR(a,"Skipping dump update, encrypted and no key"),_.Oj();var e=[];_.$e(rUc,function(h){0<h&&(h=W5c(a,h),h.length&&e.push(f1c(a.ta,c?d:null,h)))});var f=new _.Hj;_.Qh(e).then(function(){a.Ka&&rR(a.H.Ga,p1c,!0);f.callback()},
f.Bd,f);return f};R5c.prototype.Qa=function(){_.DH(this.Ja);this.update(3,!0)};
var W5c=function(a,b){switch(b){case 1:return[X5c(a)];case 2:var c=(b=a.H.V.ka.H)?b.ty():[];c=Y5c(a,_.oc(MNc(c)));HR(a,"Exporting "+c.length+" secondary dump items.");c.length>_.D(_.NP(a.W),5,2E4)&&(b&&$Q(b),c=[]);b=xQ(new wQ,Z5c(c));c=a.H.V.ka;a=new RNc;(c=c.H)&&c.V&&(c=c.ty(),_.x(a,3,c.length));a=_.R(b,11,a);return[qUc(a,2)];case 3:return $5c(a);case 4:return a6c(a);default:throw new _.pb("Unsupported CacheType");}},X5c=function(a){var b={},c=[],d=_.A(a.W,79,!1);d=r_c(a.H.V.ka,d);for(var e=0;e<
d.length;e++){var f=d[e],h=f.ty(),k=Y5c(a,EP(h));h=k.length;var l=0<h?k[h-1]:null;_.Ga(k,function(n){b[n.getId()]=n});if(0<h||f.W)k=iUc(new vQ,f.hd()),f.W||(_.x(k,2,h),_.R(k,3,l)),c.push(k)}d=_.oc(b);HR(a,"Exporting "+d.length+" initial dump items.");return qUc(oUc(xQ(mUc(pUc(nUc(new wQ,a.H.uq()),_.iP(a.Ma)),a.wa.tEa(null)),Z5c(d)),c),1)},$5c=function(a){if(!_.HO(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.tEa(d.wc());if(e){var f=Y5c(a,EP(d.ty()));HR(a,"Exporting "+
f.length+" TD dump items for: "+d.wc());e=qUc(mUc(xQ(new wQ,Z5c(f)),e),3);d=iUc(new vQ,d.hd());oUc(e,[d]);b.push(e)}});return b},a6c=function(a){if(!_.HO(a.W))return[];var b={},c=[];G3c(a.H.V).forEach(function(d){1==d.H&&(EP(d.ty()).forEach(function(e){b[e.getId()]=e}),d=jUc(iUc(new vQ,new _.he),d.hd()),c.push(d))});return[_.x(qUc(oUc(xQ(new wQ,Z5c(Object.values(b))),c),4),6,!1)]},Y5c=function(a,b){b=LNc(b);_.F(a.W,67)&&(b=b6c(b));_.$M(a.W)&&(b=V2c(a.H.V.ma,b));return b.filter(function(c){return 4!=
BP(c)})},b6c=function(a){var b=[];a=_.p(a);for(var c=a.next();!c.done;c=a.next())c=c.value,nNc(c)?(c=c.clone(),zP(c,mNc),b.push(c)):b.push(c);return b},Z5c=function(a){return a.map(function(b){return _.Dj(b)})},HR=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};R5c.prototype.Tla=function(){this.Ka=!0};var c6c=function(){};_.g=c6c.prototype;_.g.setActive=function(){};_.g.yO=function(){};_.g.update=function(){return _.Oj()};_.g.Zza=function(){return _.Oh()};_.g.s2=function(){return _.Oh()};
_.g.yEa=function(){};_.g.Tla=function(){};
var HP=function(a,b,c,d){_.O.call(this);var e=this;this.W=d||new _.aJc;this.te=a;this.H=b.clone();this.Ja=new _.LKc(this.H);a=_.ZM(this.H);this.ma=new QUc(_.iP(this.Ja),_.KM(this.H.Se()),!(!a||!_.A(a,1,!1)));d6c(this);this.Ld=new _.Rm;this.qx=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Ld.resolve();e.ta.H(106020)},1E4);this.Am=null;this.ag=new _.Hj;this.Eu=!0;this.ka=new _.hMc(_.GO(this.H),_.A(this.H.hf(),52,!1));this.Rg=new _.ZLc(_.GO(this.H)?3:1,!_.A(this.H.hf(),
52,!1));this.ta=_.yMc(this.H,this.ka,this.Rg,this.W,this.Ld.promise,c);this.Zg=null;this.Tn=new r2c(this.ta);this.Cc=new _.Hj;this.Ei=[];e6c(this)};_.I(HP,_.O);
var f6c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.qx);a.Ld.resolve()},e6c=function(a){var b=function(){g6c(a).Vf(_.Ie)},c=a.te;(c=c&&_.lb(c,_.bk))?_.Bd(c,"A",b):_.XM()||_.Bd(_.m,"unload",b)},g6c=function(a){a.ta.H(106005);aRc(a.ta);var b=a.Ei.map(function(c){return c()});_.ja(a.Ei);return _.Rh(b).then()},h6c=function(a,b){a.Ei.push(b)},D_c=function(a,b,c){"string"===typeof b&&null===a.Am&&(a.Am=b,a.ag.callback(b),b.length&&a.Rv(b,c||null))};
HP.prototype.Rv=function(){};HP.prototype.uq=function(){return this.Am};var i6c=function(a){if(!a.Zg)throw Error("ng");return a.Zg},j6c=function(a,b){a.Zg=b};HP.prototype.pEa=function(){return this.Eu||this.Rg.isConnected()};HP.prototype.sx=function(a){this.Cc.callback(a)};
var d6c=function(a){var b=a.H.hf();0==_.y(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.x(b,19,3));if(!_.D(b,37,""))throw Error("og");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.x(b,57,"https://clients6.google.com"));if(_.A(_.NP(a.H),9,!1))if(b=_.vj(_.NP(a.H),LP,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.GO(a.H)&&!_.A(a.H,10,!1))throw Error("pg");}else _.x(_.NP(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.A(_.NP(a.H),9,!1)&&(_.GO(a.H)||_.A(a.H,10,!1)))throw Error("qg");var c=a.H.Se();b=!(!c||!_.KM(c));c=c&&_.EO(c)||"";if(!b&&!c)throw Error("rg");b&&_.Gma(a.H,[]);_.vj(a.H,_.he,44).forEach(function(d){try{UUc(a.ma,d)}catch(e){if(e instanceof _.pb&&(d=e.qg)&&3==d.Sr())throw Error("sg");throw e;}})};HP.prototype.oEa=function(){return 0};HP.prototype.rb=function(a){this.dispatchEvent(new _.qb(new _.pb(void 0,a)))};HP.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var k6c=function(a,b){this.H=a;this.V=b},l6c=function(a,b,c){_.O.call(this);this.ta=a;this.ka=b;this.ma=c;this.H=new Map;this.W=new Map;this.ha=6;this.V=null};_.I(l6c,_.O);
var F_c=function(a,b,c,d,e){if((e=void 0===e?!1:e)&&!d.length){var f=new Set;b.forEach(function(q){(q=(q=q.getKey())&&_.ao(q))&&f.add(q)});_.mc(f.values()).concat().forEach(function(q){return void d.push(q)})}if(d.length){var h=_.sGc.has(c),k=new Map;d.forEach(function(q){k.set(q,new Map)});b.forEach(function(q){var t=q.getKey(),v=t&&_.ao(t);t=t&&_.y(t,2);v=k.get(v);t&&v&&v.set(t,m6c(q))});var l=0,n=0;_.mc(k.keys()).concat().forEach(function(q){var t=k.get(q),v=a.H.get(q);v?h&&(t.forEach(function(z){var B=
z.getKey();(B=v.get(B&&_.y(B,2)))&&_.Cj(z,B)||l++}),_.mc(v.values()).concat().forEach(function(z){z=z.getKey();t.has(_.y(z,2))||n++}),a.H.set(q,t),a.W.set(q,c)):(l+=t.size,a.H.set(q,t),a.W.set(q,c))});a.ta.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+b.length+" user prefs from "+c+(n?" (removed "+n+")":""));if(1!=a.ha||l){if(h||e)a.ha=1,AQ(a.ka,"px2C2c");AQ(a.ka,"rkYxSd")}(l||n)&&n6c(a,!h)}};l6c.prototype.hy=function(){return 0<this.H.size};
var n6c=function(a,b){b||a.V||(a.V=_.m.setTimeout(function(){_.m.clearTimeout(a.V);a.V=null;a.ma.update(5)},1E3));a.dispatchEvent(new _.Qg("WPi0i"))},x5c=function(a,b){var c=b.getKey(),d=c&&_.ao(c);c=c&&_.y(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=m6c(b);e&&_.Cj(b,e)||(d.set(c,b),n6c(a))}};l6c.prototype.remove=function(a){var b=a&&_.ao(a);a=a&&_.y(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&n6c(this)};
var V5c=function(a,b){var c=[];(b||_.mc(a.H.keys()).concat()).forEach(function(e){(e=a.H.get(e))&&_.mc(e.values()).concat().forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):_.mc(a.H.keys()).concat();var d=new kRc;_.yj(d,1,c);_.x(d,2,b||[]);return d};
l6c.prototype.LF=function(a){var b=this,c=V5c(this,a),d=new _.bo;d.Dc(this.ha);_.Fva(d,c.yw());_.R(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.tGc.has(f)&&Infinity>_.tGc.get(f)&&(e=f)});return new k6c(d,e)};
var m6c=function(a){a=a.clone();a.Ph()||a.jc("");return a},o6c=function(a){var b=a.a,c=a.b,d=a.c;b=b-c-d^d>>>13;c=c-d-b^b<<8;d-=b;d=d-c^c>>>13;b-=c;b-=d;b^=d>>>12;c=c-d-b^b<<16;d-=b;d=d-c^c>>>5;b-=c;b-=d;b^=d>>>3;c=c-d-b^b<<10;d-=b;d=d-c^c>>>15;a.a=b;a.b=c;return a.c=d},p6c=function(a){return 127<a?a-256:a},q6c=function(a,b){return p6c(a[b])+(p6c(a[b+1])<<8)+(p6c(a[b+2])<<16)+(p6c(a[b+3])<<24)},r6c=function(a){var b=0,c=a.length,d={a:-1640531527,b:-1640531527,c:314159265},e;for(e=c;12<=e;e-=12,b+=
12)d.a+=q6c(a,b),d.b+=q6c(a,b+4),d.c+=q6c(a,b+8),o6c(d);d.c+=c;switch(e){case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.b+=q6c(a,b+4);d.a+=q6c(a,b);break;case 7:d.b+=(a[b+6]&255)<<16;case 6:d.b+=(a[b+5]&255)<<8;case 5:d.b+=a[b+4]&255;case 4:d.a+=q6c(a,b);break;case 3:d.a+=(a[b+2]&255)<<16;case 2:d.a+=(a[b+1]&255)<<8;case 1:d.a+=a[b]&255}return o6c(d)},JP=function(a,b,c,d,e,f){HP.call(this,a,b,c,d);var h=this;this.Lb=new _.Xd;this.Pa(this.Lb);this.Gu=_.Sh();
this.ha=e?e:new yUc(this.W);this.ta.ha.V=this.ha;this.hb=_.A(_.NP(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?s6c(this,b):null;this.Wa=new JUc(MP(b.Se()));this.Ka=new sVc;this.qj=null;this.Oe=_.Sh();this.Ga=t6c(this,this.hb);this.Db=u6c(this,this.hb,b);this.wa=v6c(this);this.V=new x3c(this,this.Ja);this.tc=new oZc(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return w6c(h,k)});this.Zc=new wZc(this.W,this.ha,this.wa);this.Ma=new l6c(this.W,this.ha,this.wa);
this.Bs=new _.Hj;this.Du=null;this.Hc=new yZc(this.tm(),this.W,function(k){return void h.rb(k)});this.Ib=_.A(this.H.hf(),52,!1)?new _.zMc(this.Rg,this.tm(),this.W):null;this.Wf=new s4c;this.ie=null;this.Hu=_.Sh();zQ(this.ha,["mrK8ic"],function(){h.Hu.promise.then(function(){E_c(h,h.ie)})});this.Hi=new _.Hj;this.Tv=new _.xLc(this.H);this.Qa=new _.NKc(this.H,this.V.V);this.Uj=new b5c(this);this.Md=new v4c(this.Oe.promise,this.tm());this.Cu=new x4c(this.tm(),this.Md);this.kd=new O5c;this.Nm=new Q4c(this.Oe.promise,
this.tm(),this.W,this.H);this.lc=new L5c(this,this.v8a.bind(this),f);this.Gu.resolve(this.lc);this.Ba=new u_c;this.Sv=new E4c(this);this.qh=new sZc;this.Ge=_.Sh();this.Es=!1;this.Fs=_.Sh();zQ(this.ha,["BNEDtc"],function(){return h.Fs.resolve()});(this.Vb=_.D(b.Se(),6,"")||"")&&w6c(this,this.Vb);this.Vn=null;h6c(this,function(){h.wa.yO();return _.Oh()})};_.I(JP,HP);
var s6c=function(a,b){var c=_.EO(b.Se()),d=_.FO(b),e=function(){},f=_.vj(_.NP(b),LP,11);f=f[0]&&_.y(f[0],1);var h=new e0c(c,d,_.D(_.NP(b),10,0)||0,f||"",_.iP(a.Ja));_.GO(b)?c=Q0c(c,d).then(function(l){return l?l:h}):_.A(b,10,!1)&&0<_.D(_.NP(b),8,432E6)?(b=x6c(a,c),c=Q0c(c,d,b).then(function(l){return l&&(e=function(n){return n.Qk(h).Vf(function(){return null})},!l.ta)?l:h})):c=_.Oh(h);var k=new mR(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},x6c=function(a,
b){var c=_.D(_.NP(a.H),8,432E6);if(!_.GO(a.H)&&0<c)return Math.abs(r6c(_.cka(b)))%c};JP.prototype.gA=function(a){var b=this;return this.hb?this.hb.kh()?_.Ph(Error("tg`"+A0c(this.hb))):s1c(this.Ga).then(function(c){var d=b.hb,e=[];e.push(b.wa.Zza());e.push(a?d.Qk():M0c(d));if(a===c)return _.Qh(e).then(function(){return!1});!1===a&&(e.push(z0c(d)),(c=b.uq())&&e.push(rR(b.Ga,l1c,c)));return _.Qh(e).then(function(){return b.Ga.gA(a)},function(){return!1})}):_.Ph(Error("ug"))};
var u6c=function(a,b,c){var d=null;b&&(d=new X0c(b,c,function(e){a.rb(e)}),d.initialize());return d},t6c=function(a,b){var c=new q1c(b||void 0);c.uq().then(function(d){d&&D_c(a,d,5)});b&&(s1c(c).then(function(d){a.ka.gA(d)}),_.Qh([b.initialize(),a.Ld.promise]).then(function(){y6c(a,c)},function(){}));return c},y6c=function(a,b){v1c(b).then(function(c){(!c||c<Date.now()-864E5)&&T0c(_.EO(a.H.Se()),_.FO(a.H),a.W).then(function(d){d&&(d=Date.now(),rR(b,o1c,d))},function(){})})},v6c=function(a){if(!a.Db)return new c6c;
var b=new R5c(a,a.Ja);a.Lb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ef())});a.Lb.listen(a.Rg,_.mc(Object.values(uUc)).concat(),function(){return void b.setActive(a.Rg.isConnected())});return b};JP.prototype.px=function(a){this.Du=a;this.Bs.callback(a)};var sR=function(a){return a.Bs.Gk()},z6c=function(a){return a.hb?a.hb.kh():null},A6c=function(a,b){a.ha.H("NSockf")?AQ(a.ha,b):zQ(a.ha,["NSockf"],function(){AQ(a.ha,b)})};
JP.prototype.Rv=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ka.H=a||"",this.ma.W=a||"",6!=b&&1!=b||rR(this.Ga,l1c,a),A6c(this,"jroI5d"))};var w6c=function(a,b){_.A(a.H,15,!1)||(a.Vb=b,A6c(a,"NVkrgc"))};JP.prototype.Ds=function(){return this.Hi.Gk()};var E_c=function(a,b,c){0>b||(c?a.ie?a.ie=Math.max(a.ie,b):(a.ie=b,a.Hu.resolve()):a.Hi.Ie()||(a.Hi.callback(b),A6c(a,"T8oKm")))},cR=function(a){if(!a.qj)throw Error("vg");return a.qj};_.g=JP.prototype;_.g.tm=function(){return this.Gu.promise.then(function(a){return a.U0.promise})};
_.g.Sla=function(){this.Es||(this.Es=!0,this.Ge.resolve(),AQ(this.ha,"aU7Ts"))};_.g.pEa=function(){throw Error("wg");};_.g.v8a=function(){this.lc.H()||this.dispatchEvent("Pb")};_.g.oEa=function(){return this.V.V.W()};
var $1c=function(a){a.Vn||(a.Vn=new B4c(a.Oe.promise,a.tm(),a.W));return a.Vn},B6c=function(a){_.Me("drive.DebugUtil.printFindById",function(c){a.jM(c).mb(function(d){window.console.log(JSON.stringify(d))})});_.Me("drive.DebugUtil.getLogs",function(){return _.dJc(a.S9())});_.Me("drive.DebugUtil.printLogs",function(){window.console.log(_.dJc(a.S9()))});_.Me("drive.DebugUtil.printRequestHistory",function(){a.xma().mb(function(c){c.forEach(function(d){window.console.log(_.y(d,1));window.console.log(_.y(d,
2))})})});_.Me("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Za();b&&_.A(b,1,!1)&&(_.Me("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Me("drive.DebugUtil.setOffline",function(c){return void a.Qk(c)}))},IR=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.wa=a;this.Ka=b;this.Qa=c;this.hc=e;this.Wa=d;this.Ma=f;this.H=[];this.items=[];this.ma=6;this.Ba=iOc(new _.iN,[1]);this.ta=!0;this.ha=e.lh();this.W=!1;this.suggestionSessionId=this.sessionId=this.ka=null;
this.V=0;_.od(this,function(){h.W=!1;h.H=[]})};_.I(IR,_.O);_.g=IR.prototype;_.g.di=function(){return String(_.xa(this))};_.g.xe=function(){return this.W};_.g.activate=function(){this.W=!0;_.ia(this.items)&&6==this.Fb()&&this.ij()||C6c(this)};_.g.hd=function(){return this.hc};_.g.lh=function(){return this.ha};_.g.Fb=function(){return this.ma};_.g.vq=function(){return this.Ba};_.g.ij=function(){return this.ta};
_.g.Kp=function(){var a=_.oN(_.rN.Eb(),this.H,this.items),b=(new hRc).Dc(this.Fb());a=_.yj(b,2,a);this.H=this.items;return a};_.g.Aq=function(a){this.W&&(this.ha+=a||50,this.Wa(this.di(),this.ha))};var D6c=function(a,b){return a.Fb()!=b.Fb()||PP(_.rN.Eb(),a.items,b.zd())},E6c=function(a,b){a.items=b.zd();a.ma=b.Fb();_.$M(a.Ma)&&(a.Ba=jOc(a.ma,a.items));a.ta=b.Rga();a.V=b.Ne()};
IR.prototype.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a query after "+a.LD+" retries.",a.error)))};IR.prototype.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};IR.prototype.rs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+DQ(this.wa,this.hd());return _.Pj(this.Ka.then(function(d){return d.ka(a,b,c.hd(),c.lh(),c.items)}))};
var C6c=function(a){a.xe()&&(F6c(a,"Returning "+a.items.length+" items. Status: "+(_.Nea(mRc)[a.Fb()]+". Datasource: ")+(_.Nea(bSc)[a.V]+". Query: ")+DQ(a.wa,a.hc)),G6c(a,a.items,a.hc),a.dispatchEvent(new _.Qg(_.bc,a)))},G6c=function(a,b,c){if(_.UN(c))c="quick access";else if(_.VN(c))c="people predict";else if(_.WN(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");F6c(a,"Returning "+b.length+" items for "+c+": "+d)};IR.prototype.refresh=function(){};
var F6c=function(a,b){a.Qa.info("drive.ds.sync.BaseViewCacheLiveList",b)},qOc=[90,59,75];_.r("sy12c");
var JR=function(a){_.Q(this,a,0,-1,null,null)};_.M(JR,_.P);JR.prototype.getType=function(){return _.y(this,1)};var H6c=function(a){var b=new JR;return _.x(b,1,a)};JR.prototype.qY=function(){return _.C(this,_.ok,2)};var I6c=function(a,b){return _.R(a,2,b)};JR.prototype.Ot=function(){return _.y(this,3)};JR.prototype.ou=function(a){return _.x(this,3,a)};JR.prototype.ai=function(){return _.y(this,4)};JR.prototype.setPosition=function(a){return _.x(this,4,a)};
var KR=function(a){_.Q(this,a,0,-1,null,null)};_.M(KR,_.P);KR.prototype.getType=function(){return _.y(this,1)};var J6c=function(a){var b=new KR;return _.x(b,1,a)},K6c=function(a,b){return _.R(a,2,b)};KR.prototype.Ot=function(){return _.y(this,3)};KR.prototype.ou=function(a){return _.x(this,3,a)};KR.prototype.ai=function(){return _.y(this,4)};KR.prototype.setPosition=function(a){return _.x(this,4,a)};
var LR=function(a){_.Q(this,a,0,-1,null,null)};_.M(LR,_.P);LR.prototype.getType=function(){return _.y(this,1)};var MR=function(a){var b=new LR;return _.x(b,1,a)},NR=function(a,b){return _.R(a,2,b)};LR.prototype.Ot=function(){return _.y(this,3)};LR.prototype.ou=function(a){return _.x(this,3,a)};LR.prototype.ai=function(){return _.y(this,4)};LR.prototype.setPosition=function(a){return _.x(this,4,a)};
var M6c=function(a){_.Q(this,a,0,-1,L6c,null)};_.M(M6c,_.P);var L6c=[2];M6c.prototype.Fb=function(){return _.y(this,1)};M6c.prototype.Dc=function(a){return _.x(this,1,a)};M6c.prototype.Pj=function(){return _.y(this,3)};
var N6c=function(a){_.Q(this,a,0,-1,null,null)};_.M(N6c,_.P);
var P6c=function(a){_.Q(this,a,0,-1,O6c,null)};_.M(P6c,_.P);var O6c=[2];P6c.prototype.Fb=function(){return _.y(this,1)};P6c.prototype.Dc=function(a){return _.x(this,1,a)};P6c.prototype.ej=function(){return _.vj(this,_.pN,2)};P6c.prototype.Ao=function(a,b){return _.zj(this,2,a,_.pN,b)};
var R6c=function(a){_.Q(this,a,0,-1,Q6c,null)};_.M(R6c,_.P);var Q6c=[2];R6c.prototype.Fb=function(){return _.y(this,1)};R6c.prototype.Dc=function(a){return _.x(this,1,a)};R6c.prototype.Ri=function(){return _.vj(this,KR,2)};
var S6c=function(a){_.Q(this,a,0,-1,null,null)};_.M(S6c,_.P);S6c.prototype.Fb=function(){return _.y(this,1)};S6c.prototype.Dc=function(a){return _.x(this,1,a)};
var U6c=function(a){_.Q(this,a,0,-1,T6c,null)};_.M(U6c,_.P);var T6c=[2];U6c.prototype.Fb=function(){return _.y(this,1)};U6c.prototype.Dc=function(a){return _.x(this,1,a)};U6c.prototype.Ri=function(){return _.vj(this,LR,2)};
var OR=function(a){_.Q(this,a,0,-1,null,null)};_.M(OR,_.P);OR.prototype.getType=function(){return _.y(this,1)};var V6c=function(a){var b=new OR;return _.x(b,1,a)};OR.prototype.Ot=function(){return _.y(this,3)};OR.prototype.ou=function(a){return _.x(this,3,a)};OR.prototype.ai=function(){return _.y(this,4)};OR.prototype.setPosition=function(a){return _.x(this,4,a)};
var X6c=function(a){_.Q(this,a,0,-1,W6c,null)};_.M(X6c,_.P);var W6c=[2];X6c.prototype.Fb=function(){return _.y(this,1)};X6c.prototype.Dc=function(a){return _.x(this,1,a)};X6c.prototype.Pj=function(){return _.y(this,3)};
var Z6c=function(a){_.Q(this,a,0,-1,Y6c,null)};_.M(Z6c,_.P);var Y6c=[2,4];Z6c.prototype.Fb=function(){return _.y(this,1)};Z6c.prototype.Dc=function(a){return _.x(this,1,a)};Z6c.prototype.Pj=function(){return _.y(this,3)};
_.PR=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.PR,_.P);_.PR.prototype.getType=function(){return _.y(this,1)};var $6c=function(a){var b=new _.PR;return _.x(b,1,a)};_.PR.prototype.Tu=function(){return _.C(this,_.JQ,2)};var a7c=function(a,b){return _.R(a,2,b)};_.PR.prototype.Ot=function(){return _.y(this,3)};_.PR.prototype.ou=function(a){return _.x(this,3,a)};_.PR.prototype.ai=function(){return _.y(this,4)};_.PR.prototype.setPosition=function(a){return _.x(this,4,a)};
var c7c=function(a){_.Q(this,a,0,-1,b7c,null)};_.M(c7c,_.P);var b7c=[2,4];
var e7c=function(a){_.Q(this,a,0,-1,d7c,null)};_.M(e7c,_.P);var d7c=[2];e7c.prototype.Fb=function(){return _.y(this,1)};e7c.prototype.Dc=function(a){return _.x(this,1,a)};e7c.prototype.Pj=function(){return _.y(this,3)};
var f7c=function(a){_.Qg.call(this,"Rb");this.dataType=a};_.I(f7c,_.Qg);
var g7c=function(a,b){_.Qg.call(this,"Sb");this.ha=a;this.H=b};_.I(g7c,_.Qg);
var h7c=function(){};_.g=h7c.prototype;_.g.dF=function(a,b){return hSc(gSc(1),a).setPosition(b)};_.g.bF=function(a,b){return hSc(gSc(2).setPosition(b),a)};_.g.LJ=function(a,b,c){return hSc(gSc(3).ou(b).setPosition(c),a)};_.g.bI=function(a,b){return hSc(gSc(4),a).setPosition(b)};_.g.AF=function(a){return _.C(a,WP,2)};
var i7c=function(){_.nN.call(this,new h7c,function(a){return a&&a.getName()})};_.I(i7c,_.nN);
var QR=function(a,b,c){_.O.call(this);var d=this;this.ha=a;this.Rg=b;this.limit=c||50;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.active=!1;this.status=6;this.Ka=iOc(new _.iN,[1]);this.ta=this.H=!1;_.od(this,function(){d.active=!1;d.Rd.removeAll()})};_.I(QR,_.O);_.g=QR.prototype;_.g.Ef=function(){return this.ha.Ef()||this.Rg.Ef()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Rd.listen(this.ha,"Cb",_.Ke(this.kq)),this.Rd.listen(this.Rg,_.mc(Object.values(uUc)).concat(),_.Ke(this.kq)),this.ha.Ef()?this.Rd.ad(this.ha,"Cb",function(b){b.Ef()||(a.$A(),a.dispatchEvent(new _.Qg(_.vq)))}):this.Rg.Ef()?this.Rd.ad(this.Rg,["wb","yb"],function(){a.$A();a.dispatchEvent(new _.Qg(_.vq))}):(this.$A(),this.dispatchEvent(new _.Qg(_.vq))))};_.g.$A=function(){};
_.g.Aq=function(a){var b=this;if(this.ij()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.kq();this.ha.Ef()?this.Rd.ad(this.ha,"Cb",function(d){d.Ef()||b.rH()}):this.rH()}};_.g.nG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Fb=function(){return this.status};_.g.vq=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.qb(a))};_.g.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};_.g.ij=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rd.removeAll();this.activate()};_.g.rH=function(){};
var j7c=function(a,b,c,d,e){QR.call(this,a,b,e.lh()||void 0);this.hc=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new i7c;this.wa=c};_.I(j7c,QR);_.g=j7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){return lSc(new $P,this.V).Dc(this.status)};_.g.Kp=function(){var a=_.oN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new jSc).Dc(this.status);return _.yj(b,2,a)};_.g.rH=function(){this.Ba(this.di(),this.limit)};
_.g.kq=function(){if(this.active){var a=this.status;this.nG();if(this.W||a!=this.status)k7c(this,"Returning "+this.V.length+" labels for "+this.hc.Gc()),this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};
_.g.update=function(a){var b=a.response;if(this.status!=b.Fb()||PP(0,this.V,b.V()))this.H=!0,this.status=b.Fb(),this.V=b.V(),this.ta=a.V,k7c(this,"Returning "+this.V.length+" labels for "+this.hc.Gc()),this.dispatchEvent(new _.Qg(_.bc,this))};_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a category metadata query after "+a.LD+" retries.",a.error)))};var k7c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var l7c=function(a,b,c){_.O.call(this);var d=this;this.ka=a;this.hc=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=iOc(new _.iN,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.hc.Ol().join(", "));_.od(this,function(){d.ha=!1;d.W=[]})};_.I(l7c,_.O);_.g=l7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.hd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.qP;a.Dc(this.V);a.H=this.H;return a};_.g.Kp=function(){var a=kOc(this.W,this.H),b=new fSc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ma};_.g.TK=function(a){var b=this.hc;this.hc=a;this.ta.Ja(this.di(),b,a)};
_.g.update=function(a){if(this.V!=a.Fb()||lOc(this.H,a.Ts()))this.V=a.Fb(),this.H=a.Ts(),_.$M(this.ka.H)&&(this.ma=jOc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a team drive find-by-IDs query after "+a.LD+" retries.",a.error)))};_.g.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var m7c=function(a,b,c,d,e,f){IR.call(this,a,b,c,e,f,d);this.Ja=null;this.Ga=void 0};_.I(m7c,IR);m7c.prototype.getData=function(){this.H=this.items;var a=UPc((new _.YB).Dc(this.Fb()).gw(this.items),this.ij());a=_.R(a,7,this.Ja);return _.mIc(a.hI(this.ka).setSessionId(this.sessionId).VW(this.suggestionSessionId).UW(this.V),this.Ga)};
m7c.prototype.update=function(a){D6c(this,a)&&(E6c(this,a),this.Ja=a.SW(),this.ka=a.kF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.TW(),this.Ga=a.c7(),C6c(this))};
var n7c=function(a,b){var c={};a=_.af(a,function(d){return!!d});b=_.af(b,function(d){return!!d});_.$e(a,function(d,e){var f=b[e];f?_.Cj(d,f)||(d=NR(MR(4),f),c[e]=d):(d=NR(MR(2),d),c[e]=d)});_.$e(b,function(d,e){a[e]||(d=NR(MR(1),d),c[e]=d)});return c},o7c=function(a,b){return _.df(a)!=_.df(b)||!_.gf(n7c(a,b))};
var p7c=function(a,b){_.O.call(this);this.hc=b;this.$d=!1;this.V=6;this.W={};this.H={}};_.I(p7c,_.O);_.g=p7c.prototype;_.g.activate=function(){this.$d||(this.$d=!0,_.gf(this.H)&&6==this.V||this.dispatchEvent(new _.Qg(_.bc,this)))};_.g.Fb=function(){return this.V};_.g.vq=function(){return new _.iN};_.g.getData=function(){this.W=this.H;var a=(new _.sP).Dc(this.V);_.$e(this.H,function(b,c){a.ZL().set(c,b||new _.WB)});return a};
_.g.Kp=function(){var a=n7c(this.W,this.H);this.W=this.H;var b=(new S6c).Dc(this.V);_.$e(a,function(c,d){_.nj(b,2,LR).set(d,c)});return b};_.g.TK=function(){throw Error("xg");};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){var b={};a.ZL().forEach(function(c,d){c||(c=J4c(d));b[d]=c});if(this.V!=a.Fb()||o7c(this.W,b))this.V=a.Fb(),this.H=b,this.$d&&this.dispatchEvent(new _.Qg(_.bc,this))};
_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Workspace find by id after "+a.LD+" retries.",a.error)))};_.g.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var q7c=function(){};_.g=q7c.prototype;_.g.dF=function(a,b){return NR(MR(1),a).setPosition(b)};_.g.bF=function(a,b){return NR(MR(2).setPosition(b),a)};_.g.LJ=function(a,b,c){return NR(MR(3).ou(b).setPosition(c),a)};_.g.bI=function(a,b){return NR(MR(4),a).setPosition(b)};_.g.AF=function(a){return _.C(a,_.WB,2)};
var r7c=function(){_.nN.call(this,new q7c,function(a){return a&&a.getId()})};_.I(r7c,_.nN);
var s7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.W=[];this.V=[];this.ka=!1;this.ma=new r7c};_.I(s7c,QR);_.g=s7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){this.W=this.V;return lWc((new PQ).Dc(this.status),this.V.slice(0))};_.g.Kp=function(){var a=_.oN(this.ma,this.W,this.V);this.W=this.V;var b=(new U6c).Dc(this.status);return _.yj(b,2,a)};_.g.rH=function(){this.wa.W(this.di(),this.limit)};
_.g.kq=function(){var a=this.status;this.nG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){var b=a.response;if(this.status!=b.Fb()||PP(0,this.V,b.Ri()))this.H=!0,this.status=b.Fb(),this.V=b.Ri(),this.ta=a.V,this.dispatchEvent(new _.Qg(_.bc,this))};
_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Workspace query after "+a.LD+" retries.",a.error)))};
var u7c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=a;this.wa=b;this.hc=f;this.Ba=d;this.Ga=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=iOc(new _.iN,[1]);this.ta=c;t7c(this,"Creating find by ids live map: "+this.hc.Ol().join(", "));_.od(this,function(){h.ha=!1;h.W=[]})};_.I(u7c,_.O);_.g=u7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.gf(this.H)&&6==this.V||v7c(this)};_.g.hd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.qP;_.$M(this.ka)?a.Dc(oNc(Object.values(this.H))?6:this.V):a.Dc(this.V);a.H=this.H;return a};_.g.Kp=function(){var a=kOc(this.W,this.H),b=new fSc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ma};_.g.TK=function(a){SUc(a);var b=this.hc;this.hc=a;this.Ga(this.di(),b,a)};
_.g.update=function(a){var b=this;0<=_.fa(this.hd().Ol(),"root")?this.Ba.mb(function(c){var d=a.Ts()[c];d&&(_.hf(a.H,c),a.H.root=d);w7c(b,a)}):w7c(this,a)};var w7c=function(a,b){if(a.V!=b.Fb()||lOc(a.H,b.Ts()))a.V=b.Fb(),a.H=b.Ts(),_.$M(a.ka)&&(a.ma=jOc(a.V,Object.values(a.H))),v7c(a)};u7c.prototype.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a find-by-IDs query after "+a.LD+" retries.",a.error)))};u7c.prototype.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};
var v7c=function(a){a.ha&&(t7c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Fb()+". Query: ")+DQ(a.wa,a.hc)),a.dispatchEvent(new _.Qg(_.bc,a)))},t7c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var x7c=function(a,b,c,d,e,f){IR.call(this,a,b,c,d,e,f);this.Ga=[]};_.I(x7c,IR);x7c.prototype.getData=function(){this.H=this.items;return fRc(eRc((new _.rP).Dc(this.Fb()).gw(this.items),this.ij()),this.Ga).hI(this.ka).setSessionId(this.sessionId).VW(this.suggestionSessionId).UW(this.V)};x7c.prototype.update=function(a){D6c(this,a)&&(E6c(this,a),this.Ga=_.vj(a,_.ok,6),this.ka=a.kF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.TW(),C6c(this))};
var y7c=function(){};_.g=y7c.prototype;_.g.dF=function(a,b){return K6c(J6c(1),a).setPosition(b)};_.g.bF=function(a,b){return K6c(J6c(2).setPosition(b),a)};_.g.LJ=function(a,b,c){return K6c(J6c(3).ou(b).setPosition(c),a)};_.g.bI=function(a,b){return K6c(J6c(4),a).setPosition(b)};_.g.AF=function(a){return _.C(a,cQ,2)};
var z7c=function(){_.nN.call(this,new y7c,function(a){return a&&a.V()})};_.I(z7c,_.nN);
var A7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new z7c;this.ma=null};_.I(A7c,QR);_.g=A7c.prototype;_.g.$A=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.getData=function(){this.ka=this.V;return FSc((new dQ).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Kp=function(){var a=_.oN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new R6c).Dc(this.status);return _.yj(b,2,a)};
_.g.rH=function(){};_.g.kq=function(){var a=this.status;this.nG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};_.g.di=function(){return String(_.xa(this))};_.g.hd=function(){return this.hc};_.g.update=function(a){if(this.status!=a.Fb()||PP(0,this.V,a.Ri())){this.W=this.H=!0;this.V=a.Ri();if(a=a.getSessionId())this.ma=a;this.kq()}};_.g.refresh=function(){this.wa()};
_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Suggested Workspace query after "+(a.LD+" retries."),a.error)))};
var B7c=function(a,b,c){_.O.call(this);var d=this;this.hc=a;this.Ba=b;this.wa=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.lh();this.V=6;this.ta=iOc(new _.iN,[1]);this.W=!0;_.od(this,function(){d.ha=!1;d.ka=[]})};_.I(B7c,_.O);_.g=B7c.prototype;_.g.di=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.ia(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.Qg(_.bc,this))};_.g.hd=function(){return this.hc};_.g.Fb=function(){return this.V};_.g.vq=function(){return this.ta};
_.g.ij=function(){return this.W};_.g.getData=function(){this.ka=this.H;return UPc((new _.YB).Dc(this.V).gw(this.H),this.W)};_.g.Kp=function(){var a=_.oN(_.rN.Eb(),this.ka,this.H),b=(new hRc).Dc(this.V);a=_.yj(b,2,a);this.ka=this.H;return a};_.g.Aq=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.di(),this.ma))};
_.g.update=function(a){if(this.V!=a.Fb()||PP(_.rN.Eb(),this.H,a.zd()))this.H=a.zd(),this.V=a.Fb(),_.$M(this.wa)&&(this.ta=jOc(this.V,this.H)),this.W=a.Rga(),this.ha&&this.dispatchEvent(new _.Qg(_.bc,this))};_.g.mG=function(a){this.dispatchEvent(new _.qb(new _.pb("Error occurred running a Team Drive query after "+a.LD+" retries.",a.error)))};_.g.oJ=function(){this.dispatchEvent(new _.Qg(_.KDa))};_.g.rs=function(){throw Error("yg");};_.g.refresh=function(){};
var C7c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Nm;this.Ka=this.H.Md;this.ha={};this.Ba={};this.Ga={};this.V=null;this.wa=b};_.g=C7c.prototype;_.g.Tfa=function(a){var b=this,c=new m7c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Wfa=function(a){var b=this,c=new x7c(this.H.ma,this.H.Cc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
_.g.Qfa=function(a){var b=this,c=new u7c(this.H.H,this.H.ma,this.H.W,this.H.ag,this.Ja.bind(this),a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Zfa=function(a){var b=this,c=new B7c(a,this,this.H.H);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.$fa=function(a){var b=this,c=new l7c(this.H,this,a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.aga=function(a){var b=this,c=new s7c(this.H,a,this);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
_.g.Xfa=function(a){var b=this,c=new A7c(this.H,a,function(){if(a instanceof _.co){var d=$1c(b.H);q4c(d,d.getKey(a)).refresh()}});RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.bga=function(a){var b=this,c=new p7c(this.H,a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};_.g.Mfa=function(a){var b=this,c=new j7c(this.H.ka,this.H.Rg,this.H.W,function(d,e){return b.W(d,e)},a);RR(this,c);_.od(c,function(){return SR(b,c)});return c};
var RR=function(a,b){var c=b.di();a.ha[c]=b;a.wa.create(c,b.hd());b=b.hd()instanceof _.go?n4c(a.ma,c,b.hd()):"undefined"!=typeof _.nO&&b.hd()instanceof _.nO?o4c(a.ma,c,b.hd()):b.hd()instanceof _.co?n4c($1c(a.H),c,b.hd()):b.hd()instanceof _.jG?n4c(a.Ka,c,b.hd()):C3c(a.ta,c,b.hd());"boolean"===typeof b&&s2c(a.wa,c,b)},SR=function(a,b){if(b.hd()instanceof _.go)p4c(a.ma,b.di(),b.hd());else if("undefined"!=typeof _.nO&&b.hd()instanceof _.nO){var c=a.ma,d=b.di(),e=b.hd(),f=c.H.get(c.getKey(e));f&&(f.H.delete(d),
0==f.H.size&&f.dispose(),f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.hd()instanceof _.co?p4c($1c(a.H),b.di(),b.hd()):b.hd()instanceof _.jG?p4c(a.Ka,b.di(),b.hd()):D3c(a.ta,b.di(),b.hd());yR(a.wa,b.di(),4);delete a.ha[b.di()]};C7c.prototype.Ja=function(a,b,c){D3c(this.ta,a,b);C3c(this.ta,a,c)};
C7c.prototype.W=function(a,b){var c=NZc(this,a).hd();c.Ki(b);c instanceof _.go?n4c(this.ma,a,c):"undefined"!=typeof _.nO&&c instanceof _.nO?o4c(this.ma,a,c):c instanceof _.jG?n4c(this.Ka,a,c):C3c(this.ta,a,c)};
C7c.prototype.ka=function(){_.Zh(this.V);this.V=null;var a=Object.keys(this.Ba),b=Object.keys(this.Ga);a=_.p(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ba[c];if(d){delete this.Ba[c];var e=this.ha[c];e&&(u2c(this.wa,c,d),e.update(d))}}b=_.p(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.Ga[a])if(delete this.Ga[a],d=this.ha[a])yR(this.wa,a,3),d.mG(c)};var NZc=function(a,b){if(!a.ha[b])throw Error("zg`"+b);return a.ha[b]};
var TR=function(a,b){_.O.call(this);this.ka=a;this.hc=b;this.W=_.Sh();this.V=!1;this.H=""};_.I(TR,_.O);TR.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.hc)}).then(this.ta.bind(this)).Vf(this.ha.bind(this));return this.W.promise};TR.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new g7c(0,this.H));D7c(this)};var D7c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.ZGc(a.H))}).then(a.wa.bind(a)).Vf(a.ha.bind(a))},5E3)};
TR.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new g7c(a.ka,this.H)),D7c(this);else{this.V=!0;if(4==a.status){var b=new c7c;b=_.x(b,2,a.H||[]);b=_.x(b,3,this.H);b=_.x(b,5,a.ma);b=_.x(b,6,a.W);b=_.x(b,7,a.wv);b=_.x(b,8,a.ha);a=_.yj(b,4,a.V);this.W.resolve(a)}else a=_.VM(_.nq(_.mq(new _.ob,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};TR.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.YGc(a.H))}).then(this.ma.bind(this)).Vf(this.ha.bind(this))};
TR.prototype.ma=function(){if(!this.V){var a=new c7c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};TR.prototype.ha=function(a){this.V=!0;this.W.reject(_.vN(a));this.dispose()};
var E7c=function(){_.Qg.call(this,"VbxEwf")};_.I(E7c,_.Qg);
var F7c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=F7c.prototype;_.g.Za=function(){return _.C(this.H.H,_.GM,58)};_.g.getContext=function(){return this.H};_.g.jEa=function(){var a=this.H.Qa,b=this.W,c=_.oc(a.H);a.V&&c.push(_.OKc("CacheSize",a.V.W()));c.push(_.OKc("InitialViewDataLoaded",b));a=new EQc;_.yj(a,1,c);return _.Oj(a)};_.g.S9=function(){return this.H.W};_.g.jM=function(a){return _.Oj(this.H.V.V.H(a))};_.g.xma=function(){return _.Oj(this.H.Qa.W.jh())};
_.g.Xba=function(a,b,c){var d=new _.Hj;if(_.C(a,_.IM,3)||_.C(a,_.sO,4)||_.C(a,_.jP,5)||_.C(a,_.kO,6)||_.C(a,_.NN,7)||_.C(a,_.GN,8)||_.C(a,_.KN,9)||_.C(a,_.aN,10)){var e=JVc(a);this.H.tm().then(function(f){return f.H(e,{cmb:b,dmb:c})}).then(this.E4a.bind(this,d),d.Bd,d);return d}throw Error("Ag");};
_.g.E4a=function(a,b){var c=[],d="";if(b instanceof _.VO){c=b.gr().zd();var e=_.y(b,2);d=b.Jm()}else if(b instanceof _.vO)b.getItem()&&c.push(b.getItem()),e=b.II();else throw Error("Bg");a.callback({items:c,Gwa:e,pageToken:d})};_.g.xLa=function(){var a=this.H.H,b=a.hf();a="email:"+a.Se().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.Mva=function(){this.H.wa.yO();var a=this.H.H;U0c(_.EO(a.Se()),_.FO(a),this.H.W).Vf(function(){})};_.g.CX=function(){return _.cFc[_.D(this.H.H.hf(),8,0)]};
_.g.wra=function(){this.H.kd.H=new N5c(_.kg().substring(0,8))};_.g.T9=function(){var a=this.H.kd.H,b=null;a&&(b=P5c(this.H.kd),b={traceId:a,spanRecs:b});a=this.H.kd;a.H=null;a.V=[];return _.Oj(b)};_.g.kEa=function(){return _.Oj(this.H.kd.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.yi();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.H.oEa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.p_());b.cs_ch=r_c(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Du)&&(b.t_cps=c.i_a().join(","));b.t_id=z6c(this.H);var e=[];M5c(this.H.lc).forEach(function(f,h){e.push(h+
":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.Ib?this.H.Rg.isConnected():this.H.Hc.H;b.n_o=this.H.Ib?this.H.Rg.Ef():this.H.ka.Ef();b.n_csm=!!this.H.Ib;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Oj(JSON.stringify(b))};_.g.FKa=function(){this.V&&(this.V.dispatchEvent(new E7c),this.V.o_())};_.g.Qk=function(a){var b=this.H.Ib;b&&a!=b.H&&(b.H=a,_.WKc(b),a?b.qc.update(3):_.MJc(b))};
var I7c=function(a,b){this.H=a;this.V=b;this.ha=_.MGc(SQc(this.V),G7c);this.W=_.MGc(SQc(this.V),H7c)},J7c=function(a,b){var c={};b.forEach(function(f){_.QGc(f);var h=f.getId(),k=a.H.uq(),l=a.H.Vb;_.fIc(f,3);_.x(f,82,5);var n=INc(f,!0);f.getCapabilities()||f.ln(new _.pm);_.F(n,2)&&((n=f.Uh())&&n.length?_.x(f,46,n[0]):(_.QO(f,[k]),_.x(f,46,k)),k=f.mq(),_.x(f,12,k),k=new _.ok,k.kc(l),_.x(k,6,1),_.x(k,7,!0),_.R(f,17,k),_.yj(f,15,[k]),_.AM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=FVc(d.V,b);_.$e(e,
function(f,h){AP(f.getItem(),c[h],a.ha);(a.H.ka.Ef()||a.H.Rg.Ef()||3==BP(f.getItem()))&&AP(f.getItem(),c[h],a.W);_.hf(c,h)});_.$e(c,function(f){f.Ql().hp()&&(e[f.getId()]=new yQ(f))});R3c(d,Object.values(e))},K7c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});J7c(a,c)},G7c=[50],H7c=[12,11,10,67,68];
var L7c=function(a){this.ka=a;this.H=null;this.ha=new I7c(a,a.Ja);this.V=!1};
L7c.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.wa.bind(this);var b=this.ta.bind(this);M7c(this,"Querying all offline items.");this.H.H().xf(a,b);this.V||(this.H.V((0,_.K)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.he;b.Qk(!0);b=HVc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==BP(f)){var h=new _.gN;_.hN(h,f.getId());_.lN(h);d.push(h)}else h=new _.tm,_.tN(h,!1),_.x(h,2,!1),_.R(f,81,h),c.push(b[e])}R3c(a,c);a.ta(d)}};
L7c.prototype.wa=function(a){M7c(this,"Processing all offline item(s): "+a.length);J7c(this.ha,a);AQ(this.ka.ha,"GZTDpc")};L7c.prototype.ta=function(){M7c(this,"Error fetching offline items.")};L7c.prototype.ma=function(a){M7c(this,"Handling offline change(s): "+a.length);K7c(this.ha,a)};var M7c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var UR=function(a){_.O.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new L7c(a);this.context.Zg=b;this.Ma=new F7c(a,this);B6c(this.Ma);(b=_.C(a.H,_.GM,58))&&_.A(b,1,!1);this.Rd=new _.Xd(this);this.Pa(this.Rd);this.V=this.context.ha;this.ha=a.Tn;this.W=new C7c(a,this.ha);a=this.context;b=this.W;a.qj=b;a.Oe.resolve(b);this.wa=null;this.hb=this.Ba=!1;this.Qa=null;this.Xva()};_.I(UR,_.O);_.g=UR.prototype;_.g.Xva=function(){};
_.g.initialize=function(){var a=this;this.wa||(this.wa=_.Sh(),this.Qa=this.context.ta.W(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.yi()),this.iEa(),this.Rd.listen(this.context,_.cc,this.I0a),this.Rd.listen(this.context.Hc,["ta","ua"],function(b){return void a.dispatchEvent(b)}),this.Rd.listen(this.context.Rg,_.mc(Object.values(uUc)).concat(),function(b){return void a.dispatchEvent(b)}),this.V.start(),AQ(this.V,"NSockf"));return this.wa.promise};
_.g.EAa=function(){this.Qa&&this.Qa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.wa.resolve())};_.g.I0a=function(a){var b=a.error,c=b.qg;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.wa.reject(b)):this.dispatchEvent(a)};_.g.d2=function(){throw VR("teamDriveQuery");};_.g.Mba=function(){throw VR("teamDriveFindByIds");};_.g.isa=function(){throw VR("teamDriveMovePreflight");};_.g.Doa=function(){throw VR("peoplePredictQuery");};
_.g.query=function(a){UUc(this.context.ma,a,RQc(this.context.Ja));this.YN();var b=this.W.Tfa(_.Dj(a));this.hb||(a=a.ke(),a&&121==_.y(a,1)||(this.hb=!0,this.Rd.listen(b,_.bc,this.hEa)));return b};_.g.hEa=function(a){a=a.currentTarget;1==a.Fb()&&(this.Ma.W=this.V.H("W6J7De"),this.Rd.Pc(a,_.bc,this.hEa))};_.g.Pr=function(a){this.YN();SUc(a);return this.W.Qfa(_.Dj(a))};_.g.lea=function(){throw VR("activityQuery");};_.g.Xea=function(){throw VR("backupsQuery");};
_.g.rpa=function(){throw VR("refreshBackups");};_.g.pma=function(){throw VR("getAndroidBackupItems");};_.g.vga=function(){throw VR("deleteBackup");};_.g.Hoa=function(){throw VR("permissionQuery");};_.g.ska=function(){throw VR("insertPermission");};_.g.xga=function(){throw VR("deletePermission");};_.g.Xc=function(){throw VR("mutate");};_.g.iO=function(){throw VR("mutateWorkspace");};_.g.uA=function(){throw VR("bulkMutate");};_.g.Pfa=function(){throw VR("createFileUploader");};
_.g.mwa=function(a){return new TR(this.context.tm(),a)};_.g.gT=function(a){if(3==a.getType())return _.Pj(this.context.tm().then(function(b){return b.H(a)}).then(null,_.xN));throw VR("getApps with type "+a.getType());};_.g.qma=function(){throw VR("getApp");};_.g.uka=function(){throw VR("installApp");};_.g.uga=function(){throw VR("deleteApp");};_.g.R9=function(){throw VR("updateApp");};_.g.WR=function(){throw VR("getUserAccount");};_.g.LF=function(){throw VR("getUserPrefs");};
_.g.uma=function(){throw VR("mutateUserPref");};_.g.rma=function(){throw VR("getRevisions");};_.g.tma=function(){return!1};_.g.Qk=function(a){this.context.ka.Qk(a)};_.g.gA=function(){throw VR("setOfflineOptIn");};_.g.wma=function(){throw VR("setLocalItemService");};_.g.YN=function(){};_.g.fEa=function(){f6c(this.context);this.context.ta.H(106006)};_.g.PX=function(){return this.Ma};_.g.vma=function(){};_.g.Q9=function(){return this.context.Hc.H};_.g.oma=function(){return AZc(this.context.Hc)};
_.g.isConnected=function(){return 1==this.context.Ib.getState().get()};_.g.sync=function(){throw VR("sync");};_.g.o_=function(){return g6c(this.context)};_.g.Lna=function(){throw VR("offlineDataLoaded");};_.g.h0=function(a){return this.context.tm().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.rfa=function(){throw VR("categoryMetadataQuery");};_.g.tfa=function(){throw VR("changeCategoryLinks");};_.g.SU=function(){throw VR("updateCategoryMetadata");};
_.g.hpa=function(){throw VR("publishedCategoriesQuery");};_.g.uaa=function(){throw VR("publishedCategoryQuery");};_.g.rta=function(){throw VR("workspaceFindByIdsRequest");};_.g.wca=function(){throw VR("workspaceQueryRequest");};_.g.asa=function(){throw VR("suggestedWorkspaceItemQueryRequest");};_.g.Eba=function(){throw VR("suggestedWorkspaceQueryRequest");};_.g.nma=function(){throw VR("addCacheHint");};_.g.X4=function(){throw VR("createUserFeedback");};
_.g.sma=function(){throw VR("handleChanges");};var VR=function(a){return new _.pb(a+" is unsupported",_.uN(3))};
var nOc=function(a){UR.call(this,a);D_c(a,"");w6c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.I(nOc,UR);nOc.prototype.iEa=function(){zQ(this.V,["NSockf"],this.EAa.bind(this))};
var N7c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},O7c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},P7c=function(a){return new O7c(a.id,a.d,a.err||void 0)};
var WR=function(a,b,c){_.O.call(this);var d=this;this.Pn=a;this.Zc=b;this.Ba=new _.Hj;this.hb={};this.Wa=this.Ma=this.tc=null;c.then(function(e){d.tc=e.clientId;d.Ma=e.channel;d.Wa=e.H;EQ(d.Ma,d.Pn,(0,_.K)(d.p9a,d));EQ(d.Ma,d.Pn+"_update",(0,_.K)(d.Q4a,d));d.log("Service initialized.");d.Ba.callback()})};_.I(WR,_.O);_.g=WR.prototype;
_.g.p9a=function(a){a=P7c(a);var b=this.hb[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.ob(JSON.parse(a.error));else c=new _.ob,_.UM(c,2),_.VM(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.pb(void 0,c))}delete this.hb[a.id]}};_.g.Q4a=function(a){a=P7c(a);this.b8(a.id,a.data,a.error)};_.g.b8=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Hj;this.Ba.mb(function(){var h=e.Ma,k=new N7c(e.tc,a,b,d),l=_.Sh();e.hb[k.H]=l;l.promise.then(function(n){f.callback((c||_.Ie)(n))},function(n){n=n.qg;var q=_.y(n,21)||"";_.x(n,21,"Worker"+("An invalid response was received"==q?"["+a+"]: ":": ")+q);f.Bd(new _.pb(void 0,n))});FQ(h,e.Pn,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Wa&&this.Wa.info(this.Zc,a)};
var Q7c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var YR=function(a,b,c){WR.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.I(YR,WR);YR.prototype.Tfa=function(a){var b=this;a=new m7c(this.H.ma,this.H.Cc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);R7c(this,a);return a};YR.prototype.Wfa=function(a){var b=this;a=new x7c(this.H.ma,this.H.Cc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);R7c(this,a);return a};
var R7c=function(a,b){ZR(a,b);_.od(b,function(){$R(a,b);a.send("4.3",[b.di(),b.hd().Ac()])});a.send("4.1",[b.di(),b.hd().Ac()])};_.g=YR.prototype;_.g.Qfa=function(a){var b=this,c=new u7c(this.H.H,this.H.ma,this.H.W,this.H.ag,this.Ja.bind(this),a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.4",[c.di(),c.hd().Ac()])});this.send("4.2",[c.di(),c.hd().Ac()]);return c};
_.g.Zfa=function(a){var b=this,c=new B7c(a,this,this.H.H);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.11",[c.di(),c.hd().Ac()])});this.send("4.9",[c.di(),c.hd().Ac()]);return c};_.g.$fa=function(a){var b=this,c=new l7c(this.H,this,a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.12",[c.di(),c.hd().Ac()])});this.send("4.10",[c.di(),c.hd().Ac()]);return c};
_.g.aga=function(a){var b=this,c=new s7c(this.H,a,this);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.15",[c.di(),c.hd().Ac()])});this.send("4.13",[c.di(),c.hd().Ac()]);return c};_.g.bga=function(a){var b=this,c=new p7c(this.H,a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.16",[c.di(),c.hd().Ac()])});this.send("4.14",[c.di(),c.hd().Ac()]);return c};
_.g.Xfa=function(a){var b=this,c=new A7c(this.H,a,function(){b.send("4.21",[c.di()])});ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.23",[c.di(),c.hd().Ac()])});this.send("4.22",[c.di(),c.hd().Ac()]);return c};_.g.Mfa=function(a){var b=this,c=new j7c(this.H.ka,this.H.Rg,this.H.W,function(d,e){return b.W(d,e)},a);ZR(this,c);_.od(c,function(){$R(b,c);b.send("4.19",[c.di(),c.hd().Ac()])});this.send("4.18",[c.di(),c.hd().Ac()]);return c};
var ZR=function(a,b){a.V.create(b.di(),b.hd());a.ha[b.di()]=b},$R=function(a,b){yR(a.V,b.di(),4);delete a.ha[b.di()]};YR.prototype.Ja=function(a,b,c){if(b instanceof _.Xn&&c instanceof _.Xn)this.send("4.5",[a,b.Ac(),c.Ac()]);else if(b instanceof _.eo&&c instanceof _.eo)this.send("4.6",[a,b.Ac(),c.Ac()]);else throw Error("Cg");};
YR.prototype.W=function(a,b){if(!this.ha[a])throw Error("zg`"+a);var c=this.ha[a];if(c.hd()instanceof _.he)var d="4.7";else if(c.hd()instanceof _.SO)d="4.8";else if(c.hd()instanceof _.jG)d="4.20";else if(c.hd()instanceof _.go)d="4.17";else throw Error("Dg");c.hd().Ki(b);this.send(d,[a,b])};
YR.prototype.b8=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.ob(JSON.parse(c)),c=new KQ(c,c.RW()),a.mG(c),yR(this.V,a.di(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.oJ();return}c=a.hd();if(c instanceof _.he||c instanceof _.SO)f=JSON.parse(f),c instanceof _.he&&_.VN(c)?d=new _.rP(f):d=new _.YB(f);else if(c instanceof _.Xn||c instanceof _.eo)d=new _.qP,eSc(d,function(h){return new _.vm(JSON.parse(h))},f);else if(c instanceof _.jG)d=new _.uP(new $P(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.go)d=new _.xP(new PQ(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.nO&&c instanceof _.nO)d=new _.sP(JSON.parse(f));else if(c instanceof _.co)d=new dQ(JSON.parse(f));else throw Error("Eg");}d&&("boolean"===typeof b[e]&&s2c(this.V,a.di(),!!b[e]),u2c(this.V,a.di(),d),a.update(d))}};
var S7c=function(a,b){WR.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.I(S7c,WR);_.g=S7c.prototype;_.g.Za=function(){return _.C(this.H.H,_.GM,58)};_.g.getContext=function(){return this.H};_.g.jEa=function(){return this.send("5.4",[this.V],function(a){return new EQc(JSON.parse(a[0]))})};_.g.S9=function(){return this.H.W};_.g.jM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.vm(b)})};
_.g.xma=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.yDc(a[c]));return b})};_.g.Xba=function(a,b,c){return this.send("5.8",[a.Ac(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.vm(e[k]));return{items:h,Gwa:f,pageToken:d}})};_.g.xLa=function(){this.send("5.9",[])};_.g.Mva=function(){this.send("5.1",[])};_.g.CX=function(){return _.cFc[_.D(this.H.H.hf(),8,0)]};
_.g.wra=function(){this.send("5.6",[])};_.g.T9=function(){return this.send("5.7",[],function(a){if(0==a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new LQ(a[e]));return{traceId:new N5c(b,c),spanRecs:d}})};_.g.kEa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new N5c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.FKa=function(){this.send("5.11",[])};
_.g.Qk=function(a){this.send("5.13",[a])};
var T7c=function(a,b){WR.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.hc=b;this.Kd=String(_.xa(this));this.H=null};_.I(T7c,WR);T7c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.hc.Ac()],function(b){return new c7c(JSON.parse(b[0]))},this.Kd).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};T7c.prototype.cancel=function(){this.send("9.2",[this.hc.Ac()],void 0,this.Kd)};
T7c.prototype.b8=function(a,b){this.dispatchEvent(new g7c(b[0],b[1]))};
var U7c=function(a){WR.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.I(U7c,WR);U7c.prototype.W=function(a){if(this.H=a){a=this.ha.bind(this);var b=this.V.bind(this);this.log("Querying all offline items.");this.H.H().xf(a,b);this.H.V((0,_.K)(this.ka,this))}else this.send("6.3",[])};U7c.prototype.ha=function(a){var b=[];_.Ga(a,function(c){b.push(c.Ac())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};U7c.prototype.V=function(){this.log("Error fetching offline items.")};
U7c.prototype.ka=function(a){var b=[];_.Ga(a,function(c){b.push(c.Ac())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var V7c=function(a,b){BR.call(this,a,b)};_.I(V7c,BR);V7c.prototype.V4=function(a,b,c){return new _.aHc(a,c)};V7c.prototype.j7=function(a){return a.pageToken||""};V7c.prototype.E6=function(a){return a.response.V()};V7c.prototype.r_=function(){};
var W7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||void 0);this.hc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new V7c(this.hc,this.ma)};_.I(W7c,QR);_.g=W7c.prototype;_.g.$A=function(){CR(this.ka).then(this.l9a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return rWc(new QQ,this.W).Dc(this.status)};_.g.Kp=function(){return new N6c};_.g.ij=function(){return!this.Ef()&&(!this.H||h4c(this.ka))};_.g.l9a=function(a){this.V=this.H=!0;this.W=a;this.kq()};
_.g.kq=function(){if(this.active){var a=this.status;this.nG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};_.g.$b=function(){return this.W.length};
var X7c=function(a,b,c){QR.call(this,a.ka,a.Rg,b.lh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.rN;this.ma=null};_.I(X7c,QR);_.g=X7c.prototype;_.g.$A=function(){var a=this;this.wa(this.hc).then(function(b){a.H=!0;a.W=!0;a.V=b.ej();if(b=b.getSessionId())a.ma=b;a.kq()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.XFc((new _.jN).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Kp=function(){var a=_.oN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new P6c).Dc(this.status);return _.yj(b,2,a)};_.g.rH=function(){};_.g.kq=function(){var a=this.status;this.nG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Qg(_.bc,this))};_.g.$b=function(){return this.V.length};
var Y7c=function(){};_.g=Y7c.prototype;_.g.dF=function(a,b){b=V6c(1).setPosition(b);_.R(b,2,a);return b};_.g.bF=function(a,b){b=V6c(2).setPosition(b);_.R(b,2,a);return b};_.g.LJ=function(a,b,c){b=V6c(3).ou(b).setPosition(c);_.R(b,2,a);return b};_.g.bI=function(a,b){b=V6c(4).setPosition(b);_.R(b,2,a);return b};_.g.AF=function(a){return _.C(a,_.uQ,2)};
var $7c=function(){_.nN.call(this,new Y7c,function(a){return Z7c(a)})};_.I($7c,_.nN);var Z7c=function(a){switch(_.kj(a,gUc[0])){case 6:return _.Ox(_.C(a,_.Nx,6)).getTime().toString();case 7:var b=_.C(a,_.tQ,7);a=_.C(b,_.Nx,1);b=b.pq();return a&&b?(a=_.Ox(a).getTime(),_.Ox(b).getTime()+"--"+a):"";default:return""}};_.Je($7c);
var aS=function(a,b,c,d){QR.call(this,b.ka,b.Rg,d);this.hc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ba=new _.TLc(_.D(b.H.hf(),6,1E3));this.ka=!1;this.Ga=c};_.I(aS,QR);_.g=aS.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.hc.Aza()?a8c(this):this.Ja()};_.g.Aq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;QR.prototype.Aq.call(this,a)};
_.g.getData=function(){var a=(new Z6c).Dc(this.status);_.yj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Kp=function(){var a=_.oN($7c.Eb(),this.wa,this.V),b=new X6c;a=_.yj(b,2,a).Dc(this.status);this.wa=_.ra(this.V);return a};_.g.ij=function(){return!this.Ef()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.hd=function(){return this.hc};_.g.mEa=function(a){this.dispatchEvent(new _.qb(a));this.W=!1};
_.g.Z2a=function(a,b){this.H=!0;var c=_.vj(b,_.uQ,1);this.V=this.V.concat(c);this.ma=b.EF()||"";0<c.length&&(this.ka=!0);this.kq();a8c(this,a)};_.g.n3a=function(a){$7c.Eb();this.H=!0;var b=_.vj(a,_.uQ,1);PP(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.EF()||"",this.ka=!0,this.kq(),a8c(this)):(this.W=!1,b8c(this))};var a8c=function(a,b){a.active?(a.W=!0,a.ij()&&a.V.length<a.limit?a.Ga(a.hc,a.limit-a.V.length,a.ma).xf(_.Ke(a.Z2a,b),a.mEa,a):(a.W=!1,b&&b.callback(),b8c(a))):a.W=!1};
aS.prototype.Ja=function(){this.active&&(this.W=!0,this.Ga(this.hc,this.limit).xf(this.n3a,this.mEa,this))};aS.prototype.kq=function(){if(this.active){var a=this.status;this.nG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};aS.prototype.nG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};aS.prototype.rH=function(){this.active&&this.ij()&&!this.W&&a8c(this,new _.Hj)};
var b8c=function(a){a.hc.Aza()||(_.DH(a.Ba),_.m.setTimeout((0,_.K)(a.Ja,a),a.Ba.tb()))};aS.prototype.$b=function(){return this.V.length};
var c8c=function(){};_.g=c8c.prototype;_.g.dF=function(a,b){return a7c($6c(1),a).setPosition(b)};_.g.bF=function(a,b){return a7c($6c(2).setPosition(b),a)};_.g.LJ=function(a,b,c){return a7c($6c(3).ou(b).setPosition(c),a)};_.g.bI=function(a,b){return a7c($6c(4),a).setPosition(b)};_.g.AF=function(a){return a.Tu()};
var d8c=function(){_.nN.call(this,new c8c,function(a){return a.getId()})};_.I(d8c,_.nN);_.Je(d8c);
var e8c=function(a,b,c){QR.call(this,b.ka,b.Rg);this.hc=a;this.ma=[];this.V=[];this.W=new _.TLc(_.D(b.H.hf(),54,1E3));this.ka=!1;this.wa=c};_.I(e8c,QR);_.g=e8c.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.poll()};_.g.getData=function(){var a=new UQ;a=_.yj(a,2,this.V).Dc(this.status);this.ma=_.ra(this.V);return a};_.g.Kp=function(){var a=_.oN(d8c.Eb(),this.ma,this.V),b=new e7c;a=_.yj(b,2,a).Dc(this.status);this.ma=_.ra(this.V);return a};
_.g.ij=function(){return!this.Ef()&&!this.H};_.g.poll=function(){var a=new _.Hj;this.wa(this.hc).xf(_.Ke(this.n9a,a),_.Ke(this.m9a,a),this);return a};_.g.m9a=function(a,b){this.dispatchEvent(new _.qb(b));a.Bd(b);f8c(this)};_.g.n9a=function(a,b){this.H=!0;b=_.vj(b,_.JQ,2);PP(d8c.Eb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.kq();a.callback();f8c(this)};_.g.kq=function(){if(this.active){var a=this.status;this.nG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};
_.g.rH=function(){};var f8c=function(a){a.active&&(_.m.setTimeout((0,_.K)(a.poll,a),a.W.tb()),_.DH(a.W))};e8c.prototype.$b=function(){return this.V.length};
var g8c=function(){};_.g=g8c.prototype;_.g.dF=function(a,b){return I6c(H6c(1),a).setPosition(b)};_.g.bF=function(a,b){return I6c(H6c(2).setPosition(b),a)};_.g.LJ=function(a,b,c){return I6c(H6c(3).ou(b).setPosition(c),a)};_.g.bI=function(a,b){return I6c(H6c(4),a).setPosition(b)};_.g.AF=function(a){return a.qY()};
var h8c=function(){_.nN.call(this,new g8c,function(a){return a.getId()})};_.I(h8c,_.nN);_.Je(h8c);
var bS=function(a,b,c){_.O.call(this);this.ma=a;this.hc=b;this.H="";this.V=this.W=!1;this.ha=0;this.kt=[];this.ta=c};_.I(bS,_.O);bS.prototype.Ki=function(a){this.ha=a};var j8c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():i8c(a)};bS.prototype.l7=function(){return this.kt};var i8c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.kt.length,100);var c=new _.$N;c=_.R(c,3,a.hc);c=_.x(c,2,a.H);b=_.x(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.wa.bind(a))};
bS.prototype.ka=function(a){this.V=!1;this.H=a.Jm()||"";a=a.gr().WI();this.kt=_.qa(this.kt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.kt.length<this.ha)return i8c(this);this.dispatchEvent("Hb")};bS.prototype.wa=function(a){this.V=!1;a=new KQ(_.WM(a),_.D(this.ma.H.hf(),1,1));this.dispatchEvent(a)};
var cS=function(a,b,c,d){QR.call(this,b.ka,b.Rg,d||100);var e=this;this.wa=b;this.hc=a;this.ma=[];this.kt=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new bS(b,this.hc,this.Ba);_.od(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.I(cS,QR);_.g=cS.prototype;_.g.activate=function(){QR.prototype.activate.call(this);this.kq()};_.g.$A=function(){this.nEa()};_.g.Aq=function(a){QR.prototype.Aq.call(this,a||100)};
_.g.getData=function(){var a=new HQc;a=_.yj(a,2,this.kt.slice(0,this.limit)).Dc(this.status);this.ma=_.ra(this.kt);return a};_.g.Kp=function(){var a=_.oN(h8c.Eb(),this.ma,this.kt),b=new M6c;a=_.yj(b,2,a).Dc(this.status);this.ma=_.ra(this.kt);return a};_.g.ij=function(){var a;(a=!this.Ef())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.hd=function(){return this.hc};
_.g.nEa=function(){var a=this;this.V=new bS(this.wa,this.hc,this.Ba);this.V.Ki(this.limit);return j8c(this.V).then(function(){return k8c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){QR.prototype.handleError.call(this,a);l8c(this)};var k8c=function(a){a.H=!0;var b=a.V.l7();PP(h8c.Eb(),a.kt,b)&&(a.ka=!0,a.kt=b);a.kq();l8c(a)};cS.prototype.kq=function(){if(this.active){var a=this.status;this.nG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Qg(_.bc,this))}};
cS.prototype.rH=function(){var a=this;this.V.Ki(this.limit);j8c(this.V).then(function(){return k8c(a)},function(b){return a.handleError(b)})};var l8c=function(a){if(a.active){var b=a.wa.H.hf();a.W=_.m.setTimeout((0,_.K)(a.nEa,a),Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,15,36E5))}};cS.prototype.$b=function(){return this.kt.length};var m8c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.Qg(_.bc,a))},0)};
var n8c=function(a,b){WR.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.hc=b;this.Kd=String(_.xa(this));this.H=null};_.I(n8c,WR);n8c.prototype.ha=function(){var a=this;this.H||(this.H=_.Sh(),this.send("10.1",[this.hc.Ac()],function(b){a.H.resolve(b[0])},this.Kd).Ae(function(b){a.H.reject(b)}));return this.H.promise};n8c.prototype.cancel=function(){this.send("10.2",[this.hc.Ac()],void 0,this.Kd)};
var o8c=function(a,b,c,d,e,f,h,k){_.yP.call(this,a,b,c,d,f,h,k);this.V=e;this.je=null};_.I(o8c,_.yP);o8c.prototype.Ema=function(a,b){var c=this;return _.Pj(this.V.then(function(d){return d.V(SMc(c.W,c.Wa,a,b,c.H,c.wa))},null))};o8c.prototype.Ja=function(a,b){var c=this.hd(a);if(c){var d=0;if(c.file){var e=c.request&&_.C(c.request,_.nIc,15);e&&(d=_.y(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.EMc(a,b,d))}};
var p8c=function(a,b){WR.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Kd=String(_.xa(this));this.H={};this.V={};_.od(this,(0,_.K)(this.NTa,this))};_.I(p8c,WR);_.g=p8c.prototype;_.g.CQ=function(){return _.lg()};
_.g.upload=function(a,b){!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.nIc;_.x(d,1,b.size);_.R(a,15,d);d=_.lg();this.V[_.RO(a)]=b}return this.send("7.1",[this.Kd,a.Ac(),c],function(e){return new _.vO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Kd,a])};_.g.Cx=function(){this.send("7.3",[this.Kd])};
_.g.Fma=function(a){var b={};_.Ga(a,function(d){b[d]=new _.Hj});var c=this.CQ();this.H[c]=b;this.send("7.4",[this.Kd,c,a]);return _.oc(b)};_.g.Ema=function(a,b){var c=this;return this.send("7.5",[this.Kd,a,b],function(d){return oSc(d[0])}).mb(function(d){return _.Pj(c.W.then(function(e){return e.V(d)}))})};_.g.NTa=function(){this.send("7.6",[this.Kd])};
_.g.b8=function(a,b){if(b)switch(_.ng(a)){case 3:a=b[0];var c=b[1];b=b[2];b=Math.min(b,1073741824);var d=this.V[a];this.send("7.7",[a,_.TIc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.vO(JSON.parse(b[2]));q8c(this,b[0],b[1],a);break;case 1:a=new _.pb(void 0,new _.ob(JSON.parse(b[2])));q8c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.EMc(b[0],b[1],b[2]));break;default:throw Error("Fg");}};
var q8c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.vO?e.callback(d):e.Bd(d);delete a.H[b][c];_.gf(a.H[b])&&delete a.H[b]}};
var r8c=function(a,b){if(0==a.length)throw new _.pb("mutateUserPref requires a namespace.",_.uN(3));if("undefined"!=typeof _.uD&&b instanceof _.uD)var c=(b=(b=b.V())&&b.getKey())&&_.ao(b)||null;else"undefined"!=typeof _.tD&&b instanceof _.tD&&(c=(b=b.getKey())&&_.ao(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.pb("mutateUserPref unsupported for namespace: "+c,_.uN(3));};
var IP=function(a,b){var c=_.Sh();WR.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;j6c(this.H,new U7c(c.promise));this.Ga=b;TQc(this.Ga,_.y(this.H.H,28));this.Cc=wNc(_.iP(this.Ga));this.V=a.Tn;this.W=new YR(c.promise,a,this.V);this.Qa=new S7c(c.promise,a);B6c(this.Qa);this.Ib=!1;this.Ja=_.Oh(this.Ba);this.ta=this.Vb=!1;this.Ka=new _.Xd(this);this.Pa(this.Ka);this.Db=!1;this.lc=_.Sh();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Rg,_.mc(Object.values(uUc)).concat(),
function(e){return void d.dispatchEvent(e)})};_.I(IP,WR);IP.prototype.initialize=function(){var a=this,b=_.C(this.H.H,tOc,66);if(this.Ib)return this.Ja;if(!b||!_.y(b,1))return b=new _.pb("Dataservice URL not provided."),this.Ba.Bd(b),this.Ja;var c=this.H.ta.W(106E3);this.Ib=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.yi());s8c(this,b);this.Ja.then(function(){c.V();a.sHa()});return this.Ja};
var s8c=function(a,b){var c=t8c(a),d=!0,e=_.y(b,5)||"";if(_.ZFc(window.location.href,c.toString())&&e){d=!1;c=uNc(e,u8c(a),a.Cc,_.y(b,6));var f=new gVc(c,!1)}else b=v8c(c.toString()),c=_.mDc(c.W,void 0,c.H,c.ha),f=new gVc(eVc(window.frames[b],c.toString()),!1);w8c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();h6c(a.H,function(){return x8c(f)})},x8c=function(a){return _.Tia([new _.Nh(function(b){a.isDisposed()||FQ(a,"8.1",void 0,function(){a.dispose();b()})}),
_.$h(1E4)])},t8c=function(a){var b=new _.yi(_.y(_.C(a.H.H,tOc,66),1));var c=new _.yi(window.location);var d=c.W+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Qi(d,3);_.Ii(b,"co",c);c=b.we();!_.GO(a.H.H)&&0<_.YM(a.H.H.Se())&&(a=_.YM(a.H.H.Se()),c+="u/"+a+"/");_.Ci(b,c+"_/dataservice/cacheproxy");return b},v8c=function(a){var b="cpiframe_"+_.lg();a=_.oh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Gfa(_.YFc(_.xf("display: none;")));document.body.appendChild(a);return b},w8c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.K)(a.Hc,a));else{var d=function(){var e=new _.ubb(document),f={};f.__SAPISID=e.get("SAPISID")||e.get("__Secure-3PAPISID");f.__APISID=e.get("APISID")||e.get("__Secure-APISID");return{ac:f,bl:a.H.H.yi(),ufds:a.Cc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}FQ(b,"8.4",{dsc:a.H.H.Ac()});y8c(b);z8c(a,b);EQ(b,"2.1",function(){return{dsc:a.H.H.Ac()}});EQ(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new Q7c(e.id,b,a.H.W,e.clients)),e.dsp&&y8c(b),e.ivd&&z8c(a,b)):(e=
new _.ob(JSON.parse(e.err)),a.Ba.Bd(new _.pb("Unable to initialize dataservice.",e)))});EQ(b,"2.15",function(e){a.dispatchEvent(new f7c(e.dt))});EQ(b,"2.5",function(e){D_c(a.H,e.id)});EQ(b,"2.6",function(e){a.H.ka.Qk(e.os)});EQ(b,"2.18",function(e){a.H.ka.gA(e.oois)});EQ(b,"2.7",function(){a.ta=!1});EQ(b,"2.8",function(e){a.H.Eu=e.au;a.dispatchEvent(new nRc(e.au?"ta":"ua"))});EQ(b,"2.19",function(e){a.H.Rg.update(e.cs)});EQ(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Ax("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.WO(a.H.W,f,e,"fine");break;case "finer":_.WO(a.H.W,f,e,"finer");break;case "finest":_.WO(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":MQc(a.H.W,f,e);break;default:MQc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),MQc(a.H.W,f,e)}});EQ(b,"2.10",function(e){a.dispatchEvent(new _.qb(new _.pb(void 0,new _.ob(JSON.parse(e.p)))))});EQ(b,"2.12",function(){a.rb=!0;dS(a)});
EQ(b,"2.14",function(){return a.lc.resolve()});EQ(b,"2.16",function(){return a.Vb=!0});EQ(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},y8c=function(a){_.m._DRIVE_dsp&&FQ(a,"8.3",{dsp:A8c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];FQ(a,"8.3",{dsp:A8c(c)})}}},z8c=function(a,b){_.A(a.H.H,24,!1)&&(_.m._DRIVE_ivd?FQ(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&FQ(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};IP.prototype.Hc=function(){return{uid:u8c(this),fds:_.iP(this.Ga)}};var u8c=function(a){a=_.Dj(a.H.H);a=_.x(a,28,[]);a=_.Gma(a,[]);var b=new _.DM;b.update(_.EO(a.Se()));b.update(String(_.YM(a.Se())));b.update(a.Ac());return _.rDc(b.digest())},A8c=function(a){var b=[],c=[,!0,!0,!0,!0,,!0,!0];a.forEach(function(d,e){d&&c[e]&&(b[e]=d)});return 0<b.length?b:null};_.g=IP.prototype;
_.g.query=function(a){dS(this);UUc(this.H.ma,a,RQc(this.Ga));this.YN();var b=this.W.Tfa(a);this.Db||(a=a.ke(),a&&121==_.y(a,1)||(this.Db=!0,this.Ka.listen(b,_.bc,this.lEa)));return b};_.g.lEa=function(a){a=a.currentTarget;1==a.Fb()&&(this.Qa.V=this.Vb,this.Ka.Pc(a,_.bc,this.lEa))};_.g.Pr=function(a){dS(this);SUc(a);this.YN();return this.W.Qfa(a)};
_.g.lea=function(a,b){var c=this;dS(this);if(this.ma&&_.Cj(this.ma.hd(),a))return this.ma;var d=(0,_.K)(IP.prototype.lYa,this);this.ma=new aS(_.Dj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.lYa=function(a,b,c){return this.send("3.17",[a.Ac(),b,c],function(d){return new tUc(JSON.parse(d[0]))})};
_.g.Hoa=function(a,b){var c=this;dS(this);if(this.ka&&_.Cj(this.ka.hd(),a))return m8c(this.ka),this.ka;var d=(0,_.K)(IP.prototype.nYa,this);this.ka=new cS(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.nYa=function(a){return this.send("3.18",[a.Ac()],function(b){return new eWc(JSON.parse(b[0]))})};_.g.ska=function(a){dS(this);return this.send("3.14",[a.Ac()],function(b){return new OQ(JSON.parse(b[0]))})};_.g.xga=function(a){dS(this);return this.send("3.15",[a.Ac()],function(b){return new OQ(JSON.parse(b[0]))})};
_.g.Xc=function(a){dS(this);!this.ta&&_.xO(a)&&(this.ta=!0);a=yNc(a);return this.send("3.3",[a.Ac()],function(b){if(!_.Bc(b))return new _.vO(JSON.parse(b[0]))})};_.g.iO=function(a){dS(this);a=HNc(a);return this.send("3.35",[a.Ac()],function(b){return new oRc(JSON.parse(b[0]))}).then()};
_.g.uA=function(a){dS(this);for(var b=0;b<a.length;b++)!this.ta&&_.xO(a[b])&&(this.ta=!0);a=BNc(a);return this.send("3.4",[a.Ac()],function(c){var d={};c=JSON.parse(c[0]);_.$e(c[0],function(e,f){d[f]=new _.vO(JSON.parse(e))});_.$e(c[1],function(e,f){e=new _.ob(JSON.parse(e));d[f]=_.vN(e)});return d})};_.g.Pfa=function(){dS(this);return new p8c(this.wa.promise,this.H.Cc)};_.g.mwa=function(a){dS(this);return new T7c(this.wa.promise,a)};
_.g.gT=function(a,b){var c=this;dS(this);var d=_.kg();this.V.create(d,a);return this.send("3.5",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new MQ(JSON.parse(e[0]));return new _.tP(f,e[1],e[2])}).mb(function(e){v2c(c.V,d,e);return e.response}).Ae(function(e){yR(c.V,d);return e})};_.g.qma=function(a){dS(this);return this.send("3.10",[a.Ac()],function(b){return new bWc(JSON.parse(b[0]))})};_.g.uka=function(a){dS(this);return this.send("3.11",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};
_.g.uga=function(a){dS(this);return this.send("3.12",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};_.g.R9=function(a){dS(this);return this.send("3.13",[a.Ac()],function(b){return new NQ(JSON.parse(b[0]))})};_.g.WR=function(a,b){var c=this;dS(this);var d=_.kg();this.V.create(d,a);return this.send("3.1",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new _.SQ(JSON.parse(e[0]));return new _.wP(f,e[1],e[2])}).mb(function(e){v2c(c.V,d,e);return e.response}).Ae(function(e){yR(c.V,d);return e})};
_.g.LF=function(a,b){var c=this,d=_.lj(this.H.H.hf(),30);if(!d||0==d.length)return _.Qj(new _.pb("getUserPrefs requires a namespace.",_.uN(3)));dS(this);var e=_.kg();this.V.create(e,a);return this.send("3.2",[a.Ac(),d,!!b],function(f){f=JSON.parse(f);var h=new _.bo(JSON.parse(f[0]));return new _.vP(h,f[1],f[2])}).mb(function(f){v2c(c.V,e,f);return f.response}).Ae(function(f){yR(c.V,e);return f})};_.g.uma=function(a){dS(this);r8c(_.lj(this.H.H.hf(),30),a);a=ENc(a);return this.send("3.6",[a.Ac()],function(b){return new fWc(JSON.parse(b[0]))})};
_.g.rma=function(a){dS(this);return this.send("3.16",[a.Ac()],function(b){return new JQc(JSON.parse(b[0]))})};_.g.tma=function(){return this.ta};_.g.Qk=function(a){dS(this);this.send("3.8",[a])};_.g.gA=function(a){dS(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.wma=function(a){dS(this);i6c(this.H).W(a);this.gA(!!a)};_.g.YN=function(){dS(this);this.send("3.9",[])};
_.g.fEa=function(){dS(this);this.send("3.41",[]);f6c(this.H);var a=ZQc(this.H.ta,106006);a&&this.wa.promise.then(function(b){var c=_.C(_.oP(a),yQc,6);if(!c){c=new yQc;var d=_.oP(a);_.R(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.Q9=function(){dS(this);return this.H.pEa()};_.g.oma=function(){dS(this);return B8c(this.send("3.19",[],function(a){return new xWc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Rg.isConnected()};_.g.PX=function(){return this.Qa};
_.g.sync=function(){dS(this);return this.send("3.28",[]).then()};_.g.o_=function(){return g6c(this.H)};_.g.vma=function(){};_.g.Mba=function(a){dS(this);if(!_.HO(this.H.H))throw new _.pb("function is unsupported",_.uN(3));return this.W.$fa(a)};_.g.d2=function(a){dS(this);if(!_.HO(this.H.H))throw new _.pb("function is unsupported",_.uN(3));return this.W.Zfa(a)};_.g.Doa=function(a){dS(this);WUc(this.H.ma,a,RQc(this.Ga));return this.W.Wfa(a)};
_.g.isa=function(a){dS(this);return new n8c(this.wa.promise,a)};_.g.Xea=function(a){dS(this);if(!this.ha||this.ha.isDisposed()){var b=IP.prototype.mYa.bind(this);this.ha=new e8c(a,this.H,b)}return this.ha};_.g.mYa=function(a){return this.send("3.20",[a.Ac()],function(b){return new UQ(JSON.parse(b[0]))})};_.g.rpa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Oh()};_.g.pma=function(a){dS(this);return this.send("3.25",[a.Ac()],function(b){return new DWc(JSON.parse(b[0]))})};
_.g.vga=function(a){dS(this);return this.send("3.22",[a.Ac()],function(){return new FWc})};_.g.Lna=function(){return this.lc.promise};_.g.h0=function(a){var b=_.Sh();this.send("3.30",[a.Ac()],function(c){c[0]?b.resolve(new HWc(JSON.parse(c[0]))):b.reject(new _.ob(JSON.parse(c[1])))}).Ae(function(c){return b.reject(c)});return b.promise};_.g.rfa=function(a){dS(this);return this.W.Mfa(a)};_.g.tfa=function(a){dS(this);return this.send("3.42",[a.Ac()],function(b){return new aQ(JSON.parse(b[0]))}).then()};
_.g.SU=function(a){dS(this);return this.send("3.39",[a.Ac()],function(b){return new vWc(JSON.parse(b[0]))}).then()};_.g.hpa=function(a){var b=this;dS(this);return new W7c(this.H,a,function(c){return b.send("3.37",[c.request.Ac(),c.pageToken],function(d){d=JSON.parse(d);return new DUc(new QQ(JSON.parse(d[0])),d[1])}).then()})};_.g.uaa=function(a){dS(this);return this.send("3.38",[a.Ac()],function(b){return new RQ(JSON.parse(b[0]))}).then()};_.g.rta=function(a){dS(this);return this.W.bga(a)};
_.g.wca=function(a){dS(this);return this.W.aga(a)};_.g.asa=function(a){var b=this;dS(this);return new X7c(this.H,a,function(){return b.send("3.40",[a.Ac()],function(c){return new _.jN(JSON.parse(c[0]))}).then()})};_.g.Eba=function(a){dS(this);return this.W.Xfa(a)};_.g.nma=function(a){dS(this);this.send("3.43",[a.Ac()])};_.g.X4=function(a){dS(this);return this.send("3.44",[a.Ac()],function(){return new iRc}).then()};
_.g.sma=function(a){dS(this);if(1!=_.FO(this.H.H))return Promise.reject(Error("Gg"));for(var b=_.p(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Gc())return Promise.reject(Error("Hg"));if(!c.rz()&&!c.getItem())return Promise.reject(Error("Ig"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Ac()})]))};_.g.sHa=function(){var a=this,b=[_.$h(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Tia(b).then(function(c){c?_.Wh(a.sHa.bind(a),6E4):(a.rb=!0,dS(a))})};
var dS=function(a){a.rb&&a.dispatchEvent(new E7c)},mOc=function(a){if(_.A(a,61,!1)&&_.m.SharedWorker)if(_.C(a,tOc,66)){if(_.KM(a.Se())||_.GO(a)&&!_.A(a,52,!1))return!1}else return!1;else return!1;return!0},B8c=function(a){var b=_.Sh();a.xf(b.resolve,b.reject,b);return b.promise};
var eS=function(){_.O.call(this);this.ha=new _.fm;this.wa=this.$d=this.Ka=!1};_.I(eS,_.O);eS.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};eS.prototype.ma=function(){};eS.prototype.setActive=function(a){this.$d=a;C8c(this)};var C8c=function(a){if(a.$d&&!a.wa){var b=_.gm(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.gm(a.ha))}else a.wa=!0,_.Th(a.Qa(b),function(){a.wa=!1;C8c(a)})}};eS.prototype.Ba=function(){};eS.prototype.Qa=function(){};eS.prototype.Ma=function(){return!0};
eS.prototype.enqueue=function(a){try{var b=new _.Hj;this.ha.enqueue(new D8c(a,b));C8c(this);return b}catch(c){return _.Qj(_.vN(c))}};var D8c=function(a,b){this.V=a;this.H=b};D8c.prototype.getCommand=function(){return this.V};
var F8c=function(a){eS.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.$M(this.H.H)&&(this.W=new _.Xd(this),this.Pa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;zQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.hf();a.Vb&&1!=_.D(e,17,1)&&(d.push("iuEtc"),zQ(c,["mrK8ic"],function(){AQ(c,"iuEtc")}));zQ(c,d,function(){return E8c(b)})};_.I(F8c,eS);F8c.prototype.ma=function(){G8c(this)};
var E8c=function(a){if(1==pZc(a.H.tc).Fb())return Promise.resolve();var b=new _.pe;_.se(b,!0);_.qe(b,301);var c=new _.mO;_.LQc(c,b);return H8c(a,c).then(null,function(d){d=_.WM(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},H8c=function(a,b,c){return a.H.tm().then(function(d){return d.H(b,c)}).then(function(d){var e=_.TQ(d),f=e.getUser();if(f&&0==_.F(f,7))d=_.YM(a.H.H.Se()),d=Error("Jg`"+d+"`"+_.iG(f)),_.Sj(d),$Qc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.tc;var h=0==f.Ne()?1:6;
_.$M(a.H.H)&&R2c(a.V,e);h=rZc(f,e,h);(e=e.getMetadata())&&D_c(a.H,_.y(e,2),1);(d=_.y(d,4))&&E_c(a.H,d,!0);h&&a.dispatchEvent(new _.Qg("WPi0i"));d=Promise.resolve(new _.wP(pZc(f),f.Ne(),!1))}return d}).then(function(d){return d},function(d){d=_.WM(d);_.x(d,5,1);return Promise.reject(new _.pb("Error fetching account from server.",d))})};
F8c.prototype.Ba=function(a){var b=a.getCommand();if(b.RYa){var c={};b.wO&&(c.X$=b.wO);H8c(this,b.hc,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Bd(e)})}else if(b=this.H.tc,c=pZc(b),_.$M(this.H.H)){c=_.TQ(c);var d=c.getUser();d=qZc(this.V,_.iG(d));R2c(this.V,c);rZc(b,c,b.Ne())&&this.dispatchEvent(new _.Qg("WPi0i"));a.H.callback(new _.wP(pZc(b),b.Ne(),d))}else c.Fb(),b=new _.wP(c,b.Ne(),!0),a.H.callback(b)};
var G8c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.mO,d=new _.pe;_.qe(d,306);_.LQc(c,d);H8c(a,c).then(function(){return G8c(a)},function(){return G8c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,3,72E5))};F8c.prototype.ka=function(a){var b=this.H.tc,c=_.TQ(pZc(b));c&&a.getPeople().find(function(d){return _.y(d,1)==_.iG(c.getUser())})&&(R2c(this.V,c),rZc(b,c,b.Ne())&&this.dispatchEvent(new _.Qg("WPi0i")))};var I8c=function(a,b){this.hc=a;this.RYa=!!b;this.wO=null};
var K8c=function(a){eS.call(this);this.H=a;this.Rd=new _.Xd(this);this.Pa(this.Rd);this.Rd.listen(this.H.Zc,"Kb",_.Ke(this.dispatchEvent,new _.Qg("Kb",this)));this.Ja=this.ka=!1;this.W=null;this.V=1;this.Ga=0;this.ta=null;J8c(this)};_.I(K8c,eS);
var J8c=function(a){var b=a.H.ha;zQ(b,["nVUlO"],function(){a.Ja=!0;a.setActive(!0)});if(!_.GO(a.H.H)){var c=_.D(a.H.H.hf(),18,1);zQ(b,["NSockf"],function(){1==c?L8c(a):a.setActive(!0)});2==c&&zQ(b,["mrK8ic"],function(){a.ka||L8c(a)})}},L8c=function(a){var b=new _.pe;_.se(b,!0);_.qe(b,301);var c=new _.YN;_.FQc(c,b);_.x(c,1,1);M8c(a,c).Vf(function(){return null})},M8c=function(a,b,c){_.m.clearTimeout(a.Ga);a.Ga=0;var d=_.Sh();a.W=d.promise;_.Th(a.W,function(){a.W=null;N8c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.YN;_.x(h,1,a.V);_.FQc(h,b.ke());a.H.tm().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.Zc;l.zma(k,l.hy()?6:1);d.resolve()},function(k){a.V=e;k=_.wN(k);var l=k.qg;_.x(l,5,2);f?(_.UM(l,1),k.message="Initial app settings refresh failed.",_.x(k.qg,21,"Initial app settings refresh failed."),a.H.rb(l),a.setActive(!0)):(_.UM(l,2),k.message="Error occurred while loading the latest set of apps.",_.x(k.qg,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};K8c.prototype.Ma=function(){return!1};
K8c.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.hc,e=c.o6,f=c.wO?{X$:c.wO}:void 0;if(!O8c(d))return this.H.tm().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.tP(l,1,!1))},function(l){a.H.Bd(_.vN(l))}),_.Oh();c=_.Oh();var h=!1;this.W?P8c(this,d.getType())?e=this.W:c=e=new _.Nh(function(l,n){b.W.then(function(){M8c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ja&&P8c(this,d.getType())&&!this.ta?(h=!0,e=_.Oh()):e=M8c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.Zc;k.callback(new _.tP(l.Ama(),l.Ne(),h))},function(l){k.Bd(l)});return c.then()};
var O8c=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.y(a,4),a=_.y(a,3),!(b&&b.length)&&!(a&&a.length)):!1},P8c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},N8c=function(a){var b=a.H.H.hf(),c=new _.pe;_.qe(c,306);var d=new _.YN;_.x(d,1,1);_.FQc(d,c);a.Ga=_.m.setTimeout(function(){return void M8c(a,d)},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,4,72E5))},Q8c=function(a,b){this.hc=a;this.o6=!!b;this.wO=null};
var R8c=function(a,b){this.ta=b;this.hc=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.Sh();this.W="";this.ka=this.ma=!1};R8c.prototype.ha=function(){this.ma||(this.ma=!0,S8c(this));return this.V.promise};var S8c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.eHc(a.hc,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.wa.bind(a))}};R8c.prototype.Ba=function(a){(this.W=a.pageToken)?S8c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
R8c.prototype.wa=function(a){a=_.wN(a);var b=a.qg.Pi();53==b?(this.H="TOO_MANY_FILES",this.V.resolve(this.H)):54==b?(this.H="TOO_MANY_UNMOVABLE_FILES",this.V.resolve(this.H)):40==b?(this.H="TEAM_DRIVE_FILE_LIMIT_EXCEEDED",this.V.resolve(this.H)):this.V.reject(a)};R8c.prototype.cancel=function(){this.ka=!0};
var U8c=function(a){eS.call(this);var b=this;this.H=a;this.ka=new _.Xd(this);this.Pa(this.ka);this.ka.listen(this.H.Ma,"WPi0i",function(){return b.dispatchEvent(new _.Qg("WPi0i"))});this.V=null;this.W=_.Sh();this.ta=_.lj(this.H.H.hf(),30);T8c(this)};_.I(U8c,eS);
var T8c=function(a){var b=a.H.ha;zQ(b,["rkYxSd"],function(){return a.initialize()});zQ(b,["px2C2c"],function(){a.H.W.info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.W.resolve();a.W=null});var c=["NSockf"],d=_.D(a.H.H.hf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&zQ(b,["mrK8ic"],function(){AQ(b,"OZvrNc")}));!_.A(a.H.H,11,!1)&&_.A(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<V5c(a.H.Ma).yw().length||(b.H("NSockf")?AQ(b,"DEJoH"):zQ(b,["NSockf"],function(){AQ(b,"DEJoH")}))},
12E3));zQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.PC,f=new _.pe;_.se(f,!0);_.qe(f,301);_.R(e,1,f);V8c(a,e,W8c(a)).Vf(function(){a.initialize()})}})};U8c.prototype.ma=function(){var a="User prefs detected: "+V5c(this.H.Ma).yw().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);X8c(this)};
var V8c=function(a,b,c,d){var e=new _.$Gc(b,c),f=d?{X$:d}:void 0;return a.H.tm().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ma;F_c(k,h.yw(),k.hy()?6:1,c)}).then(null,function(h){h=_.wN(h);_.x(h.qg,5,4);0<a.ha.$b()||a.H.rb(h.qg);a.V=h;throw h;})};
U8c.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set(_.mc(this.H.Ma.H.keys()).concat());c.t$.find(function(f){return!e.has(f)})&&(c.o6=!0);this.V?d.Bd(this.V):c.o6?_.Th(this.W?this.W.promise:V8c(this,c.hc,W8c(this,c.t$),c.wO||void 0),function(){return Y8c(b,d,c.t$,!1)}):Y8c(this,d,c.t$,!0)};
var W8c=function(a,b){b=void 0===b?[]:b;a=new Set(_.mc(a.ta).concat(_.mc(_.mc(a.H.Ma.H.keys()).concat()),_.mc(b)));return _.mc(a.values()).concat()},Y8c=function(a,b,c,d){a=a.H.Ma.LF(c);b.callback(new _.vP(a.H,a.V,d))},X8c=function(a){var b=a.H.H.hf();_.m.setTimeout(function(){var c=new _.PC,d=new _.pe;_.qe(d,306);_.R(c,1,d);_.Th(V8c(a,c,W8c(a)).Vf(_.Ie),function(){return X8c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,5,72E5))},Z8c=function(a,b,c){this.hc=a;this.t$=b;this.o6=!!c;this.wO=null};
var oOc=function(a){UR.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.Sh();this.H=a.tm()};_.I(oOc,UR);_.g=oOc.prototype;_.g.Xva=function(){this.Ga=new F8c(this.context);this.Pa(this.Ga);this.Ja=new K8c(this.context);this.Pa(this.Ja);this.Wa=new U8c(this.context);this.Pa(this.Wa)};
_.g.iEa=function(){var a=this,b=["hVFf7"];_.GO(this.context.H)&&b.push("BNEDtc");zQ(this.V,b,(0,_.K)(this.EAa,this));zQ(this.V,["T8oKm","ZA9qG"],(0,_.K)(this.KIa,this));zQ(this.V,["T8oKm","mrK8ic"],(0,_.K)(this.KIa,this));this.Rd.listen(this.Ga,"WPi0i",this.yma.bind(this,1));this.Rd.listen(this.Ja,"Kb",this.yma.bind(this,2));this.Rd.listen(this.Wa,"WPi0i",this.yma.bind(this,4));zQ(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.KIa=function(){sR(this.context).mb(function(a){a.start()})};
_.g.yma=function(a){_.ha(lRc,a)&&this.dispatchEvent(new f7c(a))};_.g.d2=function(a){if(!_.HO(this.context.H))throw VR("teamDriveQuery");return this.W.Zfa(_.Dj(a))};_.g.Doa=function(a){WUc(this.context.ma,a,RQc(this.context.Ja));return this.W.Wfa(_.Dj(a))};_.g.Mba=function(a){if(!_.HO(this.context.H))throw VR("teamDriveFindByIds");return this.W.$fa(_.Dj(a))};_.g.isa=function(a){return new R8c(a,this.context.tm())};
_.g.lea=function(a,b){var c=this;if(this.ta&&_.Cj(this.ta.hd(),a))return this.ta;this.ta=new aS(_.Dj(a),this.context,this.GOa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.GOa=function(a,b,c){var d=new _.WGc(a,b,c);return _.Pj(this.H.then(function(e){return e.H(d)}).Vf(function(e){return _.xN(e)}))};_.g.Xea=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new e8c(a,this.context,this.WPa.bind(this));return this.ka};_.g.WPa=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).Vf(function(b){return _.xN(b)}))};
_.g.rpa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Oh()};_.g.pma=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}))};_.g.vga=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}))};_.g.Hoa=function(a,b){var c=this;if(this.ma&&_.Cj(this.ma.hd(),a))return m8c(this.ma),this.ma;this.ma=new cS(_.Dj(a),this.context,this.tfb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.tfb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?T2c(b.context.V.ma,c.gr().WI(),a.hd().getId()).then(function(){return c}):c},_.xN)};_.g.ska=function(a){var b=this;return _.Pj(this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?T2c(b.context.V.ma,[c.qY()],a.Gc()).then(function(){return c}):c},_.xN))};_.g.xga=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.rfa=function(a){return this.W.Mfa(_.Dj(a))};_.g.tfa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.SU=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){for(var c=[],d=_.p(a.V().entries()),e=d.next();!e.done;e=d.next()){var f=_.p(e.value);e=f.next().value;f=f.next().value;var h=new _.tWc;f=_.x(h,1,f.toString());b[Number(e)].hR?f.Dc(1):(f.Dc(3),f.Te(b[Number(e)].reason.qg));c.push(f)}b=new vWc;return _.yj(b,1,c)},function(b){return _.xN(b)})};
_.g.hpa=function(a){var b=this;return new W7c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Vf(function(d){return _.xN(d)})})};_.g.uaa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.Xc=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.iO=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};
_.g.uA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.Xc(a[d])),b.push(a[d].getId());a=new _.xo(c);c=new _.Hj;a.mb(this.gRa.bind(this,c,b));return c};_.g.Pfa=function(){return new o8c(this.context.H,this.context.Qa,this.context.lc.W,this.context.tm(),this.context.Cc,this.context.W,void 0,this.context.ta)};
_.g.gT=function(a,b){var c=this,d=_.kg();this.ha.create(d,a);3==a.getType()?a=UR.prototype.gT.call(this,a).mb(function(e){return new _.tP(e,1,!1)}):(AQ(this.V,"Qubz4b"),a=this.Ja.enqueue(new Q8c(a,b)));return a.mb(function(e){v2c(c.ha,d,e);return e.response}).Ae(function(){yR(c.ha,d)})};_.g.qma=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.uka=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.uga=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.R9=function(a){return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};_.g.WR=function(a,b){var c=this;AQ(this.V,"iuEtc");var d=_.kg();this.ha.create(d,a);return this.Ga.enqueue(new I8c(a,b)).mb(function(e){v2c(c.ha,d,e);return e.response}).Ae(function(){yR(c.ha,d)})};
_.g.LF=function(a,b){var c=this,d=_.lj(this.context.H.hf(),30);if(!d||0==d.length)return _.Qj(new _.pb("getUserPrefs requires a namespace.",_.uN(3)));var e=_.kg();this.ha.create(e,a);AQ(this.V,"OZvrNc");return this.Wa.enqueue(new Z8c(a,d,b)).mb(function(f){v2c(c.ha,e,f);return f.response}).Ae(function(){yR(c.ha,e)})};_.g.uma=function(a){r8c(_.lj(this.context.H.hf(),30),a);return _.Pj(this.H.then(function(b){return b.H(a)}).then(null,_.xN))};
_.g.rma=function(a){var b=this;return _.Pj(this.H.then(function(c){return c.H(a)}).then(function(c){return _.$M(b.context.H)?S2c(b.context.V.ma,c):c},_.xN))};_.g.rta=function(a){return this.W.bga(_.Dj(a))};_.g.wca=function(a){return this.W.aga(_.Dj(a))};_.g.asa=function(a){var b=this;return new X7c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Vf(function(d){return _.xN(d)})})};_.g.Eba=function(a){return this.W.Xfa(_.Dj(a))};_.g.nma=function(a){m2c(this.context.V,[a])};
_.g.X4=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.xN)};_.g.sma=function(a){if(1!=_.FO(this.context.H))return Promise.reject(Error("Gg"));for(var b=_.p(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Gc())return Promise.reject(Error("Hg"));if(!c.rz()&&!c.getItem())return Promise.reject(Error("Ig"))}this.context.V.ta(a);a=this.context.V;cR(a.H).ka();DVc(a.ha);return Promise.resolve()};_.g.tma=function(){return this.context.lc.H()};
_.g.gA=function(a){var b=this;return this.context.gA(a).then(function(c){return c?(b.context.ka.gA(a),b.context.wa.s2()):_.Oh(!a)})};_.g.wma=function(a){i6c(this.context).W(a);this.gA(!!a)};_.g.YN=function(){sR(this.context).mb(function(a){a&&a.q9a()});tZc(this.context.qh)};_.g.vma=function(a){a.Xj(this.context)};_.g.gRa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;cR(b.H).ka();DVc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.Qh([this.context.Ge.promise,this.context.Fs.promise]).then(function(){return a.context.wa.s2()}).then()};_.g.o_=function(){sR(this.context).mb(function(a){a&&a.dispose()});return UR.prototype.o_.call(this)};_.g.Lna=function(){return this.rb.promise};
var $8c=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Reload</button>")};
_.ko({id:_.gk,callback:function(a){var b=_.OMc(a),c=rOc(a),d=_.C(a.get(_.Hk),_.ab,10);_.CHc(d,b);_.x(d,28,c||[]);b=pOc(a,d);a.registerService(_.hk,b.PX());_.Bd(b,"VbxEwf",function(){var e={};_.Cb(_.tz.getService(a),new _.xq(new _.wq($8c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.u();

}catch(e){_._DumpException(e)}
try{
var a9c,f9c,h9c;a9c=[3];_.fS=function(a){_.Q(this,a,0,-1,a9c,null)};_.M(_.fS,_.P);_.fS.prototype.getType=function(){return _.y(this,1)};_.fS.prototype.Gc=function(){return _.y(this,2)};_.b9c=function(a,b){return _.x(a,2,b)};_.fS.prototype.V=function(){return _.vj(this,_.fS,3)};_.c9c=function(a){_.Q(this,a,0,-1,null,null)};_.M(_.c9c,_.P);_.c9c.prototype.getFeature=function(){return _.y(this,1)};_.d9c=function(a,b){return _.x(a,1,b)};_.c9c.prototype.V=function(){return _.C(this,_.fS,2)};
_.e9c=function(a,b){return _.R(a,2,b)};f9c=[1];_.dP=function(a){_.Q(this,a,0,-1,f9c,null)};_.M(_.dP,_.P);_.dP.prototype.V=function(){return _.vj(this,_.c9c,1)};_.g9c=function(a,b){return _.yj(a,1,b)};h9c=[1,2];_.GR=function(a){_.Q(this,a,0,-1,h9c,null)};_.M(_.GR,_.P);_.GR.prototype.V=function(){return _.y(this,1)};_.i9c=function(a,b){return _.x(a,1,b||[])};_.GR.prototype.yM=function(){return _.vj(this,_.bG,2)};_.j9c=function(a,b){return _.yj(a,2,b)};
_.GR.prototype.ke=function(){return _.C(this,_.pe,3)};_.k9c=function(a,b){return _.R(a,3,b)};_.r("RsR2Mc");

_.u();

}catch(e){_._DumpException(e)}
})(this._D);
// Google Inc.
