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

_.V("c","",1,function(a,b){return(0,_.K)('<div jsname="'+_.J("v5a5C")+'">'+_.U(_.Qm("a","grayCloudNotFilled",!1)(a,b))+"</div>")});

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("nQy7te");


_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Vgb=function(a){a=parseInt(_.C(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.$gb=function(a,b,c,d){var e=_.le.getService(a);a=e.Mf(a,c);c=a.H.wk;var f=new _.Wgb;b.cY&&_.B(f,2,b.cY);b.sC&&0<=b.sC&&_.B(f,1,b.sC);b.quotaType&&_.B(f,3,b.quotaType);_.Xgb(c,f);d&&(b=new _.Ygb,_.B(b,1,d),_.Zgb(c,b));e.Gf(a)};_.ahb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.Xgb=function(a,b){b&&(a=a.xd(),_.y(a,29,b))};_.Zgb=function(a,b){b&&(a=a.xd(),_.y(a,38,b))};
_.Wgb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.Wgb,_.M);_.Ygb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.Ygb,_.M);_.Ygb.prototype.Eh=function(){return _.C(this,1)};_.t("synr");
_.chb=function(a,b,c){var d=_.G(a.get(_.VDa),1,""),e=_.Vgb(b);d=new _.lj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.sj(_.vj(_.vj(_.vj(_.vj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.bhb(a,e,c)),-1!=parseInt(String(_.D(b,_.Tx,2)),10)?"upgrade":"")};
_.bhb=function(a,b,c){switch(c){case "settings":return"settings";case "upload_dialog":return"upload_dialog_oos";case "widget":switch(b){case "over":return"widget_oos";case "near":return"widget_near_quota";default:return"widget_normal"}default:switch(b){case "near":case "over":return"upsell";default:return"manage"}}};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sysk");

var dhb=_.bhb,ehb=_.chb;_.bhb=function(a,b,c){return"over"==b&&_.F(a.get(_.Fb),18,!1)?"widget_trial":dhb(a,b,c)};_.chb=function(a,b,c){c=ehb(a,b,c);"over"===_.Vgb(b)&&_.F(a.get(_.Fb),18,!1)&&_.vj(c,"eft","1");return c};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("em0");


_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15u");
_.$Jc=[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];_.aKc=[90,59,75];_.bKc=_.xa(_.$Jc,_.aKc);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15w");

_.$Jc.push(210);_.$Jc.push(210);_.bKc.push(210);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("em1d");


_.w();

}catch(e){_._DumpException(e)}
try{
var xqb,zqb;xqb=[4,5,6,7];_.yqb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.yqb,_.M);_.yqb.prototype.Ju=function(){return _.C(this,2)};_.yqb.prototype.JRa=function(){return _.C(this,3)};zqb=[5];_.Aqb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.Aqb,_.M);_.Bqb=function(a){_.R(this,a,0,-1,zqb,null)};_.O(_.Bqb,_.M);_.g=_.Bqb.prototype;_.g.Yb="dzR11e";_.g.PD=function(){return _.C(this,1)};_.g.PM=function(){return _.C(this,3)};_.g.LO=function(){return _.vk(this,_.yqb,5)};
_.g.rn=function(){return _.C(this,6)};_.g.Hw=function(){return _.C(this,7)};_.g.gy=function(){return _.C(this,10)};_.TB=function(a){_.R(this,a,0,-1,null,null)};_.O(_.TB,_.M);_.TB.prototype.Yb="JmcaR";_.TB.prototype.Gb=function(){return _.C(this,1)};_.TB.prototype.Ec=function(a){return _.B(this,1,a)};_.TB.prototype.VZ=function(){return _.C(this,2)};_.Cqb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.Cqb,_.M);_.Cqb.prototype.Yb="dvhrqe";_.Cqb.prototype.H=function(){return _.H(this,1)};
_.Dqb=function(a){_.R(this,a,0,-1,xqb,null)};_.O(_.Dqb,_.M);_.Dqb.prototype.H=function(){return _.D(this,_.Bqb,1)};_.Dqb.prototype.FE=function(){return _.D(this,_.TB,8)};_.Dqb.prototype.V=function(){return _.D(this,_.Cqb,9)};_.t("synp");
_.UB=function(a){_.R(this,a,0,-1,Eqb,null)};_.O(_.UB,_.M);var Eqb=[2];_.UB.prototype.getUser=function(){return _.D(this,_.$k,1)};_.UB.prototype.getMetadata=function(){return _.D(this,_.Dqb,3)};_.UB.prototype.gp=function(){return _.bk(this,3)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Hqb=function(a){return a instanceof _.Rb?a:a instanceof _.Sb?a.hh:null};_.t("synq");

_.w();

}catch(e){_._DumpException(e)}
try{
_.oA=function(a){if(Array.isArray(a))return a.map(_.oA).join("");if(_.C(a,2)){if(!a.getId())throw Error("id");return a.getId()+"/"+_.C(a,2)+","}return""};_.t("syoq");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syow");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syox");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var erb,frb;_.drb=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")};erb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
frb=function(a){var b=_.Ega(erb,function(c){return a==c});if(void 0===b)throw Error("kb`"+a);return b};_.grb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=erb[a.name]):(this.code=a=a.code,this.name=frb(a));_.fa.call(this,_.drb("%s %s",this.name,b))};_.O(_.grb,_.fa);var hrb=function(a,b){_.ui.call(this,a.type,b)};_.O(hrb,_.ui);_.t("syoy");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.irb=function(){_.Q.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.v)(this.BY,this);this.H.onprogress=(0,_.v)(this.BY,this);this.H.onload=(0,_.v)(this.BY,this);this.H.onabort=(0,_.v)(this.BY,this);this.H.onerror=(0,_.v)(this.BY,this);this.H.onloadend=(0,_.v)(this.BY,this)};_.O(_.irb,_.Q);_.g=_.irb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.grb(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.grb(this.H.error,"reading file")};_.g.BY=function(a){this.dispatchEvent(new hrb(a,this))};_.g.Ya=function(){_.irb.wb.Ya.call(this);delete this.H};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sytf");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syth");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sytw");

_.w();

}catch(e){_._DumpException(e)}
try{
_.ZA=function(a){_.R(this,a,0,-1,null,null)};_.O(_.ZA,_.M);_.g=_.ZA.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.getState=function(){return _.C(this,5)};_.g.Kd=function(a){return _.B(this,5,a)};_.g.gr=function(){return _.bk(this,5)};_.hnb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.hnb,_.M);_.hnb.prototype.H=function(){return _.C(this,1)};
_.hnb.prototype.Gb=function(){return _.C(this,2)};_.hnb.prototype.Ec=function(a){return _.B(this,2,a)};_.hnb.prototype.V=function(){return _.C(this,3)};_.t("sytv");
_.jnb=function(a){_.R(this,a,0,-1,inb,null)};_.O(_.jnb,_.M);var inb=[1];_.jnb.prototype.H=function(){return _.Hd(this,1)};
_.lnb=function(a){_.R(this,a,0,-1,knb,null)};_.O(_.lnb,_.M);var knb=[1];_.lnb.prototype.H=function(){return _.vk(this,_.hnb,1)};
_.nnb=function(a){_.R(this,a,0,-1,mnb,null)};_.O(_.nnb,_.M);var mnb=[1];_.nnb.prototype.H=function(){return _.vk(this,_.lnb,1)};_.nnb.prototype.addResult=function(a,b){return _.Bk(this,1,a,_.lnb,b)};
_.onb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.onb,_.M);_.onb.prototype.V=function(){return _.D(this,_.nnb,1)};_.onb.prototype.H=function(){return _.D(this,_.jnb,2)};
_.$A=function(a){_.R(this,a,0,-1,pnb,null)};_.O(_.$A,_.M);var pnb=[2,14,18];_.g=_.$A.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.Id=function(){return _.vk(this,_.ml,2)};_.g.uv=function(a){return _.jb(this,2,a)};_.g.Pg=function(a,b){return _.Bk(this,2,a,_.ml,b)};_.g.Bj=function(){return _.C(this,3)};_.g.gpa=function(){return _.F(this,5,!0)};_.g.W2=function(){return _.D(this,_.onb,7)};_.g.Ooa=function(){return _.H(this,8)};
_.g.yf=function(){return _.C(this,17)};_.g.UM=function(a){return _.B(this,17,a)};_.g.$e=function(){return _.C(this,12)};_.g.Di=function(a){return _.B(this,12,a)};_.g.wo=function(){return _.C(this,15)};_.g.kha=function(){return _.Hd(this,18)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sytx");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syty");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syus");
_.BC=function(a){_.R(this,a,0,-1,rwb,null)};_.O(_.BC,_.M);var rwb=[3];_.BC.prototype.Ae=function(){return _.D(this,_.Ue,1)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syvr");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.HD=function(a,b,c){_.P.call(this);this.eq=null!=c?(0,_.v)(a,c):a;this.ma=b;this.Dg=(0,_.v)(this.E4a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.O(_.HD,_.P);_.g=_.HD.prototype;_.g.Be=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.qf()+this.ma:this.H=_.Di(this.Dg,this.ma)};_.g.stop=function(){this.H&&(_.Ei(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.eq.apply(null,this.ka)))};_.g.Ya=function(){this.stop();_.HD.wb.Ya.call(this)};_.g.E4a=function(){this.ha?(this.H=_.Di(this.Dg,this.ha-_.qf()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.eq.apply(null,this.ka)))};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxj");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxk");
_.cF=function(a){_.R(this,a,0,-1,null,null)};_.O(_.cF,_.M);_.cF.prototype.ka=function(){return _.ik(this,1)};_.cF.prototype.V=function(){return _.ik(this,2)};_.cF.prototype.H=function(){return _.ik(this,3)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxp");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syy4");

_.w();

}catch(e){_._DumpException(e)}
try{
_.TF=function(a){return _.C(a,11)};_.t("syxs");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxt");
_.UF=function(a){_.R(this,a,0,-1,null,null)};_.O(_.UF,_.M);_.UF.prototype.Oc=function(){return _.C(this,1)};_.dRb=function(a){var b=new _.UF;return _.B(b,1,a)};_.UF.prototype.ki=function(){return _.C(this,2)};_.UF.prototype.vi=function(a){return _.B(this,2,a)};_.UF.prototype.Ae=function(){return _.D(this,_.Ue,3)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxu");

_.w();

}catch(e){_._DumpException(e)}
try{
_.IQb=function(a){_.R(this,a,0,-1,null,null)};_.O(_.IQb,_.M);_.t("syxv");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxx");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxy");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syy3");

_.w();

}catch(e){_._DumpException(e)}
try{
_.NF=function(a){_.R(this,a,0,-1,null,null)};_.O(_.NF,_.M);_.NF.prototype.getName=function(){return _.C(this,1)};_.NF.prototype.qd=function(a){return _.B(this,1,a)};_.NF.prototype.Ae=function(){return _.D(this,_.Ue,2)};_.t("syy5");
_.OF=function(a){_.R(this,a,0,-1,hQb,null)};_.O(_.OF,_.M);var hQb=[5,6,9,10,12,13,15,16];_.OF.prototype.getId=function(){return _.C(this,1)};_.OF.prototype.Tb=function(a){return _.B(this,1,a)};_.OF.prototype.sy=function(){return _.C(this,2)};
_.jQb=function(a){_.R(this,a,0,-1,iQb,null)};_.O(_.jQb,_.M);var iQb=[2,4];_.jQb.prototype.om=function(){return _.C(this,1)};_.kQb=function(a,b){return _.B(a,1,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy10x");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.XG=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ta=d||2};_.XG.prototype.V=0;_.XG.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.XG.prototype.$a=function(){return this.W};_.YG=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++};

_.w();

}catch(e){_._DumpException(e)}
try{
var A3b=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}function b(r){for(var u=h,z=0;64>z;z+=4)u[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=u[z-3]^u[z-8]^u[z-14]^u[z-16],u[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],E=e[2],I=e[3],L=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var S=I^A&(E^I);var T=1518500249}else S=A^E^I,T=1859775393;else 60>z?(S=A&E|I&(A|E),T=2400959708):(S=A^E^I,T=3395469782);S=((r<<5|r>>>27)&4294967295)+
S+L+T+u[z]&4294967295;L=I;I=E;E=(A<<30|A>>>2)&4294967295;A=r;r=S}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+E&4294967295;e[3]=e[3]+I&4294967295;e[4]=e[4]+L&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,E=r.length;A<E;++A)z.push(r.charCodeAt(A));r=z}u||(u=r.length);z=0;if(0==n)for(;z+64<u;)b(r.slice(z,z+64)),z+=64,p+=64;for(;z<u;)if(f[n++]=r[z++],p++,64==n)for(n=0,b(f);z+64<u;)b(r.slice(z,z+64)),z+=64,p+=64}function d(){var r=[],
u=8*p;56>n?c(k,56-n):c(k,64-(n-56));for(var z=63;56<=z;z--)f[z]=u&255,u>>>=8;b(f);for(z=u=0;5>z;z++)for(var A=24;0<=A;A-=8)r[u++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),u="",z=0;z<r.length;z++)u+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return u}}};_.t("sy10s");
var B3b=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));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("te`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==
c&&"devtools"!==c)throw Error("ue`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
var D3b=function(a,b,c){var d=String(_.q.location.href);return d&&a&&b?[b,C3b(B3b(d),a,c||null)].join(" "):null},C3b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.La(d,function(k){e.push(k)}),E3b(e.join(" "));var f=[],h=[];_.La(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.qa(f)?[c,b,a]:[f.join(":"),c,b,a];_.La(d,function(k){e.push(k)});a=E3b(e.join(" "));a=[c,a];_.qa(h)||a.push(h.join(""));return a.join("_")},E3b=function(a){var b=
A3b();b.update(a);return b.digestString().toLowerCase()};
var F3b={};
var G3b,I3b;G3b=function(a){return!!F3b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.H3b=function(a){a=void 0===a?!1:a;var b=_.q.__SAPISID||_.q.__APISID||_.q.__3PSAPISID||_.q.__OVERRIDE_SID;G3b(a)&&(b=b||_.q.__1PSAPISID);if(b)return!0;var c=new _.$db(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");G3b(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};I3b=function(a,b,c,d){(a=_.q[a])||(a=(new _.$db(document)).get(b));return a?D3b(a,c,d):null};
_.J3b=function(a,b){b=void 0===b?!1:b;var c=B3b(String(_.q.location.href)),d=[];if(_.H3b(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.q.__SAPISID:_.q.__APISID;e||(e=new _.$db(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?D3b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&G3b(b)&&((b=I3b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=I3b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.K3b=function(a,b,c){_.ij(a.url,function(d){d=d.target;d.Rt()?b(d.Uk()):c(d.Gb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.ZG=function(a,b){a.H=b;a.ka=0};_.$G=function(a,b){return _.B(a,b,[])};_.t("sy10r");
var M3b=function(a){_.R(this,a,0,-1,L3b,null)};_.O(M3b,_.M);var L3b=[2];
_.N3b=function(a){_.R(this,a,0,-1,null,null)};_.O(_.N3b,_.M);_.N3b.prototype.Hi=function(){return _.C(this,7)};
_.O3b=function(a){_.R(this,a,0,-1,null,null)};_.O(_.O3b,_.M);_.Fk[66321687]=new _.Yj(66321687,_.O3b);
var P3b;_.eH=function(a){_.R(this,a,0,31,P3b,null)};_.O(_.eH,_.M);P3b=[3,20,27];_.fH=function(a,b){return _.B(a,8,b)};
var R3b=function(a){_.R(this,a,0,17,Q3b,null)};_.O(R3b,_.M);var Q3b=[3,5],S3b=function(a){var b=_.qf().toString();return _.B(a,4,b)},T3b=function(a,b){return _.jb(a,3,b)},U3b=function(a,b){return _.B(a,14,b)};
var W3b=function(a){_.R(this,a,0,6,V3b,null)};_.O(W3b,_.M);var V3b=[5];
var X3b=function(a){_.R(this,a,0,-1,null,null)};_.O(X3b,_.M);
var Y3b=new _.Yj(175237375,X3b);
var $3b;
_.gH=function(a,b,c,d,e,f,h,k,l,n,p){_.Q.call(this);this.Cd=a;this.yb=b||_.nf;this.ka=new R3b;this.Ia="";this.wd=d;this.Fb=p;this.H=[];this.Mc="";this.Ee=_.Wa(_.eia,0,1);this.va=e||null;this.Ea=c||null;this.Ka=h||!1;this.Va=l||null;this.Lb=this.Qb=this.W=!1;this.Rc=this.hb=-1;this.Zb=!1;this.ha=null;this.Yd=!k;this.Ba=null;this.Qa=0;this.xe=1;this.zc=f||!1;this.nb=!1;this.ne=!this.zc&&(_.Cj.bm&&_.ab(65)||_.Cj.qv&&_.ab(45)||_.Cj.zs&&_.ab(12)||_.Vg()&&0<=_.Sf(_.Gha(),12))&&!!_.Qe()&&!!_.Qe().navigator&&!!_.Qe().navigator.sendBeacon;
a=_.B(new _.O3b,1,1);f||(f=new _.N3b,b=document.documentElement.getAttribute("lang"),f=_.B(f,5,b),_.y(a,11,f));_.y(this.ka,1,a);_.B(this.ka,2,this.Cd);this.ma=new _.XG(1E4,3E5,.1);this.V=new _.Ci(this.ma.$a());this.Oa(this.V);_.Zd(this.V,"tick",_.ufa(Z3b(this,n)),!1,this);this.Ma=new _.Ci(6E5);this.Oa(this.Ma);_.Zd(this.Ma,"tick",_.ufa(Z3b(this,n)),!1,this);this.Ka||this.Ma.start();this.zc||(_.Zd(_.Qe(),"beforeunload",this.ta,!1,this),_.Zd(_.Qe(),"unload",this.ta,!1,this),_.Zd(document,"pagehide",
this.ta,!1,this))};_.O(_.gH,_.Q);var Z3b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.gH.prototype.Ya=function(){this.ta();_.gH.wb.Ya.call(this)};$3b=function(a){a.va||(a.va=.01>a.Ee()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.va};_.a4b=function(a,b){b?(a.ha||(a.ha=new M3b),b=b.Ac(),_.B(a.ha,4,b)):a.ha&&_.lk(a.ha,4)};_.b4b=function(a){a.Qb=a.ne};
_.c4b=function(a,b){a.ma=new _.XG(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.$a())};_.gH.prototype.log=function(a){a=_.Ek(a);var b=this.xe++;_.B(a,21,b);this.Ia&&_.B(a,26,this.Ia);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.B(b,1,c)}_.bk(a,15)||_.B(a,15,60*(new Date).getTimezoneOffset());this.ha&&(b=_.Ek(this.ha),_.y(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Qa;this.H.push(a);this.dispatchEvent(new d4b(a));this.Ka||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.nb)e4b(this);else{var d=_.qf();if(this.Rc>d&&this.hb<d)b&&b("throttled");else{var e=U3b(T3b(S3b(_.Ek(this.ka)),this.H),this.Qa);d={};var f=this.yb();f&&(d.Authorization=f);var h=$3b(this);this.Ea&&(d["X-Goog-AuthUser"]=this.Ea,h=_.cj(h,"authuser",this.Ea));this.Va&&(d["X-Goog-PageId"]=this.Va,h=_.cj(h,"pageId",this.Va));if(f&&this.Mc==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Qa=
0,this.W)a&&a();else{var k=e.Ac(),l;this.Ba&&this.Ba.H(k.length)&&(l=this.Ba.V(k));var n={url:h,body:k,bgb:1,requestHeaders:d,requestType:"POST",withCredentials:this.Yd,timeoutMillis:0},p=(0,_.v)(function(z){this.ma.reset();this.V.setInterval(this.ma.$a());if(z){try{var A=JSON.parse(z.replace(")]}'\n",""));var E=new W3b(A)}catch(I){}E&&(z=_.hk(E,1,"-1"),z=Number(z),0<z&&(this.hb=_.qf(),this.Rc=this.hb+z),E=E.ha(Y3b))&&(E=_.gk(E,1,-1),-1!=E&&(this.Zb||_.c4b(this,E)))}a&&a()},this),r=(0,_.v)(function(z){var A=
_.vk(e,_.eH,3);_.YG(this.ma);this.V.setInterval(this.ma.$a());401==z&&f&&(this.Mc=f);if(500<=z&&600>z||401==z||0==z)this.H=A.concat(this.H),this.Ka||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),u=function(){c.Fb?c.Fb.send(n,p,r):c.wd(n,p,r)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.bgb=2;u()},function(){u()}):u()}}}};
_.gH.prototype.ta=function(){this.W||(this.Qb&&e4b(this),this.Lb&&f4b(this),this.flush())};
var e4b=function(a){g4b(a,32,10,function(b,c){b=_.cj(b,"format","json");b=_.Qe().navigator.sendBeacon(b,c.Ac());a.nb&&!b&&(a.nb=!1);return b})},f4b=function(a){g4b(a,6,5,function(b,c){b=_.$i(b,"format","base64json","p",_.Ej(c.Ac(),3));_.Dg(new Image,b);return!0})},g4b=function(a,b,c,d){if(0!=a.H.length){var e=_.fj($3b(a),"format");e=_.$i(e,"auth",a.yb(),"authuser",a.Ea||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=T3b(S3b(_.Ek(a.ka)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
d4b=function(){this.type="event-logged"};_.O(d4b,_.ui);
_.hH=function(a,b,c,d,e,f,h){_.gH.call(this,a,_.J3b,b,_.K3b,c,d,e,void 0,f,h)};_.N(_.hH,_.gH);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11p");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy13t");
_.cKc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.cKc,_.M);_.g=_.cKc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bq=function(){return _.bk(this,1)};_.g.$a=function(){return _.C(this,2)};_.g.Ob=function(a){return _.B(this,2,a)};_.g.sj=function(){return _.lk(this,2)};_.g.th=function(){return _.bk(this,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy13u");
_.dKc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.eKc=_.dg(_.dKc);

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.gKc=function(){this.H=-1};

_.w();

}catch(e){_._DumpException(e)}
try{
_.LK=function(a,b){return _.B(a,4,b)};_.hKc=function(a,b){_.B(a,11,b)};_.iKc=function(a,b){return _.B(a,25,b)};_.jKc=function(a,b,c,d,e,f){var h=new _.lj(null,void 0);a&&_.mj(h,a);b&&(h.ka=b);c&&_.nj(h,c);d&&_.oj(h,d);e&&h.Ri(e);f&&_.rj(h,f);return h};_.t("sy142");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.MK=function(a,b,c){_.P.call(this);this.eq=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.N(_.MK,_.P);_.g=_.MK.prototype;_.g.Be=function(a){this.ha=arguments;this.H||this.W?this.V=!0:kKc(this)};_.g.stop=function(){this.H&&(_.Ei(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,kKc(this))};_.g.Ya=function(){_.P.prototype.Ya.call(this);this.stop()};
var kKc=function(a){a.H=_.Di(function(){a.H=null;a.V&&!a.W&&(a.V=!1,kKc(a))},a.ka);var b=a.ha;a.ha=null;a.eq.apply(null,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
var lKc,oKc;lKc=[3,42];_.mKc=function(a){_.R(this,a,0,-1,lKc,null)};_.O(_.mKc,_.M);_.mKc.prototype.getMimeType=function(){return _.C(this,27)};_.nKc=function(a){return _.ib(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};oKc=function(a,b){if(b&&a in b)return a;var c=_.vFa();return c?(c=c.toLowerCase(),a=c+_.Cha(a),void 0===b||a in b?a:null):null};_.t("sy143");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.pKc=function(a){_.Q.call(this);this.zd=a||_.nh();if(this.zz=this.vmb())this.H=_.Zd(this.zd.Xb(),this.zz,(0,_.v)(this.x5a,this))};_.O(_.pKc,_.Q);_.g=_.pKc.prototype;_.g.vmb=_.hca(function(){var a=!!this.O6(),b="hidden"!=this.O6();if(a){var c;b?c=((_.vFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.O6=_.hca(function(){return oKc("hidden",this.zd.Xb())});_.g.Ynb=_.hca(function(){return oKc("visibilityState",this.zd.Xb())});_.g.ZO=function(){return!!this.zd.Xb()[this.O6()]};
_.g.x5a=function(){var a=this.O6()?this.zd.Xb()[this.Ynb()]:null;a=new qKc(this.ZO(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Ai(this.H);_.pKc.wb.Ya.call(this)};var qKc=function(a){_.ui.call(this,"visibilitychange");this.hidden=a};_.O(qKc,_.ui);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy144");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.NK=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.O(_.NK,_.gKc);_.NK.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 rKc=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};
_.NK.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;)rKc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){rKc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){rKc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.NK.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};

_.w();

}catch(e){_._DumpException(e)}
try{
var sKc;sKc=[2];_.tKc=function(a){_.R(this,a,0,-1,sKc,null)};_.O(_.tKc,_.M);_.tKc.prototype.Gb=function(){return _.C(this,1)};_.tKc.prototype.Ec=function(a){return _.B(this,1,a)};_.tKc.prototype.Bj=function(){return _.C(this,3)};_.t("sy14w");
_.OK=function(a){_.R(this,a,0,-1,uKc,null)};_.O(_.OK,_.M);var uKc=[1];_.OK.prototype.H=function(){return _.Hd(this,1)};_.OK.prototype.Ae=function(){return _.D(this,_.Ue,2)};_.vKc=function(a,b){return _.y(a,2,b)};_.OK.prototype.ki=function(){return _.gk(this,3,20)};_.OK.prototype.vi=function(a){return _.B(this,3,a)};_.OK.prototype.Pl=function(){return _.H(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy159");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.wKc=function(a){_.P.call(this);this.V=a;this.H={};this.V.NL((0,_.v)(this.W,this))};_.O(_.wKc,_.P);_.yKc=function(a,b){if(-1!=b.indexOf(":"))throw Error("ye`"+b);if(b in a.H)throw Error("ze`"+b);var c=new xKc(a,b);return a.H[b]=c};_.wKc.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)}};_.wKc.prototype.Ya=function(){_.Tf(this.H,function(a){_.aa(a)});_.aa(this.V);delete this.H;delete this.V};
var xKc=function(a,b){_.P.call(this);this.ug=a;this.H=b};_.O(xKc,_.P);_.g=xKc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.ug.V.registerService(this.H+":"+a,(0,_.v)(this.LOa,this,b),c)};_.g.NL=function(a){this.V=(0,_.v)(this.LOa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Ae");this.ug.V.send(this.H+":"+a,b)};_.g.LOa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.ug=this.ug.H[this.H]=null};

_.w();

}catch(e){_._DumpException(e)}
try{
var zKc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.lfa);try{delete a[_.lfa]}catch(b){}},PK=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(_.Da(f)){f[_.lfa]||c.push(f);var l=_.Ea(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(p){b.push("*** "+p+" ***")}};e(a,"");for(a=0;a<c.length;a++)zKc(c[a]);return b.join("")};_.t("sy15a");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var AKc,RK,CKc,BKc;_.QK=function(a,b,c){if("number"===typeof a)var d={name:BKc(a)};else d=a,a=CKc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.fa.call(this,b)};_.O(_.QK,_.fa);_.QK.prototype.getName=function(){return this.V.name||""};RK={Mdb:1,bdb:2,NOT_FOUND_ERR:3,E3a:4,K3a:5,ddb:6,Hdb:7,ABORT_ERR:8,rdb:9,w_b:10,TIMEOUT_ERR:11,odb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.DKc=(_.q.cG||_.q.GI||RK).Mdb;_.EKc=(_.q.cG||_.q.GI||RK).bdb;_.FKc=(_.q.cG||_.q.GI||RK).NOT_FOUND_ERR;
_.GKc=(_.q.cG||_.q.GI||RK).E3a;_.HKc=(_.q.cG||_.q.GI||RK).K3a;_.IKc=(_.q.cG||_.q.GI||RK).ddb;_.JKc=(_.q.cG||_.q.GI||RK).Hdb;_.KKc=(_.q.cG||_.q.GI||RK).ABORT_ERR;_.LKc=(_.q.cG||_.q.GI||RK).rdb;_.MKc=(_.q.cG||_.q.GI||RK).TIMEOUT_ERR;_.NKc=(_.q.cG||_.q.GI||RK).odb;_.OKc=(_.q.DOMException||RK).INVALID_ACCESS_ERR;_.PKc=(_.q.DOMException||RK).INVALID_STATE_ERR;
CKc=function(a){switch(a){case "UnknownError":return _.DKc;case "NotFoundError":return _.FKc;case "ConstraintError":return _.GKc;case "DataError":return _.HKc;case "TransactionInactiveError":return _.JKc;case "AbortError":return _.KKc;case "ReadOnlyError":return _.LKc;case "TimeoutError":return _.MKc;case "QuotaExceededError":return _.NKc;case "InvalidAccessError":return _.OKc;case "InvalidStateError":return _.PKc;default:return _.DKc}};
BKc=function(a){switch(a){case _.DKc:return"UnknownError";case _.FKc:return"NotFoundError";case _.GKc:return"ConstraintError";case _.HKc:return"DataError";case _.JKc:return"TransactionInactiveError";case _.KKc:return"AbortError";case _.LKc:return"ReadOnlyError";case _.MKc:return"TimeoutError";case _.NKc:return"QuotaExceededError";case _.OKc:return"InvalidAccessError";case _.PKc:return"InvalidStateError";default:return"UnknownError"}};
_.SK=function(a,b){return"error"in a?new _.QK(a.error,b):new _.QK({name:"UnknownError"},b)};_.TK=function(a,b){if("name"in a)return b=b+": "+a.message,new _.QK(a,b);if("code"in a){var c=BKc(a.code);b=b+": "+a.message;return new _.QK({name:c},b)}return new _.QK({name:"UnknownError"},b)};
_.QKc=function(a){this.H=a};_.RKc=_.q.IDBKeyRange||_.q.webkitIDBKeyRange;_.QKc.prototype.range=function(){return this.H};
var SKc=function(a){this.H=a};SKc.prototype.getName=function(){return this.H.name};var TKc=function(a,b,c,d){var e=new _.gi;try{var f=a.H[b](d)}catch(h){return c+=" with key "+PK(d),e.Ud(_.TK(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+PK(d);e.Ud(_.SK(h.target,c))};return e};SKc.prototype.get=function(a){return TKc(this,"get","getting from index "+this.getName(),a)};
SKc.prototype.getKey=function(a){return TKc(this,"getKey","getting key from index "+this.getName(),a)};SKc.prototype.getAll=function(a,b){return _.UKc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.UKc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.QKc?d.range():(new _.QKc(_.RKc.only(d))).range();var h=new _.gi;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?PK(f):"<all>"),h.Ud(_.TK(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?PK(f):"<all>");h.Ud(_.SK(l.target,c))};return h};
var VKc=function(a){this.H=a};VKc.prototype.getName=function(){return this.H.name};var WKc=function(a,b,c,d,e){var f=new _.gi;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=PK(d),e&&(c+=", with key "+PK(e)),f.Ud(_.TK(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=PK(d);e&&(c+=", with key "+PK(e));f.Ud(_.SK(k.target,c))};return f};_.g=VKc.prototype;_.g.put=function(a,b){return WKc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return WKc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.gi;try{var c=this.H["delete"](a instanceof _.QKc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+PK(a),b.Ud(_.TK(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+PK(a);b.Ud(_.SK(e.target,f))};return b};
_.g.get=function(a){var b=new _.gi;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+PK(a),b.Ud(_.TK(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 "+PK(a);b.Ud(_.SK(e.target,f))};return b};_.g.getAll=function(a,b){return XKc(this,"getting all from index "+this.getName(),a,b)};
var XKc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.QKc?c.range():(new _.QKc(_.RKc.only(c))).range();var f=new _.gi;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?PK(e):"<all>"),f.Ud(_.TK(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?PK(e):"<all>");f.Ud(_.SK(k.target,b))};return f};
VKc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.gi;try{var c=this.H.clear()}catch(d){return b.Ud(_.TK(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Ud(_.SK(d.target,a))};return b};_.YKc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.TK(d,"creating new index "+b+" with key path "+c);}};VKc.prototype.getIndex=function(a){try{return new SKc(this.H.index(a))}catch(b){throw _.TK(b,"getting index "+a);}};
VKc.prototype.count=function(a){var b=new _.gi;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Ud(_.SK(e.target,d.getName()))}}catch(e){b.Ud(_.TK(e,this.getName()))}return b};
var ZKc=function(a,b){_.Q.call(this);this.H=a;this.V=b;this.Ab=new _.je(this);this.Ab.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.y5a)};_.O(ZKc,_.Q);_.g=ZKc.prototype;_.g.y5a=function(a){a.target instanceof _.QK?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.SK(a.target,"in transaction")})};_.g.Nh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new VKc(this.H.objectStore(a))}catch(b){throw _.TK(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.TK(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.gi;_.ne(this,"complete",(0,_.v)(a.callback,a));var b=_.ne(this,"abort",function(){_.Ai(c);a.Ud(new _.QK(_.KKc,"waiting for transaction to complete"))});var c=_.ne(this,"error",function(e){_.Ai(b);a.Ud(e.target)});var d=this.V;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){ZKc.wb.Ya.call(this);this.Ab.dispose()};
var $Kc=function(a){_.Q.call(this);this.H=a;this.Ab=new _.je(this);this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.z5a);this.Ab.listen(this.H,"versionchange",this.Sjb);this.Ab.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.O($Kc,_.Q);_.g=$Kc.prototype;_.g.bpa=!0;_.g.z5a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Sjb=function(a){this.dispatchEvent(new aLc(a.oldVersion,a.newVersion))};_.g.close=function(){this.bpa&&(this.H.close(),this.bpa=!1)};_.g.hg=function(){return this.bpa};_.g.getName=function(){return this.H.name};_.g.ti=function(){return Number(this.H.version)};_.bLc=function(a,b,c){try{return new VKc(a.H.createObjectStore(b,c))}catch(d){throw _.TK(d,"creating object store "+b);}};
_.cLc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new ZKc(d,a)}catch(e){throw _.TK(e,"creating transaction");}};$Kc.prototype.Ya=function(){$Kc.wb.Ya.call(this);this.Ab.dispose()};var aLc=function(a,b){_.ui.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.O(aLc,_.ui);
_.dLc=function(){void 0==AKc&&(AKc=_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB);return AKc};
_.eLc=function(a,b,c,d){var e=new _.gi;b=b?_.dLc().open(a,b):_.dLc().open(a);b.onsuccess=function(f){f=new $Kc(f.target.result);e.callback(f)};b.onerror=function(f){e.Ud(_.SK(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new $Kc(f.target.result);c(new aLc(f.oldVersion,f.newVersion),h,new ZKc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new aLc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.fLc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.t("sy15b");
_.gLc=function(a){this.H=a};_.gLc.prototype.Qy=function(a){a=_.fH(new _.eH,a.Ac());this.H.log(a);return new _.Yh(function(b){this.H.flush(b,function(){b()})}.bind(this))};
_.hLc=function(a){this.H=a;_.b4b(this.H)};_.hLc.prototype.Qy=function(a){a=_.fH(new _.eH,a.Ac());this.H.log(a);this.H.ta()};

_.w();

}catch(e){_._DumpException(e)}
try{
var iLc=function(a){_.R(this,a,0,-1,null,null)};_.O(iLc,_.M);iLc.prototype.getEmail=function(){return _.G(this,3,"")};iLc.prototype.Zp=function(){return _.bk(this,3)};_.UK=function(a){return _.D(a,iLc,36,1)};_.t("sy14y");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14x");
_.VK=function(a){_.R(this,a,0,-1,null,null)};_.O(_.VK,_.M);_.VK.prototype.Ae=function(){return _.D(this,_.Ue,1)};_.WK=function(a,b){return _.y(a,1,b)};_.VK.prototype.Lg=function(){return _.C(this,4)};_.VK.prototype.Ela=function(a){return _.B(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var jLc=function(a){_.R(this,a,0,-1,null,null)},oLc;_.O(jLc,_.M);var kLc=function(a){_.R(this,a,0,-1,null,null)};_.O(kLc,_.M);_.XK=function(a){_.R(this,a,0,-1,null,null)};_.O(_.XK,_.M);_.XK.prototype.h1=function(a){_.B(this,3,a)};_.XK.prototype.xm=function(a){return _.y(this,5,a)};_.XK.prototype.getMimeType=function(){return _.C(this,7)};var lLc=[2],mLc=function(a){_.R(this,a,0,-1,lLc,null)};_.O(mLc,_.M);var nLc=function(a){_.R(this,a,0,-1,null,null)};_.O(nLc,_.M);oLc=function(a){this.H=a};
_.pLc=function(a){this.Xc=a};_.pLc.prototype.getId=function(){return this.Xc};var qLc=function(a){_.R(this,a,0,-1,null,null)};_.O(qLc,_.M);qLc.prototype.ti=function(){return _.C(this,1)};var rLc=function(a){_.R(this,a,0,-1,null,null)};_.O(rLc,_.M);
var tLc=function(){this.V=this.ka=!1;this.H=null;for(var a=this.ha=this.W=0;a<_.uBa.length;a++){var b=_.uBa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ka=!0;sLc(this,b);break}}},sLc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.V=!0;a.H.onDisconnect.addListener(function(){a.V=!1});document.addEventListener("mousemove",function(c){a.W=c.clientX;a.ha=c.clientY})};
tLc.prototype.Qy=function(a){if(this.ka&&this.V){var b=_.D(a,_.rb,2)||new _.rb,c=_.D(a,_.cq,5)||new _.cq,d=_.D(a,_.XK,3)||new _.XK;a=_.vk(a,_.Lza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.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.W,clientY:this.ha}}))}};_.t("sy151");
var uLc=function(){_.Xp.call(this)};_.N(uLc,_.Xp);uLc.prototype.Tu=function(){return 1==_.C(_.D(this.H,jLc,7),1)};var vLc=new _.Tp("high_frequency_builder");
var wLc=function(a,b,c){a=new _.Ci(a);c.Oa(a);var d=new _.je(c);c.Oa(d);d.listen(a,"tick",b);a.start()};
var xLc=function(){_.Xp.call(this)};_.N(xLc,_.Xp);var yLc=function(a,b,c){var d=1E3*_.qf();if(0==b){b=new _.Mp;var e=new _.nza;e=_.B(e,1,d);_.y(b,1,e);_.B(b,3,1);_.y(a.H,8,b);_.B(a.H,12,c);_.B(a.H,13,c);_.B(a.H,4,d);_.B(a.H,3,c)}else 1==b&&(b=new _.Mp,e=new _.oza,d=_.B(e,1,d),_.y(b,2,d),_.B(b,3,2),_.y(a.H,8,b),_.B(a.H,12,c),_.B(a.H,3,c));return a},zLc=new _.Tp("system_builder");
var ALc=function(a,b){_.P.call(this);this.V=a;this.H=new _.pKc(b);this.Oa(this.H);this.Ab=new _.je(this);this.Oa(this.Ab);this.H.O6()&&this.Ab.listen(this.H,"visibilitychange",this.W)};_.N(ALc,_.P);ALc.prototype.W=function(){if(this.V.XQ()){var a=this.H.ZO()?102001:102E3;a=this.V.RD(a,0);this.V.fq(a)}};
var BLc=function(a,b,c){c=void 0===c?!1:c;_.P.call(this);this.H=a;this.V=b;this.Oa(this.V);this.ha=c;this.W=null};_.N(BLc,_.P);_.g=BLc.prototype;_.g.fq=function(a){var b=this.H;_.B(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.lc()&&b.V.Be();return new oLc(a)};_.g.RD=function(a,b){a=yLc(CLc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.TI=function(){return this.H.V};
_.g.$J=function(a){var b=this.H,c=_.Yp(a,zLc),d=b.ka++,e=_.D(_.D(c.H,_.Mp,8),_.oza,2),f=1E3*_.qf();_.B(e,2,f);_.B(c.H,13,d);b.ma.remove(_.C(a.H,12))};_.g.Fw=function(){var a=this.V;if(!a.ka||a.H.W){var b=DLc(a.H,691).build();b=ELc(a.H,[b]);a.ma.Qy(b)}a.ha();this.H.Fw();this.W&&(_.aa(this.W),this.W=null)};_.g.XW=function(){var a=this.H,b=DLc(a,716);FLc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.Be();this.ha&&(this.W=new ALc(this))};_.g.jga=function(){this.V.ha();return _.ci(Array.from(this.V.W)).then()};
_.g.XQ=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var GLc=function(a,b,c,d,e){_.P.call(this);this.H=a;this.va=b;this.ma=c;this.V=new _.MK(this.ha,3E3,this);this.W=new Set;this.ka=d;this.ta=e||6E4};_.N(GLc,_.P);GLc.prototype.initialize=function(){wLc(this.ta,this.V.Be,this.V);wLc(36E5,this.Ba,this)};GLc.prototype.ha=function(){var a=this;if(0!=this.H.H.lc()&&(!this.ka||this.H.W)){var b=HLc(this.H),c=this.va.Qy(b);c&&(_.ei(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
GLc.prototype.Ba=function(){var a=this.H,b=DLc(a,1153).build();a.H.add(b);this.V.Be()};
var ILc=function(a){_.P.call(this);this.H=a;this.Oa(this.H)};_.N(ILc,_.P);_.g=ILc.prototype;_.g.fq=function(a){a=this.H.fq(a);this.jga();return a};_.g.RD=function(a,b){return this.H.RD(a,b)};_.g.TI=function(){return this.H.TI()};_.g.$J=function(a){return this.H.$J(a)};_.g.Fw=function(){return this.H.Fw()};_.g.XW=function(){return this.H.XW()};_.g.jga=function(){return this.H.jga()};_.g.XQ=function(){return this.H.XQ()};
var JLc=function(){};JLc.prototype.gO=function(){return new uLc};
var KLc=function(){this.H=[]};KLc.prototype.add=function(a){this.H.push(a)};KLc.prototype.lc=function(){return this.H.length};
var LLc=function(){this.H={}};LLc.prototype.add=function(a){var b=_.C(a.H,12);this.H[b]=a};LLc.prototype.remove=function(a){delete this.H[a]};
var MLc=function(a,b){this.V=a;this.Ea=b;this.ka=1;this.va=this.ha=null;this.ma=new LLc;this.H=new KLc;this.ta=this.Ba=this.W=!1};MLc.prototype.Fw=function(){this.ta=!1};
var CLc=function(a,b){a=_.Yp((new _.Xp).initialize(new _.Lza,a.Ea),zLc);_.B(a.H,10,b);return a},HLc=function(a){var b=a.H,c=b.H;b.H=[];return ELc(a,c)},ELc=function(a,b){var c=new _.PAa;var d=_.Ek(a.V.ha);c=_.y(c,2,d);d=a.V;(d=d.V?_.Ek(d.V):null)&&_.y(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.D(b[h],_.Rp,5);if(k&&_.D(k,_.mKc,1)){k=_.D(k,_.mKc,1);_.bk(k,12)&&void 0===e&&(e=_.H(k,12));k=_.D(k,kLc,20);if(void 0!==k&&void 0===f){f=new rLc;var l=_.H(k,2);void 0!==l&&_.B(f,2,l);k=_.H(k,
1);void 0!==k&&_.B(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.Ek(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.XK),void 0!==e&&_.B(d,6,e),void 0!==f&&_.y(d,13,f);(e=d)&&_.y(c,3,e);a=_.Ek(a.V.ka);_.y(c,4,a);_.jb(c,1,b);return c},DLc=function(a,b){var c=yLc(CLc(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 nLc;k=_.B(n,1,k);l=_.C(l.H,10);l=_.B(k,2,l);f.push(l)}d=f}716!=b&&(b=a.va,_.B(c.H,6,a.ha),e=
new mLc,b=_.B(e,1,b),d&&_.jb(b,2,d),d=_.Zp(c),_.y(d,3,b));FLc(a,c);return c},FLc=function(a,b){a.ha=_.C(b.H,12);a.va=_.C(_.D(_.D(b.H,_.Mp,8),_.nza,1),1)};
var NLc=function(){};NLc.prototype.gO=function(){return new xLc};
var OLc=function(){this.H=this.V=null};OLc.prototype.build=function(){null==this.H&&(this.H=new _.nAa);_.aq(this.H,zLc,new NLc);_.aq(this.H,vLc,new JLc);var a=this.H;var b=this.V;if(!_.bk(_.PLc(b),1)){var c=_.PLc(b),d=new _.EAa;_.y(c,1,d)}b=_.D(_.PLc(b),_.EAa,1);a.H=b;b=_.Uc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new MLc(this.V,this.H)};
var QLc=function(){this.ha=new _.rb;this.V=null;this.ka=new qLc;_.B(this.ka,1,6);this.H=this.W=null};QLc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.RLc=function(a,b){_.B(a.ha,2,b);return a};_.SLc=function(a,b){if(null==a.W){a.W=new _.JAa;var c=_.PLc(a);_.y(c,2,a.W)}_.B(a.W,1,b)};_.PLc=function(a){null==a.V&&(a.V=new _.cq);return a.V};_.TLc=function(a){null==a.H&&(a.H=new _.XK);return a.H};
_.ULc=function(){this.H=this.ka=null;this.ha=new QLc;this.W=null;this.ma=this.ta=!1;this.V=null};_.VLc=function(a,b){a.ka=b;return a};_.WLc=function(a,b){a.H=b;return a};_.XLc=function(a,b){a.W=b;return a};_.ULc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.YLc=function(a,b){_.B(a.ha.ha,6,b);return a};
_.ULc.prototype.build=function(){var a=new OLc;a.V=this.ha;null!=this.W&&(a.H=this.W);a=a.build();if(this.ma){var b=new tLc;this.H=this.ka=b}b=new GLc(a,this.ka,this.H,this.ta,this.V);a=new BLc(a,b,!1);this.ma&&(a=new ILc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.YK=function(a){return a instanceof Error};_.ZK=function(a){return _.F(a,84,!1)};_.t("sy14r");
_.ZLc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.ZLc,_.M);
_.$K=function(a){_.R(this,a,0,-1,null,null)};_.O(_.$K,_.M);_.$K.prototype.getOptions=function(){return _.D(this,_.ZLc,1)};_.$K.prototype.wo=function(){return _.C(this,2)};_.$K.prototype.Ad=function(){return _.D(this,_.Ie,3)};
_.$Lc=function(a){_.R(this,a,0,-1,null,_.aL)};_.O(_.$Lc,_.M);_.aL=[[3,4,5,6,7,8,9,10]];
_.bL={PW:"wb",mra:"xb",X3:"yb",qR:"zb"};_.aMc=new Map([[_.bL.PW,1],[_.bL.mra,2],[_.bL.X3,2],[_.bL.qR,3]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var cL,cMc;cL={};_.bMc=(cL[1]="modifiedDate",cL[2]="modifiedByMeDate",cL[3]="quotaBytesUsed",cL[4]="title",cL[6]="lastViewedByMeDate",cL[10]="createdDate",cL[7]="sharedWithMeDate",cL[9]="starred",cL[11]="recency",cL[5]="relevance",cL[12]="trashedDate",cL[13]="lastViewedByMeDate",cL);cMc={};_.dMc=(cMc[1]="asc",cMc[2]="desc",cMc);
_.eMc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.fMc=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():_.qf();this.date=new Date(a)};_.O(_.fMc,_.Nv);_.g=_.fMc.prototype;_.g.clone=function(){var a=new _.fMc(this.date);a.xE=this.xE;a.yS=this.yS;return a};_.g.add=function(a){(a.ha||a.W)&&_.Mv.prototype.add.call(this,new _.Lv(a.ha,a.W));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.V+60*(a.H+24*a.Cu))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Nv.prototype.getUTCFullYear;
_.g.getMonth=_.Nv.prototype.getUTCMonth;_.g.getDate=_.Nv.prototype.getUTCDate;_.g.getHours=_.Nv.prototype.getUTCHours;_.g.getMinutes=_.Nv.prototype.getUTCMinutes;_.g.getSeconds=_.Nv.prototype.q4a;_.g.getMilliseconds=_.Nv.prototype.p4a;_.g.getDay=_.Nv.prototype.getUTCDay;_.g.setFullYear=_.Nv.prototype.setUTCFullYear;_.g.setMonth=_.Nv.prototype.setUTCMonth;_.g.setDate=_.Nv.prototype.setUTCDate;_.g.setHours=_.Nv.prototype.IHa;_.g.setMinutes=_.Nv.prototype.JHa;_.g.setSeconds=_.Nv.prototype.KHa;
_.g.setMilliseconds=_.Nv.prototype.r4a;
var gMc,iMc;gMc={};_.hMc=(gMc[1]="0",gMc[2]="1",gMc[3]="2",gMc);iMc={};_.jMc=(iMc[1]="asc",iMc[2]="desc",iMc);
_.kMc=new _.Tp("drive_dataservice_builder");
_.lMc=_.$g&&0>_.Sf(_.ch,"533");
_.mMc=new _.pLc("drive_dataservice_invariants");
_.nMc=new Map([[[1],1],[[6],7],[[2],2]]);_.oMc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.pMc=new Map([[12,function(a){return _.H(a,69)}],[24,function(a){return _.F(a,3,!1)}],[9,function(a){return _.F(a,17,!1)}],[21,function(a){return _.ZK(a)}],[13,function(a){return _.H(a,60)}],[2,function(a){return _.F(a,8,!0)}],[6,function(a){return _.F(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.F(a,56,!1)}],[17,function(a){return _.F(a,57,!1)}],[18,function(a){return _.F(a,54,!1)}],[19,function(a){return _.F(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.qMc=new Map([[34,function(a){return _.F(a,9,!1)}],[25,function(a){return _.F(a,1,!1)}],[33,function(a){return _.F(a,8,!1)}],[26,function(a){return _.F(a,2,!1)}],[27,function(a){return _.F(a,3,!1)}],[29,function(a){return _.F(a,4,!1)}],[32,function(a){return _.F(a,7,!1)}],[30,function(a){return _.F(a,5,!1)}],[31,function(a){return _.F(a,6,!1)}]]);_.rMc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.sMc=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],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[243],243],[[244],244]]);_.tMc=new Map([[[2],3],[[1],2],[[0],1]]);_.uMc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.vMc=new Map([[[_.EKc],1],[[_.FKc],2],[[_.GKc],3],[[_.HKc],4],[[_.IKc],5],[[_.JKc],6],[[_.KKc],7],[[_.LKc],8],[[_.MKc],10],[[_.NKc],11],[[_.OKc],12],[[_.PKc],13]]);
_.wMc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14u");
_.dL=function(a){_.R(this,a,0,-1,xMc,null)};_.O(_.dL,_.M);var xMc=[8,17];_.dL.prototype.Oc=function(){return _.C(this,2)};_.gL=function(a,b){return _.B(a,2,b)};_.g=_.dL.prototype;_.g.Rj=function(){return _.F(this,3,!1)};_.g.getItem=function(){return _.D(this,_.ml,4)};_.g.setItem=function(a){return _.y(this,4,a)};_.g.Fc=function(){return _.C(this,7)};_.g.AZ=function(){return _.C(this,13)};_.g.Ila=function(a){_.B(this,13,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy150");

_.w();

}catch(e){_._DumpException(e)}
try{
var BMc;_.jL=function(a){if(a instanceof _.Rb)return a;var b;if(_.YK(a)){if(b=_.Hqb(a))return b;b=_.vEa(void 0,void 0,a)}else b="string"===typeof a?_.vEa(a):_.vEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.hL(b,2);_.iL(b,6);return b};_.yMc=function(a){var b=a.Qj();a=a.eE();return 15==b||32==b||33==b||401==a};_.zMc=function(){return _.q.WorkerGlobalScope&&self instanceof _.q.WorkerGlobalScope};
_.AMc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.AMc,_.M);_.kL=function(a){return _.gk(a,1,0)};_.lL=function(a){return _.D(a,_.AMc,4)};_.hL=function(a,b){return _.B(a,1,b)};_.iL=function(a,b){return _.B(a,2,b)};BMc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.mL=function(a){_.R(this,a,0,-1,BMc,null)};_.O(_.mL,_.M);_.g=_.mL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.B(this,2,a)};_.g.yg=function(){return _.C(this,3)};_.g.wl=function(a){return _.B(this,3,a)};_.g.cu=function(a){return _.B(this,4,a)};_.g.mi=function(){return _.H(this,5)};_.g.nn=function(a){return _.B(this,5,a)};_.g.getMimeType=function(){return _.C(this,6)};_.g.pC=function(a,b){_.tk(this,8,a,b)};_.g.Vi=function(){return _.C(this,12)};_.g.Ae=function(){return _.D(this,_.Ue,17)};_.g.ti=function(){return _.C(this,20)};_.g.Fc=function(){return _.C(this,21)};
_.nL=function(a,b){return _.B(a,16,b)};_.t("sy14t");
_.oL=function(a){_.R(this,a,0,-1,CMc,null)};_.O(_.oL,_.M);var CMc=[5];_.oL.prototype.wO=function(){return _.gk(this,2,100)};_.oL.prototype.ZP=function(a){return _.B(this,2,a)};_.oL.prototype.Ae=function(){return _.D(this,_.Ue,6)};_.oL.prototype.Fc=function(){return _.C(this,8)};
var DMc;DMc={};_.EMc=(DMc[0]="/drive/v2internal",DMc[1]="/drive/v2internal.corp",DMc[2]="/drive/v2internal.scary",DMc[4]="/drive/v2internal.scary",DMc[5]="/drive/v2beta",DMc[6]="/drive/v2.1beta",DMc);
_.FMc=new Set([0,1,2,3]);
_.GMc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.HMc=_.B(new _.mL,15,!0);_.IMc=_.nL(new _.mL,!0);_.JMc=_.nL(new _.mL,!1);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14v");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy157");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14z");
_.KMc=new Set([7,4,5,9,6,10,11,12]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy158");

_.w();

}catch(e){_._DumpException(e)}
try{
_.LMc=function(a){for(var b in a)delete a[b]};_.MMc=function(a){a=_.Ef(a);return 0===a.length?_.Tga:new _.lg(a,_.Sga)};_.NMc=function(a,b){a=_.Si(a);b=_.Si(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy15c");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.OMc=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)};_.O(_.OMc,_.gKc);_.OMc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};_.OMc.prototype.update=function(a,b){this.V.update(a,b)};
_.OMc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};_.PMc=function(a,b){a.reset();a.update(b);return a.digest()};
_.QMc=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()};_.O(_.QMc,_.gKc);_.QMc.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 RMc=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};
_.QMc.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;)RMc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){RMc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){RMc(this,e);f=0;break}}this.W=f;this.ha+=b}};
_.QMc.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;RMc(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};

_.w();

}catch(e){_._DumpException(e)}
try{
_.pL=function(a,b){return _.B(a,82,b)};_.qL=function(a){return _.B(a,3,!0)};_.SMc=function(a,b){return _.B(a,7,b)};_.t("sy14s");
_.TMc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.UMc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rL={AX:"Versions",W3:"Metadata",M2:"Data",qR:"Offline"};_.VMc=new Map([[_.rL.AX,"versionKey"],[_.rL.W3,"k"]]);_.WMc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var $Mc;_.XMc=function(a){var b={};_.Tf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.YMc=function(a){return(a=a&&_.XMc(a))&&a["x-guploader-uploadid"]};_.ZMc=function(a){return(a=a&&_.XMc(a))&&a["x-google-trace"]};$Mc=[6];_.aNc=function(a){_.R(this,a,0,-1,$Mc,null)};_.O(_.aNc,_.M);_.sL=function(a,b){return _.B(a,14,b)};_.t("sy15e");
var bNc,dNc;
_.cNc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200==a||204==a||308==a||206==a)return null;e=bNc(e)||new _.Rb;_.B(e,8,!0);k&&(k=_.rj(new _.lj(k),void 0).toString(),_.B(e,19,k));e.eE()||_.B(e,15,a||f);e.getMessage()||_.er(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.C(e,4)||_.fr(e,d);e.Qj()||(5==f?_.sL(e,7):0!=a||d?403==a?_.sL(e,22):503==a||429==a?_.sL(e,24):(_.lk(e,14),_.B(e,10,1),_.B(e,8,!0)):l||_.sL(e,2));e.T$(_.YMc(c));e.G$(_.ZMc(c));
return e};bNc=function(a){if(!_.Da(a))return null;var b=new _.Rb,c=a.error;if(!c)return _.fr(b,JSON.stringify(a)),null;_.B(b,15,c.code);_.er(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=dNc[c];d?_.B(b,10,d):c&&!d&&_.B(b,10,2);(a=a.debugInfo)&&_.fr(b,a);return b};
dNc={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};

_.w();

}catch(e){_._DumpException(e)}
try{
_.eNc=function(a,b){return _.B(a,1,b)};_.fNc=function(a,b){return _.y(a,1,b)};_.gNc=function(a,b){return _.B(a,2,b)};_.hNc=function(a,b){return _.y(a,3,b)};_.t("sy15f");

_.w();

}catch(e){_._DumpException(e)}
try{
_.tL=function(a){return _.F(a,5,!1)};_.iNc=function(a,b){var c=_.D(a.H,_.pza,9);null==c&&(c=new _.pza);var d=_.C(b.H,10);d=_.B(c,5,d);b=_.C(b.H,12);_.B(d,2,b);_.y(a.H,9,c)};_.jNc=function(a,b,c){c&&(a=_.Mg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Lg(a));return a};_.kNc=function(a){var b=_.rka(a);if("undefined"==typeof b)throw Error("V");var c=new _.uj(null,void 0);a=_.Hi(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.fla(c,e,f):c.add(e,f)}return c};
_.lNc=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};_.t("sy15r");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.mNc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.w();

}catch(e){_._DumpException(e)}
try{
var nNc,oNc,sNc,wNc,xNc,PNc,oM,QNc,RNc,YNc,uNc,GOc,tNc,cPc,ePc,gPc,hPc,iPc,jPc,kPc,mPc,nPc,oPc,pPc,DPc,EPc,GPc,IPc,JPc,LPc,PPc,INc,TPc,JNc,UPc,VPc,WPc,PM,RM,YPc,$Pc,aQc,bQc,cQc,dQc,gQc,hQc,iQc,jQc,kQc,nQc,pQc,qQc,rQc,sQc,tQc,vQc,zQc,xQc,AQc,BQc,wQc,CQc,yQc,LQc,KQc,MQc,RQc,SQc,TQc,YQc,ZQc,aRc,bRc,hRc,gRc,fRc,dRc,eRc,$Nc,nRc,pRc,qRc,rRc,sRc,SNc,tRc,TNc,UNc,VNc,WNc,XNc,uRc,wRc;_.uL=function(a,b,c){var d=new _.Rb,e=_.pja(_.uL);_.B(d,20,e);_.iL(d,a);_.hL(d,b?b:2);c&&_.sL(d,c);return d};
_.vL=function(a){var b;a instanceof _.Rb?b=new _.Sb(null,a):b=_.YK(a)?a:_.q.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("lb`"+a);b.stack||(b.stack=_.pja(_.vL));return b};_.wL=function(a){return a instanceof _.Sb?a:a instanceof _.Rb?new _.Sb(void 0,a):a instanceof Error?new _.Sb("Not a drive.ds.Error",void 0,a):new _.Sb("Not an Error",void 0,Error("mb`"+JSON.stringify(a)))};_.xL=function(a){throw _.wL(a);};
nNc=function(a){return 7==a.Qj()||24==a.$o()&&(a=a.eE(),503==a||429==a)?!0:!1};oNc=function(a,b){return b?b+"("+a+")":a};
_.yL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.dvb&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.pNc.includes(n)){var p=_.z4a.get(n);if(p){var r=_.C4a[n];a.SN&&r&&(p=r);a.qz&&(a.SN?(n=_.B4a[n])&&(p=n):(n=_.A4a[n])&&(p=n));p.split(",").forEach(function(u){var z=_.Dha(u,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={D2:f.D2},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.D2=[];l.forEach(function(n){return function(p){n.D2.push(p)}}(f));"owners"==k&&b&&f.D2.push("kind");e.push(oNc(f.D2.join(","),k))}return oNc(e.join(","),c)};_.qNc=function(a){var b=new _.$p;b.append(_.yL(a,!0));return b.toString()};_.rNc=function(a,b){return a.filter(function(c){return b.includes(c)})};sNc=function(a){a=a.filter(function(b){return!_.z4a.has(b)});if(a.length)throw Error("Cc`"+a.join(", "));};
_.vNc=function(a){if(a){var b=a.getMimeType();b&&_.LK(a,b.toLowerCase());tNc(a,_.vk(a,uNc,58).map(function(c){var d=c.getMimeType();d&&_.B(c,1,d.toLowerCase());return c}))}};wNc=function(a){if(_.$f(a))return"\r\n";var b="";_.Tf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};xNc=function(a,b){b&&(_.vj(a,"openDrive",!!_.F(b,2,!1)),_.vj(a,"reason",_.C(b,1)||0),_.vj(a,"syncType",_.C(b,3)||0),_.vj(a,"errorRecovery",!!_.F(b,4,!1)))};
PNc=function(a){if(a instanceof _.zL)return"request access";if(a instanceof _.AL)return"admin migrate to TD";if(a instanceof _.BL)return"authorize app";if(a instanceof _.CL)return"copy item";if(a instanceof _.DL)return"change category links";if(a instanceof _.EL)return"create item";if(a instanceof _.FL)return"create ws";if("undefined"!=typeof _.GL&&a instanceof _.GL)return"delete app";if("undefined"!=typeof _.HL&&a instanceof _.HL)return"delete backup";if(a instanceof _.IL)return"delete item";if("undefined"!=
typeof _.JL&&a instanceof _.JL)return"delete permission";if(a instanceof _.KL)return"delete revision";if(a instanceof _.LL)return"delete TD";if("undefined"!=typeof _.OC&&a instanceof _.OC)return"delete pref";if(a instanceof _.ML)return"delete ws";if(a instanceof _.NL)return"download item";if(a instanceof _.OL||a instanceof _.PL)return"empty trash";if(a instanceof _.ap)return"find by ID";if(a instanceof _.yNc)return"item export start";if("undefined"!=typeof _.QL&&a instanceof _.QL)return"get app";
if("undefined"!=typeof _.RL&&a instanceof _.RL)return"insert app";if("undefined"!=typeof _.SL&&a instanceof _.SL)return"insert permission";if(a instanceof _.$K)return a=a.Ad(),_.TL(a)?"quick access item query":_.UL(a)?"people predict item query":_.VL(a)?"drive priority query":"item query";if("undefined"!=typeof _.WL&&a instanceof _.WL)return"list android backup items request";if(a instanceof _.XL){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 _.YL&&a instanceof _.YL?"list backups":a instanceof _.oL?"list changes":a instanceof _.ZL?"list permissions":"undefined"!=typeof _.$L&&a instanceof _.$L?"list revisions":a instanceof _.aM?"partial download item":a instanceof _.bM?"people api":a instanceof _.NF?"get published category":"undefined"!=typeof _.cM&&a instanceof _.cM?"get remaining changes":a instanceof _.dM?"remove item":
"undefined"!=typeof _.eM&&a instanceof _.eM?"reparent item":a instanceof _.zNc?"restore item":"undefined"!=typeof _.fM&&a instanceof _.fM?"list suggested workspace items":a instanceof _.hp?"list suggested workspaces":"undefined"!=typeof _.gM&&a instanceof _.gM?"update app":a instanceof _.hM?"update category metadata":a instanceof _.mL?"update item":a instanceof _.iM?"update revision":a instanceof _.jM?"update TD":"undefined"!=typeof _.PC&&a instanceof _.PC?"update pref":a instanceof _.kM?"update ws":
a instanceof _.VK?"get account":"undefined"!=typeof _.lM&&a instanceof _.lM?"get workspace":a instanceof _.ANc?"list activity":a instanceof _.BNc?"list category metadata":a instanceof _.CNc?"create TD":"undefined"!=typeof _.DNc&&a instanceof _.DNc?"item export cancel":"undefined"!=typeof _.ENc&&a instanceof _.ENc?"item export status":"undefined"!=typeof _.FNc&&a instanceof _.FNc?"generate cse token":"undefined"!=typeof _.GNc&&a instanceof _.GNc?"get largest change ID":a instanceof _.BC?"list prefs":
a instanceof _.mM?"multipart upload":a instanceof _.HNc?"list published categories":a instanceof INc?"init resumable upload":a instanceof JNc?"resumable upload chunk":a instanceof _.KNc?"resumable upload":a instanceof _.ip?"get TD":"undefined"!=typeof _.LNc&&a instanceof _.LNc?"move TD preflight":a instanceof _.nM?"list TDs":"undefined"!=typeof _.MNc&&a instanceof _.MNc?"get TD stats":a instanceof _.NNc?"test connection":"undefined"!=typeof _.ONc&&a instanceof _.ONc?"list workspaces":"unknown"};
oM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};QNc=function(a){if(a instanceof _.EL||a instanceof _.mM||a instanceof _.KNc||a instanceof INc||a instanceof JNc)return(new _.pM).Ec(8);throw Error("Re");};RNc=function(a){if(a instanceof _.mL){var b=_.mk(_.lk(_.Ek(a),1),17);b=_.Dk(b,_.HMc)}else b=!1;b||(a instanceof _.mL?(a=_.mk(_.lk(_.Ek(a),1),17),b=_.Dk(a,_.IMc)||_.Dk(a,_.JMc)):b=!1);return b?!1:!0};
_.qM=function(a){return SNc.includes(a.constructor)?RNc(a):!1};YNc=function(a,b){if(TNc.includes(a.constructor))return!0;if(b){if(_.F(b,54,!1)&&UNc.includes(a.constructor))return!0;var c=_.lL(b);if(c&&!_.F(c,7,!1)&&VNc.includes(a.constructor)&&!_.rM(a)||_.F(b,56,!1)&&_.rM(a)||_.F(b,57,!1)&&WNc.includes(a.constructor)||!(!_.F(b,53,!1)||UNc.includes(a.constructor)||VNc.includes(a.constructor)||_.rM(a)||WNc.includes(a.constructor)||XNc.includes(a.constructor)))return!0}return!1};
_.sM=function(a,b,c,d,e){_.F(a,89,!1)&&(b.length?ZNc(b,e):c&&c.length&&(a=$Nc(d,c),ZNc(a,e)))};_.aOc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.aOc,_.M);_.tM=function(a){return _.F(a,2,!1)};_.bOc=function(a){var b=new _.$k;return _.B(b,1,a)};_.cOc=function(a,b){return _.B(a,7,b)};_.dOc=function(a,b){return _.B(a,8,b)};_.eOc=function(a,b){return _.B(a,11,b)};_.fOc=function(a,b){return _.B(a,1,b)};_.gOc=function(a,b){return _.B(a,4,b)};_.hOc=function(a,b){return _.B(a,5,b)};
_.iOc=function(a,b){return _.B(a,6,b)};_.jOc=function(a,b){return _.B(a,7,b)};_.kOc=function(a,b){return _.B(a,8,b)};_.lOc=function(a,b){return _.B(a,9,b)};_.mOc=function(a,b){return _.B(a,10,b)};_.nOc=function(a,b){return _.B(a,11,b)};_.oOc=function(a,b){return _.B(a,12,b)};_.pOc=function(a,b){return _.B(a,16,b)};_.qOc=function(a,b){return _.B(a,17,b)};_.rOc=function(a,b){return _.B(a,20,b)};_.sOc=function(a,b){return _.B(a,21,b)};_.tOc=function(a,b){return _.B(a,31,b)};
_.uOc=function(a,b){return _.B(a,32,b)};_.vOc=function(a,b){return _.B(a,33,b)};_.wOc=function(a,b){return _.B(a,42,b)};_.xOc=function(a,b){return _.B(a,43,b)};_.yOc=function(a,b){return _.B(a,46,b)};_.zOc=function(a,b){return _.B(a,47,b)};_.AOc=function(a,b){return _.B(a,48,b)};_.uM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.uM,_.M);_.vM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.vM,_.M);_.vM.prototype.Ku=function(){return _.C(this,4)};_.BOc=function(a,b){return _.B(a,1,b)};
_.COc=function(a,b){return _.B(a,2,b)};uNc=function(a){_.R(this,a,0,-1,null,null)};_.O(uNc,_.M);uNc.prototype.getMimeType=function(){return _.C(this,1)};uNc.prototype.getUrl=function(){return _.C(this,2)};_.wM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.wM,_.M);_.wM.prototype.Fe=function(){return _.C(this,2)};_.wM.prototype.Yg=function(a){return _.B(this,2,a)};_.wM.prototype.Tg=function(a){return _.B(this,3,a)};_.DOc=function(a,b){return _.B(a,1,b)};_.EOc=function(a,b){return _.jb(a,2,b)};
_.FOc=function(a,b){return _.jb(a,3,b)};GOc=[2];_.xM=function(a){_.R(this,a,0,-1,GOc,null)};_.O(_.xM,_.M);_.xM.prototype.yg=function(){return _.C(this,1)};_.xM.prototype.wl=function(a){return _.B(this,1,a)};_.xM.prototype.Jra=function(a,b){return _.tk(this,2,a,b)};_.yM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.yM,_.M);_.yM.prototype.Fe=function(){return _.C(this,1)};_.yM.prototype.Yg=function(a){return _.B(this,1,a)};_.yM.prototype.Tg=function(a){return _.B(this,2,a)};
_.zM=function(a,b){return _.B(a,2,b||[])};_.HOc=function(a,b){_.B(a,8,b)};_.IOc=function(a,b){return _.jb(a,15,b)};_.JOc=function(a,b){return _.y(a,17,b)};_.KOc=function(a,b){return _.B(a,19,b)};_.LOc=function(a,b){_.B(a,26,b)};_.MOc=function(a,b){_.B(a,31,b)};_.NOc=function(a,b){_.B(a,34,b)};_.OOc=function(a,b){return _.B(a,44,b)};_.POc=function(a,b){return _.B(a,52,b)};tNc=function(a,b){_.jb(a,58,b)};_.QOc=function(a,b){return _.B(a,72,b)};_.AM=function(a,b){return _.y(a,84,b)};
_.ROc=function(a,b){_.y(a,85,b)};_.SOc=function(a,b){return _.B(a,92,b)};_.TOc=function(a,b){return _.B(a,93,b)};_.BM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.BM,_.M);_.BM.prototype.$a=function(){return _.C(this,1)};_.BM.prototype.Ob=function(a){return _.B(this,1,a)};_.BM.prototype.sj=function(){return _.lk(this,1)};_.BM.prototype.th=function(){return _.bk(this,1)};var UOc=[3],VOc=function(a){_.R(this,a,0,-1,UOc,null)};_.O(VOc,_.M);
VOc.prototype.Kj=function(){var a=_.C(this,3);this.Ma||(this.Ma={});if(!this.Ma[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ma[3]=!0}_.kb(this)&&_.hb(a);return a};var WOc=[3],XOc=function(a){_.R(this,a,0,-1,WOc,null)};_.O(XOc,_.M);XOc.prototype.Kj=function(){return _.Hd(this,3)};var YOc=[3],ZOc=function(a){_.R(this,a,0,-1,YOc,null)};_.O(ZOc,_.M);ZOc.prototype.Kj=function(){return _.Hd(this,3)};_.CM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.CM,_.M);
_.CM.prototype.$a=function(){return _.C(this,1)};_.CM.prototype.Ob=function(a){return _.B(this,1,a)};_.CM.prototype.sj=function(){return _.lk(this,1)};_.CM.prototype.th=function(){return _.bk(this,1)};_.DM=function(a){return _.vk(a,_.Me,6)};_.EM=function(a){return _.vk(a,_.Bc,12)};_.FM=function(a){return _.fk(a,45,1)};_.TL=function(a){return _.F(a,47,!1)};_.UL=function(a){return _.F(a,49,!1)};_.VL=function(a){return _.F(a,52,!1)};_.GM=function(a){return _.G(a,2,"")};
_.$Oc=function(a,b){return _.B(a,27,b||[])};_.HM=function(a){return _.fk(a,39,0)};_.IM=function(a){return _.F(a,40,!1)};_.aPc=function(a){return _.Mv.prototype.$V.call(a,!0)+"T"+_.Qg(a.getHours(),2)+":"+_.Qg(a.getMinutes(),2)+":"+_.Qg(a.getSeconds(),2)+a.x7()};_.bPc=function(a,b){return _.B(a,18,b||[])};cPc=function(a,b){return _.UKc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.dPc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.TK(c,"deleting object store "+b);}};
ePc=function(){var a=new _.ULc;a.V=12E4;a.ta=!0;return a};_.fPc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.fPc,_.M);gPc=[3,4,10,18,19,28];_.EL=function(a){_.R(this,a,0,-1,gPc,null)};_.O(_.EL,_.M);_.g=_.EL.prototype;_.g.getMimeType=function(){return _.C(this,1)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.pC=function(a,b){_.tk(this,3,a,b)};_.g.Ae=function(){return _.D(this,_.Ue,7)};_.g.Sj=function(){return _.C(this,9)};
_.g.Fc=function(){return _.C(this,14)};_.g.JC=function(){return _.D(this,_.fPc,15)};_.g.OZ=function(){return _.C(this,21)};_.g.Oc=function(){return _.C(this,23)};_.g.Ku=function(){return _.C(this,24)};_.JM=function(a,b){return _.B(a,1,b)};_.KM=function(a,b){return _.B(a,3,b||[])};_.IL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.IL,_.M);_.IL.prototype.getId=function(){return _.C(this,1)};_.IL.prototype.Tb=function(a){return _.B(this,1,a)};_.IL.prototype.Ae=function(){return _.D(this,_.Ue,3)};
_.LL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.LL,_.M);_.LL.prototype.getId=function(){return _.C(this,1)};_.LL.prototype.Tb=function(a){return _.B(this,1,a)};_.LL.prototype.Ae=function(){return _.D(this,_.Ue,2)};hPc=[7,8];_.jM=function(a){_.R(this,a,0,-1,hPc,null)};_.O(_.jM,_.M);_.g=_.jM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};
_.g.Ae=function(){return _.D(this,_.Ue,4)};_.g.Pl=function(){return _.H(this,15)};_.nM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.nM,_.M);_.nM.prototype.getOptions=function(){return _.D(this,_.ZLc,1)};_.nM.prototype.wo=function(){return _.C(this,2)};_.nM.prototype.Ad=function(){return _.D(this,_.OK,3)};
iPc={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."};
jPc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};kPc=null;_.lPc=function(a){if(_.pla)return _.q.atob(a);var b="";_.rla(a,function(c){b+=String.fromCharCode(c)});return b};mPc=function(){this.V=0;this.H=[]};_.g=mPc.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=nPc(this,a);return this.H[a]};_.g.set=function(a,b){a=nPc(this,a);this.H[a]=b};_.g.lc=function(){return this.H.length};
_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.Xg=function(){var a=this.lc(),b=this.lc(),c=[];for(a=this.lc()-a;a<b;a++)c.push(this.get(a));return c};_.g.nf=function(){for(var a=[],b=this.lc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ge=function(a){return a<this.lc()};_.g.Ip=function(a){for(var b=this.lc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};nPc=function(a,b){if(b>=a.H.length)throw Error("da");return 40>a.H.length?b:(a.V+Number(b))%40};oPc=[2,3];
_.DL=function(a){_.R(this,a,0,-1,oPc,null)};_.O(_.DL,_.M);_.DL.prototype.Fc=function(){return _.C(this,1)};_.DL.prototype.Ae=function(){return _.D(this,_.Ue,4)};_.zL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.zL,_.M);_.zL.prototype.Oc=function(){return _.C(this,1)};_.AL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.AL,_.M);_.AL.prototype.getId=function(){return _.C(this,1)};_.AL.prototype.Tb=function(a){return _.B(this,1,a)};_.AL.prototype.lk=function(){return _.C(this,2)};
_.BL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.BL,_.M);_.BL.prototype.ih=function(){return _.C(this,1)};_.BL.prototype.Oc=function(){return _.C(this,2)};_.BL.prototype.Ae=function(){return _.D(this,_.Ue,4)};pPc=[3,7];_.CL=function(a){_.R(this,a,0,-1,pPc,null)};_.O(_.CL,_.M);_.g=_.CL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};
_.g.pC=function(a,b){_.tk(this,3,a,b)};_.g.Ae=function(){return _.D(this,_.Ue,5)};_.FL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.FL,_.M);_.FL.prototype.getTitle=function(){return _.C(this,1)};_.FL.prototype.setTitle=function(a){return _.B(this,1,a)};_.FL.prototype.Ae=function(){return _.D(this,_.Ue,2)};_.KL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.KL,_.M);_.KL.prototype.Oc=function(){return _.C(this,1)};_.KL.prototype.Ae=function(){return _.D(this,_.Ue,3)};
_.ML=function(a){_.R(this,a,0,-1,null,null)};_.O(_.ML,_.M);_.ML.prototype.getId=function(){return _.C(this,1)};_.ML.prototype.Tb=function(a){return _.B(this,1,a)};_.ML.prototype.Ae=function(){return _.D(this,_.Ue,3)};_.OL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.OL,_.M);_.OL.prototype.Ae=function(){return _.D(this,_.Ue,1)};_.dM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.dM,_.M);_.g=_.dM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};
_.g.getParent=function(){return _.C(this,2)};_.g.Bg=function(a){return _.B(this,2,a)};_.g.Ae=function(){return _.D(this,_.Ue,3)};_.zNc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.zNc,_.M);_.g=_.zNc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Bg=function(a){return _.B(this,2,a)};_.g.Ae=function(){return _.D(this,_.Ue,3)};_.iM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.iM,_.M);
_.iM.prototype.Oc=function(){return _.C(this,1)};_.iM.prototype.Ae=function(){return _.D(this,_.Ue,4)};_.kM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.kM,_.M);_.g=_.kM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.getState=function(){return _.C(this,3)};_.g.Kd=function(a){return _.B(this,3,a)};_.g.gr=function(){return _.bk(this,3)};
_.g.Ae=function(){return _.D(this,_.Ue,5)};var qPc=function(a){_.R(this,a,0,-1,null,null)};_.O(qPc,_.M);_.rPc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.rPc,_.M);_.rPc.prototype.$e=function(){return _.C(this,1)};_.rPc.prototype.Di=function(a){return _.B(this,1,a)};_.rPc.prototype.Gb=function(){return _.C(this,4)};_.rPc.prototype.Ec=function(a){return _.B(this,4,a)};var sPc=function(a){_.R(this,a,0,-1,null,null)};_.O(sPc,_.M);
var tPc=function(a,b){_.B(a,6,b)},uPc=function(a){_.R(this,a,0,-1,null,null)};_.O(uPc,_.M);uPc.prototype.Mz=function(){return _.H(this,1)};uPc.prototype.An=function(){return _.C(this,6)};uPc.prototype.Zv=function(a){_.B(this,6,a)};var vPc=function(a){_.R(this,a,0,-1,null,null)};_.O(vPc,_.M);_.g=vPc.prototype;_.g.ecb=function(a){_.B(this,1,a)};_.g.iIb=function(a){_.B(this,2,a)};_.g.Mz=function(){return _.H(this,3)};_.g.fcb=function(a){_.B(this,3,a)};_.g.QHb=function(a){_.B(this,4,a)};
var wPc=function(a){_.R(this,a,0,-1,null,null)};_.O(wPc,_.M);wPc.prototype.Mz=function(){return _.H(this,2)};var xPc=function(a,b){return _.B(a,2,b)},yPc=function(a,b){_.B(a,3,b)};wPc.prototype.Iz=function(){return _.C(this,6)};var zPc=function(a,b){return _.B(a,8,b)},APc=function(a){_.R(this,a,0,-1,null,null)};_.O(APc,_.M);var BPc=function(a){_.R(this,a,0,-1,null,null)};_.O(BPc,_.M);_.g=BPc.prototype;_.g.Ad=function(){return _.D(this,_.rPc,1)};_.g.getState=function(){return _.D(this,sPc,2)};
_.g.Kd=function(a){return _.y(this,2,a)};_.g.gr=function(){return _.bk(this,2)};_.g.IC=function(){return _.D(this,uPc,16)};var CPc=function(a){_.R(this,a,0,-1,null,null)};_.O(CPc,_.M);CPc.prototype.getEnvironment=function(){return _.C(this,2)};CPc.prototype.setEnvironment=function(a){return _.B(this,2,a)};_.pNc=[42,1005,20,50,18,1003,1002];DPc=[73,71];_.LM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.LM,_.M);_.LM.prototype.getId=function(){return _.C(this,1)};
_.LM.prototype.Tb=function(a){return _.B(this,1,a)};_.LM.prototype.getMimeType=function(){return _.C(this,2)};_.LM.prototype.nG=function(){return _.C(this,8)};EPc=[22];_.pM=function(a){_.R(this,a,0,-1,EPc,null)};_.O(_.pM,_.M);_.g=_.pM.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.getItem=function(){return _.D(this,_.ml,2)};_.g.setItem=function(a){return _.y(this,2,a)};_.g.Bj=function(){return _.C(this,3)};_.g.Oc=function(){return _.C(this,5)};
_.FPc=function(a,b){return _.B(a,5,b)};_.g=_.pM.prototype;_.g.ME=function(){return _.C(this,7)};_.g.T$=function(a){return _.B(this,7,a)};_.g.dpa=function(a){_.B(this,9,a)};_.g.pIa=function(a){_.B(this,10,a)};_.g.jO=function(){return _.C(this,16)};_.g.G$=function(a){return _.B(this,16,a)};GPc=function(a){var b=new _.gi;a.listen("loadend",_.Wa(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Ud(f):c.callback(e);d.dispose()},b,a));return b};_.HPc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
IPc=[3,4];_.XL=function(a){_.R(this,a,0,-1,IPc,null)};_.O(_.XL,_.M);_.XL.prototype.getType=function(){return _.C(this,1)};_.XL.prototype.Ae=function(){return _.D(this,_.Ue,2)};JPc=[1];_.bM=function(a){_.R(this,a,0,-1,JPc,null)};_.O(_.bM,_.M);_.bM.prototype.Ql=function(){return _.Hd(this,1)};_.KPc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.KPc,_.M);_.g=_.KPc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bq=function(){return _.bk(this,1)};_.g.$a=function(){return _.C(this,2)};
_.g.Ob=function(a){return _.B(this,2,a)};_.g.sj=function(){return _.lk(this,2)};_.g.th=function(){return _.bk(this,2)};_.g.yg=function(){return _.C(this,3)};_.g.wl=function(a){return _.B(this,3,a)};_.g.getType=function(){return _.C(this,4)};LPc=[1];_.MPc=function(a){_.R(this,a,0,-1,LPc,null)};_.O(_.MPc,_.M);var NPc=function(a){_.ui.call(this,a);_.aMc.get(a)};_.N(NPc,_.ui);
_.OPc=function(){var a=void 0===a?1E3:a;this.V=new _.nm;this.H=new _.nm;this.ha=Date.now();this.W=!1;this.ka=Math.ceil(a/2);this.ma=Math.floor(a/2)};_.QPc=function(a){var b=a.V.Xg();a.W&&b.push(PPc("...","...","...","..."));_.za(b,a.H.Xg());return b};_.RPc=function(a){var b=[];a=_.QPc(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")};_.OPc.prototype.info=function(a,b){_.MM(this,a,b,"info")};
_.OPc.prototype.config=function(a,b){_.MM(this,a,b,"config")};_.OPc.prototype.log=function(a,b,c){if(!kPc){kPc={};for(var d=0,e;e=_.uja[d];d++)kPc[e.value]=e,kPc[e.name]=e}_.MM(this,a,b,c)};_.MM=function(a,b,c,d){a.H.lc()>=a.ma&&(a.W=!0,_.om(a.H));var e=Date.now()-a.ha;b=PPc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.lc()<a.ka?a.V.enqueue(b):a.H.enqueue(b)};PPc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};
_.ANc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.CNc=function(a){this.request=a;this.requestId=_.Sg()};_.SPc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};_.mM=function(a,b,c,d){this.request=a;this.file=b;this.FN=void 0===c?null:c;this.metadata=d};_.KNc=function(a,b,c,d){this.request=a;this.file=b;this.FN=void 0===c?null:c;this.metadata=d};
INc=function(a,b){this.request=a;this.metadata=b};TPc=function(a,b,c){this.H=a;this.W=b;this.V=c};JNc=function(a,b,c,d,e,f,h){this.ha=a;this.blob=b;this.H=c;this.V=d;this.W=e;this.contentType=f;this.revisionId=h};_.NNc=function(){this.H=_.Ve(new _.Ue,312)};UPc=function(){};_.BNc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.HNc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};VPc=function(a,b){this.Cea=a;this.H=b};WPc=function(a){_.ui.call(this,"Ab");this.H=a};
_.N(WPc,_.ui);WPc.prototype.jf=function(){return this.H};_.NM=function(a){a.supportsTeamDrives=!0};_.XPc=function(a){this.V=new Set;this.H=[].concat(_.Sc(_.Hd(a,27)));var b=_.rNc(this.H,_.Hd(a,28));if(0<b.length)throw Error("Ce`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.tL(_.UK(a))||(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));_.Fa(this.H);this.H.sort();sNc(this.H)};
_.OM=function(a){return[].concat(_.Sc(a.H))};PM=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.QM=function(a,b,c){a.fN.length&&a.append(" "+(c||"and")+" ");a.append(b)};RM=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(PM(c));e.push("in");e.push(b);_.QM(a,e.join(" "))}};_.SM=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());_.QM(a,e.join(" "),d)}};
YPc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.QM(a,d.join(""))}};_.ZPc=function(a){var b=new _.fMc;b.setTime(a);return b};$Pc=function(a,b){b=_.vk(b,_.BM,35)||[];_.La(b,function(c){RM(a,"ancestors",c.$a(),!1)})};aQc=function(a,b){b=_.vk(b,_.BM,38)||[];_.La(b,function(c){RM(a,"descendants",c.$a(),!1)})};bQc=function(a,b){b=_.vk(b,_.xl,37)||[];_.La(b,function(c){RM(a,"folderFeatures",c.$a(),!1)})};
cQc=function(a,b){b=_.Hd(b,39);_.La(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(PM(c));_.QM(a,d.join(" "))})};dQc=function(a,b){b=_.Hd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(PM(b));_.QM(a,c.join(" "))}};_.eQc=function(a){a=_.vk(a,_.CM,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].$a());return b.join(",")};
_.fQc=function(a){a=a.Sw();return null==a||0==a.length?"":_.ib(a,function(b){b=_.C(b,1);if(0==b)throw Error("De");return _.eKc[b]}).join(",")};gQc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=PM(a.$a());_.H(a,4)?(_.F(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.F(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(" ")};
hQc=function(a){if(_.H(a,2))return"any";switch(a.$a()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};iQc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};jQc=function(a,b,c){if(null!=_.C(c,2)){var d=iQc(_.C(c,1));c=PM(_.aPc(_.ZPc(_.C(c,2)||0)));_.QM(a,[b,d,c].join(" "))}};
kQc=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""};
_.lQc=function(a){for(var b=new _.$p,c=_.vk(a,_.zl,4),d=0;d<c.length;d++){var e=c[d],f=e.$a();if(f){var h=_.C(e,1),k=_.F(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(PM(f));_.QM(b,l.join(" "))}}for(var n=_.vk(a,_.yl,5),p=0;p<n.length;p++){var r=n[p],u=r.$a();if(u){var z=[];_.F(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(PM(u));_.QM(b,z.join(" "))}}var A=_.DM(a);if(A&&0!=A.length){for(var E=[],I=[],L=0;L<A.length;L++){var S=A[L];
S.$a()&&(_.F(S,2,!1)?I.push(S):E.push(S))}for(var T=0;T<E.length;T++){var ca=gQc(E[T],0==T?"(":"",T==E.length-1?")":"");_.QM(b,ca,0!=T?"or":"and")}for(var ja=0;ja<I.length;ja++)_.QM(b,gQc(I[ja],0==ja?"(":"",ja==I.length-1?")":""))}for(var oa=_.vk(a,_.wl,7),Ga=0;Ga<oa.length;Ga++)jQc(b,"modifiedDate",oa[Ga]);for(var la=_.vk(a,_.wl,8),Ca=0;Ca<la.length;Ca++)jQc(b,"lastViewedByMeDate",la[Ca]);_.SM(b,"trashed",a.mi());_.SM(b,"explicitlyTrashed",_.H(a,17));_.SM(b,"starred",_.H(a,10));_.SM(b,"hidden",a.Pl());
for(var ra=_.EM(a),$b=0;$b<ra.length;$b++){var Lb=ra[$b];RM(b,"parents",Lb.$a(),_.F(Lb,2,!1))}for(var qc=_.vk(a,_.Ke,13),ic=0;ic<qc.length;ic++){var zd=qc[ic];RM(b,"owners",zd.$a(),_.F(zd,2,!1))}for(var Nc=_.vk(a,_.Ke,14),Te=0;Te<Nc.length;Te++){var we=Nc[Te];RM(b,"writers",we.$a(),_.F(we,2,!1))}for(var ld=_.vk(a,_.Ke,15),ug=0;ug<ld.length;ug++){var Vc=ld[ug];RM(b,"readers",Vc.$a(),_.F(Vc,2,!1))}_.H(a,16)&&_.QM(b,"sharedWithMe");_.SM(b,"unparented",_.H(a,34));$Pc(b,a);aQc(b,a);bQc(b,a);cQc(b,a);for(var of=
_.Hd(a,40),Ah=0;Ah<of.length;Ah++){var Xe=[];0==Ah&&Xe.push("(");Xe.push(PM(of[Ah]));Xe.push("in");Xe.push("templateData.categories");Ah==of.length-1&&Xe.push(")");_.QM(b,Xe.join(" "),0==Ah?"and":"or")}var Kb=_.C(a,41);if(null!=Kb){var Bh=[];Bh.push("templateData.galleryState");Bh.push("=");Bh.push(PM(_.hMc[Kb]||""));_.QM(b,Bh.join(" "))}var vg=_.C(a,42);if(null!=vg){var ck=[];ck.push("visibility");ck.push("=");ck.push(PM(kQc(vg)));_.QM(b,ck.join(" "))}for(var hq=_.vk(a,_.tl,44),ss=0;ss<hq.length;++ss){var th=
hq[ss];RM(b,"actionItems",hQc(th),_.F(th,3,!1))}if(_.bk(a,50)){var Bg=[];Bg.push("pairedDocType");var Uh=_.F(a,50,!1)?"!=":"=";Bg.push(Uh);Bg.push(PM("NONE"));_.QM(b,Bg.join(" "))}RM(b,"workspaceIds",a.Yp(),!1);for(var yk=_.vk(a,_.ul,57),Wk=0;Wk<yk.length;Wk++){var im=[];0==Wk&&im.push("(");im.push(PM(yk[Wk].$a()));im.push("in");im.push("approvals");Wk==yk.length-1&&im.push(")");_.QM(b,im.join(" "),0==Wk?"and":"or")}if(_.bk(a,58)){var pj=a.Np(),ih=pj.$a(),zk=_.F(pj,2,!1);if(ih){var Jm=[];zk&&Jm.push("not");
Jm.push("creator");Jm.push("=");Jm.push(PM(ih));_.QM(b,Jm.join(" "))}}var xo=_.D(a,_.Bna,59);if(xo)for(var jm=_.m(_.vk(xo,_.zna,1)),Cl=jm.next();!Cl.done;Cl=jm.next()){var yo=Cl.value;RM(b,"categoryMetadata",yo.om());for(var km=_.m(_.vk(yo,_.xna,2)),kl=km.next();!kl.done;kl=km.next()){var qi=kl.value,Pi=_.C(qi,1),lm=_.ak(qi,_.vl[0]);if(10==lm){_.D(qi,_.qna,10);var zo=_.H(qi,15);(void 0===zo?0:zo)?_.QM(b,Pi+" is null"):_.QM(b,"not ("+Pi+" is null)")}else{var Jh=new _.$p,aj=void 0;switch(lm){case 3:aj=
_.D(qi,VOc,3);for(var iq=_.m(aj.Kj()),ll=iq.next();!ll.done;ll=iq.next())_.SM(Jh,Pi,ll.value,"or");break;case 14:for(var jq=aj=_.D(qi,_.jna,14),Ao=new Map([[1,"="],[2,">"],[3,"<"]]),Bo=_.m(jq.Kj()),ts=Bo.next();!ts.done;ts=Bo.next()){var qp=ts.value,bd=Ao.get(_.C(jq,2));if(!bd)throw Error("Ee");var Df=[Pi,bd,PM(qp.getYear()+"-"+qp.getMonth()+"-"+qp.getDay())];_.QM(Jh,Df.join(" "),"or")}break;case 8:for(var Ak=aj=_.D(qi,_.pna,8),Fj=new Map([[1,"="],[2,">"],[3,"<"]]),An=_.m(Ak.Kj()),Gj=An.next();!Gj.done;Gj=
An.next()){var Vt=Gj.value,Co=Fj.get(_.C(Ak,2));if(!Co)throw Error("Ee");_.QM(Jh,[Pi,Co,Vt].join(" "),"or")}break;case 9:for(var kq=aj=_.D(qi,XOc,9),Dl=new Map([[1,"in"]]),us=_.m(kq.Kj()),Km=us.next();!Km.done;Km=us.next()){var mm=Km.value,Hj=Dl.get(_.C(kq,2));if(!Hj)throw Error("Ee");_.QM(Jh,[mm,Hj,Pi].join(" "),"or")}break;case 6:for(var lq=aj=_.D(qi,_.una,6),Wt=new Map([[1,"="]]),Bn=_.m(lq.Kj()),qj=Bn.next();!qj.done;qj=Bn.next()){var Xt=qj.value,rp=Wt.get(_.C(lq,2));if(!rp)throw Error("Ee");_.QM(Jh,
[Pi,rp,PM(Xt)].join(" "),"or")}break;case 7:for(var vs=aj=_.D(qi,_.sna,7),wv=new Map([[1,"in"]]),ws=_.m(vs.Kj()),xs=ws.next();!xs.done;xs=ws.next()){var ys=xs.value,kr=wv.get(_.C(vs,2));if(!kr)throw Error("Ee");_.QM(Jh,[PM(ys),kr,Pi].join(" "),"or")}break;case 4:for(var Yt=aj=_.D(qi,_.wna,4),Hn=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),bz=_.m(Yt.Kj()),sr=bz.next();!sr.done;sr=bz.next()){var gu=sr.value,tr=Hn.get(_.C(Yt,2));if(!tr)throw Error("Ee");_.QM(Jh,[Pi,tr,PM(gu)].join(" "),"or")}break;
case 5:for(var hu=aj=_.D(qi,ZOc,5),Fv=new Map([[1,"in"]]),gB=_.m(hu.Kj()),aH=gB.next();!aH.done;aH=gB.next()){var NP=aH.value,ig=Fv.get(_.C(hu,2));if(!ig)throw Error("Ee");_.QM(Jh,[PM(NP),ig,Pi].join(" "),"or")}break;case 12:for(var FW=aj=_.D(qi,_.nna,12),eL=new Map([[1,"="]]),Iv=_.m(FW.Kj()),DD=Iv.next();!DD.done;DD=Iv.next()){var bH=DD.value,OP=eL.get(_.C(FW,2));if(!OP)throw Error("Ee");_.QM(Jh,[Pi,OP,PM(bH)].join(" "),"or")}break;case 11:for(var GW=aj=_.D(qi,_.lna,11),Lea=new Map([[1,"in"]]),Mea=
_.m(GW.Kj()),a4=Mea.next();!a4.done;a4=Mea.next()){var cH=a4.value,PP=Lea.get(_.C(GW,2));if(!PP)throw Error("Ee");_.QM(Jh,[PM(cH),PP,Pi].join(" "),"or")}}_.H(qi,15)?_.QM(b,"not ("+Jh+")"):_.QM(b,1<aj.Kj().length?"("+Jh+")":""+Jh)}}}null!=_.H(a,60)&&_.SM(b,"linkShareMetadata.securityUpdateEligible",_.H(a,60));var b4=_.H(a,65);if(null!=b4){var HW=[];HW.push("clientEncryptionDetails.encryptionState");HW.push("=");HW.push(PM(b4?"encrypted":"unencrypted"));_.QM(b,HW.join(" "))}var c4=_.vk(a,_.Ke,68);if(c4.length){for(var Nea=
[],ED=[],fL=_.m(c4),d4=fL.next();!d4.done;d4=fL.next()){var Oea=d4.value,e4="sharedFrom = "+PM(Oea.$a());_.F(Oea,2,!1)?ED.push(e4):Nea.push(e4)}YPc(b,Nea,!1);YPc(b,ED,!0)}var Pea=_.vk(a,_.Ke,67);if(Pea.length){for(var Jua=[],Kua=[],Lua=_.m(Pea),wr=Lua.next();!wr.done;wr=Lua.next()){var f4=wr.value,dH="sharedTo = "+PM(f4.$a());_.F(f4,2,!1)?Kua.push(dH):Jua.push(dH)}YPc(b,Jua,!1);YPc(b,Kua,!0)}null!=_.H(a,69)&&_.SM(b,"linkShareMetadata.allowLessSecureLink",_.H(a,69));1==_.FM(a)&&dQc(b,a);return b.toString()};
_.mQc=function(a){var b=new _.$p(_.lQc(a));_.TL(a)?_.QM(b,"isQuickAccessRequest"):_.UL(a)?_.QM(b,"isPeoplePredictRequest"):_.VL(a)&&_.QM(b,"isDrivePriorityRequest");var c=a.Pc();if(c){var d=[];d.push("sortBy");d.push(_.bMc[c.getType()]);d.push(_.jMc[_.fk(c,2,1)]);_.H(c,3)&&d.push("foldersFirst");_.QM(b,d.join(" "))}_.SM(b,"domainSearch",_.H(a,18));_.SM(b,"offline",_.H(a,19));_.vk(a,_.CM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.eQc(a)),_.QM(b,c.join(" ")));a.Sw().length&&(c=
[],c.push("spaces"),c.push("contains"),c.push(_.fQc(a)),_.QM(b,c.join(" ")));if(c=_.FM(a))d=[],d.push("corpora"),d.push("="),d.push(PM(_.HPc[c])),_.QM(b,d.join(" "));_.F(a,66,!0)||_.SM(b,"includeItemsFromAllDrives",_.F(a,66,!0));1!=_.FM(a)&&dQc(b,a);_.F(a,48,!1)&&_.QM(b,"cachedOnly");return b.toString()};
_.rM=function(a){if(a instanceof _.$K)a=a.Ad();else if(!a)return!1;return a instanceof _.hp||"undefined"!=typeof _.fM&&a instanceof _.fM||"undefined"!=typeof _.TM&&a instanceof _.TM||a instanceof _.Ie&&(_.TL(a)||_.UL(a)||_.VL(a))};nQc=function(){_.Xp.call(this);this.W=this.V=null;this.ma=!1;this.ka=null};_.N(nQc,_.Xp);_.oQc=function(a){!a.ma&&a.W&&(a.W(),a.ma=!0)};pQc=function(a,b){a.W||(a.W=b)};nQc.prototype.xk=function(){_.oQc(this);(0,this.ka)()};qQc=function(a,b){a.ka||(a.ka=b)};
_.UM=function(a){if(!a.V){a.V=new BPc;var b=_.Zp(a);_.y(b,56,a.V)}return a.V};rQc=function(a){var b=_.UM(a).getState();b||(b=new sPc,_.UM(a).Kd(b));return b};sQc=function(a,b){var c=new qPc;_.B(c,1,b);a=_.Zp(a);_.y(a,12,c)};nQc.prototype.IC=function(){var a=_.UM(this).IC();if(!a){a=new uPc;var b=_.UM(this);_.y(b,16,a)}return a};nQc.prototype.ta=function(){var a=_.D(_.UM(this),vPc,4);if(!a){a=new vPc;var b=_.UM(this);_.y(b,4,a)}return a};
tQc=function(a){var b=_.D(_.UM(a),wPc,8);b||(b=new wPc,a=_.UM(a),_.y(a,8,b));return b};_.uQc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Q.call(this);this.V=!1;this.H=b?1:a;this.W=b};_.N(_.uQc,_.Q);_.g=_.uQc.prototype;_.g.isConnected=function(){return!this.V&&1==this.H};_.g.Ul=function(){return 1==this.H||2==this.H};_.g.jf=function(){return 3==this.H};_.g.get=function(){return this.H};
_.g.update=function(a){if(this.W)return!1;if(this.H!=a||this.V&&1==a){if(2==a)var b=3==this.H?_.bL.X3:_.bL.mra;else 1==a?b=_.bL.PW:3==a&&(b=_.bL.qR);if(b)return b=new NPc(b),this.H=a,this.V=!1,this.dispatchEvent(b),!0}return!1};vQc=function(a,b){this.userId=a;this.V=b;this.H=null};
zQc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return wQc(a,function(c){return c.count().then(function(d){return 1E3>d?xQc(a,c,b):yQc(a,Error("Ke"))},function(d){return yQc(a,d)})},"readwrite")};xQc=function(a,b,c){var d={};return b.add((d.userId=a.userId,d.bvb=c.ue(),d)).then(null,function(e){yQc(a,e)})};
AQc=function(a){return new _.Yh(function(b){var c=new Map;wQc(a,function(d){return cPc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Yna:f.Yna},k=h.next())k=_.m(k.value),f.Yna=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Yna,new _.PAa(n.bvb))}}(f));return _.ci([].concat(_.Sc(e.values()))).then(function(){return b(c)})})})})};
BQc=function(a,b){return wQc(a,function(c){return c.remove(b)},"readwrite")};wQc=function(a,b,c){c=void 0===c?"readonly":c;return CQc(a).then(function(d){try{var e=_.cLc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return yQc(a,f)}},function(d){return yQc(a,d)})};
CQc=function(a){return a.H?_.Zh(a.H):_.eLc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.dPc(c,"OfflineImpressions");_.YKc(_.bLc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return yQc(a,Error("Le"))}).then(function(b){return a.H=b},function(b){return _.$h(_.vL(b))})};yQc=function(a,b){b||(b=Error("Me"));_.MM(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Zh()};
_.DQc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Q.call(this);this.W=b;this.V=null;this.H=b?!1:a};_.N(_.DQc,_.Q);_.DQc.prototype.jf=function(){return this.H};_.DQc.prototype.xm=function(a){var b=this.H!=a;!this.W&&b&&(this.H=a,this.dispatchEvent(new WPc(a)))};_.DQc.prototype.yD=function(a){this.V=a};
var FQc=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.W=a;this.H=b;this.ha=c;this.V=d;this.Ab=new _.je(this);this.Ab.listen(b,"Ab",function(k){k.jf()||EQc(h)});this.Ab.listen(c,[_.bL.PW,_.bL.X3],function(){return void EQc(h)});this.ka=e;f.then(function(){return EQc(h)})};_.N(FQc,_.Q);FQc.prototype.Qy=function(a){return(this.H.jf()||this.ha.jf())&&this.H.V?zQc(this.V,a):this.W.Qy(a)};
var EQc=function(a){return a.H.V?AQc(a.V).then(function(b){b.forEach(function(c,d){a.W.Qy(c).then(function(){return GQc(a,d)},function(){HQc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},GQc=function(a,b){HQc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return BQc(a.V,b).then(function(){HQc(a,"Removed offline impression batch "+b+".")},function(){HQc(a,"Unable to remove offline impression batch "+b+".")})},HQc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},IQc=function(){};IQc.prototype.gO=function(){return new nQc};var JQc=function(){this.H=new CPc};JQc.prototype.V=function(a){_.y(a,13,this.H)};JQc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};LQc=function(a,b,c,d){this.ta=b;this.ka=c;this.Fv=d;this.V=this.H=null;this.ha=_.VM(_.sMc,_.HM(a));this.Ea=_.VM(_.wMc,_.fk(a.Pf(),8,0));this.va=_.VM(_.tMc,_.fk(a.Pf(),9,2));this.Ia=_.F(a,10,!1);this.ma=_.tL(_.UK(a));this.Ka=_.IM(a);this.Ba=KQc(a);this.W=a.Hi()};
KQc=function(a){var b=[].concat(_.Sc(_.pMc.keys())),c=[].concat(_.Sc(_.qMc.keys())),d=_.lL(a);return b.filter(function(e){return _.pMc.get(e)(a)}).concat(c.filter(function(e){return d&&_.qMc.get(e)(d)}))};_.VM=function(a,b){a=_.m(a);for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};MQc=function(a){if(a.V)return a.V.H("aU7Ts")};
LQc.prototype.Gb=function(a){return a instanceof _.$A||"undefined"!=typeof _.WM&&a instanceof _.WM||"undefined"!=typeof _.XM&&a instanceof _.XM||"undefined"!=typeof _.YM&&a instanceof _.YM?a.Gb():"undefined"!=typeof _.ZM&&a instanceof _.ZM||"undefined"!=typeof _.$M&&a instanceof _.$M||"undefined"!=typeof _.aN&&a instanceof _.aN||"undefined"!=typeof _.bN&&a instanceof _.bN||"undefined"!=typeof _.NQc&&a instanceof _.NQc?a.response?a.response.Gb():null:null};LQc.prototype.Hi=function(){return this.W};
var OQc=function(a){return a.ta.jf()||a.ka.jf()?2:1};LQc.prototype.getEnvironment=function(){return this.Fv};var PQc=function(a,b){this.H=a;var c=new _.yza;_.zza(c,b.Ba);a=this.H.TI();var d=_.TLc(a);_.y(d,10,c);(c=b.Hi())&&_.SLc(a,c);this.H.XW();this.V=b};PQc.prototype.isRunning=function(){return this.H.XQ()};PQc.prototype.Fw=function(){this.isRunning()&&this.H.Fw()};
_.QQc=function(a,b,c){var d=_.Yp(a.H.RD(b,c),_.kMc);sQc(d,OQc(a.V));b=MQc(a.V);"boolean"===typeof b&&tPc(rQc(d),b);1==c&&pQc(d,function(){return void a.H.$J(d)});qQc(d,function(){var e=a.V;e=e.H?e.H.Sd():void 0;var f=rQc(d);_.B(f,1,e);a.H.fq(d)});return d};RQc=function(a){var b=new _.nAa,c=new JQc;_.B(c.H,1,a.ha);_.B(c.H,3,a.Ea);_.B(c.H,4,a.va);_.B(c.H,5,a.Ia);_.B(c.H,6,a.ma);_.B(c.H,7,a.Ka);a=c.setEnvironment(a.getEnvironment());_.fLc(b,_.mMc,a);_.aq(b,_.kMc,new IQc);return b};
SQc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.hH(906,b,void 0,_.zMc());l.W=!1;var n=new _.gLc(l);b=new Date;l=_.YLc(_.XLc(_.WLc(ePc(),new _.hLc(l)),RQc(c)),109).setSessionId(b.getTime()+"_"+_.Sg());if(k){a=new FQc(n,d,e,new vQc(a,f),f,h);_.VLc(l,a);d=l.build();_.RLc(d.TI(),1E3*b.getTime());var p=new PQc(d,c);(new _.je).listen(a,"Bb",function(){_.QQc(p,106008,0).xk()});return p}_.VLc(l,n);a=l.build();_.RLc(a.TI(),1E3*b.getTime());return new PQc(a,c)};
TQc=function(a,b){this.W=a;this.ha=b};TQc.prototype.H=function(a,b){this.W&&_.UQc(this)&&(a=_.QQc(this.W,a,0),b&&_.iNc(a,b),a.xk())};_.VQc=function(a,b){if(a.W&&_.UQc(a)){a=_.QQc(a.W,106018,0);var c=_.D(_.UM(a),APc,15);if(!c){c=new APc;var d=_.UM(a);_.y(d,15,c)}c=_.B(c,1,1);_.B(c,2,b);a.xk()}};TQc.prototype.V=function(a,b){return this.W&&_.UQc(this)?(a=_.QQc(this.W,a,1),b&&_.iNc(a,b),a):null};TQc.prototype.Fw=function(){this.W&&_.UQc(this)&&this.W.Fw()};_.UQc=function(a){return!(!a.W||!a.W.isRunning())};
_.WQc=function(a,b,c,d,e,f){var h=_.H(a,59),k=_.kL(_.UK(a)).toString(),l=_.GM(_.UK(a));f=new LQc(a,b,c,f);a=h?SQc(l,k,f,b,c,d,e,_.F(a,17,!1)):null;return new TQc(a,f)};_.XQc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.XQc,_.M);_.XQc.prototype.getId=function(){return _.C(this,1)};_.XQc.prototype.Tb=function(a){return _.B(this,1,a)};_.XQc.prototype.Ae=function(){return _.D(this,_.Ue,2)};_.ZL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.ZL,_.M);_.ZL.prototype.wo=function(){return _.C(this,2)};
_.ZL.prototype.Ad=function(){return _.D(this,_.XQc,3)};_.PL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.PL,_.M);_.PL.prototype.Ad=function(){return _.D(this,_.OL,1)};_.PL.prototype.Mv=function(){return _.C(this,2)};_.PL.prototype.Z$=function(a){return _.B(this,2,a)};_.PL.prototype.vTa=function(){return _.bk(this,2)};_.NL=function(a){_.R(this,a,0,-1,null,null)};_.O(_.NL,_.M);_.NL.prototype.getId=function(){return _.C(this,1)};_.NL.prototype.Tb=function(a){return _.B(this,1,a)};
_.aM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.aM,_.M);_.aM.prototype.Ad=function(){return _.D(this,_.NL,1)};YQc=[2];_.hM=function(a){_.R(this,a,0,-1,YQc,null)};_.O(_.hM,_.M);_.hM.prototype.Oc=function(){return _.C(this,1)};_.hM.prototype.SS=function(){return _.vk(this,_.jQb,2)};_.hM.prototype.Ae=function(){return _.D(this,_.Ue,3)};ZQc=[1];_.yNc=function(a){_.R(this,a,0,-1,ZQc,null)};_.O(_.yNc,_.M);_.$Qc=function(){this.H={}};aRc=function(a,b,c){if(a.H[b])throw Error("Ne");a.H[b]=c};
_.$Qc.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){_.q.setTimeout(function(){throw d;},0)}};bRc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.cRc=function(a,b){this.H=a;this.W=b;this.V=_.EMc[_.fk(a.Pf(),8,0)];this.ka=_.EMc[_.fk(a.Pf(),51,5)];this.ha=_.Sg()};
_.cRc.prototype.vc=function(a,b){if(b.bL)dRc(this,a,b),eRc(this,a,b);else if(11==a.Cm){if(b.XDb){var c=b.Bka||_.G(this.H.Pf(),37,"");_.vj(a.uri,"key",c)}dRc(this,a,b);fRc(this,a,b)}else switch(a.uri=gRc(this,a.Cm,a.uri),a.Cm){case 1:fRc(this,a,b);dRc(this,a,b);break;case 0:_.F(this.H,83,!1)&&(b.xy||_.tL(_.UK(this.H))||_.vj(a.uri,"dsNonce",this.ha));fRc(this,a,b);eRc(this,a,b);dRc(this,a,b);break;case 2:case 3:case 4:case 5:fRc(this,a,b);eRc(this,a,b);dRc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:fRc(this,
a,b);eRc(this,a,b);break;default:throw Error("Oe`"+a.Cm);}};hRc=function(a,b){var c=gRc(a,b,new _.lj);if(!c.H)throw Error("Qe");return _.oj(_.nj(_.mj(new _.lj,c.V),c.H),c.ha).Ri(_.FMc.has(b)?"/batch"+a.V:"/batch")};
gRc=function(a,b,c){var d=_.C(a.H.Pf(),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.ka;break;case 7:a=_.G(a.H.Pf(),62,"");break;case 8:a=_.C(a.H.Pf(),53);break;case 9:a=_.C(a.H.Pf(),56);break;case 10:a=_.C(a.H.Pf(),22);break;case 13:a=_.C(a.H.Pf(),55);break;case 12:a=_.C(a.H.Pf(),43);break;default:throw Error("Oe`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.lj(a);
_.td(c,"/")&&(c=c.slice(1));return new _.lj(a+"/"+c)};fRc=function(a,b,c){a=_.UK(a.H);c.xy||_.tL(a)||(c=[{key:"u",value:_.GM(a)}],b.headers.authorization=_.J3b(c)||"",c=_.kL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
dRc=function(a,b,c){var d=_.UK(a.H),e=a.H.Pf(),f=c.TKb||!!_.C(e,13);c=c.UKb||_.F(e,14,!1);var h=11==b.Cm;f&&((f=_.C(e,13))&&_.td(f,"email:")?_.vj(b.uri,"trace",f):f&&"trace:true"==f?_.vj(b.uri,"$trace","true"):f?_.vj(b.uri,"trace","token:"+f):_.vj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.vj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.fk(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())};
eRc=function(a,b,c){c.xy||_.tL(_.UK(a.H))?_.vj(b.uri,"key",_.G(a.H.Pf(),36,"")):(a=c.Bka||_.G(a.H.Pf(),37,""),_.vj(b.uri,"key",a))};_.iRc=function(a,b){_.XG.call(this,a?a:500,b?b:6E5)};_.N(_.iRc,_.XG);_.jRc=function(a,b){this.V=b;this.H={};this.Ba(_.vk(a,_.Al,91))};_.jRc.prototype.Ba=function(a){var b=this;a.forEach(function(c){var d=c.getId();c=_.C(c,2);if(d&&c){var e=_.kRc(b,d);if(e){if(e!=c)throw new _.Sb("Multiple resource key definitions found for itemId "+d);}else b.H[d]=c}})};
$Nc=function(a,b){return[].concat(_.Sc(new Set(b))).map(function(c){var d=(new _.Al).Tb(c);a.H[c]?_.Bl(d,a.H[c]):a.V&&(c=a.V.H(c))&&_.Bl(d,_.sl(c));return d}).filter(function(c){return _.bk(c,2)})};_.kRc=function(a,b){return a.H[b]?a.H[b]:a.V&&(a=a.V.H(b))&&_.bk(a,140)?_.sl(a):null};_.lRc=function(a,b,c){this.state=a;this.ha=b;this.W=c;this.H=this.hk=null;this.V=!1};_.lRc.prototype.getState=function(){return this.state};_.mRc=function(a){a.H=null;a.hk&&(clearTimeout(a.hk),a.hk=null)};
_.oRc=function(a){a.H||a.V||(a.H=new _.iRc(5E3,6E4),nRc(a))};nRc=function(a){pRc(a);a.H&&(a.hk=setTimeout(function(){return void nRc(a)},a.H.$a()),_.YG(a.H))};pRc=function(a){_.ei(_.Zh().then(null,function(){return null}),function(){return void qRc(a)})};qRc=function(a){rRc(a,"Checking connection state.");a.ha.then(function(b){return b.lh(new _.NNc)}).then(null,function(b){b=_.wL(b);_.yMc(b.hh)&&sRc(a,2);return _.$h(b)}).then(null,function(){return null})};
rRc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};sRc=function(a,b){return!a.V&&a.state.update(b)?(rRc(a,"Connection status: "+_.GMc.get(b)),!0):!1};SNc=[_.zL,_.BL,_.AL,_.DL,_.CL,_.EL,_.FL,_.IL,_.KL,_.LL,_.ML,_.OL,_.PL,_.dM,_.zNc,_.hM,_.mL,_.iM,_.jM,_.kM,_.CNc,_.mM];tRc=[_.oL];TNc=[_.NF,_.HNc];UNc=[_.ZL,_.VK,_.BC,_.nM];VNc=[_.$K,_.ap,_.oL,_.BNc];WNc=[_.nM,_.ip];XNc=[_.NL,_.yNc,_.XL,_.aM,_.bM,_.ANc,_.mM,JNc,INc];
uRc=function(a){return a instanceof _.$K||a instanceof _.nM||"undefined"!=typeof _.cN&&a instanceof _.cN||a instanceof _.jM||a instanceof _.LL||a instanceof _.EL||a instanceof _.IL||a instanceof _.mL&&_.qM(a)};_.vRc=function(a,b){this.V=b;this.H={};this.W=new mPc;b=_.yL({fields:_.Hd(a,28),qz:_.tL(_.UK(a))});this.Ob("SecondaryFields",b);this.Ob("SdkBackfillEnabled",!!_.F(a,45,!1)+" (Include corpus cache: "+!!_.F(a,46,!1)+")")};_.vRc.prototype.Ob=function(a,b){this.H[a]=wRc(a,b)};
var xRc=function(a,b){var c=a.H[b];c||(c=wRc(b,0,2),a.H[b]=c);c.Ob(String(Number(c.$a())+1))};_.vRc.prototype.JC=function(a){var b=_.Uc(this.H);this.V&&b.push(wRc("CacheSize",this.V.Sd()));b.push(wRc("InitialViewDataLoaded",a));a=new _.MPc;_.jb(a,1,b);return _.li(a)};wRc=function(a,b,c){var d=new _.KPc;_.B(d,1,a);_.B(d,4,c||1);d.Ob(String(b));d.wl(iPc[a]);return d};
_.yRc=function(a,b,c){var d=new _.$Lc;_.B(d,2,"Pending...");b instanceof _.$K?_.xk(d,3,_.aL[0],b):b instanceof _.nM?_.xk(d,4,_.aL[0],b):"undefined"!=typeof _.cN&&b instanceof _.cN?_.xk(d,5,_.aL[0],b):b instanceof _.jM?_.xk(d,6,_.aL[0],b):b instanceof _.LL?_.xk(d,7,_.aL[0],b):b instanceof _.EL?_.xk(d,8,_.aL[0],b):b instanceof _.IL?_.xk(d,9,_.aL[0],b):b instanceof _.mL&&_.xk(d,10,_.aL[0],b);var e=PNc(b),f=[];if(b instanceof _.AL)oM(f,"ID",b.getId()),oM(f,"Parent ID",b.lk());else if(b instanceof _.LL)oM(f,
"TD ID",b.getId());else if(b instanceof _.$K)b=_.mQc(b.Ad()),oM(f,"Query",b);else if(b instanceof _.nM)oM(f,"Query","All");else if(b instanceof _.jM)oM(f,"TD ID",b.getId()),oM(f,"Title",b.getTitle()),oM(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.EL)oM(f,"MimeType",b.getMimeType()),oM(f,"Title",b.getTitle()),oM(f,"Parents",_.Hd(b,3)),oM(f,"Convert",_.H(b,8)),oM(f,"Request ID",b.Sj()),oM(f,"Parent Request IDs",_.Hd(b,10)),oM(f,"Revision Item ID",_.C(b,12)),oM(f,"Pinned",_.H(b,8));else if(b instanceof
_.FL)oM(f,"Title",b.getTitle());else if(b instanceof _.IL)oM(f,"ID",b.getId());else if(b instanceof _.ML)oM(f,"WS ID",b.getId());else if(b instanceof _.mL){if(oM(f,"ID",b.getId()),oM(f,"Title",b.getTitle()),oM(f,"Description",b.yg()),oM(f,"Starred",_.H(b,4)),oM(f,"Trashed",b.mi()),oM(f,"MimeType",b.getMimeType()),oM(f,"Parents",_.Hd(b,8)),oM(f,"Parents to add",_.Hd(b,9)),oM(f,"Parents to remove",_.Hd(b,10)),oM(f,"Restricted",_.H(b,11)),oM(f,"Folder Color",b.Vi()),oM(f,"Update Last Viewed",_.H(b,15)),
oM(f,"Subscribed",_.H(b,16)),oM(f,"Available Offline",_.H(b,18)),oM(f,"Wksp to add",_.Hd(b,31)),oM(f,"Wksp to remove",_.Hd(b,32)),b=_.D(b,_.hl,25))oM(f,"Read Only",_.H(b,1)),oM(f,"Reason",_.C(b,2))}else b instanceof _.kM?(oM(f,"WS ID",b.getId()),oM(f,"Title",b.getTitle()),oM(f,"State",b.getState())):b instanceof _.CNc&&oM(f,"Title",b.request.getTitle());_.B(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.zRc=function(a,b){for(var c=new _.$p,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.jNc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.B(a,2,c.toString()||"Done.")};_.vRc.prototype.o7=function(){return this.W.Xg()};_.t("sy15j");
_.dN=function(a){_.R(this,a,0,-1,null,null)};_.O(_.dN,_.M);_.dN.prototype.Vp=function(){return _.D(this,_.$A,1)};_.ARc=function(a,b){return _.y(a,1,b)};_.dN.prototype.wo=function(){return _.C(this,3)};
_.BRc=function(a,b,c){_.ui.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.N(_.BRc,_.ui);
_.CRc=function(a,b){this.V=a;this.W=b;this.H=null};
var eN=function(){_.Q.apply(this,arguments)};_.N(eN,_.Q);var ERc=function(a,b){a.dispatchEvent(new DRc(b))};eN.prototype.V=function(){};var DRc=function(a){_.ui.call(this,"Mb");this.request=a};_.N(DRc,_.ui);
_.FRc=function(a){eN.call(this);this.H=a};_.N(_.FRc,eN);_.FRc.prototype.intercept=function(a){var b=!1;_.yMc(_.jL(a.qx[a.qx.length-1].response))&&(this.H.ta(),b=!0);return b&&2>a.qx.length?(ERc(this,a),!0):!1};
var fN=function(a){_.Q.call(this);this.ha=a};_.N(fN,_.Q);_.g=fN.prototype;_.g.A0=function(){};_.g.MAa=function(){};_.g.OWa=function(){};_.g.oIa=function(){};_.g.NWa=function(){};_.g.SD=function(){this.dispatchEvent(new _.ui("Nb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
_.GRc=function(a,b){fN.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.je(this);this.Oa(this.H);this.H.listen(this.W,"Ab",function(d){d.jf()||c.SD()});this.H.listen(this.V,"eb",this.SD)};_.N(_.GRc,fN);_.GRc.prototype.max=function(){var a=this.W.jf(),b=this.V.Sz();return!a&&b?Infinity:0};_.GRc.prototype.A0=function(){this.SD()};
var IRc;_.HRc=function(a,b,c){this.OH=c;this.V=!0;this.W=0;this.H=new _.XG(a,b,.5)};IRc=function(a){return a.H.V+a.W};
_.JRc=function(a,b){fN.call(this,"Backoff");this.H=a;this.V=b};_.N(_.JRc,fN);_.JRc.prototype.max=function(){return this.H.V?Infinity:0};_.JRc.prototype.oIa=function(){var a=this.H;a.W=0;a.H.reset()};_.JRc.prototype.NWa=function(a){var b=this;KRc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.$a(),LRc(this,"Stopping new requests for "+a+" ms."),_.q.setTimeout(function(){LRc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.SD()},a),_.YG(this.H.H))};
var KRc=function(a){a=a.qx.length&&_.ha(a.qx).response;return!!(a&&a instanceof _.Rb&&nNc(a))},LRc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};
_.MRc=function(a,b){fN.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.N(_.MRc,fN);_.MRc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.MRc.prototype.A0=function(a){a>=this.V?this.SD():null==this.H&&NRc(this)};_.MRc.prototype.MAa=function(a,b){0<b?NRc(this):this.H=null};var NRc=function(a){a.H=Date.now()-1;_.q.setTimeout(a.SD.bind(a),a.W)};
_.gN=function(){this.Ur=[]};_.g=_.gN.prototype;_.g.add=function(a,b){b?this.Ur.unshift(a):this.Ur.push(a);return!0};_.g.cpa=function(a){return _.Ba(this.Ur,0,a)};_.g.Sd=function(){return this.Ur.length};_.g.cancel=function(a){return _.wa(this.Ur,function(b){return b.$t.config.requestId==a?(b.lj.resolve(QNc(b.$t.request)),!0):!1})};_.g.uH=function(){return _.Af(this.Ur,function(a){return _.qM(a.$t.request)})};
_.ORc=function(a){eN.call(this);this.H=a};_.N(_.ORc,eN);_.ORc.prototype.intercept=function(a){var b=_.jL(a.qx[a.qx.length-1].response),c=!1;if(2==b.$o())b=this.H,sRc(b,3)&&_.oRc(b),c=!0;else if(_.yMc(b)){b=this.H;if(c=!b.V)c=b.state,c=!c.W&&c.isConnected()?c.V=!0:!1;c&&_.oRc(b);c=!0}return c&&2>a.qx.length?(ERc(this,a),!0):!1};
var PRc=function(){fN.call(this,"Immediate")};_.N(PRc,fN);PRc.prototype.max=function(){return Infinity};PRc.prototype.A0=function(){this.SD()};
var QRc=function(){fN.call(this,"One Request")};_.N(QRc,fN);QRc.prototype.max=function(){return 1};
_.RRc=function(a){fN.call(this,"Online");var b=this;this.H=a;this.V=new _.je(this);this.Oa(this.V);this.V.listen(this.H,[_.bL.PW,_.bL.mra,_.bL.X3],function(){return b.SD()})};_.N(_.RRc,fN);_.RRc.prototype.max=function(){return this.H.isConnected()?Infinity:0};_.RRc.prototype.A0=function(){this.SD()};
_.hN=function(a){fN.call(this,"Parallel");this.limit=a;this.H=0};_.N(_.hN,fN);_.hN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.hN.prototype.A0=function(){this.H<this.limit&&this.SD()};_.hN.prototype.MAa=function(a){this.H+=a.length};_.hN.prototype.OWa=function(a){this.H-=a.length;this.H<this.limit&&this.SD()};
_.iN=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.va=a;this.ka=b;this.Ma=0;this.ha=new Map;this.W=new _.je(this);this.Oa(this.W);this.H=c;for(a=0;a<c.length;a++)this.W.listen(c[a],"Nb",this.ma);this.V=d;this.ta=e;for(c=0;c<e.length;c++)this.W.listen(e[c],"Mb",function(k){SRc(h,!0,k.request)});this.Ba=_.Rx("drive.ds.network.queue.Queue [%s]",f)};_.N(_.iN,_.Q);_.iN.prototype.add=function(a){return SRc(this,!1,{$t:a,lj:_.di(),qx:[]})};
_.iN.prototype.cancel=function(a){var b=this.ka.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?TRc(this,"Canceled ID "+a+" during execution."):c&&TRc(this,"Canceled ID "+a+" inside bucket.");return b||c};_.iN.prototype.uH=function(){return this.ka.uH()?!0:this.V.some(function(a){return a.uH()})};
var SRc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.er(new _.Rb,"No queue bucket accepted request."),_.$h(_.wL(a));for(var d=URc(a),e=0;e<a.H.length;e++)a.H[e].A0(d);return c.lj.promise};
_.iN.prototype.ma=function(){var a=URc(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].cpa(b);0<c.length&&(TRc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),VRc(this,c))}};
var VRc=function(a,b){var c=String(a.Ma++);a.ha.set(c,b);for(var d=a.ka.execute(b),e=0;e<b.length;e++)d[e].then(a.Ka.bind(a,b[e]),a.Ia.bind(a,b[e]));e=URc(a);for(var f=0;f<a.H.length;f++)a.H[f].MAa(b,e);_.ei(_.ci(d).then(a.Ea.bind(a,b)),function(){a.ha.delete(c)});_.q.setTimeout(a.ma.bind(a),0)};
_.iN.prototype.Ka=function(a,b){var c=a.$t.config;TRc(this,PNc(a.$t.request)+" request completed successfully. xd4: "+!(!c||!c.bL));this.H.forEach(function(d){return d.oIa()});this.ta.forEach(function(d){return d.V(a)});a.lj.resolve(b)};
_.iN.prototype.Ia=function(a,b){b=_.wL(b);TRc(this,PNc(a.$t.request)+(" request failed with error: "+b.ka+"."));a.qx.push({response:b,CKb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].NWa(a);a.$t.config.$ja||!this.ta.some(function(d){return d.intercept(a)})?a.lj.reject(b):TRc(this,PNc(a.$t.request)+" encountered an error, but was intercepted to be retried.")};_.iN.prototype.Ea=function(a){URc(this);for(var b=0;b<this.H.length;b++)this.H[b].OWa(a)};
var URc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Sd()){b=a.V[c].Sd();break}return b},TRc=function(a,b){a.va.info(a.Ba,b)};
_.WRc=function(a,b,c,d){eN.call(this);this.W=b;this.ka=c;this.ha=d;this.H=new Map;this.ma=_.gk(a,21,1E3);this.va=_.gk(a,1,1);this.ta=function(){return new _.HRc(_.gk(a,63,1E3),_.gk(a,64,3E5),_.gk(a,65,10))}};_.N(_.WRc,eN);
_.WRc.prototype.intercept=function(a){var b=a.qx.length,c=0<b&&_.ha(a.qx).response||null;if(c){c=_.jL(c);if(2==c.$o())return XRc(this,a);var d=c.Qj();if(3==d||31==d||13==d||9==d)return YRc(this,a,b);if(nNc(c))return b=IRc(this.W),c=this.W,IRc(c)<c.OH?(ZRc(this,"Backoff number "+b+" for a User Rate Limit error."),ERc(this,a),a=!0):(ZRc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var XRc=function(a,b){var c=$Rc(a,b),d=IRc(c);if(IRc(c)<c.OH)return ZRc(a,"Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.jf()?(d=c.H.$a(),_.q.setTimeout(function(){return ERc(a,b)},d),_.YG(c.H)):(_.q.setTimeout(function(){return ERc(a,b)}),c.W++),!0;a.H.delete(b);return!1},$Rc=function(a,b){a.H.has(b)||a.H.set(b,a.ta());return a.H.get(b)},YRc=function(a,b,c){var d=a.va;if(c<=d)return ZRc(a,"Retry number "+(c+1)+" for a retryable error."),_.q.setTimeout(function(){return ERc(a,
b)},a.ma*Math.pow(2,c)),!0;ZRc(a,"Done retrying retriable requests after "+d+" retries.");return!1};_.WRc.prototype.V=function(a){this.H.delete(a)};var ZRc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)};
var aSc=function(a){try{if("undefined"!=typeof FileReaderSync&&_.zMc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.irb,d=GPc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.grb(e,"reading data"))}},bSc=function(a){return aSc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var cSc=function(a,b,c,d,e,f,h){this.yb=a;this.ha=b;this.Fb=c;this.va=d;this.Lb=e;this.request=f;this.config=h;this.ka=this.Ia=this.H=0;this.Va=this.hb=this.Ka=null;this.af=_.di();this.W=!1;this.Qa=this.nb=0;this.Ba=null;this.Ea=!1;this.ma=null;a=f.request.JC();a=_.zMc()&&a?_.C(a,1):null;this.V="number"===typeof a?a:f.file.size;this.Ma=h.requestId;this.ta="progress_"+this.Ma;h.iCa=this.ta;this.Ea=!!f.metadata},dSc=function(a,b){a.Fb.info("drive.ds.sync.request.ResumableUpload",b)};
cSc.prototype.start=function(){var a=this,b=new INc(this.request.request,this.request.metadata),c=eSc(this);this.yb.then(function(d){return d.lh(b,c)}).then(function(d){a.Ka=d.H;a.hb=d.W;a.Va=d.V;fSc(a)},function(d){return void a.af.reject(d)});return _.ei(this.af.promise.then(function(d){gSc(a,d);return d},function(d){d=_.wL(d);gSc(a,d.hh);return _.$h(d)}),function(){bRc(a.ha,[a.ta])})};var eSc=function(a){var b=_.cg(a.config);aRc(a.ha,a.ta,jPc(function(){return void a.ha.notify([a.Ma],0)}));return b};
cSc.prototype.cancel=function(){return this.W?!1:(this.W=!0,this.af.resolve(QNc(this.request)),!0)};
var fSc=function(a){a.W||(dSc(a,"Uploading chunk "+a.Qa+" for "+a.Ka+"."),hSc(a,4))},hSc=function(a,b){iSc(a).then(function(c){if(c){var d=jSc(a,c.blob.size);a.yb.then(function(f){return f.lh(c,d)}).then(function(f){a.ma=null;var h=c.blob.size;a.H+=a.ka;a.Ia+=h;a.Qa++;f.ME()&&(a.hb=f.ME());f.jO()&&(a.Va=f.jO());a.H<a.V?fSc(a):a.af.resolve(f)},function(f){if(d.$ja)a.cancel();else{var h=_.jL(f);h.Jxa()||h.cia()||a.Ea?kSc(a,b,h,!1):bSc(c.blob).then(function(k){k=k?_.EEa.get(k)||25:38;_.sL(h,k);k=38==
h.$o();var l=38!=h.$o()&&25!=h.$o();kSc(a,b,h,k,l)},function(){})}})}else{var e=_.wL(_.sL(_.er(new _.Rb,"Could not read more of the file. Read "+a.H+"/"+a.V+" bytes."),5));a.af.reject(e)}})},kSc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.dpa(f);!e&&0<b?(a.nb++,d&&(a.va=Math.max(262144*Math.floor(a.va/262144/2),8388608)),setTimeout(function(){b--;dSc(a,"Retrying chunk "+a.Qa+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.va+" bytes "):"")+"for ")+(a.Ka+"."));hSc(a,b)},
a.Lb*Math.pow(1.5,f))):a.af.reject(_.wL(c))},iSc=function(a,b){return a.Ea&&a.ma?_.Zh(a.ma):lSc(a,b).then(function(c){if(!c)return null;if(a.Ea&&0<a.V&&0==c.size)return iSc(a,Math.min(2*a.ka,a.V-a.H));a.Ba&&(c=new Blob([a.Ba,c]),a.Ba=null);var d=c.size%262144;a.W=a.H+a.ka==a.V;0<d&&!a.W&&(a.Ba=c.slice(-1*d),c=c.slice(0,-1*d));a.ma=new JNc(a.Ka,c,a.Ia,a.Ia+c.size-1,a.W,a.request.request.getMimeType(),_.C(a.request.request,12)||void 0);return a.ma})},lSc=function(a,b){a.ka=b?b:Math.min(a.V-a.H,a.va);
b=a.H;return a.request.FN?a.request.FN(b,a.ka):_.Zh(_.mNc(a.request.file,b,b+a.ka))},jSc=function(a,b){var c=_.cg(a.config);c.XMa=!0;var d=a.H/a.V,e=b/a.V;bRc(a.ha,[a.ta]);aRc(a.ha,a.ta,function(f){a.ha.notify([a.Ma],Math.min(d+e*f,1))});return c},gSc=function(a,b){b.pIa(3);b.dpa(a.nb);b.ME()||b.T$(a.hb);b.jO()||b.G$(a.Va)};
_.mSc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.mSc.prototype.create=function(a,b){return new cSc(this.ka,this.W,this.H,this.ha,this.V,a,b)};
_.nSc=function(a){this.V=a;this.H={}};_.nSc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].$t.request instanceof _.KNc)b.push(oSc(this,a[c].$t));else{var d=_.er(new _.Rb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.wL(d)))}return b};_.nSc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.nSc.prototype.uH=function(){return!_.$f(this.H)};
var oSc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ei(d,function(){delete a.H[e]})};
_.pSc=function(a,b){return new _.iN(b,a,[new PRc],[new _.gN],[],"immediate")};_.qSc=function(a,b,c,d,e,f,h){if(h){var k=new _.RRc(h.getState());d=new _.ORc(h)}else k=new _.GRc(c,d),d=new _.FRc(d);return new _.iN(f,a,[k,new _.JRc(e,f),new QRc],[new _.gN],[d,new _.WRc(b,e,h?h.getState():c,f)],"connected")};
_.rSc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.gk(b,10,50):l;if(h){var n=new _.RRc(h.getState());d=new _.ORc(h)}else n=new _.GRc(c,d),d=new _.FRc(d);return new _.iN(f,a,[n,new _.MRc(l,_.gk(b,12,10)),new _.hN(3*l),new _.JRc(e,f)],[new _.gN],[d,new _.WRc(b,e,h?h.getState():c,f)],k)};_.sSc=function(a,b,c){b=_.gk(b,46,1);return new _.iN(c,a,[new _.hN(b)],[new _.gN],[],"resumable_upload")};
_.tSc=function(a,b,c,d,e,f,h,k){this.VF=a;this.ta=b;this.ka=c;this.H=d;this.W=e;this.ha=f;this.ma=h;this.V=k};_.tSc.prototype.lh=function(a,b){return uSc(this,a,b).then(null,function(c){c=_.wL(c);var d=c.hh;RNc(a)||_.gr(d);return _.$h(c)})};
var uSc=function(a,b,c){c=void 0===c?{}:c;var d=a.VF.validate(b);if(d)return _.$h(_.wL(d));var e=a.ta.translate(b);d=a.ka.execute(a,e,c)||void 0;return _.Zh(d).then(function(){if(e instanceof _.Rb)return _.$h(_.wL(e));if(Array.isArray(e)){var f=e.map(function(h){return vSc(a,b,h,c)});return _.ci(f)}return vSc(a,b,e,c)},function(f){return _.$h(_.wL(f))})},vSc=function(a,b,c,d){var e=wSc(a,c);if(!e)return b=_.sL(_.er(new _.Rb,"Failed to choose a queue for server request."),18),_.$h(_.wL(b));if(e===
a.H[7]||e===a.H[8])d.bL=!0;d=e.add({request:c,config:d});(_.qM(b)||_.qM(c))&&_.ei(d,function(){var f=a.W;f.V()||(f.H&&(f.H.resolve(),f.H=null),f.W())});b=a.ha.apply(c,d);d.then(function(f){a.ma.apply(c,f)},function(){});return b};_.tSc.prototype.cancel=function(a){return _.Wf(this.H,function(b){return b.cancel(a)})};
var wSc=function(a,b){var c=!1;b instanceof _.ap?c=!!_.H(b,7):b instanceof _.$K&&(c=(c=b.Ad())&&!!_.H(c,46));return(b instanceof _.NNc||"undefined"!=typeof _.jN&&b instanceof _.jN&&b.V())&&a.H[1]?a.H[1]:b instanceof _.KNc&&a.H[5]?a.H[5]:c&&YNc(b,a.V)&&a.H[7]?a.H[7]:YNc(b,a.V)&&a.H[8]?a.H[8]:c&&b instanceof _.ap&&a.H[6]?a.H[6]:(c||tRc.includes(b.constructor))&&a.H[3]?a.H[3]:SNc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var xSc=function(a){this.H=a};xSc.prototype.build=function(a,b){var c="====="+_.Sg()+"=====",d=a[0].Cm,e=b.every(function(l){return l.bL});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=hRc(this.H,a[0].Cm);_.vj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=ySc[d],h=zSc[d]||{},h["content-type"]=_.Rx('multipart/mixed; boundary="%s"',c),d=ASc[d],k=new _.lj("");a=BSc(this,a,b,c,e);return{Cm:f,body:a,headers:h,method:d,uri:k}};
var BSc=function(a,b,c,d,e){for(var f=wNc(CSc[b[0].Cm]||{}),h="",k=0;k<b.length;k++){e&&fRc(a.H,b[k],c[k]);var l=b[k],n=a.H,p=l,r=c[k];p.uri=gRc(n,p.Cm,p.uri);switch(p.Cm){case 0:case 5:eRc(n,p,r);dRc(n,p,r);break;case 2:fRc(n,p,r);eRc(n,p,r);var u=p,z=_.C(n.H.Pf(),57);u.headers.host=_.Aj(z).H;u.headers.origin=_.q.location.origin?_.q.location.origin:_.q.location.protocol+"//"+_.q.location.host;dRc(n,p,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Pe`"+p.Cm);default:throw Error("Oe`"+
p.Cm);}n=l;p=n.uri.clone();_.mj(p,"");_.nj(p,"");_.oj(p,null);l=f+"\r\n"+(n.method+" "+p+" HTTP/1.1\r\n")+wNc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},DSc={},ySc=(DSc[0]=1,DSc[2]=3,DSc),ESc={},ASc=(ESc[0]="POST",ESc[2]="PUT",ESc[12]="POST",ESc),FSc={},GSc={},zSc=(GSc[2]=(FSc["x-goog-upload-protocol"]="batch",FSc),GSc),HSc={},ISc={},JSc={},KSc={},CSc=(KSc[0]=(HSc["content-type"]="application/http",HSc["content-transfer-encoding"]="binary",HSc),KSc[12]=
(ISc["content-type"]="application/http",ISc["content-transfer-encoding"]="binary",ISc),KSc[2]=(JSc["content-type"]="application/http",JSc),KSc);
var LSc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,MSc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var NSc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};NSc.prototype.add=function(a,b){var c="DEFAULT";b.bL&&(c=hRc(this.V,a.Cm).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.bL&&!ySc[a.Cm])return a=_.er(new _.Rb,"Unsupported batch API: "+a.Cm),_.$h(_.wL(a));var d=_.di();c.push({request:a,config:b,lj:d});return d.promise};
NSc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{OSc(a,b)}catch(f){var d=_.fr(_.er(new _.Rb,"Error executing XHR: "+f.message),f.stack),e=_.wL(d);b.forEach(function(h){h.lj.reject(e)});a.H.delete(c)}})};
var OSc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.mya&&!c.config.bL){var d=!1;if(ySc[c.request.Cm]){var e={Cm:c.request.Cm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.vc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.lj;a.W.mh(c.request,c.config).then(b.resolve,b.reject);return}}}PSc(a,b)},PSc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});a.W.mh(a.ha.build(c,d),{mya:!0,bL:d.every(function(e){return e.bL})}).then(function(e){e.headers=
_.XMc(e.headers);var f=MSc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Sb("Could not extract batch boundary.",_.sL(_.fr(new _.Rb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.td(_.uha(h[0]),f)&&_.id(h[1]))h=_.uha(h[0]).substring(f.length);else throw new _.Sb("Could not parse batch response; did not begin and end with boundary.",_.sL(_.fr(new _.Rb,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,p=k,r=p.push;var u=void 0;var z,A=e.headers,E=f[l],I=n&&n.uri,L=E.split("\r\n\r\n");if(2>L.length)u=new _.Sb("Individual batch response contained too few parts.",_.sL(_.fr(new _.Rb,E),17));else{var S=L[1].split("\r\n");if(z=LSc.exec(S[0])){n=_.lb(z[1]);z=z[2];S.shift();A=_.cg(A);for(var T=Object,ca=T.assign,ja={},oa=0;oa<S.length;oa++){var Ga=_.Dha(S[oa],":",1);Ga&&2==Ga.length&&(ja[(0,_.Qf)(Ga[0])]=(0,_.Qf)(Ga[1]))}S=_.XMc(ja);ca.call(T,A,S);try{u=_.id(_.Rg(L[2]))?void 0:JSON.parse(L[2])}catch(la){}u=
(n=_.cNc(n,z,A,E,u,void 0,void 0,I&&I.toString()))?_.wL(n):{headers:A,text:E,json:u||void 0}}else u=new _.Sb("Could not extract HTTP status code and text.",_.sL(_.fr(new _.Rb,E),16))}r.call(p,u)}return k}).then(null,function(e){e=_.wL(e);return _.fKc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].lj,k=e[f];k instanceof _.Rb||k instanceof _.Sb?h.reject(_.wL(k)):h.resolve(k)}})};
var QSc=function(){_.hj.apply(this,arguments)};_.N(QSc,_.hj);QSc.prototype.getAllResponseHeaders=function(){return _.uha(_.hj.prototype.getAllResponseHeaders.call(this))};
var RSc=function(a,b){this.ha=a;this.W=b;this.V={};this.H={}};_.g=RSc.prototype;_.g.mh=function(a,b){try{this.ha.vc(a,b);var c=new QSc;c.lC=!0;var d=b.requestId||"",e=_.di();c.listen("complete",this.A5a.bind(this,c,e,d,b.mya,4==a.Cm));d&&b.iCa&&!b.bL&&(this.V[d]=c,this.H[d]=b,c.Fb=!0,c.listen("uploadprogress",(0,_.v)(this.Ptb,this,b)),b.XMa||c.listen("downloadprogress",(0,_.v)(this.Lpb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.$h(_.wL(f))}};
_.g.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.isActive()?(a.$ja=!0,b.abort(),!0):!1};_.g.A5a=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:_.Wka(a),text:a.Uk()};if(!d)try{c.json=_.kj(a)}catch(f){}d=_.cNc(a.Gb(),_.Tka(a),c.headers,c.text,c.json,a.V,_.Xka(a),String(a.va),e);a.dispose();d?b.reject(_.wL(d)):b.resolve(c)};_.g.Ptb=function(a,b){b.lengthComputable&&this.W.notify([a.iCa],a.XMa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Lpb=function(a,b){b.lengthComputable&&this.W.notify([a.iCa],b.loaded/b.total/2+.5)};
_.SSc=function(a,b,c,d,e,f,h){this.W=a;this.ta=b;this.Ea=c;this.Ba=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.va=new xSc(this.W);this.ka=new RSc(this.W,this.ta)};_.g=_.SSc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].$t;this.V.push(f);c.push(this.Ea.xC(f,a[e].qx));d.push(uRc(f.request)?_.yRc(this.ma,f.request):void 0)}if(this.H&&this.H.V){var h=Promise.reject(_.wL(_.cNc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new NSc(this.W,this.ka,this.va);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(p,r){var u=k.add(r,p);u.then(b.nDb.bind(b,r.Cm,p.xy),function(){});return u}.bind(this,a[f].$t.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].$t;var n=e[f].then(this.kib.bind(this,l.request,d[f],a[f].qx)).then(null,function(p){return Promise.reject(_.wL(p))});n.then(this.qIa.bind(this,l),this.qIa.bind(this,l));c.push(n)}return c};_.g.kib=function(a,b,c,d){a=this.Ba.xC(a,d,c);b&&_.zRc(b,a.Id?a.Id():[]);return a};_.g.nDb=function(a,b){a=!b&&_.pa(TSc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.state.isConnected()||a)c=sRc(b,c),a&&c&&_.mRc(b)}else this.ha&&a&&this.ha.va()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.uH=function(){return this.V.some(function(a){return _.qM(a.request)})};_.g.qIa=function(a){_.va(this.V,a)};var TSc=[0,2,4,7,8];
_.USc=function(){};_.USc.prototype.execute=function(){return null};
var VSc;VSc=function(a){this.H=a};_.kN=function(a,b){if(!_.Da(b))throw new _.Sb("Expected an object, but got a "+_.kfa(b)+".",_.uL(11,void 0,8));var c=b.kind;if(!c)throw new _.Sb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.uL(11,void 0,21));if(!a.includes(c))throw new _.Sb("Expected "+a.join(" or ")+" but got a "+c+".",_.uL(11,void 0,9));};_.lN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.WSc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.fOc(new _.fl,a.canAddChildren);c=_.B(c,18,a.canChangeTeamDriveBackground);c=_.B(c,2,a.canComment);c=_.B(c,3,a.canCopy);b=_.oOc(_.jOc(_.pOc(_.qOc(_.rOc(_.nOc(_.mOc(_.iOc(_.hOc(_.gOc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.B(b,13,a.canRenameTeamDrive);b=_.sOc(_.lOc(_.kOc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.B(b,27,a.canModifyContentRestriction);b=_.B(b,26,a.canShareOutsideDomain);b=_.vOc(_.uOc(_.tOc(_.B(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.B(b,34,a.canDeleteChildren);b=_.B(b,35,a.canTrashChildren);b=_.B(b,36,a.canRequestApproval);b=_.B(b,37,a.canReadCategoryMetadata);b=_.B(b,38,a.canEditCategoryMetadata);b=_.B(b,39,a.canChangeCategoryReferences);b=_.B(b,49,a.canSetMissingRequiredFields);
b=_.B(b,40,a.canAddMyDriveParent);b=_.B(b,41,a.canRemoveMyDriveParent);b=_.xOc(_.wOc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.B(b,44,a.canRead);b=_.AOc(_.zOc(_.yOc(_.B(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.B(b,50,a.canChangeSecurityUpdateEnabled);b=_.B(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.B(b,52,a.canCreateDecryptedCopy);return _.B(b,53,a.canCreateEncryptedCopy)};
_.mN=function(a,b){_.kN(["drive#user"],b);var c=_.dOc(_.eOc(_.bOc(1).Tb(b.permissionId),b.id).qd(b.displayName),b.emailAddress);b.picture&&c.Qm(b.picture.url);_.ZK(a.H)&&_.dOc(c,b.emailAddressFromAccount||b.emailAddress);_.cOc(c,a.Cf(b.id));_.B(c,9,b.domain);return c};VSc.prototype.Cf=function(a){if(a)return _.GM(_.UK(this.H))==a};
var XSc,cTc,rTc,$Sc,hTc,gTc,iTc,kTc,mTc,ZSc,oTc,nTc,pTc,qTc,sTc,tTc,jTc;XSc=function(a,b){this.H=a;this.V=b};
_.aTc=function(a,b,c){var d=new _.dN,e=new _.$A,f=e.uv;_.kN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.YSc(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var n=_.YSc(a,k[l]);h.push(n)}e=f.call(e,h);e=_.B(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.kN(["drive#fileList"],b);if(h=b.spellResponse){f=[];var p=h.spellCorrections;for(h=0;h<p.length;h++){k=p[h].spellFragments;a=[];for(l=0;l<k.length;l++){n=k[l];var r=(new _.hnb).Ec(ZSc[n.status]);
r=_.B(r,1,n.original);n=_.B(r,3,n.correction);a.push(n)}k=new _.lnb;a=_.jb(k,1,a);f.push(a)}p=new _.nnb;_.jb(p,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.jnb;_.B(u,1,f||[])}p||u?(f=new _.onb,p&&_.y(f,1,p),u&&_.y(f,2,u),u=f):u=null;_.y(e,7,u);_.bPc(e,$Sc(b))}d=_.ARc(d,e);c=_.ZMc(c);c=_.B(d,2,c);b.nextPageToken&&_.B(c,3,b.nextPageToken);return c};
cTc=function(a,b,c,d,e){_.kN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.FPc(new _.pM,c);"drive#adminFile"==b.kind?(_.kN(["drive#adminFile"],b),c=(new _.ml).Tb(b.id),b.parentId&&_.zM(c,[b.parentId]),_.QOc(c,b.teamDriveId),f.setItem(c),_.FPc(f,c.getId())):"drive#file"==b.kind?(b=_.YSc(a,b),f.setItem(b),c||_.FPc(f,b.getId())):"drive#revision"==b.kind&&(b=_.bTc(a,b),_.y(f,4,b));f.T$(_.YMc(d));f.G$(_.ZMc(d));(d=(d=d&&_.XMc(d))&&d["x-server-object-version"])&&e&&(e=(new _.LM).Tb(d),_.y(f,
4,e));f.Ec(1);return f};_.dTc=function(a,b){return _.FPc(new _.pM,a).Ec(1).T$(_.YMc(b)).G$(_.ZMc(b))};_.fTc=function(a,b,c,d){d||_.kN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.eTc(a,b[c],d);f&&e.push(f)}return e};
_.eTc=function(a,b,c){c||_.kN(["drive#permission"],b);c=_.cOc(_.eOc(_.bOc(gTc[b.type]).Tb(b.id),b.userId),a.H.Cf(b.userId));c=_.B(c,4,b.withLink);c=_.dOc(c.qd(b.name).Qm(b.photoLink),b.emailAddress);c=_.B(c,9,b.domain);c=_.B(c,10,b.deleted);c=_.B(c,12,b.audienceId);c=_.B(c,13,b.customerId);c.getId()||c.Tb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.ZK(a.V)&&c.qd(b.nameIfNotUser);a=hTc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.B(c,6,a);
return c};
_.YSc=function(a,b){_.kN(["drive#file"],b);var c=b.title,d=(new _.ml).Tb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.OOc(_.KOc(_.LK(_.zM(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.B(c,90,Number(b.thumbnailVersion));_.B(c,21,b.iconLink);c.wl(b.description);_.LOc(c,b.explicitlyTrashed);_.B(c,22,b.shared);null!=b.quotaBytesUsed&&_.B(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.B(c,14,Number(b.fileSize));_.B(c,
30,b.copyable);b.labels&&(d=b.labels,c.cu(d.starred),_.B(c,6,d.hidden),c.nn(d.trashed),_.HOc(c,d.restricted),_.B(c,9,d.viewed));_.B(c,10,_.lN(b.createdDate));_.B(c,69,_.lN(b.serverCreatedDate));_.hKc(c,_.lN(b.modifiedDate));_.B(c,12,_.lN(b.modifiedByMeDate));_.B(c,13,_.lN(b.lastViewedByMeDate));_.B(c,23,_.lN(b.sharedWithMeDate));_.B(c,62,_.lN(b.subscribedDate));_.B(c,70,_.lN(b.recency));b.recencyReason&&_.B(c,71,iTc[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.mN(a.H,
e[f]))&&d.push(h);_.IOc(c,d);b.lastModifyingUser&&(d=_.mN(a.H,b.lastModifyingUser),_.JOc(c,d));b.userPermission&&_.iKc(c,hTc[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.wM).Yg(e.width).Tg(e.height),d=_.B(d,4,e.rotation),e.date&&(e=e.date,f=new _.fMc,f.setMilliseconds(0),jTc.parse(e,f),_.B(d,1,f.getTime())),_.y(c,27,d));null!=b.folderColor&&_.NOc(c,Number(b.folderColor));_.MOc(c,b.subscribed);_.B(c,45,b.fileExtension);_.B(c,50,b.folderFeatures||[]);_.B(c,36,b.flaggedForAbuse);
_.B(c,53,b.gplusMedia);_.B(c,46,b.primarySyncParentId||void 0);_.B(c,35,b.hasChildFolders);b.source&&(_.B(c,42,b.source.client_service_id),_.B(c,43,b.source.value));b.sharingUser&&(d=_.mN(a.H,b.sharingUser),_.y(c,47,d));b.sources?_.B(c,56,b.sources||[]):b.gplusMedia&&_.B(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.dKc[h]&&(h=_.Ge(new _.Fe,_.dKc[h]),e.push(h));c.QB(e)}_.B(c,63,b.ownedByMe);_.B(c,29,b.shareable);b.sourceAppId&&_.B(c,61,b.sourceAppId);_.B(c,74,
b.changed);null!=b.recursiveFileSize&&_.B(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.B(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 _.Yma).Tb(h.id);h=_.B(k,2,kTc[h.type]);e.push(h)}_.jb(c,83,e)}b.capabilities&&_.AM(c,_.WSc(b.capabilities));b.permissionsSummary&&_.ROc(c,_.lTc(a,b.permissionsSummary));b.headRevisionId&&_.B(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.xM).wl(d.description),
e=_.B(e,3,mTc[d.galleryState]),d=_.B(e,2,d.category||[]),_.y(c,86,d));_.QOc(c,b.teamDriveId);_.B(c,76,b.hasAugmentedPermissions);_.B(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.mN(a.H,b.creator),_.y(c,91,d));_.SOc(c,b.primaryDomainName);_.TOc(c,b.organizationDisplayName);_.B(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.mN(a.H,b.trashingUser),_.y(c,95,d));c.Z$(_.lN(b.trashedDate));b.version&&_.B(c,75,Number(b.version));_.B(c,98,b.hasVisitorPermissions);_.B(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.B(c,101,nTc[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.yM).Yg(d.width).Tg(d.height),d.durationMillis&&_.B(e,3,Number(d.durationMillis)),_.y(c,103,e));_.B(c,104,b.detectors||[]);_.B(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.COc(_.BOc(new _.hl,f.readOnly),f.reason),d.push(f);_.jb(c,125,d)}if(d=b.publishingInfo)_.B(c,118,d.published),_.B(c,119,d.publishedUrl);
_.B(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.B(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.el).Tb(f.approvalId).Ec(oTc[f.status]),d.push(f);_.jb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.gna,e=_.B(e,1,d.targetId),e=_.B(e,3,d.targetMimeType),e=_.B(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.B(e,4,pTc[d.targetLookupStatus]||0),d.targetFile&&(d=_.YSc(a,d.targetFile),_.y(e,5,d)),_.y(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.uM,e=_.B(e,1,qTc[d.encryptionState]),d.decryptionMetadata&&(d=rTc(d.decryptionMetadata),_.y(e,2,d)),_.y(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Zma,e=_.B(e,2,d.securityUpdateEligible),e=_.B(e,3,d.securityUpdateEnabled),d=_.B(e,5,d.securityUpdateExplicitlySet),_.y(c,139,d));_.B(c,140,b.resourceKey);_.B(c,135,b.authorizedAppIds||
[]);_.B(c,136,b.customerId);_.vNc(c);_.ZK(a.V)&&_.POc(c,5);return c};_.bTc=function(a,b){_.kN(["drive#revision"],b);var c=(new _.LM).Tb(b.id);c=_.B(c,2,b.mimeType);c=_.B(c,3,_.lN(b.modifiedDate));c=_.B(c,4,b.pinned);c=_.B(c,5,b.downloadUrl);c=_.B(c,7,b.originalFilename);null!=b.fileSize&&_.B(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.mN(a.H,b.lastModifyingUser),_.y(c,9,a));b.decryptionMetadata&&(b=rTc(b.decryptionMetadata),_.y(c,10,b));return c};
_.lTc=function(a,b){a=_.FOc(_.EOc(_.DOc(new _.bna,b.entryCount),_.fTc(a,b,"visibility",!0)),_.fTc(a,b,"selectPermissions",!0));a=_.B(a,4,b.memberCount);a=_.B(a,5,b.userEntryCount);return _.B(a,6,b.groupEntryCount)};rTc=function(a){var b=a.wrappedKey;var c=new _.vM;b=b?_.lPc(b):void 0;c=_.B(c,1,b);c=_.B(c,2,Number(a.kaclsId));c=_.B(c,5,a.kaclsName);c=_.B(c,3,sTc[a.aes256GcmChunkSize]);c=_.B(c,6,tTc[a.keyFormat]);return _.B(c,4,a.jwt)};
$Sc=function(a){_.kN(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};hTc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};gTc={anyone:4,audience:5,domain:3,group:2,user:1};iTc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};kTc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};mTc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};ZSc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
oTc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};nTc={docs:1,sheets:2,slides:3};pTc={ok:1,notFound:2,permissionDenied:3};qTc={unencrypted:1,encrypted:2};sTc={unset:0,"default":1,small:2,size16kb:3};tTc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};jTc=new _.ZTa("yyyy:MM:dd HH:mm:ss");
var xTc;_.uTc=function(a){this.W=new VSc(a);this.lD=new XSc(this.W,a)};_.uTc.prototype.xC=function(a,b,c){c=void 0===c?[]:c;try{return vTc(this,a,b,c)}catch(d){_.xL(d)}};
var vTc=function(a,b,c,d){var e=a.ka(b,c);if(e)return e;if(b instanceof _.EL)return _.wTc(a,b,c);if(b instanceof _.NL)return xTc(0,c,d);if(b instanceof _.ap){if(!c.json)throw _.nN();return _.aTc(a.lD,c.json,c.headers)}if(b instanceof _.mM)return _.wTc(a,b,c);if("undefined"!=typeof _.FNc&&b instanceof _.FNc){if(!c.json)throw _.nN();a=c.json;return new _.SPc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.yTc&&b instanceof _.yTc){if(!c.json)throw _.nN();
return _.bTc(a.lD,c.json)}if(b instanceof _.aM)return xTc(b.Ad(),c,d);if(b instanceof JNc){if(b.W){if(!c.json)throw _.nN();a=cTc(a.lD,c.json,null,c.headers,!!b.revisionId)}else a=_.dTc(null,c.headers);return a}if(b instanceof INc){a=_.XMc(c.headers);b=a.location;if(!b)throw a=_.sL(new _.Rb,10),new _.Sb("No upload session URI included.",a);return new TPc(b,_.YMc(a),_.ZMc(a))}if(b instanceof _.NNc)return new UPc;throw new _.Sb("FromXhrConverter: Unsupported request type.",new _.Rb);};
_.uTc.prototype.ka=function(){return null};xTc=function(a,b,c){return"base64"==b.headers["x-goog-safety-encoding"]?new VPc(_.taa(b.text),c.length):new VPc(new Uint8Array(_.jla(b.text)),c.length)};_.wTc=function(a,b,c){if(!c.json){if(b instanceof _.mL)return _.dTc(_.zTc(b));throw _.nN();}var d=!1;b instanceof _.mM&&(d=!!_.C(b.request,12));return cTc(a.lD,c.json,_.zTc(b),c.headers,d)};_.nN=function(){var a=_.sL(new _.Rb,11);return new _.Sb("FromXhrConverter: JSON required, but none found",a)};
_.zTc=function(a){return a.getId?a.getId():a.Oc?a.Oc():null};
var DTc,ETc,GTc,ATc,HTc,BTc;
DTc=function(a,b){var c={};_.id(_.Rg(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Oc()&&_.$da(a.getMimeType())&&b)){var d=b.V(),e=b.H(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Ej(b.ka()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=ATc[d?d.H():0],h.keyFormat=BTc[e?e.H():0],h);c.clientEncryptionDetails=f}_.CTc(c,_.Hd(a,3));(b=a.Oc())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));a.OZ()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.OZ());"number"===typeof _.C(a,26)&&(c.modifiedDate=_.aPc(_.ZPc(_.C(a,26)||0)));return c};_.CTc=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)}}};ETc={};_.FTc=(ETc[1]="active",ETc[2]="archived",ETc);GTc={};ATc=(GTc[0]="unset",GTc[1]="default",GTc[2]="small",GTc[3]="size16kb",GTc);HTc={};BTc=(HTc[0]="unsetKeyFormat",HTc[1]="tinkKeyset",HTc[2]="tinkAesGcmKey",HTc);
var KTc=function(a,b){return(a.FN?a.FN(0,a.file.size):Promise.resolve(a.file)).then(function(c){return aSc(c)}).then(function(c){return ITc(a,b,c)},JTc)},ITc=function(a,b,c){var d=!!_.C(a.request,12),e="files";d&&(e+="/"+_.C(a.request,12));e=new _.lj(e);_.vj(e,"uploadType","multipart");_.vj(e,"supportsTeamDrives",!0);_.vj(e,"pinned",!!_.F(a.request,13,!1));null!=_.H(a.request,8)&&_.vj(e,"convert",_.H(a.request,8));_.vj(e,"fields",_.qNc({fields:_.OM(b).filter(function(n){return 194!=n}),qz:!1}));xNc(e,
a.request.Ae());var f=DTc(a.request,a.metadata),h=_.Sg();b={};b=(b["content-type"]=_.Rx('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.getMimeType()&&(l["content-type"]=a.request.getMimeType());a="--"+h;a=a+"\r\n"+wNc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+wNc(l)+"\r\n"+c+"\r\n"+a+"--";return{Cm:2,headers:b,method:d?"PUT":
"POST",uri:e,body:a}},JTc=function(a){if(a instanceof _.grb){var b=new _.Rb;_.er(b,"fs.Error: "+a.message);a=(a=a.name)?_.EEa.get(a)||25:38;_.sL(b,a);a=_.wL(b)}return Promise.reject(a)};
var ZNc=function(a,b){a.length&&(a=_.oA(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};
_.oN=function(a,b,c,d){this.H=a;this.lm=b;this.V=c;this.Vd=d};_.oN.prototype.xC=function(a,b){try{return a.request instanceof _.mM?KTc(a.request,this.lm):Promise.resolve(this.W(a.request,a.config,b))}catch(c){return c instanceof _.Sb?a=c.hh:(a=new _.Rb,_.er(a,"Error converting XHR: "+c.message),_.fr(a,c.stack),_.sL(a,4)),Promise.reject(a)}};
_.oN.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.EL){h=(e=!!_.C(a,12))?"PUT":"POST";var p="files";e&&(p+="/"+_.C(a,12),k.pinned=!!_.F(a,13,!1));null!=_.H(a,8)&&(k.convert=_.H(a,8));k.fields=_.qNc({fields:this.Lg(c),qz:_.tL(_.UK(this.H)),SN:_.ZK(this.H)});e=DTc(a);f["content-type"]="application/json";var r=a.Ae();n=!0;_.NM(k);_.LTc(this.H,k);_.sM(this.H,_.vk(a,_.Al,28),_.Hd(a,3).concat([_.C(a,16),a.OZ(),a.Oc()]),this.V,f)}else if(a instanceof _.NL||a instanceof
_.aM)a instanceof _.aM?(l=a.Ad(),_.bk(a,2)&&(p="bytes="+_.C(a,2)+"-",_.bk(a,3)&&(p+=_.C(a,3)),f.range=p)):l=a,p="files/"+l.getId(),_.C(l,2)&&(k.revisionId=_.C(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.sM(this.H,[_.Bl((new _.Al).Tb(l.getId()),_.C(l,3))],[l.getId()],this.V,f),n=l=!0;else if(a instanceof _.ap)n=a.Ql()[0],p="files/"+n,r=_.xa(this.Lg(c),this.Lg(c,a.H())),_.Fa(r),k.fields=_.qNc({fields:r,qz:_.tL(_.UK(this.H)),SN:_.ZK(this.H)}),_.NM(k),_.MTc(this.H,k),_.NTc(this.H,
k),this.ha(n,k),r=a.Ae(),n=!0,_.H(a,7)&&(b.mya=!0),_.sM(this.H,_.vk(a,_.Al,11),a.Ql(),this.V,f);else if("undefined"!=typeof _.FNc&&a instanceof _.FNc)p="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.yTc&&a instanceof _.yTc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",p="files/"+a.id+"/revisions/"+a.revisionId,n=l=!0;else if(a instanceof JNc){d=4;h="PUT";p=
a.ha;a.contentType&&(f["content-type"]=a.contentType);if(a.V>=a.H){var u=a.H;b=a.V;f["content-range"]=a.W?_.Rx("bytes %d-%d/%d",u,b,b+1):_.Rx("bytes %d-%d/*",u,b)}u=a.blob;n=!0}else a instanceof INc?(d=2,h=(e=!!_.C(a.request,12))?"PUT":"POST",p="files",e&&(p+="/"+_.C(a.request,12)),k.uploadType="resumable",k.pinned=!!_.F(a.request,13,!1),null!=_.H(a.request,8)&&(k.convert=_.H(a.request,8)),k.fields=_.qNc({fields:this.Lg(c).filter(function(z){return 194!=z}),qz:_.tL(_.UK(this.H)),SN:_.ZK(this.H)}),
_.NM(k),e=DTc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.sM(this.H,[],_.Hd(a.request,3),this.V,f),r=a.request.Ae(),n=!0):a instanceof _.NNc?(p="about",k.fields="kind",r=a.H,n=!0):_.OTc(a);n&&_.PTc(c,k);0!=d||l||r&&_.C(r,1)||_.VQc(this.Vd,74438989);return _.QTc(d,p,k,f,h,r,e,u)};
_.QTc=function(a,b,c,d,e,f,h,k){b=new _.lj(b);[10,12,13].includes(a)||xNc(b,f);c=_.m(Object.entries(c));for(f=c.next();!f.done;f=c.next()){var l=_.m(f.value);f=l.next().value;l=l.next().value;_.wj(b,f,l)}return{Cm:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.MTc=function(a,b){_.F(a.Pf(),23,!1)&&(b.includePermissionsForView="published")};_.oN.prototype.ha=function(){};_.NTc=function(a,b){_.F(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};
_.LTc=function(a,b){_.F(a,3,!1)&&(b.enforceSingleParent=!0)};_.PTc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ha(a).CKb):b.retryCount=0};_.oN.prototype.Lg=function(a,b){b||(b=_.OM(this.lm));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return DPc.includes(c)}));return b};_.OTc=function(a){var b=_.sL(new _.Rb,4);throw new _.Sb("ToXhrConverter: Unsupported request type: "+PNc(a),b);};
_.pN=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.W=a;this.ha=b;this.Ba=c;this.ka=d;this.Ia=e;this.va=f;this.H={};this.Ea={};this.Vd=null;_.ae(this,function(){h.PR()})};_.N(_.pN,_.Q);_.pN.prototype.nY=function(){return _.Tg()};
_.pN.prototype.upload=function(a,b,c,d){xRc(this.ha,"UploadTotalCount");var e=a.Sj();if(e&&this.H[e])throw new _.Sb("Upload requested with a duplicate request ID.");var f=_.Hd(a,10);if(f&&f.length){if(1!=f.length)throw new _.Sb("Multi-parented uploads are not supported.");var h=this.H[f[0]];if(!h)throw new _.Sb("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);e||(e=this.nY(),_.B(a,9,e));a=_.Ek(a);f=RTc(this,e);this.H[e]={request:a,file:b,
kg:f,bK:!1,PP:0,success:!1,FJ:!1,children:[],metadata:c,mia:void 0,FN:d};h?STc(this,e,h):this.ma(e);return f.km()};
var RTc=function(a,b){var c=new _.gi;c.Zf(_.Wa(a.Ma,b),_.Wa(a.Ka,b),a);return c},STc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.Fa(c.children);c.kg.then(function(f){if(1==f.Gb()&&(f=f.Oc(),_.Hd(e.request,3).push(f),_.$G(e.request,10),!c.FJ||d)){a.ma(b);return}TTc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.kg.Ud(_.YK(f)?f:Error(f))})};
_.pN.prototype.Ma=function(a,b){xRc(this.ha,"UploadSuccessCount");a=this.H[a];a.success=1==b.Gb();(b=a.mia)&&!a.FJ&&(xPc(zPc(tQc(b),a.PP),!0),b.xk())};_.pN.prototype.Ka=function(a,b){var c=_.D(this.W,_.aNc,58);c&&_.F(c,1,!1)&&(this.Ea[a]=b);xRc(this.ha,"UploadFailureCount");c=this.H[a];(a=c.mia)&&!c.FJ&&(xPc(zPc(tQc(a),c.PP),!1),b=(c=b&&b.hh)&&c.Qj(),c=c&&c.$o(),b?yPc(tQc(a),UTc.get(b)||13):c&&yPc(tQc(a),VTc.get(c)||0),a.xk())};
_.pN.prototype.ma=function(a){var b=this.H[a];if(!b.bK){b.bK=!0;a=this.H[a];var c=a.request,d=_.D(this.W,_.aNc,58);d&&_.F(d,4,!1)&&(d=c.getTitle().match(WTc))&&(!d[1]||a.PP<Number(d[1].substr(1)))&&(c=_.Ek(c),_.ta(_.Hd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.JC())?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.Pf();d=_.gk(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.va&&3!=d){var f=this.va.V(106012);if(f){b.mia=f;f=tQc(f);f=_.B(f,1,2==d?2:1);f=_.B(f,4,!!b.metadata);var h=
!!_.C(a,12);f=_.B(f,5,h);e=_.B(f,6,e);c=_.gk(c,32,1073741824);_.B(e,7,c)}}switch(d){case 2:b.file&&XTc(this,new _.KNc(a,b.file,b.FN,b.metadata),b.kg,a.Sj());break;case 1:b.file&&(c=b.kg,d=b.file,e=b.metadata,b=b.FN,f=_.D(this.W,_.aOc,2),XTc(this,new _.mM(a,d,b,f&&_.tM(f)?e:void 0),c,a.Sj()));break;case 3:XTc(this,a,b.kg,a.Sj());break;default:throw new _.Sb("Upload type ${uploadType} not supported.");}}};
var XTc=function(a,b,c,d){aRc(a.Ba,d,a.ta.bind(a,d));_.ei(a.ka.then(function(e){return e.lh(b,{requestId:d})}).then(null,function(e){return YTc(a,b,e)}),function(){bRc(a.Ba,[d])}).then(c.callback,c.Ud,c)},YTc=function(a,b,c){var d=_.wL(c),e=b instanceof _.mM&&b.request.Oc()||"";c=d.hh;if(e&&8==c.Qj()){TTc(a);var f=_.cp(new _.ap,[e]);return _.mi(a.ka.then(function(h){return h.lh(f)}).then(function(h){h=h.Vp().Id()[0];var k=b.request;if(h&&!h.mi()&&(h.getMimeType()||"").replace(/\s/g,"")==(k.getMimeType()||
"").replace(/\s/g,"")&&h.getTitle()==k.getTitle())return TTc(a),_.FPc((new _.pM).setItem(h),e).Ec(1);TTc(a);return _.$h(d)}))}return _.ni(d)};
_.pN.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.FJ||0!=c.children.length))if(c.FJ=!0,c.kg.Bf())TTc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.La(c.children,this.cancel,this);else{var d=c.mia;d&&(yPc(xPc(zPc(tQc(d),c.PP),!1),2),d.xk());var e=_.di();c.bK?this.ka.then(function(f){return void e.resolve(f.cancel(a))}):(c.bK=!0,d=new _.pM,d.Ec(8),c.kg.callback(d),e.resolve(!0));e.promise.then(function(f){return TTc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.pN.prototype.PR=function(){var a=this;_.Tf(this.H,function(b,c){a.cancel(c)})};
_.pN.prototype.retry=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=(_.Hd(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.kg.Bf()||e[k])break;else if(!c.has(k)){e[f]=new _.Sb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ia(h,function(n){var p=b.H[n];p.PP++;if(!e[n])if(!p.kg.Bf()||p.success)e[n]=new _.Sb("Unable to retry request.");else{var r=(_.Hd(p.request,10)||[])[0];e[r]instanceof
_.Sb?e[n]=e[r]:(p.kg=RTc(b,n),p.bK=!1,p.FJ=!1,(r=r?b.H[r]:null)?STc(b,n,r,!0):d.push(n),e[n]=p.kg.km())}})}else e[f]=new _.Sb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.gi?f:_.ni(f)});_.La(d,this.ma,this);return a};var TTc=function(a){a.isDisposed()};_.pN.prototype.Ad=function(a){return this.H[a]};var WTc=/^uploadTestFailMe(\.[1-9])?$/,VTc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),UTc=new Map([[3,14]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15l");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15m");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15n");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15i");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy15o");
var ZTc=function(a,b){this.V=a;this.H=null;this.W=b};ZTc.prototype.get=function(a){return $Tc(this)[a]||null};ZTc.prototype.set=function(a){$Tc(this)[this.W(a)]=a;this.V=null};var $Tc=function(a){a.H||(a.H=_.maa(a.V,a.W));return a.H};
_.qN=function(a,b){this.H=a;this.V=b};
_.qN.prototype.ky=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!aUc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.NJ(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.PJ(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&aUc(this,a[d],b[e]);d--,e--);e=a.length-1-d;var f=a.length-e;d=a.slice(c,f);f=b.length-e;e=
b.slice(c,f);var h,k=[];for(f=0;f<d.length+1;f++)k[f]=[],k[f][0]=0;for(h=0;h<e.length+1;h++)k[0][h]=0;for(f=1;f<=d.length;f++)for(h=1;h<=e.length;h++)aUc(this,d[f-1],e[h-1])?k[f][h]=k[f-1][h-1]+1:k[f][h]=Math.max(k[f-1][h],k[f][h-1]);var l=[];f=d.length;for(h=e.length;0<f||0<h;)0<f&&0<h&&aUc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.PJ(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.NJ(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.V(this.H.lK(d[f])),void 0!==e[h]){h=e[h];l=d[h];var n=d[f];k=1==l.getType()?l:n;l=2==l.getType()?l:n;n=k.Uh()||0;n>(l.Uh()||0)&&--n;if(k=this.H.MG(this.H.lK(k),l.Uh()||0,n))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];n=l.Uh()||0;var p=l.Qw()||0;l.setPosition((l.Uh()||0)+bUc(e,l.Uh()||0));d[f].setPosition((d[f].Uh()||0)+c);3==d[f].getType()&&(l.tx((l.Qw()||0)+bUc(e,l.Qw()||0)),d[f].tx((d[f].Qw()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,
start:n,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,start:n,end:Number.MAX_VALUE};break b;case 3:l=n>p?{offset:-1,start:p,end:n}:{offset:1,start:n,end:p};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new ZTc(a,this.V);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.V(f)))&&!_.Dk(h,f)&&d.push(this.H.KN(f,e));return c.concat(d)};var bUc=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},aUc=function(a,b,c){return a.V(b)==a.V(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.cUc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.cUc,_.M);_.g=_.cUc.prototype;_.g.getType=function(){return _.C(this,1)};_.g.getItem=function(){return _.D(this,_.ml,2)};_.g.setItem=function(a){return _.y(this,2,a)};_.g.Qw=function(){return _.C(this,3)};_.g.tx=function(a){return _.B(this,3,a)};_.g.Uh=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.B(this,4,a)};_.dUc=function(a){var b=new _.cUc;return _.B(b,1,a)};_.t("sy15p");
var eUc=function(){};_.g=eUc.prototype;_.g.PJ=function(a,b){return _.dUc(1).setItem(a).setPosition(b)};_.g.NJ=function(a,b){return _.dUc(2).setPosition(b).setItem(a)};_.g.MG=function(a,b,c){return _.dUc(3).tx(b).setPosition(c).setItem(a)};_.g.KN=function(a,b){return _.dUc(4).setItem(a).setPosition(b)};_.g.lK=function(a){return a.getItem()};
var gUc;_.fUc=function(){_.qN.call(this,new eUc,function(a){return a.getId()})};_.N(_.fUc,_.qN);_.hUc=function(){gUc||(gUc=new _.fUc);return gUc};

_.w();

}catch(e){_._DumpException(e)}
try{
_.rN=function(a,b){return _.B(a,33,b||[])};_.sN=function(a,b){return _.B(a,45,b)};_.iUc=function(a,b){return _.B(a,5,b)};_.Tb=function(a){_.ui.call(this,_.Jc);this.error=a};_.N(_.Tb,_.ui);_.t("sy15q");
_.jUc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var kUc;kUc=[1];_.tN=function(a){_.R(this,a,0,-1,kUc,null)};_.O(_.tN,_.M);_.tN.prototype.H=function(){return _.Hd(this,1)};_.t("sy15k");
_.uN=function(a){_.R(this,a,0,-1,lUc,null)};_.O(_.uN,_.M);var lUc=[2];_.uN.prototype.Gb=function(){return _.C(this,1)};_.uN.prototype.Ec=function(a){return _.B(this,1,a)};_.uN.prototype.yk=function(){return _.vk(this,_.ml,2)};_.mUc=function(a,b){return _.jb(a,2,b)};_.uN.prototype.nq=function(a,b){return _.Bk(this,2,a,_.ml,b)};_.uN.prototype.yf=function(){return _.C(this,4)};_.nUc=function(a,b){return _.B(a,4,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.vN=function(a,b){_.B(a,1,b)};_.t("sy15s");

_.w();

}catch(e){_._DumpException(e)}
try{
_.oUc=function(a){return _.Ud(a).Lg(_.F(a.get(_.rq),19,!1)?_.$Jc:_.Sd)};_.t("sy15v");

_.w();

}catch(e){_._DumpException(e)}
try{
var pUc,qUc,rUc,sUc,tUc,uUc,vUc,wUc,xUc,yUc,AUc,BUc,CUc,DUc,EUc,xN,JUc,KUc,yN,zN,LUc,MUc,OUc,PUc,QUc,SUc,TUc,VUc,WUc,XUc,YUc,ZUc,aVc,cVc,eVc,hVc,kVc,nVc,oVc,pVc,qVc,rVc,sVc,tVc,vVc,wVc,xVc,yVc,BVc,AVc,EVc,GVc,IVc,KVc,OVc,QVc,RVc,SVc,TVc,UVc,VVc,$Vc,aWc,bWc,cWc,dWc,eWc,GUc,AN,FUc,HUc,IUc,vXc,wXc,IN,AXc,HXc,OXc,PXc,QXc,zVc,TXc,UXc,VXc,WXc,XXc,qYc,sYc,tYc,uYc,vYc,wYc,KN,xYc,yYc,zYc,AYc,BYc,CYc,DYc,EYc,FYc,LN,IYc,JYc,KYc,MN,uVc,LYc,MYc,JZc,TZc,UZc,VZc,WZc,ZZc,a_c,k_c,n_c,o_c,v_c,w_c,F_c,W_c,Y_c,a0c,e0c,
l0c,p0c,v0c,N0c,P0c,Q0c,f1c,g1c,NVc,h1c,i1c,bVc,b2c,r6c,s6c,t6c,u6c,v6c,w6c,x6c,y6c,z6c,A6c;pUc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Hd(a,3),Convert:_.H(a,8),ID:a.Sj()};var b=[];_.Tf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
qUc=function(a){var b=[];b.push(pUc(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.PP&&b.push("# of retries by client: "+a.PP);var d="";a.bK?a.kg.Bf()?a.kg.Zf(function(){d="Completed successfully."},function(e){d=e instanceof _.hi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
rUc=function(a,b,c,d,e,f){var h=_.Rx("Drive Upload Report: %d/%d failed",_.Xf(f),_.Xf(e));a=a.Pf();d.push("Batch query interval: "+_.gk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.gk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.gk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.gk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.gk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Tf(e,function(n){l.push(qUc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.RPc(b)});_.Tf(f,function(n,p){var r=k.push;p=e[p].request;p=_.Rx('ErrorResponseFor"%s"(ID:%s).txt',p.getTitle()||"",p.Sj()||"");var u=n.hh;u=u?_.C(u,4):"No detail.";r.call(k,{name:p,content:n.toString()+"\n"+u})});return{title:h,description:d,UX:k,Ld:152391,nga:c,q5:361003}};sUc=function(a){return Array.prototype.concat.apply([],arguments)};tUc=function(a,b,c){c=_.Ia(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
uUc=function(a){return String.fromCharCode(10>a?48+a:87+a)};vUc=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]=uUc(d>>4);b[2*c+3]=uUc(d&15)}return b.join("")};wUc=function(a){var b=new _.$p;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.yL(a,!0,"file"));a.i4&&(b.append(",teamDriveId,teamDrive("),b.append(a.i4),b.append(")"));b.append(")");return b.toString()};
xUc=function(a){var b=new _.$p;b.append("kind,nextPageToken,items(");b.append(_.yL(a,!0));b.append("),incompleteSearch");a.i4&&(b.append(","),b.append(a.i4));return b.toString()};
yUc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.Rd(),h=_.D(d,_.uM,138),k=_.D(d,_.hl,111),l=_.D(d,_.wM,27),n=_.rl(d),p=d.Qf(),r=d.Fh(),u=_.D(d,_.yM,103);switch(e){case 74:_.nk(d,83);break;case 188:_.lk(d,137);break;case 149:_.$G(d,128);break;case 148:_.nk(d,127);break;case 138:_.lk(d,126);break;case 184:_.$G(d,135);break;case 76:f&&_.lk(f,1);break;case 208:f&&_.lk(f,48);break;case 185:f&&_.lk(f,40);break;case 213:f&&_.lk(f,50);break;case 156:f&&_.lk(f,39);break;case 61:f&&_.lk(f,2);
break;case 216:f&&_.lk(f,52);break;case 217:f&&_.lk(f,53);break;case 77:f&&_.lk(f,4);break;case 134:f&&_.lk(f,34);break;case 147:f&&_.lk(f,38);break;case 81:f&&_.lk(f,10);break;case 82:f&&_.lk(f,11);break;case 114:f&&_.lk(f,27);break;case 133:f&&_.lk(f,33);break;case 202:f&&_.lk(f,47);break;case 132:f&&_.lk(f,32);break;case 101:f&&_.lk(f,20);break;case 201:f&&_.lk(f,46);break;case 131:f&&_.lk(f,31);break;case 200:f&&_.lk(f,45);break;case 130:f&&_.lk(f,30);break;case 93:f&&_.lk(f,17);break;case 191:f&&
_.lk(f,44);break;case 146:f&&_.lk(f,37);break;case 90:f&&_.lk(f,16);break;case 78:f&&_.lk(f,7);break;case 186:f&&_.lk(f,41);break;case 222:f&&_.lk(f,51);break;case 85:f&&_.lk(f,12);break;case 137:f&&_.lk(f,36);break;case 209:f&&_.lk(f,49);break;case 79:f&&_.lk(f,8);break;case 189:f&&_.lk(f,42);break;case 190:f&&_.lk(f,43);break;case 80:f&&_.lk(f,9);break;case 135:f&&_.lk(f,35);break;case 102:f&&_.lk(f,21);break;case 69:_.lk(d,74);break;case 194:h&&_.mk(h,2);break;case 193:h&&_.lk(h,1);break;case 1004:_.lk(d,
108);break;case 136:_.nk(d,125);break;case 115:k&&_.lk(k,1);break;case 116:k&&_.lk(k,2);break;case 34:_.lk(d,30);f&&_.lk(f,3);break;case 9:_.lk(d,10);break;case 91:_.mk(d,91);break;case 43:_.lk(d,42);_.lk(d,43);break;case 187:_.lk(d,136);break;case 26:_.lk(d,24);break;case 108:_.$G(d,104);break;case 41:_.lk(d,40);f&&_.lk(f,5);break;case 42:_.lk(d,41);break;case 1005:_.nk(d,117);break;case 59:f&&_.lk(f,6);break;case 28:_.lk(d,26);break;case 44:_.lk(d,45);break;case 13:_.lk(d,14);break;case 48:_.lk(d,
36);break;case 38:_.lk(d,34);break;case 49:_.$G(d,50);break;case 51:_.lk(d,53);break;case 104:_.lk(d,102);break;case 39:_.lk(d,35);break;case 87:_.lk(d,76);break;case 100:_.lk(d,98);break;case 72:_.lk(d,78);break;case 5:_.lk(d,6);break;case 20:_.lk(d,21);break;case 21:break;case 29:l&&_.lk(l,1);break;case 31:l&&_.lk(l,3);break;case 92:l&&_.lk(l,4);break;case 30:l&&_.lk(l,2);break;case 16:_.mk(d,17);break;case 12:_.lk(d,13);break;case 211:n&&_.lk(n,2);break;case 212:n&&_.lk(n,3);break;case 220:n&&
_.lk(n,5);break;case 157:r&&_.nk(r,8);break;case 3:_.lk(d,4);break;case 11:_.lk(d,12);break;case 10:_.lk(d,11);break;case 50:_.lk(d,49);_.lk(d,51);_.mk(d,81);break;case 18:_.lk(d,19);break;case 95:_.lk(d,93);break;case 58:_.lk(d,63);break;case 14:_.nk(d,15);break;case 103:_.lk(d,101);break;case 1:_.$G(d,2);break;case 96:_.lk(d,94);break;case 1003:_.nk(d,107);break;case 75:_.mk(d,85);break;case 94:_.lk(d,92);break;case 45:_.lk(d,46);break;case 124:_.lk(d,118);break;case 125:_.lk(d,119);break;case 1002:_.mk(d,
100);break;case 32:_.lk(d,28);break;case 67:_.lk(d,70);break;case 68:_.lk(d,71);break;case 73:_.lk(d,79);break;case 71:_.lk(d,77);break;case 221:r&&_.lk(r,9);break;case 210:_.lk(d,140);break;case 7:_.lk(d,8);break;case 122:_.mk(d,109);break;case 66:_.lk(d,69);break;case 33:_.lk(d,29);break;case 24:_.lk(d,22);break;case 25:_.lk(d,23);break;case 46:_.mk(d,47);break;case 192:p&&_.lk(p,6);break;case 159:p&&_.mk(p,5);break;case 154:p&&_.lk(p,1);break;case 158:p&&_.lk(p,4);break;case 155:p&&_.lk(p,3);break;
case 52:_.$G(d,56);break;case 56:_.lk(d,61);break;case 55:_.nk(d,60);break;case 4:_.lk(d,5);break;case 35:_.lk(d,31);break;case 57:_.lk(d,62);break;case 83:_.lk(d,72);break;case 84:_.mk(d,86);break;case 19:_.lk(d,20);_.lk(d,44);_.lk(d,90);break;case 2:_.lk(d,3);break;case 6:_.lk(d,7);break;case 98:_.lk(d,96);break;case 97:_.mk(d,95);break;case 27:_.lk(d,25);break;case 70:_.lk(d,75);break;case 107:u&&_.lk(u,3);break;case 106:u&&_.lk(u,2);break;case 105:u&&_.lk(u,1);break;case 8:_.lk(d,9);break;case 126:_.$G(d,
120);break;default:throw Error("zc`"+e);}}};AUc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Sc(a),_.Sc(zUc)));a=[].concat(_.Sc(_.z4a.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)yUc(b[d],a)}};
BUc=function(a,b){var c=a.Rd()||new _.fl,d=_.D(a,_.uM,138),e=_.D(a,_.hl,111),f=_.D(a,_.wM,27),h=_.rl(a),k=a.Qf(),l=a.Fh(),n=_.D(a,_.yM,103);switch(b){case 74:return 0<a.Jv().length;case 188:return null!=_.H(a,137);case 149:return 0<_.Hd(a,128).length;case 148:return 0<a.ka().length;case 138:return null!=a.V();case 184:return 0<_.Hd(a,135).length;case 76:return null!=_.gl(c);case 208:return null!=_.H(c,48);case 185:return null!=_.H(c,40);case 213:return null!=_.H(c,50);case 156:return null!=_.H(c,
39);case 61:return null!=_.H(c,2);case 216:return null!=_.H(c,52);case 217:return null!=_.H(c,53);case 77:return null!=_.H(c,4);case 134:return null!=_.H(c,34);case 147:return null!=_.H(c,38);case 81:return null!=_.H(c,10);case 82:return null!=_.H(c,11);case 114:return null!=_.H(c,27);case 133:return null!=_.H(c,33);case 202:return null!=_.H(c,47);case 132:return null!=_.H(c,32);case 101:return null!=_.H(c,20);case 201:return null!=_.H(c,46);case 131:return null!=_.H(c,31);case 200:return null!=_.H(c,
45);case 130:return null!=_.H(c,30);case 93:return null!=_.H(c,17);case 191:return null!=_.H(c,44);case 146:return null!=_.H(c,37);case 90:return null!=_.Jd(c);case 78:return null!=_.H(c,7);case 186:return null!=_.H(c,41);case 222:return null!=_.H(c,51);case 85:return null!=_.H(c,12);case 137:return null!=_.H(c,36);case 209:return null!=_.H(c,49);case 79:return null!=_.H(c,8);case 189:return null!=_.H(c,42);case 190:return null!=_.H(c,43);case 80:return null!=_.H(c,9);case 135:return null!=_.H(c,
35);case 102:return null!=_.H(c,21);case 69:return null!=_.H(a,74);case 194:return null!=d&&null!=_.D(d,_.vM,2);case 193:return null!=d&&null!=_.C(d,1);case 1004:return null!=_.H(a,108);case 136:return 0<a.H().length;case 115:return null!=e&&null!=_.H(e,1);case 116:return null!=e&&null!=_.C(e,2);case 34:return null!=_.H(a,30)||null!=_.H(c,3);case 9:return null!=a.zE();case 91:return null!=a.Np();case 43:return null!=_.C(a,42)||null!=_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=
a.yg();case 108:return 0<_.Hd(a,104).length;case 41:return null!=_.H(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.vk(a,_.cl,117).length;case 59:return null!=_.H(c,6);case 28:return null!=a.rG();case 44:return null!=_.C(a,45);case 13:return null!=a.nG();case 48:return null!=_.H(a,36);case 38:return null!=a.Vi();case 49:return 0<_.Hd(a,50).length;case 51:return null!=_.H(a,53);case 104:return null!=_.H(a,102);case 39:return null!=a.Zga();case 87:return null!=_.ol(a);case 100:return null!=
_.H(a,98);case 72:return null!=_.C(a,78);case 5:return null!=a.Pl();case 20:return null!=a.Ze();case 21:return null!=a.getId();case 29:return!(!f||null==_.C(f,1));case 31:return!(!f||null==_.C(f,3));case 92:return!(!f||null==_.C(f,4));case 30:return!(!f||null==f.Fe());case 16:return null!=a.Ep();case 12:return null!=a.CA();case 211:return null!=h&&null!=_.H(h,2);case 212:return null!=h&&null!=_.H(h,3);case 220:return null!=h&&null!=_.H(h,5);case 157:return!(!l||!_.vk(l,_.jl,8));case 3:return null!=
a.getMimeType();case 11:return null!=a.NC();case 10:return null!=a.ys();case 50:return null!=_.H(a,49)||null!=_.H(a,51)||null!=a.Sn();case 18:return null!=a.Tp();case 14:return 0<_.nl(a).length;case 95:return null!=a.Fl();case 58:return null!=_.H(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.Fj().length;case 96:return null!=_.H(a,94);case 1003:return 0<_.ql(a).length;case 75:return null!=a.Mx();case 94:return null!=a.DO();case 45:return null!=a.Mt();case 124:return null!=_.H(a,118);case 125:return null!=
_.C(a,119);case 1002:return null!=_.pl(a);case 32:return null!=a.hz();case 67:return null!=a.BK();case 68:return null!=_.C(a,71);case 73:return null!=_.C(a,79);case 71:return null!=a.n7();case 221:return null!=l&&null!=_.H(l,9);case 210:return null!=_.sl(a);case 7:return null!=a.Q3();case 122:return null!=_.wN(a);case 66:return null!=_.C(a,69);case 33:return null!=_.H(a,29);case 24:return null!=a.zj();case 25:return null!=a.qy();case 46:return null!=a.Nx();case 192:return null!=k&&null!=_.H(k,6);
case 159:return null!=k&&null!=_.Md(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=_.Pd(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Hd(a,56).length;case 55:return 0<a.Sw().length;case 56:return null!=_.C(a,61);case 4:return null!=a.DA();case 35:return null!=_.H(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Fc();case 84:return null!=_.D(a,_.xM,86);case 2:return null!=a.getTitle();case 19:return null!=a.lw()||null!=_.H(a,44)||null!=_.C(a,90);
case 6:return null!=a.mi();case 98:return null!=a.Mv();case 97:return null!=a.OE();case 27:return null!=a.oo();case 70:return null!=a.ti();case 107:return null!=n&&null!=_.C(n,3);case 106:return null!=n&&null!=_.C(n,2);case 105:return null!=n&&null!=n.Fe();case 8:return null!=_.H(a,9);case 126:return 0<_.Hd(a,120).length;default:throw Error("Ac`"+b);}};CUc=function(a,b){return b.every(function(c){return BUc(a,c)})};DUc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.pNc:[]);return b.every(function(e){return(new Set(d)).has(e)})};
EUc=function(a,b){var c=new Set(b.concat(_.pNc));return a.filter(function(d){return!c.has(d)})};
xN=function(a,b,c){b=b.clone();var d=b.Rd();c.forEach(function(e){if(BUc(b,e))if(_.D4a.has(e)){if(d){var f=a.Rd()||new _.fl;_.AM(a,f);switch(e){case 76:_.fOc(f,_.gl(d));break;case 208:_.AOc(f,_.H(d,48));break;case 185:var h=_.H(d,40);_.B(f,40,h);break;case 213:var k=_.H(d,50);_.B(f,50,k);break;case 156:var l=_.H(d,39);_.B(f,39,l);break;case 61:var n=_.H(d,2);_.B(f,2,n);break;case 216:var p=_.H(d,52);_.B(f,52,p);break;case 217:var r=_.H(d,53);_.B(f,53,r);break;case 77:_.gOc(f,_.H(d,4));break;case 134:var u=
_.H(d,34);_.B(f,34,u);break;case 147:var z=_.H(d,38);_.B(f,38,z);break;case 81:_.mOc(f,_.H(d,10));break;case 82:_.nOc(f,_.H(d,11));break;case 114:var A=_.H(d,27);_.B(f,27,A);break;case 133:_.vOc(f,_.H(d,33));break;case 202:_.zOc(f,_.H(d,47));_.uOc(f,_.H(d,32));break;case 132:_.uOc(f,_.H(d,32));break;case 101:_.rOc(f,_.H(d,20));break;case 201:_.yOc(f,_.H(d,46));break;case 131:_.tOc(f,_.H(d,31));break;case 200:var E=_.H(d,45);_.B(f,45,E);break;case 130:var I=_.H(d,30);_.B(f,30,I);break;case 93:_.qOc(f,
_.H(d,17));break;case 191:var L=_.H(d,44);_.B(f,44,L);break;case 146:var S=_.H(d,37);_.B(f,37,S);break;case 90:_.pOc(f,_.Jd(d));break;case 78:_.jOc(f,_.H(d,7));break;case 186:var T=_.H(d,41);_.B(f,41,T);break;case 222:var ca=_.H(d,51);_.B(f,51,ca);break;case 85:_.oOc(f,_.H(d,12));break;case 137:var ja=_.H(d,36);_.B(f,36,ja);break;case 209:var oa=_.H(d,49);_.B(f,49,oa);break;case 79:_.kOc(f,_.H(d,8));break;case 189:_.wOc(f,_.H(d,42));break;case 190:_.xOc(f,_.H(d,43));break;case 80:_.lOc(f,_.H(d,9));
break;case 135:var Ga=_.H(d,35);_.B(f,35,Ga);break;case 102:_.sOc(f,_.H(d,21));break;case 34:var la=_.H(b,30);_.B(a,30,la);var Ca=_.H(d,3);_.B(f,3,Ca);break;case 41:var ra=_.H(b,40);_.B(a,40,ra);_.hOc(f,_.H(d,5));break;case 59:_.iOc(f,_.H(d,6))}}}else if(_.E4a.has(e)){var $b=_.D(b,_.uM,138);if($b){var Lb=_.D(a,_.uM,138)||new _.uM;_.y(a,138,Lb);switch(e){case 194:var qc=_.D($b,_.vM,2);_.y(Lb,2,qc);break;case 193:var ic=_.C($b,1);_.B(Lb,1,ic)}}}else if(_.F4a.has(e)){var zd=_.D(b,_.hl,111);if(zd){var Nc=
_.D(a,_.hl,111)||new _.hl;_.y(a,111,Nc);switch(e){case 115:_.BOc(Nc,_.H(zd,1));break;case 116:_.COc(Nc,_.C(zd,2))}}}else if(_.G4a.has(e)){var Te=_.D(b,_.wM,27);if(Te){var we=_.D(a,_.wM,27)||new _.wM;_.y(a,27,we);switch(e){case 29:var ld=_.C(Te,1);_.B(we,1,ld);break;case 31:we.Tg(_.C(Te,3));break;case 92:var ug=_.C(Te,4);_.B(we,4,ug);break;case 30:we.Yg(Te.Fe())}}}else if(_.H4a.has(e)){var Vc=_.rl(b);if(Vc){var of=_.rl(a)||new _.Zma;_.y(a,139,of);switch(e){case 211:var Ah=_.H(Vc,2);_.B(of,2,Ah);break;
case 212:var Xe=_.H(Vc,3);_.B(of,3,Xe);break;case 220:var Kb=_.H(Vc,5);_.B(of,5,Kb)}}}else if(_.I4a.has(e)){var Bh=b.Qf();if(Bh){var vg=a.Qf()||new _.gna;_.y(a,132,vg);switch(e){case 192:var ck=_.H(Bh,6);_.B(vg,6,ck);break;case 159:var hq=_.Md(Bh);_.y(vg,5,hq);break;case 154:var ss=_.C(Bh,1);_.B(vg,1,ss);break;case 158:var th=_.Pd(Bh);_.B(vg,4,th);break;case 155:var Bg=_.C(Bh,3);_.B(vg,3,Bg)}}}else if(_.J4a.has(e)){var Uh=b.Fh();switch(e){case 157:if(Uh){var yk=a.Fh()||new _.ena;FUc(a,yk);GUc(yk,
_.vk(Uh,_.jl,8))}break;case 221:if(Uh){var Wk=a.Fh()||new _.ena;FUc(a,Wk);var im=_.H(Uh,9);_.B(Wk,9,im)}}}else if(_.K4a.has(e)){var pj=_.D(b,_.yM,103);if(pj){var ih=_.D(a,_.yM,103)||new _.yM;_.y(a,103,ih);switch(e){case 107:var zk=_.C(pj,3);_.B(ih,3,zk);break;case 106:ih.Tg(_.C(pj,2));break;case 105:ih.Yg(pj.Fe())}}}else switch(e){case 74:var Jm=b.Jv();_.jb(a,83,Jm);break;case 188:var xo=_.H(b,137);_.B(a,137,xo);break;case 149:var jm=_.Hd(b,128);_.B(a,128,jm||[]);break;case 148:var Cl=b.ka();_.jb(a,
127,Cl);break;case 138:var yo=b.V();_.B(a,126,yo);break;case 184:var km=_.Hd(b,135);_.B(a,135,km||[]);break;case 69:var kl=_.H(b,74);_.B(a,74,kl);break;case 1004:var qi=_.H(b,108);_.B(a,108,qi);break;case 136:var Pi=b.H();_.jb(a,125,Pi);break;case 9:var lm=b.zE();_.B(a,10,lm);break;case 91:var zo=b.Np();_.y(a,91,zo);break;case 43:var Jh=_.C(b,42);_.B(a,42,Jh);var aj=_.C(b,43);_.B(a,43,aj);break;case 187:var iq=_.C(b,136);_.B(a,136,iq);break;case 26:a.wl(b.yg());break;case 108:var ll=_.Hd(b,104);_.B(a,
104,ll||[]);break;case 42:var jq=_.C(b,41);_.B(a,41,jq);break;case 1005:var Ao=_.vk(b,_.cl,117);_.jb(a,117,Ao);break;case 28:_.LOc(a,b.rG());break;case 44:var Bo=_.C(b,45);_.B(a,45,Bo);break;case 13:var ts=b.nG();_.B(a,14,ts);break;case 48:var qp=_.H(b,36);_.B(a,36,qp);break;case 38:_.NOc(a,b.Vi());break;case 49:var bd=_.Hd(b,50);_.B(a,50,bd||[]);break;case 51:var Df=_.H(b,53);_.B(a,53,Df);break;case 104:var Ak=_.H(b,102);_.B(a,102,Ak);break;case 39:var Fj=b.Zga();_.B(a,35,Fj);break;case 87:var An=
_.ol(b);_.B(a,76,An);break;case 100:var Gj=_.H(b,98);_.B(a,98,Gj);break;case 72:var Vt=_.C(b,78);_.B(a,78,Vt);break;case 5:var Co=b.Pl();_.B(a,6,Co);break;case 20:var kq=b.Ze();_.B(a,21,kq);break;case 21:a.Tb(b.getId());break;case 16:_.JOc(a,b.Ep());break;case 12:var Dl=b.CA();_.B(a,13,Dl);break;case 3:_.LK(a,b.getMimeType());break;case 11:var us=b.NC();_.B(a,12,us);break;case 10:_.hKc(a,b.ys());break;case 50:var Km=_.H(b,49);_.B(a,49,Km);var mm=_.H(b,51);_.B(a,51,mm);var Hj=b.Sn();_.y(a,81,Hj);break;
case 95:_.TOc(a,b.Fl());break;case 18:_.KOc(a,b.Tp());break;case 58:var lq=_.H(b,63);_.B(a,63,lq);break;case 14:_.IOc(a,_.nl(b));break;case 1:_.zM(a,b.Fj());break;case 96:var Wt=_.H(b,94);_.B(a,94,Wt);break;case 103:var Bn=_.C(b,101);_.B(a,101,Bn);break;case 1003:HUc(a,_.ql(b));break;case 75:_.ROc(a,b.Mx());break;case 94:_.SOc(a,b.DO());break;case 45:var qj=b.Mt();_.B(a,46,qj);break;case 124:var Xt=_.H(b,118);_.B(a,118,Xt);break;case 125:var rp=_.C(b,119);_.B(a,119,rp);break;case 1002:var vs=_.pl(b);
_.y(a,100,vs);break;case 32:var wv=b.hz();_.B(a,28,wv);break;case 67:var ws=b.BK();_.B(a,70,ws);break;case 68:var xs=_.C(b,71);_.B(a,71,xs);break;case 73:var ys=_.C(b,79);_.B(a,79,ys);break;case 71:var kr=b.n7();_.B(a,77,kr);break;case 210:var Yt=_.sl(b);_.B(a,140,Yt);break;case 7:_.HOc(a,b.Q3());break;case 122:IUc(a,_.wN(b));break;case 66:var Hn=_.C(b,69);_.B(a,69,Hn);break;case 33:var bz=_.H(b,29);_.B(a,29,bz);break;case 24:var sr=b.zj();_.B(a,22,sr);break;case 25:var gu=b.qy();_.B(a,23,gu);break;
case 46:var tr=b.Nx();_.y(a,47,tr);break;case 52:var hu=_.Hd(b,56);_.B(a,56,hu||[]);break;case 56:var Fv=_.C(b,61);_.B(a,61,Fv);break;case 55:a.QB(b.Sw());break;case 4:a.cu(b.DA());break;case 35:_.MOc(a,_.H(b,31));break;case 57:var gB=_.C(b,62);_.B(a,62,gB);break;case 83:_.QOc(a,b.Fc());break;case 84:var aH=_.D(b,_.xM,86);_.y(a,86,aH);break;case 98:a.Z$(b.Mv());break;case 97:var NP=b.OE();_.y(a,95,NP);break;case 19:var ig=b.lw();_.B(a,20,ig);_.OOc(a,_.H(b,44));var FW=_.C(b,90);_.B(a,90,FW);break;
case 2:a.setTitle(b.getTitle());break;case 6:a.nn(b.mi());break;case 27:_.iKc(a,b.oo());break;case 70:var eL=b.ti();_.B(a,75,eL);break;case 8:var Iv=_.H(b,9);_.B(a,9,Iv);break;case 126:var DD=_.Hd(b,120);_.B(a,120,DD||[]);break;default:throw Error("Bc`"+e);}})};JUc=function(a,b){var c=_.cz[a];return b.filter(function(d){return!c||!c.has(d)})};KUc=function(a,b,c){a=JUc(c,a);return DUc(b,a,!0)};yN=function(a){return a?"application/vnd.google-apps.shortcut"==a.getMimeType():!1};
zN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&yN(a)?(a=a.Qf(),!!a&&"application/vnd.google-apps.folder"==_.C(a,3)):"application/vnd.google-apps.folder"==c};LUc=function(a){var b=a&&a.getId()||null;a&&yN(a)&&(a=(a=a.Qf())&&_.C(a,1))&&(b=a);return b};MUc=function(a){return!!_.H(a,31)&&!_.H(a,94)};OUc=function(a){return NUc.some(function(b){return BUc(a,b)})};PUc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(AN(b))})};
QUc=function(a){return PUc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.RUc=function(a,b){a=0===b?1:a/b;return 1<=a?6:.95<=a?5:.9<=a?4:.8<=a?3:.7<=a?2:1};SUc=function(a,b){var c=_.XMc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};TUc=function(a,b){return 0<=b?!a||a<=b:!0};
VUc=function(a,b){if(b){var c=[];_.H(b,3)&&c.push("folder");var d=UUc()&&4==b.getType()?"title_natural":_.bMc[b.getType()];b=_.dMc[_.fk(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};WUc=function(a,b){var c=a.Sn();c||(c=new _.il,b&&_.y(a,81,c));return c};XUc=function(a){if(zN(a))_.vN(WUc(a,!0),!0);else if(zN(a,!0)){var b=a.Qf();if(b=b&&_.Md(b))_.vN(WUc(b,!0),!0),_.vN(WUc(a,!0),!0)}};YUc=function(a){return!!a.Sn()&&!zN(a)};
ZUc=function(a){var b=[];_.La(a,function(c){if(3!=AN(c)){var d=c;if(null!=_.H(d,49)||null!=_.H(d,51)||null!=d.Sn())c=_.Ek(c),_.lk(c,49),_.lk(c,51),_.mk(c,81);b.push(c)}});return b};aVc=function(a,b,c,d){b="#"+b+"_";var e=new _.NK;e.update(c.join(","));b+=_.nKc(e.digest());d&&(b+="&jobset="+d);a=_.qy(a+"?"+b);_.q.SharedWorker?(c=new SharedWorker(_.Xfa(a),void 0),a=new $Uc(c.port),c.port.start()):a=new $Uc(new Worker(_.Xfa(a),void 0));return a};
cVc=function(a){var b=a.slice(0),c=new Set(b);bVc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
eVc=function(a){var b=new dVc;if(a instanceof _.zL)_.xk(b,16,BN[0],a);else if(a instanceof _.AL)_.xk(b,1,BN[0],a);else if(a instanceof _.BL)_.xk(b,2,BN[0],a);else if("undefined"!=typeof _.CN&&a instanceof _.CN)_.xk(b,17,BN[0],a);else if(a instanceof _.EL)_.xk(b,3,BN[0],a);else if(a instanceof _.cN)_.xk(b,4,BN[0],a);else if(a instanceof _.CL)_.xk(b,5,BN[0],a);else if(a instanceof _.IL)_.xk(b,6,BN[0],a);else if(a instanceof _.KL)_.xk(b,7,BN[0],a);else if(a instanceof _.LL)_.xk(b,8,BN[0],a);else if(a instanceof
_.OL)_.xk(b,9,BN[0],a);else if(a instanceof _.dM)_.xk(b,10,BN[0],a);else if("undefined"!=typeof _.eM&&a instanceof _.eM)_.xk(b,11,BN[0],a);else if(a instanceof _.zNc)_.xk(b,12,BN[0],a);else if(a instanceof _.mL)_.xk(b,13,BN[0],a);else if(a instanceof _.iM)_.xk(b,14,BN[0],a);else if(a instanceof _.jM)_.xk(b,15,BN[0],a);else throw new _.Sb("Unsupported request type");return b};
hVc=function(a){a=a.map(function(c){var d=new fVc;if(c instanceof _.zL)_.xk(d,6,DN[0],c);else if("undefined"!=typeof _.CN&&c instanceof _.CN)_.xk(d,7,DN[0],c);else if(c instanceof _.IL)_.xk(d,1,DN[0],c);else if(c instanceof _.dM)_.xk(d,2,DN[0],c);else if("undefined"!=typeof _.eM&&c instanceof _.eM)_.xk(d,3,DN[0],c);else if(c instanceof _.mL)_.xk(d,4,DN[0],c);else if(c instanceof _.jM)_.xk(d,5,DN[0],c);else throw new _.Sb("Unsupported request type");return d});var b=new gVc;_.jb(b,1,a);return b};
kVc=function(a){var b=new iVc;if("undefined"!=typeof _.OC&&a instanceof _.OC)_.xk(b,1,jVc[0],a);else if("undefined"!=typeof _.PC&&a instanceof _.PC)_.xk(b,2,jVc[0],a);else throw new _.Sb("Unsupported request type");return b};nVc=function(a){var b=new lVc;if(a instanceof _.FL)_.xk(b,1,mVc[0],a);else if(a instanceof _.ML)_.xk(b,2,mVc[0],a);else if(a instanceof _.kM)_.xk(b,3,mVc[0],a);else throw new _.Sb("Unsupported request type");return b};
oVc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Ld:a.c,nga:a.fi,q5:a.dti,UX:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Qfa:b.ec}}):void 0}};pVc=function(a,b,c){a=a?1:2;a=_.Fc(_.Ec(new _.Dc,12),a);var d=(new _.Ie).nn(!0);d=_.B(d,17,!0);a=_.Je(d,a);c&&_.Fl(a,c);c=new _.ZLc;b&&_.eNc(c,b);return _.fNc(_.hNc(new _.$K,a),c)};qVc=function(a){return a.map(function(b){return b.getItem()})};
rVc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};sVc=function(a,b){var c=new _.lj(_.G(b,16,"")+"/open"),d=a.getId();yN(a)&&(d=LUc(a));_.vj(c,"id",d);_.vj(c,"authuser",_.kL(_.UK(b)));_.F(b,89,!1)&&_.bk(a,140)&&_.vj(c,"resourcekey",_.sl(a));return c.toString()};
tVc=function(a){_.rf("drive.DebugUtil.printFindById",function(c){a.vS(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.rf("drive.DebugUtil.getLogs",function(){return _.RPc(a.dg())});_.rf("drive.DebugUtil.printLogs",function(){window.console.log(_.RPc(a.dg()))});_.rf("drive.DebugUtil.printRequestHistory",function(){a.o7().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.rf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.Na();b&&_.F(b,1,!1)&&(_.rf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.rf("drive.DebugUtil.setOffline",function(c){return void a.xm(c)}))};vVc=function(a,b){var c=new _.tN,d=new Set;if(6==a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.jUc.get(AN(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}uVc(c,[].concat(_.Sc(d)));return c};
wVc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Oba:c.Oba},d=a.next())if(d=d.value){c.Oba=new Map;[].concat(_.Sc(_.nl(d)),[d.Ep(),d.Nx(),d.Np()]).forEach(function(l){return function(n){n&&l.Oba.set(_.TF(n),n)}}(c));for(var e=[],f=_.m(c.Oba.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName();e.push(_.TF(h)+"-"+((k?k.length:k)+"-")+_.fk(h,16,0))}b.push(d.getId()+","+AN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):""};
xVc=function(a,b){var c={};a=_.Uf(a,function(d){return!!d});b=_.Uf(b,function(d){return!!d});_.Tf(a,function(d,e){var f=b[e];f?_.Dk(d,f)||(d=_.dUc(4).setItem(f),c[e]=d):(d=_.dUc(2).setItem(d),c[e]=d)});_.Tf(b,function(d,e){a[e]||(d=_.dUc(1).setItem(d),c[e]=d)});return c};yVc=function(a,b){return _.Xf(a)!=_.Xf(b)||!_.$f(xVc(a,b))};
BVc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Ue;_.Ve(b,305);_.We(b,!0);_.B(b,3,2);var c=new _.BC;_.y(c,1,b);zVc(c,[7]);a=a.then(function(d){return d.lh(c)}).then(AVc);return _.mi(a)};AVc=function(a){a=_.vk(a,_.ep,3);var b=new CVc;a.forEach(function(c){var d=c.getKey();d=d&&_.C(d,2);"corpusSize"==d?(c=_.lb(c.$a()),_.B(b,3,c)):"linkedItems"==d?(c=_.lb(c.$a()),_.B(b,2,c)):"linkedFolders"==d&&(c=_.lb(c.$a()),_.B(b,1,c))});return"number"===typeof _.C(b,3)?b:null};
EVc=function(a,b){var c=DVc(a.Ll,b.Oc());if(c){var d=c.getItem(),e=d.Mx();if(e){var f=e.PO(),h=_.wa(f,function(k){return k.getId()==b.H()});_.EOc(e,f);h||(f=_.vk(e,_.$k,3),_.wa(f,function(k){return k.getId()==b.H()}),_.FOc(e,f));_.DOc(e,(_.C(e,1)||1)-1);a.Tl([d],c.H)}}};
GVc=function(a,b,c){if(b=DVc(a.Ll,b.Oc())){var d=b.getItem(),e=d.Mx();if(e){if(1==c.getType()||2==c.getType()){var f=_.vk(e,_.$k,3);f.push(c);_.Ja(f,FVc);_.FOc(e,f)}else f=e.PO(),f.push(c),_.Ja(f,FVc),_.EOc(e,f);_.DOc(e,(_.C(e,1)||0)+1);a.Tl([d],b.H)}}};IVc=function(a){return a.map(function(b){var c=new _.yqb;c=_.B(c,3,HVc[b.serviceName]);return _.B(c,2,Number(b.bytesUsed))})};
KVc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return JVc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
OVc=function(a){var b=a.json.exportJob,c=LVc[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=_.ib(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.ib(b.failedItemInfos||[],function(l){var n=_.LK((new _.ml).Tb(l.docId).setTitle(l.title),l.mediaType);n=(new _.MVc).setItem(n);n=_.B(n,3,l.relativePath);return _.B(n,4,l.cause)});return new NVc(c,d,k,f,h,e,a,b)};
QVc=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.$a();(a=c&&_.fp(c))&&(b.namespace=PVc[a]);return b};RVc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(PVc[a[c]]);return b};SVc=function(a){return"kind,defaultAppIds,items("+a+")"};TVc=function(a,b){return _.F(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};UVc=function(a,b){return _.F(b,93,!1)?a+",adminSecureLinkSetting":a};
VVc=function(){var a=!(!_.q.IDBObjectStore||!_.q.IDBObjectStore.prototype.getAll);return!!(_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB)&&a};$Vc=function(a,b){_.B(b,75,1<_.q.devicePixelRatio);if(WVc(b))return b=new EN(a,b,3),new FN(b,b.UD);_.B(b,61,!1);var c=_.tL(_.UK(b))?2:1;a=new XVc(a,b,c,void 0,void 0,void 0);return _.tL(_.UK(b))?new YVc(a):new ZVc(a)};aWc=function(a){return _.Ud(a).Lg(_.F(a.get(_.rq),19,!1)?_.aKc:_.yTa)};
bWc=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)};cWc=function(a,b){return _.jb(a,1,b)};dWc=[1];eWc=function(a){_.R(this,a,0,-1,dWc,null)};_.O(eWc,_.M);eWc.prototype.$da=function(a){_.Bk(this,1,a,_.$k,void 0)};var fWc=function(a){var b=new eWc;return _.jb(b,1,a)},gWc=function(a,b){return _.y(a,1,b)},hWc=function(a,b){_.jb(a,2,b)},iWc=function(a,b){_.y(a,6,b)},jWc=function(a){_.R(this,a,0,-1,null,null)};_.O(jWc,_.M);
var kWc=function(a){_.R(this,a,0,-1,null,null)};_.O(kWc,_.M);var GN=function(a){_.R(this,a,0,-1,null,null)};_.O(GN,_.M);var lWc=function(a){_.R(this,a,0,-1,null,null)};_.O(lWc,_.M);var mWc=function(a){_.R(this,a,0,-1,null,null)};_.O(mWc,_.M);var nWc=function(a){_.R(this,a,0,-1,null,null)};_.O(nWc,_.M);var oWc=function(a){_.R(this,a,0,-1,null,null)};_.O(oWc,_.M);var pWc=function(a){_.R(this,a,0,-1,null,null)};_.O(pWc,_.M);var qWc=function(a){_.R(this,a,0,-1,null,null)};_.O(qWc,_.M);
var rWc=function(a){_.R(this,a,0,-1,null,null)};_.O(rWc,_.M);var sWc=function(a){_.R(this,a,0,-1,null,null)};_.O(sWc,_.M);var tWc=function(a){_.R(this,a,0,-1,null,null)};_.O(tWc,_.M);var uWc=function(a){_.R(this,a,0,-1,null,null)};_.O(uWc,_.M);var vWc=function(a){_.R(this,a,0,-1,null,null)};_.O(vWc,_.M);var wWc=[[1,2,3,4]],xWc=function(a){_.R(this,a,0,-1,null,wWc)};_.O(xWc,_.M);var yWc=[[1]],zWc=function(a){_.R(this,a,0,-1,null,yWc)};_.O(zWc,_.M);
var AWc=[[1,2]],BWc=function(a){_.R(this,a,0,-1,null,AWc)};_.O(BWc,_.M);var CWc=[[1]],DWc=function(a){_.R(this,a,0,-1,null,CWc)};_.O(DWc,_.M);var EWc=[[1,2]],FWc=function(a){_.R(this,a,0,-1,null,EWc)};_.O(FWc,_.M);FWc.prototype.rha=function(){return _.D(this,GN,1)};FWc.prototype.Ng=function(a){_.xk(this,1,EWc[0],a)};var GWc=[1],HWc=function(a){_.R(this,a,0,-1,GWc,null)};_.O(HWc,_.M);HWc.prototype.Yp=function(){return _.C(this,2)};var IWc=[[1]],JWc=function(a){_.R(this,a,0,-1,null,IWc)};_.O(JWc,_.M);
var KWc=[2],LWc=function(a){_.R(this,a,0,-1,KWc,null)};_.O(LWc,_.M);var MWc=[[1]],NWc=function(a){_.R(this,a,0,-1,null,MWc)};_.O(NWc,_.M);NWc.prototype.rha=function(){return _.D(this,lWc,1)};NWc.prototype.Ng=function(a){_.xk(this,1,MWc[0],a)};var OWc=[[1,2]],PWc=function(a){_.R(this,a,0,-1,null,OWc)};_.O(PWc,_.M);var QWc=[[1]],RWc=function(a){_.R(this,a,0,-1,null,QWc)};_.O(RWc,_.M);
var SWc=function(a,b){return _.xk(a,3,_.bl[0],b)},TWc=function(a,b){_.jb(a,1,b)},UWc=function(a,b){return _.B(a,2,b)},VWc=function(a,b){return _.y(a,3,b)},WWc=function(a,b){return _.B(a,4,b)},XWc=function(a,b){_.jb(a,1,b)},YWc=function(a,b){return _.y(a,2,b)},ZWc=function(a,b){_.jb(a,1,b)},$Wc=function(a,b){return _.y(a,4,b)},aXc=function(a,b){_.y(a,5,b)},bXc=function(a,b){_.jb(a,2,b)},cXc=function(a,b){_.jb(a,4,b)},dXc=function(a,b){return _.y(a,5,b)},eXc=function(a,b){_.jb(a,1,b)},fXc=function(a,
b){return _.y(a,2,b)},gXc=function(a,b){_.jb(a,2,b)},hXc=function(a){var b=new _.Tma;return _.jb(b,3,a)},iXc=function(a,b){_.jb(a,1,b)},jXc=function(a,b){return _.B(a,2,b)},kXc=function(a,b){return _.y(a,3,b)},lXc=function(a,b){_.jb(a,2,b)},mXc=function(a,b){return _.y(a,3,b)},nXc=function(a,b){_.jb(a,1,b)},oXc=function(a,b){return _.jb(a,2,b)},pXc=function(a,b){_.jb(a,1,b)},qXc=function(a,b){return _.y(a,2,b)},rXc=function(a,b){return _.y(a,1,b)},sXc=function(a,b){return _.B(a,2,b)},tXc=function(a,
b){return _.B(a,3,b)},uXc=function(a){_.R(this,a,0,-1,null,null)};_.O(uXc,_.M);GUc=function(a,b){_.jb(a,8,b)};AN=function(a){return _.fk(a,52,1)};FUc=function(a,b){return _.y(a,73,b)};HUc=function(a,b){_.jb(a,107,b)};_.wN=function(a){return _.D(a,uXc,109)};IUc=function(a,b){_.y(a,109,b)};vXc=function(a){var b=new _.Sj;var c=_.C(a,1);null!=c&&_.Xj(b,1,c);c=_.C(a,2);null!=c&&_.Xj(b,2,c);return _.Uj(b)};wXc=function(a){_.R(this,a,0,-1,null,null)};_.O(wXc,_.M);
var xXc=function(a){_.R(this,a,0,-1,null,null)};_.O(xXc,_.M);var yXc=[11],zXc=function(a){_.R(this,a,0,-1,yXc,null)};_.O(zXc,_.M);var HN=function(a){_.R(this,a,0,-1,null,null)};_.O(HN,_.M);HN.prototype.getKey=function(){return _.C(this,2)};HN.prototype.Bq=function(){return _.bk(this,2)};IN=function(a){return _.G(a,4,"en")};_.JN=function(a){return _.D(a,zXc,34,1)};AXc=function(a,b){return _.B(a,5,b)};_.BXc=function(a,b){return _.jb(a,5,b)};_.CXc=function(a,b){return _.B(a,6,b)};
_.DXc=function(a,b){return _.B(a,7,b)};_.EXc=function(a,b){return _.B(a,8,b)};_.FXc=function(a,b){return _.B(a,10,b)};_.GXc=function(a,b){return _.B(a,15,b)};HXc=[2];_.IXc=function(a){_.R(this,a,0,-1,HXc,null)};_.O(_.IXc,_.M);_.IXc.prototype.Eh=function(){return _.C(this,1)};_.JXc=function(a,b){return _.B(a,2,b)};_.KXc=function(a,b){return _.B(a,3,b)};_.LXc=function(a,b){return _.B(a,1,b)};_.MXc=function(a,b){return _.B(a,2,b)};_.NXc=function(a,b){return _.y(a,1,b)};
OXc=function(a,b){return _.B(a,2,b)};PXc=function(a,b){return _.B(a,3,b)};QXc=function(a,b){_.jb(a,4,b)};_.RXc=function(a,b){_.y(a,8,b)};_.SXc=function(a,b){_.y(a,9,b)};zVc=function(a,b){_.B(a,3,b||[])};TXc=function(a){_.R(this,a,0,-1,null,null)};_.O(TXc,_.M);TXc.prototype.$a=function(){return _.ik(this,1)};TXc.prototype.Ob=function(a){return _.ok(this,1,a,0)};_.cN=function(a){_.R(this,a,0,-1,null,null)};_.O(_.cN,_.M);_.cN.prototype.getTitle=function(){return _.C(this,1)};
_.cN.prototype.setTitle=function(a){return _.B(this,1,a)};_.cN.prototype.Ae=function(){return _.D(this,_.Ue,2)};UXc=function(a,b){return _.B(a,9,b||[])};VXc=function(a,b){return _.B(a,10,b||[])};WXc=function(a,b){return _.B(a,36,b)};XXc=function(a,b){return _.jb(a,38,b)};_.YXc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.YXc,_.M);_.YXc.prototype.getId=function(){return _.C(this,1)};_.YXc.prototype.Tb=function(a){return _.B(this,1,a)};_.YXc.prototype.Fe=function(){return _.C(this,4)};
_.YXc.prototype.Yg=function(a){return _.B(this,4,a)};var ZXc=function(a,b){return _.B(a,2,b)},$Xc=function(a,b){return _.y(a,3,b)},aYc=[1,3,5],bYc=function(a){_.R(this,a,0,-1,aYc,null)};_.O(bYc,_.M);bYc.prototype.OC=function(){return _.Hd(this,1)};bYc.prototype.Mz=function(){return _.H(this,2)};
var cYc=function(a,b){_.B(a,2,b)},dYc=function(a,b){_.tk(a,5,b,void 0)},eYc=function(a,b){_.B(a,6,b)},fYc=function(a,b){_.B(a,7,b)},gYc=function(a,b){return _.B(a,1,b)},hYc=function(a,b){return _.B(a,3,b)},iYc=function(a,b){return _.B(a,4,b)},jYc=function(a,b){_.B(a,7,b)},kYc=function(a){_.R(this,a,0,-1,null,null)};_.O(kYc,_.M);var lYc=function(a){_.R(this,a,0,-1,null,null)};_.O(lYc,_.M);var mYc=function(a){_.R(this,a,0,-1,null,null)};_.O(mYc,_.M);var nYc=function(a){_.R(this,a,0,-1,null,null)};
_.O(nYc,_.M);var oYc=function(a){_.R(this,a,0,-1,null,null)};_.O(oYc,_.M);var pYc=function(a){_.R(this,a,0,-1,null,null)};_.O(pYc,_.M);pYc.prototype.Mz=function(){return _.H(this,2)};qYc=function(a,b){_.B(a,1,b)};_.rYc=function(a,b){_.y(a,2,b)};sYc=function(a,b){return _.B(a,1,b||[])};tYc=function(a,b,c){_.MM(a,b,c,"warning")};uYc=function(a){return[].concat(_.Sc(a.V))};vYc=function(a){return a.H.concat([].concat(_.Sc(a.V)))};
wYc=function(a,b){var c=new Set;b=_.m(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[].concat(_.Sc(c))};KN=function(a){var b=_.UM(a).Ad();b||(b=new _.rPc,a=_.UM(a),_.y(a,1,b));return b};xYc=function(a){var b=_.D(_.UM(a),bYc,3);b||(b=new bYc,a=_.UM(a),_.y(a,3,b));return b};yYc=function(a){var b=_.D(_.UM(a),mYc,7);b||(b=new mYc,a=_.UM(a),_.y(a,7,b));return b};
zYc=function(a){var b=_.D(_.UM(a),oYc,12);b||(b=new oYc,a=_.UM(a),_.y(a,12,b));return b};AYc=function(a){var b=_.D(_.UM(a),pYc,17);b||(b=new pYc,a=_.UM(a),_.y(a,17,b));return b};
BYc=function(a){if(a instanceof _.OK)return 2;if(a instanceof _.ip)return 10;if(a instanceof _.Ie)return _.TL(a)?3:_.UL(a)?7:_.VL(a)?8:1;if(a instanceof _.ap)return 9;if(a instanceof _.UF)return 11;if(a instanceof _.bM)return 15;if(a instanceof _.VK)return 6;if(a instanceof _.XL){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 _.BC)return 4;if(a instanceof _.kp)return 12;if("undefined"!=typeof _.lM&&a instanceof _.lM)return 13}return 0};
CYc=function(a){var b=null;a instanceof _.$A||"undefined"!=typeof _.WM&&a instanceof _.WM||"undefined"!=typeof _.XM&&a instanceof _.XM?b=a.$e()||0:"undefined"!=typeof _.ZM&&a instanceof _.ZM||"undefined"!=typeof _.$M&&a instanceof _.$M||"undefined"!=typeof _.aN&&a instanceof _.aN||"undefined"!=typeof _.bN&&a instanceof _.bN||"undefined"!=typeof _.NQc&&a instanceof _.NQc?b=a.Fg:"undefined"!=typeof _.YM&&a instanceof _.YM&&(b=a.$e());return b||0};
DYc=function(a,b){return a.W&&_.UQc(a)?_.QQc(a.W,b,0):null};EYc=function(a,b){return _.y(a,1,b)};FYc=[2];LN=function(a){_.R(this,a,0,-1,FYc,null)};_.O(LN,_.M);LN.prototype.Gb=function(){return _.C(this,1)};LN.prototype.Ec=function(a){return _.B(this,1,a)};LN.prototype.$da=function(a){_.Bk(this,2,a,_.$k,void 0)};LN.prototype.Bj=function(){return _.C(this,3)};var GYc=[2],HYc=function(a){_.R(this,a,0,-1,GYc,null)};_.O(HYc,_.M);HYc.prototype.Gb=function(){return _.C(this,1)};
HYc.prototype.Ec=function(a){return _.B(this,1,a)};HYc.prototype.Bj=function(){return _.C(this,3)};IYc=function(a){return a.H?a.H.promise:a.V()?(a.H=new _.Zn,a.H.promise):null};JYc=function(a){var b=[];a.Ur.forEach(function(c){(c=c.$t.config.timestamp)&&b.push(c)});return b};KYc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.$t.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.za(b,JYc(c))});return b};
MN=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Dk(b[a],c[a]))return!0;return!1};uVc=function(a,b){return _.B(a,1,b||[])};LYc=function(a,b){if(!(a instanceof b.constructor))throw Error("aa");var c=_.wk(a,!0);b=_.wk(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Mc&&(d[0]=a.Mc,e=1);for(;e<f;e++)_.Qla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};MYc=[2,6];_.XM=function(a){_.R(this,a,0,-1,MYc,null)};_.O(_.XM,_.M);_.g=_.XM.prototype;
_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.Id=function(){return _.vk(this,_.ml,2)};_.g.uv=function(a){return _.jb(this,2,a)};_.g.Pg=function(a,b){return _.Bk(this,2,a,_.ml,b)};_.g.Bj=function(){return _.C(this,3)};_.g.gpa=function(){return _.F(this,4,!0)};var NYc=function(a,b){return _.jb(a,6,b)};_.XM.prototype.yf=function(){return _.C(this,10)};_.XM.prototype.UM=function(a){return _.B(this,10,a)};_.XM.prototype.$e=function(){return _.C(this,9)};
_.XM.prototype.Di=function(a){return _.B(this,9,a)};var OYc=function(a){_.R(this,a,0,-1,null,null)};_.O(OYc,_.M);var PYc=[1,2],QYc=function(a){_.R(this,a,0,-1,PYc,null)};_.O(QYc,_.M);
var RYc=[1,2,4],SYc={SUCCESS:1,G_b:2,RRb:3,ONb:4,S_b:5,rVb:6,iVb:7,nOb:8,GZb:9,VZb:10,F_b:11,PPb:12,tPb:13,SSb:14,kRb:15,xPb:16,wPb:17,CPb:18,zPb:19,APb:20,l_b:21,P_b:22,IVb:23,QUb:24,gOb:25,PERMISSION_DENIED:26,iUb:27,sOb:28,rOb:29,INTERRUPTED:30,gWb:31,AWb:32,bQb:33,hQb:34,NZb:35,oQb:36,lRb:37,gQb:38,hVb:39,YOb:40,bWb:41,CWb:42,EZb:43,JOb:44,XOb:45,iRb:46,eUb:47,gVb:48,AVb:49,cWb:50,xZb:51,uPb:52,FZb:53,DZb:54,POb:55,MOb:56,yQb:57,BUb:58,dWb:59,ETb:60,QXb:61,EYb:62,kZb:63,gTb:64,SUb:65,V_b:66,qQb:67,
mRb:68,E_b:69,kTb:70,qOb:71,BOb:72,MYb:73,lZb:74,hZb:75,fZb:76,AYb:190,eZb:191,NYb:192,TYb:126,PYb:128,QYb:129,RYb:130,SYb:131,UYb:132,VYb:133,ZXb:127,WXb:134,XXb:135,aYb:136,bYb:137,cYb:138,YXb:194,$Xb:195,dYb:196,VXb:197,DYb:189,PXb:139,RXb:140,eYb:141,fYb:142,rYb:143,uYb:144,vYb:145,wYb:146,xYb:147,yYb:148,zYb:149,CYb:150,IYb:151,KYb:152,LYb:153,OYb:154,WYb:155,YYb:156,ZYb:157,$Yb:158,aZb:159,bZb:160,cZb:161,gZb:162,jZb:163,mZb:164,SXb:165,TXb:166,UXb:167,NXb:168,OXb:169,iYb:170,gYb:171,hYb:172,
jYb:173,kYb:174,lYb:175,mYb:176,nYb:177,oYb:178,pYb:179,qYb:180,sYb:181,tYb:182,BYb:106,JYb:183,XYb:184,dZb:185,FYb:186,GYb:187,HYb:188,iZb:244,aWb:77,J_b:78,O_b:79,pUb:80,XSb:81,ZSb:82,xQb:83,hRb:84,jUb:85,e_b:86,fQb:87,mTb:88,lTb:89,pZb:90,nZb:91,oZb:92,K_b:93,kPb:94,jPb:95,gPb:96,iPb:97,hPb:98,U_b:99,zXb:100,FPb:101,yPb:102,DPb:103,BPb:104,EPb:105,nRb:107,SZb:108,tXb:109,y_b:110,qRb:111,pRb:112,JTb:113,KTb:114,GWb:115,QOb:116,RTb:117,HQb:118,L_b:119,nVb:120,oVb:121,TSb:193,vPb:122,WPb:123,WSb:124,
MUb:125,nTb:198,lWb:199,dTb:200,rNb:201,iTb:202,hTb:203,tOb:204,s0b:205,YTb:206,dPb:207,kVb:208,BWb:209,vXb:210,SNb:211,HTb:212,OTb:213,IZb:214,HZb:215,fTb:216,RSb:217,eTb:218,sQb:219,WZb:220,tQb:221,FTb:222,PZb:223,d0b:224,WUb:225,OZb:226,YPb:227,XTb:228,wQb:229,$Ob:230,c_b:231,NUb:232,FILE_TOO_LARGE:233,jTb:234,rQb:235,fRb:236,wWb:237,TUb:238,ZMb:239,aPb:240,$Ub:241,FXb:242,dQb:243,pNb:245,$Sb:246,CVb:247,YSb:248,oUb:249,RUb:250,jRb:251,YRb:252,ITb:253,NOb:254,oRb:255,T_b:256,KRb:257,yUb:258,NWb:259,
kWb:260,sTb:261,KPb:262,eQb:263},zUc=[1004,1005,1002,1003],NUc=[1002,1003,1005],TYc=function(a){_.R(this,a,0,-1,null,null)};_.O(TYc,_.M);TYc.prototype.Gb=function(){return _.C(this,1)};TYc.prototype.Ec=function(a){return _.B(this,1,a)};TYc.prototype.um=function(){return _.D(this,_.ZA,2)};var UYc=function(a){_.ui.call(this,a)};_.N(UYc,_.ui);var VYc=function(a){_.R(this,a,0,-1,null,null)};_.O(VYc,_.M);VYc.prototype.H=function(){return _.D(this,_.cF,1)};
VYc.prototype.V=function(){return _.D(this,_.cF,2)};VYc.prototype.ka=function(){return _.D(this,_.cF,3)};var WYc=function(a){_.R(this,a,0,-1,null,null)};_.O(WYc,_.M);_.g=WYc.prototype;_.g.O4a=function(){return _.H(this,1)};_.g.Mj=function(a){return _.B(this,1,a)};_.g.Pl=function(){return _.H(this,2)};_.g.N4a=function(){return _.H(this,3)};_.g.P4a=function(){return _.H(this,4)};var NN=[[13,19,12,11,10,15,14,9,8,18,17,16]],XYc=function(a){_.R(this,a,0,-1,null,null)};_.O(XYc,_.M);
XYc.prototype.H=function(){return _.H(this,1)};XYc.prototype.V=function(){return _.H(this,2)};var YYc=function(a){_.R(this,a,0,-1,null,null)};_.O(YYc,_.M);var ZYc=[1],$Yc=function(a){_.R(this,a,0,-1,null,null)};_.O($Yc,_.M);$Yc.prototype.H=function(){return _.H(this,1)};$Yc.prototype.V=function(){return _.H(this,2)};var aZc=function(a){_.R(this,a,0,-1,null,null)};_.O(aZc,_.M);_.g=aZc.prototype;_.g.e5a=function(){return _.H(this,1)};_.g.Mj=function(a){return _.B(this,1,a)};
_.g.Pl=function(){return _.H(this,2)};_.g.b5a=function(){return _.D(this,VYc,3)};_.g.f5a=function(){return _.bk(this,3)};_.g.d5a=function(){return _.D(this,VYc,4)};_.g.h5a=function(){return _.bk(this,4)};_.g.c5a=function(){return _.C(this,5)};_.g.g5a=function(){return _.bk(this,5)};var bZc=function(a){_.R(this,a,0,-1,null,null)};_.O(bZc,_.M);_.g=bZc.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.Gd=function(a){return _.B(this,1,a)};_.g.Cq=function(){return _.bk(this,1)};
_.g.$a=function(){return _.C(this,2)};_.g.Ob=function(a){return _.B(this,2,a)};_.g.sj=function(){return _.lk(this,2)};_.g.th=function(){return _.bk(this,2)};_.g.yg=function(){return _.C(this,5)};_.g.wl=function(a){return _.B(this,5,a)};_.g.a5a=function(){return _.bk(this,5)};_.g.Z4a=function(){return _.D(this,$Yc,3)};_.g.$4a=function(){return _.D(this,aZc,4)};var cZc=function(a){_.R(this,a,0,-1,ZYc,null)};_.O(cZc,_.M);cZc.prototype.H=function(){return _.vk(this,bZc,1)};
var dZc=function(a,b){_.jb(a,1,b)},eZc=function(a){_.R(this,a,0,-1,null,null)};_.O(eZc,_.M);eZc.prototype.Lt=function(){return _.C(this,1)};eZc.prototype.tT=function(){return _.bk(this,1)};eZc.prototype.getOptions=function(){return _.D(this,cZc,2)};var fZc=function(a){_.R(this,a,0,-1,null,null)};_.O(fZc,_.M);fZc.prototype.V=function(){return _.C(this,1)};fZc.prototype.H=function(){return _.C(this,2)};var gZc=function(a){_.R(this,a,0,-1,null,null)};_.O(gZc,_.M);
gZc.prototype.Lt=function(){return _.C(this,1)};gZc.prototype.tT=function(){return _.bk(this,1)};gZc.prototype.getOptions=function(){return _.D(this,fZc,2)};var hZc=function(a){_.R(this,a,0,-1,null,null)};_.O(hZc,_.M);hZc.prototype.V=function(){return _.C(this,1)};hZc.prototype.H=function(){return _.C(this,2)};var iZc=function(a){_.R(this,a,0,-1,null,null)};_.O(iZc,_.M);var jZc=function(a){_.R(this,a,0,-1,null,null)};_.O(jZc,_.M);jZc.prototype.Lt=function(){return _.C(this,1)};
jZc.prototype.tT=function(){return _.bk(this,1)};jZc.prototype.getOptions=function(){return _.D(this,iZc,2)};var ON=[[3,4,5,6,7,8,9,10,11,12]],kZc=function(a){_.R(this,a,0,-1,null,ON)};_.O(kZc,_.M);_.g=kZc.prototype;_.g.Y$=function(a){return _.xk(this,3,ON[0],a)};_.g.Z_a=function(a){return _.xk(this,4,ON[0],a)};_.g.o_a=function(a){return _.xk(this,5,ON[0],a)};_.g.m_a=function(a){return _.xk(this,6,ON[0],a)};_.g.$Za=function(a){return _.xk(this,7,ON[0],a)};
_.g.N_a=function(a){return _.xk(this,8,ON[0],a)};_.g.M_a=function(a){return _.xk(this,9,ON[0],a)};_.g.d0a=function(a){return _.xk(this,10,ON[0],a)};_.g.Xla=function(a){return _.xk(this,11,ON[0],a)};_.g.Bla=function(a){return _.xk(this,12,ON[0],a)};var lZc=function(a){_.R(this,a,0,-1,null,null)};_.O(lZc,_.M);var mZc=function(a){_.R(this,a,0,-1,null,null)};_.O(mZc,_.M);mZc.prototype.Lt=function(){return _.C(this,1)};mZc.prototype.tT=function(){return _.bk(this,1)};
mZc.prototype.getOptions=function(){return _.D(this,lZc,2)};var nZc=function(a){_.R(this,a,0,-1,null,null)};_.O(nZc,_.M);nZc.prototype.zQa=function(){return _.C(this,1)};nZc.prototype.H=function(){return _.C(this,4)};var oZc=function(a){_.R(this,a,0,-1,null,NN)};_.O(oZc,_.M);_.g=oZc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.T4a=function(){return _.C(this,2)};_.g.Te=function(){return _.C(this,4)};_.g.S4a=function(){return _.D(this,WYc,5)};
_.g.Q4a=function(){return _.D(this,XYc,6)};_.g.Y4a=function(){return _.C(this,7)};_.g.$Za=function(a){return _.xk(this,13,NN[0],a)};_.g.R4a=function(){return _.D(this,nZc,19)};_.g.Bla=function(a){return _.xk(this,19,NN[0],a)};_.g.m_a=function(a){return _.xk(this,12,NN[0],a)};_.g.o_a=function(a){return _.xk(this,11,NN[0],a)};_.g.enb=function(){return _.D(this,hZc,10)};_.g.U4a=function(){return _.D(this,eZc,15)};_.g.M_a=function(a){return _.xk(this,15,NN[0],a)};
_.g.V4a=function(){return _.D(this,cZc,14)};_.g.N_a=function(a){return _.xk(this,14,NN[0],a)};_.g.Z_a=function(a){return _.xk(this,9,NN[0],a)};_.g.W4a=function(){return _.D(this,fZc,8)};_.g.Y$=function(a){return _.xk(this,8,NN[0],a)};_.g.X4a=function(){return _.D(this,mZc,18)};_.g.Xla=function(a){return _.xk(this,18,NN[0],a)};_.g.d0a=function(a){return _.xk(this,17,NN[0],a)};var pZc=[5],qZc=function(a){_.R(this,a,0,-1,null,null)};_.O(qZc,_.M);qZc.prototype.ka=function(){return _.H(this,1)};
qZc.prototype.H=function(){return _.H(this,2)};qZc.prototype.ma=function(){return _.H(this,3)};qZc.prototype.V=function(){return _.H(this,4)};var PN=function(a){_.R(this,a,0,-1,pZc,null)};_.O(PN,_.M);PN.prototype.getName=function(){return _.C(this,1)};PN.prototype.qd=function(a){return _.B(this,1,a)};PN.prototype.om=function(){return _.C(this,2)};var rZc=function(a,b){return _.B(a,2,b)};PN.prototype.ka=function(){return _.C(this,14)};var sZc=function(a,b){return _.B(a,14,b)};_.g=PN.prototype;
_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.yg=function(){return _.C(this,4)};_.g.wl=function(a){return _.B(this,4,a)};_.g.j5a=function(){return _.C(this,15)};_.g.i5a=function(){return _.vk(this,oZc,5)};var tZc=function(a,b){_.jb(a,5,b)},uZc=function(a,b){_.y(a,6,b)},vZc=function(a,b){_.y(a,7,b)},wZc=function(a,b){_.y(a,8,b)};PN.prototype.V=function(){return _.D(this,WYc,12)};var xZc=function(a,b){_.y(a,12,b)};
PN.prototype.H=function(){return _.D(this,qZc,13)};var yZc=function(a,b){_.y(a,13,b)},zZc=[5,7,9],AZc=function(a){_.R(this,a,0,-1,zZc,null)};_.O(AZc,_.M);_.g=AZc.prototype;_.g.getUser=function(){return _.D(this,_.$k,1)};_.g.cz=function(a){_.B(this,2,a)};_.g.setBooleanValue=function(a){return _.B(this,3,a)};_.g.setTextValue=function(a){return _.B(this,4,a)};_.g.Tla=function(a){return _.B(this,5,a||[])};_.g.addTextValues=function(a,b){return _.tk(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.B(this,6,a)};_.g.Ola=function(a){return _.B(this,7,a||[])};_.g.addSelectionValues=function(a,b){return _.tk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.B(this,8,a)};_.g.Fla=function(a){return _.B(this,9,a||[])};_.g.addIntegerValues=function(a,b){return _.tk(this,9,a,b)};var BZc=[7,10,12,16,13,3],QN=function(a){_.R(this,a,0,-1,BZc,null)};_.O(QN,_.M);var RN=function(a){return _.C(a,4)};_.g=QN.prototype;_.g.cz=function(a){_.B(this,4,a)};
_.g.setBooleanValue=function(a){return _.B(this,5,a)};_.g.n5a=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.B(this,6,a)};_.g.Tla=function(a){return _.B(this,7,a||[])};_.g.addTextValues=function(a,b){return _.tk(this,7,a,b)};_.g.l5a=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.B(this,8,a)};_.g.m5a=function(){return _.C(this,9)};_.g.setSelectionValue=function(a){return _.B(this,9,a)};_.g.bIa=function(){return _.Hd(this,10)};
_.g.Ola=function(a){return _.B(this,10,a||[])};_.g.addSelectionValues=function(a,b){return _.tk(this,10,a,b)};_.g.k5a=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.B(this,11,a)};_.g.Fla=function(a){return _.B(this,12,a||[])};_.g.addIntegerValues=function(a,b){return _.tk(this,12,a,b)};_.g.Vnb=function(){return _.D(this,_.$k,15)};_.g.setUserValue=function(a){return _.y(this,15,a)};_.g.TRa=function(){return _.vk(this,_.$k,16)};var CZc=function(a,b){_.jb(a,16,b)};
QN.prototype.addUserValues=function(a,b){return _.Bk(this,16,a,_.$k,b)};QN.prototype.H=function(){return _.C(this,17)};QN.prototype.setDateStringValue=function(a){return _.B(this,17,a)};QN.prototype.V=function(){return _.bk(this,17)};var DZc=function(a,b){_.jb(a,13,b)};QN.prototype.getId=function(){return _.C(this,14)};QN.prototype.Tb=function(a){return _.B(this,14,a)};QN.prototype.getName=function(){return _.C(this,1)};QN.prototype.qd=function(a){return _.B(this,1,a)};
var EZc=[2],SN=function(a){_.R(this,a,0,-1,EZc,null)};_.O(SN,_.M);SN.prototype.getName=function(){return _.C(this,1)};SN.prototype.qd=function(a){return _.B(this,1,a)};SN.prototype.H=function(){return _.vk(this,QN,2)};var FZc=function(a,b){_.jb(a,2,b)};SN.prototype.Oc=function(){return _.C(this,3)};var GZc=function(a,b){return _.B(a,3,b)},HZc={M_b:0,zUb:1,JVb:2,yVb:3,oTb:4,PNb:5,AUb:6,zVb:7,xSb:8,fOb:9,wVb:10},TN=function(){this.H={};this.V=6;this.zt=null};TN.prototype.Gb=function(){return this.V};
TN.prototype.Ec=function(a){this.V=a};TN.prototype.$e=function(){return this.zt};TN.prototype.Di=function(a){this.zt=a};var IZc=function(a,b){a.H=b};TN.prototype.Ac=function(a){var b=[];_.Tf(this.H,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.V,d:this.zt,me:b})};JZc=function(a,b,c){c=JSON.parse(c);a.Ec(c.s);a.Di(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.H=d};_.WM=function(){TN.apply(this,arguments)};_.N(_.WM,TN);
var KZc=function(){TN.apply(this,arguments)};_.N(KZc,TN);var LZc=function(a){_.R(this,a,0,-1,null,null)};_.O(LZc,_.M);LZc.prototype.getType=function(){return _.C(this,1)};var MZc=function(a){var b=new LZc;return _.B(b,1,a)},NZc=function(a,b){return _.y(a,2,b)};LZc.prototype.Qw=function(){return _.C(this,3)};LZc.prototype.tx=function(a){return _.B(this,3,a)};LZc.prototype.Uh=function(){return _.C(this,4)};LZc.prototype.setPosition=function(a){return _.B(this,4,a)};
var OZc=[2],PZc=function(a){_.R(this,a,0,-1,OZc,null)};_.O(PZc,_.M);PZc.prototype.Gb=function(){return _.C(this,1)};PZc.prototype.Ec=function(a){return _.B(this,1,a)};var QZc=[2],UN=function(a){_.R(this,a,0,-1,QZc,null)};_.O(UN,_.M);UN.prototype.Gb=function(){return _.C(this,1)};UN.prototype.Ec=function(a){return _.B(this,1,a)};UN.prototype.H=function(){return _.vk(this,SN,2)};var RZc=function(a,b){return _.jb(a,2,b)};UN.prototype.Bj=function(){return _.C(this,3)};
var SZc=function(a){_.R(this,a,0,-1,null,null)};_.O(SZc,_.M);SZc.prototype.Gb=function(){return _.C(this,1)};SZc.prototype.Ec=function(a){return _.B(this,1,a)};SZc.prototype.w7=function(){return _.D(this,_.ml,2)};TZc=function(a,b){return _.y(a,2,b)};UZc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};VZc=function(a,b){return new _.QKc(_.RKc.bound(a,b,void 0,void 0))};
WZc=function(){var a=new _.gi,b=_.dLc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Ud(_.SK(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.XZc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.XZc,_.M);_.XZc.prototype.Sq=function(){return _.C(this,1)};_.XZc.prototype.Sd=function(){return _.C(this,2)};_.XZc.prototype.setSize=function(a){return _.B(this,2,a)};_.XZc.prototype.getUrl=function(){return _.C(this,3)};
_.YZc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.YZc,_.M);_.YZc.prototype.getType=function(){return _.C(this,1)};ZZc=[2,3];_.$Zc=function(a){_.R(this,a,0,-1,ZZc,null)};_.O(_.$Zc,_.M);a_c=[4,5,6,17,18,24];_.VN=function(a){_.R(this,a,0,-1,a_c,null)};_.O(_.VN,_.M);_.VN.prototype.getId=function(){return _.C(this,1)};_.VN.prototype.Tb=function(a){return _.B(this,1,a)};_.VN.prototype.getName=function(){return _.C(this,2)};_.VN.prototype.qd=function(a){return _.B(this,2,a)};
var b_c=function(a,b){return _.B(a,4,b||[])},c_c=function(a,b){return _.B(a,5,b||[])};_.VN.prototype.hO=function(){return _.C(this,8)};_.VN.prototype.getType=function(){return _.C(this,23)};_.VN.prototype.Pl=function(){return _.H(this,33)};var d_c=[3],WN=function(a){_.R(this,a,0,-1,d_c,null)};_.O(WN,_.M);WN.prototype.zo=function(){return _.C(this,1)};var e_c=function(a,b){return _.B(a,1,b)};WN.prototype.getTitle=function(){return _.C(this,2)};WN.prototype.setTitle=function(a){return _.B(this,2,a)};
WN.prototype.Id=function(){return _.vk(this,_.ml,3)};var f_c=function(a,b){return _.jb(a,3,b)};WN.prototype.Pg=function(a,b){return _.Bk(this,3,a,_.ml,b)};WN.prototype.V=function(){return _.C(this,4)};var g_c=function(a,b){return _.B(a,4,b)};WN.prototype.H=function(){return _.D(this,_.al,5)};var h_c=function(a,b){return _.y(a,5,b)},CVc=function(a){_.R(this,a,0,-1,null,null)};_.O(CVc,_.M);var i_c=[2],XN=function(a){_.R(this,a,0,-1,i_c,null)};_.O(XN,_.M);XN.prototype.Gb=function(){return _.C(this,1)};
XN.prototype.Ec=function(a){return _.B(this,1,a)};XN.prototype.ek=function(){return _.vk(this,WN,2)};var j_c=function(a,b){return _.jb(a,2,b)};XN.prototype.yf=function(){return _.C(this,4)};k_c=function(a,b){return _.B(a,4,b)};_.YM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.YM,_.M);_.g=_.YM.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.YQ=function(){return _.jk(this,2,_.ZA)};_.g.Bj=function(){return _.C(this,3)};_.g.$e=function(){return _.C(this,5)};
_.g.Di=function(a){return _.B(this,5,a)};var l_c=function(a){_.R(this,a,0,-1,null,null)};_.O(l_c,_.M);l_c.prototype.yg=function(){return _.G(this,1)};l_c.prototype.wl=function(a){return _.rk(this,1,a)};l_c.prototype.getUrl=function(){return _.G(this,2)};_.m_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.m_c,_.M);_.m_c.prototype.getType=function(){return _.fk(this,1,0)};_.m_c.prototype.getContext=function(){return _.D(this,l_c,2)};_.m_c.prototype.Uj=function(a){return _.y(this,2,a)};n_c=[1];o_c=[2];
_.p_c=function(a){_.R(this,a,0,-1,o_c,null)};_.O(_.p_c,_.M);_.p_c.prototype.getLabel=function(){return _.G(this,1)};_.p_c.prototype.Gd=function(a){return _.rk(this,1,a)};_.q_c=function(a){_.R(this,a,0,-1,n_c,null)};_.O(_.q_c,_.M);_.r_c=[[2,3,4]];_.YN=function(a){_.R(this,a,0,-1,null,null)};_.O(_.YN,_.M);_.YN.prototype.Te=function(){return _.G(this,3)};_.YN.prototype.Qm=function(a){return _.rk(this,4,a)};_.s_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.s_c,_.M);
_.t_c=function(a){_.R(this,a,0,-1,null,_.r_c)};_.O(_.t_c,_.M);var u_c=function(a){_.R(this,a,0,-1,null,null)};_.O(u_c,_.M);v_c=[3,5];_.ZN=[[8,9,10,11,12,13,14]];w_c=function(a){_.R(this,a,0,-1,null,null)};_.O(w_c,_.M);var x_c=function(a){_.R(this,a,0,-1,null,null)};_.O(x_c,_.M);_.y_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.y_c,_.M);_.z_c=function(a){_.R(this,a,0,-1,v_c,_.ZN)};_.O(_.z_c,_.M);_.z_c.prototype.Gb=function(){return _.fk(this,6,0)};
_.z_c.prototype.Ec=function(a){return _.sk(this,6,a)};var A_c=function(a){_.R(this,a,0,-1,null,null)};_.O(A_c,_.M);var B_c=[1],C_c=function(a){_.R(this,a,0,-1,B_c,null)};_.O(C_c,_.M);var D_c=function(a){_.R(this,a,0,-1,null,null)};_.O(D_c,_.M);var E_c=function(a){_.R(this,a,0,-1,null,null)};_.O(E_c,_.M);F_c=[7];_.G_c=[[1,2,3]];_.H_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.H_c,_.M);_.I_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.I_c,_.M);_.J_c=function(a){_.R(this,a,0,-1,null,null)};
_.O(_.J_c,_.M);_.K_c=function(a){_.R(this,a,0,-1,F_c,_.G_c)};_.O(_.K_c,_.M);_.L_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.L_c,_.M);_.L_c.prototype.getName=function(){return _.G(this,1)};_.L_c.prototype.qd=function(a){return _.rk(this,1,a)};var M_c=function(a){_.R(this,a,0,-1,null,null)};_.O(M_c,_.M);M_c.prototype.getName=function(){return _.G(this,1)};M_c.prototype.qd=function(a){return _.rk(this,1,a)};M_c.prototype.getTitle=function(){return _.G(this,2)};
M_c.prototype.setTitle=function(a){return _.rk(this,2,a)};var N_c=function(a){_.R(this,a,0,-1,null,null)};_.O(N_c,_.M);N_c.prototype.getName=function(){return _.G(this,1)};N_c.prototype.qd=function(a){return _.rk(this,1,a)};N_c.prototype.getTitle=function(){return _.G(this,2)};N_c.prototype.setTitle=function(a){return _.rk(this,2,a)};var O_c=[[1,4]],P_c=function(a){_.R(this,a,0,-1,null,O_c)};_.O(P_c,_.M);P_c.prototype.getUser=function(){return _.D(this,_.t_c,1)};
P_c.prototype.w7=function(){return _.D(this,N_c,2)};var Q_c=[[8,9,10]],R_c=function(a){_.R(this,a,0,-1,null,null)};_.O(R_c,_.M);var S_c=function(a){_.R(this,a,0,-1,null,null)};_.O(S_c,_.M);_.T_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.T_c,_.M);_.T_c.prototype.getType=function(){return _.fk(this,6,0)};_.U_c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.U_c,_.M);_.V_c=function(a){_.R(this,a,0,-1,null,Q_c)};_.O(_.V_c,_.M);_.g=_.V_c.prototype;_.g.getName=function(){return _.G(this,1)};
_.g.qd=function(a){return _.rk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.rk(this,2,a)};_.g.getFile=function(){return _.D(this,R_c,3)};_.g.ti=function(){return _.gk(this,5)};_.g.getMimeType=function(){return _.G(this,6)};_.g.AO=function(){return _.D(this,P_c,7)};W_c=[[8,9,10]];_.X_c=function(a){_.R(this,a,0,-1,null,W_c)};_.O(_.X_c,_.M);_.g=_.X_c.prototype;_.g.getName=function(){return _.G(this,1)};_.g.qd=function(a){return _.rk(this,1,a)};
_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.rk(this,2,a)};_.g.getFile=function(){return _.D(this,R_c,3)};Y_c=[[1,3]];_.Z_c=function(a){_.R(this,a,0,-1,null,Y_c)};_.O(_.Z_c,_.M);_.Z_c.prototype.w7=function(){return _.D(this,N_c,2)};_.$_c=[[1,2,3]];a0c=function(a){_.R(this,a,0,-1,null,null)};_.O(a0c,_.M);var b0c=function(a){_.R(this,a,0,-1,null,null)};_.O(b0c,_.M);_.c0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.c0c,_.M);_.d0c=function(a){_.R(this,a,0,-1,null,_.$_c)};
_.O(_.d0c,_.M);e0c=[2,3];_.f0c=function(a){_.R(this,a,0,-1,e0c,null)};_.O(_.f0c,_.M);_.f0c.prototype.getType=function(){return _.fk(this,1,0)};_.g0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.g0c,_.M);_.g0c.prototype.getType=function(){return _.fk(this,1,0)};var h0c=function(a){_.R(this,a,0,-1,null,null)};_.O(h0c,_.M);h0c.prototype.getType=function(){return _.fk(this,1,0)};var i0c=function(a){_.R(this,a,0,-1,null,null)};_.O(i0c,_.M);_.j0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.j0c,_.M);
var k0c=function(a){_.R(this,a,0,-1,null,null)};_.O(k0c,_.M);l0c=[1,2,4];_.m0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.m0c,_.M);_.n0c=function(a){_.R(this,a,0,-1,l0c,null)};_.O(_.n0c,_.M);_.$N=function(a){_.R(this,a,0,-1,null,null)};_.O(_.$N,_.M);_.$N.prototype.getEmail=function(){return _.G(this,1)};_.$N.prototype.getTitle=function(){return _.G(this,2)};_.$N.prototype.setTitle=function(a){return _.rk(this,2,a)};_.aO=[[2,3,4,5]];_.bO=function(a){_.R(this,a,0,-1,null,_.aO)};_.O(_.bO,_.M);
_.bO.prototype.Lf=function(){return _.fk(this,1,0)};_.bO.prototype.getUser=function(){return _.D(this,_.t_c,2)};var o0c=function(a){_.R(this,a,0,-1,null,null)};_.O(o0c,_.M);p0c=[1,2,3,4];_.q0c=function(a){_.R(this,a,0,-1,p0c,null)};_.O(_.q0c,_.M);var r0c=function(a){_.R(this,a,0,-1,null,null)};_.O(r0c,_.M);var s0c=function(a){_.R(this,a,0,-1,null,null)};_.O(s0c,_.M);_.t0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.t0c,_.M);_.u0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.u0c,_.M);
_.u0c.prototype.getType=function(){return _.fk(this,1,0)};v0c=[1];_.w0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.w0c,_.M);_.w0c.prototype.getFeature=function(){return _.fk(this,1,0)};_.x0c=function(a){_.R(this,a,0,-1,v0c,null)};_.O(_.x0c,_.M);var y0c=function(a){_.R(this,a,0,-1,null,null)};_.O(y0c,_.M);var z0c=function(a){_.R(this,a,0,-1,null,null)};_.O(z0c,_.M);var A0c=function(a){_.R(this,a,0,-1,null,null)};_.O(A0c,_.M);A0c.prototype.getType=function(){return _.fk(this,1,0)};
_.cO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.dO=function(a){_.R(this,a,0,-1,null,_.cO)};_.O(_.dO,_.M);_.dO.prototype.ty=function(){return _.D(this,A0c,10)};_.B0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.B0c,_.M);var C0c=function(a){_.R(this,a,0,-1,null,null)};_.O(C0c,_.M);_.D0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.D0c,_.M);_.E0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.E0c,_.M);_.E0c.prototype.getType=function(){return _.fk(this,1,0)};_.F0c=[[1,2,3,4,5]];
_.G0c=function(a){_.R(this,a,0,-1,null,_.F0c)};_.O(_.G0c,_.M);_.G0c.prototype.getUser=function(){return _.D(this,_.t_c,1)};var H0c=function(a){_.R(this,a,0,-1,null,null)};_.O(H0c,_.M);H0c.prototype.getType=function(){return _.fk(this,2,0)};H0c.prototype.ih=function(){return _.G(this,1)};_.I0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.I0c,_.M);_.g=_.I0c.prototype;_.g.getName=function(){return _.G(this,1)};_.g.qd=function(a){return _.rk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};
_.g.setTitle=function(a){return _.rk(this,2,a)};_.g.Ra=function(){return _.D(this,_.V_c,3)};_.J0c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.J0c,_.M);_.J0c.prototype.getParent=function(){return _.D(this,_.V_c,4)};_.J0c.prototype.Bg=function(a){return _.y(this,4,a)};var K0c=function(a){_.R(this,a,0,-1,null,null)};_.O(K0c,_.M);_.g=K0c.prototype;_.g.getName=function(){return _.G(this,1)};_.g.qd=function(a){return _.rk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};
_.g.setTitle=function(a){return _.rk(this,2,a)};_.g.Ra=function(){return _.D(this,_.V_c,3)};_.L0c=[[1,5,3]];_.M0c=function(a){_.R(this,a,0,-1,null,_.L0c)};_.O(_.M0c,_.M);_.M0c.prototype.w7=function(){return _.D(this,K0c,2)};_.eO=function(a){_.R(this,a,0,-1,null,null)};_.O(_.eO,_.M);_.eO.prototype.yV=function(a){_.y(this,1,a)};_.eO.prototype.vq=function(){return _.D(this,_.Px,2)};_.eO.prototype.vD=function(a){_.y(this,2,a)};N0c=[[5,6]];_.O0c=function(a){_.R(this,a,0,-1,null,N0c)};_.O(_.O0c,_.M);
_.O0c.prototype.Eh=function(){return _.D(this,H0c,2)};_.O0c.prototype.H=function(a){_.xk(this,5,N0c[0],a)};P0c=[3,4,5];Q0c=[[6,7]];_.fO=function(a){_.R(this,a,0,-1,P0c,Q0c)};_.O(_.fO,_.M);_.fO.prototype.Hra=function(a){_.Bk(this,4,a,_.O0c,void 0)};_.fO.prototype.H=function(a){_.xk(this,6,Q0c[0],a)};var R0c=[1],gVc=function(a){_.R(this,a,0,-1,R0c,null)};_.O(gVc,_.M);var DN=[[1,2,3,4,5,6,7]],fVc=function(a){_.R(this,a,0,-1,null,DN)};_.O(fVc,_.M);var gO=function(a){_.R(this,a,0,-1,null,null)};
_.O(gO,_.M);gO.prototype.getQuery=function(){return _.D(this,_.Ie,1,1)};var S0c=function(a,b){return _.y(a,1,b)};gO.prototype.wo=function(){return _.C(this,4)};var T0c=function(a,b){return _.y(a,5,b)},U0c=[1,2,5,7,9,10,12],hO=function(a){_.R(this,a,0,-1,U0c,null)};_.O(hO,_.M);hO.prototype.Id=function(){return _.vk(this,_.ml,1)};var V0c=function(a,b){return _.jb(a,1,b)};hO.prototype.Pg=function(a,b){return _.Bk(this,1,a,_.ml,b)};hO.prototype.$da=function(a){_.Bk(this,2,a,_.$k,void 0)};
var W0c=function(a,b){return _.B(a,3,b)};hO.prototype.en=function(){return _.C(this,4)};hO.prototype.jt=function(a){return _.B(this,4,a)};var X0c=function(a,b){return _.jb(a,5,b)},Y0c=function(a,b){return _.B(a,6,b)};hO.prototype.xg=function(){return _.D(this,_.UB,8)};var Z0c=function(a,b){return _.B(a,12,b||[])},$0c=function(a,b){return _.B(a,13,b)},a1c={iOb:0,hOb:1,QTb:2,QZb:3,TZb:4},BN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],dVc=function(a){_.R(this,a,0,-1,null,BN)};_.O(dVc,_.M);
var jVc=[[1,2]],iVc=function(a){_.R(this,a,0,-1,null,jVc)};_.O(iVc,_.M);var mVc=[[1,2,3]],lVc=function(a){_.R(this,a,0,-1,null,mVc)};_.O(lVc,_.M);var b1c=[1],c1c=function(a){_.R(this,a,0,-1,b1c,null)};_.O(c1c,_.M);c1c.prototype.Pw=function(){return _.G(this,2)};
var d1c=function(a,b){return 1<a?2==b:a==b},e1c=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("Be");},iO=function(a,b,c,d){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d};_.g=iO.prototype;_.g.clone=function(){return new iO(this.item.clone(),this.count,this.H,this.V)};_.g.getId=function(){return this.item.getId()};_.g.lc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a};_.g.dQ=function(a){this.H=a};_.g.equals=function(a){return this.count==a.lc()&&this.H==a.H&&this.V==a.V&&_.Dk(this.item,a.getItem())};_.ZM=function(a,b,c){this.response=a;this.Fg=void 0===b?0:b;this.ka=void 0===c?null:c};_.DNc=function(a){this.H=a};f1c=function(){};g1c=function(a){this.H=a};_.ENc=function(a){this.H=a};NVc=function(a,b,c,d,e,f,h,k){this.status=a;this.V=b;this.W=c;this.ma=d;this.ka=e;this.Ey=f;this.H=h;this.ha=k};
_.aN=function(a,b,c){this.response=a;this.Fg=void 0===b?0:b;this.ka=void 0===c?null:c};_.LNc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};h1c=function(a){this.pageToken=void 0===a?"":a};_.ONc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.bN=function(a,b,c){this.response=a;this.Fg=void 0===b?0:b;this.ka=void 0===c?null:c};_.NQc=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fg=void 0===d?0:d};
_.$M=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Fg=void 0===d?0:d};i1c=function(a){_.$M.call(this,a,void 0,void 0,void 0);this.XZa=new _.Zn};_.N(i1c,_.$M);
var j1c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},UUc=function(){var a=_.q.Intl;return!(!a||!a.Collator)},k1c=function(a,b){return UUc()?(new _.q.Intl.Collator([a||"ja"],b||{})).compare:function(c,d){return c.localeCompare(d)}},l1c=function(a){return[].concat(_.Sc(new Set(a.map(function(b){return _.eMc.get(b)}).filter(function(b){return b})))).join(",")},jO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Sc(b));b=l1c(b);var d=_.ZK(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":
_.F(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";_.F(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.F(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},m1c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+jO(a,b,!1)+")"},kO=function(a){return a instanceof _.ml?null!=a.getId()&&a.getId()==a.Fc():null!=a.Oc()&&a.Oc()==a.Fc()},n1c=function(a,b,c){c=void 0===c?[]:c;var d=_.Ek(a),e=b.Fh();null!=e&&FUc(a,_.Ek(e));if((e=b.Rd())&&null!=_.H(e,13)){var f=a.Rd()||new _.fl,h=_.H(e,13);_.B(f,13,
h);_.AM(a,f)}e&&null!=_.H(e,18)&&(f=a.Rd()||new _.fl,e=_.H(e,18),_.B(f,18,e),_.AM(a,f));xN(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,34,91,41,59,95,75,94,221,122,2]);d.Fh()&&xN(a,d,c)},o1c=function(a,b,c){c=void 0===c?[]:c;if(!b||!kO(a)&&!kO(b))return a;if(2==AN(a)){c=_.C(a,82);var d=_.Ek(b);n1c(d,a);_.POc(d,AN(b));_.pL(d,c);return d}a=_.Ek(a);n1c(a,b,c);return a},p1c=function(a){return(a=a?a.Fh():null)&&a.Pl()||!1},q1c=function(a,b){this.ka=a;this.H={};this.W=new Set;
this.V={};this.ha=new Set;this.ma=new Set(b)},r1c=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]={}})},t1c=function(a,b,c){b.every(function(d){return kO(d)})?s1c(b,c,a.V,a.ha):b.every(function(d){return!kO(d)})&&s1c(b,c,a.H,a.W)},s1c=function(a,b,c,d){var e=_.rNc(b,[].concat(_.Sc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&xN(f,k,[h])})})};q1c.prototype.update=function(a,b,c){b&&kO(b)?u1c(a,b,this.V,this.ha,c):u1c(a,b,this.H,this.W,c)};q1c.prototype.qS=function(a){var b=this;_.Tf(this.H,function(c,d){_.ag(b.H[d],a)});_.Tf(this.V,function(c,d){_.ag(b.V[d],a)})};var u1c=function(a,b,c,d,e){_.Tf(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.ag(f,a);else if(b&&CUc(b,[h])){var k=new _.ml;k.Tb(b.getId());xN(k,b,[h]);f[a]=k}});b&&yUc(b,[].concat(_.Sc(d)))};
q1c.prototype.clear=function(){var a=this;_.Tf(this.H,function(b,c){a.H[c]={}});_.Tf(this.V,function(b,c){a.V[c]={}})};var v1c=function(a,b,c){var d=this;this.B8=b;this.E8=c;this.Zc=new Map;this.H="";a.addCallback(function(e){d.H=e})};_.g=v1c.prototype;_.g.by=function(){return this.Zc};_.g.Rl=function(a){var b=new Map;a=_.m(a.Ql());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Zc.has(c)&&b.set(c,this.Zc.get(c).getItem());return b};
_.g.query=function(a,b){var c=[];if(w1c(a)){for(var d=_.m(this.Zc.values()),e=d.next();!e.done;e=d.next())e=e.value,x1c(this.B8,a,e.getItem())&&(void 0===b||d1c(e.H,b))&&c.push(e);this.E8.sort(a,c)}return c};_.g.get=function(a){return this.Zc.get(a)};_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Zc.get(c.value))&&b.push(c);return b};
_.g.update=function(a){a.H?(a.H.count++,a.V&&a.V.count--,y1c(this,a.H)?(this.Zc.delete(a.id),a.H.count--):this.Zc.set(a.id,a.H)):(this.Zc.delete(a.id),a.V.count--)};var y1c=function(a,b){return 1<b.lc()||d1c(b.H,2)||b.getItem().rG()||YUc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.H};v1c.prototype.qS=function(){for(var a=_.m(this.Zc.values()),b=a.next();!b.done;b=a.next())b=b.value,y1c(this,b)&&(this.Zc.delete(b.getId()),b.count--)};
var z1c=function(a,b,c,d){this.lm=a;this.W=b;this.V=c;this.ha=d},DVc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),t1c(a.ha,[b.getItem()],vYc(a.lm)),b):null};z1c.prototype.H=function(a){return(a=DVc(this,a))?a.getItem():null};var A1c=function(a,b){var c={};b.forEach(function(d){var e=DVc(a,d);e&&(c[d]=e)});return c},B1c=function(a,b){return _.Vf(A1c(a,b),function(c){return c.getItem()})},C1c=function(a,b){b=lO(a.W,b);return a.V.query(b).map(function(c){return c.clone()})};
z1c.prototype.query=function(a){return C1c(this,a).map(function(b){return b.getItem()})};z1c.prototype.Sd=function(){return this.V.by().size};
var D1c=function(a){var b=new Set;a=_.m(a.V.by().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.nl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.TF(e));(d=c.Ep())&&b.add(d.getId()||_.TF(d));(d=c.Nx())&&b.add(d.getId()||_.TF(d));(d=c.Np())&&b.add(d.getId()||_.TF(d));(c=c.OE())&&b.add(c.getId()||_.TF(c))}return b.size},E1c=function(a){var b=new _.$p;_.SM(b,"hidden",a.Pl());a=_.H(a,6);null!=a&&_.SM(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
F1c=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}},G1c=function(a){var b=UUc(),c={};b&&(c.numeric=b);this.H=k1c(a,c)};G1c.prototype.compare=function(a,b,c){b=H1c(b);c=H1c(c);a=a.Pc();var d=F1c(a);if(a&&d){d=I1c(this,a);var e=4==a.getType()?this.H:_.Ha;return J1c(a,d,e,b,c)}return _.Ha(b.getId(),c.getId())};
G1c.prototype.sort=function(a,b,c){a=a.Pc();var d=F1c(a);a&&d&&(d=I1c(this,a),d=K1c(b,d),_.Ja(b,L1c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var H1c=function(a){return a instanceof _.ml?a:a.getItem()},I1c=function(a,b){b=F1c(b);return _.v(a.V,a,b,_.Ha)},K1c=function(a,b){var c={};a.forEach(function(d){d=H1c(d);var e=d.getId();c[e]=b(d)});return c},L1c=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Ha;d=H1c(d);e=H1c(e);return J1c(b,function(h){return c[h.getId()]},f,d,e)}},J1c=function(a,b,c,d,e){var f=1==_.fk(a,2,1)?1:-1;if(_.H(a,3)){a=zN(d,!0);var h=zN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ha(d.getId(),
e.getId()))};G1c.prototype.V=function(a,b,c){for(var d=M1c(a[0],c),e=1;e<a.length;e++){var f=M1c(a[e],c);d=1==b(f,d)?f:d}return d};
var M1c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.DA()||!1;case 12:return b.CA()||0;case 11:return b.NC()||0;case 10:return b.ys()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.qy()||0;case 57:return _.C(b,62)||0;case 32:return b.hz()||0;case 9:return b.zE()||0;case 67:return b.BK()||0;case 98:return b.Mv()||0;default:return""}},N1c=function(a,b){this.fields=a;this.V="";this.fields.sort();this.W=b;this.H=_.tL(_.UK(b));
a=_.lL(b);this.ka=!(!a||!_.F(a,1,!1));this.ha=!(!a||!_.F(a,8,!1))};N1c.prototype.jt=function(a){this.V=a||""};
var lO=function(a,b,c){b=_.Ek(b);"root"==b.getId()&&b.Tb(a.V);_.EM(b).filter(function(d){return"root"==d.$a()}).forEach(function(d){return d.Ob(a.V)});_.Oe(b,_.DM(b).map(function(d){d.Ob(d.$a().toLowerCase());return d}));c&&_.El(b,a.fields);b.H().sort();return b},mO=function(a,b,c){if(b instanceof _.Ie){b=lO(a,b);var d=_.mQc(b)}else if(b instanceof _.ap)d=b.Ql().sort().join(","),_.F(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.OK)return d=E1c(b),d+"|tdList";if(b instanceof _.ip)return d=b.Ql().sort().join(","),
b.H().length&&(d+="|"+l1c(b.H())),d+"|tdMap";throw Error("Fe");}return 3==c?d:d+"|"+O1c(a,b.H(),2==c)},O1c=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.Sc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.yL({fields:[].concat(_.Sc(f)),qz:a.H}));e.size&&(d=d+" + "+_.yL({fields:[].concat(_.Sc(e)),qz:a.H}));return d};
N1c.prototype.equals=function(a,b,c){var d;c&&(d=3);return mO(this,a,d)==mO(this,b,d)};
var P1c=function(a){if(!a.Ql().every(function(b){return!_.id(b)}))throw new _.Sb("Invalid ids for FindByIdsRequest");},R1c=function(a,b,c){if(_.UL(b))throw new _.Sb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");Q1c(a,b,c)},Q1c=function(a,b,c){var d;a.ha||(d=_.uL(3));if(b.getId())throw new _.Sb("Use findByIds() for find by id queries.",d?d:_.uL(3));if(!b.ki()||0>=b.ki())throw new _.Sb("A positive limit is required on an ItemQueryRequest.",d?d:_.uL(3));
_.Hd(b,33);a.ka&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),S1c(a,d,b.H()));if(c=(c=b.Pc())&&F1c(c))d=b.H().length?b.H():a.fields,S1c(a,d,c);if(_.TL(b)){if(a.H)throw new _.Sb("User must be authenticated for a Quick Access request.");if(!T1c(a)&&20<b.ki())throw new _.Sb("Limit must be in the range [1, 20].");c=2==_.FM(b);d=_.Hd(b,33).length;if(c&&1!=d||d&&!c)throw new _.Sb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.nk(_.lk(_.lk(_.lk(_.$G(_.lk(_.mk(_.$G(b.clone(),
1),30),32),33),45),47),48),6);d=new _.Ie;if(!_.Dk(c,d))throw new _.Sb("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: "+LYc(d,c));}if(_.VL(b)){if(a.H)throw new _.Sb("User must be authenticated for a DrivePriority request.");if(2==_.FM(b))throw new _.Sb("Team Drive corpora is not valid for a Drive Priority request.");a=_.lk(_.lk(_.lk(_.mk(_.$G(b.clone(),1),30),32),45),52);b=
new _.Ie;if(!_.Dk(a,b))throw new _.Sb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+LYc(b,a));}},U1c=function(a,b,c){if(!_.UL(b))throw new _.Sb("Expected a PeoplePredict request.");Q1c(a,b,c);if(a.H)throw new _.Sb("User must be authenticated for a People Predict request.");if(2==_.FM(b))throw new _.Sb("Team Drive corpora is not valid for a People Predict request.");a=_.lk(_.lk(_.lk(_.mk(_.$G(b.clone(),
1),30),32),45),49);b=new _.Ie;if(!_.Dk(a,b))throw new _.Sb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+LYc(b,a));},S1c=function(a,b,c){var d;a.ha||(d=_.uL(3));if(!DUc(b,c,!0)){var e=_.yL({fields:c,qz:a.H}),f=_.yL({fields:b,qz:a.H});a=_.yL({fields:EUc(c,b),qz:a.H});throw new _.Sb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.uL(3));}},
T1c=function(a){return 200<=_.HM(a.W)&&300>_.HM(a.W)},V1c=function(a){var b=new Set;_.DM(a).forEach(function(c){switch(_.xTa(c.$a())){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[].concat(_.Sc(b))},W1c=function(a){switch(_.HM(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"}},X1c=function(a){_.P.call(this);this.H=a};_.O(X1c,_.P);_.g=X1c.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.addCallback(function(d){d.registerService(a,b,c)})};_.g.NL=function(a){this.H.addCallback(function(b){b.NL(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();X1c.wb.Ya.call(this)};var $Uc=function(a){_.sy.call(this);this.H=a;this.W=_.Zd(this.H,"message",this.tjb,!1,this)};_.O($Uc,_.sy);_.g=$Uc.prototype;_.g.Vd=null;
_.g.send=function(a,b){var c=[];b=this.Uua(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.lMc&&(a=(0,_.Gi)(a));this.H.postMessage(a,c)};_.g.tjb=function(a){a=a.Me;var b=a.data;if(_.lMc)try{b=JSON.parse(b)}catch(e){return}if(_.Da(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.V(c,this.cya(a.ports||[],b),d.TAa),null!=b&&d.callback(b))}};
_.g.Uua=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)?_.ib(b,(0,_.v)(this.Uua,this,a)):b&&b.constructor==Object?_.Vf(b,function(c,d){c=this.Uua(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.cya=function(a,b){return Array.isArray(b)?_.ib(b,(0,_.v)(this.cya,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Vf(b,function(c,d){return this.cya(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Ai(this.W);"[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;$Uc.wb.Ya.call(this)};
var Y1c=function(a,b){if("*"==b)return new X1c(_.ni(Error("Ge")));var c=new _.Ci(50),d=_.Wa(_.aa,c),e=new _.gi(d);_.ii(e,d);c.start();_.Zd(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new $Uc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new X1c(e)},Z1c=function(a){_.P.call(this);this.H=new _.wKc(a);this.W={};this.V=_.yKc(this.H,
"private");this.ha=_.yKc(this.H,"public");this.V.registerService("mics",(0,_.v)(this.Lgb,this),!0)};_.O(Z1c,_.P);_.g=Z1c.prototype;_.g.rzb=0;_.g.Ya=function(){_.aa(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.rzb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.Lgb=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,_.v)(this.Kgb,this,b),!0)};
_.g.Kgb=function(a,b){a=a(b.data);var c=b.signature;_.Zh(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var $1c=function(a,b,c){_.P.call(this);this.ka=c;this.ha=!1;this.H=new _.wKc(a);this.Oa(this.H);this.V=new Z1c(_.yKc(this.H,"direct"));this.Oa(this.V);a=_.yKc(this.H,"passthrough");this.W=b?a:new Z1c(a);this.Oa(this.W);this.NT=b};_.N($1c,_.P);$1c.prototype.registerService=function(a,b){this.V.registerService(a,b)};
$1c.prototype.send=function(a,b,c){this.V.send(a,b||{},c||_.nf)};var nO=function(a,b,c){if(a.NT)throw Error("He");a.W.registerService(b,c,!0)},a2c=function(a,b,c,d){if(a.NT)throw Error("Ie");a.W.send(b,c||{},d||_.nf)};$1c.prototype.start=function(){this.ha||(this.ha=!0);if(this.NT)throw Error("Je");};bVc=[];b2c={YMb:0,vNb:1,bTb:3,e0b:5,kdb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.cM=function(a){_.R(this,a,0,-1,null,null)};_.O(_.cM,_.M);
_.cM.prototype.Ae=function(){return _.D(this,_.Ue,1)};var c2c=function(){var a=new _.cM,b=_.Ve(new _.Ue,301);return _.y(a,1,b)};_.cM.prototype.Fc=function(){return _.C(this,3)};_.MNc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.MNc,_.M);_.MNc.prototype.Fc=function(){return _.C(this,1)};var d2c=function(a){return _.D(a,_.$K,3)||_.D(a,_.nM,4)||_.D(a,_.cN,5)||_.D(a,_.jM,6)||_.D(a,_.LL,7)||_.D(a,_.EL,8)||_.D(a,_.IL,9)||_.D(a,_.mL,10)},e2c=function(a){_.R(this,a,0,-1,null,null)};_.O(e2c,_.M);_.g=e2c.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.oy=function(){return _.C(this,3)};_.g.Pe=function(){return _.C(this,4)};_.g.Ri=function(a){return _.B(this,4,a)};var f2c=function(a){this.Vd=a;this.H=new Map;this.V=this.Vd.ha};
f2c.prototype.create=function(a,b){if(0!=BYc(b)){var c=this.Vd.V(106001);if(c){var d=BYc(b),e=KN(c);_.B(e,2,d);d=KN(c);e=null;if(b instanceof _.UF||b instanceof _.ap||b instanceof _.Ie||b instanceof _.XL||b instanceof _.BC||b instanceof _.ip||b instanceof _.OK||b instanceof _.VK||"undefined"!=typeof _.lM&&b instanceof _.lM||b instanceof _.kp)e=b.Ae();e=e&&_.F(e,2,!1);_.B(d,7,"boolean"==typeof e?e:void 0);d=KN(c);b=b instanceof _.Ie?0<_.EM(b).length:void 0;_.B(d,8,b);this.H.set(a,c)}}};
var g2c=function(a,b,c){if(a=a.H.get(b))a=KN(a),_.B(a,5,c)},h2c=function(a,b,c){(a=a.H.get(b))&&_.H(KN(a),8)&&(a=KN(a),_.B(a,9,c))},i2c=function(a,b,c,d,e){var f=a.H.get(b);f&&(KN(f).Ec(c),KN(f).Di(d),null!=e&&(c=KN(f),_.B(c,6,e)),f.xk(),a.H.delete(b))},j2c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.V.Gb(c);c=CYc(c);if(1==e||2==c)e=_.VM(_.oMc,c),d=KN(d),d=3==e||8==e?!_.H(d,5):0!=e?_.KMc.has(e):null,i2c(a,b,1,e,d)}},k2c=function(a,b,c){var d=a.V.Gb(c);d=_.VM(_.nMc,d||22);var e=CYc(c);e=_.VM(_.oMc,
e);i2c(a,b,d,e,"undefined"!=typeof _.ZM&&c instanceof _.ZM||"undefined"!=typeof _.aN&&c instanceof _.aN||"undefined"!=typeof _.bN&&c instanceof _.bN?c.ka:null)},oO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(KN(d).Ec(c),d.xk(),a.H.delete(b))},pO=function(a,b){_.ui.call(this,"Gb");this.error=a;this.H=b};_.N(pO,_.ui);var l2c=[2,4],qO=function(a){_.R(this,a,0,-1,l2c,null)};_.O(qO,_.M);qO.prototype.Gb=function(){return _.C(this,1)};qO.prototype.Ec=function(a){return _.B(this,1,a)};
qO.prototype.Bj=function(){return _.C(this,3)};var m2c=[4,9],n2c=function(a){_.R(this,a,0,-1,m2c,null)};_.O(n2c,_.M);_.g=n2c.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.mRa=function(){return _.C(this,2)};_.g.lIa=function(){return _.C(this,3)};_.g.Tmb=function(){return _.vk(this,_.dL,4)};var o2c={N_b:0,uVb:1,xVb:2,OTHER:3,vVb:4},p2c=function(a){_.R(this,a,0,-1,null,null)};_.O(p2c,_.M);p2c.prototype.getUrl=function(){return _.C(this,1)};
var rO=function(a){_.R(this,a,0,-1,null,null)};_.O(rO,_.M);var q2c=function(a,b){return _.B(a,1,b)};rO.prototype.getName=function(){return _.C(this,2)};rO.prototype.qd=function(a){return _.B(this,2,a)};rO.prototype.getEmail=function(){return _.C(this,3)};rO.prototype.Zp=function(){return _.bk(this,3)};var r2c=[1],s2c=function(a){_.R(this,a,0,-1,r2c,null)};_.O(s2c,_.M);var t2c=function(a,b){return _.jb(a,1,b)},u2c=function(a){_.R(this,a,0,-1,null,null)};_.O(u2c,_.M);_.g=u2c.prototype;
_.g.Oc=function(){return _.C(this,1)};_.g.Gb=function(){return _.C(this,2)};_.g.Ec=function(a){return _.B(this,2,a)};_.g.getError=function(){return _.D(this,_.Rb,3)};_.g.Ve=function(a){return _.y(this,3,a)};_.g.Wn=function(){return _.bk(this,3)};var v2c=[2],sO=function(a){_.R(this,a,0,-1,v2c,null)};_.O(sO,_.M);sO.prototype.Gb=function(){return _.C(this,1)};sO.prototype.Ec=function(a){return _.B(this,1,a)};sO.prototype.ek=function(){return _.vk(this,_.ZA,2)};var w2c=function(a,b){return _.jb(a,2,b)};
sO.prototype.Bj=function(){return _.C(this,3)};var x2c=function(a){_.R(this,a,0,-1,null,null)};_.O(x2c,_.M);var y2c=[1],z2c=function(a){_.R(this,a,0,-1,y2c,null)};_.O(z2c,_.M);var A2c=function(a,b){return _.B(a,1,b||[])},B2c=function(a,b){this.V=a|0;this.H=b|0};B2c.prototype.equals=function(a){return this===a?!0:a instanceof B2c?this.V===a.V&&this.H===a.H:!1};B2c.prototype.Ic=function(){return 31*this.V+17*this.H|0};
var C2c=function(a,b){return new B2c(a,b)},D2c=function(a,b){b=~b;a?a=~a+1:b+=1;return C2c(a,b)},E2c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?D2c:C2c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},F2c=function(){this.H=this.ha=this.V=this.W=null},G2c=function(a,b,c){this.id=a;this.V=b;this.H=c},H2c=function(a,b){return new G2c((a?a:b).getId(),a,b)},tO=function(a){return new G2c(a.getId(),null,a)},I2c=function(a){_.P.call(this);this.ma=a;this.c9={};this.ka={};this.ha=!0;
this.V=null;this.W=!1};_.N(I2c,_.P);
var uO=function(a,b,c){if(a.W)throw Error("Se");c={Gn:_.fg(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.c9[d];null==e&&(e=[],a.c9[d]=e);e.push(c)}},vO=function(a,b){if(!a.W)throw Error("Te");if(!a.ha)throw Error("Ue`"+a.V+"`"+(a.V.stack?"\nOriginal stack: "+a.V.stack:""));a.ma.info("drive.ds.MilestoneManager","Passing Milestone: "+b);a.ka[b]=!0;var c=a.c9[b];if(c){delete a.c9[b];for(var d=0;d<c.length;++d){var e=c[d];delete e.Gn[b];if(_.$f(e.Gn))try{e.callback()}catch(f){throw a.ha=
!1,a.V=f,f;}}}};I2c.prototype.H=function(a){return!!this.ka[a]};I2c.prototype.start=function(){this.W=!0};I2c.prototype.Ya=function(){_.P.prototype.Ya.call(this);delete this.c9};var J2c=function(){_.Q.call(this);this.H=Date.now()};_.N(J2c,_.Q);J2c.prototype.oL=function(){this.H=Date.now();this.dispatchEvent("Hb")};var K2c=function(a,b,c){_.Q.call(this);this.Ba=a;this.ma=b;this.V=!0;this.H=this.hk=this.ha=null;this.W=!1;this.ka=c};_.N(K2c,_.Q);K2c.prototype.Sz=function(){return this.V};
K2c.prototype.K4=function(){var a=this;if(this.ha)return this.ha;var b=_.di();this.ha=b.promise;_.q.setTimeout(function(){a.ha=null},5E3);L2c(this,b);return b.promise};K2c.prototype.ta=function(){1==this.V&&(M2c(this,"Became unauthenticated."),this.V=!1,this.W=!0,N2c(this))};K2c.prototype.va=function(){0==this.V&&(M2c(this,"Became authenticated."),this.V=!0,this.H=null,this.W=!1,this.hk&&(_.q.clearTimeout(this.hk),this.hk=null),this.dispatchEvent(new UYc("eb")))};
var N2c=function(a){a.H||(a.H=new _.iRc(5E3),a.hk=_.q.setTimeout(function(){return O2c(a)},a.H.$a()))},O2c=function(a){L2c(a);a.H&&(_.YG(a.H),a.hk=_.q.setTimeout(function(){return O2c(a)},a.H.$a()))},L2c=function(a,b){_.Zh().then(function(){return P2c(a,b)})},P2c=function(a,b){M2c(a,"Checking authentication state.");var c=a.Ba.then(function(d){return d.lh(new _.NNc)});b?c.then(function(){var d=b.resolve;var e=new x2c;e=_.B(e,1,1);d.call(b,e)},function(d){var e=_.wL(d).hh;d=0;_.yMc(e)?(M2c(a,"Checked authentication state: unauthenticated."),
d=2):(M2c(a,"Checked authentication state: error occurred."),_.gr(e),_.B(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new x2c;_.B(e,1,d);b.resolve(e)}):c.then(null,function(d){d=_.wL(d);_.yMc(d.hh)&&a.W&&(a.dispatchEvent(new UYc("fb")),a.W=!1)})},M2c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},Q2c=function(a,b){this.B8=a;this.E8=b;this.UK=!0;this.y8=!1;this.zt=0},R2c=function(a){a.UK=!1;a.qS()};_.g=Q2c.prototype;
_.g.$wa=function(a,b){var c=this;if(5==this.BG(a))throw Error("Ve");var d=[];_.La(this.by(),function(e){x1c(c.B8,a,e.getItem())&&d.push(e)});this.E8.sort(a,d,b);return d};_.g.Sd=function(){return this.by().length};_.g.Rl=function(a){var b=this.$wa(a,void 0);b=qVc(b);var c=new _.$A;c.uv(b);c.Ec(this.aP(a)?6:1);return c};_.g.update=function(a){var b=this.gx(a.V),c=this.gx(a.H);if(!b&&!c)return!1;b&&this.t5(a.V);c&&this.gya(a.H);return!0};_.g.BG=function(a){return this.UK&&this.y8?w1c(a)?1:5:5};
_.g.j0=function(){this.y8=!0};_.g.gx=function(a){return!!a&&this.UK};_.g.Di=function(a){this.zt=a};_.g.$e=function(){return this.zt};var wO=function(a,b,c,d,e,f){f=void 0===f?"":f;Q2c.call(this,a,b);this.ha=c;this.nextPageToken=f;this.Zc=[];this.V={};this.Kc=lO(c,d,!0);this.H=!e;S2c(this,e);this.W=(0,_.v)(this.E8.compare,this.E8,this.Kc)};_.N(wO,Q2c);_.g=wO.prototype;_.g.Ad=function(){return this.Kc};
_.g.gya=function(a){var b=this.V[a.getId()];b&&this.t5(b);tUc(this.Zc,a,this.W);this.V[a.getId()]=a;a.count++;this.Zc.length>this.Kc.ki()&&(this.t5(_.ha(this.Zc)),this.H=!1)};_.g.t5=function(a){var b=this.Zc,c=_.Ia(b,a,this.W);0<=c&&_.ua(b,c);_.ag(this.V,a.getId());a.count--};_.g.qS=function(){this.Zc.forEach(function(a){a.count--});this.Zc=[];this.V={}};_.g.by=function(){return this.Zc};
_.g.BG=function(a){var b;if(b=this.ha.equals(this.Kc,a,!0))a=a.H(),b=this.Kc.H(),b=DUc(b,a,!0);return b?this.H?1:6:5};_.g.$wa=function(a,b){if(5==this.BG(a))throw Error("Ve");b=b?Math.min(b,this.Zc.length):this.Zc.length;return _.Aa(this.Zc,0,b)};_.g.gx=function(a){if(!Q2c.prototype.gx.call(this,a)||!x1c(this.B8,this.Kc,a.getItem()))return!1;if(this.H||_.F(this.Kc,48,!1))return!0;var b=_.ha(this.Zc);return!!b&&0>=this.W(a,b)};_.g.aP=function(){return this.H?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.Tl=function(a,b){var c=this,d=_.ha(this.Zc);!this.H&&d&&_.ma(a,function(e){return e.getId()==d.getId()})&&(b?(this.t5(d),S2c(this,_.ha(a))):this.H=!0);_.La(a,function(e){c.update(tO(e))})};var S2c=function(a,b){b&&x1c(a.B8,a.Kc,b.getItem())&&a.gya(b)};wO.prototype.Pw=function(){return this.nextPageToken};var xO=function(a,b){Q2c.call(this,a,b);this.H={}};_.N(xO,Q2c);xO.prototype.gya=function(a){this.H[a.getId()]=a;a.count++};xO.prototype.t5=function(a){_.ag(this.H,a.getId());a.count--};
xO.prototype.qS=function(){_.Tf(this.H,function(a){a.count--});this.H={}};xO.prototype.by=function(){return Object.values(this.H)};var yO=function(a,b,c,d,e){xO.call(this,a,b);var f=this;this.V=e;uO(c,["aU7Ts","BNEDtc"],function(){return f.j0()})};_.N(yO,xO);
yO.prototype.BG=function(a){var b=this,c=xO.prototype.BG.call(this,a);if(5==c)return c;if(0<_.Hd(a,33).length)return 5;a=_.EM(a);return 0<a.length&&!a.every(function(d){d=b.H[d.$a()];return null!=d&&!d.getItem().Fc()&&MUc(d.getItem())&&!_.H(d.getItem(),108)})?5:1};yO.prototype.gx=function(a){return xO.prototype.gx.call(this,a)&&T2c(this,a.getItem())};var T2c=function(a,b){if(_.H(b,31)||!a.y8)return!0;var c=a.V();return b.Fj().some(function(d){var e=a.H[d];return d==c||null!=e&&MUc(e.getItem())})};
yO.prototype.j0=function(){var a=this;xO.prototype.j0.call(this);_.Tf(this.H,function(b){T2c(a,b.getItem())||(b.count--,_.ag(a.H,b.getId()))})};yO.prototype.Ad=function(){return new _.Ie};yO.prototype.getType=function(){return"SubscribedCorpusCache"};yO.prototype.aP=function(){return!1};var U2c=/^[\x00-\x7F]*$/,V2c=function(){this.H=""};V2c.prototype.jt=function(a){this.H=a||""};
var w1c=function(a){return W2c(a)&&0==_.Hd(a,40).length&&void 0==_.C(a,41)},W2c=function(a){var b=!0;_.vk(a,_.Ke,13).forEach(function(d){"me"!=d.$a()&&(b=!1)});var c=a.Pc();c=!c||5!=c.getType();return 0==_.vk(a,_.yl,5).length&&0==_.vk(a,_.Ke,14).length&&0==_.vk(a,_.Ke,15).length&&!_.bk(a,58)&&!_.H(a,18)&&!_.H(a,34)&&0==_.vk(a,_.BM,35).length&&0==_.vk(a,_.BM,38).length&&c&&b&&0==_.Hd(a,39).length&&!_.C(a,42)&&0==_.vk(a,_.tl,44).length&&!_.TL(a)&&!_.UL(a)&&!_.VL(a)&&0==_.vk(a,_.ul,57).length&&X2c(a)&&
!_.D(a,_.Bna,59)&&null==_.H(a,60)&&0==_.vk(a,_.Ke,68).length&&0==_.vk(a,_.Ke,67).length&&null==_.H(a,69)},X2c=function(a){return _.vk(a,_.zl,4).every(function(b){return U2c.test(b.$a())})};V2c.prototype.Y5=function(a,b){var c=this;return b.filter(function(d){return x1c(c,a,d)})};
var x1c=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!kO(c);if(d){d=!0;var e=_.vk(b,_.zl,4);if(X2c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.$a()){var k=_.F(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.$a().toLowerCase();if(2==_.C(h,1))l=n==l,d=d&&(k?!l:l);else{h=[];n=n.replace(/_/g," ");if(0<=n.indexOf("-"))for(var p=/\w*-[\w-]*/,r;r=n.match(p);)h.push(r[0]),n=n.replace(p,"");h.push.apply(h,_.Sc(n.split(/\b/)));for(n=0;n<h.length&&d;n++)p=h[n],r=!0,0!=(0,_.Qf)(p).length&&(0==p.replace(/\./g,
"").length&&(r=!1),p=!!l.match(new RegExp((r?"(^|[^\\w]|_)":"")+_.Og(p))),d=d&&(k?!p:p))}}}else d=!0}if(d){l=_.DM(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.$a()&&(p=c.getMimeType()||"",_.H(h,4)&&(p=(n=c.Qf())&&_.C(n,3)||""),n=_.F(h,2,!1),h=_.rM(b)?h.$a().toLowerCase()==p.toLowerCase():h.$a()==p,n?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.vk(b,_.wl,7),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.ys(),d=d&&Y2c(k,f);if(d)for(d=!0,e=_.vk(b,_.wl,
8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.CA(),d=d&&Y2c(k,f);d&&(d=b.mi(),e=(e=_.FM(b))&&(2==e||3==e),d=null==d||d==!!c.mi()&&(!d||1==c.oo()||!!e));d&&(d=null==_.H(b,10)||_.H(b,10)==!!c.DA());d&&(d=null==b.Pl()||b.Pl()==!!c.Pl());if(d)a:{d=_.EM(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.$a()&&(f="root"==e.$a()&&a.H||e.$a(),f=c.Fj().includes(f),_.F(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.vk(b,_.Ke,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==
d.$a()&&(e=1==c.oo(),_.F(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.H(b,16)||(_.H(b,16)?null!=c.qy():!0));a&&(a=_.H(b,17),d=(d=_.FM(b))&&(2==d||3==d),a=null==a||a==!!c.rG()&&(!a||1==c.oo()||!!d));a&&(a=WUc(c),a=null==_.H(b,19)||_.H(b,19)==!!_.H(a,1));a&&(a=!0);if(a=a&&Z2c(b,c)&&$2c(b,c))a=_.Hd(b,33),a=!a.length||a.includes(c.Fc()||"");if(a=a&&a3c(b,c))_.C(b,41)?(a=_.D(c,_.xM,86),a=null!=a&&_.C(b,41)==_.C(a,3)):a=!0;if(a=a&&b3c(b,c))a=_.FM(b),1==a?(a=_.H(c,31),a=!!_.EM(b).length||!!_.vk(b,_.BM,
35).length||1==_.H(b,18)||_.TL(b)||_.UL(b)||_.VL(b)||!!b.Yp()||null==a||a):a=2==a?!!c.Fc():!0;a&&(a=_.TL(b)?!!_.pl(c)&&!c.mi():!0);a&&(a=_.UL(b)?!!_.ql(c).length&&!c.mi():!0);a&&(a=_.VL(b)?!!_.vk(c,_.cl,117).length&&!c.mi():!0);a&&(a=_.bk(b,50)?_.F(b,50,!1)?_.bk(c,101)&&0!==_.C(c,101):!_.bk(c,101):!0);a&&(a=b.Yp(),a=!a||_.Hd(c,120).includes(a));a&&(c=_.D(c,_.uM,138),null==_.H(b,65)||null==c?a=!0:(c=2==_.C(c,1),a=_.H(b,65)==c));return a},Y2c=function(a,b){if(null!=_.C(b,2))switch(_.C(b,1)){case 1:return a<=
_.C(b,2);case 2:return a<_.C(b,2);case 3:return a==_.C(b,2);case 4:return a>_.C(b,2);case 5:return a>=_.C(b,2);default:return!1}return!0},Z2c=function(a,b){var c=_.fg(_.Hd(b,56));a=_.vk(a,_.CM,25);return 0==a.length?!0:a.every(function(d){return c[d.$a()]})},$2c=function(a,b){if(0==a.Sw().length)return!0;var c=_.fg(b.Sw().map(function(d){return _.C(d,1)}));a=_.fg(a.Sw().map(function(d){return _.C(d,1)}));return _.Wf(a,function(d,e){return c[e]})},a3c=function(a,b){var c=_.fg(_.Hd(b,50));a=_.vk(a,
_.xl,37);return 0==a.length?!0:a.every(function(d){return c[d.$a()]})},b3c=function(a,b){if(_.Hd(a,40).length){if(b=_.D(b,_.xM,86)){var c=_.fg(_.Hd(b,2));return _.Hd(a,40).some(function(d){return c[d]})}return!1}return!0},zO=function(a,b,c){xO.call(this,a,b);this.teamDriveId=c};_.N(zO,xO);_.g=zO.prototype;
_.g.BG=function(a){var b=this,c=xO.prototype.BG.call(this,a);if(5==c)return c;c=_.EM(a);var d=c.every(function(e){var f=e.$a();return(null!=b.H[f]||b.teamDriveId==f)&&!_.F(e,2,!1)});if(0<c.length&&d)return 1;a=_.Hd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.gx=function(a){return xO.prototype.gx.call(this,a)&&!!a&&a.getItem().Fc()==this.teamDriveId&&!kO(a.getItem())};_.g.aP=function(){return!1};_.g.Ad=function(){var a=new _.Ie;_.rN(a,[this.teamDriveId]);_.sN(a,2);return a};
_.g.Fc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var c3c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.Ie;_.B(a,48,!0);var b=new _.Dc;_.Ec(b,11);_.Fc(b,2);_.Je(a,b);this.ka=lO(this.ha,a,!0)};c3c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof yO?b.H=c:c instanceof wO?b.W.push(c):c instanceof zO&&b.V.push(c)})};
c3c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof yO)b.H&&(R2c(b.H),b.H=null);else if(c instanceof wO){var d=_.ka(b.W,function(e){return b.ha.equals(e.Ad(),c.Ad())});0<=d&&(R2c(b.W[d]),_.ua(b.W,d))}else c instanceof zO&&(d=_.ka(b.V,function(e){return b.ha.equals(e.Ad(),c.Ad())}),0<=d&&(R2c(b.V[d]),_.ua(b.V,d)))})};
var d3c=function(a){var b=[];a.H&&b.push(a.H);_.za(b,_.ya(a.W));_.za(b,_.ya(a.V));return b},e3c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Ek(c.Ad()),_.lk(c,32),_.nk(c,26),!_.Dk(a.ka,c)):!0})};c3c.prototype.fT=function(){return _.ya(this.V)};
var f3c=function(a,b){return _.Af(a.V,function(c){return c.Fc()==b})},g3c=function(a,b){return e3c(a).find(function(c){return a.ha.equals(c.Ad(),lO(a.ha,b,!0))})},h3c=function(a,b){_.ui.call(this,"Ib");this.ids=a;this.error=b};_.N(h3c,_.ui);h3c.prototype.getError=function(){return this.error};h3c.prototype.H=function(){return this.ids};var i3c=function(a){_.ui.call(this,"Jb");this.people=a};_.N(i3c,_.ui);i3c.prototype.getPeople=function(){return this.people};
var j3c=function(a){_.ui.call(this,"Kb");this.people=a};_.N(j3c,_.ui);j3c.prototype.getPeople=function(){return this.people};var l3c=function(a,b,c){this.H=a;this.Fg=void 0===c?0:c;this.W=this.ha=null;this.V=new Set(b?[b]:[]);k3c(this)};l3c.prototype.$e=function(){return this.Fg};
var k3c=function(a){1==a.Fg?(a.ha=Date.now(),a.W=null):4==a.Fg&&(a.W=Date.now())},n3c=function(a,b,c,d){_.Q.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.H=[];this.ma=new _.MK(function(){return m3c(e)},100,this)};_.N(n3c,_.Q);n3c.prototype.mh=function(a){a&&_.ZK(this.V)&&(this.H.includes(a)||this.H.push(a),this.ma.Be())};
var m3c=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));o3c(a,b)}})},o3c=function(a,b){a.ha.then(function(c){return c.lh(sYc(new _.bM,b))}).then(function(c){c=_.vk(c,rO,1);a.dispatchEvent(new i3c(c))},function(c){c=_.wL(c);a.dispatchEvent(new h3c(b,c))})},r3c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.H=new Map;this.ha=new Map;this.ka=new _.je(this);
this.Oa(this.ka);this.Ba=b;this.W=d;this.va=e;this.V=!_.F(a,90,!1);(d=_.D(a,wXc,85))||(d=new wXc);this.ta=_.gk(d,1,864E5);this.ma=new n3c(a,b,c,f);this.Ea=new _.HD(function(){var k=DYc(h.va,106015);if(k){var l=_.D(_.UM(k),nYc,11);if(!l){l=new nYc;var n=_.UM(k);_.y(n,11,l)}_.B(l,1,h.H.size);k.xk()}},500,this);this.ka.listen(this.ma,"Jb",function(k){k=k.getPeople();p3c(h,k,1);h.Ea.Be()});this.ka.listen(this.ma,"Ib",function(k){q3c(h,k)})};_.N(r3c,_.Q);
r3c.prototype.get=function(a){var b=this.V?_.Sg():"";this.V&&this.W.create(b,sYc(new _.bM,[a]));var c=this.H.get(a);if(c)return s3c(this,c)?(this.V&&oO(this.W,b,1==c.$e()&&Date.now()-Number(c.ha)>this.ta?6:5),t3c(this,a)):this.V&&i2c(this.W,b,1,_.VM(_.oMc,10),null),c;this.V&&oO(this.W,b,5);return null};var t3c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ma.mh(b);var c=new _.Zn;a.ha.set(b,c);return c.promise};
r3c.prototype.Ub=function(a){var b=this,c=this.V?_.Sg():"";this.V&&this.W.create(c,sYc(new _.bM,[a]));return u3c(this,a)?(this.V&&i2c(this.W,c,1,_.VM(_.oMc,10),null),Promise.resolve(this.H.get(a))):t3c(this,a).then(function(){b.V&&(u3c(b,a)?i2c(b.W,c,1,_.VM(_.oMc,1),null):oO(b.W,c,3));return b.H.get(a)})};r3c.prototype.wc=function(){return 0==this.H.size};r3c.prototype.clear=function(){v3c(this,"Clearing the PeopleCache.");this.H.clear()};
var w3c=function(a){return[].concat(_.Sc(a.H.values())).filter(function(b){return[1,4,2].includes(b.$e())&&4!=b.$e()}).map(function(b){return b.H.clone()})},x3c=function(a,b){return(a=a.H.get(b))?[].concat(_.Sc(a.V)):[]},y3c=function(a,b,c){c=_.m(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==[].concat(_.Sc(e.V)).length&&a.H.delete(d))}},p3c=function(a,b,c){if(![1,2].includes(c))throw Error("We");0!=b.length&&(v3c(a,"Importing "+b.length+" from "+(Object.keys(o2c)[c]+
".")),z3c(a,b,c))},B3c=function(a,b,c,d){0!=b.length&&A3c(a,b,c,void 0===d?0:d)},u3c=function(a,b){b=a.H.get(b);return!(!b||![1,4,2].includes(b.$e())||s3c(a,b))},A3c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=a.H.get(_.C(f,1));if(h){var k=d;if(_.C(f,1)!=_.C(h.H.clone(),1))f=!1;else{var l=h.$e();if((l=4==k?!1:1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:!0)||4==k){var n=_.TMc.get(h.Fg)||1,p=!1;l&&(p=!_.Dk(h.H,f),h.H=f.clone());h.Fg=k;
k3c(h);f=p||n!=(_.TMc.get(h.Fg)||1)}else f=!1}f&&(e=!0);c&&h.V.add(c)}else 4!=d&&(e=!0,h=a,k=d,l=c,1!=k&&t3c(h,_.C(f,1)),k=new l3c(f,l,k),h.H.set(_.C(f,1),k))}return e},s3c=function(a,b){switch(b.$e()){case 1:return Date.now()-Number(b.ha)>a.ta;case 4:return 1E3<Date.now()-Number(b.W);default:return!0}},v3c=function(a,b){a.Ba.log("drive.ds.sync.cache.PeopleCache",b,"info")},q3c=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.H.clone():q2c(new rO,c)});z3c(a,b,4)},z3c=function(a,b,
c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.C(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),a.ha.delete(e))}A3c(a,b,void 0,c)&&a.dispatchEvent(new j3c(b))},C3c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.V=new _.je(this);this.Oa(this.V);this.H=new r3c(a,b,c,d,e,f);this.W=_.lL(a)||new _.AMc;this.V.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};_.N(C3c,_.Q);
C3c.prototype.AM=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=AO(this,[c]).map(function(e){return D3c(b,e)});B3c(this.H,d,a.H.getId(),E3c(_.C(c,82)))}a.V&&y3c(this.H,a.id,F3c(this,a))};
var E3c=function(a){return _.UMc.get(a)||0},F3c=function(a,b){var c=G3c(a,b.V),d=G3c(a,b.H);return c.filter(function(e){return!d.includes(e)})},G3c=function(a,b){return b?AO(a,[b.getItem()]).map(function(c){return _.TF(c)}):[]},I3c=function(a,b){b=b.getUser();B3c(a.H,[D3c(a,b)],"ACCOUNT");H3c(a,b)},K3c=function(a,b){var c=_.vk(b,_.LM,2).map(function(d){var e=_.D(d,_.$k,9,1);return a.H.Ub(_.TF(e)).then(function(){return void J3c(a,[e])})});return Promise.all(c).then(function(){return b})},J3c=function(a,
b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.TF(c)&&H3c(a,c)},L3c=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.TF(f)&&(d.add(_.TF(f)),B3c(a.H,[D3c(a,f)],c));return Promise.all([].concat(_.Sc(d)).map(function(h){return a.H.Ub(h)})).then(function(){return J3c(a,b)})},N3c=function(a,b){return AO(a,[b]).some(function(c){return!M3c(a,_.TF(c))})},M3c=function(a,b){return u3c(a.H,b)},AO=function(a,b){return b.map(function(c){var d=c.Mx();d=d?[].concat(_.Sc(d.PO()),
_.Sc(_.vk(d,_.$k,3))):[];var e=c.Qf();e=(e=e&&_.Md(e))?AO(a,[e]):[];return[].concat(_.Sc(_.nl(c)),[c.Ep(),c.Nx(),c.Np(),c.OE()],_.Sc(d),_.Sc(e))}).flat().filter(function(c){return c&&!!_.TF(c)})};C3c.prototype.getItems=function(a){return x3c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var O3c=function(a,b){return b.map(function(c){c=c.clone();var d=AO(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.lk(e,3),_.lk(e,8),_.lk(e,5);return c})},Q3c=function(a,b){return b.some(function(c){return P3c(a,c)})},P3c=function(a,b){return AO(a,[b]).some(function(c){return _.bk(c,3)||c.Zp()||_.bk(c,5)})},H3c=function(a,b){var c=a.H.get(_.TF(b));if(c){a=c.H.clone();var d=_.dOc(b.qd(a.getName()),a.getEmail());c=_.TMc.get(c.Fg)||1;_.B(d,16,c);(a=_.D(a,p2c,4))&&b.Qm(a.getUrl())}},
D3c=function(a,b){var c=_.TF(b);c=q2c(new rO,c).qd(b.getName());var d=b.getEmail();c=_.B(c,3,d);d=new p2c;var e=_.C(b,5);d=_.B(d,1,e);c=_.y(c,4,d);_.F(a.W,9,!1)&&(_.lk(b,3),_.lk(b,8),_.lk(b,5));return c},R3c=function(){this.ma=this.ka=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};R3c.prototype.yf=function(){return this.ma};R3c.prototype.qwa=function(){return this.W};R3c.prototype.wc=function(){return this.H};
var S3c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},T3c=function(a,b){a=S3c(a);b=S3c(b);return!(!a||!b||a!=b)},U3c=function(a){return a.Oc()+"_"+S3c(a.getName())},V3c=function(a,b){var c=a.H().map(function(d,e){return b[Number(e)].value.XZa.promise});return Promise.allSettled(c).then(function(d){return a.H().map(function(e,f){e=e.toString();var h=new u2c;e=_.B(h,1,e);f=d[Number(f)];"fulfilled"==f.status?e.Ec(1):(e.Ec(3),e.Ve(f.reason.hh));return e})})},BO=function(a,
b){_.P.call(this);this.W=a;this.request=b;this.hx=new Set;this.status=6;this.ha=new Map;this.zt=0};_.N(BO,_.P);_.g=BO.prototype;_.g.$u=function(a){var b=this;this.hx.add(a);return W3c(this).then(function(){return b.X9(a)})};_.g.JD=function(a){this.hx.delete(a);0==this.hx.size&&this.dispose()};_.g.$e=function(){return this.zt};_.g.Di=function(a){this.zt=a};
_.g.rB=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.hw(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?this.ZU():_.Zh([])};_.g.ZU=function(){for(var a=[],b=_.m(this.hx.values()),c=b.next();!c.done;c=b.next())a.push(this.X9(c.value));return _.bi(a)};
_.g.Q0=function(a){this.status=3;for(var b=[],c={},d=_.m(this.hx.values()),e=d.next();!e.done;c={Una:c.Una},e=d.next())c.Una=e.value,b.push(this.W.then(function(f){return function(h){return void h.Q0(f.Una,a)}}(c)));return _.bi(b)};_.g.EB=function(){for(var a=this,b=[],c={},d=_.m(this.hx.values()),e=d.next();!e.done;c={Vna:c.Vna},e=d.next())c.Vna=e.value,b.push(this.W.then(function(f){return function(h){return void h.EB(f.Vna)}}(c)));return _.bi(b).then(function(){a.Di(0==a.$e()?1:6)})};
var W3c=function(a){return a.W.then(function(b){var c=0;a.hx.forEach(function(d){d=X3c(b,d).Ad();c=Math.max(c,d.ki?d.ki()||0:0)});a.rca(c)})},Y3c=function(a,b){return b?a.ha.get(a.dha(b))||null:null};_.g=BO.prototype;_.g.LF=function(a,b){var c=Y3c(this,a);b=e1c(c,b);this.ha.set(this.dha(a),b)};_.g.dha=function(a){return a};_.g.mIa=function(){};_.g.X9=function(a){var b=this;return this.W.then(function(c){return void c.X9(a,b.Rl())})};_.g.removeItem=function(){};
var CO=function(a,b){_.Q.call(this);this.request=a;this.ha="";this.V=this.ka=!1;this.H=[];this.W=0;this.ta=b};_.N(CO,_.Q);var Z3c=function(a){return!a.ka||""!=a.ha};CO.prototype.mh=function(a){this.W=void 0===a?1E5:a;return!this.V&&this.H.length<=this.W&&Z3c(this)?$3c(this):_.Zh()};
var $3c=function(a){a.ka=!0;a.V=!0;var b=a.Yea(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return a4c(a,c)},function(c){a.V=!1;c=_.jL(c);var d=new pO(c);a.nIa(d);a.dispatchEvent(d);return _.$h(c)})},a4c=function(a,b){a.V=!1;a.ha=a.tha(b);b=a.Hga(b);b.forEach(function(c){return a.H.push(c)});a.X2(b);return a.H.length<a.W&&Z3c(a)?_.bi([_.Zh(b),$3c(a)]).then(function(c){return c[0].concat(c[1])}):_.Zh(b)};CO.prototype.X2=function(){};CO.prototype.nIa=function(){};
var b4c=function(a,b,c){CO.call(this,c,function(d){return a.then(function(e){return e.lh(d)}).ig(function(e){return void _.xL(e)})});this.ma=b};_.N(b4c,CO);_.g=b4c.prototype;_.g.Yea=function(a,b,c){a=_.Ek(a);a.vi(b);return new _.BNc(a,c)};_.g.tha=function(a){return a.pageToken||""};_.g.Hga=function(a){return a.response.H()};_.g.X2=function(a){this.ma.rB(a,!1,1)};_.g.nIa=function(a){this.ma.Nz(this.request,a)};var c4c=function(a,b,c,d){BO.call(this,a,_.Ek(d));this.ma=b;this.ka=c;this.H=[];this.V=null};
_.N(c4c,BO);c4c.prototype.refresh=function(){this.EB();this.V=new b4c(this.ma,this.ka,this.request);return this.V.mh(this.request.ki()||100)};var d4c=function(a,b){return a.H.find(function(c){return T3c(c.getName(),b)})};_.g=c4c.prototype;_.g.rca=function(a){this.V&&a==this.request.ki()||(this.request.vi(a),this.V?this.V.mh(a):this.refresh())};
_.g.Rl=function(){var a=this,b=RZc((new UN).Ec(this.status),this.H.filter(function(c){return a.ka.aza(c)}).map(function(c){return c.clone()}));return new _.$M(b,void 0,void 0,this.$e())};_.g.rB=function(a,b,c){var d=this;a=a.filter(function(e){return e.Oc()==d.request.Oc()});return BO.prototype.rB.call(this,a,b,c)};
_.g.hw=function(a,b){b=void 0===b?1:b;if(!TUc(Y3c(this,a.getName()),b))return!1;var c=-1==b?0:this.H.length,d=this.H.findIndex(function(e){return T3c(e.getName(),a.getName())});-1<d&&(this.H.splice(d,1),c=d);this.H.splice(c,0,a);this.LF(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.H,function(b){return T3c(b.getName(),a)})&&(this.ha.delete(this.dha(a)),this.ZU())};_.g.dha=function(a){return S3c(a)};_.g.LF=function(a,b){d4c(this,a)&&BO.prototype.LF.call(this,a,b)};
_.g.mIa=function(a){var b=this;return a instanceof _.hM&&a.Oc()!=this.request.Oc()?[]:a.SS().map(function(c){return d4c(b,c.om())}).filter(function(c){return c}).map(function(c){return c.clone()})};var DO=function(){this.H=new Map};DO.prototype.$u=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.afa(b),this.H.set(c,d));d.$u(a);return e};var e4c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.sta(c),a.H.set(d,e));e.$u(b);return f};
DO.prototype.JD=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.JD(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var f4c=function(a,b){return a.H.get(b)};DO.prototype.rB=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.aza(f)});this.H.forEach(function(f){f.rB(e,b,c)})};DO.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};
var g4c=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.mIa(b)});return[].concat.apply([],_.Sc(a))};DO.prototype.LF=function(a,b){this.H.forEach(function(c){c.LF(a,b)})};DO.prototype.aza=function(){return!0};DO.prototype.Nz=function(a,b){(a=this.H.get(this.getKey(a)))&&a.Q0(b)};DO.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.afa(b),f.Di(c),this.H.set(e,f),this.rB(a,d))};var h4c=function(){this.W=new Set;this.V=0;this.H=[]},i4c=function(a,b){a.W.add(b)};
h4c.prototype.ha=function(a){this.W.delete(a)};var j4c=function(a,b){var c;if(c=b instanceof _.ml)c=b.Mv(),c=!!(b.mi()&&c&&c<=Math.max.apply(Math,_.Sc([a.V].concat(_.Sc(a.H)))));if(c)return!0;b=b instanceof _.ml?b.getId():b;return a.W.has(b)},k4c=function(a,b){return _.wa(a.H,function(c){return c==b})&&b>a.V?(a.V=b,!0):!1};h4c.prototype.Y5=function(a){var b=this;return a.filter(function(c){return!j4c(b,c)})};var l4c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new h4c};_.N(l4c,DO);
var m4c=function(a,b){i4c(a.W,U3c(b));(a=f4c(a,b.Oc()))&&a.ZU()};_.g=l4c.prototype;_.g.getKey=function(a){return a.Oc()};_.g.afa=function(a){return new c4c(this.ha,this.ka,this,a)};_.g.sta=function(a){return new c4c(this.ha,this.ka,this,a)};_.g.zq=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=f4c(this,b.getId()))&&b.refresh()};_.g.aza=function(a){return!j4c(this.W,U3c(a))};
var n4c=function(a,b){this.V=a;this.H=b},o4c=function(a,b){b=_.dRb(b);var c=new b4c(a.V,a.H,b);new Promise(function(d,e){return c.mh(100).then(d,e)})},p4c=function(){this.Zc={}},EO=function(a,b){q4c(a,"subscribed");b&&q4c(a,b);return a.Zc[b||"subscribed"].lj.promise},q4c=function(a,b){a.Zc[b]||(a.Zc[b]={count:0,VUa:[],ZXa:[],lj:_.di()});a.Zc[b].count++},s4c=function(a,b){b&&!r4c(a,b)||r4c(a,"subscribed")},r4c=function(a,b){if(!a.Zc[b])return!1;a.Zc[b].count--;0==a.Zc[b].count&&(a.Zc[b].lj.resolve({items:a.Zc[b].VUa,
JEb:a.Zc[b].ZXa}),_.ag(a.Zc,b));return!0};p4c.prototype.zq=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Fc();f&&f==e.Oc()&&c.Zc[f]&&c.Zc[f].ZXa.push(e);c.Zc[d]&&c.Zc[d].VUa.push(e)})};var t4c=function(a,b,c){CO.call(this,a,c);this.ma=b};_.N(t4c,CO);t4c.prototype.Yea=function(a,b){return _.Ek(a).vi(b)};t4c.prototype.tha=function(){return""};t4c.prototype.Hga=function(a){return[a]};t4c.prototype.X2=function(a){this.ma(a)};
var u4c=function(a,b,c,d){BO.call(this,a,_.Ek(d));this.ma=b;this.H=this.V=null;this.ka=c};_.N(u4c,BO);u4c.prototype.refresh=function(){var a=this;this.EB();this.H=new t4c(this.request,this.ka,function(b){return a.ma.then(function(c){return c.lh(b)})});return this.H.mh(this.request.ki()||0)};u4c.prototype.rca=function(a){1==this.status||this.H&&a==this.request.ki()||(this.request.vi(a),this.H?this.H.mh(a):this.refresh())};
u4c.prototype.Rl=function(){if(this.V)return this.V;var a=new XN;a.Ec(this.status);return a};u4c.prototype.hw=function(a){this.V=a;return!0};var v4c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.N(v4c,DO);var w4c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};v4c.prototype.getKey=function(a){return a.toString()};v4c.prototype.afa=function(a){var b=this;return new u4c(this.W,this.ka,function(c){b.rB(c,!1)},a)};
v4c.prototype.sta=function(){throw Error("Xe");};v4c.prototype.V=function(a,b,c,d){var e=a[0].ek();w4c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.zo()}).join(", "));DO.prototype.V.call(this,a,b,c,d)};var FO=function(a,b,c,d){_.Q.call(this);this.request=a;this.Ka=b;this.va=c;this.Ia=d;this.ta=0;this.af=null;this.V=new Set};_.N(FO,_.Q);
FO.prototype.mh=function(){var a=this;if(this.af)return this.af.promise;this.af=_.di();this.ha(this.request).forEach(function(b,c){a.ta++;a.Ka.then(function(d){return d.lh(b)}).then(a.Ea.bind(a,c),a.Ba.bind(a,c))});return this.af.promise};FO.prototype.Ea=function(a,b){this.W(b);x4c(this,a)};var x4c=function(a,b){a.V.add(b);a.V.size==a.ta?(a.ka(a.request),a.dispatchEvent("Fb"),a.af.resolve()):a.dispatchEvent("Cb")};
FO.prototype.Ba=function(a,b){b=_.wL(b);var c=b.hh;5==c.Er()||4==c.Qj()?(this.Ia.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ma(a),x4c(this,a)):(a=new pO(c,_.gk(this.va.Pf(),1,1)),this.dispatchEvent(a),this.af.reject(b))};var y4c=function(a){var b=new _.ZA;b.Tb(a);return b},z4c=function(a,b,c,d,e){FO.call(this,_.Ek(a),c,d,e);this.H=b};_.N(z4c,FO);
z4c.prototype.ha=function(a){var b=new Map;a.Ql().forEach(function(c){var d=_.Ek(a).Qb([c]);b.set(c,d)});return b};z4c.prototype.W=function(a){var b=[];a.YQ().forEach(function(c){b.push(c)});this.H(b,!0)};z4c.prototype.ka=function(){this.H([],!1)};z4c.prototype.ma=function(a){this.H([y4c(a)],!0)};var A4c=function(a,b,c,d,e,f){BO.call(this,a,_.Ek(f));this.ta=b;this.ka=c;this.ma=d;this.va=e;this.H={};this.V=null};_.N(A4c,BO);
A4c.prototype.refresh=function(){this.V=new z4c(this.request,this.va,this.ta,this.ka,this.ma);return this.V.mh()};A4c.prototype.rca=function(){this.V||this.refresh()};A4c.prototype.Rl=function(){var a=new _.YM;a.Ec(this.status);_.Tf(this.H,function(b,c){a.YQ().set(c,b||new _.ZA)});a.Di(this.$e());return a};A4c.prototype.hw=function(a){var b=a.getId();if(_.Dk(a,y4c(a.getId()))){if(this.H[b])return delete this.H[b],!0}else if(0<=this.request.Ql().indexOf(b))return this.H[b]=a,!0;return!1};
var B4c=function(a,b){a=a.getState();return null==a||b.getState()==a},C4c=function(a,b,c){CO.call(this,a,c);this.ma=b};_.N(C4c,CO);C4c.prototype.Yea=function(a,b,c){a=_.Ek(a);a.vi(b);return new _.ONc(a,c)};C4c.prototype.tha=function(a){return a.pageToken||""};C4c.prototype.Hga=function(a){return a.response.ek()};C4c.prototype.X2=function(a){this.ma(a)};var D4c=function(a){this.H=k1c(a,{numeric:!0})};
D4c.prototype.V=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!=e?f=this.H(d,e)*(a?1:-1):f=_.Ha(b.getId(),c.getId())*(a?1:-1);return f};D4c.prototype.W=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!=e?f=_.Ha(d,e)*(a?1:-1):f=_.Ha(b.getId(),c.getId())*(a?1:-1);return f};var E4c=function(a,b,c,d,e){BO.call(this,a,_.Ek(e));this.ma=b;this.V=[];this.H=null;this.ka=d;a=new D4c(c);b=(c=this.request.Nt())?c.getType():0;c=c?_.C(c,2):0;this.ta=1==b?a.V.bind(a,2!=c):a.W.bind(a,1==c)};_.N(E4c,BO);
E4c.prototype.refresh=function(){var a=this;this.EB();this.H=new C4c(this.request,this.ka,function(b){return a.ma.then(function(c){return c.lh(b)})});return this.H.mh(this.request.ki()||0)};E4c.prototype.rca=function(a){1==this.status||this.H&&a==this.request.ki()||(this.request.vi(a),this.H?this.H.mh(a):this.refresh())};E4c.prototype.Rl=function(){var a=new sO;a.Ec(this.status);w2c(a,this.V.map(function(b){return _.Ek(b)}));return new _.NQc(a,void 0,1!=this.status&&Z3c(this.H),this.$e())};
E4c.prototype.hw=function(a){var b=_.wa(this.V,function(c){return c.getId()==a.getId()});return a&&B4c(this.request,a)&&!_.Dk(a,y4c(a.getId()))?tUc(this.V,a,this.ta):b};var F4c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.N(F4c,DO);var G4c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};F4c.prototype.getKey=function(a){return a.toString()};
F4c.prototype.afa=function(a){var b=this;return new E4c(this.ha,this.ma,IN(_.UK(this.W)),function(c){return void b.rB(c,!1)},a)};F4c.prototype.sta=function(a){var b=this;return new A4c(this.ha,this.ma,this.W,this.ka,function(c,d){return b.rB(c,d)},a)};F4c.prototype.V=function(a,b,c,d){G4c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));DO.prototype.V.call(this,a,b,c,d)};
var H4c=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();yN(a)&&(c=(c=a.Qf())?_.C(c,3):"");zN(a)&&(a.Vi()&&(c+="+"+String(a.Vi())),a.zj()&&(c+="+shared"));return _.PRa(c,b?"32":"16")},I4c=function(a,b){b=Object.entries(b);return 0==b.length?a:a+"?"+b.map(function(c){var d=_.m(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")},J4c=function(a,b){var c=_.H(a,44),d=a.Qf();if(d){if(1!=_.Pd(d))return null;c=(c=_.Md(d))?_.H(c,44):!0}if(!c)return null;c={};d=a.getId();yN(a)&&(d=LUc(a));
d=[_.G(b,65,"https://lh3.google.com"),"u",_.kL(_.UK(b)),"d",d].join("/");d+="={size}";_.F(b,89,!1)&&_.bk(a,140)&&(c.resourcekey=_.sl(a));return d=I4c(d,c)},K4c=function(a){this.H=a},M4c=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=H4c(b,_.F(a.H,75,!1));_.B(b,21,d)}c.includes(18)&&_.KOc(b,sVc(b,a.H));c.includes(19)&&(d=J4c(b,a.H),_.B(b,20,d));L4c(a,b,c);if(yN(b)){if(d=(d=b.Qf())&&_.Md(d)){if(c.includes(20)&&c.includes(3)){var e=H4c(d,_.F(a.H,75,!1));_.B(d,21,e)}c.includes(18)&&_.KOc(d,sVc(d,
a.H));c.includes(19)&&(e=J4c(d,a.H),_.B(d,20,e));L4c(a,d,c)}_.OOc(b,!!b.lw())}},L4c=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!zN(b)&&!yN(b)&&!_.sd(e)&&(!b.Q3()||2!=b.oo()),d&&_.B(b,40,e),e&&c&&(a=a.H,d=b.getId(),yN(b)&&(d=LUc(b)),c=new _.lj(_.G(a,16,"")+"/uc"),_.vj(c,"id",d),_.vj(c,"authuser",_.kL(_.UK(a))),_.vj(c,"export","download"),_.F(a,89,!1)&&_.bk(b,140)&&_.vj(c,"resourcekey",_.sl(b)),_.B(b,41,c.toString())))}},N4c=function(a,b){this.V=b||new Date;
this.W=a;this.H=vUc(a)};N4c.prototype.clone=function(){return new N4c(this.W,this.V)};var O4c=function(){this.H=null;this.V=[]},P4c=function(a){return _.ib(a.V,function(b){return _.cg(b)})};O4c.prototype.p7=function(){return this.H};
O4c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new F2c;e.W=E2c(d.H);var f=_.Sg().substring(0,8);d=vUc(f);f=(new e2c).Tb(f);f=_.B(f,2,d);b=_.B(f,3,b).Ri(c);this.V.push(b);e.V=E2c(d);e.H=C2c(808464432,808464432);e.ha=41;b=String.fromCharCode;c=b.apply;d=new _.Sj;if(e.W){f=e.W.V>>>0;var h=e.W.H>>>0;_.Tj(d,1,1);var k=d.V;bWc(k,f);bWc(k,h)}e.V&&(f=e.V.V>>>0,h=e.V.H>>>0,_.Tj(d,2,1),k=d.V,bWc(k,f),bWc(k,h));f=e.ha;null!=f&&(_.Tj(d,3,5),bWc(d.V,f));e.H&&(f=
e.H.V>>>0,e=e.H.H>>>0,_.Tj(d,4,1),h=d.V,bWc(h,f),bWc(h,e));e=_.Uj(d);a["X-Google-DapperTraceInfo"]=_.q.btoa(c.call(b,null,e))}}};var Q4c=function(){this.Hb=[];this.V=this.H=0};Q4c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.Hb,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 R4c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.Hb,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},S4c=function(a){this.key=a;this.H=new _.QMc;this.V=new _.OMc(new _.QMc,_.jla(a))};S4c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.kla(b);c=T4c(this,a);return b.concat(c,U4c(this,b,a,!0))};
var V4c=function(a,b){var c=U4c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=T4c(a,c);if(b!=a)throw Error("Ye");return c},T4c=function(a,b){a=_.PMc(a.V,_.lNc(b));return _.kla(a)},U4c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Q4c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Hb,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=_.lNc(c.substring(8192*
e,8192*(e+1))),R4c(b,a),d+=_.kla(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.q.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;R4c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("Ze");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=W4c(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=W4c(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=W4c(d,e++),k=W4c(d,e++),l=W4c(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=W4c(d,e++),k=W4c(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},W4c=function(a,b){return a[Math.floor(b/8192)][b%8192]},X4c=function(a,b,c){this.data=a;this.WUa=b;this.V=c;this.H=!1};X4c.prototype.getData=function(){return this.data};X4c.prototype.An=function(){return this.WUa};
var Y4c=function(a,b,c,d){this.W=a;this.H=_.di();this.ka=!1;this.ha=_.G(b,7,"");this.ta=_.gk(_.JN(b),6,2E7);this.ma=_.ZK(b);this.va=_.gk(_.JN(b),12,0);this.Ba=c;this.V=d||null};Y4c.prototype.initialize=function(){var a=this;this.ka||(this.ka=!0,this.W.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.mi(this.H.promise)};
var Z4c=function(a){if(a instanceof _.UB)return 0;if(a instanceof qO)return 1;if(a instanceof QYc)return 5;if(a instanceof hO)return 3;if(a instanceof s2c)return 6;throw new _.Sb("Unsupported dataShard in getDataType");},$4c=function(a){if(0==a)return _.UB;if(1==a)return qO;if(5==a)return QYc;if(3==a)return hO;if(6==a)return s2c;throw new _.Sb("Unsupported dataType:"+a+" in getDataTypeCtor");},a5c=function(a){if(a instanceof hO)return _.fk(a,13,0)},b5c=function(a){if(a instanceof hO)return a.Id().length},
g5c=function(a,b,c,d){if(0==c.length)return _.Zh();var e=Z4c(c[0]);c.forEach(function(){});var f=a5c(c[0]),h=0;3==e&&c5c(a,c);var k=!!b;return d5c(a,c).then(function(l){if(k){var n=a.V?a.V.V(106023,d):null;h=l.reduce(function(r,u){return r+u.An()},0);var p=e5c(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.$h(Error("$e"));r.forEach(function(u,z){z=l[z];z.data=u;z.H=!0});return l});n&&(jYc(iYc(hYc(n.IC(),_.VM(_.uMc,e)),_.VM(_.rMc,f)),!0),p.then(function(){var r=
h;gYc(n.IC(),!0).Zv(r);n.xk()},function(){var r=h;gYc(n.IC(),!1).Zv(r);n.xk()}));return p}return l}).then(function(l){return a.H.promise.then(function(){return f5c(a.W,l,e,f,k,d)})})},d5c=function(a,b){return new _.Yh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Ac();if(n.length>a.ta)e=!0;else{var p=f.push,r=b5c(l);l instanceof hO?(l=_.H(l,6),l=null!=l?l:void 0):l=void 0;p.call(f,new X4c(n,r,l))}}});if(e){var h=Error("af"),k=new _.Rb;_.hL(k,2);_.sL(k,23);_.B(k,21,h.message);_.gr(k);
a.Ba(k);d(h)}c(f)})},c5c=function(a,b){a5c(b[0]);b.forEach(function(){});a.ma||h5c(b);i5c(a,b)},GO=function(a,b,c,d,e,f){var h=_.di(),k;_.ei(a.H.promise.then(function(){return j5c(a.W,c,d,e)}).then(function(l){var n=l.map(function(r){return r.data}),p=new _.gi;if(l[0]&&l[0].MY){if(k=a.V?a.V.V(106022,f):null)jYc(iYc(hYc(k.IC(),_.VM(_.uMc,c)),_.VM(_.rMc,d)),!0),p.km().then(function(r){var u=k;r=void 0!=r;gYc(u.IC(),r);_.oQc(u)});k5c(a,p,b,n)}else p.callback(n);return p.then()},function(){}).then(function(l){var n=
[];if(l){var p=0;l.forEach(function(r){r=new ($4c(c))(JSON.parse(r));p+=b5c(r);n.push(r)});3==c&&(a.ma||l5c(n),m5c(n));k&&k.IC().Zv(p)}h.resolve(n)}),function(){k&&k.xk()}).ig(h.reject,h);return h.promise},h5c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.vk(a[b],_.$k,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Id()||[]).forEach(function(h){_.IOc(h,n5c(_.nl(h),c,d));_.JOc(h,n5c([h.Ep()],c,d)[0]);var k=n5c([h.Nx()],c,d)[0];_.y(h,47,k);k=n5c([h.Np()],c,d)[0];_.y(h,91,
k);k=n5c([h.OE()],c,d)[0];_.y(h,95,k);if(h=h.Mx())_.EOc(h,n5c(h.PO(),c,d)),_.FOc(h,n5c(_.vk(h,_.$k,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.jb(a[0],2,e)}},n5c=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)?_.Dk(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.$k,e.Tb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},l5c=function(a){var b=new Map,c=new Map;a[0]&&_.vk(a[0],_.$k,2)&&_.vk(a[0],_.$k,2).forEach(function(d){b.set(d.getId(),
d);d=(new _.$k).Tb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Id()||[]).forEach(function(e){_.IOc(e,o5c(_.nl(e),b,c));_.JOc(e,o5c([e.Ep()],b,c)[0]);var f=o5c([e.Nx()],b,c)[0];_.y(e,47,f);f=o5c([e.Np()],b,c)[0];_.y(e,91,f);f=o5c([e.OE()],b,c)[0];_.y(e,95,f);if(e=e.Mx())_.EOc(e,o5c(e.PO(),b,c)),_.FOc(e,o5c(_.vk(e,_.$k,3),b,c))});_.nk(d,2)})},o5c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Dk(c.get(f),e)?d.push(_.Ek(b.get(f))):
d.push(e)}else d.push(e)});return d},i5c=function(a,b){if(a.va){a=a.va;for(var c=b.length-1;0<=c;c--)if(_.fk(b[c],13,0)){for(var d=[],e=b[c].Id();e.length>a;){var f=_.Ba(e,a-1,a);f=V0c(new hO,f);d.push(f)}V0c(b[c],e);d.length&&_.Wa(_.Ba,b,c+1,0).apply(null,d)}}},m5c=function(a){for(var b={},c=1;c<a.length;b={oba:b.oba},c++)if(!_.fk(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.fk(a[e],13,0);e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.oba=e.Id();d.forEach(function(f){return function(h){_.za(f.oba,h.Id())}}(b));
V0c(e,b.oba)}},e5c=function(a,b,c){if(!_.zMc()&&a.ha){var d=new Worker(_.Xfa(_.qy(a.ha)),void 0),e=new _.gi;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Ud(Error(k))},!1);c=A2c(new z2c,c);d.postMessage({command:"encrypt",data:{request:c.Ac(),key:b}});return e}try{a=[];var f=new S4c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.li(a)}catch(k){h=_.ni(k)}return h},k5c=function(a,b,c,d){for(var e=0;e<
d.length;e++)if(d[e].length>a.ta){b.callback(void 0);return}if(!_.zMc()&&a.ha){var f=new Worker(_.Xfa(_.qy(a.ha)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new S4c(c);for(c=0;c<d.length;c++)a.push(V4c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},p5c=function(a,b,c){return[a.sy(),a.clientId,b?"#":
HO(a)].join(":")+":"+(c||"")},q5c=function(a,b,c){this.global=void 0===c?!1:c;this.H=a;this.V=b};q5c.prototype.getKey=function(){return this.H};q5c.prototype.$a=function(){return this.V};
var r5c=function(a,b){a=p5c(a,b);return VZc(a+"A",a+"z")},s5c=function(a,b){this.V=a;this.H=b},t5c=function(a){return a?new s5c(a.versionKey,a.versionChangeTimestamp):null},u5c=function(a,b){return a+":"+b},v5c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.MY=void 0===e?null:e},w5c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.MY}},x5c=function(a,b,c,d){a=HO(a)+"_"+b;3==b&&(a+="_"+d);return a+=_.Rx(":%02d",c)},y5c=function(a,b,
c,d){c=x5c(a,b,void 0===c?0:c,d);a=HO(a)+"_"+b;3==b&&(a+="_"+d);return VZc(c,a+":a")},z5c=function(a){var b=HO(a)+"_";a=HO(a)+"_A";return VZc(b,a)},A5c=function(a){return a?new v5c(a.data,a.index,a.size,a.timestamp,a.e):null},B5c=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.ha=c;this.W=d;this.ka=null;this.ma=this.ta=!1;this.va=void 0;this.H=_.ya(e);_.Ja(this.H);_.Fa(this.H);this.V=f};B5c.prototype.sy=function(){return this.userId};B5c.prototype.Lg=function(){return _.ya(this.H)};
var HO=function(a){if(!a.ka){var b=new _.NK;b.update([a.userId,a.clientId,a.ha,a.W].join(":"));b.update(a.H);a.ka=_.nKc(b.digest())}return a.ka},C5c=function(a){return{versionKey:HO(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.ha,phk:a.W,f:a.H},lastAccessedTimestamp:a.V}},D5c=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 B5c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ka=d:HO(a)!=d&&(a=null);return a},IO=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.P.call(this);var e=this;this.Vd=b;this.ha=c;this.readOnly=d;this.H=this.Ba=null;this.Ia=!1;this.Ea=!0;this.W=null;this.ka=!1;this.V="";this.ta=null;this.Va=a.then(function(f){e.Ba=f});this.Ab=new _.je(this);this.Oa(this.Ab)};_.N(IO,_.P);IO.prototype.initialize=function(){return E5c(this)};
var E5c=function(a,b){a.W||(a.W=_.di(),a.Va.then(function(){b?(a.Ea=!1,F5c(a,b),G5c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.W.resolve()):(a.ha&&(a.ta=a.ha.V(106004)),G5c(a,"Opening database GoogleDriveDs (version 2)"),_.eLc("GoogleDriveDs",2,a.Ka.bind(a),a.va.bind(a)).Zf(a.Qa.bind(a),a.va.bind(a)),_.Fi(2E4).then(a.Ma.bind(a)))},function(c){a.W.reject(new _.Sb("Database version error",void 0,_.YK(c)?c:void 0))}));return a.W.promise},F5c=function(a,b){a.H=b;a.Ab.listen(a.H,
"close",a.ma.bind(a,"Browser closing database"));a.Ab.listen(a.H,"versionchange",a.ma.bind(a,"Database version change detected, closing"))};IO.prototype.Ka=function(a,b){G5c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ia=!0;_.La(b.H.objectStoreNames,function(c){return _.dPc(b,c)});_.Tf(_.rL,function(c){var d=_.VMc.get(c);_.bLc(b,c,d?{keyPath:d}:void 0)})};
IO.prototype.va=function(a){var b;a&&a instanceof _.QK&&"InvalidStateError"==a.getName()&&_.Cj.qv?b=Error("bf"):_.YK(a)&&(b=a);this.ma("Unable to open database GoogleDriveDs (version 2)");this.W.reject(b);H5c(this,!1)};IO.prototype.Qa=function(a){this.ka?a.dispose():(F5c(this,a),this.Oa(this.H),this.readOnly||I5c(this).ig(function(){}),G5c(this,"Initialized database GoogleDriveDs"),this.W.resolve(),H5c(this,!0))};
var H5c=function(a,b){if(a.ta){var c=a.ta,d=_.D(_.UM(c),kYc,5);d||(d=new kYc,c=_.UM(c),_.y(c,5,d));d=_.B(d,1,2);c=a.ti().ha;d=_.B(d,2,c);c=a.ti().ta;d=_.B(d,5,c);b=_.B(d,3,b);b=_.B(b,4,a.Ia);d=a.ti().va;_.B(b,6,d);a.ta.xk();a.ta=null}};IO.prototype.Ma=function(){this.H||this.Ch()||(this.ma("Opening database GoogleDriveDs timed out."),this.va(Error("cf")))};IO.prototype.ma=function(a){G5c(this,a);this.ka||(this.ka=!0,this.V="Database disabled: "+a,this.H&&this.Ea&&this.H.close())};
IO.prototype.Ch=function(){return this.ka};var J5c=function(a){return a.ka?a.V:null};IO.prototype.ti=function(){return this.Ba};
var JO=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.cLc(a,[b],c)}catch(d){return null}},I5c=function(a){var b=_.rL.AX,c=JO(a,b,"readwrite");if(!c)return _.$h(Error("df"));c.objectStore(b).put(C5c(a.ti()));return c.wait().then(function(){})},K5c=function(a){if(!a.H)return _.$h(Error("ef"));if(a.Ch())return _.$h(Error(a.V));var b=_.rL.AX,c=JO(a,b,"readwrite");return c?c.objectStore(b).remove(HO(a.ti())).then():_.$h(Error("ff"))},L5c=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=A5c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("gf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("hf")),0;var e=d[0].size;if(!e)return b.reject(Error("jf")),0;if(e>d.length)return b.reject(Error("kf`"+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("lf`"+e)),0;if(c&&a<c)return b.reject(Error("mf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},j5c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.$h(Error("nf"));if(a.Ch())return _.$h(Error(a.V));var e=y5c(a.ti(),b,0,c),f=_.rL.M2,h=JO(a,f);if(!h)return _.$h(Error("of"));e=h.objectStore(f).getAll(e);var k=_.di();e.Zf(function(l){l=L5c(l,k,d);a.readOnly||null==l||M5c(a,b,c,l).ig(function(){})},k.reject);return k.promise},f5c=function(a,b,c,d,e,f){if(a.H){if(a.Ch())return _.$h(Error(a.V));if(100<b.length||3==c&&void 0==d)return _.$h(Error("pf"))}else return _.$h(Error("qf"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:x5c(a.ti(),c,u,d),data:new v5c(r.getData(),u,k,h,e),metadata:r}});var l=_.rL.M2,n=JO(a,l,"readwrite");if(!n)return _.$h(Error("rf"));var p=n.objectStore(l);b.forEach(function(r){var u=N5c(a,c,d,r.metadata,f);p.put(w5c(r.data),r.key).then(function(){u&&(gYc(u.IC(),!0),u.xk())},function(z){var A=z instanceof _.QK?z.code:_.DKc;u&&a.ha&&(z=gYc(u.IC(),!1),A=_.VM(_.vMc,A),_.B(z,2,A),u.xk())})});return n.wait().then(function(){})},N5c=function(a,
b,c,d,e){if(a.ha){if(a=a.ha.V(106019,e))b=iYc(hYc(a.IC(),_.VM(_.uMc,b)),_.VM(_.rMc,c)),c=d.V,b=_.B(b,5,null==c?0:c?2:1),jYc(b,d.H),void 0!=d.An()&&a.IC().Zv(d.An());return a}return null},M5c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Ch())return _.$h(Error(a.V));if(3==b&&void 0==c)return _.$h(Error("sf"))}else return _.$h(Error("tf"));b=y5c(a.ti(),b,d,c);c=_.rL.M2;a=JO(a,c,"readwrite");if(!a)return _.$h(Error("uf"));a.objectStore(c).remove(b);return a.wait().then(function(){})},O5c=function(a){if(!a.H)return _.$h(Error("vf"));
if(a.Ch())return _.$h(Error(a.V));var b=z5c(a.ti()),c=_.rL.M2;a=JO(a,c,"readwrite");if(!a)return _.$h(Error("wf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
IO.prototype.getMetadata=function(a){if(this.H){if(this.Ch())return _.$h(Error(this.V));if(a&&0==a.length)return _.$h(Error("xf"))}else return _.$h(Error("yf"));var b=this.ti(),c=_.rL.W3,d=JO(this,c);if(!d)return _.$h(Error("zf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(p5c(b,k.global,k.key)).then())});a=_.bi(f)}else a=_.bi([e.getAll(r5c(b,!1)).then(),e.getAll(r5c(b,!0)).then()]).then(function(k){return sUc(k[0],k[1])});var h=_.di();a.then(function(k){h.resolve(k.map(function(l){if(l){var n=
l.k.split(":"),p="#"==n[2];l=4!=n.length||!p&&n[2]!=HO(b)||n[0]!=b.sy()||n[1]!=String(b.clientId)?null:new q5c(n[3],l.v,p)}else l=null;return l}))},h.reject);return h.promise};
var P5c=function(a,b){if(a.H){if(a.Ch())return _.$h(Error(a.V));if(0==b.length)return _.$h(Error("Af"))}else return _.$h(Error("Bf"));var c=_.rL.W3,d=JO(a,c,"readwrite");if(!d)return _.$h(Error("Cf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,n=a.ti();h={k:p5c(n,h.global,h.H),v:h.V};k.call(f,l.call(e,h).then())});return _.bi(f).then(function(){})},Q5c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Ch())return _.$h(Error(a.V))}else return _.$h(Error("Ef"));var c=a.ti(),d=
_.rL.W3;a=JO(a,d,"readwrite");if(!a)return _.$h(Error("Ff"));d=a.objectStore(d);a=[];a.push(d.remove(r5c(c,!1)).then());b&&a.push(d.remove(r5c(c,!0)).then());return _.bi(a).then(function(){})},R5c=function(a){if(!a.H)return _.$h(Error("Gf"));if(a.Ch())return _.$h(Error(a.V));var b=u5c(a.ti().sy(),a.ti().clientId),c=_.rL.qR;return(a=JO(a,c))?a.objectStore(c).get(b).then(function(d){return t5c(d)}):_.$h(Error("Hf"))},S5c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.$h(Error("If"));if(a.Ch())return _.$h(Error(a.V));
var c=a.ti(),d=u5c(c.sy(),c.clientId);b=new s5c(HO(c),b?Date.now():void 0);c=_.rL.qR;a=JO(a,c,"readwrite");if(!a)return _.$h(Error("Jf"));a.objectStore(c).put({versionKey:b.V,versionChangeTimestamp:b.H},d);return a.wait().then(function(){})};
IO.prototype.xm=function(a){var b=this;return this.H?this.Ch()?_.$h(Error(this.V)):R5c(this).then(function(c){var d=HO(b.ti());if(c)if(a){if(!c.H&&d==c.V&&d!=HO(a))return S5c(b,!0);if(c.H&&d==HO(a))return S5c(b)}else{if(d!=c.V)return S5c(b)}else if(!a)return S5c(b)}):_.$h(Error("Kf"))};var T5c=function(a){if(!a.H)return _.$h(Error("Lf"));if(a.Ch())return _.$h(Error(a.V));var b=a.ti(),c=u5c(b.sy(),b.clientId);return R5c(a).then(function(d){if(d){d=_.rL.qR;var e=JO(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
IO.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Ch()?_.$h(Error(this.V)):R5c(this).then(function(c){var d=c&&c.V==HO(b.ti());return d&&!a?!1:(c&&d?T5c(b):_.Zh()).then(function(){return _.bi([Q5c(b,a),O5c(b),K5c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.$h(Error("Mf"))};IO.prototype.close=function(){this.ma("Closing database")};
var G5c=function(a,b){a.Vd.info("drive.ds.sync.storage.VersionedDb",b)},U5c=function(a){if(1>=a.ti())return!1;var b=a.H.objectStoreNames;return _.Uc(_.rL).every(function(c){return b&&b.contains(c)})},V5c=function(){var a=_.di();_.eLc("GoogleDriveDs").Zf(function(b){b?U5c(b)?a.resolve(b):(b.close(),_.ei(WZc().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},W5c=function(a,b,c){var d=_.di();a?_.cLc(a,[_.rL.AX],"readonly").objectStore(_.rL.AX).getAll().Zf(function(e){e=
_.Uc(e).map(function(f){return D5c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.sy()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},X5c=function(a,b,c){var d=_.di();V5c().then(function(e){if(e){var f=_.rL.qR;_.cLc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return t5c(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.H&&(k=c+h.H-Date.now());var l=_.rL.AX,n=_.cLc(e,[l],"readonly");n.objectStore(l).get(h.V).then(function(p){(p=
D5c(p))?(p.ta=!0,0>k?p.ma=!0:0<k&&(p.va=k),d.resolve(p)):d.resolve(null)});_.ii(n.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(h){d.reject(h);e.close()})}else d.resolve(null)},d.reject);return d.promise},Y5c=function(a,b,c){var d=_.di(),e=new IO(_.Zh(a),b);E5c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Z5c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Y5c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.bi(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+HO(l)))});d.resolve(k)})},$5c=function(a,b,c){var d=Date.now()-12096E5,e=_.di();V5c().then(function(f){f?(_.ei(e.promise,function(){f.close()}),W5c(f,a,b).then(function(h){return h.filter(function(k){return k.V<d})},function(){return[]}).then(function(h){Z5c(h,c,f,e)})):e.resolve([])});return e.promise},a6c=function(a,b,c){var d=_.di();V5c().then(function(e){e?
(_.ei(d.promise,function(){e.close()}),W5c(e,a,b).then(function(f){Z5c(f,c,e,d,!0)})):d.resolve([])});return d.promise},b6c=function(a,b,c,d){if(a.length){var e=_.rL.M2,f=a.shift(),h=x5c(f,3,0,1);try{_.cLc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=A5c(k))&&(!k.MY||k.MY&&d.has(f.W))?b.resolve(f):b6c(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},c6c=function(a,b,c,d,e,f,h){var k=_.di();V5c().then(function(l){l?(_.ei(k.promise,function(){l.close()}),
W5c(l,a,b).then(function(n){return n.filter(function(p){return(!h||h!=HO(p))&&p.ha==c&&p.V>=e&&KUc(d.filter(function(r){return!_.WMc.has(r)}),p.Lg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(p,r){return r.V-p.V}),b6c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},d6c={key:"rid",global:!0},e6c={key:"ooi",global:!0},f6c={key:"rtds",global:!1},g6c={key:"dct",global:!1},h6c={key:"pc",global:!1},i6c=function(a){this.H=new _.Yh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})},j6c=function(a,b){return a.H.then(function(c){if(c&&!c.Ch())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.$a():void 0},function(){})})},k6c=function(a,b,c){return a.H.then(function(d){return d&&!d.Ch()?P5c(d,[new q5c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};i6c.prototype.en=function(){return j6c(this,d6c).then(function(a){return a?a:null})};i6c.prototype.jt=function(a){return k6c(this,d6c,a)};
var l6c=function(a){return j6c(a,e6c).then(function(b){return"boolean"===typeof b?b:null})};i6c.prototype.yD=function(a){return k6c(this,e6c,a)};var m6c=function(a){return j6c(a,h6c).then(function(b){return"boolean"===typeof b?b:null})},n6c=function(a){return j6c(a,f6c).then(function(b){return Array.isArray(b)?b:null})},o6c=function(a){return j6c(a,g6c).then(function(b){return"number"===typeof b?b:null})},p6c=function(){this.Ur=[]};_.N(p6c,_.gN);
p6c.prototype.add=function(a,b){var c=a.$t.request;return c instanceof _.mM&&_.C(c.request,12)?_.gN.prototype.add.call(this,a,b):!1};p6c.prototype.cpa=function(a){return this.Ur.splice(0,Math.min(a,1))};var q6c=function(a,b){this.Ur=[];this.H=b};_.N(q6c,_.gN);q6c.prototype.add=function(a,b){return a.$t.request instanceof _.mM?!1:_.gN.prototype.add.call(this,a,b)};
q6c.prototype.cpa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Ur.length&&b.length<a;f++){var h=this.Ur[f],k=h.$t.request;"undefined"!=typeof _.GL&&k instanceof _.GL||"undefined"!=typeof _.RL&&k instanceof _.RL||"undefined"!=typeof _.gM&&k instanceof _.gM?k="app|"+k.ih():k instanceof _.BL||k instanceof _.CL||k instanceof _.IL||k instanceof _.mL?k="item|"+(k instanceof _.BL?k.Oc():k.getId()):"undefined"!=typeof _.JL&&k instanceof _.JL||"undefined"!=typeof _.SL&&k instanceof _.SL?k="item|"+k.Oc():
k instanceof _.KL||k instanceof _.iM?k="item|"+k.Oc():"undefined"!=typeof _.PC&&k instanceof _.PC||"undefined"!=typeof _.OC&&k instanceof _.OC?(k="undefined"!=typeof _.PC&&k instanceof _.PC?k.H().getKey():k.getKey(),k="pref|"+_.C(k,2)+"|"+_.fp(k)):k=k instanceof _.LL?"td|"+k.getId():null;var l=h.$t.request;if(l instanceof _.EL)l=!!_.H(l,8);else if(l instanceof _.CL){l=this.H.H(l.getId());var n;if(n=!!l)n=!!(l&&l.getMimeType()&&_.L4a.has(l.getMimeType()));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++)_.ua(this.Ur,c[a]);return b};
r6c=function(a,b,c,d,e,f,h,k,l){a=a.Pf();h=new _.mSc(k,h,d,_.gk(a,32,1073741824),_.gk(a,21,1E3));h=new _.nSc(h);k=new _.HRc(_.gk(a,59,2E3),_.gk(a,60,2E4),_.gk(a,61,6));var n={};n[1]=_.pSc(b,d);n[2]=_.qSc(b,a,e,c,k,d,l);n[3]=_.rSc(b,a,e,c,k,d,l,"batch");var p=_.gk(a,10,50);if(l){var r=new _.RRc(l.getState());var u=new _.ORc(l)}else r=new _.GRc(e,c),u=new _.FRc(c);f=new _.iN(d,b,[r,new _.MRc(p,_.gk(a,11,100)),new _.hN(p),new _.JRc(k,d)],[new q6c(a,f),new p6c,new _.gN],[u,new _.WRc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.sSc(h,a,d),n[6]=_.rSc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.rSc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.rSc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n};s6c=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};t6c=function(a){var b={};return b.parentId=a.lk(),b};u6c=function(a){var b={};_.id(_.Rg(a.getTitle()))||(b.title=a.getTitle());_.CTc(b,_.Hd(a,3));_.H(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
v6c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};w6c=function(a){var b={};b.sourceIds=a.request.H();b.destinationFolderId=a.request.V();a.pageToken&&(b.continuationToken=a.pageToken);return b};
x6c=function(a){var b={},c={};_.id(_.Rg(a.getTitle()))||(b.title=a.getTitle());null!=a.yg()&&(b.description=a.yg());null!=_.H(a,4)&&(c.starred=_.H(a,4));null!=a.mi()&&(c.trashed=a.mi());_.id(_.Rg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.aPc(_.ZPc(_.C(a,7)||0)));null!=_.H(a,11)&&(c.restricted=_.H(a,11));_.Xf(c)&&(b.labels=c);null!=a.Vi()&&(b.folderColor=a.Vi());null!=_.H(a,16)&&(b.subscribed=_.H(a,16));null!=_.H(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.H(a,40),c));if(c=_.D(a,_.hl,25)){b.contentRestrictions=[];var d={};null!=_.H(c,1)&&(d.readOnly=_.H(c,1));null!=_.C(c,2)&&(d.reason=_.C(c,2));b.contentRestrictions.push(d)}_.CTc(b,_.Hd(a,8));return b};y6c=function(a){var b={};null!=_.H(a,3)&&(b.pinned=_.H(a,3));return b};
z6c=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.C(a,3))b.backgroundImageId=_.C(a,3);else{var c=_.C(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Pg)("0",6-c.length)+c);c=_.D(a,_.YXc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.C(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.C(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Fe())&&(a.width=c);b.backgroundImageFile=a}}return b};
A6c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.FTc[a.getState()])&&(b.state=a);return b};_.B6c=function(a){_.R(this,a,0,-1,null,null)};_.O(_.B6c,_.M);_.B6c.prototype.H=function(){return _.C(this,1)};var C6c=function(a){_.R(this,a,0,-1,null,null)};_.O(C6c,_.M);C6c.prototype.H=function(){return _.H(this,1)};C6c.prototype.V=function(){return _.C(this,2)};_.KO=function(a){_.R(this,a,0,-1,null,null)};_.O(_.KO,_.M);_.g=_.KO.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Tb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.fpa=function(){return _.C(this,3)};_.g.Jx=function(){return _.C(this,4)};_.g.B7=function(){return _.D(this,C6c,6)};_.g.rmb=function(){return _.D(this,_.B6c,7)};_.g.KQa=function(){return _.C(this,8)};_.g.epa=function(){return _.H(this,9)};_.LO=function(a){_.R(this,a,0,-1,null,null)};_.O(_.LO,_.M);_.g=_.LO.prototype;
_.g.getType=function(){return _.C(this,1)};_.g.getId=function(){return _.C(this,2)};_.g.Tb=function(a){return _.B(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.Sd=function(){return _.C(this,5)};_.g.setSize=function(a){return _.B(this,5,a)};_.g.B5a=function(){return _.C(this,6)};_.D6c=function(a,b){return _.B(a,6,b)};_.LO.prototype.yg=function(){return _.C(this,8)};_.LO.prototype.wl=function(a){return _.B(this,8,a)};
_.LO.prototype.H=function(){return _.H(this,9)};var MO=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.ma=a;this.Ea=b;this.Ka=c;this.request=e;this.Ia=f;this.H=[];this.items=[];this.ka=!0;this.V=!1;this.suggestionSessionId=null;this.Ma=d;this.ha=6;this.ta=uVc(new _.tN,[1]);this.W=e.ki();this.Fg=0;_.ae(this,function(){h.V=!1;h.H=[]})};_.N(MO,_.Q);_.g=MO.prototype;_.g.Ki=function(){return String(_.Ea(this))};_.g.isActive=function(){return this.V};
_.g.activate=function(){this.V=!0;_.qa(this.items)&&6==this.Gb()&&this.nk()||E6c(this)};_.g.Ad=function(){return this.request};_.g.ki=function(){return this.W};_.g.Gb=function(){return this.ha};_.g.$q=function(){return this.ta};_.g.nk=function(){return this.ka};_.g.Uq=function(){var a=_.hUc().ky(this.H,this.items),b=(new _.tKc).Ec(this.Gb());a=_.jb(b,2,a);this.H=this.items;return a};_.g.Dq=function(a){this.V&&(this.W+=a||50,this.Ma(this.Ki(),this.W))};
var F6c=function(a,b){return a.Gb()!=b.Gb()||MN(_.hUc(),a.items,b.Id())},G6c=function(a,b){a.items=b.Id();a.ha=b.Gb();_.ZK(a.Ia)&&(a.ta=vVc(a.ha,a.items));a.ka=b.gpa();a.Fg=b.$e()};MO.prototype.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a query after "+a.H+" retries.",a.error)))};MO.prototype.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};
MO.prototype.$s=function(a,b){var c=this;b+="\n\n\nQuery:\n"+mO(this.ma,this.Ad());return _.mi(this.Ea.then(function(d){return d.WFb(a,b,c.Ad(),c.ki(),c.items)}))};
var E6c=function(a){a.isActive()&&(H6c(a,"Livelist "+a.Ki()+" returning "+a.items.length+". Status: "+(_.dg(SYc)[a.Gb()]+". Datasource: ")+(_.dg(HZc)[a.Fg]+". Query: ")+(mO(a.ma,a.request)+" ")+wVc(a.items)),I6c(a,a.items,a.request),a.dispatchEvent(new _.ui(_.Ic,a)))},I6c=function(a,b,c){if(_.TL(c))c="quick access";else if(_.UL(c))c="people predict";else if(_.VL(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");H6c(a,"Livelist "+a.Ki()+" returning "+a.items.length+
" for "+(c+": "+b))};MO.prototype.refresh=function(){};var H6c=function(a,b){a.Ka.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.t("sy15h");
var J6c=function(a){_.R(this,a,0,-1,null,null)};_.O(J6c,_.M);
var K6c=function(a){_.R(this,a,0,-1,null,null)};_.O(K6c,_.M);K6c.prototype.getType=function(){return _.C(this,1)};var L6c=function(a){var b=new K6c;return _.B(b,1,a)},M6c=function(a,b){return _.y(a,2,b)};K6c.prototype.Qw=function(){return _.C(this,3)};K6c.prototype.tx=function(a){return _.B(this,3,a)};K6c.prototype.Uh=function(){return _.C(this,4)};K6c.prototype.setPosition=function(a){return _.B(this,4,a)};
var NO=function(a){_.R(this,a,0,-1,null,null)};_.O(NO,_.M);NO.prototype.getType=function(){return _.C(this,1)};var N6c=function(a){var b=new NO;return _.B(b,1,a)};NO.prototype.um=function(){return _.D(this,WN,2)};var O6c=function(a,b){return _.y(a,2,b)};NO.prototype.Qw=function(){return _.C(this,3)};NO.prototype.tx=function(a){return _.B(this,3,a)};NO.prototype.Uh=function(){return _.C(this,4)};NO.prototype.setPosition=function(a){return _.B(this,4,a)};
var OO=function(a){_.R(this,a,0,-1,null,null)};_.O(OO,_.M);OO.prototype.getType=function(){return _.C(this,1)};var P6c=function(a){var b=new OO;return _.B(b,1,a)};OO.prototype.um=function(){return _.D(this,_.ZA,2)};var Q6c=function(a,b){return _.y(a,2,b)};OO.prototype.Qw=function(){return _.C(this,3)};OO.prototype.tx=function(a){return _.B(this,3,a)};OO.prototype.Uh=function(){return _.C(this,4)};OO.prototype.setPosition=function(a){return _.B(this,4,a)};
var R6c=function(a){_.R(this,a,0,-1,null,null)};_.O(R6c,_.M);R6c.prototype.Gb=function(){return _.C(this,1)};R6c.prototype.Ec=function(a){return _.B(this,1,a)};R6c.prototype.Cr=function(){return _.D(this,_.VN,2)};
var T6c=function(a){_.R(this,a,0,-1,S6c,null)};_.O(T6c,_.M);var S6c=[2];T6c.prototype.Gb=function(){return _.C(this,1)};T6c.prototype.Ec=function(a){return _.B(this,1,a)};T6c.prototype.Bj=function(){return _.C(this,3)};
var U6c=function(a){_.R(this,a,0,-1,null,null)};_.O(U6c,_.M);U6c.prototype.Vp=function(){return _.D(this,LN,1)};U6c.prototype.wo=function(){return _.C(this,2)};
var V6c=function(a){_.R(this,a,0,-1,null,null)};_.O(V6c,_.M);_.g=V6c.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.Cr=function(){return _.D(this,_.VN,2)};_.g.Bj=function(){return _.C(this,3)};_.g.ih=function(){return _.C(this,4)};
var PO=function(a){_.R(this,a,0,-1,null,null)};_.O(PO,_.M);PO.prototype.Gb=function(){return _.C(this,1)};PO.prototype.Ec=function(a){return _.B(this,1,a)};PO.prototype.Bj=function(){return _.C(this,3)};
var W6c=function(a){_.R(this,a,0,-1,null,null)};_.O(W6c,_.M);_.g=W6c.prototype;_.g.Gb=function(){return _.C(this,1)};_.g.Ec=function(a){return _.B(this,1,a)};_.g.Bj=function(){return _.C(this,2)};_.g.rIa=function(){return _.D(this,_.ep,3)};_.g.getKey=function(){return _.D(this,_.vb,4)};_.g.Bq=function(){return _.bk(this,4)};
var Y6c=function(a){_.R(this,a,0,-1,null,X6c)};_.O(Y6c,_.M);var $6c=function(a){_.R(this,a,0,-1,Z6c,null)};_.O($6c,_.M);var X6c=[[2,4,6,10],[3,5,7,8,9]];Y6c.prototype.getKey=function(){return _.C(this,1)};Y6c.prototype.Bq=function(){return _.bk(this,1)};var Z6c=[1];
var a7c=function(a){_.R(this,a,0,-1,null,null)};_.O(a7c,_.M);
var QO=function(a){_.R(this,a,0,-1,b7c,null)};_.O(QO,_.M);var b7c=[2];QO.prototype.Gb=function(){return _.C(this,1)};QO.prototype.Ec=function(a){return _.B(this,1,a)};QO.prototype.H=function(){return _.vk(this,PN,2)};var c7c=function(a,b){return _.jb(a,2,b)};QO.prototype.Bj=function(){return _.C(this,3)};
var d7c=function(a){_.R(this,a,0,-1,null,null)};_.O(d7c,_.M);d7c.prototype.Gb=function(){return _.C(this,1)};d7c.prototype.Ec=function(a){return _.B(this,1,a)};d7c.prototype.H=function(){return _.D(this,PN,2)};d7c.prototype.Bj=function(){return _.C(this,3)};
var e7c=function(a){_.R(this,a,0,-1,null,null)};_.O(e7c,_.M);e7c.prototype.Pw=function(){return _.C(this,2)};
var g7c=function(a){_.R(this,a,0,-1,f7c,null)};_.O(g7c,_.M);var f7c=[2];g7c.prototype.Gb=function(){return _.C(this,1)};g7c.prototype.Ec=function(a){return _.B(this,1,a)};g7c.prototype.yk=function(){return _.vk(this,_.cUc,2)};g7c.prototype.nq=function(a,b){return _.Bk(this,2,a,_.cUc,b)};
var i7c=function(a){_.R(this,a,0,-1,h7c,null)};_.O(i7c,_.M);var h7c=[2];i7c.prototype.Gb=function(){return _.C(this,1)};i7c.prototype.Ec=function(a){return _.B(this,1,a)};i7c.prototype.ek=function(){return _.vk(this,NO,2)};
_.RO=function(a){_.R(this,a,0,-1,null,null)};_.O(_.RO,_.M);_.RO.prototype.Gb=function(){return _.C(this,1)};_.RO.prototype.Ec=function(a){return _.B(this,1,a)};_.RO.prototype.xg=function(){return _.D(this,_.UB,2)};_.j7c=function(a,b){return _.y(a,2,b)};_.RO.prototype.Bj=function(){return _.C(this,3)};
var k7c=function(a){_.R(this,a,0,-1,null,null)};_.O(k7c,_.M);k7c.prototype.Gb=function(){return _.C(this,1)};k7c.prototype.Ec=function(a){return _.B(this,1,a)};
var m7c=function(a){_.R(this,a,0,-1,l7c,null)};_.O(m7c,_.M);var l7c=[2];m7c.prototype.Gb=function(){return _.C(this,1)};m7c.prototype.Ec=function(a){return _.B(this,1,a)};m7c.prototype.ek=function(){return _.vk(this,OO,2)};
var n7c=function(a){_.R(this,a,0,-1,null,null)};_.O(n7c,_.M);n7c.prototype.getType=function(){return _.C(this,1)};var o7c=function(a){var b=new n7c;return _.B(b,1,a)};n7c.prototype.Qw=function(){return _.C(this,3)};n7c.prototype.tx=function(a){return _.B(this,3,a)};n7c.prototype.Uh=function(){return _.C(this,4)};n7c.prototype.setPosition=function(a){return _.B(this,4,a)};
var q7c=function(a){_.R(this,a,0,-1,p7c,null)};_.O(q7c,_.M);var p7c=[2];q7c.prototype.Gb=function(){return _.C(this,1)};q7c.prototype.Ec=function(a){return _.B(this,1,a)};q7c.prototype.Bj=function(){return _.C(this,3)};
var s7c=function(a){_.R(this,a,0,-1,r7c,null)};_.O(s7c,_.M);var r7c=[2,4];s7c.prototype.Gb=function(){return _.C(this,1)};s7c.prototype.Ec=function(a){return _.B(this,1,a)};s7c.prototype.Bj=function(){return _.C(this,3)};
_.SO=function(a){_.R(this,a,0,-1,null,null)};_.O(_.SO,_.M);_.SO.prototype.getType=function(){return _.C(this,1)};var t7c=function(a){var b=new _.SO;return _.B(b,1,a)},u7c=function(a,b){return _.y(a,2,b)};_.SO.prototype.Qw=function(){return _.C(this,3)};_.SO.prototype.tx=function(a){return _.B(this,3,a)};_.SO.prototype.Uh=function(){return _.C(this,4)};_.SO.prototype.setPosition=function(a){return _.B(this,4,a)};
_.MVc=function(a){_.R(this,a,0,-1,null,null)};_.O(_.MVc,_.M);_.g=_.MVc.prototype;_.g.getItem=function(){return _.D(this,_.ml,1)};_.g.setItem=function(a){return _.y(this,1,a)};_.g.getError=function(){return _.D(this,_.Rb,2)};_.g.Ve=function(a){return _.y(this,2,a)};_.g.Wn=function(){return _.bk(this,2)};_.g.Er=function(){return _.C(this,4)};
var w7c=function(a){_.R(this,a,0,-1,v7c,null)};_.O(w7c,_.M);var v7c=[2,4];
var y7c=function(a){_.R(this,a,0,-1,x7c,null)};_.O(y7c,_.M);var x7c=[1];
var A7c=function(a){_.R(this,a,0,-1,z7c,null)};_.O(A7c,_.M);var z7c=[2];A7c.prototype.Gb=function(){return _.C(this,1)};A7c.prototype.Ec=function(a){return _.B(this,1,a)};A7c.prototype.Bj=function(){return _.C(this,3)};
var C7c=function(a){_.R(this,a,0,-1,B7c,null)};_.O(C7c,_.M);var B7c=[2];C7c.prototype.Gb=function(){return _.C(this,1)};C7c.prototype.Ec=function(a){return _.B(this,1,a)};C7c.prototype.Bj=function(){return _.C(this,3)};
var D7c=function(a){_.R(this,a,0,-1,null,null)};_.O(D7c,_.M);
var F7c=function(a){_.R(this,a,0,-1,E7c,null)};_.O(F7c,_.M);var E7c=[1];F7c.prototype.H=function(){return _.C(this,2)};var G7c=function(a,b){_.B(a,2,b)};
var H7c=function(a){_.ui.call(this,"Ob");this.dataType=a};_.N(H7c,_.ui);
var I7c=function(a,b){_.ui.call(this,"Pb");this.W=a;this.H=b};_.N(I7c,_.ui);
var J7c=function(){};_.g=J7c.prototype;_.g.PJ=function(a,b){return NZc(MZc(1),a).setPosition(b)};_.g.NJ=function(a,b){return NZc(MZc(2).setPosition(b),a)};_.g.MG=function(a,b,c){return NZc(MZc(3).tx(b).setPosition(c),a)};_.g.KN=function(a,b){return NZc(MZc(4),a).setPosition(b)};_.g.lK=function(a){return _.D(a,SN,2)};
var K7c=function(){_.qN.call(this,new J7c,function(a){return a&&a.getName()})};_.N(K7c,_.qN);
var TO=function(a,b,c){c=void 0===c?50:c;_.Q.call(this);var d=this;this.ha=a;this.ta=b;this.limit=c;this.active=!1;this.status=6;this.Ma=uVc(new _.tN,[1]);this.va=this.H=!1;this.ee=new _.je(this);this.Oa(this.ee);_.ae(this,function(){d.active=!1;d.ee.removeAll()})};_.N(TO,_.Q);_.g=TO.prototype;_.g.Ki=function(){return String(_.Ea(this))};_.g.jf=function(){return this.ha.jf()||this.ta.jf()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.ee.listen(this.ha,"Ab",_.Wa(this.Ds)),this.ee.listen(this.ta,[].concat(_.Sc(Object.values(_.bL))),_.Wa(this.Ds)),this.ha.jf()?this.ee.ad(this.ha,"Ab",function(b){b.jf()||(a.QE(),a.dispatchEvent(new _.ui(_.nr)))}):this.ta.jf()?this.ee.ad(this.ta,[_.bL.PW,_.bL.X3],function(){a.QE();a.dispatchEvent(new _.ui(_.nr))}):(this.QE(),this.dispatchEvent(new _.ui(_.nr))))};_.g.QE=function(){};
_.g.Dq=function(a){var b=this;if(this.nk()){var c=this.limit;this.limit+=a||50;this.lc()>c&&this.Ds();this.ha.jf()?this.ee.ad(this.ha,"Ab",function(d){d.jf()||b.xM()}):this.xM()}};_.g.UI=function(){this.jf()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Gb=function(){return this.status};_.g.$q=function(){return this.Ma};_.g.handleError=function(a){this.dispatchEvent(new _.Tb(a))};_.g.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};_.g.nk=function(){return!this.H||this.va};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.ee.removeAll();this.activate()};_.g.xM=function(){};
var L7c=function(a,b,c,d,e){TO.call(this,a,b,e.ki()||void 0);this.Ba=c;this.request=e;this.ka=[];this.V=[];this.W=!1;this.ma=new K7c;this.Ea=d};_.N(L7c,TO);_.g=L7c.prototype;_.g.QE=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.getData=function(){return RZc(new UN,this.V).Ec(this.status)};_.g.Uq=function(){var a=this.ma.ky(this.ka,this.V);this.ka=this.V;var b=(new PZc).Ec(this.status);return _.jb(b,2,a)};_.g.xM=function(){this.Ea(this.Ki(),this.limit)};
_.g.Ds=function(){if(this.active){var a=this.status;this.UI();if(this.W||a!=this.status)this.W=!1,M7c(this)}};_.g.lc=function(){return this.V.length};_.g.Ad=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||MN(0,this.V,b.H()))this.H=!0,this.status=b.Gb(),this.V=b.H(),this.va=a.H,M7c(this)};
var M7c=function(a){var b="Livelist "+a.Ki()+" returning "+a.V.length+" for "+(a.request.Oc()+". Status: ")+(_.dg(SYc)[a.Gb()]+".");a.Ba.info("drive.ds.sync.CategoryMetadataLiveList",b);a.dispatchEvent(new _.ui(_.Ic,a))};L7c.prototype.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};
var N7c=function(a,b,c,d,e,f){MO.call(this,a,b,c,e,f,d);this.Ba=null;this.va=void 0};_.N(N7c,MO);N7c.prototype.getData=function(){this.H=this.items;var a=AXc((new _.$A).Ec(this.Gb()).uv(this.items),this.nk());a=_.y(a,7,this.Ba);return _.bPc(a.UM(this.suggestionSessionId).Di(this.Fg),this.va)};N7c.prototype.update=function(a){F6c(this,a)&&(G6c(this,a),this.Ba=a.W2(),this.suggestionSessionId=a.yf(),this.va=a.kha(),E6c(this))};
var O7c=function(a,b){var c={};a=_.Uf(a,function(d){return!!d});b=_.Uf(b,function(d){return!!d});_.Tf(a,function(d,e){var f=b[e];f?_.Dk(d,f)||(d=Q6c(P6c(4),f),c[e]=d):(d=Q6c(P6c(2),d),c[e]=d)});_.Tf(b,function(d,e){a[e]||(d=Q6c(P6c(1),d),c[e]=d)});return c},P7c=function(a,b){return _.Xf(a)!=_.Xf(b)||!_.$f(O7c(a,b))};
var Q7c=function(a,b){_.Q.call(this);this.request=b;this.ha=!1;this.V=6;this.W={};this.H={}};_.N(Q7c,_.Q);_.g=Q7c.prototype;_.g.activate=function(){this.ha||(this.ha=!0,_.$f(this.H)&&6==this.V||this.dispatchEvent(new _.ui(_.Ic,this)))};_.g.Gb=function(){return this.V};_.g.$q=function(){return new _.tN};_.g.getData=function(){this.W=this.H;var a=(new _.YM).Ec(this.V);_.Tf(this.H,function(b,c){a.YQ().set(c,b||new _.ZA)});return a};
_.g.Uq=function(){var a=O7c(this.W,this.H);this.W=this.H;var b=(new k7c).Ec(this.V);_.Tf(a,function(c,d){_.jk(b,2,OO).set(d,c)});return b};_.g.AQ=function(){throw Error("Nf");};_.g.Ki=function(){return String(_.Ea(this))};_.g.Ad=function(){return this.request};_.g.update=function(a){var b={};a.YQ().forEach(function(c,d){c||(c=y4c(d));b[d]=c});if(this.V!=a.Gb()||P7c(this.W,b))this.V=a.Gb(),this.H=b,this.ha&&this.dispatchEvent(new _.ui(_.Ic,this))};
_.g.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};
var S7c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.ka=a;this.va=b;this.ta=c;this.Ba=d;this.Ea=e;this.request=f;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=uVc(new _.tN,[1]);R7c(this,"Creating find by ids live map: "+this.request.Ql().join(", "));_.ae(this,function(){h.ha=!1;h.W=[]})};_.N(S7c,_.Q);_.g=S7c.prototype;_.g.Ki=function(){return String(_.Ea(this))};_.g.activate=function(){this.ha=!0;_.$f(this.H)&&6==this.V||T7c(this)};_.g.Ad=function(){return this.request};
_.g.getData=function(){this.W=this.H;var a=new _.WM;_.ZK(this.ka)?a.Ec(PUc(Object.values(this.H))?6:this.V):a.Ec(this.V);a.H=this.H;return a};_.g.Uq=function(){var a=xVc(this.W,this.H),b=new KZc;b.Ec(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.$q=function(){return this.ma};_.g.AQ=function(a){P1c(a);var b=this.request;this.request=a;this.Ea(this.Ki(),b,a)};
_.g.update=function(a){var b=this;0<=_.na(this.Ad().Ql(),"root")?this.Ba.addCallback(function(c){var d=a.H[c];d&&(_.ag(a.H,c),a.H.root=d);U7c(b,a)}):U7c(this,a)};var U7c=function(a,b){if(a.V!=b.Gb()||yVc(a.H,b.H))a.V=b.Gb(),a.H=b.H,_.ZK(a.ka)&&(a.ma=vVc(a.V,Object.values(a.H))),T7c(a)};S7c.prototype.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};S7c.prototype.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};
var T7c=function(a){a.ha&&(R7c(a,"Livelist "+a.Ki()+" returning "+(Object.values(a.H).length+". Status: ")+(_.dg(SYc)[a.Gb()]+". Query: ")+(mO(a.va,a.request)+" ")+wVc(Object.values(a.H))),a.dispatchEvent(new _.ui(_.Ic,a)))},R7c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var V7c=function(a,b,c,d,e,f){MO.call(this,a,b,c,d,e,f);this.va=[]};_.N(V7c,MO);V7c.prototype.getData=function(){this.H=this.items;var a=(new _.XM).Ec(this.Gb()).uv(this.items);var b=this.nk();a=_.B(a,4,b);return NYc(a,this.va).UM(this.suggestionSessionId).Di(this.Fg)};V7c.prototype.update=function(a){F6c(this,a)&&(G6c(this,a),this.va=_.vk(a,_.$k,6),this.suggestionSessionId=a.yf(),E6c(this))};
var W7c=function(){};_.g=W7c.prototype;_.g.PJ=function(a,b){return O6c(N6c(1),a).setPosition(b)};_.g.NJ=function(a,b){return O6c(N6c(2).setPosition(b),a)};_.g.MG=function(a,b,c){return O6c(N6c(3).tx(b).setPosition(c),a)};_.g.KN=function(a,b){return O6c(N6c(4),a).setPosition(b)};_.g.lK=function(a){return a.um()};
var X7c=function(){_.qN.call(this,new W7c,function(a){return a&&a.zo()})};_.N(X7c,_.qN);
var Y7c=function(a,b,c){TO.call(this,a.ik,a.Ml,b.ki()||10);this.request=b;this.ka=[];this.V=[];this.W=!1;this.Ba=new X7c;this.ma=null;this.Ea=c};_.N(Y7c,TO);_.g=Y7c.prototype;_.g.QE=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.getData=function(){this.ka=this.V;return k_c(j_c((new XN).Ec(this.status),this.V.slice(0)),this.ma)};_.g.Uq=function(){var a=this.Ba.ky(this.ka,this.V);this.ka=this.V;var b=(new i7c).Ec(this.status);return _.jb(b,2,a)};_.g.xM=function(){};
_.g.Ds=function(){var a=this.status;this.UI();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.ui(_.Ic,this))};_.g.lc=function(){return this.V.length};_.g.Ad=function(){return this.request};_.g.update=function(a){if(this.status!=a.Gb()||MN(0,this.V,a.ek())){this.W=this.H=!0;this.V=a.ek();if(a=a.yf())this.ma=a;this.Ds()}};_.g.refresh=function(){this.Ea()};
_.g.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Z7c=function(a,b,c){_.Q.call(this);var d=this;this.request=a;this.Ba=b;this.va=c;this.ka=[];this.H=[];this.ha=!1;this.V=6;this.ta=uVc(new _.tN,[1]);this.W=!0;this.ma=a.ki();_.ae(this,function(){d.ha=!1;d.ka=[]})};_.N(Z7c,_.Q);_.g=Z7c.prototype;_.g.Ki=function(){return String(_.Ea(this))};_.g.activate=function(){this.ha=!0;_.qa(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.ui(_.Ic,this))};_.g.Ad=function(){return this.request};_.g.Gb=function(){return this.V};_.g.$q=function(){return this.ta};
_.g.nk=function(){return this.W};_.g.getData=function(){this.ka=this.H;return AXc((new _.$A).Ec(this.V).uv(this.H),this.W)};_.g.Uq=function(){var a=_.hUc().ky(this.ka,this.H),b=(new _.tKc).Ec(this.V);a=_.jb(b,2,a);this.ka=this.H;return a};_.g.Dq=function(a){this.ha&&(this.ma+=a||20,this.Ba.CM(this.Ki(),this.ma))};
_.g.update=function(a){if(this.V!=a.Gb()||MN(_.hUc(),this.H,a.Id()))this.H=a.Id(),this.V=a.Gb(),_.ZK(this.va)&&(this.ta=vVc(this.V,this.H)),this.W=a.gpa(),this.ha&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};_.g.$s=function(){throw Error("Of");};_.g.refresh=function(){};
var $7c=function(a,b,c){_.Q.call(this);var d=this;this.context=a;this.ma=b;this.request=c;this.ha=!1;this.W={};this.H={};this.V=6;this.ka=uVc(new _.tN,[1]);this.context.dg().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.Ql().join(", "));_.ae(this,function(){d.ha=!1;d.W=[]})};_.N($7c,_.Q);_.g=$7c.prototype;_.g.Ki=function(){return String(_.Ea(this))};
_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.Ad=function(){return this.request};_.g.getData=function(){this.W=this.H;var a=new _.WM;a.Ec(this.V);a.H=this.H;return a};_.g.Uq=function(){var a=xVc(this.W,this.H),b=new KZc;b.Ec(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.$q=function(){return this.ka};_.g.AQ=function(a){var b=this.request;this.request=a;this.ma.pna(this.Ki(),b,a)};
_.g.update=function(a){if(this.V!=a.Gb()||yVc(this.H,a.H))this.V=a.Gb(),this.H=a.H,_.ZK(this.context.Vc)&&(this.ka=vVc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.rT=function(){this.dispatchEvent(new _.ui(_.DEa))};
var a8c=function(){};_.g=a8c.prototype;_.g.PJ=function(a,b){return Q6c(P6c(1),a).setPosition(b)};_.g.NJ=function(a,b){return Q6c(P6c(2).setPosition(b),a)};_.g.MG=function(a,b,c){return Q6c(P6c(3).tx(b).setPosition(c),a)};_.g.KN=function(a,b){return Q6c(P6c(4),a).setPosition(b)};_.g.lK=function(a){return a.um()};
var b8c=function(){_.qN.call(this,new a8c,function(a){return a&&a.getId()})};_.N(b8c,_.qN);
var c8c=function(a,b,c){TO.call(this,a.ik,a.Ml,b.ki()||10);this.request=b;this.Ba=c;this.W=[];this.V=[];this.ka=!1;this.ma=new b8c};_.N(c8c,TO);_.g=c8c.prototype;_.g.QE=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.ui(_.Ic,this))};_.g.getData=function(){this.W=this.V;return w2c((new sO).Ec(this.status),this.V.slice(0))};_.g.Uq=function(){var a=this.ma.ky(this.W,this.V);this.W=this.V;var b=(new m7c).Ec(this.status);return _.jb(b,2,a)};
_.g.xM=function(){this.Ba.CM(this.Ki(),this.limit)};_.g.Ds=function(){var a=this.status;this.UI();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.ui(_.Ic,this))};_.g.lc=function(){return this.V.length};_.g.Ad=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||MN(0,this.V,b.ek()))this.H=!0,this.status=b.Gb(),this.V=b.ek(),this.va=a.H,this.dispatchEvent(new _.ui(_.Ic,this))};
_.g.Nz=function(a){this.dispatchEvent(new _.Tb(new _.Sb("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var d8c=function(a,b){this.context=a;this.ka=b;this.H={};this.ma={};this.ta={};this.W=null;this.ha=a.jg;this.V=this.context.ipa;this.va=this.context.sca};_.g=d8c.prototype;_.g.tta=function(a){var b=this,c=new N7c(this.context.Am,this.context.OR,this.context.dg(),this.context.Vc,function(d,e){b.CM(d,e)},a);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};
_.g.wta=function(a){var b=this,c=new V7c(this.context.Am,this.context.OR,this.context.dg(),function(d,e){b.CM(d,e)},a,this.context.Vc);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};_.g.qta=function(a){var b=this,c=new S7c(this.context.Vc,this.context.Am,this.context.dg(),this.context.nla,this.pna.bind(this),a);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};_.g.zta=function(a){var b=this,c=new Z7c(a,this,this.context.Vc);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};
_.g.Ata=function(a){var b=this,c=new $7c(this.context,this,a);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};_.g.Dta=function(a){var b=this,c=new c8c(this.context,a,this);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};_.g.xta=function(a){var b=this,c=new Y7c(this.context,a,function(){if(a instanceof _.hp){var d=e8c(b.context);f4c(d,d.getKey(a)).refresh()}});UO(this,c);_.ae(c,function(){return VO(b,c)});return c};
_.g.Eta=function(a){var b=this,c=new Q7c(this.context,a);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};_.g.nta=function(a){var b=this,c=new L7c(this.context.ik,this.context.Ml,this.context.dg(),function(d,e){b.CM(d,e)},a);UO(this,c);_.ae(c,function(){return VO(b,c)});return c};
var UO=function(a,b){var c=b.Ki();a.H[c]=b;a.ka.create(c,b.Ad());b=b.Ad()instanceof _.kp?a.V.$u(c,b.Ad()):"undefined"!=typeof _.lM&&b.Ad()instanceof _.lM?e4c(a.V,c,b.Ad()):b.Ad()instanceof _.hp?e8c(a.context).$u(c,b.Ad()):b.Ad()instanceof _.UF?a.va.$u(c,b.Ad()):a.ha.$u(c,b.Ad());"boolean"===typeof b&&g2c(a.ka,c,b)},VO=function(a,b){if(b.Ad()instanceof _.kp)a.V.JD(b.Ki(),b.Ad());else if("undefined"!=typeof _.lM&&b.Ad()instanceof _.lM){var c=a.V,d=b.Ki(),e=b.Ad(),f=c.H.get(c.getKey(e));f&&(f.JD(d),
f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.Ad()instanceof _.hp?e8c(a.context).JD(b.Ki(),b.Ad()):b.Ad()instanceof _.UF?a.va.JD(b.Ki(),b.Ad()):a.ha.JD(b.Ki(),b.Ad());oO(a.ka,b.Ki(),4);delete a.H[b.Ki()]};_.g=d8c.prototype;_.g.pna=function(a,b,c){this.ha.JD(a,b);this.ha.$u(a,c)};_.g.CM=function(a,b){var c=X3c(this,a).Ad();c.vi(b);c instanceof _.kp?this.V.$u(a,c):"undefined"!=typeof _.lM&&c instanceof _.lM?e4c(this.V,a,c):c instanceof _.UF?this.va.$u(a,c):this.ha.$u(a,c)};
_.g.X9=function(a,b){this.ma[a]=b;this.W||(this.W=_.Di(this.c6,50,this))};_.g.Q0=function(a,b){this.ta[a]=b;this.W||(this.W=_.Di(this.c6,50,this))};_.g.EB=function(a){(a=this.H[a])&&a.rT()};
_.g.c6=function(){_.Ei(this.W);this.W=null;var a=Object.keys(this.ma),b=Object.keys(this.ta);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.ma[c];if(d){delete this.ma[c];var e=this.H[c];e&&(j2c(this.ka,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ta[a])if(delete this.ta[a],d=this.H[a])oO(this.ka,a,3),d.Nz(c)};var X3c=function(a,b){if(!a.H[b])throw Error("Pf`"+b);return a.H[b]};
var WO=function(a,b){_.Q.call(this);this.ha=a;this.request=b;this.af=_.di();this.V=!1;this.H=""};_.N(WO,_.Q);WO.prototype.start=function(){var a=this;this.ha.then(function(b){return b.lh(a.request)}).then(this.ma.bind(this)).ig(this.W.bind(this));return this.af.promise};WO.prototype.ma=function(a){this.H=a.H;this.dispatchEvent(new I7c(0,this.H));f8c(this)};var f8c=function(a){_.q.setTimeout(function(){a.ha.then(function(b){return b.lh(new _.ENc(a.H))}).then(a.ta.bind(a)).ig(a.W.bind(a))},5E3)};
WO.prototype.ta=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new I7c(a.V,this.H)),f8c(this);else{this.V=!0;if(4==a.status){var b=new w7c;b=_.B(b,2,a.W||[]);b=_.B(b,3,this.H);b=_.B(b,5,a.ma);b=_.B(b,6,a.ka);b=_.B(b,7,a.Ey);b=_.B(b,8,a.H);a=_.jb(b,4,a.ha);this.af.resolve(a)}else a=_.iL(_.fr(_.er(new _.Rb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.W(a);this.dispose()}};WO.prototype.cancel=function(){var a=this;this.ha.then(function(b){return b.lh(new _.DNc(a.H))}).then(this.ka.bind(this)).ig(this.W.bind(this))};
WO.prototype.ka=function(){if(!this.V){var a=new w7c;a=_.B(a,3,this.H);a=_.B(a,1,!0);this.af.resolve(a);this.V=!0;this.dispose()}};WO.prototype.W=function(a){this.V=!0;this.af.reject(_.vL(a));this.dispose()};
var g8c=function(){_.ui.call(this,"VbxEwf")};_.N(g8c,_.ui);
var h8c=function(a,b){this.context=a;this.V=null;this.H=b||null};_.g=h8c.prototype;_.g.Na=function(){return _.D(this.context.Vc,_.aNc,58)};_.g.getContext=function(){return this.context};_.g.JC=function(){return this.context.VD.JC(this.V)};_.g.dg=function(){return this.context.dg()};_.g.vS=function(a){return _.li(this.context.jg.Ll.H(a))};_.g.o7=function(){return _.li(this.context.VD.o7())};
_.g.$ma=function(a,b,c){var d=new _.gi;if(_.D(a,_.$K,3)||_.D(a,_.nM,4)||_.D(a,_.cN,5)||_.D(a,_.jM,6)||_.D(a,_.LL,7)||_.D(a,_.EL,8)||_.D(a,_.IL,9)||_.D(a,_.mL,10)){var e=d2c(a);this.context.Tn().then(function(f){return f.lh(e,{TKb:b,UKb:c})}).then(this.Ctb.bind(this,d),d.Ud,d);return d}throw Error("Qf");};
_.g.Ctb=function(a,b){var c=[],d="";if(b instanceof _.dN){c=b.Vp().Id();var e=_.C(b,2);d=b.wo()}else if(b instanceof _.pM)b.getItem()&&c.push(b.getItem()),e=b.jO();else throw Error("Rf");a.callback({items:c,rOa:e,pageToken:d})};_.g.P1a=function(){var a=this.context.Vc,b=a.Pf();a="email:"+_.UK(a).getEmail().replace(/@.*$/,"");_.B(b,13,a)};_.g.zNa=function(){this.context.Gu.RU();var a=this.context.Vc;a6c(_.GM(_.UK(a)),_.HM(a),this.context.dg()).ig(function(){})};
_.g.o6=function(){return _.EMc[_.fk(this.context.Vc.Pf(),8,0)]};_.g.FEa=function(){this.context.$0.H=new N4c(_.Sg().substring(0,8))};_.g.u1=function(){var a=this.context.$0.p7(),b=null;a&&(b=P4c(this.context.$0),b={traceId:a,spanRecs:b});a=this.context.$0;a.H=null;a.V=[];return _.li(b)};_.g.p7=function(){return _.li(this.context.$0.p7())};
_.g.getState=function(a){var b=this.context.Wj,c=b.H.bind(b);b={};b.b=this.context.Vc.Hi();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.context.jg.Ll.Sd();c=this.context.jg.Bv;var d=c.H;d&&(b.cs_sutd=d.y8,b.cs_ss=d.Sd());b.cs_ch=e3c(c).length;b.cs_td=c.fT().length;(c=this.context.vIa)&&(b.t_cps=c.Knb().join(","));b.t_id=i8c(this.context);var e=
[];j8c(this.context.cT()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.XR?this.context.Ml.isConnected():this.context.WX.Sz();b.n_o=this.context.XR?this.context.Ml.jf():this.context.ik.jf();b.n_csm=!!this.context.XR;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.li(JSON.stringify(b))};_.g.N0a=function(){this.H&&(this.H.dispatchEvent(new g8c),this.H.vx())};
_.g.xm=function(a){var b=this.context.XR;b&&a!=b.V&&(b.V=a,_.mRc(b),a?b.state.update(3):_.oRc(b))};
var m8c=function(a,b){this.context=a;this.lm=b;this.H=_.rNc(vYc(this.lm),k8c);this.V=_.rNc(vYc(this.lm),l8c)};
m8c.prototype.Tl=function(a){var b=this,c=this.context.qN.xg().xg(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.vNc(h);var k=h.getId(),l=b.context.en();_.POc(h,3);_.pL(h,5);var n=WUc(h,!0);h.Rd()||_.AM(h,new _.fl);_.H(n,2)&&((n=h.Fj())&&n.length?_.B(h,46,n[0]):(_.zM(h,[l]),_.B(h,46,l)),l=h.ys(),_.B(h,12,l),l=new _.$k,l.Tb(d),_.B(l,6,1),_.cOc(l,!0),_.JOc(h,l),_.IOc(h,[l]),_.iKc(h,1));e[k]=h});a=Object.keys(e);c=this.context.jg;var f=A1c(c.Ll,a);_.Tf(f,function(h,k){xN(h.getItem(),
e[k],b.H);(b.context.ik.jf()||b.context.Ml.jf()||3==AN(h.getItem()))&&xN(h.getItem(),e[k],b.V);_.ag(e,k)});_.Tf(e,function(h){_.H(h.Sn(),1)&&(f[h.getId()]=new iO(h))});n8c(c,Object.values(f))};var o8c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.Tl(c)},k8c=[50],l8c=[12,11,10,67,68];
var p8c=function(a){this.context=a;this.H=null;this.V=!1;this.W=new m8c(a,a.UD)};
p8c.prototype.tV=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.ka.bind(this);var b=this.ha.bind(this);q8c(this,"Querying all offline items.");this.H.IS().Zf(a,b);this.V||(this.H.LX((0,_.v)(this.ma,this)),this.V=!0)}}else{a=this.W.context.jg;b=new _.Ie;b.xm(!0);b=C1c(a.Ll,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==AN(f)){var h=new _.dL;_.gL(h,f.getId());_.qL(h);d.push(h)}else h=new _.il,_.vN(h,!1),_.B(h,2,!1),_.y(f,81,h),c.push(b[e])}n8c(a,c);a.zq(d)}};
p8c.prototype.ka=function(a){q8c(this,"Processing all offline item(s): "+a.length);this.W.Tl(a);vO(this.context.Wj,"GZTDpc")};p8c.prototype.ha=function(){q8c(this,"Error fetching offline items.")};p8c.prototype.ma=function(a){q8c(this,"Handling offline change(s): "+a.length);o8c(this.W,a)};var q8c=function(a,b){a.context.dg().info("drive.ds.sync.offline.LocalDataService",b)};
var XO=function(a){_.Q.call(this);this.context=a;this.Ea="drive.ds.sync.BaseItemService";this.ee=new _.je(this);this.ta=null;this.Va=this.Ba=!1;var b=new p8c(a);this.context.ha=b;this.Ia=new h8c(a,this);tVc(this.Ia);(b=_.D(a.Vc,_.aNc,58))&&_.F(b,1,!1);this.Oa(this.ee);this.V=this.context.Wj;this.ha=a.hla;this.W=new d8c(a,this.ha);a=this.context;b=this.W;a.va=b;a.W.resolve(b);this.INa()};_.N(XO,_.Q);_.g=XO.prototype;_.g.INa=function(){};
_.g.initialize=function(){var a=this;if(!this.ta){this.ta=_.di();var b=this.context.tm().V(106E3);b&&this.ta.promise.then(function(){return void b.xk()},function(){});var c=_.IM(this.context.Vc)?"(coldstart) ":"";this.context.dg().info(this.Ea,"Initializing "+c+"with client build: "+this.context.Vc.Hi());this.ee.listen(this.context,_.Jc,this.apb);this.ee.listen(this.context.WX,["eb","fb"],function(d){return void a.dispatchEvent(d)});this.ee.listen(this.context.Ml,[].concat(_.Sc(Object.values(_.bL))),
function(d){return void a.dispatchEvent(d)});this.tIa();this.V.start();vO(this.V,"NSockf")}return this.ta.promise};_.g.lSa=function(){this.context.dg().info(this.Ea,"Ready to process requests.");this.Ba||(this.Ba=!0,this.ta.resolve())};_.g.apb=function(a){var b=a.error,c=b.hh;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.ta.reject(b)):this.dispatchEvent(a)};_.g.w1=function(){throw YO("teamDriveQuery");};_.g.Pma=function(){throw YO("teamDriveFindByIds");};
_.g.Qma=function(){throw YO("teamDriveMovePreflight");};_.g.TBa=function(){throw YO("peoplePredictQuery");};_.g.query=function(a){R1c(this.context.Am,a,uYc(this.context.UD));this.oL();var b=_.Ek(a);b=this.W.tta(b);this.Va||(a=a.Ae(),a&&121==_.C(a,1)||(this.Va=!0,this.ee.listen(b,_.Ic,this.sIa)));return b};_.g.sIa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Ia.V=this.V.H("W6J7De"),this.ee.Yc(a,_.Ic,this.sIa))};_.g.Pq=function(a){this.oL();P1c(a);return this.W.qta(_.Ek(a))};
_.g.Fra=function(){throw YO("activityQuery");};_.g.qsa=function(){throw YO("backupsQuery");};_.g.yCa=function(){throw YO("refreshBackups");};_.g.JS=function(){throw YO("getAndroidBackupItems");};_.g.Zta=function(){throw YO("deleteBackup");};_.g.XBa=function(){throw YO("permissionQuery");};_.g.fya=function(){throw YO("insertPermission");};_.g.bua=function(){throw YO("deletePermission");};_.g.Bd=function(){throw YO("mutate");};_.g.wU=function(){throw YO("mutateWorkspace");};
_.g.NA=function(){throw YO("bulkMutate");};_.g.pta=function(){throw YO("createFileUploader");};_.g.VNa=function(a){return new WO(this.context.Tn(),a)};_.g.Rq=function(a){if(3==a.getType())return _.mi(this.context.Tn().then(function(b){return b.lh(a)}).then(null,_.xL));throw YO("getApps with type "+a.getType());};_.g.Cr=function(){throw YO("getApp");};_.g.hya=function(){throw YO("installApp");};_.g.Yta=function(){throw YO("deleteApp");};_.g.T1=function(){throw YO("updateApp");};
_.g.jT=function(){throw YO("getUserAccount");};_.g.IK=function(){throw YO("getUserPrefs");};_.g.r0=function(){throw YO("mutateUserPref");};_.g.Nu=function(){throw YO("getRevisions");};_.g.Lxa=function(){return!1};_.g.xm=function(a){this.context.ik.xm(a)};_.g.yD=function(){throw YO("setOfflineOptIn");};_.g.tV=function(){throw YO("setLocalItemService");};_.g.oL=function(){};_.g.n9=function(){this.context.n9();this.context.tm().H(106006)};_.g.E6=function(){return this.Ia};_.g.D$=function(){};
_.g.Sz=function(){return this.context.WX.Sz()};_.g.K4=function(){return this.context.WX.K4()};_.g.isConnected=function(){return 1==this.context.XR.getState().get()};_.g.sync=function(){throw YO("sync");};_.g.vx=function(){return this.context.vx()};_.g.VAa=function(){throw YO("offlineDataLoaded");};_.g.FXa=function(a){return this.context.Tn().then(function(b){return b.lh(a)}).then(function(b){return b})};_.g.Psa=function(){throw YO("categoryMetadataQuery");};
_.g.Ssa=function(){throw YO("changeCategoryLinks");};_.g.U1=function(){throw YO("updateCategoryMetadata");};_.g.lCa=function(){throw YO("publishedCategoriesQuery");};_.g.Qka=function(){throw YO("publishedCategoryQuery");};_.g.QGa=function(){throw YO("workspaceFindByIdsRequest");};_.g.Fna=function(){throw YO("workspaceQueryRequest");};_.g.nFa=function(){throw YO("suggestedWorkspaceItemQueryRequest");};_.g.Hma=function(){throw YO("suggestedWorkspaceQueryRequest");};
_.g.Wda=function(){throw YO("addCacheHint");};_.g.$ea=function(){throw YO("createUserFeedback");};_.g.zq=function(){throw YO("handleChanges");};var YO=function(a){return new _.Sb(a+" is unsupported",_.uL(3))};
var YVc=function(a){XO.call(this,a);this.Ea="drive.ds.sync.AnonymousItemService";a.jt("")};_.N(YVc,XO);YVc.prototype.tIa=function(){uO(this.V,["NSockf"],this.lSa.bind(this))};
var r8c=new Set([1,2,4,5,6]),s8c=function(a,b,c,d,e){this.W=a;this.ta=b;this.ma=c;this.ka=d;this.ha=e;this.H=null;this.V=3;this.zt=0};s8c.prototype.xg=function(){var a=new _.RO;a.Ec(this.V);this.H&&_.j7c(a,this.H?_.Ek(this.H):null);return a};
var t8c=function(a,b,c,d){d=void 0===d?!1:d;var e=r8c.has(c);if(1==a.V&&!e)return!1;a.zt=c;var f=a.V;c=!a.H;if(_.ZK(a.W)){var h=(h=b&&b.getUser())&&_.TF(h);h=!(!h||!M3c(a.ta,h));a.V=h&&e||d?1:6}f=!_.Dk(a.H,b)||(_.ZK(a.W)?a.V!=f:6==a.V&&e);a.H=_.Ek(b);_.ZK(a.W)||(a.V=e||d?1:6);c&&(vO(a.ma,"toquGd"),a.ka.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ha.update(0);return f};s8c.prototype.$e=function(){return this.zt};
var u8c=function(a){_.Q.call(this);this.ta=a;this.Fg=0};_.N(u8c,_.Q);var v8c=function(a){a=_.Ek(a);var b=function(c){return c.toLowerCase()};b_c(a,_.Hd(a,4).map(b));c_c(a,_.Hd(a,5).map(b));return a};_.g=u8c.prototype;_.g.Rq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.zN=function(){};_.g.oB=function(){return 0!=this.Fg};_.g.$e=function(){return this.Fg};
var w8c=new Set([1,2,4,5,6]),x8c=function(a,b,c){u8c.call(this,b);this.ma=a;this.ha=c;this.H={};this.V=[];this.W=6;this.ka=!1};_.N(x8c,u8c);x8c.prototype.Rq=function(){var a=new qO;if(!_.$f(this.H)){_.B(a,4,this.V||[]);var b=[];_.Tf(this.H,function(c){b.push(_.Ek(c))});_.jb(a,2,b)}a.Ec(this.W);return a};x8c.prototype.put=function(a){this.H[a.getId()]=v8c(a);this.ha.update(1);this.dispatchEvent(new _.ui("Qb",this))};x8c.prototype.remove=function(a){_.ag(this.H,a)&&this.ha.update(1)};
x8c.prototype.zN=function(a,b,c){c=void 0===c?!1:c;var d=!w8c.has(b);1==this.W&&d||(this.Fg=b,y8c(this,a,!d||c),d||this.ha.update(1),this.ka||(this.ka=!0,this.ma.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),vO(this.ta,"nVUlO")))};
var y8c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.Hd(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.Fa(f);d=f.length!=a.V.length}a.V=e;var h=_.cg(a.H);_.LMc(a.H);b=_.vk(b,_.VN,2);d||(d=b.length!=_.Xf(h));b.forEach(function(k){var l=v8c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Dk(l,k))});a.ma.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ui("Qb",a))};
var ZO=function(a){_.P.call(this);this.context=a;this.hx=new Set;this.vn=6;this.zt=0;this.ee=new _.je(this);this.Oa(this.ee)};_.N(ZO,_.P);_.g=ZO.prototype;_.g.$u=function(a){this.WMa(a);this.hx.add(a);this.resize(!0);z8c(this,a)};_.g.WMa=function(){};_.g.JD=function(a){this.hx.delete(a);0!=this.hx.size||this.xUa()?this.resize(!1):this.dispose()};_.g.$e=function(){return this.zt};_.g.Di=function(a){this.zt=a};_.g.hK=function(){return this.vn};_.g.refresh=function(){};_.g.Rl=function(){};
var B8c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){k[h]=_.Ek(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Ek(e):null}c=Object.values(c).filter(function(f){return null!=f})}A8c(a.context.jg,c,b);d=c.filter(function(f){return!kO(f)});AUc(b,d);c.forEach(function(f){M4c(a.context.r2a,f,b);if(f.Fc()){var h=f.Rd();kO(f)?h&&(_.oOc(h,_.H(h,13)),_.lOc(h,!1),_.sOc(h,!1)):zN(f)?(h&&_.B(h,3,!1),_.B(f,30,!1)):h&&(_.wOc(h,!1),_.xOc(h,!1))}f.Rd()||_.AM(f,new _.fl)})};ZO.prototype.resize=function(){};
ZO.prototype.Ad=function(){};ZO.prototype.Tl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=tO(e);d=c.hw(e,!0)||d});b||(1!=this.vn&&(d=!0),this.vn=1);d&&this.ZU()};var C8c=function(a,b){var c=!1;b.forEach(function(d){c=a.hw(d)||c});c&&a.ZU();return c};ZO.prototype.update=function(a){return C8c(this,[a])};ZO.prototype.hw=function(){};ZO.prototype.ZU=function(){var a=this;this.VMa();this.hx.forEach(function(b){z8c(a,b)})};ZO.prototype.VMa=function(){};
var z8c=function(a,b){var c=$O(a.context);c=X3c(c,b).Ad();a.MTa(c)||(c=a.Rl(c),$O(a.context).X9(b,c))};ZO.prototype.Q0=function(a){var b=this;this.vn=3;this.hx.forEach(function(c){$O(b.context).Q0(c,a)})};ZO.prototype.EB=function(){var a=this;this.hx.forEach(function(b){$O(a.context).EB(b)});this.Di(0==this.$e()?1:6)};ZO.prototype.xUa=function(){return!1};ZO.prototype.MTa=function(){return!1};
var D8c=function(a){_.ui.call(this,"Db");this.id=a};_.N(D8c,_.ui);
var E8c=function(a,b,c,d){d=void 0===d?!1:d;_.Q.call(this);this.request=a;this.context=b;this.HGa=d;this.af=null;this.W={};this.ka=[];this.ha=[];this.H=null;this.ma=c||a;this.V=new Set};_.N(E8c,_.Q);
E8c.prototype.mh=function(){var a=this;if(this.af)return this.af.promise;this.af=_.di();this.request.Ql().forEach(function(b){var c=_.cp(_.Ek(a.request),[b]),d;a.HGa&&(d={HGa:!0});a.context.Tn().then(function(e){return e.lh(c,d)}).then(function(e){return void F8c(a,e)},function(e){e=_.wL(e);if(5==e.hh.Er()||4==e.hh.Qj())a.context.dg().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ha.push(b),G8c(a);else{var f=new pO(e.hh,_.gk(a.context.Vc.Pf(),1,1));a.context.jg.Nz(a.request,
f);a.dispatchEvent(f);a.af.reject(e)}})});return this.af.promise};var F8c=function(a,b){b.Vp().Id().forEach(function(c){_.pL(c,1);a.ka.push(c)});G8c(a)},G8c=function(a){a.H||(a.H=_.q.setTimeout(a.ta.bind(a),10))};E8c.prototype.ta=function(){_.q.clearTimeout(this.H);this.H=null;H8c(this);I8c(this);this.V.size==this.request.Ql().length?(this.context.jg.Tl([],1,this.ma,!1),this.dispatchEvent("Fb"),this.af.resolve(this.W)):this.dispatchEvent("Cb")};
var H8c=function(a){var b=a.ka;a.ka=[];b=a.context.tca.Y5(b);if(_.tL(_.UK(a.context.Vc))){var c=a.context.jg.Ll;_.La(b,function(d){var e=c.H(d.getId());e&&_.zM(d,e.Fj())})}b.forEach(function(d){a.V.add(d.getId());a.W[d.getId()]=d});a.context.jg.Tl(b,1,a.ma,!0)},I8c=function(a){var b=a.ha;a.ha=[];b.forEach(function(c){var d=_.qL(_.gL(new _.dL,c));a.context.jg.zq([d]);a.V.add(c);a.W[c]=null;a.dispatchEvent(new D8c(c))})};
var J8c=function(a,b,c,d){ZO.call(this,a);this.lm=b;this.request=c;this.Zc={};this.H=_.lL(a.Vc)||new _.AMc;d&&this.Tl(d,!0)};_.N(J8c,ZO);
J8c.prototype.refresh=function(){var a=this;this.vn=6;if(_.F(this.request,5,!1))return this.vn=1,_.Zh();var b=!DUc(_.OM(this.lm),this.request.H()),c=[],d=this.context.en();this.request.Ql().forEach(function(k){if("root"!=k&&k!=d){var l=a.Zc[k],n=l&&l.getItem();if(l=!l||n&&1!=AN(n)||b)n=n&&n.Sn(),l=!(n&&_.H(n,2));l&&c.push(k)}});if(0==c.length)return this.Tl([],!1),_.Zh();var e=this.request.clone();_.cp(e,c);var f=new E8c(e,this.context,this.request),h=_.di();this.context.ik.jf()?(this.ee.listen(this.context.ik,
"Ab",function(k){k.jf()||(a.ee.Yc(a.context.ik,"Ab"),K8c(a,f,h))}),this.vn=0<Object.values(this.Zc).length?1:2):(this.context.Ml.jf()&&(this.vn=0<Object.values(this.Zc).length?1:2),K8c(this,f,h));return h.promise};var K8c=function(a,b,c){a.ee.listen(b,"Db",function(d){a.Zc[d.id]=null});a.EB();b.mh().then(function(){c.resolve()},c.reject)};_.g=J8c.prototype;
_.g.Gea=function(a){var b=this;return this.context.Am.equals(a,this.request)?_.F(this.H,5,!1)&&_.F(this.H,3,!1)?a.Ql().every(function(c){return(c=b.Zc[c])&&_.H(c.getItem(),31)}):DUc(_.OM(this.lm),a.H()):!1};_.g.Rl=function(a){var b=new _.WM;_.ZK(this.context.Vc)?b.Ec(QUc(Object.values(this.Zc))?6:this.vn):b.Ec(this.vn);b.Di(this.$e());IZc(b,_.Vf(this.Zc,function(c){return c?c.getItem():null}));B8c(this,a.H(),b.H);return b};_.g.resize=function(){};_.g.Ad=function(){return this.request};
_.g.hw=function(a){var b=this.gx(a.V),c=this.gx(a.H);if(b||c)c?(this.Zc[a.id]=a.H,a.H.count++,b&&a.V.count--):(this.Zc[a.id]=null,a.V.count--);else return!1;return!0};_.g.gx=function(a){return!!a&&_.pa(this.request.Ql(),a.getId())};
var L8c=function(a,b){_.ui.call(this,a);this.changes=b};_.N(L8c,_.ui);
var M8c=function(a){var b=new R3c;if(a.yf()){var c=a.yf();b.H=!1;b.ma=c}a instanceof _.XM&&_.vk(a,_.$k,6).length?(a=_.vk(a,_.$k,6),b.H=!1,b.ha=a):a instanceof _.$A&&(a.W2()||a.Ooa()||a.kha().length)&&(c=a.W2(),b.H=!1,b.ka=c,c=a.Ooa()||!1,b.H=!1,b.V=c,a=a.kha(),b.H=!1,b.W=a);return b};
var aP=function(a,b,c,d,e){e=void 0===e?"":e;_.Q.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.ha=0;this.Ka=!1;this.W=[];this.V=!1;this.ma=0;this.nb=a.dg();this.Ma=new Set;this.va=c||!1;this.hb=d||!1;this.Va=this.ta(b);this.ka=new R3c};_.N(aP,_.Q);var N8c=function(a){return!a.Ka||""!=a.nextPageToken},P8c=function(a,b){a.ha=b;return a.W.length<a.ha&&!a.V&&N8c(a)?O8c(a):_.li()};aP.prototype.lc=function(){return this.W.length};aP.prototype.H=function(){return this.W.slice()};
var O8c=function(a){var b=a.ha-a.W.length+a.ma;a.nb.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.gi;d.addCallback(function(f){return void Q8c(a,c,f)});var e=_.gNc(_.hNc(new _.$K,a.Va),c);b=_.eNc(new _.ZLc,b);a.hb&&_.B(b,10,!0);_.fNc(e,b);a.Ka=!0;a.V=!0;a.context.Tn().then(function(f){return f.lh(e)}).then(a.Ia.bind(a,d),a.Ea.bind(a,d,b));return d};
aP.prototype.Ia=function(a,b){this.V=!1;if(b instanceof _.XM)var c=b;else c=b.Vp(),this.nextPageToken=b.wo()||"";this.ka=M8c(c);this.ka.wc()||this.dispatchEvent("Eb");a.callback(c.Id())};
aP.prototype.Ea=function(a,b,c){c=_.wL(c);this.V=!1;if(5==c.hh.Er())a.callback([]);else{if(10==c.hh.Er()&&(_.eNc(b,Math.ceil(_.gk(b,1,1E3)/2-2E-15)),1<_.gk(b,1,1E3))){var d=_.fNc(_.gNc(_.hNc(new _.$K,this.Va),this.nextPageToken),b);this.V=!0;this.context.Tn().then(function(e){return e.lh(d)}).then(this.Ia.bind(this,a),this.Ea.bind(this,a,b));return}b=new pO(c.hh,_.gk(this.context.Vc.Pf(),1,1));this.Ba(b);this.dispatchEvent(b);a.Ud(c)}};
var Q8c=function(a,b,c){for(var d=new Set,e=_.m(c),f=e.next();!f.done;f=e.next()){f=f.value;if(d.has(f.getId())){f="Encountered duplicate item in server query response. itemId: "+(f.getId()+", query: ")+(_.mQc(a.request)+" paginationToken: ")+b;b=_.gr(_.er(_.iL(_.hL(new _.Rb,2),9),f));a.context.dispatchEvent(new _.Tb(new _.Sb(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ma.has(h.getId());a.Ma.add(h.getId());return!k});a.ma+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.pL(b.value,
a.va?2:1);c=[];b=_.m(a.Qa(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.W.push(f.getId()),f=_.gL(new _.dL,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new L8c("Cb",c));if(a.W.length<a.ha&&a.nextPageToken)return O8c(a);a.dispatchEvent("Fb")};aP.prototype.Qa=function(a){return a};aP.prototype.Ba=function(){};aP.prototype.Ad=function(){return this.request};aP.prototype.ta=function(a){a=_.Ek(a);this.va&&_.B(a,46,!0);return a};
var R8c=function(a,b,c,d){aP.call(this,a,b,void 0,c,d)};_.N(R8c,aP);R8c.prototype.Qa=function(a){a=this.context.tca.Y5(a);this.context.jg.Tl(a,1,this.request,N8c(this));return a};R8c.prototype.Ba=function(a){this.context.jg.Nz(this.request,a)};R8c.prototype.ta=function(a){var b=a=aP.prototype.ta.call(this,a),c=_.EM(b);0==_.Hd(b,33).length&&1==c.length&&(c=this.context.jg.Ll.H(c[0].$a()))&&(c=c.Fc())&&(_.rN(b,[c]),_.sN(b,2));S8c(this,a);return a};
var S8c=function(a,b){if(_.EM(b).some(function(d){return(d=a.context.jg.Ll.H(d.$a()))&&_.H(d,108)})){var c=b.Ae();c||(c=new _.Ue,_.Fl(b,c));_.Ve(c,937)}};
var T8c=function(a,b,c,d){this.context=a;this.H=b;this.ka=d;this.Fka=0;this.V=c},V8c=function(a){var b=_.Uc(a.V);b=b.filter(function(d){return d instanceof J8c});var c=new Set;b.forEach(function(d){d.Ad().Ql().forEach(function(e){a.ka.get(e)||c.add(e)})});b=_.Ve(new _.Ue,310);U8c(a,"Re-querying missing find-by-ids :"+c.size);a.IP([].concat(_.Sc(c)),b)},X8c=function(a,b){var c=[];(a.context.jg.qCa.JN[b||"subscribed"]||[]).forEach(function(d){_.Tf(a.V,function(e){_.Dk(e.Ad(),d)&&c.push(e)})});_.Fa(c);
0<c.length&&(W8c(a),c.forEach(function(d){d=mO(a.context.Am,d.Ad(),3);U8c(a,"Refreshing "+b+" cache: "+d)}),_.ei(_.bi(c.map(function(d){return d.refresh().ig(_.nf)})),a.W.bind(a)))};T8c.prototype.IP=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.id(e)});if(0==a.length)return _.Zh({});a=_.B(_.bp(_.cp(new _.ap,a),d||_.OM(this.H)),7,!0);_.dp(a,b);W8c(this);b=new E8c(a,this.context,void 0,c);return _.ei(b.mh(),this.ha.bind(this,b))};T8c.prototype.ha=function(a){a.dispose();this.W()};
var W8c=function(a){a.Fka++;a.context.Gu.setActive(!1)};T8c.prototype.W=function(){this.Fka--;0==this.Fka&&this.context.Gu.setActive(!0)};var U8c=function(a,b){a.context.dg().info("drive.ds.sync.cache.CacheRefresher",b)};
var Y8c=function(a,b,c){_.P.call(this);this.context=a;this.H=b;this.request=c;this.V=this.af=null;a=new _.Ue;_.We(a,!1);_.Ve(a,305);_.Fl(this.request,a);this.W=new _.je(this);this.Oa(this.W)};_.N(Y8c,_.P);
Y8c.prototype.mh=function(){if(!this.af){this.af=_.di();if(_.F(this.request,48,!1))return this.H.Di(9),this.af.resolve(this.H),this.af.promise;this.V=new aP(this.context,this.request,!0);this.W.listen(this.V,"Cb",this.ka);this.W.listen(this.V,"Fb",this.ha.bind(this));this.W.listen(this.V,"Gb",this.af.reject.bind(this.af));P8c(this.V,this.request.ki())}return this.af.promise};Y8c.prototype.ka=function(a){var b=this;_.La(a.changes,function(c){c=c.getItem();b.H.update(tO(new iO(c)))})};
Y8c.prototype.ha=function(){this.H instanceof wO?this.H.H=!N8c(this.V):N8c(this.V)&&R2c(this.H);this.H.Di(5);this.af.resolve(this.H)};
var $8c=function(a,b){_.ui.call(this,Z8c);this.cache=a;this.changes=b};_.N($8c,_.ui);var Z8c="Rb";
var a9c=function(a,b){return new _.Yh(function(c,d){b.then(function(e){var f={};a.by().forEach(function(h){var k=h.getId();XUc(h.getItem());f[k]=new iO(h.getItem())});e.items.forEach(function(h){var k=h.Oc();k=f[k];h.Rj()?k&&a.update(new G2c(k.getId(),k,null)):(h=h.getItem(),XUc(h),a.update(H2c(k,new iO(h))))});a.j0();c(e.JEb)},d)})};
var b9c=function(a,b){_.P.call(this);this.context=a;this.lm=b};_.N(b9c,_.P);
b9c.prototype.mh=function(a){c9c(this,"Running initial view populator (IVDP).");try{var b=new hO(JSON.parse(a))}catch(p){d9c(this,"Error parsing initial view dump.",p);return}a=_.UK(this.context.Vc);if(!_.tL(a)){var c=b.xg();if(c){var d=c.getUser();d&&d.getId()==_.G(a,6,"")&&t8c(this.context.qN,c,4)}(a=b.en())&&this.context.jt(a,6)}var e=_.C(b,3)||void 0;e&&e9c(this.context,e,!0);if((a=_.vk(b,_.ep,9))&&a.length){c=(c=this.context.Vc.Pf())&&_.Hd(c,30)||[];var f=new Set(c);a.forEach(function(p){(p=
(p=p.getKey())&&_.fp(p))&&f.add(p)});this.context.KD.zN(a,4,[].concat(_.Sc(f.values())))}a=b.Id();a.forEach(function(p){_.vNc(p);_.pL(p,6)});if(c=_.vk(b,gO,5)[0])if(b=this.context.Am,KUc(_.OM(this.lm),c.getQuery().H(),_.HM(this.context.Vc)))if((d=c.getQuery().Pc())&&4==d.getType()&&!UUc())d9c(this,"Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=lO(b,c.getQuery());var h=_.C(c,2)||void 0;d.vi(h);h=a.map(function(p){return new iO(p,void 0,1,e)});var k=_.D(c,_.ml,3);if(k&&
_.C(c,2)){var l=h[h.length-1];_.pL(k,6);if(!_.Dk(k,l.getItem())){d9c(this,"Invalid last item in initial view data.");return}}c=(k=_.lL(this.context.Vc))&&_.F(k,2,!1)&&c.wo()||"";var n=new wO(this.context.bD,this.context.$E,this.context.Am,d,l,c);n.Di(4);h.forEach(function(p){n.update(tO(p))});f9c(this.context.jg,n);l=n.Ad();c9c(this,"Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+mO(b,l));b=new _.$K;_.hNc(b,l);l=_.yRc(this.context.VD,b,"IVDP");
_.zRc(l,a);vO(this.context.Wj,"W6J7De")}}else d9c(this,"Invalid initial view data, fields: "+O1c(b,c.getQuery().H()));else d9c(this,"No initial query found")};var d9c=function(a,b,c){var d=c?void 0:_.gr(_.iL(_.hL(new _.Rb,2),6));c=new _.Sb(b,d,c);a.context.NN(c.hh);c9c(a,"Initial view dump population failed. Message: "+b);vO(a.context.Wj,"DEJoH")},c9c=function(a,b){a.context.dg().info("drive.ds.sync.cache.InitialViewPopulator",b)};
var g9c=function(a){_.Q.call(this);this.context=a;this.ka="drive.ds.sync.cache.CorpusCachePopulator";this.ha=0;this.W=new yO(a.bD,a.$E,a.Wj,a.Vc,function(){return a.en()})};_.N(g9c,_.Q);var h9c=function(a,b){var c=_.gk(a.context.Vc,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?(R2c(a.W),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.VD.Ob("CachedCorpusType",b)};
g9c.prototype.log=function(a,b){this.context.dg().log(this.ka,a,b||"info")};var i9c=function(a,b){0==a.ha&&(a.ha=b)};
var j9c=function(a,b){var c;if(c=!!b&&!!b.Fh())a=a.Pl(),c=null==a||!!b.Fh().Pl()==a;return c};
var k9c=function(a,b){_.Q.call(this);this.context=a;this.request=b;this.ha=[];this.H="";this.V=this.W=!1};_.N(k9c,_.Q);k9c.prototype.mh=function(){return this.V||this.W&&""==this.H?_.li():l9c(this)};k9c.prototype.lc=function(){return this.ha.length};
var l9c=function(a){a.W=!0;a.V=!0;var b=ZXc($Xc(new _.nM,a.request),a.H),c=_.yRc(a.context.VD,b);return _.mi(a.context.Tn().then(function(d){return d.lh(b)}).then(function(d){var e=d.Vp().Id();a.H=d.wo()||"";m9c(a,c,e)},function(d){a.V=!1;d=new pO(_.jL(d),_.gk(a.context.Vc.Pf(),1,1));a.dispatchEvent(d)}))},m9c=function(a,b,c){_.zRc(b,c);for(b=0;b<c.length;b++)_.pL(c[b],1);a.context.jg.Tl(c,1,a.request,!a.W||""!=a.H);var d=[];_.La(c,function(e){this.ha.push(e.getId());e=_.gL(new _.dL,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new L8c("Cb",d));a.H?l9c(a):(a.V=!1,a.dispatchEvent("Fb"))};k9c.prototype.Ad=function(){return this.request};
var n9c=function(a){this.H=k1c(a,{numeric:!0})};n9c.prototype.sort=function(a){_.Ja(a,this.V.bind(this))};n9c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Ha(a.getId(),b.getId()):c};
var o9c=function(a,b,c,d){d=void 0===d?!1:d;ZO.call(this,a);this.lm=b;this.Zc=[];this.af=null;this.Kc=_.Ek(c);this.Zu=new k9c(a,this.Kc);this.tJb=new n9c(IN(_.UK(a.Vc)));this.NT=null!=_.H(this.Kc,6);_.ae(this,this.whb,this);d&&(this.af=_.di(),this.af.resolve())};_.N(o9c,ZO);_.g=o9c.prototype;_.g.refresh=function(){3==this.vn&&(this.vn=6,this.af=null);return this.t$()};_.g.isInitialized=function(){return!!this.af};
_.g.t$=function(){var a=this;if(this.isInitialized())return this.af.promise;this.af=_.di();this.context.ik.jf()?this.ee.listen(this.context.ik,"Ab",function(b){b.jf()||(a.ee.Yc(a.context.ik,"Ab"),a.EB(),a.Zu.mh().Zf(a.af.resolve,a.af.reject,a.af))}):(this.EB(),this.Zu.mh().Zf(this.af.resolve,this.af.reject,this.af));return this.af.promise};_.g.resize=function(){};_.g.Ad=function(){return this.Kc};_.g.by=function(){return this.Zc};_.g.Gea=function(a){return this.context.Am.equals(a,this.Kc)};
_.g.Rl=function(a){a=a.ki();this.tJb.sort(this.Zc);var b=qVc(_.Aa(this.Zc,0,Math.min(a,this.Zc.length)));B8c(this,vYc(this.lm),b);var c=new _.$A;c.uv(b);c.Ec(this.eta(a));c.Di(this.$e());AXc(c,a<this.Zc.length||!(this.context.ik.jf()||this.context.Ml.jf())&&1!=this.vn);return c};_.g.eta=function(a){return 1==this.vn||a<=this.Zc.length?1:this.context.ik.jf()||this.context.Ml.jf()?0<this.Zc.length?1:2:6};_.g.Tl=function(a,b){this.isInitialized()&&ZO.prototype.Tl.call(this,a,b)};
_.g.hw=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ma(this.Zc,function(h){return h.getId()==c}),e=!!d;b=this.dza(a.H,b);var f=a.V;d&&(f=d,e=!0);if(e||b)e?b?this.oGa(f,a.H):this.pfa(f):this.xia(a.H);else return!1;return!0};_.g.xia=function(a){this.Zc.push(a);a.count++};_.g.pfa=function(a){_.va(this.Zc,a);a.count--};_.g.cva=function(a){return _.na(this.Zc,a)};_.g.oGa=function(a,b){this.Zc[this.cva(a)]=b;b.count++;a.count--};
_.g.dza=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.NT&&null!=_.H(this.Kc,6)){if(b)return!0;var c=a.getId();b=!!this.Zc.find(function(d){return c==d.getId()},this);a=kO(a.getItem())&&j9c(this.Kc,a.getItem());return b&&a}return kO(a.getItem())&&j9c(this.Kc,a.getItem())};_.g.whb=function(){this.Zc.forEach(function(a){a.count--})};_.g.xUa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Sd=function(){return this.Zc.length};_.g.j0=function(){this.vn=1};
var p9c=function(a){this.H=a},r9c=function(a,b){return q9c(a,b,null,0,5)},q9c=function(a,b,c,d,e){if(0==e||null==b){var f=new e7c;_.B(f,2,b);_.B(f,1,d);return _.Zh(f)}var h=c2c();_.B(h,2,b);c&&_.B(h,3,c);return a.H.then(function(k){return k.lh(h)}).then(function(k){var l=k.Pw();k=d+_.C(k,1);return q9c(a,l,c,k,e-1)})};
var s9c=function(a,b){g9c.call(this,a);this.lm=b;this.ma=void 0;this.ta=null;this.va=!1;this.V=void 0;this.ka="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Vc};_.N(s9c,g9c);s9c.prototype.handleError=function(){this.log("Local dump population failed.");vO(this.context.Wj,"mrK8ic")};
s9c.prototype.mh=function(){var a=this;if(this.ta)return this.ta;if(this.context.QN){var b=new _.gi;this.ta=b;t9c(this).then(function(){var c=_.vk(_.JN(a.H),HN,11);c=c[0]&&c[0].getKey()||"";return u9c(a,a.context.QN,c,4)}).ig(function(c){if(_.F(a.H,8,!0))return v9c(a);throw c;}).then(function(){_.ZK(a.H)||a.context.jg.ms.H.clear();vO(a.context.Wj,"zaOY7");b.callback()},function(c){i9c(a,8);a.handleError();b.Ud(c)});return b}this.handleError();return _.ni(Error("Sf"))};
var t9c=function(a){return a.context.QN.initialize().then(function(){if(!_.IM(a.H)){var b=_.gk(_.JN(a.H),7,432E6);b&&(a.ma=Date.now()-b);return new _.Yh(function(c,d){m6c(a.context.xB).then(function(e){e?c():d(Error("Tf"))})})}})},u9c=function(a,b,c,d){var e=a.ma;w9c(a,b,c,e);x9c(a,b,c,e);y9c(a,b,c,e);return z9c(a,b,c,e).then(function(){return Promise.all([A9c(a,b,c,d,e),B9c(a,b,c,d,e),C9c(a,b,c,d,e),D9c(a,b,c,d,e)])})},w9c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
GO(b,c,0,void 0,d,a.V).then(function(f){f[0]?t8c(a.context.qN,f[0],a.$e(),_.IM(a.H)):e()},function(){return e()})},x9c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};GO(b,c,1,void 0,d,a.V).then(function(f){f[0]?a.context.QX.zN(f[0],a.$e(),_.IM(a.H)):e()},function(){return e()})},y9c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};GO(b,c,5,void 0,d,a.V).then(function(f){if(f[0]){f=f[0];var h=_.vk(f,_.ep,1);h.length&&
a.context.KD.zN(h,a.$e(),_.Hd(f,2),_.IM(a.H))}else e()},function(){return e()})},A9c=function(a,b,c,d,e){var f=new _.Zn;GO(b,c,3,1,e,a.V).then(function(h){return E9c(a,h[0])}).then(function(h){if(h){b!=a.context.QN||KUc(_.Hd(h,12),_.OM(a.lm),_.HM(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Gu.RU());var k=_.C(h,3);if(!k||0>k)throw Error("Wf");a.context.jt(h.en(),d);k=_.C(h,3);"number"===typeof k&&e9c(a.context,Number(k));_.IM(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Tza());F9c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},B9c=function(a,b,c,d,e){var f=new _.Zn;GO(b,c,3,2,e,a.V).then(function(h){h[0]?(F9c(a,h[0],d),f.resolve()):f.reject(Error("Uf"))},f.reject,f);return f.promise},C9c=function(a,b,c,d,e){var f=new _.Zn;GO(b,c,3,4,e,a.V).then(function(h){h.forEach(function(k){F9c(a,k,d)});f.resolve()},f.reject,f);return f.promise},D9c=function(a,b,c,d,e){var f=new _.Zn;GO(b,c,3,3,e,a.V).then(function(h){h.length?
h.forEach(function(k){F9c(a,k,d)}):vO(a.context.Wj,"rVezo");f.resolve()},f.reject,f);return f.promise},z9c=function(a,b,c,d){var e=new _.Zn;GO(b,c,6,void 0,d,a.V).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.vk(h,rO,1).length&&(a.log("Importing "+_.vk(h,rO,1).length+" people into the PeopleCache."),h=_.vk(h,rO,1),p3c(a.context.jg.ms.H,h,2));e.resolve()},e.reject,e);return e.promise},E9c=function(a,b){var c=_.C(b,3);return c&&!_.IM(a.H)?r9c(new p9c(a.context.Tn()),c).then(function(d){return _.bk(d,
2)?(a.log("Encrypted dump too stale."),a.context.tm().H(106007),i9c(a,9),null):b},function(){return b}):_.Zh(b)},v9c=function(a){var b=HO(a.context.FM.ti()),c=_.vk(_.JN(a.H),HN,11).filter(function(d){return d.Bq()});return c6c(_.GM(_.UK(a.H)),_.HM(a.H),_.gk(_.JN(a.H),10,0)||0,_.OM(a.lm),a.ma||0,c.map(function(d){return _.C(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.W==_.C(k,1)}),f=new IO(_.Zh(d),a.context.dg(),null,!0),h=new Y4c(f,a.H,function(k){a.context.NN(k)});h.initialize();
a.va=!0;return u9c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([h6c])}).then(function(k){if(k[0])return k=k[0].$a(),k6c(a.context.xB,h6c,k)}).then(function(){f.close()})}return _.$h(Error("Vf"))})},J9c=function(a,b,c){switch(_.fk(b,13,0)){case 1:return G9c(a,b,c);case 2:b=_.D(b,CVc,11);if(!b)throw Error("Xf");h9c(a,b);a.W.UK?(a.W.Di(a.$e()),a=[{cache:a.W,changes:EO(a.context.Xx,null)}]):a=[];return a;case 3:return H9c(a,b);case 4:return I9c(a,b);default:return null}},G9c=function(a,
b,c){var d=[];_.vk(b,gO,5).forEach(function(e){var f=void 0,h=_.D(e,_.ml,3);h&&(_.vNc(h),_.H(a.H,67)&&yUc(h,NUc),_.pL(h,c),f=new iO(h));var k=e.getQuery();if(!_.F(k,48,!1)||_.vk(a.H,_.Ie,44).some(function(l){if(!_.F(l,48,!1))return!1;l=lO(a.context.Am,l,!0);return _.Dk(l,k)}))e=new wO(a.context.bD,a.context.$E,a.context.Am,k,f),e.Di(a.$e()),d.push({cache:e,changes:EO(a.context.Xx,null)})});return d},I9c=function(a,b){return _.vk(b,gO,5).map(function(c){c=new o9c(a.context,a.lm,_.D(c,_.OK,5),!0);c.Di(a.$e());
return{cache:c,changes:EO(a.context.Xx,null)}})},H9c=function(a,b){var c=_.Hd(_.vk(b,gO,5)[0].getQuery(),33)[0],d=_.C(b,3)||void 0;b=EO(a.context.Xx,c);bP(a.context).addCallback(function(f){f.Qra(c,d)});var e=new zO(a.context.bD,a.context.$E,c);e.Di(a.$e());return[{cache:e,changes:b}]},F9c=function(a,b,c){var d=J9c(a,b,c);d&&0!=d.length?(b.Id().forEach(function(e){_.vNc(e);_.H(a.H,67)&&yUc(e,NUc);_.pL(e,c);if(!_.ZK(a.H)&&!a.context.jg.ms.H.wc()){var f=a.context.jg.ms;J3c(f,AO(f,[e]))}e=new iO(e);
for(f=0;f<d.length;f++)d[f].cache.update(tO(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new $8c(f,e.changes));a.log("Imported "+f.Sd()+" items into the "+f.getType());var h=null;f instanceof zO&&(h=f.Fc());a.context.qia.promise.then(function(){s4c(a.context.Xx,h)})}),1==_.fk(b,13,0)&&vO(a.context.Wj,"ZA9qG")):a.log("Ignoring corpus cache for "+_.fk(b,13,0)+".")};s9c.prototype.$e=function(){return this.va?7:3};
var K9c=function(a){_.P.call(this);this.context=a};_.N(K9c,_.P);K9c.prototype.mh=function(a){try{L9c(this,new Y6c(JSON.parse(a)))}catch(b){M9c(this,"Error parsing prefetched request.",b)}};
var L9c=function(a,b){N9c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:O9c(a,b);break;case 4:P9c(a,b);break;case 6:Q9c(a,b);break;case 2:R9c(a,b);break;case 7:S9c(a,b);break;case 5:_.vk(_.D(b,$6c,7),Y6c,1).forEach(function(c){return L9c(a,c)});break;default:M9c(a,"Unsupported prefetched request.")}},O9c=function(a,b){var c=_.D(b,_.Ie,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.$K;_.hNc(d,c);b=a.context.cT().mva.xC(d,{headers:{},text:"",json:b}).Vp();
T9c(a,c,b)},Q9c=function(a,b){T9c(a,_.D(b,_.Ie,2),_.D(b,_.$A,9))},T9c=function(a,b,c){for(var d=c.Id(),e=_.m(d),f=e.next();!f.done;f=e.next())_.pL(f.value,7);c=M8c(c);a=a.context.jg;b=lO(a.H.Am,b);e=cP(a,b);dP(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.V[e];f||(f=new eP(a.H,b),f.Di(2),a.V[e]=f);c.wc()||f.wxa(c);a.Tl(d,1,b)},R9c=function(a,b){b=_.D(b,_.gp,5);var c=a.context.Vc.Pf();c=c&&_.Hd(c,30)||[];var d=new Set(c);_.vk(b,_.ep,3).forEach(function(e){(e=(e=e.getKey())&&_.fp(e))&&
d.add(e)});a.context.KD.zN(_.vk(b,_.ep,3),2,[].concat(_.Sc(d.values())))},P9c=function(a,b){a.context.ipa.V(_.D(b,sO,8).ek(),_.D(b,_.kp,6),2,!1)},S9c=function(a,b){var c=_.D(b,_.hp,10);b=JSON.parse(_.C(b,3)||"{}");b=a.context.cT().mva.xC(c,{headers:{},text:"",json:b});e8c(a.context).V([b],c,2,!1)},M9c=function(a,b,c){var d=c?void 0:_.gr(_.iL(_.hL(new _.Rb,2),6));a.context.dispatchEvent(new _.Tb(new _.Sb(b,d,c)));N9c(a,"Prefetched request population failed.")},N9c=function(a,b){a.context.dg().info("drive.ds.sync.cache.PrefetchedRequestPopulator",
b)};
var fP=function(a){g9c.call(this,a);this.V=[];this.ma=[];this.ka="drive.ds.sync.cache.SdkCachePopulator";this.va=Math.ceil(1.1*_.gk(a.Vc,31,2E4))};_.N(fP,g9c);fP.prototype.mh=function(){if(!_.F(this.context.Vc,45,!1))return i9c(this,5),this.H(),_.ni(Error("Yf"));this.log("Drive SDK cache population initiated.");return this.context.WQa().addCallback(this.Ea,this).addCallback(this.Ba,this).hf(this.H,this)};
fP.prototype.Ea=function(){var a=this;vO(this.context.Wj,"L6uQWd");bP(this.context).addCallback(function(b){b.Paa()});if(_.F(this.context.Vc,46,!1))return BVc(this.context.Tn(),this.context.dg()).addCallback(function(b){if(!b)throw i9c(a,4),Error("Zf");h9c(a,b)});this.log("Subscribed corpus cache population disabled.");R2c(this.W);return _.li()};
fP.prototype.Ba=function(){var a=this;this.context.Tza();var b=new _.gi;if(this.W.UK){this.log("Starting subscribed corpus cache population.");var c=this.W.Ad();c.vi(this.va);this.W.Di(5);U9c(this,this.W,c)}c=_.vk(this.context.Vc,_.Ie,44);_.La(c,function(d){d=new wO(a.context.bD,a.context.$E,a.context.Am,d);d.Di(5);U9c(a,d,d.Ad());d=mO(a.context.Am,d.Ad());a.log("Starting "+d+" cache hint corpus cache population.")});_.bi(this.ma).then(b.callback,this.ta.bind(this,b),b);return b};
var U9c=function(a,b,c){var d=EO(a.context.Xx,null);b=new Y8c(a.context,b,c);a.V.push(b);b=_.ei(b.mh().then(function(e){!e.UK&&e instanceof yO&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.VD.Ob("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new $8c(e,d))}),function(){a.context.qia.promise.then(function(){s4c(a.context.Xx,null)})});a.ma.push(b)};
fP.prototype.ta=function(a,b){_.La(this.V,function(d){d.dispose()});i9c(this,7);var c=b;b instanceof pO?c=_.vL(b.error):_.YK(b)||(c=Error("$f`"+b));a.Ud(c)};fP.prototype.H=function(){this.log("Drive SDK cache population failed.");vO(this.context.Wj,"Gv4zef")};fP.prototype.$e=function(){return 5};
var V9c=function(a,b){_.P.call(this);this.context=a;this.ha=b;this.ka=new _.je(this);this.H=null;this.ma=[];this.Oa(this.ka);this.V=new s9c(this.context,this.context.UD);this.Oa(this.V);this.W=new fP(this.context);this.Oa(this.W)};_.N(V9c,_.P);
V9c.prototype.mh=function(){var a=this;W9c(this,"Corpus cache population initiated.");this.H=this.context.tm().V(106002);_.q._DRIVE_dsp&&X9c(this);_.q._DRIVE_dspc=function(c){X9c(a,c)};EO(this.context.Xx,null);_.F(this.context.Vc,24,!1)&&!_.IM(this.context.Vc)&&(_.q._DRIVE_ivd||null===_.q._DRIVE_ivd?Y9c(this):_.q._DRIVE_ivdc=function(){Y9c(a)});var b=this.context.QN;if(b)return this.ka.listen(this.V,Z8c,this.ta),this.ka.listen(this.W,Z8c,this.ta),(!_.F(this.context.Vc,10,!1)&&_.H(this.context.Vc,
69)?this.context.K0.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){W9c(a,"Dump storage initialized.");a.H&&(a.V.V=a.H);return a.V.mh().Zf(function(){return Z9c(a,a.V.$e())},function(){$9c(a,a.V.$e(),a.V.ha);return _.IM(a.context.Vc)?a$c(a,Error("ag")):a.W.mh().then(function(){return Z9c(a,a.W.$e())},function(c){$9c(a,a.W.$e(),a.W.ha);return a$c(a,c)})})},function(c){a$c(a,_.YK(c)?c:void 0,!0)})});a$c(this,void 0,!0)};
var X9c=function(a,b){var c=new K9c(a.context);(_.q._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e==b)}).forEach(function(d){c.mh(d)});c.dispose()};V9c.prototype.ta=function(a){var b=a.cache;W9c(this,"Cache populated: "+b.getType());this.ma.push(b$c(this,b,a.changes))};
var Z9c=function(a,b){s4c(a.context.Xx,null);vO(a.context.Wj,"L6uQWd");bP(a.context).addCallback(function(c){c.Paa()});return Promise.all(a.ma).then(function(){return c$c(a,b)})},d$c=function(a){return(a=a.context.jg.Bv.H)&&a.UK?1:2},c$c=function(a,b){if(!a.isDisposed()){_.IM(a.context.Vc)||e$c(a.ha,_.vk(a.context.Vc,_.Ie,44));W9c(a,"Corpus cache population complete.");var c=a.context.Wj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Gu.Uza():m6c(a.context.xB).then(function(d){d&&a.context.Gu.Uza()},function(){});
vO(c,"rVezo");vO(c,"BNEDtc");a.H&&(b=_.VM(_.oMc,b),dYc(xYc(a.H),b),cYc(xYc(a.H),!0),eYc(xYc(a.H),D1c(a.ha.Ll)),fYc(xYc(a.H),d$c(a)),a.H.xk());a.dispose()}},$9c=function(a,b,c){a.H&&(b=_.VM(_.oMc,b),dYc(xYc(a.H),b),a=xYc(a.H),_.tk(a,3,c,void 0))},a$c=function(a,b,c){c=void 0===c?!1:c;s4c(a.context.Xx,null);var d=a.context.Wj;vO(d,"L6uQWd");bP(a.context).addCallback(function(e){e.Paa()});vO(d,"mrK8ic");vO(d,"Gv4zef");vO(d,"rVezo");vO(d,"BNEDtc");a.context.VD.Ob("CachedCorpusType","partialCorpus");d=
!!a.V.context.QN||_.F(a.W.context.Vc,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.YK(b)?(d=b,c+=d.message):c+=String(b),W9c(a,c),b=new _.Sb(c,void 0,d),d=b.hh,_.hL(d,_.IM(a.context.Vc)?3:1),_.iL(d,6),_.er(d,c),_.gr(d),a.context.dispatchEvent(new _.Tb(b))):W9c(a,"Corpus population skipped");a.H&&(cYc(xYc(a.H),!1),a.H.xk());a.dispose()},b$c=function(a,b,c){return a9c(b,c).then(function(d){d.some(function(e){return b instanceof zO&&e.Rj()&&e.Oc()==b.Fc()})||f9c(a.ha,b,d)},function(){return a$c(a,
Error("bg"))})},Y9c=function(a){if(_.q._DRIVE_ivd){var b=new b9c(a.context,a.context.UD);a.Oa(b);b.mh(_.q._DRIVE_ivd)}else vO(a.context.Wj,"DEJoH")},W9c=function(a,b){a.context.dg().info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)};
var f$c=function(){xO.apply(this,arguments)};_.N(f$c,xO);f$c.prototype.gx=function(a){var b;if(b=xO.prototype.gx.call(this,a))a=a&&a.getItem()&&a.getItem().Sn(),b=!(!a||!_.H(a,3));return b};f$c.prototype.Ad=function(){};f$c.prototype.getType=function(){};f$c.prototype.aP=function(){};
var g$c=function(a,b){this.context=a;this.H=b;this.JN={}},i$c=function(a,b){if(!_.TL(b)){var c=_.Hd(b,33);if(1==c.length)h$c(a,c[0],b);else{c=_.EM(b);if(1==c.length&&!_.F(c[0],2,!1)){var d=c[0].$a();c=a.H.get(d);if(!c){c=a.context.jg.DJ;var e=_.Ve(new _.Ue,310);c.IP([d],e).then(function(f){if((f=f[d])&&f.Fc()){var h=f.Rd();h&&_.Jd(h)&&(f=f.Fc(),h$c(a,f,b))}else h$c(a,null,b)});return}if(c.getItem().Fc()&&_.Jd(c.getItem().Rd())){c=c.getItem().Fc();h$c(a,c,b);return}}h$c(a,null,b)}}},h$c=function(a,
b,c){if(b){var d=a.H.get(b);if(d&&!kO(d.getItem()))return}d=b||"subscribed";a.JN[d]||(a.JN[d]=[]);a.JN[d].push(c);b&&(bP(a.context).addCallback(function(e){e.Qra(b)}),j$c(a.context.B1a,b))},k$c=function(a,b){if(!_.TL(b)){var c={},d;for(d in a.JN){c.OQ=d;for(var e=0;e<a.JN[c.OQ].length;e++)if(_.Dk(b,a.JN[c.OQ][e])){_.ua(a.JN[c.OQ],e);"subscribed"!=c.OQ&&bP(a.context).addCallback(function(f){return function(h){h.QCa(f.OQ,!1)}}(c));return}c={OQ:c.OQ}}}};
var l$c=function(){this.H=new Map;this.V=[];this.W=[]};
l$c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();yN(e)&&(a?(e=a.getItem().Qf())&&_.C(e,1)&&(1==_.Pd(e)||3==_.Pd(e))&&(e=_.C(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&&!_.Dk(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var m$c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},n$c=function(a){a.V=[];a.W=[]};
var o$c=function(a,b){FO.call(this,_.Ek(a),b.Tn(),b.Vc,b.dg());this.context=b};_.N(o$c,FO);o$c.prototype.ha=function(a){var b=new Map;a.Ql().forEach(function(c){var d=_.Ywa(_.Ek(a),[c]);b.set(c,d)});return b};o$c.prototype.W=function(a){a=a.Id()[0];this.context.jg.Tl([a],1,void 0,!0,this.request.H())};o$c.prototype.ka=function(a){this.context.jg.Tl([],1,a,!1,this.request.H())};o$c.prototype.ma=function(a){a=_.qL(_.gL(new _.dL,a));this.context.jg.zq([a])};
var p$c=function(a,b,c,d){ZO.call(this,a);this.lm=b;this.request=c;this.Zc={};d&&this.Tl(d,!0)};_.N(p$c,ZO);_.g=p$c.prototype;
_.g.refresh=function(){var a=this;this.vn=6;var b=jO(this.context.Vc)!=jO(this.context.Vc,this.request.H()),c=[];this.request.Ql().forEach(function(h){var k=a.Zc[h];k&&k.getItem().Fh()&&!b||c.push(h)});if(0==c.length)return this.Tl([],!1),_.Zh();var d=_.Ek(this.request);_.Ywa(d,c);var e=new o$c(d,this.context),f=_.di();this.context.ik.jf()?(this.ee.listen(this.context.ik,"Ab",function(h){h.jf()||(a.ee.Yc(a.context.ik,"Ab"),a.EB(),e.mh().then(f.resolve,f.reject,f))}),this.vn=0<_.Xf(this.Zc)?1:2):(this.context.Ml.jf()&&
(this.vn=0<_.Xf(this.Zc)?1:2),this.EB(),e.mh().then(f.resolve,f.reject,f));return f.promise};_.g.Gea=function(a){return this.context.Am.equals(a,this.request)&&DUc(_.OM(this.lm),a.H())};_.g.Rl=function(a){var b=new _.WM;b.Ec(this.vn);b.Di(this.$e());IZc(b,_.Vf(this.Zc,function(c){return c?c.getItem():null}));B8c(this,a.H(),b.H);return b};_.g.resize=function(){};_.g.Ad=function(){return this.request};
_.g.hw=function(a){var b=this.gx(a.V),c=this.gx(a.H);if(b||c)c?(this.Zc[a.id]=a.H,a.H.count++,b&&a.V.count--):(this.Zc[a.id]=null,a.V.count--);else return!1;return!0};_.g.gx=function(a){return!!a&&this.request.Ql().includes(a.getId())};
var eP=function(a,b,c,d,e){ZO.call(this,a);var f=this;this.ha=0;this.Zc=[];this.W={};this.va=null;this.ma=!1;this.ta=[];this.ka=[];this.Ba=null;this.H=0;this.Ka=null;this.Ea=Date.now();this.Kc=_.Ek(b);this.Zu=new R8c(this.context,this.Kc,!1,e);b=this.Kc.Pc()&&F1c(this.Kc.Pc());e=this.context.$E;this.V=b?(0,_.v)(e.compare,e,this.Kc):null;this.NT=!b||!w1c(this.Kc)||_.tL(_.UK(a.Vc));this.Ma=W2c(this.Kc);c&&this.Tl(c,!d);this.Ia=_.gk(a.Vc.Pf(),16,36E5);_.rM(this.Kc)&&this.ee.listen(this.context.Gra,"Hb",
this.Qa);_.ae(this,function(){_.aa(f.Zu);q$c(f)})};_.N(eP,ZO);eP.prototype.refresh=function(){return r$c(this,!1)};var r$c=function(a,b){a.vn=6;if(_.F(a.Kc,48,!1))return a.vn=1,_.Zh();if(_.rM(a.Kc)){var c=s$c,d=a.context.Gra.H;d=Math.max(Date.now()-d,a.Ia);c(a,Math.min(d,2592E5))}return t$c(a,b)};eP.prototype.initialize=function(){return this.H>=this.Kc.ki()||1==this.vn?_.Zh():this.refresh()};
var q$c=function(a){a.Zc.forEach(function(b){b.count--});a.H=0;a.Zc=[];a.W={}},s$c=function(a,b){_.q.clearTimeout(a.Ka);a.Ka=_.q.setTimeout(function(){return r$c(a,!0)},b)};eP.prototype.Qa=function(){Date.now()-this.Ea>this.Ia&&s$c(this,0)};var t$c=function(a,b){a.Zu&&(a.ee.Yc(a.Zu,"Eb",a.wxa),a.ee.Yc(a.Zu,"Fb",a.uIa),a.Zu.dispose());var c=a.Kc.Ae();c&&_.We(c,!1);a.Zu=new R8c(a.context,a.Kc,b);a.ha=0;a.ee.listen(a.Zu,"Eb",function(){return a.wxa(a.Zu.ka)});a.ee.listen(a.Zu,"Fb",a.uIa);return a.t$()};
eP.prototype.t$=function(){var a=this,b=_.di();this.context.ik.jf()?this.ee.listen(this.context.ik,"Ab",function(c){c.jf()||(a.ee.Yc(a.context.ik,"Ab"),u$c(a,b))}):u$c(this,b);return b.promise};var u$c=function(a,b){a.EB();var c=a.Kc.ki()+a.ha;_.eja(P8c(a.Zu,c).Zf(b.resolve,b.reject,b),function(){return a.Ea=Date.now()})};_.g=eP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.Sc(this.hx)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=$O(this.context);d=X3c(e,d).Ad();b=Math.max(b,d.ki())}_.rM(this.Kc)?(this.Kc.vi(b),2!=this.$e()&&!this.Zu.V&&(b>this.H||a)?this.refresh():v$c(this)):this.Kc.ki()!=b&&(this.Kc.vi(b),b>this.H?this.t$():v$c(this))};_.g.Ad=function(){return this.Kc};_.g.Gea=function(a){return this.context.Am.equals(a,this.Kc)};
_.g.Rl=function(a){var b=a.ki(),c,d=!1;if(_.UL(this.Kc)){var e=this.Zc.slice();var f=this.ka.slice(0,b);if(this.ka.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.ql(k.getItem()).filter(function(l){return h.includes(_.D(l,_.$k,1).getId())});k=k.clone();HUc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.ql(l.getItem()).length})}d=QUc(e);c=new _.XM;_.B(c,4,!1);NYc(c,f)}else e=this.Zc.slice(0,b),c=new _.$A,AXc(c,b<this.Zc.length||!(this.context.ik.jf()||
this.context.Ml.jf())&&1!=this.vn),_.y(c,7,this.va),_.B(c,8,this.ma),_.bPc(c,this.ta),d=QUc(e);e=qVc(e);B8c(this,a.H(),e);c.uv(e);c.Ec(d?6:this.eta(b));c.Di(this.$e());c.UM(this.Ba);return c};_.g.eta=function(a){return 1==this.vn||a<=this.H?1:this.context.ik.jf()||this.context.Ml.jf()?0<this.Zc.length?1:2:6};_.g.wxa=function(a){this.va=a.ka;this.ma=a.V;this.ta=a.qwa();this.ka=a.ha;this.Ba=a.yf()};_.g.uIa=function(){var a=this.Kc.ki()-this.H;0<a&&N8c(this.Zu)&&(this.ha+=a,this.t$())};
_.g.Tl=function(a,b){_.rM(this.Kc)&&q$c(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=tO(d.value),c=this.hw(d,!0)||c;b||(1!=this.vn&&(c=!0),this.vn=1);if(b=this.V){a:{b=this.Zc;a=this.V||_.Ha;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(w$c(this,"ViewCache unsorted after import"),this.context.$E.sort(this.Kc,this.Zc));c&&this.ZU()};
_.g.hw=function(a,b){var c=this.W[a.id],d=!!c,e=this.dza(a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&w$c(this,"Updating different wrapper from the existing one"):w$c(this,"Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.oGa(f,a.H):(this.pfa(f),_.rM(this.Kc)&&s$c(this,0));else{if(_.rM(this.Kc)&&!b)return!1;this.xia(a.H)}else return!1;return!0};_.g.xia=function(a){this.V?tUc(this.Zc,a,this.V):this.Zc.push(a);a.count++;x$c(a)&&this.H++;this.W[a.getId()]=a};
_.g.pfa=function(a){if(this.V){var b=this.Zc,c=_.Ia(b,a,this.V);0<=c&&_.ua(b,c)}else _.va(this.Zc,a);a.count--;x$c(a)&&this.H--;_.ag(this.W,a.getId())};_.g.cva=function(a){return this.V?_.Ia(this.Zc,a,this.V):_.na(this.Zc,a)};_.g.oGa=function(a,b){this.V&&0!=this.V(a,b)?(this.pfa(a),this.xia(b)):(this.Zc[this.cva(a)]=b,b.count++,x$c(b)&&this.H++,a.count--,x$c(a)&&this.H--,_.ag(this.W,a.getId()),this.W[b.getId()]=b)};
_.g.dza=function(a,b){if(!a)return!1;if(this.NT&&!_.rM(this.Kc)){if(b)return!0;if(!this.Ma){var c=a.getId();b=!!this.Zc.find(function(e){return c==e.getId()},this);a=x1c(this.context.bD,this.Kc,a.getItem());return b&&a}}if(!x1c(this.context.bD,this.Kc,a.getItem()))return!1;var d=1.2*this.Kc.ki();if(1==this.vn||!this.V||d1c(a.H,2)||this.H<d||b||YUc(a.getItem()))return!0;b=0==this.Zc.length?null:this.Zc[this.Zc.length-1];return!!b&&0>=this.V(a,b)};
var v$c=function(a){if(1!=a.vn&&!a.context.ik.jf()&&!a.context.Ml.jf()){var b=1.2*a.Kc.ki();if(!(b>=a.H||a.Zu&&b>=a.Zu.lc())){b=a.H-a.Kc.ki();for(var c=a.Zc.length-1;0<=c&&0<b;c--){var d=a.Zc[c];d1c(d.H,2)||YUc(d.getItem())||(d.count--,x$c(d)&&a.H--,_.ag(a.W,d.getId()),_.ua(a.Zc,c),b--)}t$c(a,!1)}}},w$c=function(a,b){var c=new _.Rb;_.hL(c,2);_.iL(c,6);_.gr(c);a.context.dispatchEvent(new _.Tb(new _.Sb(b,c)))},x$c=function(a){return!d1c(a.H,2)&&3!=AN(a.getItem())};
eP.prototype.WMa=function(a){var b=this,c=_.EM(this.Kc);c.length&&(c=c.some(function(d){return(d=b.context.jg.Ll.H(d.$a()))&&_.H(d,108)}),h2c(this.context.hla,a,c))};eP.prototype.VMa=function(){v$c(this)};eP.prototype.MTa=function(a){return 1!=this.vn&&a.ki()>this.H&&this.Zu.V};
var gP=function(a,b){_.P.call(this);var c=this;this.V={};this.ma=new l$c;this.Ea=new _.je(this);this.Oa(this.Ea);this.H=a;this.ha=b;this.Bv=new c3c(a.Am);this.W=new v1c(a.nla,a.bD,a.$E);_.H(a.Vc,60)&&(this.Ma=new f$c(a.bD,a.$E));this.ka=new q1c(a.dg(),_.OM(this.ha));(b=_.lL(this.H.Vc))&&!_.F(b,1,!1)&&y$c(this,_.Hd(this.H.Vc,28));this.Ll=new z1c(this.ha,this.H.Am,this.W,this.ka);this.H.tm().ha.H=this.Ll;this.DJ=new T8c(this.H,this.ha,this.V,this.W);this.qCa=new g$c(this.H,this.W);this.va=new V9c(this.H,
this);_.ae(this.va,function(){c.va=null});this.Ka=_.rNc(vYc(this.ha),z$c);uO(this.H.Wj,["NSockf"],function(){return c.initialize()});uO(this.H.Wj,["NSockf","jroI5d"],function(){var d=c.H.Vc;if(_.D(d,_.ml,12))d=_.D(d,_.ml,12);else{var e=_.cOc(_.eOc(new _.$k,_.GM(_.UK(d))),!0);e=_.B(e,6,1);var f=_.G(_.UK(d),6,"");f&&e.Tb(f);e=_.iKc(_.IOc(_.JOc(_.LK((new _.ml).Tb(c.H.en()).setTitle(_.G(d,38,"My Drive")),"application/vnd.google-apps.folder").nn(!1),e),[e]),1);e=_.B(e,29,!0);e=_.B(e,63,!0);d=_.fOc(new _.fl,
_.F(d,6,!0));d=_.B(d,2,!1);d=_.AM(e,_.sOc(_.lOc(_.kOc(_.oOc(_.pOc(_.nOc(_.mOc(_.jOc(_.iOc(_.hOc(_.gOc(_.B(d,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}c.Tl([d],1);vO(c.H.Wj,"hVFf7")});this.ta=_.di();uO(this.H.Wj,["BNEDtc"],function(){c.ta.resolve()});this.ms=new C3c(this.H.Vc,this.H.dg(),a.Tn(),a.hla,this.H.tm(),this.H.K0.promise);_.ZK(this.H.Vc)&&this.Ea.listen(this.ms,"Kb",this.Ia);this.lZa=new _.jRc(this.H.Vc,this.Ll)};_.N(gP,_.P);
gP.prototype.Ia=function(a){a=a.getPeople();dP(this,"Handling PeopleCache updated with "+a.length+".");var b=new Set;a=_.m(a);for(var c=a.next();!c.done;c=a.next())this.ms.getItems(_.C(c.value,1)).forEach(function(f){return b.add(f)});a=[];c=_.m(b);for(var d=c.next();!d.done;d=c.next()){var e=d.value;(d=this.W.get(e))?(e=d.getItem().clone(),A$c(this,e),a.push(H2c(d,new iO(e,void 0,1)))):dP(this,"b/154479164 Unexpected missing wrapper for "+e+".","warning")}B$c(this,a,[]);this.H.Gu.update(6)};
gP.prototype.initialize=function(){this.va.mh()};
gP.prototype.$u=function(a,b){if(b instanceof _.Ie)b=lO(this.H.Am,b),C$c(this,b.H()),i$c(this.qCa,b),b=D$c(this,b),b.cache.$u(a);else if(b instanceof _.ap)b=E$c(this,b),C$c(this,b.H()),b=F$c(this,b),b.cache.$u(a);else if(b instanceof _.OK){var c=cP(this,b),d=this.V[c];d?(3==d.hK()?(dP(this,c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):dP(this,c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,Tu:!1}):(dP(this,c+" | ItemQueryRequest backed by new cache"),
d=new o9c(this.H,this.ha,b),d.refresh().ig(_.nf),this.V[c]=d,b={cache:d,Tu:!0});b.cache.$u(a)}else if(b instanceof _.ip)c=b.H(),d=this.ka,r1c(d,d.V,d.ha,c),b=F$c(this,b),b.cache.$u(a);else throw Error("cg");return b.Tu};gP.prototype.JD=function(a,b){if(b instanceof _.Ie)b=lO(this.H.Am,b),k$c(this.qCa,b);else if(b instanceof _.ap)b=E$c(this,b);else if(!(b instanceof _.OK||b instanceof _.ip))throw Error("cg");b=cP(this,b);var c=this.V[b];c&&(c.JD(a),c.isDisposed()&&delete this.V[b])};
var cP=function(a,b){return mO(a.H.Am,b,2)},D$c=function(a,b){var c=cP(a,b),d=a.V[c];if(d)return 3==d.hK()?(dP(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):dP(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Tu:!1};d=[];for(var e=5,f,h,k=d3c(a.Bv),l=0;l<k.length;l++){var n=k[l];e=n.BG(b);if(5!=e){f=1==e?void 0:b.ki();d=n.$wa(b,f);f=n.$e();h=n instanceof wO?n.Pw():"";dP(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.Sd()+" | initial "+
d.length));break}}5==e&&dP(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ik.jf()||a.H.Ml.jf())d=d.concat(a.W.query(b,1)),_.Fa(d,void 0,function(p){return p.getId()}),e=(e=a.Bv.H)&&e.y8&&5!=e.BG(b)?e.BG(b):6,dP(a,"Offline: Populate with "+d.length+" initial items(s)");d=new eP(a.H,b,d,1==e,h);f&&d.Di(f);d.Tl(a.W.query(b,2),1!=e);d.initialize().ig(function(p){p=_.jL(p);_.gr(p);a.H.dispatchEvent(new _.Tb(new _.Sb("Error during view cache init",p)))});a.V[c]=d;return{cache:d,Tu:!0}},F$c=function(a,
b){var c=cP(a,b),d=!1,e=a.V[c];if(e)e.Gea(b)?dP(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.W.getAll(b.Ql()),b=G$c(a,b,d),d=!0,a.V[c]=b,H$c(e,b),e=b,dP(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.W.getAll(b.Ql());e=G$c(a,b,f);d=!0;a.V[c]=e;dP(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Tu:d}},G$c=function(a,b,c){var d;b instanceof _.ap?d=new J8c(a.H,a.ha,b,c):d=new p$c(a.H,a.ha,b,c);c.length&&
d.Di(8);d.refresh().ig(_.nf);return d};gP.prototype.fT=function(){return Object.values(this.V).filter(function(a){return a.Ad()instanceof _.OK})};
gP.prototype.oYa=function(a){for(var b=_.Ve(new _.Ue,309),c=[],d=_.m(Object.entries(this.ka.H)),e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;f=_.m(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.m(h.value);var k=h.next().value;h.next();if(k==a){c.push(Number(e));break}}}c.length&&(d=O1c(this.H.Am,c,!0),dP(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.DJ.IP([a],b,!1,c))};
var A8c=function(a,b,c){c&&c.length&&t1c(a.ka,b,c);_.ZK(a.H.Vc)&&(a=a.ms,J3c(a,AO(a,b)))},f9c=function(a,b,c){if(b instanceof o9c){var d=cP(a,b.Ad());if(a.V[d]){dP(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof Q2c&&a.Bv.removeAll([b]);var e={},f=new Map;d=a.W.by();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.by().forEach(function(p){var r=p.getId(),u=a.W.get(r);if(u){var z=AN(u.getItem());3==z||4==z?e[p.getId()]=p.getItem():
u!=p&&(z=l.push,u=new G2c(p.getId(),p,u),z.call(l,u));f.delete(r)}else r=tO(p),a.W.update(r),a.ma.update(r),_.ZK(a.H.Vc)&&a.ms.AM(r);_.ZK(a.H.Vc)&&A$c(a,p.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(tO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof o9c?(d=cP(a,b.Ad()),a.V[d]=b):a.Bv.addAll([b]);var n=[];_.Tf(e,function(p){var r=new _.dL;_.gL(r,p.getId());r.setItem(p);n.push(r)});a.zq(n);dP(a,"Merged cache: "+b.getType());b instanceof
zO&&c.forEach(function(p){I$c(a.H.vFa,p)});a.H.Gu.update(3)},H$c=function(a,b){(new Set([].concat(_.Sc(a.hx)))).forEach(function(c){b.$u(c);a.JD(c)})};
gP.prototype.Tl=function(a,b,c,d,e){var f=this;e||(e=c?[].concat(_.Sc(c.H().filter(function(A){return!_.OM(f.ha).includes(A)}))):[]);c&&c instanceof _.Ie&&_.rM(c)&&J$c(this,a,c);for(var h=[],k=[],l=0;l<a.length;l++){var n=a[l],p=new iO(n,void 0,b),r=this.W.get(n.getId()),u=r?r.getItem():null,z=K$c(this,r,p);if(null!=z)p.dQ(z),L$c(this,u,n),XUc(n),n=o1c(n,u,e),p.setItem(n);else if(null!=r)p=r,n=u;else continue;_.ZK(this.H.Vc)&&A$c(this,n);!r||M$c(this,u,n,e)?(k.push(H2c(r,p)),h.push(p)):h.push(r)}a=
null;c&&(a=cP(this,c),a=this.V[a],c instanceof _.Ie&&(c=g3c(this.Bv,c))&&c.Tl(h,!!d),a&&a.Tl(h,!!d));0<k.length&&(_.ZK(this.H.Vc)&&k.forEach(function(A){return f.ms.AM(A)}),B$c(this,k,e,a?[a]:[]),N$c(this,h));$O(this.H).c6()};
var A$c=function(a,b){N3c(a.ms,b)||5!=AN(b)||_.POc(b,1)},M$c=function(a,b,c,d){(b=b?_.lk(b.clone(),82):null)&&A8c(a,[b],d);c=_.lk(c.clone(),82);A8c(a,[c],[]);return!_.Dk(b,c)},J$c=function(a,b,c){O$c(a,b,c);b.forEach(function(d,e){var f=a.Ll.H(d.getId());f&&(xN(f,d,[1002]),xN(f,d,[1003]),xN(f,d,[1005]),b[e]=f);_.TL(c)&&0<_.Hd(c,33).length&&_.QOc(d,_.Hd(c,33)[0])})},O$c=function(a,b,c){var d;_.TL(c)?d="quick access":_.UL(c)?d="people predict":_.VL(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
dP(a,"Got "+b.length+" items for "+d+": "+c)},n8c=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Tf(c,function(d,e){e=Number(e);a.Tl(qVc(d),e)})};gP.prototype.Ba=function(a){this.lZa.Ba(a)};
gP.prototype.zq=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Rj()?null:e.getItem(),h=e.Oc(),k=(h=this.W.get(h))?h.getItem():null,l=null;if(f){l=new iO(f,void 0,void 0,_.C(e,1)||void 0);var n=K$c(this,h,l);if(null==n)continue;l.dQ(n);L$c(this,k,f);_.F(e,5,!1)&&yUc(f,NUc);XUc(f);f=o1c(f,k);l.setItem(f);_.ZK(this.H.Vc)&&A$c(this,f)}this.H.B1a.Uw(e);(k&&!f||f&&M$c(this,k,f,[]))&&c.push(H2c(h,l))}_.ZK(this.H.Vc)&&c.forEach(function(p){return b.ms.AM(p)});B$c(this,c,[])};
var L$c=function(a,b,c){b&&!c.Sn()&&xN(c,b,a.Ka);var d=b?b.Qf():null,e=c.Qf();e=e?_.Md(e):null;d&&e&&L$c(a,_.Md(d),e);b&&!_.pl(c)&&xN(c,b,[1002]);b&&!_.ql(c).length&&xN(c,b,[1003]);b&&!_.vk(c,_.cl,117).length&&xN(c,b,[1005]);b&&null==c.n7()&&xN(c,b,[71]);b&&null==_.C(c,79)&&xN(c,b,[73]);b&&_.H(b,31)&&!_.H(c,31)&&(yUc(c,NUc),dP(a,"Cleared Item Suggest data for "+b.getId()+"."))};
gP.prototype.Nz=function(a,b){if(a instanceof _.Ie||a instanceof _.ap||a instanceof _.OK)a=cP(this,a),(a=this.V[a])&&a.Q0(b);else throw Error("cg");};var K$c=function(a,b,c){var d=c.getItem();if(j4c(a.H.tca,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=AN(a)&&!kO(a)&&!kO(d)&&a.Fc()==d.Fc())if(a.ti()&&d.ti()){if(a.ti()>d.ti())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.ys()>d.ys())return null}return e1c(b&&b.H,c.H)};
gP.prototype.LF=function(a,b){(a=this.W.get(a))&&a.dQ(e1c(a.H,b))};
var B$c=function(a,b,c,d){d=void 0===d?[]:d;var e=_.Uc(a.V),f=_.m(d);for(d=f.next();!d.done;d=f.next())_.va(e,d.value);d=_.m(b);for(f=d.next();!f.done;f=d.next())f=f.value,a.ka.update(f.id,f.H?f.H.getItem():null,c);c=_.m(e);for(d=c.next();!d.done;d=c.next())C8c(d.value,b);c=0;b=_.m(b);for(d=b.next();!d.done;d=b.next()){e=d.value;f=!1;d=d3c(a.Bv);var h=_.m(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.H(a.H.Vc,60)&&a.Ma.update(e);a.W.update(e);a.ma.update(e);a.W.get(e.id)||
a.ka.qS(e.id)}0<c&&a.H.Gu.cka(c);P$c(a)},P$c=function(a){var b=a.ma.V.slice(0),c=m$c(a.ma);n$c(a.ma);if(b.length){dP(a,"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Ue;_.Ve(d,308);a.DJ.IP(b,d,!0)}if(c.length){dP(a,"Updating locally stale shortcuts: "+c.join(", "));b=A1c(a.Ll,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Qf(),k=_.C(h,1);if(k=a.Ll.H(k))_.y(h,5,k),_.B(h,4,1),e.push(f)});n8c(a,e)}},E$c=function(a,b){_.Ja(b.H());var c=_.na(b.Ql(),"root");
if(0>c)return b;b=_.Ek(b);b.Ql()[c]=a.H.en();return b},y$c=function(a,b){b=wYc(a.ha,b);a=a.ka;r1c(a,a.H,a.W,b)},C$c=function(a,b){var c=_.lL(a.H.Vc);c&&_.F(c,1,!1)&&y$c(a,b)},N$c=function(a,b){a.ta.promise.then(function(){var c=b.filter(function(e){return 4==AN(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});dP(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Ve(new _.Ue,311);a.DJ.IP(c,d)}})},e$c=function(a,b){a.ta.promise.then(function(){b.forEach(function(c){if(!g3c(a.Bv,
c)){dP(a,"Adding new cache hint for "+cP(a,c));var d=new wO(a.H.bD,a.H.$E,a.H.Am,c);c=new Y8c(a.H,d,c);var e=EO(a.H.Xx,null);_.ei(c.mh().then(function(){a9c(d,e).then(function(f){f9c(a,d,f)})}),function(){s4c(a.H.Xx,null)})}})})},dP=function(a,b,c){a.H.dg().log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},z$c=[50];
var R$c=function(a){_.P.call(this);var b=this;this.context=a;this.H=[];this.W=new _.nm;this.V=new Map;this.ma=-1;this.ka=0;var c=_.di();this.Ba=c.promise;n6c(this.context.xB).then(function(d){b.H=d||[];c.resolve();Q$c(b)},function(){return c.resolve()});uO(this.context.Wj,["rVezo"],(0,_.v)(this.ha,this))};_.N(R$c,_.P);
var j$c=function(a,b){_.F(a.context.Vc,46,!1)&&a.Ba.then(function(){if(a.H[0]!=b){_.va(a.H,b);for(p1c(a.context.jg.Ll.H(b))?hP(a,b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.gk(a.context.Vc,47,5);)a.H.pop();k6c(a.context.xB,f6c,a.H)}a.context.jg.Bv.fT().length+a.V.size<_.gk(a.context.Vc,47,5)&&(Q$c(a),a.ha())})},S$c=function(a,b){_.va(a.H,b)&&k6c(a.context.xB,f6c,a.H)};
R$c.prototype.Uw=function(a){I$c(this.context.vFa,a);if(kO(a)){var b=a.Fc();a.Rj()?T$c(this,b):(a=a.getItem(),p1c(a)&&S$c(this,b))}};var T$c=function(a,b){S$c(a,b);a.W.contains(b)&&a.W.remove(b);var c=a.V.get(b);c&&c.dispose();a.V.delete(b);c=a.context.jg.Bv;for(var d=c.fT(),e=0;e<d.length;e++){var f=d[e];if(f.Fc()==b){hP(a,b,"Cache removed");c.removeAll([f]);a.context.Gu.update(3);break}}bP(a.context).addCallback(function(h){h.QCa(b,!0)});a.ha()};
R$c.prototype.ha=function(){if(this.context.Wj.H("rVezo")){var a=this.context.jg.Bv;U$c(this);for(var b={};this.W.lc()&&!(this.ka>=_.gk(this.context.Vc,47,5));){var c=_.om(this.W);this.ka++;f3c(a,c)||this.V.has(c)||(this.V.set(c,null),b.Nba=new _.MNc,_.B(b.Nba,1,c),this.context.Tn().then(function(d){return function(e){return e.lh(d.Nba)}}(b)).then(this.va.bind(this,c),this.ta.bind(this,c)));b={Nba:b.Nba}}}};
var Q$c=function(a){a.H&&a.H.length&&(a.ka=0,a.W.clear(),a.H.forEach(function(b){return a.W.enqueue(b)}))},U$c=function(a){_.q.clearTimeout(a.ma);a.ma=_.q.setTimeout(function(){Q$c(a);a.ha()},36E5)};R$c.prototype.va=function(a,b){var c=_.C(b,1);c&&c>_.gk(this.context.Vc,48,1E3)?(hP(this,a,"Too large to backfill: "+_.C(b,1)),V$c(this,a,!1)):W$c(this,a)};
R$c.prototype.ta=function(a,b){(b=_.jL(b).Qj())&&4==b?(hP(this,a,"Non-existent or inaccessible, removing from cache"),a=_.qL(_.SMc(_.gL(new _.dL,a),a)),this.context.jg.zq([a])):W$c(this,a)};
var W$c=function(a,b){var c=new zO(a.context.bD,a.context.$E,b),d=_.Ek(c.Ad());d.vi(_.gk(a.context.Vc,48,1E3));d=new Y8c(a.context,c,d);a.V.set(b,d);hP(a,b,"Backfill started");var e=EO(a.context.Xx,b);bP(a.context).addCallback(function(f){f.Qra(b)});_.ei(d.mh().then(function(){X$c(a,b,c,e)},function(){hP(a,b,"Backfill failed");a.ka--;V$c(a,b,!0)}),function(){s4c(a.context.Xx,b)})},X$c=function(a,b,c,d){c.UK?(c.j0(),a9c(c,d).then(function(e){hP(a,b,"Backfill complete, size: "+c.Sd());f9c(a.context.jg,
c,e);V$c(a,b,!1)},function(){hP(a,b,"Backfill changes failed");V$c(a,b,!0)})):(hP(a,b,"Backfill exceeded size limit"),V$c(a,b,!0))},V$c=function(a,b,c){var d=a.V.get(b);d&&d.dispose();a.V.delete(b);c&&bP(a.context).addCallback(function(e){e.QCa(b,!1)});a.ha();0<a.V.size||a.context.jg.Bv.fT().map(function(e){return e.Fc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){T$c(a,e)})},hP=function(a,b,c){a.context.dg().info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)};
var Y$c=function(){_.P.apply(this,arguments)};_.N(Y$c,_.P);
var aad=function(a,b){b=Z$c(b);var c=a.getItem(),d=$$c(c.Rd());b.y0.forEach(function(e){_.iKc(e.getItem(),c.oo());_.AM(e.getItem(),d.clone())});return b},dad=function(a,b,c){var d=bad(c);c=c.find(function(e){return e.getId()===b.getId()});c={FH:c?c:new iO(b),children:[]};cad(a,d,c);return c},bad=function(a){var b={};a.map(function(c){c.getItem().Fj().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},cad=function(a,b,c){var d=c.FH.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(cad(a,
b,{FH:e,parent:c,children:[]}))});return c},fad=function(a,b){var c=b.children.filter(function(h){return!_.ol(h.FH.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.FH.getItem();b.has(f.getId())||(_.iKc(f,a.oo()),ead(a,f,e.parent?e.parent.FH.getItem():void 0),e.children.map(function(h){_.ol(h.FH.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.FH))}return d},gad=function(a){var b=a.children.filter(function(f){return!_.ol(f.FH.getItem())});a=new Map;for(var c=[];b.length;){var d=
b.pop(),e=d.FH.getItem();a.has(e.getId())||(c.push(_.qL(_.gL(new _.dL,e.getId()))),d.children.map(function(f){_.ol(f.FH.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},Z$c=function(a){var b=[],c=[];a.forEach(function(d){_.ol(d.getItem())||_.H(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{CY:c,y0:b}},$$c=function(a){a=a.clone();var b=null!=_.H(a,34)?_.H(a,34):_.H(a,7),c=null!=_.H(a,35)?_.H(a,35):_.H(a,7);_.B(a,45,c);_.yOc(a,b);_.B(a,30,c);_.tOc(a,b);_.zOc(a,c);_.uOc(a,c);_.vOc(a,b);
_.gOc(a,b);_.lOc(a,c);_.rOc(a,b);_.qOc(a,_.H(a,7));_.kOc(a,_.H(a,10)||_.H(a,11));_.sOc(a,_.gl(a));_.lk(a,18);_.lk(a,13);_.lk(a,10);_.wOc(a,_.H(a,42));_.xOc(a,_.H(a,43));_.AOc(a,_.H(a,48));return a},ead=function(a,b,c){var d=a.Rd(),e=b.Rd(),f=_.H(d,30);_.B(e,30,f);_.tOc(e,_.H(d,31));_.zOc(e,_.H(d,47));_.uOc(e,_.H(d,32));_.vOc(e,_.H(d,33));_.gOc(e,_.H(d,4));_.lOc(e,_.H(d,9));_.sOc(e,_.H(d,21));_.rOc(e,_.H(d,20));_.qOc(e,_.H(d,17));_.fOc(e,_.gl(d));_.jOc(e,_.H(d,7));_.mOc(e,_.H(d,10));_.nOc(e,_.H(d,
11));f=_.H(d,45);_.B(e,45,f);_.yOc(e,_.H(d,46));_.AOc(e,_.H(d,48));a=_.ol(a);_.B(b,137,a);c&&(c=c.Rd(),zN(b)?(_.kOc(e,_.H(c,43)),_.xOc(e,_.H(c,43)),_.wOc(e,_.H(c,42))):_.kOc(e,_.H(c,42)))};
var had=function(a){this.context=a;this.W=new Y$c;this.V=_.Ve(new _.Ue,306);this.H=a.jg},I$c=function(a,b){if(kO(b))if(b.Rj())iad(a,b);else{var c=b.Oc(),d=jad(a,c),e=a.H.Ll.H(c);b=aad(b,d);n8c(a.context.jg,b.y0);a.H.DJ.IP(b.CY,a.V);kad(a,c,"SD update | Update "+b.y0.length+" item(s), "+b.CY.length+" divergent items");if(d=DYc(a.context.tm(),106017)){var f=zYc(d);_.B(f,1,b.CY.length);_.B(f,2,b.y0.length);d.xk()}e||(a=a.H.DJ,c&&(U8c(a,"Processing potential rejoin for TD: "+c),b=_.sN(_.El(_.rN(new _.Ie,
[c]),_.OM(a.H)),1),e=_.Ve(new _.Ue,306),_.Fl(b,e),W8c(a),b=new R8c(a.context,b),P8c(b,5E3).addCallback(a.ha.bind(a,b)),V8c(a),X8c(a,c)))}else if(_.F(a.context.Vc,86,!1)){c=b.Oc();e=a.H.Ll.H(c);if(e&&e.Fc()&&zN(b.getItem()||e)){if(d=!!_.ol(e),!b.Rj()){var h=b.getItem();f=_.ol(e)!=_.ol(h);h=h.oo()!=e.oo();d=f||d&&h}}else d=!1;if(d)if(b.Rj()){if(b=jad(a,e.Fc()),e=a.W,d=(new _.ml).Tb(c),b=(b=dad(e,d,b))?gad(b):[],a.context.jg.zq(b),kad(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=DYc(a.context.tm(),
106009))c=yYc(a),_.B(c,2,b.length),a.xk()}else if(c=b.getItem(),e=jad(a,c.Fc()),d=a.W,c=b.getItem(),c=(e=dad(d,c,e))?fad(c,e):[],n8c(a.context.jg,c),kad(a,b.Oc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=DYc(a.context.tm(),106010))b=yYc(a),_.B(b,1,c.length),a.xk()}},iad=function(a,b){var c=b.Oc();b=jad(a,c);b=Z$c(b);var d=_.ib(b.y0,function(e){return _.qL(_.gL(new _.dL,e.getId()))});a.context.jg.zq(d);a.H.DJ.IP(b.CY,a.V);kad(a,c,"SD delete | Remove "+d.length+" item(s), "+b.CY.length+
" divergent items");if(a=DYc(a.context.tm(),106016))c=zYc(a),_.B(c,1,b.CY.length),_.B(c,2,b.y0.length),a.xk()},jad=function(a,b){var c=new _.Ie;_.rN(c,[b]);_.sN(c,2);return C1c(a.H.Ll,c)},kad=function(a,b,c){a.context.dg().info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)};
var lad=function(a,b,c){this.H=a;this.ha=b;this.W=c};
lad.prototype.Av=function(a,b){var c=this;if(a.SS().length){var d=f4c(this.H,a.Oc());if(d){var e=d?g4c(this.H,a):[];for(var f={},h=_.m(a.SS()),k=h.next();!k.done;f={JI:f.JI},k=h.next())if(k=k.value,f.JI=mad(e,k.om(),a.Oc()),_.H(k,3))m4c(this.H,f.JI),_.ei(b,function(r){return function(){c.H.W.ha(U3c(r.JI))}}(f));else{for(var l=_.m(_.vk(k,_.OF,2)),n=l.next();!n.done;n=l.next())nad(this,f.JI,n.value);k=_.m(_.Hd(k,4));for(l=k.next();!l.done;l=k.next())oad(f.JI,l.value);this.H.rB([f.JI],!1,-1);b.then(function(r){return function(){return void c.H.LF(r.JI.getName(),
-2)}}(f),function(r){return function(){c.H.LF(r.JI.getName(),-2)}}(f))}e=pad(d.Rl().response)}}e=e?e:pad();var p=e.XZa;b.then(function(r){p.resolve(r)},function(r){p.reject(_.wL(r));var u=a.Oc();o4c(c.ha,u);r=_.jL(r);_.B(r,21,"Server error updating metadata after optimistic application.");c.W(r)});return e};
var pad=function(a){a=void 0===a?new UN:a;return new i1c(a.Ec(1))},mad=function(a,b,c){var d=a.find(function(e){return T3c(e.getName(),b)});d||(d=GZc((new SN).qd(b),c),a.push(d));return d},nad=function(a,b,c){var d=b.H().find(function(e){return e.getId()==c.getId()});d||(d=new QN,d.Tb(c.getId()),FZc(b,b.H().concat([d])),qad(d,c));if(1==RN(d))d.setBooleanValue(_.H(c,3));else if(12==RN(d))d.setDateStringValue(_.C(c,17));else if(2==RN(d))d.setTextValue(_.C(c,4));else if(3==RN(d))_.Hd(c,6).length?d.Tla(_.Hd(c,
6)):_.Hd(c,5).length&&(a=_.Hd(d,7).concat(_.Hd(c,5)),d.Tla(a));else if(4==RN(d))d.setLongTextValue(_.C(c,7));else if(5==RN(d))d.setSelectionValue(_.C(c,8));else if(6==RN(d))_.Hd(c,10).length?d.Ola(_.Hd(c,10)):_.Hd(c,9).length&&(a=d.bIa().concat(_.Hd(c,9)),d.Ola(a));else if(7==RN(d))d.setIntegerValue(_.C(c,11));else if(8==RN(d))_.Hd(c,13).length?d.Fla(_.Hd(c,13)):_.Hd(c,12).length&&(a=_.Hd(d,12).concat(_.Hd(c,12)),d.Fla(a));else if(10==RN(d))d.setUserValue(a.V(_.C(c,14)));else if(11==RN(d))_.Hd(c,
16).length?CZc(d,_.Hd(c,16).map(a.V)):_.Hd(c,15).length&&CZc(d,d.TRa().concat(_.Hd(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(RN(d)+"."),new _.Sb(d,new _.Rb);},oad=function(a,b){if(a=a.H().find(function(c){return c.getId()==b}))if(1==RN(a))_.lk(a,5);else if(12==RN(a))_.lk(a,17);else if(2==RN(a))_.lk(a,6);else if(3==RN(a))_.$G(a,7);else if(4==RN(a))_.lk(a,8);else if(5==RN(a))_.lk(a,9);else if(6==RN(a))_.$G(a,10);else if(7==RN(a))_.lk(a,11);else if(8==RN(a))_.$G(a,
12);else if(10==RN(a))_.mk(a,15);else if(11==RN(a))_.nk(a,16);else throw a="Optimistic Applier: Unsupported value type "+(RN(a)+"."),new _.Sb(a,new _.Rb);},qad=function(a,b){_.bk(b,3)?a.cz(1):_.bk(b,17)?a.cz(12):_.bk(b,4)?a.cz(2):_.Hd(b,6).length||_.Hd(b,5).length?a.cz(3):_.bk(b,7)?a.cz(4):_.bk(b,8)?a.cz(5):_.Hd(b,10).length||_.Hd(b,9).length?a.cz(6):_.bk(b,11)?a.cz(7):_.Hd(b,13).length||_.Hd(b,12).length?a.cz(8):_.bk(b,14)?a.cz(10):(_.Hd(b,16).length||_.Hd(b,15).length)&&a.cz(11)};
lad.prototype.V=function(a){return _.dOc(_.bOc(1),a)};
var rad=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ka=b;this.Ba=c;this.V=d;this.ma=e;this.lm=f;this.ha=0;this.W=k;this.ta=l;this.Ea=h};rad.prototype.apply=function(a,b){var c=this;if(!_.qM(a))return b;var d;a instanceof _.IL?d=sad(this,a,b):a instanceof _.PL?d=tad(this,a,b):a instanceof _.mL?d=uad(this,a,b):a instanceof _.DL?d=vad(this,a,b):a instanceof _.hM&&(d=this.Ba.Av(a,b));d&&(this.ha++,this.ka.setActive(!1),_.ei(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Zh(d):b};
var sad=function(a,b,c){i4c(a.V,b.getId());var d=a.H.Ll.H(b.getId());_.ei(c.then(function(){return void a.ta("VMiG2e")},a.va.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.jL(e);_.B(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.pM).Ec(1)},tad=function(a,b,c){var d=b.Mv();d&&a.V.H.push(d);c.then(function(){d&&k4c(a.V,d)&&_.ei(wad(a,d,new _.iRc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ta("VMiG2e")})},function(){d&&_.va(a.V.H,
d)});c.then(null,function(e){e=_.jL(e);_.B(e,21,"Server error emptying trash after optimistic application.");a.W(e)});return(new _.pM).Ec(1)},wad=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Zh();var f=_.di(),h=c.$a();_.YG(c);setTimeout(function(){a.ma.then(function(k){var l=_.Ve(new _.Ue,1425);l=pVc(!0,1,l);return k.lh(l).then(function(n){if(n=n.Vp())if(n=n.Id()[0],!n||(n.Mv()||0)>b){f.resolve();return}_.ei(wad(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ei(wad(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},vad=function(a,b,c){var d=b.Fc(),e=a.H.Ll.H(d);if(!e)return null;e=_.Ek(e);A8c(a.H,[e],[157]);var f=e.Fh();xad(f,_.vk(b,_.jl,2));yad(f,_.vk(b,_.jl,3));a.H.Tl([e],-1,void 0,void 0,[157]);_.ei(c,function(){a.H.LF(d,-2)}).then(function(h){a.H.Tl([h.w7()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.jL(h);_.B(h,21,"Server error updating item after optimistic application.");a.W(h)});return TZc(new SZc,e).Ec(1)},xad=function(a,
b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={Eba:c.Eba},d=b.next())c.Eba=d.value,_.vk(a,_.jl,8).some(function(e){return function(f){return f.om()==e.Eba.om()}}(c))||_.Bk(a,8,c.Eba,_.jl,void 0)},yad=function(a,b){var c=b.map(function(d){return d.om()});b=_.vk(a,_.jl,8).filter(function(d){return!c.includes(d.om())});GUc(a,b)},uad=function(a,b,c){var d=a.H.Ll.H(b.getId());if(!d||d.Fc()&&0==b.mi()||null!=_.H(b,40))return null;var e=_.Hd(b,10),f=_.Hd(b,9);if(0<e.length&&0<f.length&&(e=Object.values(B1c(a.H.Ll,
e.concat(f))).map(function(k){return k.Fc()||"root"}),_.Fa(e),1<e.length))return null;var h=_.Ek(d);zad(a,b,h);a.H.Tl([h],-1,void 0,void 0,uYc(a.lm));c.then(function(){return a.H.LF(b.getId(),-2)},function(){a.H.LF(b.getId(),-2);a.va(b.getId(),d)});c.then(null,function(k){k=_.jL(k);if(63==k.Qj()){var l=h.getId();_.B(k,22,l);_.B(k,23,f[0])}_.B(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.FPc((new _.pM).setItem(h),h.getId()).Ec(1)},zad=function(a,b,c){null!=b.yg()&&
c.wl(b.yg());null!=b.Vi()&&_.NOc(c,b.Vi());null!=b.getMimeType()&&_.LK(c,b.getMimeType());null!=_.C(b,7)&&_.hKc(c,_.C(b,7));null!=_.H(b,11)&&_.HOc(c,_.H(b,11));null!=_.H(b,4)&&c.cu(_.H(b,4));null!=_.H(b,16)&&_.MOc(c,_.H(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.mi()&&(c.nn(b.mi()),_.LOc(c,b.mi()));null!=_.H(b,18)&&_.vN(WUc(c,!0),_.H(b,18));_.Hd(b,8).length&&_.zM(c,_.Hd(b,8));if(_.Hd(b,9).length){var d=new Set(c.Fj());_.Hd(b,9).forEach(function(n){return d.add(n)});_.zM(c,[].concat(_.Sc(d)))}if(_.Hd(b,
10).length){var e=new Set(c.Fj());_.Hd(b,10).forEach(function(n){return e.delete(n)});_.zM(c,[].concat(_.Sc(e)));var f=c.Mt();f&&_.Hd(b,10).includes(f)&&_.lk(c,46)}if(!c.Mt()){var h=a.Ea();f=c.Fj().find(function(n){var p=a.H.Ll.H(n);return p&&!!p.Mt()||n==h});_.B(c,46,f||void 0)}c.Fj().length&&(f=a.H.Ll.H(c.Fj()[0]))&&_.QOc(c,f.Fc());if(f=_.D(b,_.hl,25)){var k=_.D(c,_.hl,111)||new _.hl;null!=_.H(f,1)&&_.BOc(k,_.H(f,1));null!=_.C(f,2)&&_.COc(k,_.C(f,2));_.y(c,111,k)}var l=_.Hd(c,120);_.Hd(b,31).forEach(function(n){l.includes(n)||
l.push(n)});_.Hd(b,32).forEach(function(n){_.va(l,n)});_.B(c,120,l||[])};rad.prototype.va=function(a,b){var c=this,d=_.cp(new _.ap,[a]);this.ma.then(function(e){return e.lh(d)}).then(function(e){e=e.Vp().Id()[0];c.H.Tl([_.Ek(e)],1)},function(){b&&c.H.Tl([_.Ek(b)],1)})};
var Aad=function(a){this.H=a};_.N(Aad,_.USc);Aad.prototype.execute=function(a,b,c){var d=_.USc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.HGa||b instanceof _.$K&&_.rM(b.Ad()))if(c=IYc(this.H))return c;return b instanceof _.PL?(c=_.Ve(new _.Ue,1424),a.lh(pVc(!1,1,c)).then(function(e){(e=e.Vp())&&(e=e.Id()[0])&&e.vTa()&&b.Z$(e.Mv())},function(){})):null};
var FVc=function(a,b){return[Bad,Cad,Dad,Ead].reduce(function(c,d){var e;0!=c?e=c:e=_.Ha(d(a),d(b));return e},0)},Bad=function(a){return Fad[a.Lf()]},Cad=function(a){return Gad[a.getType()]},Dad=function(a){return a.getName()||""},Ead=function(a){return a.getId()||""},iP={},Fad=(iP[5]=0,iP[7]=1,iP[1]=2,iP[3]=3,iP[4]=4,iP[2]=5,iP[6]=6,iP),Had={},Gad=(Had[1]=0,Had[2]=1,Had[3]=2,Had[4]=3,Had);
var Iad=function(a,b,c,d,e,f,h,k,l){this.H=a;this.va=b;this.W=c;this.ha=d;this.ka=e;this.V=f;this.ma=h;this.ta=k;this.lm=l};
Iad.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.pM&&8==b.Gb()))if(a instanceof _.CL||a instanceof _.EL||a instanceof _.CNc||a instanceof _.mL||a instanceof _.jM||a instanceof _.KNc||a instanceof _.mM||"undefined"!=typeof _.CN&&a instanceof _.CN){var d=_.pL(_.Ek(b.getItem()),9);this.H.Tl([d],1);M4c(this.ta,b.getItem(),_.OM(this.lm))}else a instanceof _.IL?(b=_.qL(_.gL(new _.dL,a.getId())),this.H.zq([b])):a instanceof _.LL?(b=_.qL(_.SMc(_.gL(new _.dL,a.getId()),a.getId())),this.H.zq([b]),
I$c(this.va,b)):a instanceof _.PL?(b=pVc(!0).Ad(),b=this.H.Ll.query(b).map(function(e){return _.qL(_.gL(new _.dL,e.getId()))}),this.H.zq(b)):"undefined"!=typeof _.GL&&a instanceof _.GL?this.W.remove(a.ih()):"undefined"!=typeof _.RL&&a instanceof _.RL||"undefined"!=typeof _.gM&&a instanceof _.gM?this.W.put(b.Cr()):"undefined"!=typeof _.JL&&a instanceof _.JL?EVc(this.H,a):"undefined"!=typeof _.OC&&a instanceof _.OC?this.ha.remove(a.getKey()):"undefined"!=typeof _.SL&&a instanceof _.SL?GVc(this.H,a,
_.D(b,_.$k,2)):"undefined"!=typeof _.PC&&a instanceof _.PC?this.ha.put(b.rIa()):a instanceof _.FL||a instanceof _.kM?this.ka.rB([b.um()],!1):a instanceof _.ML?this.ka.rB([y4c(a.getId())],!1):a instanceof _.BNc?this.V.rB(b.response.H(),!1,1):a instanceof _.hM?(a.SS().filter(function(e){return _.H(e,3)}).forEach(function(e){return c.V.removeItem(e.om()||"",a.Oc())}),o4c(this.ma,a.Oc()),this.H.oYa(a.Oc())):"undefined"!=typeof _.TM&&a instanceof _.TM&&a.H().forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=
e.H(),e.getType()){case 1:case 2:if(e=c.H.Ll.H(e.Oc())){var f=new _.dL;f=_.B(f,5,!0);e=_.gL(f,e.getId()).setItem(_.Ek(e));c.H.zq([e])}}}})};
var Jad=function(a){this.H=a};
Jad.prototype.translate=function(a){if(a instanceof _.dM){var b=this.H.H(a.getId());if(!b)return new _.Rb;var c=(new _.mL).Tb(a.getId());if(b.Fc()){var d=b.Rd();_.Jd(d)||_.H(d,9)?c.nn(!0):_.nL(c,!1)}else d=a.getParent(),1==b.oo()?c.nn(!0):d?(b=this.H.H(d),!b||_.H(b.Rd(),7)?VXc(c,[d]):_.nL(c,!1)):_.nL(c,!1);return c}if("undefined"!=typeof _.eM&&a instanceof _.eM)return XXc(WXc(VXc(UXc((new _.mL).Tb(a.getId()),a.Xbb()),a.Ybb()),a.Zbb()),a.Wbb());if(a instanceof _.zNc){b=this.H.H(a.getId());if(!b)return new _.Rb;
c=(new _.mL).Tb(a.getId());b.Fc()?(d=b.Rd(),_.Jd(d)||_.H(d,9)?c.nn(!1):_.nL(c,!0)):(d=a.getParent(),1==b.oo()?c.nn(!1):d?(b=this.H.H(d),!b||_.gl(b.Rd())?UXc(c,[d]):_.nL(c,!0)):_.nL(c,!0));return c}if(a instanceof _.cN)return new _.CNc(a);if("undefined"!=typeof _.jP&&a instanceof _.jP)return a.H().map(function(f){var h=new _.hM;f=_.B(h,1,f);h=a.SS();f=_.jb(f,2,h);h=a.Ae();return _.y(f,3,h)});if(a instanceof _.OL){c=pVc(!1,1).Ad();var e=0;this.H.query(c).forEach(function(f){(f=f.Mv())&&(e=Math.max(e,
f))});return EYc(new _.PL,a).Z$(e)}return a};
var Kad=function(){};Kad.prototype.validate=function(a){var b=null;"undefined"!=typeof _.WL&&a instanceof _.WL?(a=a.getId()||"",_.id(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.HL&&a instanceof _.HL&&(a=a.getId()||"",_.id(a)&&(b="Tried to delete backup with no id."));return b?_.jL(b):null};
var Lad=function(a,b){this.V=a;this.H=b},Pad=function(a,b){_.kN(["drive#about"],b);var c=new _.RO,d=new _.UB;if(b.user){var e=_.mN(a.V,b.user);_.y(d,1,e)}a=Mad(a,b);a=PXc(OXc(_.NXc(new _.Dqb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.RXc(a,_.KXc(_.JXc((new _.TB).Ec(Nad[e.status]),Number(e.trialMillisRemaining)),_.lN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.SXc(a,_.MXc(_.LXc(new _.Cqb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&QXc(a,b.importFormats.map(function(f){var h=new _.IXc;h=_.B(h,1,f.source);return _.B(h,2,f.targets||[])}));b.adminSecureLinkSetting&&_.B(a,10,Oad[b.adminSecureLinkSetting]);_.y(d,3,a);_.j7c(c,d);b=b.largestChangeId;null!=b&&_.B(c,4,Number(b));return c},Mad=function(a,b){var c=new _.Bqb;c=_.B(c,1,Number(b.quotaBytesTotal));c=_.B(c,2,Number(b.quotaBytesUsed));c=_.B(c,3,Number(b.quotaBytesUsedAggregate));c=_.B(c,4,Number(b.quotaBytesUsedInTrash));c=_.CXc(_.BXc(c,
IVc(b.quotaBytesByService||[])),Qad[b.quotaType]);if(_.F(a.H,5,!1)){a=_.EXc(_.DXc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-KVc(b);a=_.B(a,9,d);a=_.FXc(a,Number(b.quotaBytesUsedAggregate));a=_.B(a,11,Number(b.quotaBytesUsedInTrash));a=_.B(a,13,_.RUc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.GXc(a,Rad[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.endDate&&
(a=new _.Aqb,d=_.YZa(new Date(b.graceQuotaInfo.endDate)),a=_.y(a,1,d),b=_.B(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),_.y(c,12,b));b=c}else b=c;return b},Rad={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},JVc=new Set(["POOLED_STORAGE","FAMILY"]),Nad={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},HVc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},Qad={LIMITED:1,UNLIMITED:2,POOLED:3},Oad={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var Sad={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},Tad={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},Uad={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},Vad={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},Wad={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},Xad={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},Yad={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},
Zad={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},$ad={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},abd={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},bbd={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},cbd={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},dbd={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},ebd={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},fbd={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},gbd={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},hbd={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},ibd={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},jbd={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},kbd={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},lbd={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},mbd={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},tbd=function(a){return a.map(function(b){var c=new _.fO;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=nbd(e);_.y(c,2,d);break;case "actors":d=obd(e);_.jb(c,3,d);break;case "actions":d=pbd(e);_.jb(c,
4,d);break;case "targets":d=qbd(e);_.jb(c,5,d);break;case "timestamp":c.H(rbd(e));break;case "timeRange":d=sbd(e),_.xk(c,7,Q0c[0],d)}}return c})},pbd=function(a){return a.map(function(b){var c=new _.O0c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=nbd(e);_.y(c,1,d);break;case "source":d=new H0c;e=_.m(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;h=h.next().value;
switch(f){case "type":_.sk(d,2,Sad[h]);break;case "appId":_.rk(d,1,h)}}_.y(c,2,d);break;case "actor":d=ubd(e);_.y(c,3,d);break;case "target":d=vbd(e);_.y(c,4,d);break;case "timestamp":c.H(rbd(e));break;case "timeRange":d=sbd(e),_.xk(c,6,N0c[0],d)}}return c})},qbd=function(a){return a.map(function(b){return vbd(b)})},xbd=function(a){return a.map(function(b){return wbd(b)})},vbd=function(a){var b=new _.M0c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;
d=d.next().value;switch(c){case "driveItem":c=ybd(d);_.xk(b,1,_.L0c[0],c);break;case "drive":c=new _.I0c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.qd(f);break;case "title":c.setTitle(f);break;case "root":e=ybd(f),_.y(c,3,e)}}_.xk(b,5,_.L0c[0],c);break;case "fileComment":c=new _.J0c;d=_.m(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.m(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.rk(c,
1,f);break;case "legacyDiscussionId":_.rk(c,2,f);break;case "linkToDiscussion":_.rk(c,3,f);break;case "parent":c.Bg(ybd(f))}_.xk(b,3,_.L0c[0],c)}}return b},wbd=function(a){var b=new _.Z_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new _.X_c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.qd(f);break;case "title":c.setTitle(f);
break;case "driveFile":e=c;f=new S_c;_.xk(e,8,W_c[0],f);break;case "driveFolder":e=zbd(f);_.xk(c,9,W_c[0],e);break;case "driveShortcut":e=Abd(f),_.xk(c,10,W_c[0],e)}}_.xk(b,1,Y_c[0],c);break;case "drive":c=Bbd(d),_.xk(b,3,Y_c[0],c)}}return b},ybd=function(a){var b=new _.V_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.qd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.rk(b,6,d);break;case "version":_.pk(b,
5,d);break;case "owner":c=new P_c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=Cbd(f);_.y(c,3,e);break;case "user":e=kP(f);_.xk(c,1,O_c[0],e);break;case "drive":e=Bbd(f),_.xk(c,4,O_c[0],e)}}_.y(b,7,c);break;case "driveFile":c=new S_c;_.xk(b,8,Q_c[0],c);break;case "driveFolder":c=zbd(d);_.xk(b,9,Q_c[0],c);break;case "driveShortcut":c=Abd(d),_.xk(b,10,Q_c[0],c)}}return b},Bbd=function(a){var b=new M_c;
a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.qd(d);break;case "title":b.setTitle(d)}}return b},zbd=function(a){var b=new _.T_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "type":_.sk(b,6,Tad[d])}}return b},Abd=function(a){var b=new _.U_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);
c=d.next().value;d=d.next().value;switch(c){case "targetName":_.rk(b,1,d);break;case "targetMimeType":_.rk(b,2,d)}}return b},obd=function(a){return a.map(function(b){return ubd(b)})},ubd=function(a){var b=new _.G0c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=kP(d);_.xk(b,1,_.F0c[0],c);break;case "anonymous":c=new C0c;_.xk(b,2,_.F0c[0],c);break;case "impersonation":c=new _.D0c;d=_.m(Object.entries(d));
for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=kP(f),_.y(c,1,e)}}_.xk(b,3,_.F0c[0],c);break;case "system":c=new _.E0c;d=_.m(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.m(e.value),e=f.next().value,f=f.next().value,e){case "type":_.sk(c,1,Uad[f])}_.xk(b,4,_.F0c[0],c);break;case "administrator":c=new _.B0c,_.xk(b,5,_.F0c[0],c)}}return b},Dbd=function(a){return a.map(function(b){return kP(b)})},kP=function(a){var b=
new _.t_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.YN;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "personName":_.rk(c,1,f);break;case "isCurrentUser":_.qk(c,2,f);break;case "displayName":_.rk(c,3,f);break;case "photoUrl":c.Qm(f)}}_.xk(b,2,_.r_c[0],c);break;case "unknownUser":c=new u_c;_.xk(b,4,_.r_c[0],
c);break;case "deletedUser":c=new _.s_c,_.xk(b,3,_.r_c[0],c)}}return b},rbd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.XZa((new _.Px).setSeconds(a),b)},sbd=function(a){var b=new _.eO;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":b.yV(rbd(d));break;case "endTime":b.vD(rbd(d))}}return b},Cbd=function(a){var b=new _.L_c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.qd(d);break;case "legacyId":_.rk(b,3,d);break;case "audienceDisplayName":_.rk(b,4,d)}}return b},nbd=function(a){for(var b=new _.dO,c=_.m(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.m(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.d0c,l=_.m(Object.entries(h)),n=l.next();!n.done;n=l.next()){var p=_.m(n.value),r=p.next().value,u=p.next().value;switch(r){case "new":var z=
k,A=new a0c;_.xk(z,1,_.$_c[0],A);break;case "upload":var E=k,I=new b0c;_.xk(E,2,_.$_c[0],I);break;case "copy":for(var L=u,S=new _.c0c,T=_.m(Object.entries(L)),ca=T.next();!ca.done;ca=T.next()){var ja=_.m(ca.value),oa=ja.next().value,Ga=ja.next().value;switch(oa){case "originalObject":var la=wbd(Ga);_.y(S,1,la)}}_.xk(k,3,_.$_c[0],S)}}_.xk(b,1,_.cO[0],k);break;case "edit":var Ca=new i0c;_.xk(b,2,_.cO[0],Ca);break;case "move":for(var ra=new _.n0c,$b=_.m(Object.entries(h)),Lb=$b.next();!Lb.done;Lb=$b.next()){var qc=
_.m(Lb.value),ic=qc.next().value,zd=qc.next().value;switch(ic){case "addedParents":var Nc=xbd(zd);_.jb(ra,1,Nc);break;case "removedParents":var Te=xbd(zd);_.jb(ra,2,Te);break;case "fromOwnershipTransfer":_.qk(ra,3,zd);break;case "reparents":var we=zd.map(Ebd);_.jb(ra,4,we)}}_.xk(b,3,_.cO[0],ra);break;case "rename":for(var ld=new _.t0c,ug=_.m(Object.entries(h)),Vc=ug.next();!Vc.done;Vc=ug.next()){var of=_.m(Vc.value),Ah=of.next().value,Xe=of.next().value;switch(Ah){case "oldTitle":_.rk(ld,1,Xe);break;
case "newTitle":_.rk(ld,2,Xe)}}_.xk(b,4,_.cO[0],ld);break;case "delete":for(var Kb=new _.g0c,Bh=_.m(Object.entries(h)),vg=Bh.next();!vg.done;vg=Bh.next()){var ck=_.m(vg.value),hq=ck.next().value,ss=ck.next().value;switch(hq){case "type":_.sk(Kb,1,Vad[ss])}}_.xk(b,5,_.cO[0],Kb);break;case "restore":for(var th=new _.u0c,Bg=_.m(Object.entries(h)),Uh=Bg.next();!Uh.done;Uh=Bg.next()){var yk=_.m(Uh.value),Wk=yk.next().value,im=yk.next().value;switch(Wk){case "type":_.sk(th,1,Wad[im])}}_.xk(b,6,_.cO[0],
th);break;case "permissionChange":for(var pj=new _.q0c,ih=_.m(Object.entries(h)),zk=ih.next();!zk.done;zk=ih.next()){var Jm=_.m(zk.value),xo=Jm.next().value,jm=Jm.next().value;switch(xo){case "addedPermissions":var Cl=Fbd(jm);_.jb(pj,1,Cl);break;case "removedPermissions":var yo=Fbd(jm);_.jb(pj,2,yo);break;case "resharedPermissions":var km=Fbd(jm);_.jb(pj,3,km);break;case "otherActivePermissions":var kl=Fbd(jm);_.jb(pj,4,kl)}}_.xk(b,7,_.cO[0],pj);break;case "comment":for(var qi=new _.K_c,Pi=_.m(Object.entries(h)),
lm=Pi.next();!lm.done;lm=Pi.next()){var zo=_.m(lm.value),Jh=zo.next().value,aj=zo.next().value;switch(Jh){case "post":for(var iq=aj,ll=new _.H_c,jq=_.m(Object.entries(iq)),Ao=jq.next();!Ao.done;Ao=jq.next()){var Bo=_.m(Ao.value),ts=Bo.next().value,qp=Bo.next().value;switch(ts){case "subtype":_.sk(ll,1,Yad[qp])}}_.xk(qi,1,_.G_c[0],ll);break;case "assignment":for(var bd=aj,Df=new _.I_c,Ak=_.m(Object.entries(bd)),Fj=Ak.next();!Fj.done;Fj=Ak.next()){var An=_.m(Fj.value),Gj=An.next().value,Vt=An.next().value;
switch(Gj){case "subtype":_.sk(Df,1,Zad[Vt]);break;case "assignedUser":var Co=kP(Vt);_.y(Df,7,Co)}}_.xk(qi,2,_.G_c[0],Df);break;case "suggestion":for(var kq=aj,Dl=new _.J_c,us=_.m(Object.entries(kq)),Km=us.next();!Km.done;Km=us.next()){var mm=_.m(Km.value),Hj=mm.next().value,lq=mm.next().value;switch(Hj){case "subtype":_.sk(Dl,1,$ad[lq])}}_.xk(qi,3,_.G_c[0],Dl);break;case "mentionedUsers":var Wt=Dbd(aj);_.jb(qi,7,Wt)}}_.xk(b,8,_.cO[0],qi);break;case "dlpChange":for(var Bn=new _.f0c,qj=_.m(Object.entries(h)),
Xt=qj.next();!Xt.done;Xt=qj.next()){var rp=_.m(Xt.value),vs=rp.next().value,wv=rp.next().value;switch(vs){case "type":_.sk(Bn,1,abd[wv])}}_.xk(b,9,_.cO[0],Bn);break;case "view":for(var ws=new A0c,xs=_.m(Object.entries(h)),ys=xs.next();!ys.done;ys=xs.next()){var kr=_.m(ys.value),Yt=kr.next().value,Hn=kr.next().value;switch(Yt){case "type":_.sk(ws,1,bbd[Hn]);break;case "viewHistoryVisibility":for(var bz=Hn,sr=new z0c,gu=_.m(Object.entries(bz)),tr=gu.next();!tr.done;tr=gu.next()){var hu=_.m(tr.value),
Fv=hu.next().value,gB=hu.next().value;switch(Fv){case "domainPolicyVisibilityState":_.sk(sr,1,cbd[gB]);break;case "namedPartyState":_.sk(sr,2,dbd[gB])}}_.y(ws,2,sr)}}_.xk(b,10,_.cO[0],ws);break;case "download":for(var aH=new h0c,NP=_.m(Object.entries(h)),ig=NP.next();!ig.done;ig=NP.next()){var FW=_.m(ig.value),eL=FW.next().value,Iv=FW.next().value;switch(eL){case "type":_.sk(aH,1,ebd[Iv])}}_.xk(b,11,_.cO[0],aH);break;case "reference":for(var DD=new _.m_c,bH=_.m(Object.entries(h)),OP=bH.next();!OP.done;OP=
bH.next()){var GW=_.m(OP.value),Lea=GW.next().value,Mea=GW.next().value;switch(Lea){case "type":_.sk(DD,1,fbd[Mea]);break;case "context":for(var a4=DD,cH=a4.Uj,PP=Mea,b4=new l_c,HW=_.m(Object.entries(PP)),c4=HW.next();!c4.done;c4=HW.next()){var Nea=_.m(c4.value),ED=Nea.next().value,fL=Nea.next().value;switch(ED){case "description":b4.wl(fL);break;case "url":_.rk(b4,2,fL)}}cH.call(a4,b4)}}_.xk(b,12,_.cO[0],DD);break;case "settingsChange":for(var d4=new _.x0c,Oea=_.m(Object.entries(h)),e4=Oea.next();!e4.done;e4=
Oea.next()){var Pea=_.m(e4.value),Jua=Pea.next().value,Kua=Pea.next().value;switch(Jua){case "restrictionChanges":var Lua=Gbd(Kua);_.jb(d4,1,Lua)}}_.xk(b,13,_.cO[0],d4);break;case "approvalChange":for(var wr=new _.z_c,f4=_.m(Object.entries(h)),dH=f4.next();!dH.done;dH=f4.next()){var dX=_.m(dH.value),H4=dX.next().value,mz=dX.next().value;switch(H4){case "approvalName":_.rk(wr,2,mz);break;case "approvalEventNames":_.B(wr,3,mz||[]);break;case "initiator":var qnc=kP(mz);_.y(wr,4,qnc);break;case "reviewers":var rnc=
Dbd(mz);_.jb(wr,5,rnc);break;case "status":wr.Ec(ibd[mz]);break;case "dueTime":var snc=rbd(mz);_.y(wr,7,snc);break;case "approvalRequested":var xqg=wr,yqg=new w_c;_.xk(xqg,8,_.ZN[0],yqg);break;case "approvalCancelled":var zqg=wr,Aqg=new x_c;_.xk(zqg,9,_.ZN[0],Aqg);break;case "reviewerResponded":for(var Bqg=mz,B0d=new _.y_c,C0d=_.m(Object.entries(Bqg)),tnc=C0d.next();!tnc.done;tnc=C0d.next()){var D0d=_.m(tnc.value),Cqg=D0d.next().value,Dqg=D0d.next().value;switch(Cqg){case "reviewerDecision":_.sk(B0d,
1,jbd[Dqg])}}_.xk(wr,10,_.ZN[0],B0d);break;case "commentAdded":var Eqg=wr,Fqg=new A_c;_.xk(Eqg,11,_.ZN[0],Fqg);break;case "reviewersChanged":for(var Gqg=mz,E0d=new C_c,F0d=_.m(Object.entries(Gqg)),unc=F0d.next();!unc.done;unc=F0d.next()){var G0d=_.m(unc.value),Hqg=G0d.next().value,Iqg=G0d.next().value;switch(Hqg){case "reviewerChanges":var Kqg=Hbd(Iqg);_.jb(E0d,1,Kqg)}}_.xk(wr,12,_.ZN[0],E0d);break;case "dueTimeChanged":for(var Lqg=mz,H0d=new E_c,I0d=_.m(Object.entries(Lqg)),vnc=I0d.next();!vnc.done;vnc=
I0d.next()){var J0d=_.m(vnc.value),Mqg=J0d.next().value,Nqg=J0d.next().value;switch(Mqg){case "oldDueTime":var Oqg=rbd(Nqg);_.y(H0d,1,Oqg)}}_.xk(wr,13,_.ZN[0],H0d)}}_.xk(b,18,_.cO[0],wr);break;case "lock":var Pqg=new k0c;_.xk(b,15,_.cO[0],Pqg);break;case "unlock":var Qqg=new y0c;_.xk(b,16,_.cO[0],Qqg);break;case "appliedLabelChange":for(var K0d=new _.q_c,L0d=_.m(Object.entries(h)),wnc=L0d.next();!wnc.done;wnc=L0d.next()){var M0d=_.m(wnc.value),Rqg=M0d.next().value,Sqg=M0d.next().value;switch(Rqg){case "changes":var Uqg=
Ibd(Sqg);_.jb(K0d,1,Uqg)}}_.xk(b,19,_.cO[0],K0d);break;case "publishChange":for(var xnc=new r0c,N0d=_.m(Object.entries(h)),ync=N0d.next();!ync.done;ync=N0d.next()){var O0d=_.m(ync.value),Vqg=O0d.next().value,P0d=O0d.next().value;switch(Vqg){case "oldPublishState":var Wqg=Jbd(P0d);_.y(xnc,1,Wqg);break;case "newPublishState":var Xqg=Jbd(P0d);_.y(xnc,2,Xqg)}}_.xk(b,20,_.cO[0],xnc);break;case "linkShareMetadataChange":for(var R0d=new _.j0c,S0d=_.m(Object.entries(h)),znc=S0d.next();!znc.done;znc=S0d.next()){var T0d=
_.m(znc.value),Yqg=T0d.next().value,Zqg=T0d.next().value;switch(Yqg){case "securityUpdateEnabled":_.qk(R0d,1,Zqg)}}_.xk(b,21,_.cO[0],R0d)}}return b},Ebd=function(a){var b=new _.m0c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.sk(b,1,mbd[d])}}return b},Fbd=function(a){return a.map(function(b){var c=new _.bO;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;
e=e.next().value;switch(d){case "role":_.sk(c,1,Xad[e]);break;case "user":d=kP(e);_.xk(c,2,_.aO[0],d);break;case "group":d=new _.$N;e=_.m(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.rk(d,1,h);break;case "title":d.setTitle(h)}}_.xk(c,3,_.aO[0],d);break;case "domain":d=Cbd(e);_.xk(c,4,_.aO[0],d);break;case "anyone":d=new o0c;_.xk(c,5,_.aO[0],d);break;case "allowDiscovery":_.qk(c,6,e)}}return c})},Gbd=function(a){return a.map(function(b){var c=
new _.w0c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.sk(c,1,gbd[e]);break;case "newRestriction":_.sk(c,2,hbd[e])}}return c})},Hbd=function(a){return a.map(function(b){var c=new D_c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=kP(e);_.y(c,3,d);break;case "addedReviewer":d=kP(e),_.y(c,4,d)}}return c})},
Ibd=function(a){return a.map(function(b){var c=new _.p_c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Gd(e);break;case "types":d=Kbd(e),_.B(c,2,d||[])}}return c})},Kbd=function(a){return a.map(function(b){return kbd[b]})},Jbd=function(a){var b=new s0c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.sk(b,
1,lbd[d]);break;case "signinRequired":_.qk(b,2,d);break;case "publishedTime":c=rbd(d),_.y(b,3,c)}}return b};
var Mbd=function(a,b){var c=new V6c;b=_.B(c,4,b);a&&"drive#app"==a.kind&&(a=Lbd(a),_.y(b,2,a));return b},Lbd=function(a){_.kN(["drive#app"],a);var b=(new _.VN).Tb(a.id);b=_.B(b,3,a.useByDefault).qd(a.name);b=_.B(b,7,a.openUrlTemplate);b=c_c(b_c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.B(b,8,a.createUrl);b=_.B(b,9,a.createInFolderTemplate);b=_.B(b,10,a.objectType);b=_.B(b,11,a.supportsCreate);b=_.B(b,12,a.supportsImport);b=_.B(b,13,a.supportsMultiOpen);b=_.B(b,27,a.supportsOfflineCreate);b=
_.B(b,14,a.installed);b=_.B(b,15,a.authorized);b=_.B(b,16,a.productUrl);b=_.B(b,17,a.primaryFileExtensions||[]);b=_.B(b,18,a.secondaryFileExtensions||[]);b=_.B(b,19,a.shortDescription);b=_.B(b,20,a.longDescription);b=_.B(b,21,a.productId);b=_.B(b,22,a.removable);b=_.B(b,23,Nbd[a.type]);b=_.B(b,25,a.hasAppData);b=_.B(b,26,a.appDataQuotaBytesUsed);b=_.B(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.B(b,30,a.hasDriveWideScope);b=_.B(b,31,a.driveSource);b=_.B(b,32,a.driveBranded);b=_.B(b,33,a.hidden);
b=_.B(b,34,a.supportsMobileBrowser);b=_.B(b,35,a.supportsTeamDrives);b=_.B(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.XZc;l=_.B(l,3,k.iconUrl).setSize(k.size);k.category&&_.B(l,1,Obd[k.category]);h.call(f,l)}_.jb(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.B(b,24,d||[]);c=a.rankingInfo||{};a=new _.$Zc;d=c.absoluteScore;null!=d&&_.B(a,1,Number(d));d=Pbd(c.mimeTypeScores||[]);_.jb(a,2,d);c=Pbd(c.fileExtensionScores||
[]);_.jb(a,3,c);_.y(b,29,a);return b},Pbd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.YZc;d=_.B(d,1,a[c].type);d=_.B(d,2,Number(a[c].score));b.push(d)}return b},Nbd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},Obd={application:1,document:2,documentShared:3};
var Rbd=function(a){var b=new C7c;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.KO).Tb(c.id).setTitle(c.title);d=_.B(d,3,_.lN(c.updateTime));d=_.B(d,4,Qbd[c.backupSource]);d=_.B(d,5,c.iconUri);d=_.B(d,8,_.lN(c.expiryTime));d=_.B(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.Jx()){var e=new C6c;e=_.B(e,1,c.whatsappOngoingBackupEnabled);c=_.B(e,2,c.whatsappPhoneNumber);_.y(d,6,c)}else 2==d.Jx()&&(e=new _.B6c,e=_.B(e,1,c.deviceName),e=_.B(e,2,c.deviceModelName),
e=_.B(e,3,c.shouldIncludeSpecialSyncItems),c=_.B(e,4,c.deviceAndroidId),_.y(d,7,c));return d});_.jb(b,2,a);return b},Tbd=function(a){var b=new y7c;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.LO).Tb(c.id);d=_.B(d,1,Sbd[c.type]).setTitle(c.title);d=_.B(d,4,c.iconUri);d=_.D6c(d.setSize(c.size),_.lN(c.updateTime));d=_.B(d,7,c.hasCustomBehavior).wl(c.description);return _.B(d,9,c.ongoingSyncEnabled)});_.jb(b,1,a);return b},Qbd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Sbd={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};
var Ubd=function(a,b){this.H=a;this.V=b};
var Vbd={read:2,write:3,comment:4},Wbd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.LK((new _.ml).Tb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.AM(d,_.WSc(c.userCapabilities));_.OM(b).includes(19)&&_.OOc(d,!0);M4c(a,d,_.OM(b));_.POc(d,4);return d},Xbd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.cna;f=_.B(f,2,e.predictionReason);e=Wbd(a,b,e);e=_.y(e,100,f);d.push(e)}});c=(new _.$A).uv(d).UM(c.suggestionSessionId);return _.ARc(new _.dN,c)},Zbd=
function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=Ybd(f.person).Tb(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()==h})||e.push(k);var n=l.itemId,p=d.find(function(r){return r.getId()==n});p||(p=Wbd(a,b,l),d.push(p));l=tXc(sXc(rXc(new _.$ma,k.clone()),l.predictionReason),l.url);_.Bk(p,107,l,_.$ma,void 0)})}});return NYc((new _.XM).uv(d),e).UM(c.suggestionSessionId)},Ybd=function(a){return _.dOc((new _.$k).Tb(a.id).qd(a.displayName),
a.emailAddress).Qm(a.photoUrl)},acd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=Wbd(a,b,e);e=$bd(e);f=_.jb(f,117,e);d.push(f)}});c=(new _.$A).uv(d).UM(c.suggestionSessionId);return _.ARc(new _.dN,c)},$bd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.cl,e=bcd(c);e&&_.xk(d,2,_.bl[0],e);(e=ccd(c))&&SWc(d,e);(e=dcd(c))&&_.xk(d,4,_.bl[0],e);(e=ecd(c))&&_.xk(d,5,_.bl[0],e);(e=fcd(c))&&_.xk(d,6,_.bl[0],e);(e=gcd(c))&&_.xk(d,7,_.bl[0],e);(e=hcd(c))&&
_.xk(d,8,_.bl[0],e);(e=icd(c))&&_.xk(d,9,_.bl[0],e);(e=jcd(c))&&_.xk(d,10,_.bl[0],e);(c=kcd(c))&&_.xk(d,11,_.bl[0],c);return d}):(a=lP(a),a=hXc([a]),[SWc(new _.cl,a)])},mcd=function(a){return(a.justification||[]).map(function(b){return lcd(b)})},lP=function(a){return(a=a.justification)?lcd(a):null},lcd=function(a){var b=gWc(new _.al,ncd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=Ybd(c),_.xk(b,3,_.Ema[0],c),hWc(b,[c])):d?(c=(d.person||[]).map(function(e){return Ybd(e)}),d=fWc(c),_.xk(b,4,
_.Ema[0],d),hWc(b,c)):(c=(a.person||[]).map(function(e){return Ybd(e)}),c.length&&(d=fWc(c),_.xk(b,4,_.Ema[0],d),hWc(b,c)));_.B(b,5,_.lN(a.eventTime));iWc(b,ncd(a.justificationDescription));return b},ncd=function(a){if(!a)return null;a=a.textSegment||[];return cWc(new _.Zk,a.map(function(b){var c=(new _.Bma).$g(b.text),d=b.link;if(d){var e=new _.Cma;d=_.B(e,1,d.url)}else d=null;c=_.y(c,2,d);c=_.B(c,3,b.bold);return _.B(c,4,b.italic)}))},bcd=function(a){a=a.documentDocosAction;if(!a)return null;var b=
$Wc(new _.Mma,lP(a));ZWc(b,(a.subAction||[]).map(function(c){var d=new _.Nma;c.reply?(c=new _.Gma,_.xk(d,1,_.dl[0],c)):c.resolve?(c=new pWc,_.xk(d,2,_.dl[0],c)):c.reassign?(c=new nWc,_.xk(d,3,_.dl[0],c)):c.acceptSuggestion?(c=new jWc,_.xk(d,4,_.dl[0],c)):c.rejectSuggestion?(c=new oWc,_.xk(d,5,_.dl[0],c)):c.openThread&&(c=new _.Fma,_.xk(d,6,_.dl[0],c));return d}));_.B(b,2,a.discussionId);_.B(b,3,a.postId);aXc(b,ncd(a.anchorText));return b},dcd=function(a){a=a.documentShareAction;if(!a)return null;
var b=dXc(new _.Pma,lP(a));cXc(b,(a.subAction||[]).map(function(c){var d=new BWc;c.suggestedShare?(c=new tWc,_.xk(d,1,AWc[0],c)):c.responseToRequest&&(c=new qWc,_.xk(d,2,AWc[0],c));return d}));bXc(b,(a.sharee||[]).map(function(c){return Ybd(c)}));_.B(b,3,Vbd[a.shareeRole]);return b},ccd=function(a){a=a.documentViewAction;if(!a)return null;var b=hXc(mcd(a));gXc(b,(a.subAction||[]).map(function(c){var d=new FWc;c.open?d.Ng(new GN):c.reviewEdits&&(c=new rWc,_.xk(d,2,EWc[0],c));return d}));return b},
ecd=function(a){a=a.emailViewAction;if(!a)return null;var b=mXc(new LWc,lP(a));lXc(b,(a.subAction||[]).map(function(c){var d=new NWc;c.openEmail&&d.Ng(new lWc);return d}));return b},fcd=function(a){a=a.calendarEventAction;if(!a)return null;var b=WWc(VWc(UWc(new _.Ima,a.eventId),lP(a)),a.guestCount);TWc(b,(a.subAction||[]).map(function(c){var d=new xWc;if(c.viewCalendarEvent){var e=new uWc;_.xk(d,1,wWc[0],e)}c.shareWithAttendees&&(e=new sWc,_.xk(d,2,wWc[0],e));c.present&&(e=new mWc,_.xk(d,3,wWc[0],
e));c.openDocument&&(c=new GN,_.xk(d,4,wWc[0],c));return d}));return b},gcd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=kXc(jXc(new HWc,a.workspaceId),lP(a));iXc(b,(a.subAction||[]).map(function(c){var d=new JWc;c.addToWorkspace&&(c=new kWc,_.xk(d,1,IWc[0],c));return d}));return b},hcd=function(a){a=a.documentTopicAction;if(!a)return null;var b=fXc(new _.Rma,lP(a));eXc(b,(a.subAction||[]).map(function(c){var d=new DWc;c.openDocument&&(c=new GN,_.xk(d,1,CWc[0],c));return d}));return b},
icd=function(a){a=a.popularDocumentAction;if(!a)return null;var b=qXc(new _.Xma,lP(a));pXc(b,(a.subAction||[]).map(function(c){var d=new RWc;c.openDocument&&(c=new GN,_.xk(d,1,QWc[0],c));return d}));return b},jcd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=YWc(new _.Kma,lP(a));XWc(b,(a.subAction||[]).map(function(c){var d=new zWc;c.openDocument&&(c=new GN,_.xk(d,1,yWc[0],c));return d}));return b},kcd=function(a){a=a.formResponseAction;if(!a)return null;var b=oXc(new _.Vma,mcd(a));
nXc(b,(a.subAction||[]).map(function(c){var d=new PWc;c.openDocument?(c=new GN,_.xk(d,1,OWc[0],c)):c.viewResponses&&(c=new vWc,_.xk(d,2,OWc[0],c));return d}));return b};
var ocd=function(a,b){this.H=a;this.V=b},qcd=function(a,b,c){_.kN(["drive#categoryMetadataList"],c);var d=new UN,e=Object.values(c.categoryMetadata||{});RZc(d,e.map(function(f){return pcd(a,f,b.Oc())}));d.Ec(1);return new _.$M(d,s6c(c))},scd=function(a,b){var c=new QO;c7c(c,(b.categories||[]).map(function(d){return rcd(a,d)}));c.Ec(1);return new j1c(c,s6c(b))},pcd=function(a,b,c){_.kN(["drive#categoryMetadata"],b);c=GZc((new SN).qd(b.categoryName),c);b=Object.values(b.attributeValues||[]);FZc(c,b.map(function(d){return tcd(a,
d)}).filter(function(d){return d}));return c},rcd=function(a,b){var c=sZc(rZc((new PN).qd(b.name),b.categoryName),b.latestName).setTitle(b.title).wl(b.description);tZc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new oZc).Tb(d.id);f=_.B(f,2,d.queryGuid);f=_.B(f,3,d.helpText);f=_.B(f,4,d.displayName);if(d.attributeDisplayHints){var h=ucd(d.attributeDisplayHints);_.y(f,5,h)}if(d.capabilities){h=d.capabilities;var k=new XYc;k=_.B(k,1,h.canSearch);h=_.B(k,2,h.canWrite);_.y(f,6,h)}_.B(f,7,
vcd[e]);d=d[wcd(e)+"Options"];return xcd(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&uZc(c,ycd(b.createdBy));b.updatedBy&&vZc(c,ycd(b.updatedBy));b.publishedBy&&wZc(c,ycd(b.publishedBy));_.B(c,9,_.lN(b.createTime));_.B(c,10,_.lN(b.updateTime));_.B(c,11,_.lN(b.publishTime));b.displayHints&&xZc(c,ucd(b.displayHints));b.capabilities&&yZc(c,zcd(b.capabilities));b.learnMoreUri&&_.B(c,15,b.learnMoreUri);return c},tcd=function(a,b){_.kN(["drive#categoryAttributeValue"],b);var c=(new QN).Tb(b.id);
if(b.userScoped)b=Object.values(b.userScoped),DZc(c,b.map(function(d){_.kN(["drive#userScopedAttributeValue"],d);var e=new AZc,f=_.mN(a.H,d.scopedUser);e=_.y(e,1,f);return Acd(a,e,d)?e:null}).filter(function(d){return d})),c.cz(9);else if(!Acd(a,c,b))return null;return c},ucd=function(a){var b=(new WYc).Mj(a.disabled);b=_.B(b,2,a.hidden);b=_.B(b,3,a.activatedInAllDrives);return _.B(b,4,!!a.required)},zcd=function(a){var b=new qZc;b=_.B(b,1,a.canSearch);b=_.B(b,2,a.canApply);b=_.B(b,4,a.canRemove);
return _.B(b,3,a.canManageSharedDriveActivation)},xcd=function(a,b,c,d){return Bcd(a,function(){Ccd(a)[c](b,d)},c,b)},Dcd=function(a){a=void 0===a?{}:a;var b=new fZc;b=_.B(b,1,a.minSize);return _.B(b,2,a.maxSize)},Fcd=function(a){var b=new cZc;dZc(b,(a.choices||[]).map(function(c){var d=(new bZc).Gd(c.label).Ob(c.value);c.description&&d.wl(c.description);if(c.capabilities){var e=c.capabilities;var f=new $Yc;f=_.B(f,1,e.canSearch);e=_.B(f,2,e.canSelect);_.y(d,3,e)}c.displayHints&&(c=c.displayHints,
e=(new aZc).Mj(c.disabled),e=_.B(e,2,c.hidden),c.badgePriority&&_.B(e,5,c.badgePriority),c.badgeColors&&(f=Ecd(c.badgeColors),_.y(e,3,f)),c.darkBadgeColors&&(c=Ecd(c.darkBadgeColors),_.y(e,4,c)),_.y(d,4,e));return d}));return b},Ecd=function(a){var b=new VYc;var c=Gcd(a.backgroundColor);b=_.y(b,1,c);c=Gcd(a.foregroundColor);b=_.y(b,2,c);a=Gcd(a.soloColor);return _.y(b,3,a)},Gcd=function(a){var b=new _.cF;b=_.ok(b,1,a.red,0);b=_.ok(b,2,a.green,0);b=_.ok(b,3,a.blue,0);a.alpha&&(a=(new TXc).Ob(a.alpha),
_.y(b,4,a));return b},Hcd=function(a){var b=new iZc;b=_.B(b,1,a.showThousandsSeparator);b=_.B(b,2,a.minValue);return _.B(b,3,a.maxValue)},Icd=function(a){var b=(new _.hna).setYear(a.year).setMonth(a.month);return _.B(b,3,a.day)},Acd=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.cz(vcd[d]);return Bcd(a,function(){Jcd(a)[d](b,c[c.valueType])},c.valueType)},Bcd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof kZc))return tYc(a.V,
"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},ycd=function(a){return _.bOc(1).Tb(a.personName.split("/")[1])},wcd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Ccd=function(a){return{BOOLEAN:function(b,c){var d=b.$Za;var e=new YYc;e=_.B(e,1,c.trueLabel);c=_.B(e,2,c.falseLabel);return d.call(b,c)},TEXT:function(b,c){return b.Y$(Dcd(c))},TEXT_LIST:function(b,c){var d=b.Z_a;var e=new gZc;e=_.B(e,
1,c.maxEntries);c=Dcd(c.options);c=_.y(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new hZc;d=_.B(d,1,c.minSize);c=_.B(d,2,c.maxSize);return _.xk(b,10,NN[0],c)},SELECTION:function(b,c){return b.N_a(Fcd(c))},SELECTION_LIST:function(b,c){var d=b.M_a;var e=new eZc;e=_.B(e,1,c.maxEntries);c=Fcd(c.options);c=_.y(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.o_a(Hcd(c))},INTEGER_LIST:function(b,c){var d=b.m_a;var e=new jZc;e=_.B(e,1,c.maxEntries);c=Hcd(c.options);c=_.y(e,2,c);return d.call(b,
c)},USER:function(b){return b.d0a(new lZc)},USER_LIST:function(b,c){var d=b.Xla,e=new mZc;c=_.B(e,1,c.maxEntries);e=new lZc;c=_.y(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Bla;var e=new nZc;e=_.B(e,4,c.dateFormat);var f=Icd(c.minValue);e=_.y(e,2,f);c=Icd(c.maxValue);c=_.y(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new kZc;d=_.B(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.B(d,2,vcd[e]);c=c[wcd(e)+"Options"];xcd(a,d,e,c);return _.xk(b,16,NN[0],d)}}},Jcd=function(a){return{BOOLEAN:function(b,
c){return b.setBooleanValue(c)},TEXT:function(b,c){return b.setTextValue(c)},TEXT_LIST:function(b,c){return b.Tla(c)},LONG_TEXT:function(b,c){return b.setLongTextValue(c)},SELECTION:function(b,c){return b.setSelectionValue(c)},SELECTION_LIST:function(b,c){return b.Ola(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Fla(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return b.setUserValue(_.mN(a.H,c))},USER_LIST:function(b,c){CZc(b,
c.map(function(d){return _.mN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},vcd={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};
var Kcd=function(a){a=a.personResponse;return t2c(new s2c,a.map(function(b){var c=b.person;b=q2c(new rO,b.personId);var d=b.qd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=_.B(b,3,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new p2c;c=_.B(d,1,c&&!c.isDefault?c.url:null);return _.y(b,4,c)}))};
var Lcd=function(a){this.H=a},Ncd=function(a,b){_.kN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return Mcd(a,c)})},Mcd=function(a,b){_.kN(["drive#teamDrive","drive#drive"],b);var c=new _.ena,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.B(c,2,d);_.B(c,1,b.backgroundImageLink);_.B(c,3,b.trusted);_.B(c,5,b.backgroundImageGridViewLink);_.B(c,6,b.backgroundImageListViewLink);_.B(c,7,b.hidden);_.B(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
GUc(c,d.map(function(e){_.kN(["drive#driveCategoryReference"],e);var f=new _.jl;return _.B(f,1,e.category)}));c=_.TOc(_.SOc(_.POc(_.QOc(FUc(_.LK((new _.ml).Tb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.pOc(_.WSc(b.capabilities),!0),_.AM(c,d));b.permissionsSummary&&_.ROc(c,_.lTc(a.H,b.permissionsSummary));b.restrictions&&IUc(c,Ocd(b.restrictions));return c},Ocd=function(a){var b=new uXc;b=_.B(b,1,a.copyRequiresWriterPermission);
b=_.B(b,2,a.disallowDriveFileStream);b=_.B(b,3,a.domainUsersOnly);return _.B(b,4,a.teamMembersOnly)};
var Pcd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},PVc=_.dg(Pcd);
var Qcd=function(a){_.kN(["drive#setting"],a);var b=new _.vb;b=_.B(b,2,a.key);b=_.B(b,1,Pcd[a.namespace]);return _.Uwa(new _.ep,b).Ob(a.value)};
var Scd=function(a){_.kN(["drive#workspaceList"],a);var b=a.items||[];b=w2c(new sO,b.map(function(c){return Rcd(c)}));return new _.NQc(b,s6c(a))},Rcd=function(a){_.kN(["drive#workspace"],a);var b=(new _.ZA).Tb(a.id).setTitle(a.title);b=_.B(b,3,_.lN(a.createdDate));return _.B(b,4,_.lN(a.modifiedDate)).Kd(Tcd[a.state])},Ucd=function(a,b,c){var d=c.item||[];return _.nUc(_.mUc(new _.uN,d.map(function(e){return Wbd(a,b,e)})),c.suggestionSessionId)},Wcd=function(a,b,c){var d=c.item||[];return k_c(j_c(new XN,
d.map(function(e){return Vcd(a,b,e)})),c.suggestionSessionId)},Vcd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return h_c(f_c(g_c(e_c(new WN,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Wbd(a,b,f)})),lP(c))},Xcd=function(a){var b=new TYc;a.kind&&(a=Rcd(a),_.y(b,2,a));b.Ec(1);return b},Tcd={active:1,archived:2};
var LVc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var Ycd=function(a,b,c,d){_.uTc.call(this,b);this.lm=a;this.ma=c;this.H=d;this.ha=null;this.ta=new Lad(this.W,b);this.V=new Lcd(this.lD);this.va=new Ubd(this.lD,this.V)};_.N(Ycd,_.uTc);var Zcd=function(a){a.ha||(a.ha=new ocd(a.W,a.ma));return a.ha};
Ycd.prototype.ka=function(a,b){if(a instanceof _.zL)return _.dTc(_.zTc(a));if(a instanceof _.AL)return _.wTc(this,a,b);if(a instanceof _.BNc)return $cd(this,a.request,b);if(a instanceof _.BL)return _.wTc(this,a,b);if(a instanceof _.DL){if(!b.json)throw _.nN();return TZc((new SZc).Ec(1),Mcd(this.V,b.json))}if(a instanceof _.CL)return _.wTc(this,a,b);if("undefined"!=typeof _.TM&&a instanceof _.TM)return new OYc;if(a instanceof _.FL)return add(a,b);if("undefined"!=typeof _.GL&&a instanceof _.GL)return Mbd(void 0,
a.ih());if("undefined"!=typeof _.HL&&a instanceof _.HL)return new D7c;if(a instanceof _.IL)return _.dTc(_.zTc(a));if("undefined"!=typeof _.JL&&a instanceof _.JL)return new PO;if(a instanceof _.KL)return _.dTc(_.zTc(a));if(a instanceof _.LL)return _.dTc(_.zTc(a));if("undefined"!=typeof _.OC&&a instanceof _.OC)return b=new W6c,a=a.getKey(),_.y(b,4,a);if(a instanceof _.ML)return add(a,b);if(a instanceof _.PL)return _.dTc(_.zTc(a));if(a instanceof _.yNc){if(!b.json)throw _.nN();return new g1c(b.json.exportJob.id)}if("undefined"!=
typeof _.QL&&a instanceof _.QL){if(!b.json)throw _.nN();a=b.json;b=new R6c;a=Lbd(a);return _.y(b,2,a).Ec(1)}if("undefined"!=typeof _.RL&&a instanceof _.RL)return bdd(a,b);if("undefined"!=typeof _.SL&&a instanceof _.SL){if(!b.json)throw _.nN();a=(new PO).Ec(1);b=_.eTc(this.lD,b.json);return _.y(a,2,b)}if(a instanceof _.$K){a:{if(!b.json)throw _.nN();if(a instanceof _.$K){if((a=a.Ad())&&_.TL(a)){b=Xbd(this.H,this.lm,b.json);break a}if(a&&_.UL(a)){b=Zbd(this.H,this.lm,b.json);break a}if(a&&_.VL(a)){b=
acd(this.H,this.lm,b.json);break a}}b=_.aTc(this.lD,b.json,b.headers)}return b}if("undefined"!=typeof _.WL&&a instanceof _.WL){if(!b.json)throw _.nN();return Tbd(b.json)}if(a instanceof _.XL){if(!b.json)throw _.nN();b=b.json;_.kN(["drive#appList"],b);a=new qO;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(Lbd(d[e]));a=_.jb(a,2,c);return _.B(a,4,b.defaultAppIds||[]).Ec(1)}if("undefined"!=typeof _.YL&&a instanceof _.YL){if(!b.json)throw _.nN();return Rbd(b.json)}if(a instanceof _.oL)return cdd(this,
b);if(a instanceof _.ZL){if(!b.json)throw _.nN();a=new U6c;d=this.lD;e=b.json;c=new LN;d=_.fTc(d,e,"items");c=_.jb(c,2,d);a=_.y(a,1,c);return _.B(a,2,s6c(b.json))}if("undefined"!=typeof _.$L&&a instanceof _.$L){if(!b.json)throw _.nN();a=this.lD;d=b.json;b=new HYc;_.kN(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.bTc(a,d[e]);c.push(f)}return _.jb(b,2,c)}if("undefined"!=typeof _.jN&&a instanceof _.jN)return ddd(a,b);if(a instanceof _.bM){if(!b.json)throw _.nN();return Kcd(b.json)}if(a instanceof
_.HNc){if(!b.json)throw _.nN();return scd(Zcd(this),b.json)}if(a instanceof _.NF){if(!b.json)throw _.nN();a=Zcd(this);c=b.json;b=new d7c;a=rcd(a,c);return _.y(b,2,a).Ec(1)}if(a instanceof _.cM){if(!b.json)throw _.nN();b=b.json;_.kN(["drive#remainingCount"],b);a=new e7c;c=b.nextPageToken;null!=c&&_.B(a,2,Number(c));_.B(a,1,Number(b.remainingCount));return a}if(a instanceof _.ip){if(!b.json)throw _.nN();return(new _.$A).uv([Mcd(this.V,b.json)])}if(a instanceof _.nM){if(!b.json)throw _.nN();a=(new _.$A).uv(Ncd(this.V,
b.json));a=_.ARc(new _.dN,a);return _.B(a,3,s6c(b.json))}if("undefined"!=typeof _.gM&&a instanceof _.gM)return bdd(a,b);if(a instanceof _.hM)return $cd(this,a,b);if(a instanceof _.mL)return _.wTc(this,a,b);if(a instanceof _.iM)return _.wTc(this,a,b);if(a instanceof _.jM)return edd(this,b);if("undefined"!=typeof _.PC&&a instanceof _.PC){if(!b.json)throw _.nN();b=Qcd(b.json);a=new W6c;a=_.y(a,3,b);b=b.getKey();return _.y(a,4,b)}if(a instanceof _.kM)return add(a,b);if(a instanceof _.VK){if(!b.json)throw _.nN();
return Pad(this.ta,b.json)}if("undefined"!=typeof _.lM&&a instanceof _.lM){if(!b.json)throw _.nN();b=Rcd(b.json);a=new _.YM;a.YQ().set(b.getId(),b);return a}if(a instanceof _.ANc){if(!b.json)throw _.nN();a=b.json;b=new c1c;a=_.m(Object.entries(a));for(c=a.next();!c.done;c=a.next())switch(d=_.m(c.value),c=d.next().value,d=d.next().value,c){case "nextPageToken":_.rk(b,2,d);break;case "activities":c=tbd(d),_.jb(b,1,c)}return b}if(a instanceof _.CNc)return edd(this,b);if("undefined"!=typeof _.GNc&&a instanceof
_.GNc)return cdd(this,b);if(a instanceof _.DNc){if(!b.json)throw _.nN();return new f1c}if(a instanceof _.ENc){if(!b.json)throw _.nN();return OVc(b)}if(a instanceof _.BC){if(!b.json)throw _.nN();c=b.json;b=new _.gp;_.kN(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=Qcd(c[d]))&&a.push(e);return _.Wwa(b,a)}if(a instanceof _.hp){if(!b.json)throw _.nN();return Wcd(this.H,this.lm,b.json).Ec(1)}if("undefined"!=typeof _.fM&&a instanceof _.fM){if(!b.json)throw _.nN();return Ucd(this.H,
this.lm,b.json)}if(a instanceof _.MNc){if(!b.json)throw _.nN();a=b.json;_.kN(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new J6c;a=_.B(c,1,a);return _.B(a,2,b)}if(a instanceof _.LNc)return new h1c(s6c(b.json?b.json:{}));if(a instanceof _.ONc){if(!b.json)throw _.nN();return Scd(b.json)}if("undefined"!=typeof _.CN&&a instanceof _.CN)return edd(this,b)};
var add=function(a,b){if(!b.json){if(a instanceof _.ML)return Xcd({});throw _.nN();}return Xcd(b.json)},edd=function(a,b){if(!b.json)throw _.nN();a=Mcd(a.V,b.json);return(new _.pM).Ec(1).setItem(a)},$cd=function(a,b,c){if(!c.json)throw _.nN();return qcd(Zcd(a),b,c.json)},bdd=function(a,b){if(!b.json)throw _.nN();return Mbd(b.json,a.ih())},cdd=function(a,b){if(!b.json)throw _.nN();a=a.va;var c=b.json;_.kN(["drive#about","drive#changeList"],c);b=new n2c;var d=c.nextPageToken;null!=d&&_.B(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.B(b,3,Number(d));if("drive#changeList"==c.kind){_.kN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.kN(["drive#change"],h);var k=new _.dL;k=_.B(k,1,Number(h.id));h.teamDriveId?(_.SMc(k,h.teamDriveId),_.gL(k,h.teamDriveId)):_.gL(k,h.fileId);h.file?k.setItem(_.YSc(f.H,h.file)):h.teamDrive&&k.setItem(Mcd(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.qL(k);d.push(k)}_.jb(b,4,d)}return b},ddd=function(a,b){var c=new F7c;if(a.H().length){var d=
[];SUc(a.H(),b.headers).forEach(function(e,f){var h=new _.cKc;e=_.B(h,1,f).Ob(e);d.push(e)});_.jb(c,1,d)}G7c(c,b.json?JSON.stringify(b.json):b.text);return c};
var gdd=function(a){var b=new _.$p;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(fdd[a]);_.QM(b,c.join(" "))}return b.toString()},hdd={},fdd=(hdd[1]="active",hdd[2]="archived",hdd);
var idd=function(a,b,c,d){_.oN.call(this,b,c,a.lZa,d);this.ka=a;this.ma=new N1c(_.OM(c),b)};_.N(idd,_.oN);
idd.prototype.W=function(a,b,c){var d=this;try{return _.oN.prototype.W.call(this,a,b,c)}catch(T){}var e=0,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.AL){h="POST";var p="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var r=t6c(a);f["content-type"]="application/json";l=n=!0}else if(a instanceof _.BL){h="POST";p="files/"+a.Oc()+"/authorize";k.appId=a.ih();_.H(a,3)&&(k.propagate=!0);var u=a.Ae();n=!0;_.NM(k);_.sM(this.H,[],[a.Oc()],this.V,f)}else if("undefined"!=
typeof _.CN&&a instanceof _.CN)p="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=a.H(),r),f["content-type"]="application/json",k.fields=jO(this.H,[],!0),u=a.Ae(),n=!0;else if(a instanceof _.CNc)h="POST",p="teamdrives/"+a.requestId,k.fields=jO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.Ae(),n=!0;else if(a instanceof _.FL)h="POST",p="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",r=v6c(a),f["content-type"]=
"application/json",u=a.Ae(),n=!0;else if(a instanceof _.CL)h="POST",p="files/"+a.getId()+"/copy",k.fields=_.qNc({fields:this.Lg(c),qz:_.tL(_.UK(this.H)),SN:_.ZK(this.H)}),k.convert=_.F(a,4,!1),r=u6c(a),f["content-type"]="application/json",u=a.Ae(),a=_.Hd(a,3).concat([a.getId()]),_.sM(this.H,[],a,this.V,f),n=!0,_.NM(k),_.LTc(this.H,k);else if("undefined"!=typeof _.GL&&a instanceof _.GL)h="DELETE",p="apps/"+a.ih(),k.appId=a.ih(),k.deleteAppData=!!a.H(),u=a.Ae(),n=!0;else if("undefined"!=typeof _.HL&&
a instanceof _.HL)h="DELETE",p="backups/"+a.getId(),e=9;else if(a instanceof _.IL)h="DELETE",p="files/"+a.getId(),u=a.Ae(),n=!0,_.NM(k),_.LTc(this.H,k),_.sM(this.H,[],[a.getId()],this.V,f);else if("undefined"!=typeof _.JL&&a instanceof _.JL)h="DELETE",p="files/"+a.Oc()+"/permissions/"+a.H(),u=a.Ae(),n=!0,_.NM(k);else if(a instanceof _.KL)h="DELETE",p="files/"+a.Oc()+"/revisions/"+_.C(a,2),u=a.Ae(),n=!0,_.sM(this.H,[],[a.Oc()],this.V,f);else if(a instanceof _.LL)h="DELETE",p="teamdrives/"+a.getId(),
u=a.Ae(),n=!0;else if("undefined"!=typeof _.OC&&a instanceof _.OC)h="DELETE",u=a.getKey(),p="settings/"+_.C(u,2),_.fp(u)&&(k.namespace=PVc[_.fp(u)]),u=a.Ae(),n=!0;else if(a instanceof _.ML)h="DELETE",p="workspaces/"+a.getId(),u=a.Ae(),n=!0;else if(a instanceof _.PL)h="DELETE",p="files/trash",u=a.Ad().Ae(),n=!0,_.LTc(this.H,k);else if("undefined"!=typeof _.QL&&a instanceof _.QL)p="apps/"+a.ih(),u=a.Ae(),n=!0,k.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 _.WL&&a instanceof _.WL)p="backups/"+a.getId()+"/items",e=9,k.languageCode=IN(_.UK(this.H));else if("undefined"!=typeof _.RL&&a instanceof _.RL)h="POST",p="apps",k.appId=a.ih(),u=a.Ae(),n=!0;else if("undefined"!=typeof _.SL&&a instanceof _.SL)h="POST",p="files/"+a.Oc()+"/permissions",k.fields=_.ZK(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",
k.emailMessage=a.Imb()||"",k.sendNotificationEmail=!a.Hnb(),r={},1==a.Lf()?r.role="owner":3==a.Lf()?r.role="writer":4==a.Lf()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Lf()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.$a()&&(r.value=a.$a()),r.withLink=!a.Smb(),f["content-type"]="application/json",u=a.Ae(),n=!0,_.NM(k);else if(a instanceof _.yNc)e=8,h="POST",
p="/v1/exports",f["content-type"]="application/json",r=_.Hd(a,1).map(function(T){if(_.F(d.H,89,!1)){var ca=_.kRc(d.V,T);if(null!==ca)return{id:T,resource_key:{resource_key:ca}}}return{id:T}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.$K||"undefined"!=typeof _.TM&&a instanceof _.TM||a instanceof _.hp||"undefined"!=typeof _.fM&&a instanceof _.fM)if(b=a instanceof _.$K?a.Ad():a,_.rM(b)){e=10;h="POST";p="/v1/items";f["content-type"]="application/json";
r={};var z=9==_.HM(this.H)?"WEB_MOBILE":"WEB_DESKTOP",A={};A.applicationType=W1c(this.H);A.platformType=z;A.languageCode=IN(_.UK(this.H));A.timeZone=(new _.Mv).x7();A.requestType="LIVE_REQUEST";a instanceof _.$K&&(z=a.getOptions())&&_.F(z,10,!1)&&(A.requestType="BACKGROUND_REQUEST");b instanceof _.Ie?_.TL(b)?(T1c(this.ma)?A.scenarioType="ONE_PICK":A.scenarioType="QUICK_ACCESS",2==_.FM(b)&&(r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Hd(b,33)[0]}),_.DM(b).length&&(r.itemType=V1c(b))):
_.UL(b)?A.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.VL(b)&&(A.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.TM&&b instanceof _.TM?(p="/v1/userfeedback",r.userFeedback=b.H().map(function(T){var ca=T.H(),ja={},oa={};oa.feedbackType=UZc[ca.getType()];ja.item=oa;ja.clientInfo=A;switch(T.getFeature()){case 1:A.scenarioType="DRIVE_PRIORITY";oa.itemId=ca.Oc();break;case 3:A.scenarioType="QUICK_ACCESS";oa.itemId=ca.Oc();break;case 2:A.scenarioType="DRIVE_WORKSPACES",oa.itemId=ca.Oc(),oa.childItem=
ca.H().map(function(Ga){var la={};la.itemId=Ga.Oc();return la})}return ja})):b instanceof _.hp?A.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.fM&&b instanceof _.fM?(A.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Yp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.H()}]):_.OTc(a);"undefined"!=typeof _.TM&&b instanceof _.TM||(r.maxSuggestions=b.ki(),r.clientInfo=A)}else{u=b.Ae();n=!0;
p="files";k.q=_.lQc(b);z=[];var E;(E=_.lL(this.H))&&_.F(E,4,!1)?(E=_.xa(this.Lg(c),this.Lg(c,b.H())),_.Fa(E)):E=_.ya(this.Lg(c));var I=void 0,L=!1;0<_.vk(b,_.yl,5).length&&(I=_.C(this.H.Pf(),50),L=!0);k.fields=xUc({fields:E,qz:_.tL(_.UK(this.H)),i4:I||void 0,SN:_.ZK(this.H),dvb:L});k.appDataFilter="NO_APP_DATA";0<_.vk(b,_.CM,25).length&&(k.sources=_.eQc(b));0<b.Sw().length&&(k.spaces=_.fQc(b));a.wo()&&(k.pageToken=a.wo());(a=a.getOptions())&&_.gk(a,1,1E3)&&(k.maxResults=_.gk(a,1,1E3));_.F(b,36,!1)&&
(k.includeUnsubscribed=!0);_.C(b,43)&&(k.rawUserQuery=_.C(b,43));_.NM(k);k.includeItemsFromAllDrives=_.F(b,66,!0);0<_.Hd(b,33).length&&2==_.FM(b)&&(a=_.Hd(b,33)[0],k.teamDriveId=a,z.push(a));k.corpora=_.HPc[_.FM(b)];_.H(b,18)&&(_.ag(k,"corpora"),k.corpus="DOMAIN");a=_.EM(b);E=_.vk(b,_.BM,35);I=_.vk(b,_.BM,38);z=z.concat(a.filter(function(T){return!_.F(T,2,!1)}).map(function(T){return T.$a()})).concat(E.map(function(T){return T.$a()})).concat(I.map(function(T){return T.$a()}));_.sM(this.H,_.vk(b,_.Al,
63),z,this.V,f);VUc(k,b.Pc());_.MTc(this.H,k);_.NTc(this.H,k);_.D(b,_.dda,64)&&(a=vXc(_.D(b,_.dda,64)),a=_.Dj(a,4),k.searchSessionData=a)}else if(a instanceof _.XL){p="apps";switch(a.getType()){case 1:k.fields=jdd;break;case 2:k.fields=kdd;break;case 4:k.fields=ldd;break;case 3:e=5,p="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",k.appQueryScope=
"all_webstore",b.xy=!0}k.languageCode=IN(_.UK(this.H));0<_.Hd(a,3).length&&(k.appFilterExtensions=_.Hd(a,3).join(","));0<_.Hd(a,4).length&&(k.appFilterMimeTypes=_.Hd(a,4).join(","));u=a.Ae();n=!0}else if("undefined"!=typeof _.YL&&a instanceof _.YL)p="backups",e=9,k.languageCode=IN(_.UK(this.H));else if(a instanceof _.oL)p="changes",k.includeDeleted=_.F(a,3,!0),k.includeSubscribed=_.F(a,4,!0),k.maxResults=a.wO(),k.startChangeId=_.C(a,1),k.fields=wUc({fields:this.Lg(c),i4:jO(this.H,_.Hd(a,5)),qz:_.tL(_.UK(this.H)),
SN:_.ZK(this.H)}),k.appDataFilter="NO_APP_DATA",a.Fc()||(k.filters="DRIVE_DATASERVICE"),u=_.Hd(this.H.Pf(),31),u.length&&(k.spaces=_.ib(u,function(T){return _.eKc[T]}).join(",")),_.NM(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Fc()&&(k.teamDriveId=a.Fc()),u=a.Ae(),n=!0;else if(a instanceof _.ZL)b=a.Ad(),p="files/"+b.getId()+"/permissions",k.fields=_.ZK(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.wo()&&(k.pageToken=a.wo()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.Ae(),n=!0,_.NM(k),_.MTc(this.H,k),_.NTc(this.H,k),_.sM(this.H,[],[b.getId()],this.V,f);else if("undefined"!=typeof _.$L&&a instanceof _.$L)k.fields=_.ZK(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))",k.maxResults=a.ki(),p="files/"+a.Oc()+"/revisions",u=a.Ae(),n=!0,_.sM(this.H,[],[a.Oc()],this.V,f);else if(a instanceof _.ip)p="teamdrives/"+a.Ql()[0],k.fields=jO(this.H,a.H()),u=a.Ae(),n=!0;else if(a instanceof _.LNc)h="POST",p="admin/files/migrateToTeamDrivePreFlight",a.request.ka()&&(k.useDomainAdminAccess=!0),r=w6c(a),f["content-type"]=
"application/json",n=l=!0,_.sM(this.H,[],a.request.H(),this.V,f);else if(a instanceof _.nM)u=a.Ad(),p="teamdrives",k.fields=m1c(this.H,u.H()),k.q=E1c(u),a.wo()&&(k.pageToken=a.wo()),(u=(u=a.getOptions())&&_.gk(u,1,1E3))&&(k.maxResults=u),u=a.Ad().Ae(),n=!0;else if(a instanceof _.MNc)p="teamdrives/"+a.Fc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",n=l=!0;else if("undefined"!=typeof _.gM&&a instanceof _.gM)h="PUT",p="apps/"+a.ih(),k.appId=a.ih(),r={},r.useByDefault=a.V(),a.H()&&(r.hasAppData=
!1),f["content-type"]="application/json",u=a.Ae(),n=!0;else if(a instanceof _.mL)h="PUT",p="files/"+a.getId(),k.fields=_.qNc({fields:this.Lg(c),qz:_.tL(_.UK(this.H)),SN:_.ZK(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.H(a,15),k.fileId=a.getId(),_.Hd(a,9).length&&(k.addParents=_.Hd(a,9).join(",")),_.Hd(a,10).length&&(k.removeParents=_.Hd(a,10).join(",")),_.Hd(a,31).length&&(k.addWorkspaces=_.Hd(a,31).join(",")),_.Hd(a,32).length&&(k.removeWorkspaces=_.Hd(a,32).join(",")),null!=
_.H(a,24)&&(k.confirmed=_.H(a,24)),k.languageCode=IN(_.UK(this.H)),r=x6c(a),f["content-type"]="application/json",u=a.Ae(),n=!0,_.NM(k),this.ha(a.getId(),k),_.H(a,36)?k.bypassMultiparentingCheck=!0:_.LTc(this.H,k),b=_.Hd(a,9).concat(_.Hd(a,10)),b.push(a.getId()),_.sM(this.H,_.vk(a,_.Al,38),b,this.V,f);else if(a instanceof _.iM)h="PUT",p="files/"+a.Oc()+"/revisions/"+_.C(a,2),r=y6c(a),f["content-type"]="application/json",u=a.Ae(),_.sM(this.H,[],[a.Oc()],this.V,f);else if(a instanceof _.jM)p="teamdrives/"+
a.getId(),null!=a.Pl()?(h="POST",p+="/"+(a.Pl()?"hide":"unhide")):(h="PUT",r=z6c(a),f["content-type"]="application/json"),k.fields=jO(this.H),u=a.Ae(),n=!0;else if(a instanceof _.kM)h="PUT",p="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=A6c(a),f["content-type"]="application/json",u=a.Ae(),n=!0;else if("undefined"!=typeof _.PC&&a instanceof _.PC)h="PUT",r=a.H(),u=r.getKey(),p="settings/"+_.C(u,2),(u=_.fp(u))&&(k.namespace=PVc[u]),r=QVc(r),f["content-type"]="application/json",
u=a.Ae(),n=!0;else if(a instanceof _.VK)p="about",k.fields=_.ZK(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)",
k.fields=TVc(k.fields,this.H),k.fields=UVc(k.fields,this.H),u=a.Ae(),n=!0;else if("undefined"!=typeof _.jN&&a instanceof _.jN){e=11;h=a.oy();p=a.getUrl();var S=a.ma()||"";a.va().forEach(function(T){f[T.getKey()]=T.$a()});a.Ba().forEach(function(T){k[T.getKey()]=T.$a()});a.Ea()&&(b.XDb=!0);a.ka()&&(b.xy=!0);a.V()&&(b.$ja=!0)}else a instanceof _.BNc?(b=a.request.Oc(),p="files/"+b+"/listCategoryMetadata",u=a.request.Ae(),a.pageToken&&(k.pageToken=a.pageToken),a.request.ki()&&(k.maxResults=a.request.ki()),
k.fields="kind,nextPageToken,categoryMetadata",_.sM(this.H,[],[b],this.V,f)):a instanceof _.hM?(f["content-type"]="application/json",h="POST",b=a.Oc(),p="files/"+b+"/updateCategoryMetadata",u=a.Ae(),r={categoryMetadata:a.SS().map(function(T){var ca=_.vk(T,_.OF,2).map(function(oa){return{id:oa.getId(),userId:oa.sy(),setBooleanValue:_.H(oa,3),setTextValue:_.C(oa,4),setTextValues:_.Hd(oa,6),addTextValues:_.Hd(oa,5),setLongTextValue:_.C(oa,7),setSelectionValue:_.C(oa,8),setSelectionValues:_.Hd(oa,10),
addSelectionValues:_.Hd(oa,9),setIntegerValue:_.C(oa,11),setIntegerValues:_.Hd(oa,13),addIntegerValues:_.Hd(oa,12),setUserValue:_.C(oa,14),setUserValues:_.Hd(oa,16),addUserValues:_.Hd(oa,15),setDateStringValue:_.C(oa,17)}}),ja={categoryName:T.om()};ca.length?ja.categoryAttributeValueDeltas=ca:_.Hd(T,4).length?ja.revertAttributeIds=_.Hd(T,4):_.H(T,3)&&(ja.removeCategory=_.H(T,3));return ja})},_.sM(this.H,[],[b],this.V,f)):a instanceof _.bM?(e=13,p=_.tL(_.UK(this.H))?"/v2/people/public":"/v2/people",
k.person_id=a.Ql(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.tL(_.UK(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.HNc?(e=12,p="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.ki()&&(k.maxResults=
a.request.ki()),k.$outputDefaults=!0,k.languageCode=IN(_.UK(this.H))):a instanceof _.NF?(e=12,p="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=IN(_.UK(this.H))):a instanceof _.DL?(f["content-type"]="application/json",h="POST",p="drives/"+a.Fc()+"/changeCategoryReferences",u=a.Ae(),n=!0,k.fields=jO(this.H,[157],!0),r={},b=_.vk(a,_.jl,2),b.length&&(r.addCategoryReferences=b.map(function(T){return{category:T.om()}})),a=_.vk(a,_.jl,3),a.length&&(r.removeCategoryReferences=
a.map(function(T){return T.om()}))):"undefined"!=typeof _.lM&&a instanceof _.lM?(p="workspaces/"+a.Ql()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.Ae(),n=!0):a instanceof _.ANc?(e=7,h="POST",p="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),a.request.xnb()?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}}):a instanceof _.DNc?(e=8,h="POST",p="/v1/exports/"+a.H+
":cancel"):a instanceof _.ENc?(e=8,p="/v1/exports/"+a.H):"undefined"!=typeof _.GNc&&a instanceof _.GNc?(p="changes",k.fields="kind,largestChangeId",_.NM(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,n=!0):a instanceof _.BC?(p="settings",u=_.Hd(a,3),k.namespace=RVc(u),u=a.Ae(),n=!0):a instanceof _.ONc?(p="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.ki()&&(k.maxResults=
a.request.ki()),k.q=gdd(a.request),(u=a.request.Nt())&&1==u.getType()&&(k.orderBy="title"),u=a.request.Ae(),n=!0):a instanceof _.cM?(p="changes/getRemainingCount",k.pageToken=_.C(a,2),_.bk(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Fc()),u=a.Ae()):a instanceof _.zL?(f["content-type"]="application/json",h="POST",p="files/"+a.Oc()+"/sendAccessRequest",r={},l=!0):_.OTc(a);n&&_.PTc(c,k);0!=e||l||u&&_.C(u,1)||_.VQc(this.Vd,74438989);return _.QTc(e,p,k,f,h,u,r,S)};
idd.prototype.ha=function(a,b){a=this.ka.Ll.H(a);b.expectedParentIds=a?a.Fj().join(","):[]};
var jdd=SVc("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"),kdd=
SVc("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"),
ldd=SVc("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");
var mdd=function(a,b,c,d,e,f,h,k,l,n,p,r,u,z,A,E,I,L,S,T,ca,ja,oa){this.ola=_.di();this.hpa=new _.$Qc;var Ga=new _.CRc(this.uH.bind(this),function(){return ca("w8KrJc")}),la=new Jad(b.Ll),Ca=new Aad(Ga);c=new rad(b,f,new lad(d,e,c),h,this.ola.promise,k,l,c,ca);d=new Iad(b,n,p,r,u,d,e,E,k);this.V=new _.cRc(a,z);z=new idd(b,a,k,ja);this.mva=new Ycd(k,a,A,E);this.H=r6c(a,new _.SSc(this.V,this.hpa,z,this.mva,I,L,S),L,A,T,b.Ll,this.hpa,this.ola.promise,S||void 0);this.ola.resolve(oa?oa:new _.tSc(new Kad,
la,Ca,this.H,Ga,c,d,a))};mdd.prototype.uH=function(){return _.Wf(this.H,function(a){return a.uH()})};var j8c=function(a){var b=new Map,c=Date.now();_.Tf(a.H,function(d,e){d=KYc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var odd=function(a,b){var c=this;this.context=a;this.lm=b;this.ma=null;this.ka=0;this.ta=this.Ba=!1;this.H=this.Ia=null;this.W={};this.Qa=this.Ma=!1;this.Ea=a.tm();this.ha=_.di();this.V=a.Vc;this.Va=_.lL(this.V)||new _.AMc;b=_.JN(this.V);this.Ka=new _.iRc(_.gk(b,2,37500),_.gk(b,3,6E5));this.va=a.QN;_.Tf(b2c,function(d){c.W[d]=[]});uO(a.Wj,["hVFf7","T8oKm","BNEDtc"],function(){mP(c,"Initializing: loaded from local dump");ndd(c)});uO(a.Wj,["hVFf7","T8oKm","mrK8ic"],function(){mP(c,"Initializing: loaded from sdk backfill");
ndd(c)});uO(a.Wj,["mrK8ic","BNEDtc"],function(){mP(c,"Updating: sdk backfill complete");c.wQ().ig(_.nf)})},ndd=function(a){a.Ma||(a.Ma=!0,bP(a.context).addCallback(function(b){a.va.initialize().Zf(function(){a.ma=b;a.setActive(!0)},function(c){c&&tYc(a.context.dg(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.vL(c));mP(a,"Error initializing dump storage");a.RU()})}))};_.g=odd.prototype;_.g.cka=function(a){this.Ba&&(this.ka+=a,this.ka>_.gk(_.JN(this.V),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.ma||this.ta)&&this.Ba!=a){var b=this.context;a&&(b.cT().uH()||0<b.jg.DJ.Fka||b.ik.jf()||b.Ml.jf())||((this.Ba=a)?(this.ha.resolve(),this.H||this.wQ().ig(_.nf)):(this.ha=_.di(),_.q.clearTimeout(this.Ia)))}};_.g.RU=function(){this.ta=!0};_.g.SRa=function(){return this.H?this.H.promise:_.Zh()};
_.g.wQ=function(){var a=this;if(this.H)return this.H.promise;this.H=_.di();_.ei(this.H.promise,function(){a.H=null});var b=this.Ea.V(106021)||void 0;this.ha.promise.then(function(){return l6c(a.context.xB)}).then(function(c){var d=!c;return a.ta?d:_.bi([pdd(a,3,d,void 0,void 0,b),pdd(a,0,d,void 0,!0,b),pdd(a,1,d,void 0,!0,b),pdd(a,5,d,void 0,!0,b),pdd(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Sb("Failed to update dump",void 0,_.vL(e));return _.$h(e)})},function(){return _.$h(Error("dg"))}).then(function(c){a.H.resolve(c);
b&&(c=AYc(b),_.B(c,2,!0),b.xk())},function(c){a.H.reject(c);b&&(c=AYc(b),_.B(c,2,!1),b.xk())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.gi,e=this.Ea.V(106021)||void 0;e&&(qYc(AYc(e),_.VM(_.uMc,a)),d.then(function(){var f=AYc(e);_.B(f,2,!0);e.xk()},function(){var f=AYc(e);_.B(f,2,!1);e.xk()}));this.ha.promise.then(function(){return l6c(c.context.xB)}).then(function(f){f=!f;c.ta?d.callback():_.ji(pdd(c,a,f,b,void 0,e),d)});return d};
var pdd=function(a,b,c,d,e,f){var h=_.ha(a.W[b]);if(h){if(h.encrypt==c&&1<a.W[b].length)return h.kg.km();var k=new _.gi;_.ii(h.kg,function(){_.ji(qdd(a,b,c,d,e,f),k)})}else k=qdd(a,b,c,d,e,f);var l={encrypt:c,kg:k};a.W[b].push(l);_.ii(k,function(){_.wa(a.W[b],function(n){return l==n})});k.hf(function(n){a.va.W.Ch()?a.RU():n instanceof _.Sb&&(n=n.V||null,n instanceof _.QK&&"InvalidStateError"==n.getName()&&n.message&&-1<n.message.indexOf("The database connection is closing.")&&a.RU());return null});
return k},qdd=function(a,b,c,d,e,f){var h=new _.gi;a.ha.promise.then(function(){if(3==b)_.ji(rdd(a,d||!1,c,f),h);else{switch(b){case 0:var k=a.context.qN;k=k.H?_.Ek(k.H):null;break;case 1:k=a.context.QX.Rq();break;case 5:k=sdd(a.context.KD);break;case 6:k=a.context.jg.ms;k=t2c(new s2c,w3c(k.H));break;default:h.Ud("Invalid data type to write to storage.");return}if(k){var l=_.vk(_.JN(a.V),HN,11)[0].getKey();!l&&c?(mP(a,"Skipping dump update, encrypted and no key"),h.callback()):g5c(a.va,c?l:null,[k],
f).then(h.callback,h.Ud,h)}else e?(mP(a,"Skipping dump update: "+b),h.callback()):h.Ud("Failed to get data to write to dump.")}});return h},rdd=function(a,b,c,d){_.q.clearTimeout(a.Ia);a.Ia=_.q.setTimeout((0,_.v)(a.hb,a),a.Ka.$a());if(b&&0==a.ka)return _.li();a.ka=0;var e=_.vk(_.JN(a.V),HN,11)[0].getKey();if(!e&&c)return mP(a,"Skipping dump update, encrypted and no key"),_.li();var f=[];_.Tf(a1c,function(k){0<k&&(k=tdd(a,k),k.length&&f.push(g5c(a.va,c?e:null,k,d)))});var h=new _.gi;_.bi(f).then(function(){a.Qa&&
k6c(a.context.xB,h6c,!0);h.callback()},h.Ud,h);return h};odd.prototype.hb=function(){_.YG(this.Ka);this.update(3,!0)};
var tdd=function(a,b){switch(b){case 1:return[udd(a)];case 2:var c=(b=a.context.jg.Bv.H)?b.by():[];c=vdd(a,_.Uc(rVc(c)));mP(a,"Exporting "+c.length+" secondary dump items.");c.length>_.gk(_.JN(a.V),5,2E4)&&(b&&R2c(b),c=[]);c=V0c(new hO,wdd(c));var d=a.context.jg.Bv;a=new CVc;(d=d.H)&&d.UK&&(d=d.by(),_.B(a,3,d.length));c=_.y(c,11,a);c=$0c(c,2);b&&Y0c(c,b.aP());return[c];case 3:return xdd(a);case 4:return ydd(a);default:throw new _.Sb("Unsupported CacheType");}},udd=function(a){for(var b={},c=[],d=
e3c(a.context.jg.Bv,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.by(),l=vdd(a,qVc(k));k=l.length;var n=0<k?l[k-1]:null;_.La(l,function(p){b[p.getId()]=p});if(0<k||h.H)l=S0c(new gO,h.Ad()),h.H||(_.B(l,2,k),_.y(l,3,n),e=!1),c.push(l)}d=_.Uc(b);mP(a,"Exporting "+d.length+" initial dump items.");return Y0c($0c(X0c(V0c(W0c(Z0c((new hO).jt(a.context.en()),_.OM(a.lm)),a.ma.IZ(null)),wdd(d)),c),1),!e)},xdd=function(a){var b=[],c=a.ma;a.context.jg.Bv.fT().forEach(function(d){var e=c.IZ(d.Fc());if(e){var f=
vdd(a,qVc(d.by()));mP(a,"Exporting "+f.length+" TD dump items for: "+d.Fc());e=Y0c($0c(W0c(V0c(new hO,wdd(f)),e),3),d.aP(d.Ad()));d=S0c(new gO,d.Ad());X0c(e,[d]);b.push(e)}});return b},ydd=function(a){var b={},c=[];a.context.jg.fT().forEach(function(d){1==d.hK()&&null==_.H(d.Ad(),6)&&(qVc(d.by()).forEach(function(e){b[e.getId()]=e}),d=T0c(S0c(new gO,new _.Ie),d.Ad()),c.push(d))});return[Y0c($0c(X0c(V0c(new hO,wdd(Object.values(b))),c),4),!1)]},vdd=function(a,b){b=ZUc(b);_.H(a.V,67)&&(b=zdd(b));_.ZK(a.V)&&
(_.F(a.Va,9,!1)?Q3c(a.context.jg.ms,b)&&(_.VQc(a.Ea,179490965),b=O3c(a.context.jg.ms,b)):b=O3c(a.context.jg.ms,b));return b.filter(function(c){return 4!=AN(c)})},zdd=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,OUc(c)?(c=c.clone(),yUc(c,NUc),b.push(c)):b.push(c);return b},wdd=function(a){return a.map(function(b){return _.Ek(b)})},mP=function(a,b){a.context.dg().info("drive.ds.sync.storage.LiveDumpUpdater",b)};odd.prototype.Uza=function(){this.Qa=!0};
var Add=function(){};_.g=Add.prototype;_.g.setActive=function(){};_.g.RU=function(){};_.g.update=function(){return _.li()};_.g.SRa=function(){return _.Zh()};_.g.wQ=function(){return _.Zh()};_.g.cka=function(){};_.g.Uza=function(){};
var EN=function(a,b,c,d){_.Q.call(this);var e=this;this.Da=a;this.ka=null;this.Ea=!0;this.ha=null;this.ma=[];this.Ia=d||new _.OPc;this.Vc=b.clone();this.UD=new _.XPc(this.Vc);this.Am=new N1c(_.OM(this.UD),this.Vc);Bdd(this);this.K0=new _.Zn;this.Fb=_.q.setTimeout(function(){e.dg().info("drive.ds.sync.ThinContext","Page stable timed out.");e.K0.resolve();e.tm().H(106020)},1E4);this.nla=new _.gi;this.ik=new _.DQc(_.IM(this.Vc),_.F(this.Vc.Pf(),52,!1));this.Ml=new _.uQc(_.IM(this.Vc)?3:1,!_.F(this.Vc.Pf(),
52,!1));this.V=_.WQc(this.Vc,this.ik,this.Ml,this.Ia,this.K0.promise,c);this.hla=new f2c(this.V);this.OR=new _.gi;Cdd(this)};_.N(EN,_.Q);EN.prototype.n9=function(){this.dg().info("drive.ds.sync.ThinContext","Notified of page stable.");_.q.clearTimeout(this.Fb);this.K0.resolve()};var Cdd=function(a){var b=function(){a.vx().ig(_.nf)},c=a.Da;(c=c&&_.Ob(c,_.Qk))?_.ne(c,"A",b):_.zMc()||_.ne(_.q,"unload",b)};
EN.prototype.vx=function(){this.V.H(106005);this.V.Fw();var a=this.ma.map(function(b){return b()});_.sa(this.ma);return _.ci(a).then()};var Ddd=function(a,b){a.ma.push(b)};_.g=EN.prototype;_.g.dg=function(){return this.Ia};_.g.jt=function(a,b){"string"===typeof a&&null===this.ka&&(this.ka=a,this.nla.callback(a),a.length&&this.I_a(a,b||null))};_.g.I_a=function(){};_.g.en=function(){return this.ka};_.g.tm=function(){return this.V};
var Edd=function(a){if(!a.ha)throw Error("eg");return a.ha},Fdd=function(a,b){a.ha=b};EN.prototype.Sz=function(){return this.Ea||this.Ml.isConnected()};EN.prototype.rHb=function(a){this.OR.callback(a)};
var Bdd=function(a){var b=a.Vc.Pf();0==_.Hd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.B(b,19,3));if(!_.G(b,37,""))throw Error("fg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.B(b,57,"https://clients6.google.com"));if(_.F(_.JN(a.Vc),9,!1))if(b=_.vk(_.JN(a.Vc),HN,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.IM(a.Vc)&&!_.F(a.Vc,10,!1))throw Error("gg");}else _.B(_.JN(a.Vc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.F(_.JN(a.Vc),9,!1)&&(_.IM(a.Vc)||_.F(a.Vc,10,!1)))throw Error("hg");var c=_.UK(a.Vc);b=!(!c||!_.tL(c));c=c&&_.GM(c)||"";if(!b&&!c)throw Error("ig");b&&_.nk(a.Vc,44);_.vk(a.Vc,_.Ie,44).forEach(function(d){try{R1c(a.Am,d)}catch(e){if(e instanceof _.Sb&&(d=e.hh)&&3==d.Er())throw Error("jg");throw e;}})};EN.prototype.NN=function(a){this.dispatchEvent(new _.Tb(new _.Sb(void 0,a)))};EN.prototype.log=function(a){this.dg().info("drive.ds.sync.ThinContext",a)};
var Gdd=function(a,b){this.H=a;this.Fg=b};
var Hdd=new Set([5,4,1,6,2]),Idd=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),Jdd=function(a,b,c){_.Q.call(this);this.ma=a;this.ha=b;this.ka=c;this.cC=new Map;this.W=new Map;this.V=6;this.H=null};_.N(Jdd,_.Q);
Jdd.prototype.zN=function(a,b,c,d){var e=this;if((d=void 0===d?!1:d)&&!c.length){var f=new Set;a.forEach(function(p){(p=(p=p.getKey())&&_.fp(p))&&f.add(p)});[].concat(_.Sc(f.values())).forEach(function(p){return void c.push(p)})}if(c.length){var h=Hdd.has(b),k=new Map;c.forEach(function(p){k.set(p,new Map)});a.forEach(function(p){var r=p.getKey(),u=r&&_.fp(r);r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,Kdd(p))});var l=0,n=0;[].concat(_.Sc(k.keys())).forEach(function(p){var r=k.get(p),u=e.cC.get(p);u?h&&
(r.forEach(function(z){var A=z.getKey();(A=u.get(A&&_.C(A,2)))&&_.Dk(z,A)||l++}),[].concat(_.Sc(u.values())).forEach(function(z){z=z.getKey();r.has(_.C(z,2))||n++}),e.cC.set(p,r),e.W.set(p,b)):(l+=r.size,e.cC.set(p,r),e.W.set(p,b))});this.ma.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+a.length+" user prefs from "+b+(n?" (removed "+n+")":""));if(1!=this.V||l){if(h||d)this.V=1,vO(this.ha,"px2C2c");vO(this.ha,"rkYxSd")}(l||n)&&Ldd(this,!h)}};
Jdd.prototype.oB=function(){return 0<this.cC.size};var Ldd=function(a,b){b||a.H||(a.H=_.q.setTimeout(function(){_.q.clearTimeout(a.H);a.H=null;a.ka.update(5)},1E3));a.dispatchEvent(new _.ui("WPi0i"))};Jdd.prototype.put=function(a){var b=a.getKey(),c=b&&_.fp(b);b=b&&_.C(b,2);if(c&&b&&(c=this.cC.get(c))){var d=c.get(b);a=Kdd(a);d&&_.Dk(a,d)||(c.set(b,a),Ldd(this))}};Jdd.prototype.remove=function(a){var b=a&&_.fp(a);a=a&&_.C(a,2);b&&a&&(b=this.cC.get(b))&&b.delete(a)&&Ldd(this)};
var sdd=function(a,b){var c=[];(b||[].concat(_.Sc(a.cC.keys()))).forEach(function(e){(e=a.cC.get(e))&&[].concat(_.Sc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.cC.has(e)}):[].concat(_.Sc(a.cC.keys()));var d=new QYc;_.jb(d,1,c);_.B(d,2,b||[]);return d};
Jdd.prototype.IK=function(a){var b=this,c=sdd(this,a),d=new _.gp;d.Ec(this.V);_.Wwa(d,_.vk(c,_.ep,1));_.y(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);Idd.has(f)&&Infinity>Idd.get(f)&&(e=f)});return new Gdd(d,e)};var Kdd=function(a){a=a.clone();a.th()||a.Ob("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Mdd=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},Odd=function(a,b){return Ndd(a[b])+(Ndd(a[b+1])<<8)+(Ndd(a[b+2])<<16)+(Ndd(a[b+3])<<24)},Ndd=function(a){return 127<a?a-256:a};
var XVc=function(a,b,c,d,e,f){EN.call(this,a,b,c,d);var h=this;this.Va=_.di();this.bD=new V2c;this.va=null;this.W=_.di();this.Ma=new _.gi;this.vIa=null;this.tca=new h4c;this.H=null;this.nb=_.di();this.ta=new _.gi;this.$0=new O4c;this.Xx=new p4c;this.Gra=new J2c;this.qia=_.di();this.Qa=!1;this.Ka=_.di();this.Ba=null;this.Ab=new _.je;this.Oa(this.Ab);this.Wj=e?e:new I2c(this.dg());this.tm().ha.V=this.Wj;this.FM=_.F(_.JN(b),9,!1)&&VVc()?Pdd(this,b):null;this.$E=new G1c(IN(_.UK(b)));this.xB=Qdd(this,
this.FM);this.QN=Rdd(this,this.FM,b);this.Gu=Sdd(this);this.jg=new gP(this,this.UD);(a=(a=_.D(this.Vc,_.ml,12))&&a.getId())&&this.jt(a,6);this.qN=new s8c(this.Vc,this.jg.ms,this.Wj,this.dg(),this.Gu);this.QX=new x8c(this.dg(),this.Wj,this.Gu);this.KD=new Jdd(this.dg(),this.Wj,this.Gu);this.WX=new K2c(this.Tn(),this.dg(),function(k){return void h.NN(k)});this.XR=_.F(this.Vc.Pf(),52,!1)?new _.lRc(this.Ml,this.Tn(),this.dg()):null;uO(this.Wj,["mrK8ic"],function(){h.nb.promise.then(function(){e9c(h,h.H)})});
this.r2a=new K4c(this.Vc);this.VD=new _.vRc(this.Vc,this.jg.Ll);this.vFa=new had(this);this.sca=new l4c(this.W.promise,this.Tn());this.yb=new n4c(this.Tn(),this.sca);this.ipa=new F4c(this.W.promise,this.Tn(),this.dg(),this.Vc);this.hb=new mdd(this.Vc,this.jg,this.NN.bind(this),this.sca,this.yb,this.Gu,this.tca,this.UD,this.en.bind(this),this.vFa,this.QX,this.KD,this.ipa,this.$0,this.dg(),this.r2a,this.VD,this.WX,this.XR,this.ik,this.C5a.bind(this),this.tm(),f);this.Va.resolve(this.hb);this.B1a=new R$c(this);
uO(this.Wj,["BNEDtc"],function(){return h.Ka.resolve()});Ddd(this,function(){h.Gu.RU();return _.Zh()})};_.N(XVc,EN);
var Pdd=function(a,b){var c=_.GM(_.UK(b)),d=_.HM(b),e=function(){},f=_.vk(_.JN(b),HN,11);f=f[0]&&_.C(f[0],1);var h=new B5c(c,d,_.gk(_.JN(b),10,0)||0,f||"",_.OM(a.UD));_.IM(b)?c=X5c(c,d).then(function(l){return l?l:h}):_.F(b,10,!1)&&0<_.gk(_.JN(b),8,432E6)?(b=Tdd(a,c),c=X5c(c,d,b).then(function(l){return l&&(e=function(n){return n.xm(h).ig(function(){return null})},!l.ma)?l:h})):c=_.Zh(h);var k=new IO(c,a.dg(),a.tm());k.initialize().then(function(){return e(k)},function(){return null});return k},Tdd=
function(a,b){var c=_.gk(_.JN(a.Vc),8,432E6);if(!_.IM(a.Vc)&&0<c){a=Math;var d=a.abs;b=_.jla(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=Odd(b,e),h.b+=Odd(b,e+4),h.c+=Odd(b,e+8),Mdd(h);h.c+=f;switch(k){case 11:h.c+=b[e+10]<<24;case 10:h.c+=(b[e+9]&255)<<16;case 9:h.c+=(b[e+8]&255)<<8;case 8:h.b+=Odd(b,e+4);h.a+=Odd(b,e);break;case 7:h.b+=(b[e+6]&255)<<16;case 6:h.b+=(b[e+5]&255)<<8;case 5:h.b+=b[e+4]&255;case 4:h.a+=Odd(b,e);break;case 3:h.a+=
(b[e+2]&255)<<16;case 2:h.a+=(b[e+1]&255)<<8;case 1:h.a+=b[e]&255}b=Mdd(h);return d.call(a,b)%c}};XVc.prototype.yD=function(a){var b=this;return this.FM?this.FM.Ch()?_.$h(Error("kg`"+J5c(this.FM))):l6c(this.xB).then(function(c){var d=b.FM,e=[];e.push(b.Gu.SRa());e.push(a?d.xm():T5c(d));if(a===c)return _.bi(e).then(function(){return!1});!1===a&&(e.push(I5c(d)),(c=b.en())&&e.push(b.xB.jt(c)));return _.bi(e).then(function(){return b.xB.yD(a)},function(){return!1})}):_.$h(Error("lg"))};
var Rdd=function(a,b,c){var d=null;b&&(d=new Y4c(b,c,function(e){a.NN(e)},a.tm()),d.initialize());return d},Qdd=function(a,b){var c=new i6c(b||void 0);c.en().then(function(d){d&&a.jt(d,5)});b&&(l6c(c).then(function(d){a.ik.yD(d)}),_.bi([b.initialize(),a.K0.promise]).then(function(){Udd(a,c)},function(){}));return c},Udd=function(a,b){o6c(b).then(function(c){(!c||c<Date.now()-864E5)&&$5c(_.GM(_.UK(a.Vc)),_.HM(a.Vc),a.dg()).then(function(d){d&&(d=Date.now(),k6c(b,g6c,d))},function(){})})},Sdd=function(a){if(!a.QN)return new Add;
var b=new odd(a,a.UD);a.Ab.listen(a.ik,"Ab",function(c){return void b.setActive(!c.jf())});a.Ab.listen(a.Ml,[].concat(_.Sc(Object.values(_.bL))),function(){return void b.setActive(a.Ml.isConnected())});return b};XVc.prototype.D$=function(a){this.vIa=a;this.Ma.callback(a)};var bP=function(a){return a.Ma.km()},i8c=function(a){return a.FM?a.FM.Ch():null},Vdd=function(a,b){a.Wj.H("NSockf")?vO(a.Wj,b):uO(a.Wj,["NSockf"],function(){vO(a.Wj,b)})};
XVc.prototype.I_a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.bD.jt(a),this.Am.jt(a),6!=b&&1!=b||this.xB.jt(a),Vdd(this,"jroI5d"))};XVc.prototype.WQa=function(){return this.ta.km()};var e9c=function(a,b,c){0>b||((void 0===c?0:c)?a.H?a.H=Math.max(a.H,b):(a.H=b,a.nb.resolve()):a.ta.Bf()||(a.ta.callback(b),Vdd(a,"T8oKm")))},$O=function(a){if(!a.va)throw Error("mg");return a.va};_.g=XVc.prototype;_.g.cT=function(){return this.hb};_.g.Tn=function(){return this.Va.promise.then(function(a){return a.ola.promise})};
_.g.Tza=function(){this.Qa||(this.Qa=!0,this.qia.resolve(),vO(this.Wj,"aU7Ts"))};_.g.Sz=function(){throw Error("ng");};_.g.C5a=function(a){this.dispatchEvent(a)};var e8c=function(a){a.Ba||(a.Ba=new v4c(a.W.promise,a.Tn(),a.dg()));return a.Ba};
var Wdd=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=null},Xdd=function(a,b){b=void 0===b?!1:b;if(null==a.H&&(a.H=b)){b=a.args;for(var c=0;c<b.length;c++){var d=b[c];d&&d instanceof _.M&&(b[c]=d.Ac())}}return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},Ydd=function(a,b,c){this.data=b?void 0:a;this.error=b;this.V=c;this.H=null},Zdd=function(a){var b=a.s,c=a.err&&b?new _.Rb(JSON.parse(a.err)):a.err;a=new Ydd(c?void 0:a.d,c,a.uid);c||(a.H=b);
return a};
var nP=function(a,b,c){_.Q.call(this);var d=this;this.Va=a;this.Rc=b;this.Ea=new _.gi;this.Qa=this.Ma=this.Fb=null;c.then(function(e){return $dd(d,e)})};_.N(nP,_.Q);var $dd=function(a,b){a.Fb=b.clientId;a.Ma=b.channel;a.Qa=b.H;nO(a.Ma,a.Va,function(c){c=Zdd(c);a.Ka(c.V,c.data,c.error)});a.log("Service initialized: "+a.Va);a.Ea.callback()};nP.prototype.Ka=function(){};
nP.prototype.send=function(a,b,c,d){var e=this,f=new _.gi;this.Ea.addCallback(function(){var h=e.Ma;a2c(h,e.Va,Xdd(new Wdd(e.Fb,a,b,d),h.ka),function(k){return void aed(k,a,f,c||function(){})})});return f};var aed=function(a,b,c,d){a=Zdd(a);a.data?c.callback(d(a.data,a.H)):(a.error?d=a.error:(d=new _.Rb,_.hL(d,2),_.iL(d,6),_.B(d,21,"Worker["+b+"]: An invalid response was received")),c.Ud(new _.Sb(void 0,d)))};nP.prototype.log=function(a){this.Qa&&this.Qa.info(this.Rc,a)};
var bed=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var oP=function(a,b,c){nP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.V={}};_.N(oP,nP);oP.prototype.tta=function(a){var b=this;a=new N7c(this.context.Am,this.context.OR,this.context.dg(),this.context.Vc,function(c,d){return b.CM(c,d)},a);ced(this,a);return a};oP.prototype.wta=function(a){var b=this;a=new V7c(this.context.Am,this.context.OR,this.context.dg(),function(c,d){return b.CM(c,d)},a,this.context.Vc);ced(this,a);return a};
var ced=function(a,b){pP(a,b);_.ae(b,function(){qP(a,b);a.send("4.3",[b.Ad().Ac()],void 0,b.Ki())});a.send("4.1",[b.Ad().Ac()],void 0,b.Ki())};_.g=oP.prototype;_.g.qta=function(a){var b=this,c=new S7c(this.context.Vc,this.context.Am,this.context.dg(),this.context.nla,this.pna.bind(this),a);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.4",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.2",[c.Ad().Ac()],void 0,c.Ki());return c};
_.g.zta=function(a){var b=this,c=new Z7c(a,this,this.context.Vc);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.11",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.9",[c.Ad().Ac()],void 0,c.Ki());return c};_.g.Ata=function(a){var b=this,c=new $7c(this.context,this,a);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.12",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.10",[c.Ad().Ac()],void 0,c.Ki());return c};
_.g.Dta=function(a){var b=this,c=new c8c(this.context,a,this);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.15",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.13",[c.Ad().Ac()],void 0,c.Ki());return c};_.g.Eta=function(a){var b=this,c=new Q7c(this.context,a);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.16",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.14",[c.Ad().Ac()],void 0,c.Ki());return c};
_.g.xta=function(a){var b=this,c=new Y7c(this.context,a,function(){b.send("4.21",[],void 0,c.Ki())});pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.23",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.22",[c.Ad().Ac()],void 0,c.Ki());return c};_.g.nta=function(a){var b=this,c=new L7c(this.context.ik,this.context.Ml,this.context.dg(),function(d,e){return b.CM(d,e)},a);pP(this,c);_.ae(c,function(){qP(b,c);b.send("4.19",[c.Ad().Ac()],void 0,c.Ki())});this.send("4.18",[c.Ad().Ac()],void 0,c.Ki());return c};
var pP=function(a,b){a.H.create(b.Ki(),b.Ad());a.V[b.Ki()]=b},qP=function(a,b){oO(a.H,b.Ki(),4);delete a.V[b.Ki()]};oP.prototype.pna=function(a,b,c){if(b instanceof _.ap&&c instanceof _.ap)this.send("4.5",[b.Ac(),c.Ac()],void 0,a);else if(b instanceof _.ip&&c instanceof _.ip)this.send("4.6",[b.Ac(),c.Ac()],void 0,a);else throw Error("og");};
oP.prototype.CM=function(a,b){if(!this.V[a])throw Error("Pf`"+a);var c=this.V[a];if(c.Ad()instanceof _.Ie)var d="4.7";else if(c.Ad()instanceof _.OK)d="4.8";else if(c.Ad()instanceof _.UF)d="4.20";else if(c.Ad()instanceof _.kp)d="4.17";else throw Error("pg");c.Ad().vi(b);this.send(d,[b],void 0,a)};
oP.prototype.Ka=function(a,b,c){if(a=this.V[a]){var d,e=0;if(c)c=new pO(c,c.S3()),a.Nz(c),oO(this.H,a.Ki(),3);else if(b&&b[e]){var f=b[e++];if("cacheRefresh"==f){a.rT();return}c=a.Ad();if(c instanceof _.Ie||c instanceof _.OK)f=JSON.parse(f),c instanceof _.Ie&&_.UL(c)?d=new _.XM(f):d=new _.$A(f);else if(c instanceof _.ap||c instanceof _.ip)d=new _.WM,JZc(d,function(h){return new _.ml(JSON.parse(h))},f);else if(c instanceof _.UF)d=new _.$M(new UN(JSON.parse(f)),b[e++],b[e++],b[e++]);else if(c instanceof
_.kp)d=new _.NQc(new sO(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.lM&&c instanceof _.lM)d=new _.YM(JSON.parse(f));else if(c instanceof _.hp)d=new XN(JSON.parse(f));else throw Error("qg");}d&&(b&&"boolean"===typeof b[e]&&g2c(this.H,a.Ki(),!!b[e]),j2c(this.H,a.Ki(),d),a.update(d))}};
var ded=function(a,b){nP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.N(ded,nP);_.g=ded.prototype;_.g.Na=function(){return _.D(this.context.Vc,_.aNc,58)};_.g.getContext=function(){return this.context};_.g.JC=function(){return this.send("5.4",[this.H],function(a){return new _.MPc(JSON.parse(a[0]))})};_.g.dg=function(){return this.context.dg()};_.g.vS=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.ml(b)})};
_.g.o7=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 _.$Lc(a[c]));return b})};_.g.$ma=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 _.ml(e[k]));return{items:h,rOa:f,pageToken:d}})};_.g.P1a=function(){this.send("5.9",[])};_.g.zNa=function(){this.send("5.1",[])};_.g.o6=function(){return _.EMc[_.fk(this.context.Vc.Pf(),8,0)]};
_.g.FEa=function(){this.send("5.6",[])};_.g.u1=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 e2c(a[e]));return{traceId:new N4c(b,c),spanRecs:d}})};_.g.p7=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new N4c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.N0a=function(){this.send("5.11",[])};
_.g.xm=function(a){this.send("5.13",[a])};
var eed=function(a,b){nP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.H=null;this.Xc=String(_.Ea(this))};_.N(eed,nP);eed.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.request.Ac()],function(b){return new w7c(JSON.parse(b[0]))},this.Xc).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};eed.prototype.cancel=function(){this.send("9.2",[this.request.Ac()],void 0,this.Xc)};
eed.prototype.Ka=function(a,b){this.dispatchEvent(new I7c(b[0],b[1]))};
var fed=function(a){nP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.N(fed,nP);fed.prototype.tV=function(a){if(this.H=a){a=this.W.bind(this);var b=this.V.bind(this);this.log("Querying all offline items.");this.H.IS().Zf(a,b);this.H.LX((0,_.v)(this.ha,this))}else this.send("6.3",[])};fed.prototype.W=function(a){var b=[];_.La(a,function(c){b.push(c.Ac())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};fed.prototype.V=function(){this.log("Error fetching offline items.")};
fed.prototype.ha=function(a){var b=[];_.La(a,function(c){b.push(c.Ac())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var ged=function(a,b){CO.call(this,a,b)};_.N(ged,CO);ged.prototype.Yea=function(a,b,c){return new _.HNc(a,c)};ged.prototype.tha=function(a){return a.pageToken||""};ged.prototype.Hga=function(a){return a.response.H()};ged.prototype.X2=function(){};
var hed=function(a,b,c){TO.call(this,a.ik,a.Ml,b.ki()||void 0);this.request=b;this.W=[];this.V=!1;this.ma=c;this.ka=new ged(this.request,this.ma)};_.N(hed,TO);_.g=hed.prototype;_.g.QE=function(){this.ka.mh().then(this.D5a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return c7c(new QO,this.W).Ec(this.status)};_.g.Uq=function(){return new a7c};_.g.nk=function(){return!this.jf()&&(!this.H||Z3c(this.ka))};_.g.D5a=function(a){this.V=this.H=!0;this.W=a;this.Ds()};
_.g.Ds=function(){if(this.active){var a=this.status;this.UI();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.ui(_.Ic,this))}};_.g.lc=function(){return this.W.length};
var ied=function(a,b,c){TO.call(this,a.ik,a.Ml,b.ki()||10);this.request=b;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.fUc;this.ma=null;this.Ea=c};_.N(ied,TO);_.g=ied.prototype;_.g.QE=function(){var a=this;this.Ea(this.request).then(function(b){a.H=!0;a.W=!0;a.V=b.yk();a.ma=b.yf();a.Ds()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.nUc(_.mUc((new _.uN).Ec(this.status),this.V.slice(0)),this.ma)};
_.g.Uq=function(){var a=this.Ba.ky(this.ka,this.V);this.ka=this.V;var b=(new g7c).Ec(this.status);return _.jb(b,2,a)};_.g.xM=function(){};_.g.Ds=function(){var a=this.status;this.UI();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.ui(_.Ic,this))};_.g.lc=function(){return this.V.length};
var jed=function(){};_.g=jed.prototype;_.g.PJ=function(a,b){b=o7c(1).setPosition(b);_.y(b,2,a);return b};_.g.NJ=function(a,b){b=o7c(2).setPosition(b);_.y(b,2,a);return b};_.g.MG=function(a,b,c){b=o7c(3).tx(b).setPosition(c);_.y(b,2,a);return b};_.g.KN=function(a,b){b=o7c(4).setPosition(b);_.y(b,2,a);return b};_.g.lK=function(a){return _.D(a,_.fO,2)};
var led=function(){_.qN.call(this,new jed,function(a){return ked(a)})};_.N(led,_.qN);var ked=function(a){switch(_.ak(a,Q0c[0])){case 6:return _.Qx(_.D(a,_.Px,6)).getTime().toString();case 7:var b=_.D(a,_.eO,7);a=_.D(b,_.Px,1);b=b.vq();return a&&b?(a=_.Qx(a).getTime(),_.Qx(b).getTime()+"--"+a):"";default:return""}},ned=function(){med||(med=new led);return med},med;
var rP=function(a,b,c,d){TO.call(this,b.ik,b.Ml,d);this.request=a;this.W=!1;this.Ba=[];this.V=[];this.ma="";this.ka=!1;this.Ea=new _.iRc(_.gk(b.Vc.Pf(),6,1E3));this.Ia=c};_.N(rP,TO);_.g=rP.prototype;_.g.activate=function(){TO.prototype.activate.call(this);this.Ds()};_.g.QE=function(){this.request.pRa()?oed(this):this.Ka()};_.g.Dq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;TO.prototype.Dq.call(this,a)};
_.g.getData=function(){var a=(new s7c).Ec(this.status);_.jb(a,2,this.V.slice(0,this.limit));this.Ba=_.ya(this.V);return a};_.g.Uq=function(){var a=ned().ky(this.Ba,this.V),b=new q7c;a=_.jb(b,2,a).Ec(this.status);this.Ba=_.ya(this.V);return a};_.g.nk=function(){return!this.jf()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.Ad=function(){return this.request};_.g.wIa=function(a){this.dispatchEvent(new _.Tb(a));this.W=!1};
_.g.Grb=function(a,b){this.H=!0;var c=_.vk(b,_.fO,1);this.V=this.V.concat(c);this.ma=b.Pw()||"";0<c.length&&(this.ka=!0);this.Ds();oed(this,a)};_.g.Yrb=function(a){ned();this.H=!0;var b=_.vk(a,_.fO,1);MN(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.Pw()||"",this.ka=!0,this.Ds(),oed(this)):(this.W=!1,ped(this))};var oed=function(a,b){a.active?(a.W=!0,a.nk()&&a.V.length<a.limit?a.Ia(a.request,a.limit-a.V.length,a.ma).Zf(_.Wa(a.Grb,b),a.wIa,a):(a.W=!1,b&&b.callback(),ped(a))):a.W=!1};
rP.prototype.Ka=function(){this.active&&(this.W=!0,this.Ia(this.request,this.limit).Zf(this.Yrb,this.wIa,this))};rP.prototype.Ds=function(){if(this.active){var a=this.status;this.UI();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.ui(_.Ic,this))}};rP.prototype.UI=function(){this.jf()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};rP.prototype.xM=function(){this.active&&this.nk()&&!this.W&&oed(this,new _.gi)};
var ped=function(a){a.request.pRa()||(_.YG(a.Ea),_.q.setTimeout((0,_.v)(a.Ka,a),a.Ea.$a()))};rP.prototype.lc=function(){return this.V.length};
var qed=function(){};_.g=qed.prototype;_.g.PJ=function(a,b){return u7c(t7c(1),a).setPosition(b)};_.g.NJ=function(a,b){return u7c(t7c(2).setPosition(b),a)};_.g.MG=function(a,b,c){return u7c(t7c(3).tx(b).setPosition(c),a)};_.g.KN=function(a,b){return u7c(t7c(4),a).setPosition(b)};_.g.lK=function(a){return _.D(a,_.KO,2)};
var red=function(){_.qN.call(this,new qed,function(a){return a.getId()})};_.N(red,_.qN);var ted=function(){sed||(sed=new red);return sed},sed;
var ued=function(a,b,c){TO.call(this,b.ik,b.Ml);this.request=a;this.ma=[];this.V=[];this.ka=!1;this.W=new _.iRc(_.gk(b.Vc.Pf(),54,1E3));this.Ba=c};_.N(ued,TO);_.g=ued.prototype;_.g.activate=function(){TO.prototype.activate.call(this);this.Ds()};_.g.QE=function(){this.poll()};_.g.getData=function(){var a=new C7c;a=_.jb(a,2,this.V).Ec(this.status);this.ma=_.ya(this.V);return a};_.g.Uq=function(){var a=ted().ky(this.ma,this.V),b=new A7c;a=_.jb(b,2,a).Ec(this.status);this.ma=_.ya(this.V);return a};
_.g.nk=function(){return!this.jf()&&!this.H};_.g.poll=function(){var a=new _.gi;this.Ba(this.request).Zf(_.Wa(this.F5a,a),_.Wa(this.E5a,a),this);return a};_.g.E5a=function(a,b){this.dispatchEvent(new _.Tb(b));a.Ud(b);ved(this)};_.g.F5a=function(a,b){this.H=!0;b=_.vk(b,_.KO,2);MN(ted(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.Ds();a.callback();ved(this)};
_.g.Ds=function(){if(this.active){var a=this.status;this.UI();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.ui(_.Ic,this))}};_.g.xM=function(){};var ved=function(a){a.active&&(_.q.setTimeout((0,_.v)(a.poll,a),a.W.$a()),_.YG(a.W))};ued.prototype.lc=function(){return this.V.length};
var wed=function(){};_.g=wed.prototype;_.g.PJ=function(a,b){return M6c(L6c(1),a).setPosition(b)};_.g.NJ=function(a,b){return M6c(L6c(2).setPosition(b),a)};_.g.MG=function(a,b,c){return M6c(L6c(3).tx(b).setPosition(c),a)};_.g.KN=function(a,b){return M6c(L6c(4),a).setPosition(b)};_.g.lK=function(a){return _.D(a,_.$k,2)};
var xed=function(){_.qN.call(this,new wed,function(a){return a.getId()})};_.N(xed,_.qN);_.pf(xed);
var sP=function(a,b,c){_.Q.call(this);this.context=a;this.request=b;this.H="";this.V=this.W=!1;this.ha=0;this.Wv=[];this.ka=c};_.N(sP,_.Q);sP.prototype.vi=function(a){this.ha=a};sP.prototype.mh=function(){return this.V||this.W&&""==this.H?Promise.resolve():yed(this)};sP.prototype.vha=function(){return this.Wv};var yed=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.Wv.length,100);var c=new _.ZL;c=_.y(c,3,a.request);c=_.B(c,2,a.H);b=_.B(c,1,b);return a.ka(b).then(a.ta.bind(a)).then(null,a.ma.bind(a))};
sP.prototype.ta=function(a){this.V=!1;this.H=a.wo()||"";a=_.vk(a.Vp(),_.$k,2);this.Wv=_.xa(this.Wv,a);a.length&&this.dispatchEvent("Cb");if(this.H&&this.Wv.length<this.ha)return yed(this);this.dispatchEvent("Fb")};sP.prototype.ma=function(a){this.V=!1;a=new pO(_.jL(a),_.gk(this.context.Vc.Pf(),1,1));this.dispatchEvent(a)};
var zed=function(a,b,c,d){TO.call(this,b.ik,b.Ml,d||100);var e=this;this.request=a;this.context=b;this.ma=[];this.Wv=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new sP(b,this.request,this.Ba);_.ae(this,function(){e.W&&(_.q.clearTimeout(e.W),e.W=null)})};_.N(zed,TO);_.g=zed.prototype;_.g.activate=function(){TO.prototype.activate.call(this);this.Ds()};_.g.QE=function(){this.xIa()};_.g.Dq=function(a){TO.prototype.Dq.call(this,a||100)};
_.g.getData=function(){var a=new LN;a=_.jb(a,2,this.Wv.slice(0,this.limit)).Ec(this.status);this.ma=_.ya(this.Wv);return a};_.g.Uq=function(){var a=xed.Ib().ky(this.ma,this.Wv),b=new T6c;a=_.jb(b,2,a).Ec(this.status);this.ma=_.ya(this.Wv);return a};_.g.nk=function(){var a;(a=!this.jf())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.Ad=function(){return this.request};
_.g.xIa=function(){var a=this;this.V=new sP(this.context,this.request,this.Ba);this.V.vi(this.limit);return this.V.mh().then(function(){return Aed(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){TO.prototype.handleError.call(this,a);Bed(this)};var Aed=function(a){a.H=!0;var b=a.V.vha();MN(xed.Ib(),a.Wv,b)&&(a.ka=!0,a.Wv=b);a.Ds();Bed(a)};
zed.prototype.Ds=function(){if(this.active){var a=this.status;this.UI();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.ui(_.Ic,this))}};zed.prototype.xM=function(){var a=this;this.V.vi(this.limit);this.V.mh().then(function(){return Aed(a)},function(b){return a.handleError(b)})};var Bed=function(a){if(a.active){var b=a.context.Vc.Pf();a.W=_.q.setTimeout((0,_.v)(a.xIa,a),Math.ceil(_.gk(b,7,9E5)*Math.random())+_.gk(b,15,36E5))}};zed.prototype.lc=function(){return this.Wv.length};
var Ced=function(a){6!=a.status&&_.q.setTimeout(function(){a.dispatchEvent(new _.ui(_.Ic,a))},0)};
var Ded=function(a,b){nP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.H=null;this.Xc=String(_.Ea(this))};_.N(Ded,nP);Ded.prototype.mh=function(){var a=this;this.H||(this.H=_.di(),this.send("10.1",[this.request.Ac()],function(b){a.H.resolve(b[0])},this.Xc).hf(function(b){a.H.reject(b)}));return this.H.promise};Ded.prototype.cancel=function(){this.send("10.2",[this.request.Ac()],void 0,this.Xc)};
var Eed=function(a,b,c,d,e,f,h){_.pN.call(this,a,b,c,d,f,h);this.V=e;this.Vd=null};_.N(Eed,_.pN);Eed.prototype.YR=function(a,b){var c=this;return _.mi(this.V.then(function(d){return d.UYa(rUc(c.W,c.Ia,a,b,c.H,c.Ea))},null))};Eed.prototype.ta=function(a,b){var c=this.Ad(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.JC();e&&(d=_.C(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.BRc(a,b,d))}};
var Fed=function(a,b,c){_.Q.call(this);this.instanceId=a;this.V=b;this.ha=c;this.H={};this.W={};_.ae(this,(0,_.v)(this.Yjb,this))};_.N(Fed,_.Q);_.g=Fed.prototype;_.g.getId=function(){return this.instanceId};_.g.nY=function(){return _.Tg()};_.g.upload=function(a,b){!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.fPc;_.B(d,1,b.size);_.y(a,15,d);this.W[a.Sj()]=b}return this.V("7.1",[a.Ac(),c],function(e){return new _.pM(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.V("7.2",[a])};_.g.PR=function(){this.V("7.3",[])};_.g.retry=function(a){var b={};_.La(a,function(d){b[d]=new _.gi});var c=this.nY();this.H[c]=b;this.V("7.4",[c].concat(_.Sc(a)));return _.Uc(b)};_.g.YR=function(a,b){var c=this;return this.V("7.5",[a].concat(_.Sc(b)),function(d){return oVc(d[0])}).addCallback(function(d){return _.mi(c.ha.then(function(e){return e.UYa(d)}))})};_.g.Yjb=function(){this.V("7.6",[])};
var Ged=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.pM?e.callback(d):e.Ud(d);delete a.H[b][c];_.$f(a.H[b])&&delete a.H[b]}};
var Hed=function(a,b){nP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.V=b;this.H=new Map};_.N(Hed,nP);var Ied=function(a){var b=_.Tg(),c=new Fed(b,function(d,e,f){return a.send(d,e,f,b)},a.V);a.H.set(b,c);_.ae(c,function(){return void a.H.delete(b)});return c};
Hed.prototype.Ka=function(a,b){if((a=this.H.get(a))&&b){var c=b[1],d=b.slice(2);switch(b[0]){case 3:b=d[0];d=d[1];d=Math.min(d,1073741824);var e=a.W[c];a.V("7.7",[c,_.mNc(e,b,Math.min(e.size,b+d))]);break;case 0:b=new _.pM(JSON.parse(d[1]));Ged(a,c,d[0],b);break;case 1:b=new _.Sb(void 0,new _.Rb(JSON.parse(d[1])));Ged(a,c,d[0],b);break;case 2:a.dispatchEvent(new _.BRc(c,d[0],d[1]));break;default:throw Error("rg");}}};
var Jed=function(a,b){if(0==a.length)throw new _.Sb("mutateUserPref requires a namespace.",_.uL(3));var c=null;"undefined"!=typeof _.PC&&b instanceof _.PC?c=(b=(b=b.H())&&b.getKey())&&_.fp(b)||null:"undefined"!=typeof _.OC&&b instanceof _.OC&&(c=(b=b.getKey())&&_.fp(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.Sb("mutateUserPref unsupported for namespace: "+c,_.uL(3));};
var Ked=function(a){this.H=a};
var FN=function(a,b){nP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(Led=_.di()).promise);var c=this;this.yb=this.Lb=this.va=this.Zb=this.Qb=!1;this.ma=this.ta=this.ka=null;this.ha=Led;Led=void 0;this.H=a;Fdd(this.H,new fed(this.ha.promise));this.Ba=b;wYc(this.Ba,_.Hd(this.H.Vc,28));this.Mc=cVc(_.OM(this.Ba));this.V=a.hla;this.W=new oP(this.ha.promise,a,this.V);this.Cd=new Hed(this.ha.promise,this.H.OR);this.hb=new ded(this.ha.promise,a);tVc(this.hb);this.nb=_.Zh(this.Ea);this.Ia=new _.je(this);
this.Oa(this.Ia);this.zc=_.di();this.Ia.listen(this.H.Ml,[].concat(_.Sc(Object.values(_.bL))),function(d){return void c.dispatchEvent(d)})},Led;_.N(FN,nP);
FN.prototype.initialize=function(){var a=this;if(!this.Qb){this.Qb=!0;var b=this.H.tm().V(106E3);this.nb.then(function(){b&&b.xk();a.MXa()},function(){});var c=_.D(this.H.Vc,xXc,66);if(!c||!_.C(c,1))return c=new _.Sb("Dataservice URL not provided."),this.Ea.Ud(c),this.nb;var d=_.IM(this.H.Vc)?"(coldstart) ":"";this.H.dg().info("drive.ds.sync.ItemServiceProxy","Initializing "+d+"with client build: "+this.H.Vc.Hi());Med(this,c)}return this.nb};
var Med=function(a,b){var c=Ned(a),d=!0,e=_.C(b,5)||"";if(_.NMc(window.location.href,c.toString())&&e){d=!1;c=aVc(e,Oed(a),a.Mc,_.C(b,6));var f=new $1c(c,!1,!0)}else b=Ped(c.toString()),c=_.jKc(c.V,void 0,c.H,c.ha),f=new $1c(Y1c(window.frames[b],c.toString()),!1,!0);Qed(a,f,d);a.H.dg().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();Ddd(a.H,function(){return Red(f)})},Red=function(a){return _.ai([new _.Yh(function(b){a.isDisposed()||a2c(a,"8.1",void 0,function(){a.dispose();
b()})}),_.Fi(1E4)])},Ned=function(a){var b=new _.lj(_.C(_.D(a.H.Vc,xXc,66),1));var c=new _.lj(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Ej(d,3);_.vj(b,"co",c);c=b.Pe();!_.IM(a.H.Vc)&&0<_.kL(_.UK(a.H.Vc))&&(a=_.kL(_.UK(a.H.Vc)),c+="u/"+a+"/");b.Ri(c+"_/dataservice/cacheproxy");return b},Ped=function(a){var b="cpiframe_"+_.Tg();a=_.xh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.mg(_.MMc(_.Ff("display: none;")));document.body.appendChild(a);return b},Qed=function(a,b,c){if(c)b.registerService("2.0",
(0,_.v)(a.wd,a));else{var d=function(){var e=new _.$db(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.Vc.Hi(),ufds:a.Mc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}a2c(b,"8.4",{dsc:a.H.Vc.Ac()});Sed(b);Ted(a,b);nO(b,"2.1",function(){return{dsc:a.H.Vc.Ac()}});nO(b,"2.2",function(e){"number"===typeof e.id?(a.ha.resolve(new bed(e.id,b,a.H.dg(),e.clients)),e.dsp&&Sed(b),e.ivd&&Ted(a,
b)):(e=new _.Rb(JSON.parse(e.err)),a.Ea.Ud(new _.Sb("Unable to initialize dataservice.",e)))});nO(b,"2.15",function(e){a.dispatchEvent(new H7c(e.dt))});nO(b,"2.5",function(e){a.H.jt(e.id)});nO(b,"2.6",function(e){a.H.ik.xm(e.os)});nO(b,"2.18",function(e){a.H.ik.yD(e.oois)});nO(b,"2.7",function(){a.va=!1});nO(b,"2.8",function(e){a.H.Ea=e.au;a.dispatchEvent(new UYc(e.au?"eb":"fb"))});nO(b,"2.19",function(e){a.H.Ml.update(e.cs)});nO(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Rx("[CSW %s] %s",
e.totalTime,e.message);switch(h){case "config":a.H.dg().config(f,e);break;case "fine":_.MM(a.H.dg(),f,e,"fine");break;case "finer":_.MM(a.H.dg(),f,e,"finer");break;case "finest":_.MM(a.H.dg(),f,e,"finest");break;case "info":a.H.dg().info(f,e);break;case "warning":case "severe":tYc(a.H.dg(),f,e);break;default:tYc(a.H.dg(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),tYc(a.H.dg(),f,e)}});nO(b,"2.10",function(e){a.dispatchEvent(new _.Tb(new _.Sb(void 0,new _.Rb(JSON.parse(e.p)))))});nO(b,
"2.12",function(){a.yb=!0;tP(a)});nO(b,"2.14",function(){return a.zc.resolve()});nO(b,"2.16",function(){return a.Zb=!0});nO(b,"2.17",function(e){a.H.dg().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},Sed=function(a){_.q._DRIVE_dsp&&a2c(a,"8.3",{dsp:Ued(_.q._DRIVE_dsp)});_.q._DRIVE_dspc=function(b){if(_.q._DRIVE_dsp){var c=[];c[b]=_.q._DRIVE_dsp[b];a2c(a,"8.3",{dsp:Ued(c)})}}},Ted=function(a,b){_.F(a.H.Vc,24,!1)&&(_.q._DRIVE_ivd?a2c(b,"8.2",{ivd:_.q._DRIVE_ivd}):
void 0===_.q._DRIVE_ivd&&(_.q._DRIVE_ivdc=function(){_.q._DRIVE_ivd&&a2c(b,"8.2",{ivd:_.q._DRIVE_ivd})}))};FN.prototype.wd=function(){return{uid:Oed(this),fds:_.OM(this.Ba)}};var Oed=function(a){a=_.nk(_.nk(_.$G(_.Ek(a.H.Vc),28),44),91);var b=new _.NK;b.update(_.GM(_.UK(a)));b.update(String(_.kL(_.UK(a))));b.update(a.Ac());return _.nKc(b.digest())},Ued=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=FN.prototype;
_.g.query=function(a){tP(this);R1c(this.H.Am,a,uYc(this.Ba));this.oL();var b=this.W.tta(a);this.Lb||(a=a.Ae(),a&&121==_.C(a,1)||(this.Lb=!0,this.Ia.listen(b,_.Ic,this.yIa)));return b};_.g.yIa=function(a){a=a.currentTarget;1==a.Gb()&&(this.hb.H=this.Zb,this.Ia.Yc(a,_.Ic,this.yIa))};_.g.Pq=function(a){tP(this);P1c(a);this.oL();return this.W.qta(a)};
_.g.Fra=function(a,b){var c=this;tP(this);if(this.ta&&_.Dk(this.ta.Ad(),a))return this.ta;var d=(0,_.v)(FN.prototype.slb,this);this.ta=new rP(_.Ek(a),this.H,d,b);_.q.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.slb=function(a,b,c){return this.send("3.17",[a.Ac(),b,c],function(d){return new c1c(JSON.parse(d[0]))})};
_.g.XBa=function(a,b){var c=this;tP(this);if(this.ma&&_.Dk(this.ma.Ad(),a))return Ced(this.ma),this.ma;var d=(0,_.v)(FN.prototype.ulb,this);this.ma=new zed(a,this.H,d,b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.ulb=function(a){return this.send("3.18",[a.Ac()],function(b){return new U6c(JSON.parse(b[0]))})};_.g.fya=function(a){tP(this);return this.send("3.14",[a.Ac()],function(b){return new PO(JSON.parse(b[0]))})};_.g.bua=function(a){tP(this);return this.send("3.15",[a.Ac()],function(b){return new PO(JSON.parse(b[0]))})};
_.g.Bd=function(a){tP(this);!this.va&&_.qM(a)&&(this.va=!0);a=eVc(a);return this.send("3.3",[a.Ac()],function(b){if(!_.id(b))return new _.pM(JSON.parse(b[0]))})};_.g.wU=function(a){tP(this);a=nVc(a);return this.send("3.35",[a.Ac()],function(b){return new TYc(JSON.parse(b[0]))}).then()};
_.g.NA=function(a){tP(this);for(var b=0;b<a.length;b++)!this.va&&_.qM(a[b])&&(this.va=!0);a=hVc(a);return this.send("3.4",[a.Ac()],function(c){var d={};c=JSON.parse(c[0]);_.Tf(c[0],function(e,f){d[f]=new _.pM(JSON.parse(e))});_.Tf(c[1],function(e,f){e=new _.Rb(JSON.parse(e));d[f]=_.vL(e)});return d})};_.g.pta=function(){tP(this);return Ied(this.Cd)};_.g.VNa=function(a){tP(this);return new eed(this.ha.promise,a)};
_.g.Rq=function(a,b){var c=this;tP(this);var d=_.Sg();this.V.create(d,a);return this.send("3.5",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new qO(JSON.parse(e[0]));return new _.ZM(f,e[1],e[2])}).addCallback(function(e){k2c(c.V,d,e);return e.response}).hf(function(e){oO(c.V,d);return e})};_.g.Cr=function(a){tP(this);return this.send("3.10",[a.Ac()],function(b){return new R6c(JSON.parse(b[0]))})};_.g.hya=function(a){tP(this);return this.send("3.11",[a.Ac()],function(b){return new V6c(JSON.parse(b[0]))})};
_.g.Yta=function(a){tP(this);return this.send("3.12",[a.Ac()],function(b){return new V6c(JSON.parse(b[0]))})};_.g.T1=function(a){tP(this);return this.send("3.13",[a.Ac()],function(b){return new V6c(JSON.parse(b[0]))})};
_.g.jT=function(a,b){var c=this;tP(this);var d=_.Sg();this.V.create(d,a);return this.send("3.1",[a.Ac(),!!b],function(e){e=JSON.parse(e);var f=new _.RO(JSON.parse(e[0]));return new _.bN(f,e[1],e[2])}).addCallback(function(e){k2c(c.V,d,e);return e.response}).hf(function(e){oO(c.V,d);return e})};
_.g.IK=function(a,b){var c=this,d=_.Hd(this.H.Vc.Pf(),30);if(!d||0==d.length)return _.ni(new _.Sb("getUserPrefs requires a namespace.",_.uL(3)));0==_.Hd(a,3).length&&zVc(a,d);tP(this);var e=_.Sg();this.V.create(e,a);return this.send("3.2",[a.Ac(),!!b],function(f){f=JSON.parse(f);var h=new _.gp(JSON.parse(f[0]));return new _.aN(h,f[1],f[2])}).addCallback(function(f){k2c(c.V,e,f);return f.response}).hf(function(f){oO(c.V,e);return f})};
_.g.r0=function(a){tP(this);Jed(_.Hd(this.H.Vc.Pf(),30),a);a=kVc(a);return this.send("3.6",[a.Ac()],function(b){return new W6c(JSON.parse(b[0]))})};_.g.Nu=function(a){tP(this);return this.send("3.16",[a.Ac()],function(b){return new HYc(JSON.parse(b[0]))})};_.g.Lxa=function(){return this.va};_.g.xm=function(a){tP(this);this.send("3.8",[a])};_.g.yD=function(a){tP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.tV=function(a){tP(this);Edd(this.H).tV(a);this.yD(!!a)};
_.g.oL=function(){tP(this);this.send("3.9",[])};_.g.n9=function(){tP(this);this.send("3.41",[]);this.H.n9();var a=DYc(this.H.tm(),106006);a&&this.ha.promise.then(function(b){var c=_.D(_.UM(a),lYc,6);if(!c){c=new lYc;var d=_.UM(a);_.y(d,6,c)}c=_.B(c,1,b.clientId);_.B(c,2,b.V);a.xk()},function(){})};_.g.Sz=function(){tP(this);return this.H.Sz()};_.g.K4=function(){tP(this);return Ved(this.send("3.19",[],function(a){return new x2c(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Ml.isConnected()};
_.g.E6=function(){return this.hb};_.g.sync=function(){tP(this);return this.send("3.28",[]).then()};_.g.vx=function(){return this.H.vx()};_.g.D$=function(){};_.g.Pma=function(a){tP(this);return this.W.Ata(a)};_.g.w1=function(a){tP(this);return this.W.zta(a)};_.g.TBa=function(a){tP(this);U1c(this.H.Am,a,uYc(this.Ba));return this.W.wta(a)};_.g.Qma=function(a){tP(this);return new Ded(this.ha.promise,a)};
_.g.qsa=function(a){tP(this);if(!this.ka||this.ka.isDisposed()){var b=FN.prototype.tlb.bind(this);this.ka=new ued(a,this.H,b)}return this.ka};_.g.tlb=function(a){return this.send("3.20",[a.Ac()],function(b){return new C7c(JSON.parse(b[0]))})};_.g.yCa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Zh()};_.g.JS=function(a){tP(this);return this.send("3.25",[a.Ac()],function(b){return new y7c(JSON.parse(b[0]))})};_.g.Zta=function(a){tP(this);return this.send("3.22",[a.Ac()],function(){return new D7c})};
_.g.VAa=function(){return this.zc.promise};_.g.FXa=function(a){var b=_.di();this.send("3.30",[a.Ac()],function(c){c[0]?b.resolve(new F7c(JSON.parse(c[0]))):b.reject(new _.Rb(JSON.parse(c[1])))}).hf(function(c){return void b.reject(c)});return b.promise};_.g.Psa=function(a){tP(this);return this.W.nta(a)};_.g.Ssa=function(a){tP(this);return this.send("3.42",[a.Ac()],function(b){return new SZc(JSON.parse(b[0]))}).then()};
_.g.U1=function(a){tP(this);var b=new _.Zn;this.send("3.39",[a.Ac()],function(c){return JSON.parse(c).map(function(d){return new u2c(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new Ked(b.promise))};_.g.lCa=function(a){var b=this;tP(this);return new hed(this.H,a,function(c){return b.send("3.37",[c.request.Ac(),c.pageToken],function(d){d=JSON.parse(d);return new j1c(new QO(JSON.parse(d[0])),d[1])}).then()})};
_.g.Qka=function(a){tP(this);return this.send("3.38",[a.Ac()],function(b){return new d7c(JSON.parse(b[0]))}).then()};_.g.QGa=function(a){tP(this);return this.W.Eta(a)};_.g.Fna=function(a){tP(this);return this.W.Dta(a)};_.g.nFa=function(a){var b=this;tP(this);return new ied(this.H,a,function(){return b.send("3.40",[a.Ac()],function(c){return new _.uN(JSON.parse(c[0]))}).then()})};_.g.Hma=function(a){tP(this);return this.W.xta(a)};_.g.Wda=function(a){tP(this);this.send("3.43",[a.Ac()])};
_.g.$ea=function(a){tP(this);return this.send("3.44",[a.Ac()],function(){return new OYc}).then()};_.g.zq=function(a){tP(this);if(1!=_.HM(this.H.Vc))return Promise.reject(Error("sg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Oc())return Promise.reject(Error("tg"));if(!c.Rj()&&!c.getItem())return Promise.reject(Error("ug"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Ac()})]))};
_.g.MXa=function(){var a=this,b=[_.Fi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.ai(b).then(function(c){c?_.Di(a.MXa.bind(a),6E4):(a.yb=!0,tP(a))})};var tP=function(a){a.yb&&a.dispatchEvent(new g8c)},WVc=function(a){if(_.F(a,61,!1)&&_.q.SharedWorker)if(_.D(a,xXc,66)){if(_.tL(_.UK(a))||_.IM(a)&&!_.F(a,52,!1))return!1}else return!1;else return!1;return!0},Ved=function(a){var b=_.di();a.Zf(b.resolve,b.reject,b);return b.promise};
var uP=function(){_.Q.apply(this,arguments);this.W=new _.nm;this.ta=this.Ea=this.Ia=!1};_.N(uP,_.Q);uP.prototype.initialize=function(){this.Ia||(this.Ia=!0,this.ha(),this.setActive(!0))};uP.prototype.ha=function(){};uP.prototype.setActive=function(a){this.Ea=a;Wed(this)};var Wed=function(a){if(a.Ea&&!a.ta){var b=_.om(a.W);if(b)if(a.Ma()){do a.va(b);while(b=_.om(a.W))}else a.ta=!0,_.ei(a.Qa(b),function(){a.ta=!1;Wed(a)})}};uP.prototype.va=function(){};uP.prototype.Qa=function(){};uP.prototype.Ma=function(){return!0};
uP.prototype.enqueue=function(a){try{var b=new _.gi;this.W.enqueue(new Xed(a,b));Wed(this);return b}catch(c){return _.ni(_.vL(c))}};var Xed=function(a,b){this.H=a;this.kg=b};Xed.prototype.getCommand=function(){return this.H};Xed.prototype.BE=function(){return this.kg};
var $ed=function(a){uP.call(this);var b=this;this.context=a;this.V=null;this.ka=new _.je(this);this.Oa(this.ka);this.ka.listen(this.context,"VMiG2e",function(){return void Yed(b)});this.H=this.context.jg.ms;_.ZK(this.context.Vc)&&this.ka.listen(this.H,"Kb",this.ma);var c=a.Wj;uO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!=_.fk(a.Vc.Pf(),17,1)&&(d.push("iuEtc"),uO(c,["mrK8ic"],function(){vO(c,"iuEtc")}));uO(c,d,function(){return Zed(b)})};_.N($ed,uP);$ed.prototype.ha=function(){afd(this)};
var Zed=function(a){if(1==a.context.qN.xg().Gb())return Promise.resolve();var b=_.Ve(_.We(new _.Ue,!0),301);b=_.WK(new _.VK,b);return bfd(a,b).then(null,function(c){c=_.jL(c);_.B(c,21,"Initial account request failed.");a.context.NN(c)})},Yed=function(a){var b=_.Ve(new _.Ue,304);b=_.WK(new _.VK,b);bfd(a,b).then(null,function(){})},bfd=function(a,b,c){a.V||(a.V=_.ei(a.context.Tn().then(function(d){return d.lh(b,c)}).then(function(d){var e=d.xg(),f=e.getUser();if(f&&0==_.H(f,7))d=_.kL(_.UK(a.context.Vc)),
d=Error("vg`"+d+"`"+_.TF(f)),_.Ta(d),_.VQc(a.context.tm(),73301807),d=Promise.reject(d);else{f=a.context.qN;var h=0==f.$e()?1:6;_.ZK(a.context.Vc)&&I3c(a.H,e);h=t8c(f,e,h);(e=e.getMetadata())&&a.context.jt(_.C(e,2),1);(d=_.C(d,4))&&e9c(a.context,d,!0);h&&a.dispatchEvent(new _.ui("WPi0i"));d=Promise.resolve(new _.bN(f.xg(),f.$e(),!1))}return d}).then(function(d){return d},function(d){d=_.jL(d);_.B(d,5,1);return Promise.reject(new _.Sb("Error fetching account from server.",d))}),function(){a.V=null}));
return a.V};$ed.prototype.va=function(a){var b=a.getCommand();if(b.H){var c={};b.OU&&(c.Bka=b.OU);bfd(this,b.Kc,c).then(function(e){return a.BE().callback(e)},function(e){return void a.BE().Ud(e)})}else if(b=this.context.qN,c=b.xg(),_.ZK(this.context.Vc)){c=c.xg();var d=c.getUser();d=M3c(this.H,_.TF(d));I3c(this.H,c);t8c(b,c,b.$e())&&this.dispatchEvent(new _.ui("WPi0i"));a.BE().callback(new _.bN(b.xg(),b.$e(),d))}else c.Gb(),b=new _.bN(c,b.$e(),!0),a.BE().callback(b)};
var afd=function(a){var b=a.context.Vc.Pf();_.q.setTimeout(function(){var c=_.Ve(new _.Ue,306);c=_.WK(new _.VK,c);bfd(a,c).then(function(){return afd(a)},function(){return afd(a)})},Math.ceil(_.gk(b,7,9E5)*Math.random())+_.gk(b,3,72E5))};$ed.prototype.ma=function(a){var b=this.context.qN,c=b.xg().xg();c&&a.getPeople().find(function(d){return _.C(d,1)==_.TF(c.getUser())})&&(I3c(this.H,c),t8c(b,c,b.$e())&&this.dispatchEvent(new _.ui("WPi0i")))};var cfd=function(a,b){this.Kc=a;this.H=!!b;this.OU=null};
var efd=function(a){uP.call(this);this.context=a;this.Ka=this.ma=!1;this.V=null;this.H=1;this.Ba=0;this.ka=null;this.ee=new _.je(this);this.Oa(this.ee);this.ee.listen(this.context.QX,"Qb",_.Wa(this.dispatchEvent,new _.ui("Qb",this)));dfd(this)};_.N(efd,uP);
var dfd=function(a){var b=a.context.Wj;uO(b,["nVUlO"],function(){a.Ka=!0;a.setActive(!0)});if(!_.IM(a.context.Vc)){var c=_.fk(a.context.Vc.Pf(),18,1);uO(b,["NSockf"],function(){1==c?ffd(a):a.setActive(!0)});2==c&&uO(b,["mrK8ic"],function(){a.ma||ffd(a)})}},ffd=function(a){var b=new _.Ue;_.We(b,!0);_.Ve(b,301);var c=new _.XL;_.rYc(c,b);_.B(c,1,1);gfd(a,c).ig(function(){return null})},gfd=function(a,b,c){_.q.clearTimeout(a.Ba);a.Ba=0;var d=_.di();a.V=d.promise;_.ei(a.V,function(){a.V=null;hfd(a)});
var e=a.H;a.H=b.getType()||e;var f=!a.ma;a.ma=!0;var h=new _.XL;_.B(h,1,a.H);_.rYc(h,b.Ae());a.context.Tn().then(function(k){return k.lh(h,c)}).then(function(k){a.ka=null;var l=a.context.QX;l.zN(k,l.oB()?6:1);d.resolve()},function(k){a.H=e;k=_.wL(k);var l=k.hh;_.B(l,5,2);f?(_.hL(l,1),k.message="Initial app settings refresh failed.",_.B(k.hh,21,"Initial app settings refresh failed."),a.context.NN(l),a.setActive(!0)):(_.hL(l,2),k.message="Error occurred while loading the latest set of apps.",_.B(k.hh,
21,"Error occurred while loading the latest set of apps."));a.ka=k;d.reject(k)});return a.V};efd.prototype.Ma=function(){return!1};
efd.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.Kc,e=c.lga,f=c.OU?{Bka:c.OU}:void 0;if(!ifd(d))return this.context.Tn().then(function(l){return l.lh(d,f)}).then(function(l){a.BE().callback(new _.ZM(l,1,!1))},function(l){a.BE().Ud(_.vL(l))}),_.Zh();c=_.Zh();var h=!1;this.V?jfd(this,d.getType())?e=this.V:c=e=new _.Yh(function(l,n){b.V.then(function(){gfd(b,d,f).then(function(){return l()},n)})}):!e&&this.Ka&&jfd(this,d.getType())&&!this.ka?(h=!0,e=_.Zh()):e=gfd(this,d,f);var k=a.BE();e.then(function(){var l=
b.context.QX;k.callback(new _.ZM(l.Rq(),l.$e(),h))},function(l){k.Ud(l)});return c.then()};
var ifd=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.Hd(a,4),a=_.Hd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},jfd=function(a,b){return a.H==b||4==a.H||2==a.H&&1==b},hfd=function(a){var b=a.context.Vc.Pf(),c=new _.Ue;_.Ve(c,306);var d=new _.XL;_.B(d,1,1);_.rYc(d,c);a.Ba=_.q.setTimeout(function(){return void gfd(a,d)},Math.ceil(_.gk(b,7,9E5)*Math.random())+_.gk(b,4,72E5))},kfd=function(a,b){this.Kc=a;this.lga=!!b;this.OU=null};
var lfd=function(a,b){this.request=a;this.va=b;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.di();this.W="";this.ha=this.ka=!1};lfd.prototype.mh=function(){this.ka||(this.ka=!0,mfd(this));return this.V.promise};var mfd=function(a){if(a.ha)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.LNc(a.request,a.W);a.va.then(function(c){return c.lh(b)}).then(a.ta.bind(a),a.ma.bind(a))}};lfd.prototype.ta=function(a){var b=this;(this.W=a.pageToken)?setTimeout(function(){mfd(b)},1E4):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
lfd.prototype.ma=function(a){a=_.wL(a);var b=a.hh.Qj();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)};lfd.prototype.cancel=function(){this.ha=!0};
var ofd=function(a){uP.call(this);var b=this;this.context=a;this.H=null;this.ka=new _.je(this);this.Oa(this.ka);this.ka.listen(this.context.KD,"WPi0i",function(){return b.dispatchEvent(new _.ui("WPi0i"))});this.V=_.di();this.ma=_.Hd(this.context.Vc.Pf(),30);nfd(this)};_.N(ofd,uP);
var nfd=function(a){var b=a.context.Wj;uO(b,["rkYxSd"],function(){return a.initialize()});uO(b,["px2C2c"],function(){a.context.dg().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.V.resolve();a.V=null});var c=["NSockf"],d=_.fk(a.context.Vc.Pf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&uO(b,["mrK8ic"],function(){vO(b,"OZvrNc")}));!_.F(a.context.Vc,11,!1)&&_.F(a.context.Vc,24,!1)&&(c.push("DEJoH"),_.q.setTimeout(function(){0<_.vk(sdd(a.context.KD),_.ep,1).length||(b.H("NSockf")?
vO(b,"DEJoH"):uO(b,["NSockf"],function(){vO(b,"DEJoH")}))},12E3));uO(b,c,function(){if(!b.H("px2C2c")){var e=new _.Ue;_.We(e,!0);_.Ve(e,301);var f=new _.BC;_.y(f,1,e);zVc(f,pfd(a));qfd(a,f).ig(function(){a.initialize()})}})};ofd.prototype.ha=function(){var a="User prefs detected: "+_.vk(sdd(this.context.KD),_.ep,1).length;this.context.dg().info("drive.ds.sync.userprefs.UserPrefsManager",a);rfd(this)};
var qfd=function(a,b,c){var d=c?{Bka:c}:void 0;return a.context.Tn().then(function(e){return e.lh(b,d)}).then(function(e){a.H=null;var f=a.context.KD;f.zN(_.vk(e,_.ep,3),f.oB()?6:1,_.Hd(b,3))}).then(null,function(e){e=_.wL(e);_.B(e.hh,5,4);0<a.W.lc()||a.context.NN(e.hh);a.H=e;throw e;})};
ofd.prototype.va=function(a){var b=this,c=a.getCommand(),d=a.BE(),e=new Set([].concat(_.Sc(this.context.KD.cC.keys()))),f=_.Hd(c.Kc,3);f.find(function(h){return!e.has(h)})&&(c.lga=!0);this.H?d.Ud(this.H):c.lga?(zVc(c.Kc,pfd(this,f)),_.ei(this.V?this.V.promise:qfd(this,c.Kc,c.OU||void 0),function(){return sfd(b,d,f,!1)})):sfd(this,d,f,!0)};
var pfd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Sc(a.ma),_.Sc([].concat(_.Sc(a.context.KD.cC.keys()))),_.Sc(b)));return[].concat(_.Sc(a.values()))},sfd=function(a,b,c,d){a=a.context.KD.IK(c);b.callback(new _.aN(a.H,a.Fg,d))},rfd=function(a){var b=a.context.Vc.Pf();_.q.setTimeout(function(){var c=new _.BC,d=new _.Ue;_.Ve(d,306);_.y(c,1,d);zVc(c,pfd(a));_.ei(qfd(a,c).ig(_.nf),function(){return rfd(a)})},Math.ceil(_.gk(b,7,9E5)*Math.random())+_.gk(b,5,72E5))},tfd=function(a,b){this.Kc=
a;this.lga=!!b;this.OU=null};
var ZVc=function(a){XO.call(this,a);this.ka=this.ma=this.va=null;this.hb=_.di();this.H=a.Tn()};_.N(ZVc,XO);_.g=ZVc.prototype;_.g.INa=function(){this.Ka=new $ed(this.context);this.Oa(this.Ka);this.Ma=new efd(this.context);this.Oa(this.Ma);this.Qa=new ofd(this.context);this.Oa(this.Qa)};
_.g.tIa=function(){var a=this,b=["hVFf7"];_.IM(this.context.Vc)&&b.push("BNEDtc");uO(this.V,b,(0,_.v)(this.lSa,this));uO(this.V,["T8oKm","ZA9qG"],(0,_.v)(this.vZa,this));uO(this.V,["T8oKm","mrK8ic"],(0,_.v)(this.vZa,this));this.ee.listen(this.Ka,"WPi0i",this.jpa.bind(this,1));this.ee.listen(this.Ma,"Qb",this.jpa.bind(this,2));this.ee.listen(this.Qa,"WPi0i",this.jpa.bind(this,4));uO(this.V,["GZTDpc"],function(){return a.hb.resolve()})};_.g.vZa=function(){bP(this.context).addCallback(function(a){a.start()})};
_.g.jpa=function(a){_.pa(RYc,a)&&this.dispatchEvent(new H7c(a))};_.g.w1=function(a){return this.W.zta(_.Ek(a))};_.g.TBa=function(a){U1c(this.context.Am,a,uYc(this.context.UD));return this.W.wta(_.Ek(a))};_.g.Pma=function(a){return this.W.Ata(_.Ek(a))};_.g.Qma=function(a){return new lfd(a,this.context.Tn())};_.g.Fra=function(a,b){var c=this;if(this.va&&_.Dk(this.va.Ad(),a))return this.va;this.va=new rP(_.Ek(a),this.context,this.yeb.bind(this),b);_.q.setTimeout(function(){c.va=null},3E3);return this.va};
_.g.yeb=function(a,b,c){var d=new _.ANc(a,b,c);return _.mi(this.H.then(function(e){return e.lh(d)}).ig(function(e){return _.xL(e)}))};_.g.qsa=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new ued(a,this.context,this.Qfb.bind(this));return this.ka};_.g.Qfb=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).ig(function(b){return _.xL(b)}))};_.g.yCa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Zh()};_.g.JS=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}))};
_.g.Zta=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}))};_.g.XBa=function(a,b){var c=this;if(this.ma&&_.Dk(this.ma.Ad(),a))return Ced(this.ma),this.ma;this.ma=new zed(_.Ek(a),this.context,this.jEb.bind(this),b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.jEb=function(a){var b=this;return this.H.then(function(c){return c.lh(a)}).then(function(c){return _.ZK(b.context.Vc)?L3c(b.context.jg.ms,_.vk(c.Vp(),_.$k,2),a.Ad().getId()).then(function(){return c}):c},_.xL)};
_.g.fya=function(a){var b=this;return _.mi(this.H.then(function(c){return c.lh(a)}).then(function(c){return _.ZK(b.context.Vc)?L3c(b.context.jg.ms,[_.D(c,_.$k,2)],a.Oc()).then(function(){return c}):c},_.xL))};_.g.bua=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};_.g.Psa=function(a){return this.W.nta(_.Ek(a))};_.g.Ssa=function(a){return this.H.then(function(b){return b.lh(a)}).then(null,_.xL)};
_.g.U1=function(a){return this.H.then(function(b){return b.lh(a)}).then(function(b){var c=new _.Zn;V3c(a,b).then(function(d){return c.resolve(d)});return new Ked(c.promise)},function(b){return void _.xL(b)})};_.g.lCa=function(a){var b=this;return new hed(this.context,a,function(c){return b.H.then(function(d){return d.lh(c)}).ig(function(d){return _.xL(d)})})};_.g.Qka=function(a){return this.H.then(function(b){return b.lh(a)}).then(null,_.xL)};
_.g.Bd=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};_.g.wU=function(a){return this.H.then(function(b){return b.lh(a)}).then(null,_.xL)};_.g.NA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.Bd(a[d])),b.push(a[d].getId());a=new _.Bp(c);c=new _.gi;a.addCallback(this.chb.bind(this,c,b));return c};_.g.pta=function(){return new Eed(this.context.Vc,this.context.VD,this.context.cT().hpa,this.context.Tn(),this.context.OR,this.context.dg(),this.context.tm())};
_.g.Rq=function(a,b){var c=this,d=_.Sg();this.ha.create(d,a);3==a.getType()?a=XO.prototype.Rq.call(this,a).addCallback(function(e){return new _.ZM(e,1,!1)}):(vO(this.V,"Qubz4b"),a=this.Ma.enqueue(new kfd(a,b)));return a.addCallback(function(e){k2c(c.ha,d,e);return e.response}).hf(function(){oO(c.ha,d)})};_.g.Cr=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};_.g.hya=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};
_.g.Yta=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};_.g.T1=function(a){return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};_.g.jT=function(a,b){var c=this;vO(this.V,"iuEtc");var d=_.Sg();this.ha.create(d,a);return this.Ka.enqueue(new cfd(a,b)).addCallback(function(e){k2c(c.ha,d,e);return e.response}).hf(function(){oO(c.ha,d)})};
_.g.IK=function(a,b){var c=this,d=_.Hd(this.context.Vc.Pf(),30);if(!d||0==d.length)return _.ni(new _.Sb("getUserPrefs requires a namespace.",_.uL(3)));0==_.Hd(a,3).length&&zVc(a,d);var e=_.Sg();this.ha.create(e,a);vO(this.V,"OZvrNc");return this.Qa.enqueue(new tfd(a,b)).addCallback(function(f){k2c(c.ha,e,f);return f.response}).hf(function(){oO(c.ha,e)})};_.g.r0=function(a){Jed(_.Hd(this.context.Vc.Pf(),30),a);return _.mi(this.H.then(function(b){return b.lh(a)}).then(null,_.xL))};
_.g.Nu=function(a){var b=this;return _.mi(this.H.then(function(c){return c.lh(a)}).then(function(c){return _.ZK(b.context.Vc)?K3c(b.context.jg.ms,c):c},_.xL))};_.g.QGa=function(a){return this.W.Eta(_.Ek(a))};_.g.Fna=function(a){return this.W.Dta(_.Ek(a))};_.g.nFa=function(a){var b=this;return new ied(this.context,a,function(c){return b.H.then(function(d){return d.lh(c)}).ig(function(d){return _.xL(d)})})};_.g.Hma=function(a){return this.W.xta(_.Ek(a))};_.g.Wda=function(a){e$c(this.context.jg,[a])};
_.g.$ea=function(a){return this.H.then(function(b){return b.lh(a)}).then(null,_.xL)};_.g.zq=function(a){if(1!=_.HM(this.context.Vc))return Promise.reject(Error("sg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Oc())return Promise.reject(Error("tg"));if(!c.Rj()&&!c.getItem())return Promise.reject(Error("ug"))}this.context.jg.zq(a);a=this.context.jg;$O(a.H).c6();a.W.qS();return Promise.resolve()};_.g.Lxa=function(){return this.context.cT().uH()};
_.g.yD=function(a){var b=this;return this.context.yD(a).then(function(c){return c?(b.context.ik.yD(a),b.context.Gu.wQ()):_.Zh(!a)})};_.g.tV=function(a){Edd(this.context).tV(a);this.yD(!!a)};_.g.oL=function(){bP(this.context).addCallback(function(a){a&&a.m$()});this.context.Gra.oL()};_.g.D$=function(a){a.Uj(this.context)};_.g.chb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.jg;$O(b.H).c6();b.W.qS();a.callback(d)};
_.g.sync=function(){var a=this;return _.bi([this.context.qia.promise,this.context.Ka.promise]).then(function(){return a.context.Gu.wQ()}).then()};_.g.vx=function(){bP(this.context).addCallback(function(a){a&&a.dispose()});return XO.prototype.vx.call(this)};_.g.VAa=function(){return this.hb.promise};
var ufd=function(){var a='<div class="'+_.J("la-r")+'">';a=a+'\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u304f\u3060\u3055\u3044\u3002</div><button class="'+(_.J("la-Y-A")+" "+_.J("kc-A")+'" data-target="reload">');return(0,_.K)(a+"\u518d\u8aad\u307f\u8fbc\u307f</button>")};
_.np({id:_.Sk,callback:function(a){var b=_.oUc(a),c=aWc(a),d=_.D(a.get(_.Nl),_.Ab,10);_.$Oc(d,b);_.B(d,28,c||[]);b=$Vc(a,d);a.registerService(_.Tk,b.E6());_.ne(b,"VbxEwf",function(){var e={};_.cc(_.Wx.getService(a),new _.pr(new _.or(ufd,{}),"d",(e.reload=function(){_.q.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
var wfd,Bfd,Dfd;_.vfd=function(a,b){return _.y(a,17,b)};wfd=[3];_.vP=function(a){_.R(this,a,0,-1,wfd,null)};_.O(_.vP,_.M);_.vP.prototype.getType=function(){return _.C(this,1)};_.vP.prototype.Oc=function(){return _.C(this,2)};_.xfd=function(a,b){return _.B(a,2,b)};_.vP.prototype.H=function(){return _.vk(this,_.vP,3)};_.yfd=function(a){_.R(this,a,0,-1,null,null)};_.O(_.yfd,_.M);_.yfd.prototype.getFeature=function(){return _.C(this,1)};_.zfd=function(a,b){return _.B(a,1,b)};
_.yfd.prototype.H=function(){return _.D(this,_.vP,2)};_.Afd=function(a,b){return _.y(a,2,b)};Bfd=[1];_.TM=function(a){_.R(this,a,0,-1,Bfd,null)};_.O(_.TM,_.M);_.TM.prototype.H=function(){return _.vk(this,_.yfd,1)};_.Cfd=function(a,b){return _.jb(a,1,b)};Dfd=[1,2];_.jP=function(a){_.R(this,a,0,-1,Dfd,null)};_.O(_.jP,_.M);_.jP.prototype.H=function(){return _.Hd(this,1)};_.Efd=function(a,b){return _.B(a,1,b||[])};_.jP.prototype.SS=function(){return _.vk(this,_.jQb,2)};
_.Ffd=function(a,b){return _.jb(a,2,b)};_.jP.prototype.Ae=function(){return _.D(this,_.Ue,3)};_.Gfd=function(a,b){return _.y(a,3,b)};_.t("RsR2Mc");



_.w();

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