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

_.U("c","",1,function(a,b){return(0,_.L)('<div jsname="'+_.K("v5a5C")+'">'+_.T(_.en("b","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{
_.t("em0");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14p");
_.ZHc=[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];_.$Hc=[90,59,75];_.aIc=_.wa(_.ZHc,_.$Hc);

_.w();

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

_.ZHc.push(210);_.ZHc.push(210);_.aIc.push(210);

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var Aob,Cob;Aob=[4,5,6,7];_.Bob=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.Bob,_.M);_.Bob.prototype.Eu=function(){return _.C(this,2)};_.Bob.prototype.cNa=function(){return _.C(this,3)};Cob=[5];_.Dob=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.Dob,_.M);_.Eob=function(a){_.Q(this,a,0,-1,Cob,null)};_.O(_.Eob,_.M);_.g=_.Eob.prototype;_.g.kc="dzR11e";_.g.nE=function(){return _.C(this,1)};_.g.vN=function(){return _.C(this,3)};_.g.uO=function(){return _.Jk(this,_.Bob,5)};
_.g.tn=function(){return _.C(this,6)};_.g.Bw=function(){return _.C(this,7)};_.g.Ox=function(){return _.C(this,10)};_.LC=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.LC,_.M);_.LC.prototype.kc="JmcaR";_.LC.prototype.Jb=function(){return _.C(this,1)};_.LC.prototype.Gc=function(a){return _.B(this,1,a)};_.LC.prototype.WY=function(){return _.C(this,2)};_.Fob=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.Fob,_.M);_.Fob.prototype.kc="dvhrqe";_.Fob.prototype.V=function(){return _.H(this,1)};
_.Gob=function(a){_.Q(this,a,0,-1,Aob,null)};_.O(_.Gob,_.M);_.Gob.prototype.V=function(){return _.D(this,_.Eob,1)};_.Gob.prototype.wE=function(){return _.D(this,_.LC,8)};_.Gob.prototype.W=function(){return _.D(this,_.Fob,9)};_.t("synh");
_.MC=function(a){_.Q(this,a,0,-1,Hob,null)};_.O(_.MC,_.M);var Hob=[2];_.MC.prototype.getUser=function(){return _.D(this,_.ml,1)};_.MC.prototype.getMetadata=function(){return _.D(this,_.Gob,3)};_.MC.prototype.mp=function(){return _.nk(this,3)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Kob=function(a){return a instanceof _.Qb?a:a instanceof _.Rb?a.kh:null};_.t("syni");

_.w();

}catch(e){_._DumpException(e)}
try{
_.hfb=function(a){a=parseInt(_.C(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.mfb=function(a,b,c,d){var e=_.je.getService(a);a=e.Hf(a,c);c=a.H.Gj;var f=new _.ifb;b.cX&&_.B(f,2,b.cX);b.Zy&&0<=b.Zy&&_.B(f,1,b.Zy);b.quotaType&&_.B(f,3,b.quotaType);_.jfb(c,f);d&&(b=new _.kfb,_.B(b,1,d),_.lfb(c,b));e.af(a)};_.nfb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.jfb=function(a,b){b&&(a=a.wd(),_.y(a,29,b))};_.lfb=function(a,b){b&&(a=a.wd(),_.y(a,38,b))};
_.ifb=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.ifb,_.M);_.kfb=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.kfb,_.M);_.kfb.prototype.Oh=function(){return _.C(this,1)};_.t("synj");
_.pfb=function(a,b,c){var d=_.G(a.get(_.NDa),1,""),e=_.hfb(b);d=new _.xj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.Cj(_.Fj(_.Fj(_.Fj(_.Fj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.ofb(a,e,c)),-1!=parseInt(String(_.D(b,_.Oy,2)),10)?"upgrade":"")};
_.ofb=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{
_.xB=function(a){if(Array.isArray(a))return a.map(_.xB).join("");if(_.C(a,2)){if(!a.getId())throw Error("vd");return a.getId()+"/"+_.C(a,2)+","}return""};_.t("syoi");

_.w();

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

_.w();

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

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.NB=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.NB,_.M);_.g=_.NB.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=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.Td=function(a){return _.B(this,5,a)};_.g.$q=function(){return _.nk(this,5)};_.ilb=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.ilb,_.M);_.ilb.prototype.V=function(){return _.C(this,1)};
_.ilb.prototype.Jb=function(){return _.C(this,2)};_.ilb.prototype.Gc=function(a){return _.B(this,2,a)};_.ilb.prototype.W=function(){return _.C(this,3)};_.t("syth");
_.klb=function(a){_.Q(this,a,0,-1,jlb,null)};_.O(_.klb,_.M);var jlb=[1];_.klb.prototype.V=function(){return _.Dd(this,1)};
_.mlb=function(a){_.Q(this,a,0,-1,llb,null)};_.O(_.mlb,_.M);var llb=[1];_.mlb.prototype.V=function(){return _.Jk(this,_.ilb,1)};
_.olb=function(a){_.Q(this,a,0,-1,nlb,null)};_.O(_.olb,_.M);var nlb=[1];_.olb.prototype.V=function(){return _.Jk(this,_.mlb,1)};_.olb.prototype.addResult=function(a,b){return _.Mk(this,1,a,_.mlb,b)};
_.plb=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.plb,_.M);_.plb.prototype.W=function(){return _.D(this,_.olb,1)};_.plb.prototype.V=function(){return _.D(this,_.klb,2)};
_.OB=function(a){_.Q(this,a,0,-1,qlb,null)};_.O(_.OB,_.M);var qlb=[2,14,18];_.g=_.OB.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Pd=function(){return _.Jk(this,_.zl,2)};_.g.uw=function(a){return _.jb(this,2,a)};_.g.Ug=function(a,b){return _.Mk(this,2,a,_.zl,b)};_.g.Bj=function(){return _.C(this,3)};_.g.mra=function(){return _.F(this,5,!0)};_.g.Q3=function(){return _.D(this,_.plb,7)};_.g.nra=function(){return _.H(this,8)};
_.g.Af=function(){return _.C(this,17)};_.g.uN=function(a){return _.B(this,17,a)};_.g.ef=function(){return _.C(this,12)};_.g.R3=function(a){return _.B(this,12,a)};_.g.oo=function(){return _.C(this,15)};_.g.gfa=function(){return _.Dd(this,18)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syud");
_.vD=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.vD,_.M);_.vD.prototype.Ae=function(){return _.D(this,_.Se,1)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.qE=function(a,b,c){_.P.call(this);this.Yp=null!=c?(0,_.v)(a,c):a;this.ma=b;this.Ag=(0,_.v)(this.Ceb,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.O(_.qE,_.P);_.g=_.qE.prototype;_.g.De=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.pf()+this.ma:this.H=_.Ji(this.Ag,this.ma)};_.g.stop=function(){this.H&&(_.Ki(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.Yp.apply(null,this.ka)))};_.g.Ya=function(){this.stop();_.qE.yb.Ya.call(this)};_.g.Ceb=function(){this.ha?(this.H=_.Ji(this.Ag,this.ha-_.pf()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.Yp.apply(null,this.ka)))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxa");
_.DG=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.DG,_.M);_.DG.prototype.Rc=function(){return _.C(this,1)};_.nPb=function(a){var b=new _.DG;return _.B(b,1,a)};_.DG.prototype.li=function(){return _.C(this,2)};_.DG.prototype.Ei=function(a){return _.B(this,2,a)};_.DG.prototype.Ae=function(){return _.D(this,_.Se,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.wG=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.wG,_.M);_.wG.prototype.getName=function(){return _.C(this,1)};_.wG.prototype.jd=function(a){return _.B(this,1,a)};_.wG.prototype.Ae=function(){return _.D(this,_.Se,2)};_.t("syxm");
_.xG=function(a){_.Q(this,a,0,-1,tOb,null)};_.O(_.xG,_.M);var tOb=[5,6,9,10,12,13,15,16];_.xG.prototype.getId=function(){return _.C(this,1)};_.xG.prototype.Yb=function(a){return _.B(this,1,a)};_.xG.prototype.Yx=function(){return _.C(this,2)};
_.vOb=function(a){_.Q(this,a,0,-1,uOb,null)};_.O(_.vOb,_.M);var uOb=[2,4];_.vOb.prototype.tm=function(){return _.C(this,1)};_.wOb=function(a,b){return _.B(a,1,b)};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy105");
var t1b=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("re`"+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("se`"+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 u1b=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],J=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var R=I^A&(E^I);var S=1518500249}else R=A^E^I,S=1859775393;else 60>z?(R=A&E|I&(A|E),S=2400959708):(R=A^E^I,S=3395469782);R=((r<<5|r>>>27)&4294967295)+
R+J+S+u[z]&4294967295;J=I;I=E;E=(A<<30|A>>>2)&4294967295;A=r;r=R}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]+J&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}}};
var w1b=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)}),v1b(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=_.pa(f)?[c,b,a]:[f.join(":"),c,b,a];_.La(d,function(k){e.push(k)});a=v1b(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},v1b=function(a){var b=u1b();b.update(a);return b.digestString().toLowerCase()};
_.x1b=function(){var a=_.q.__SAPISID||_.q.__APISID||_.q.__OVERRIDE_SID;if(a)return!0;a=new _.pcb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.y1b=function(a){var b=t1b(String(_.q.location.href));if(_.x1b()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.q.__SAPISID:_.q.__APISID;c||(c=new _.pcb(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&c&&b?[b,w1b(t1b(d),c,a||null)].join(" "):null}}return null};

_.w();

}catch(e){_._DumpException(e)}
try{
_.z1b=function(a,b,c){_.uj(a.url,function(d){d=d.target;d.Rt()?b(d.Tk()):c(d.Jb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.t("sy104");
var B1b=function(a){_.Q(this,a,0,-1,A1b,null)};_.O(B1b,_.M);var A1b=[2];
_.C1b=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.C1b,_.M);_.C1b.prototype.Ii=function(){return _.C(this,7)};
_.D1b=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.D1b,_.M);_.Qk[66321687]=new _.kk(66321687,_.D1b);
var E1b;_.KH=function(a){_.Q(this,a,0,31,E1b,null)};_.O(_.KH,_.M);E1b=[3,20,27];_.LH=function(a,b){return _.B(a,8,b)};
var G1b=function(a){_.Q(this,a,0,17,F1b,null)};_.O(G1b,_.M);var F1b=[3,5],H1b=function(a){var b=_.pf().toString();return _.B(a,4,b)},I1b=function(a,b){return _.jb(a,3,b)},J1b=function(a,b){return _.B(a,14,b)};
var L1b=function(a){_.Q(this,a,0,6,K1b,null)};_.O(L1b,_.M);var K1b=[5];
var M1b=function(a){_.Q(this,a,0,-1,null,null)};_.O(M1b,_.M);
var N1b=new _.kk(175237375,M1b);
var P1b;
_.MH=function(a,b,c,d,e,f,h,k,l,n,p){_.Hi.call(this);this.ud=a;this.uc=b||_.mf;this.ha=new G1b;this.Qa="";this.Xd=d;this.zc=p;this.H=[];this.Lb="";this.te=_.Wa(_.jia,0,1);this.va=e||null;this.Ea=c||null;this.Wa=h||!1;this.Ma=l||null;this.Nc=this.Qc=this.W=!1;this.Wb=this.ab=-1;this.Ab=!1;this.ma=null;this.Zd=!k;this.Ba=null;this.Ka=0;this.Rd=1;this.Cb=f||!1;this.rb=!1;this.Xc=!this.Cb&&(_.Oj.km&&_.ab(65)||_.Oj.gv&&_.ab(45)||_.Oj.ws&&_.ab(12)||_.Ug()&&0<=_.Qf(_.Lha(),12))&&!!_.Pe()&&!!_.Pe().navigator&&!!_.Pe().navigator.sendBeacon;
a=_.B(new _.D1b,1,1);f||(f=new _.C1b,b=document.documentElement.getAttribute("lang"),f=_.B(f,5,b),_.y(a,11,f));_.y(this.ha,1,a);_.B(this.ha,2,this.ud);this.ka=new _.IH(1E4,3E5,.1);this.V=new _.Ii(this.ka.hb());this.Oa(this.V);_.Wd(this.V,"tick",_.yfa(O1b(this,n)),!1,this);this.Ia=new _.Ii(6E5);this.Oa(this.Ia);_.Wd(this.Ia,"tick",_.yfa(O1b(this,n)),!1,this);this.Wa||this.Ia.start();this.Cb||(_.Wd(_.Pe(),"beforeunload",this.ta,!1,this),_.Wd(_.Pe(),"unload",this.ta,!1,this),_.Wd(document,"pagehide",
this.ta,!1,this))};_.O(_.MH,_.Hi);var O1b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.MH.prototype.Ya=function(){this.ta();_.MH.yb.Ya.call(this)};P1b=function(a){a.va||(a.va=.01>a.te()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.va};_.Q1b=function(a,b){b?(a.ma||(a.ma=new B1b),b=b.Cc(),_.B(a.ma,4,b)):a.ma&&_.Ak(a.ma,4)};_.R1b=function(a){a.Qc=a.Xc};
_.S1b=function(a,b){a.ka=new _.IH(1>b?1:b,3E5,.1);a.V.setInterval(a.ka.hb())};_.MH.prototype.log=function(a){a=_.Pk(a);var b=this.Rd++;_.B(a,21,b);this.Qa&&_.B(a,26,this.Qa);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.B(b,1,c)}_.nk(a,15)||_.B(a,15,60*(new Date).getTimezoneOffset());this.ma&&(b=_.Pk(this.ma),_.y(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new T1b(a));this.Wa||this.V.enabled||this.V.start()};
_.MH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)U1b(this);else{var d=_.pf();if(this.Wb>d&&this.ab<d)b&&b("throttled");else{var e=J1b(I1b(H1b(_.Pk(this.ha)),this.H),this.Ka);d={};var f=this.uc();f&&(d.Authorization=f);var h=P1b(this);this.Ea&&(d["X-Goog-AuthUser"]=this.Ea,h=_.mj(h,"authuser",this.Ea));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.mj(h,"pageId",this.Ma));if(f&&this.Lb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Ka=
0,this.W)a&&a();else{var k=e.Cc(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,q5a:1,requestHeaders:d,requestType:"POST",withCredentials:this.Zd,timeoutMillis:0},p=(0,_.v)(function(z){this.ka.reset();this.V.setInterval(this.ka.hb());if(z){try{var A=JSON.parse(z.replace(")]}'\n",""));var E=new L1b(A)}catch(I){}E&&(z=_.sk(E,1,"-1"),z=Number(z),0<z&&(this.ab=_.pf(),this.Wb=this.ab+z),E=E.ka(N1b))&&(E=_.rk(E,1,-1),-1!=E&&(this.Ab||_.S1b(this,E)))}a&&a()},this),r=(0,_.v)(function(z){var A=
_.Jk(e,_.KH,3);_.JH(this.ka);this.V.setInterval(this.ka.hb());401==z&&f&&(this.Lb=f);if(500<=z&&600>z||401==z||0==z)this.H=A.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),u=function(){c.zc?c.zc.send(n,p,r):c.Xd(n,p,r)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.q5a=2;u()},function(){u()}):u()}}}};
_.MH.prototype.ta=function(){this.W||(this.Qc&&U1b(this),this.Nc&&V1b(this),this.flush())};
var U1b=function(a){W1b(a,32,10,function(b,c){b=_.mj(b,"format","json");b=_.Pe().navigator.sendBeacon(b,c.Cc());a.rb&&!b&&(a.rb=!1);return b})},V1b=function(a){W1b(a,6,5,function(b,c){b=_.kj(b,"format","base64json","p",_.Qj(c.Cc(),3));_.Bg(new Image,b);return!0})},W1b=function(a,b,c,d){if(0!=a.H.length){var e=_.pj(P1b(a),"format");e=_.kj(e,"auth",a.uc(),"authuser",a.Ea||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=I1b(H1b(_.Pk(a.ha)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
T1b=function(){this.type="event-logged"};_.O(T1b,_.xi);
_.NH=function(a,b,c,d,e,f,h){_.MH.call(this,a,_.y1b,b,_.z1b,c,d,e,void 0,f,h)};_.N(_.NH,_.MH);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy12j");
_.bIc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.bIc,_.M);_.g=_.bIc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bq=function(){return _.nk(this,1)};_.g.hb=function(){return _.C(this,2)};_.g.Rb=function(a){return _.B(this,2,a)};_.g.yj=function(){return _.Ak(this,2)};_.g.lg=function(){return _.nk(this,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy12k");
_.cIc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.dIc=_.cg(_.cIc);

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.rL=function(a,b){return _.B(a,4,b)};_.gIc=function(a,b){_.B(a,11,b)};_.hIc=function(a,b){return _.B(a,25,b)};_.iIc=function(a,b,c,d,e,f){var h=new _.xj(null,void 0);a&&_.yj(h,a);b&&(h.ma=b);c&&_.zj(h,c);d&&_.Aj(h,d);e&&h.Qi(e);f&&_.Bj(h,f);return h};_.t("sy12w");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var kIc,nIc;kIc=[3,42];_.lIc=function(a){_.Q(this,a,0,-1,kIc,null)};_.O(_.lIc,_.M);_.lIc.prototype.jc=function(){return _.C(this,27)};_.mIc=function(a){return _.ib(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};nIc=function(a,b){if(b&&a in b)return a;var c=_.nFa();return c?(c=c.toLowerCase(),a=c+_.Hha(a),void 0===b||a in b?a:null):null};_.t("sy12x");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.oIc=function(a){_.Hi.call(this);this.$c=a||_.nh();if(this.jz=this.$cb())this.H=_.Wd(this.$c.hc(),this.jz,(0,_.v)(this.Neb,this))};_.O(_.oIc,_.Hi);_.g=_.oIc.prototype;_.g.$cb=_.vca(function(){var a=!!this.j5(),b="hidden"!=this.j5();if(a){var c;b?c=((_.nFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.j5=_.vca(function(){return nIc("hidden",this.$c.hc())});_.g.ueb=_.vca(function(){return nIc("visibilityState",this.$c.hc())});_.g.RO=function(){return!!this.$c.hc()[this.j5()]};
_.g.Neb=function(){var a=this.j5()?this.$c.hc()[this.ueb()]:null;a=new pIc(this.RO(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Fi(this.H);_.oIc.yb.Ya.call(this)};var pIc=function(a){_.xi.call(this,"visibilitychange");this.hidden=a};_.O(pIc,_.xi);

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.tL=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.O(_.tL,_.fIc);_.tL.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 qIc=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};
_.tL.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;)qIc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){qIc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){qIc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.tL.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 rIc;rIc=[2];_.sIc=function(a){_.Q(this,a,0,-1,rIc,null)};_.O(_.sIc,_.M);_.sIc.prototype.Jb=function(){return _.C(this,1)};_.sIc.prototype.Gc=function(a){return _.B(this,1,a)};_.sIc.prototype.Bj=function(){return _.C(this,3)};_.t("sy13r");
_.uL=function(a){_.Q(this,a,0,-1,tIc,null)};_.O(_.uL,_.M);var tIc=[1];_.uL.prototype.Ti=function(){return _.Dd(this,1)};_.uL.prototype.Ae=function(){return _.D(this,_.Se,2)};_.uIc=function(a,b){return _.y(a,2,b)};_.uL.prototype.li=function(){return _.rk(this,3,20)};_.uL.prototype.Ei=function(a){return _.B(this,3,a)};_.uL.prototype.xm=function(){return _.H(this,4)};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var yIc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.pfa);try{delete a[_.pfa]}catch(b){}},vL=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(_.Ba(f)){f[_.pfa]||c.push(f);var l=_.Da(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++)yIc(c[a]);return b.join("")};_.t("sy146");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var zIc,xL,BIc,AIc;_.wL=function(a,b,c){if("number"===typeof a)var d={name:AIc(a)};else d=a,a=BIc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.fa.call(this,b)};_.O(_.wL,_.fa);_.wL.prototype.getName=function(){return this.V.name||""};xL={n3a:1,C2a:2,NOT_FOUND_ERR:3,v1a:4,C1a:5,D2a:6,j3a:7,ABORT_ERR:8,S2a:9,PVb:10,TIMEOUT_ERR:11,P2a:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.CIc=(_.q.ZF||_.q.FI||xL).n3a;_.DIc=(_.q.ZF||_.q.FI||xL).C2a;_.EIc=(_.q.ZF||_.q.FI||xL).NOT_FOUND_ERR;
_.FIc=(_.q.ZF||_.q.FI||xL).v1a;_.GIc=(_.q.ZF||_.q.FI||xL).C1a;_.HIc=(_.q.ZF||_.q.FI||xL).D2a;_.IIc=(_.q.ZF||_.q.FI||xL).j3a;_.JIc=(_.q.ZF||_.q.FI||xL).ABORT_ERR;_.KIc=(_.q.ZF||_.q.FI||xL).S2a;_.LIc=(_.q.ZF||_.q.FI||xL).TIMEOUT_ERR;_.MIc=(_.q.ZF||_.q.FI||xL).P2a;_.NIc=(_.q.DOMException||xL).INVALID_ACCESS_ERR;_.OIc=(_.q.DOMException||xL).INVALID_STATE_ERR;
BIc=function(a){switch(a){case "UnknownError":return _.CIc;case "NotFoundError":return _.EIc;case "ConstraintError":return _.FIc;case "DataError":return _.GIc;case "TransactionInactiveError":return _.IIc;case "AbortError":return _.JIc;case "ReadOnlyError":return _.KIc;case "TimeoutError":return _.LIc;case "QuotaExceededError":return _.MIc;case "InvalidAccessError":return _.NIc;case "InvalidStateError":return _.OIc;default:return _.CIc}};
AIc=function(a){switch(a){case _.CIc:return"UnknownError";case _.EIc:return"NotFoundError";case _.FIc:return"ConstraintError";case _.GIc:return"DataError";case _.IIc:return"TransactionInactiveError";case _.JIc:return"AbortError";case _.KIc:return"ReadOnlyError";case _.LIc:return"TimeoutError";case _.MIc:return"QuotaExceededError";case _.NIc:return"InvalidAccessError";case _.OIc:return"InvalidStateError";default:return"UnknownError"}};
_.yL=function(a,b){return"error"in a?new _.wL(a.error,b):new _.wL({name:"UnknownError"},b)};_.zL=function(a,b){if("name"in a)return b=b+": "+a.message,new _.wL(a,b);if("code"in a){var c=AIc(a.code);b=b+": "+a.message;return new _.wL({name:c},b)}return new _.wL({name:"UnknownError"},b)};
_.PIc=function(a){this.H=a};_.QIc=_.q.IDBKeyRange||_.q.webkitIDBKeyRange;_.PIc.prototype.range=function(){return this.H};
var RIc=function(a){this.H=a};RIc.prototype.getName=function(){return this.H.name};var SIc=function(a,b,c,d){var e=new _.li;try{var f=a.H[b](d)}catch(h){return c+=" with key "+vL(d),e.Vd(_.zL(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+vL(d);e.Vd(_.yL(h.target,c))};return e};RIc.prototype.get=function(a){return SIc(this,"get","getting from index "+this.getName(),a)};
RIc.prototype.getKey=function(a){return SIc(this,"getKey","getting key from index "+this.getName(),a)};RIc.prototype.getAll=function(a,b){return _.TIc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.TIc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.PIc?d.range():(new _.PIc(_.QIc.only(d))).range();var h=new _.li;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?vL(f):"<all>"),h.Vd(_.zL(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?vL(f):"<all>");h.Vd(_.yL(l.target,c))};return h};
var AL=function(a){this.H=a},UIc;AL.prototype.getName=function(){return this.H.name};UIc=function(a,b,c,d,e){var f=new _.li;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=vL(d),e&&(c+=", with key "+vL(e)),f.Vd(_.zL(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=vL(d);e&&(c+=", with key "+vL(e));f.Vd(_.yL(k.target,c))};return f};_.VIc=function(a,b,c){return UIc(a,"put","putting into "+a.getName()+" with value",b,c)};
AL.prototype.add=function(a,b){return UIc(this,"add","adding into "+this.getName()+" with value ",a,b)};AL.prototype.remove=function(a){var b=new _.li;try{var c=this.H["delete"](a instanceof _.PIc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+vL(a),b.Vd(_.zL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+vL(a);b.Vd(_.yL(e.target,f))};return b};
AL.prototype.get=function(a){var b=new _.li;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+vL(a),b.Vd(_.zL(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 "+vL(a);b.Vd(_.yL(e.target,f))};return b};AL.prototype.getAll=function(a,b){return WIc(this,"getting all from index "+this.getName(),a,b)};
var WIc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.PIc?c.range():(new _.PIc(_.QIc.only(c))).range();var f=new _.li;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?vL(e):"<all>"),f.Vd(_.zL(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?vL(e):"<all>");f.Vd(_.yL(k.target,b))};return f};
AL.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.li;try{var c=this.H.clear()}catch(d){return b.Vd(_.zL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Vd(_.yL(d.target,a))};return b};_.XIc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.zL(d,"creating new index "+b+" with key path "+c);}};AL.prototype.getIndex=function(a){try{return new RIc(this.H.index(a))}catch(b){throw _.zL(b,"getting index "+a);}};
AL.prototype.count=function(a){var b=new _.li;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.Vd(_.yL(e.target,d.getName()))}}catch(e){b.Vd(_.zL(e,this.getName()))}return b};
var YIc=function(a,b){_.Hi.call(this);this.H=a;this.V=b;this.Bb=new _.he(this);this.Bb.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.Heb)};_.O(YIc,_.Hi);_.g=YIc.prototype;_.g.Heb=function(a){a.target instanceof _.wL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.yL(a.target,"in transaction")})};_.g.mi=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new AL(this.H.objectStore(a))}catch(b){throw _.zL(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.zL(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.li;_.le(this,"complete",(0,_.v)(a.callback,a));var b=_.le(this,"abort",function(){_.Fi(c);a.Vd(new _.wL(_.JIc,"waiting for transaction to complete"))});var c=_.le(this,"error",function(e){_.Fi(b);a.Vd(e.target)});var d=this.V;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){YIc.yb.Ya.call(this);this.Bb.dispose()};
var ZIc=function(a){_.Hi.call(this);this.H=a;this.Bb=new _.he(this);this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.Geb);this.Bb.listen(this.H,"versionchange",this.e9a);this.Bb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.O(ZIc,_.Hi);_.g=ZIc.prototype;_.g.Tta=!0;_.g.Geb=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.e9a=function(a){this.dispatchEvent(new $Ic(a.oldVersion,a.newVersion))};_.g.close=function(){this.Tta&&(this.H.close(),this.Tta=!1)};_.g.Yg=function(){return this.Tta};_.g.getName=function(){return this.H.name};_.g.xi=function(){return Number(this.H.version)};_.aJc=function(a,b,c){try{return new AL(a.H.createObjectStore(b,c))}catch(d){throw _.zL(d,"creating object store "+b);}};
_.bJc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new YIc(d,a)}catch(e){throw _.zL(e,"creating transaction");}};ZIc.prototype.Ya=function(){ZIc.yb.Ya.call(this);this.Bb.dispose()};var $Ic=function(a,b){_.xi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.O($Ic,_.xi);
_.cJc=function(){void 0==zIc&&(zIc=_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB);return zIc};
_.dJc=function(a,b,c,d){var e=new _.li;b=b?_.cJc().open(a,b):_.cJc().open(a);b.onsuccess=function(f){f=new ZIc(f.target.result);e.callback(f)};b.onerror=function(f){e.Vd(_.yL(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new ZIc(f.target.result);c(new $Ic(f.oldVersion,f.newVersion),h,new YIc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new $Ic(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.eJc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.t("sy147");
_.fJc=function(a){this.H=a};_.fJc.prototype.Ey=function(a){a=_.LH(new _.KH,a.Cc());this.H.log(a);return new _.ai(function(b){this.H.flush(b,function(){b()})}.bind(this))};
_.gJc=function(a){this.H=a;_.R1b(this.H)};_.gJc.prototype.Ey=function(a){a=_.LH(new _.KH,a.Cc());this.H.log(a);this.H.ta()};

_.w();

}catch(e){_._DumpException(e)}
try{
_.BL=function(a,b){a.Db.af(a.Db.Hf(a.La(),b,a.H.Rk()))};_.t("sy13s");
_.CL=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.CL,_.M);_.CL.prototype.Ae=function(){return _.D(this,_.Se,1)};_.DL=function(a,b){return _.y(a,1,b)};_.CL.prototype.Xg=function(){return _.C(this,4)};_.CL.prototype.Rka=function(a){return _.B(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var hJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(hJc,_.M);hJc.prototype.getEmail=function(){return _.G(this,3,"")};hJc.prototype.Os=function(){return _.nk(this,3)};_.EL=function(a){return _.D(a,hJc,36,1)};_.t("sy13t");

_.w();

}catch(e){_._DumpException(e)}
try{
var iJc=function(a){_.Q(this,a,0,-1,null,null)},nJc;_.O(iJc,_.M);var jJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(jJc,_.M);var kJc=[2],lJc=function(a){_.Q(this,a,0,-1,kJc,null)};_.O(lJc,_.M);var mJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(mJc,_.M);nJc=function(a){this.V=a};_.oJc=function(a){this.Sc=a};_.oJc.prototype.getId=function(){return this.Sc};var pJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(pJc,_.M);pJc.prototype.xi=function(){return _.C(this,1)};
var qJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(qJc,_.M);var sJc=function(){this.V=this.ka=!1;this.H=null;for(var a=this.ha=this.W=0;a<_.pBa.length;a++){var b=_.pBa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ka=!0;rJc(this,b);break}}},rJc=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})};
sJc.prototype.Ey=function(a){if(this.ka&&this.V){var b=_.D(a,_.rb,2)||new _.rb,c=_.D(a,_.vq,5)||new _.vq,d=_.D(a,_.qq,3)||new _.qq;a=_.Jk(a,_.Dza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Cc(),session_info:b.Cc(),session_invariants:c.Cc(),client_info:d.Cc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.W,clientY:this.ha}}))}};_.t("sy13w");
var tJc=function(){_.kq.call(this)};_.N(tJc,_.kq);tJc.prototype.Lu=function(){return 1==_.C(_.D(this.V,iJc,7),1)};var uJc=new _.gq("high_frequency_builder");
var vJc=function(a,b,c){a=new _.Ii(a);c.Oa(a);var d=new _.he(c);c.Oa(d);d.listen(a,"tick",b);a.start()};
var wJc=function(){_.kq.call(this)};_.N(wJc,_.kq);var xJc=function(a,b,c){var d=1E3*_.pf();if(0==b){b=new _.$p;var e=new _.fza;e=_.B(e,1,d);_.y(b,1,e);_.B(b,3,1);_.y(a.V,8,b);_.B(a.V,12,c);_.B(a.V,13,c);_.B(a.V,4,d);_.B(a.V,3,c)}else 1==b&&(b=new _.$p,e=new _.gza,d=_.B(e,1,d),_.y(b,2,d),_.B(b,3,2),_.y(a.V,8,b),_.B(a.V,12,c),_.B(a.V,3,c));return a},yJc=new _.gq("system_builder");
var zJc=function(a,b){_.P.call(this);this.V=a;this.H=new _.oIc(b);this.Oa(this.H);this.Bb=new _.he(this);this.Oa(this.Bb);this.H.j5()&&this.Bb.listen(this.H,"visibilitychange",this.W)};_.N(zJc,_.P);zJc.prototype.W=function(){if(this.V.gU()){var a=this.H.RO()?102001:102E3;a=this.V.hF(a,0);this.V.aq(a)}};
var AJc=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(AJc,_.P);_.g=AJc.prototype;_.g.aq=function(a){var b=this.H;_.B(a.V,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.wc()&&b.V.De();return new nJc(a)};_.g.hF=function(a,b){a=xJc(BJc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.iL=function(){return this.H.V};
_.g.EJ=function(a){var b=this.H,c=_.lq(a,yJc),d=b.ka++,e=_.D(_.D(c.V,_.$p,8),_.gza,2),f=1E3*_.pf();_.B(e,2,f);_.B(c.V,13,d);b.ma.remove(_.C(a.V,12))};_.g.D_=function(){var a=this.V;if(!a.ka||a.H.W){var b=CJc(a.H,691).build();b=DJc(a.H,[b]);a.ta.Ey(b)}a.ha();this.H.ta=!1;this.W&&(_.aa(this.W),this.W=null)};_.g.E_=function(){var a=this.H,b=CJc(a,716);EJc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.De();this.ha&&(this.W=new zJc(this))};_.g.hea=function(){this.V.ha();return _.hi(Array.from(this.V.W)).then()};
_.g.gU=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var FJc=function(a,b,c,d,e){_.P.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.sL(this.ha,3E3,this);this.W=new Set;this.ka=d;this.va=e||6E4};_.N(FJc,_.P);FJc.prototype.initialize=function(){vJc(this.va,this.V.De,this.V);vJc(36E5,this.ma,this)};FJc.prototype.ha=function(){var a=this;if(0!=this.H.H.wc()&&(!this.ka||this.H.W)){var b=GJc(this.H),c=this.Ba.Ey(b);c&&(_.ji(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
FJc.prototype.ma=function(){var a=this.H,b=CJc(a,1153).build();a.H.add(b);this.V.De()};
var HJc=function(a){_.P.call(this);this.H=a;this.Oa(this.H)};_.N(HJc,_.P);_.g=HJc.prototype;_.g.aq=function(a){a=this.H.aq(a);this.hea();return a};_.g.hF=function(a,b){return this.H.hF(a,b)};_.g.iL=function(){return this.H.iL()};_.g.EJ=function(a){return this.H.EJ(a)};_.g.D_=function(){return this.H.D_()};_.g.E_=function(){return this.H.E_()};_.g.hea=function(){return this.H.hea()};_.g.gU=function(){return this.H.gU()};
var IJc=function(){};IJc.prototype.QN=function(){return new tJc};
var JJc=function(){this.H=[]};JJc.prototype.add=function(a){this.H.push(a)};JJc.prototype.wc=function(){return this.H.length};
var KJc=function(){this.H={}};KJc.prototype.add=function(a){var b=_.C(a.V,12);this.H[b]=a};KJc.prototype.remove=function(a){delete this.H[a]};
var LJc=function(a,b){this.V=a;this.Ea=b;this.ka=1;this.va=this.ha=null;this.ma=new KJc;this.H=new JJc;this.ta=this.Ba=this.W=!1},BJc=function(a,b){a=_.lq((new _.kq).initialize(new _.Dza,a.Ea),yJc);_.B(a.V,10,b);return a},GJc=function(a){var b=a.H,c=b.H;b.H=[];return DJc(a,c)},DJc=function(a,b){var c=new _.KAa;var d=_.Pk(a.V.ha);c=_.y(c,2,d);d=a.V;(d=d.V?_.Pk(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],_.eq,5);if(k&&_.D(k,_.lIc,1)){k=_.D(k,_.lIc,1);_.nk(k,12)&&
void 0===e&&(e=_.H(k,12));k=_.D(k,jJc,20);if(void 0!==k&&void 0===f){f=new qJc;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?_.Pk(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.qq),void 0!==e&&_.B(d,6,e),void 0!==f&&_.y(d,13,f);(e=d)&&_.y(c,3,e);a=_.Pk(a.V.ka);_.y(c,4,a);_.jb(c,1,b);return c},CJc=function(a,b){var c=xJc(BJc(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 mJc;k=_.B(n,1,k);l=_.C(l.V,10);l=_.B(k,2,l);f.push(l)}d=f}716!=b&&(b=a.va,_.B(c.V,6,a.ha),e=new lJc,b=_.B(e,1,b),d&&_.jb(b,2,d),d=_.mq(c),_.y(d,3,b));EJc(a,c);return c},EJc=function(a,b){a.ha=_.C(b.V,12);a.va=_.C(_.D(_.D(b.V,_.$p,8),_.fza,1),1)};
var MJc=function(){};MJc.prototype.QN=function(){return new wJc};
var NJc=function(){this.H=this.V=null};NJc.prototype.build=function(){null==this.H&&(this.H=new _.hAa);_.oq(this.H,yJc,new MJc);_.oq(this.H,uJc,new IJc);var a=this.H;var b=this.V;if(!_.nk(_.OJc(b),1)){var c=_.OJc(b),d=new _.yAa;_.y(c,1,d)}b=_.D(_.OJc(b),_.yAa,1);a.H=b;b=_.Rc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new LJc(this.V,this.H)};
var PJc=function(){this.ha=new _.rb;this.V=null;this.ka=new pJc;_.B(this.ka,1,6);this.H=this.W=null};PJc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.QJc=function(a,b){_.B(a.ha,2,b);return a};_.RJc=function(a,b){if(null==a.W){a.W=new _.EAa;var c=_.OJc(a);_.y(c,2,a.W)}_.B(a.W,1,b)};_.OJc=function(a){null==a.V&&(a.V=new _.vq);return a.V};_.SJc=function(a){null==a.H&&(a.H=new _.qq);return a.H};
_.TJc=function(){this.V=this.ma=null;this.ka=new PJc;this.ha=null;this.H=this.ta=!1;this.W=null};_.UJc=function(a,b){a.ma=b;return a};_.VJc=function(a,b){a.V=b;return a};_.WJc=function(a,b){a.ha=b;return a};_.TJc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.XJc=function(a,b){_.B(a.ka.ha,6,b);return a};
_.TJc.prototype.build=function(){var a=new NJc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new sJc;this.V=this.ma=b}b=new FJc(a,this.ma,this.V,this.ta,this.W);a=new AJc(a,b,!1);this.H&&(a=new HJc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.FL=function(a){return a instanceof Error};_.GL=function(a){return _.F(a,84,!1)};_.t("sy13m");
_.YJc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.YJc,_.M);
_.HL=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.HL,_.M);_.HL.prototype.getOptions=function(){return _.D(this,_.YJc,1)};_.HL.prototype.oo=function(){return _.C(this,2)};_.HL.prototype.Ad=function(){return _.D(this,_.He,3)};
_.ZJc=function(a){_.Q(this,a,0,-1,null,_.IL)};_.O(_.ZJc,_.M);_.IL=[[3,4,5,6,7,8,9,10]];
_.$Jc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var JL,bKc;JL={};_.aKc=(JL[1]="modifiedDate",JL[2]="modifiedByMeDate",JL[3]="quotaBytesUsed",JL[4]="title",JL[6]="lastViewedByMeDate",JL[10]="createdDate",JL[7]="sharedWithMeDate",JL[9]="starred",JL[11]="recency",JL[5]="relevance",JL[12]="trashedDate",JL[13]="lastViewedByMeDate",JL);bKc={};_.cKc=(bKc[1]="asc",bKc[2]="desc",bKc);
_.dKc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.eKc=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():_.pf();this.date=new Date(a)};_.O(_.eKc,_.Zv);_.g=_.eKc.prototype;_.g.clone=function(){var a=new _.eKc(this.date);a.pE=this.pE;a.eS=this.eS;return a};_.g.add=function(a){(a.ha||a.W)&&_.Yv.prototype.add.call(this,new _.Xv(a.ha,a.W));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.V+60*(a.H+24*a.Au))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Zv.prototype.getUTCFullYear;
_.g.getMonth=_.Zv.prototype.getUTCMonth;_.g.getDate=_.Zv.prototype.getUTCDate;_.g.getHours=_.Zv.prototype.getUTCHours;_.g.getMinutes=_.Zv.prototype.getUTCMinutes;_.g.getSeconds=_.Zv.prototype.Eeb;_.g.getMilliseconds=_.Zv.prototype.Deb;_.g.getDay=_.Zv.prototype.getUTCDay;_.g.setFullYear=_.Zv.prototype.setUTCFullYear;_.g.setMonth=_.Zv.prototype.setUTCMonth;_.g.setDate=_.Zv.prototype.setUTCDate;_.g.setHours=_.Zv.prototype.xNa;_.g.setMinutes=_.Zv.prototype.yNa;_.g.setSeconds=_.Zv.prototype.zNa;
_.g.setMilliseconds=_.Zv.prototype.Feb;
var fKc,hKc;fKc={};_.gKc=(fKc[1]="0",fKc[2]="1",fKc[3]="2",fKc);hKc={};_.iKc=(hKc[1]="asc",hKc[2]="desc",hKc);
_.jKc=new _.gq("drive_dataservice_builder");
_.kKc=_.$g&&0>_.Qf(_.ch,"533");
_.lKc=new _.oJc("drive_dataservice_invariants");
_.mKc=new Map([[[1],1],[[6],7],[[2],2]]);_.nKc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.oKc=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 _.GL(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(a){return _.F(a,15,!1)}],[28,function(){return!0}]]);
_.pKc=new Map([[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)}]]);_.qKc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.rKc=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]]);_.sKc=new Map([[[2],3],[[1],2],[[0],1]]);_.tKc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.uKc=new Map([[[_.DIc],1],[[_.EIc],2],[[_.FIc],3],[[_.GIc],4],[[_.HIc],5],[[_.IIc],6],[[_.JIc],7],[[_.KIc],8],[[_.LIc],10],[[_.MIc],11],[[_.NIc],12],[[_.OIc],13]]);
_.vKc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy13p");
_.KL=function(a){_.Q(this,a,0,-1,wKc,null)};_.O(_.KL,_.M);var wKc=[8,17];_.KL.prototype.NA=function(){return _.C(this,1)};_.KL.prototype.Rc=function(){return _.C(this,2)};_.LL=function(a,b){return _.B(a,2,b)};_.KL.prototype.Wj=function(){return _.F(this,3,!1)};_.KL.prototype.getItem=function(){return _.D(this,_.zl,4)};_.KL.prototype.setItem=function(a){return _.y(this,4,a)};_.KL.prototype.Hc=function(){return _.C(this,7)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var AKc;_.OL=function(a){if(a instanceof _.Qb)return a;var b;if(_.FL(a)){if(b=_.Kob(a))return b;b=_.nEa(void 0,void 0,a)}else b="string"===typeof a?_.nEa(a):_.nEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.ML(b,2);_.NL(b,6);return b};_.xKc=function(a){var b=a.Vj();a=a.mE();return 15==b||32==b||33==b||401==a};_.yKc=function(){return _.q.WorkerGlobalScope&&self instanceof _.q.WorkerGlobalScope};
_.zKc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.zKc,_.M);_.PL=function(a){return _.rk(a,1,0)};_.QL=function(a){return _.D(a,_.zKc,4)};_.ML=function(a,b){return _.B(a,1,b)};_.NL=function(a,b){return _.B(a,2,b)};AKc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.RL=function(a){_.Q(this,a,0,-1,AKc,null)};_.O(_.RL,_.M);_.g=_.RL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.B(this,2,a)};_.g.Wg=function(){return _.C(this,3)};_.g.Cm=function(a){return _.B(this,3,a)};_.g.iu=function(a){return _.B(this,4,a)};_.g.ri=function(){return _.H(this,5)};_.g.En=function(a){return _.B(this,5,a)};_.g.jc=function(){return _.C(this,6)};_.g.$B=function(a,b){_.Hk(this,8,a,b)};_.g.Ui=function(){return _.C(this,12)};_.g.Ae=function(){return _.D(this,_.Se,17)};_.g.Hr=function(){return _.H(this,18)};_.g.xi=function(){return _.C(this,20)};
_.g.Hc=function(){return _.C(this,21)};_.SL=function(a,b){return _.B(a,16,b)};_.t("sy13o");
_.TL=function(a){_.Q(this,a,0,-1,BKc,null)};_.O(_.TL,_.M);var BKc=[5];_.g=_.TL.prototype;_.g.gO=function(){return _.rk(this,2,100)};_.g.aQ=function(a){return _.B(this,2,a)};_.g.Ti=function(){return _.Dd(this,5)};_.g.Ae=function(){return _.D(this,_.Se,6)};_.g.Hc=function(){return _.C(this,8)};
var CKc;CKc={};_.DKc=(CKc[0]="/drive/v2internal",CKc[1]="/drive/v2internal.corp",CKc[2]="/drive/v2internal.scary",CKc[4]="/drive/v2internal.scary",CKc[5]="/drive/v2beta",CKc[6]="/drive/v2.1beta",CKc);
_.EKc=new Set([0,1,2,3]);
_.FKc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.GKc=_.B(new _.RL,15,!0);_.HKc=_.SL(new _.RL,!0);_.IKc=_.SL(new _.RL,!1);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.KKc=function(a){for(var b in a)delete a[b]};_.LKc=function(a){a=_.Cf(a);return 0===a.length?_.Yga:new _.jg(a,_.Xga)};_.MKc=function(a,b){a=_.aj(a);b=_.aj(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy148");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.NKc=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(_.NKc,_.fIc);_.NKc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};_.NKc.prototype.update=function(a,b){this.V.update(a,b)};
_.NKc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};_.OKc=function(a,b){a.reset();a.update(b);return a.digest()};
_.PKc=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(_.PKc,_.fIc);_.PKc.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 QKc=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};
_.PKc.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;)QKc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){QKc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){QKc(this,e);f=0;break}}this.W=f;this.ha+=b}};
_.PKc.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;QKc(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{
_.UL=function(a,b){return _.B(a,82,b)};_.VL=function(a){return _.B(a,3,!0)};_.RKc=function(a,b){return _.B(a,7,b)};_.t("sy13n");
_.SKc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.TKc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.UKc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.VKc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var ZKc;_.WKc=function(a){var b={};_.Rf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.XKc=function(a){return(a=a&&_.WKc(a))&&a["x-guploader-uploadid"]};_.YKc=function(a){return(a=a&&_.WKc(a))&&a["x-google-trace"]};ZKc=[6];_.$Kc=function(a){_.Q(this,a,0,-1,ZKc,null)};_.O(_.$Kc,_.M);_.WL=function(a,b){return _.B(a,14,b)};_.t("sy149");
var aLc,cLc;
_.bLc=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=aLc(e)||new _.Qb;_.B(e,8,!0);k&&(k=_.Bj(new _.xj(k),void 0).toString(),_.B(e,19,k));e.mE()||_.B(e,15,a||f);e.getMessage()||_.sr(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.C(e,4)||_.vr(e,d);e.Vj()||(5==f?_.WL(e,7):0!=a||d?403==a?_.WL(e,22):503==a||429==a?_.WL(e,24):(_.Ak(e,14),_.B(e,10,1),_.B(e,8,!0)):l||_.WL(e,2));e.o$(_.XKc(c));e.c$(_.YKc(c));
return e};aLc=function(a){if(!_.Ba(a))return null;var b=new _.Qb,c=a.error;if(!c)return _.vr(b,JSON.stringify(a)),null;_.B(b,15,c.code);_.sr(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=cLc[c];d?_.B(b,10,d):c&&!d&&_.B(b,10,2);(a=a.debugInfo)&&_.vr(b,a);return b};
cLc={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{
_.dLc=function(a,b){return _.B(a,1,b)};_.eLc=function(a,b){return _.y(a,1,b)};_.fLc=function(a,b){return _.B(a,2,b)};_.gLc=function(a,b){return _.y(a,3,b)};_.t("sy14a");

_.w();

}catch(e){_._DumpException(e)}
try{
_.XL=function(a,b){return _.B(a,b,[])};_.YL=function(a,b){return _.jb(a,b,[])};_.ZL=function(a){return _.F(a,5,!1)};_.hLc=function(a,b){var c=_.D(a.V,_.hza,9);null==c&&(c=new _.hza);var d=_.C(b.V,10);d=_.B(c,5,d);b=_.C(b.V,12);_.B(d,2,b);_.y(a.V,9,c)};_.iLc=function(a,b,c){c&&(a=_.Kg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Jg(a));return a};
_.jLc=function(a){var b=_.Cka(a);if("undefined"==typeof b)throw Error("V");var c=new _.Ej(null,void 0);a=_.Ni(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.pla(c,e,f):c.add(e,f)}return c};
_.kLc=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("sy14m");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.lLc=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 mLc,nLc,rLc,vLc,wLc,QLc,TM,RLc,SLc,ZLc,tLc,GMc,sLc,cNc,eNc,gNc,hNc,iNc,jNc,lNc,mNc,nNc,oNc,pNc,DNc,ENc,GNc,HNc,LNc,JLc,PNc,KLc,QNc,RNc,rN,tN,SNc,UNc,VNc,WNc,XNc,YNc,aOc,bOc,cOc,dOc,eOc,iOc,kOc,lOc,mOc,nOc,oOc,qOc,uOc,sOc,vOc,wOc,rOc,xOc,tOc,GOc,FOc,HOc,MOc,NOc,OOc,TOc,VOc,WOc,YOc,ZOc,ePc,dPc,cPc,aPc,bPc,gPc,jPc,nPc,lPc,pPc,qPc,rPc,TLc,sPc,ULc,VLc,WLc,XLc,YLc,tPc,wPc;_.$L=function(a,b,c){var d=new _.Qb,e=_.uja(_.$L);_.B(d,20,e);_.NL(d,a);_.ML(d,b?b:2);c&&_.WL(d,c);return d};
_.aM=function(a){var b;a instanceof _.Qb?b=new _.Rb(null,a):b=_.FL(a)?a:_.q.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("mb`"+a);b.stack||(b.stack=_.uja(_.aM));return b};_.bM=function(a){return a instanceof _.Rb?a:a instanceof _.Qb?new _.Rb(void 0,a):a instanceof Error?new _.Rb("Not a drive.ds.Error",void 0,a):new _.Rb("Not an Error",void 0,Error("nb`"+JSON.stringify(a)))};_.cM=function(a){throw _.bM(a);};
mLc=function(a){return 7==a.Vj()||24==a.Io()&&(a=a.mE(),503==a||429==a)?!0:!1};nLc=function(a,b){return b?b+"("+a+")":a};
_.dM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.Rlb&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.oLc.includes(n)){var p=_.n3a.get(n);if(p){var r=_.q3a[n];a.yN&&r&&(p=r);a.Wy&&(a.yN?(n=_.p3a[n])&&(p=n):(n=_.o3a[n])&&(p=n));p.split(",").forEach(function(u){var z=_.Iha(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={S1:f.S1},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.S1=[];l.forEach(function(n){return function(p){n.S1.push(p)}}(f));"owners"==k&&b&&f.S1.push("kind");e.push(nLc(f.S1.join(","),k))}return nLc(e.join(","),c)};_.pLc=function(a){var b=new _.nq;b.append(_.dM(a,!0));return b.toString()};_.qLc=function(a,b){return a.filter(function(c){return b.includes(c)})};rLc=function(a){a=a.filter(function(b){return!_.n3a.has(b)});if(a.length)throw Error("Dc`"+a.join(", "));};
_.uLc=function(a){if(a){var b=a.jc();b&&_.rL(a,b.toLowerCase());sLc(a,_.Jk(a,tLc,58).map(function(c){var d=c.jc();d&&_.B(c,1,d.toLowerCase());return c}))}};vLc=function(a){if(_.Yf(a))return"\r\n";var b="";_.Rf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};wLc=function(a,b){b&&(_.Fj(a,"openDrive",!!_.F(b,2,!1)),_.Fj(a,"reason",_.C(b,1)||0),_.Fj(a,"syncType",_.C(b,3)||0),_.Fj(a,"errorRecovery",!!_.F(b,4,!1)))};
QLc=function(a){if(a instanceof _.eM)return"request access";if(a instanceof _.fM)return"admin migrate to TD";if(a instanceof _.gM)return"authorize app";if(a instanceof _.hM)return"copy item";if(a instanceof _.iM)return"change category links";if(a instanceof _.jM)return"create item";if(a instanceof _.kM)return"create ws";if("undefined"!=typeof _.lM&&a instanceof _.lM)return"delete app";if("undefined"!=typeof _.mM&&a instanceof _.mM)return"delete backup";if(a instanceof _.nM)return"delete item";if("undefined"!=
typeof _.oM&&a instanceof _.oM)return"delete permission";if(a instanceof _.pM)return"delete revision";if(a instanceof _.qM)return"delete TD";if("undefined"!=typeof _.ID&&a instanceof _.ID)return"delete pref";if(a instanceof _.rM)return"delete ws";if(a instanceof _.sM)return"download item";if(a instanceof _.tM||a instanceof _.uM)return"empty trash";if(a instanceof _.jp)return"find by ID";if(a instanceof _.xLc)return"item export start";if("undefined"!=typeof _.vM&&a instanceof _.vM)return"get app";
if("undefined"!=typeof _.wM&&a instanceof _.wM)return"insert app";if("undefined"!=typeof _.xM&&a instanceof _.xM)return"insert permission";if(a instanceof _.HL)return a=a.Ad(),_.yM(a)?"quick access item query":_.zM(a)?"people predict item query":_.AM(a)?"drive priority query":"item query";if("undefined"!=typeof _.BM&&a instanceof _.BM)return"list android backup items request";if(a instanceof _.CM){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 _.DM&&a instanceof _.DM?"list backups":a instanceof _.TL?"list changes":a instanceof _.EM?"list permissions":"undefined"!=typeof _.FM&&a instanceof _.FM?"list revisions":a instanceof yLc?"partial download item":a instanceof _.GM?"people api":a instanceof _.wG?"get published category":"undefined"!=typeof _.HM&&a instanceof _.HM?"get remaining changes":a instanceof _.IM?"remove item":"undefined"!=
typeof _.JM&&a instanceof _.JM?"reparent item":a instanceof _.zLc?"restore item":"undefined"!=typeof _.KM&&a instanceof _.KM?"list suggested workspace items":a instanceof _.qp?"list suggested workspaces":"undefined"!=typeof _.LM&&a instanceof _.LM?"update app":a instanceof _.MM?"update category metadata":a instanceof _.RL?"update item":a instanceof _.NM?"update revision":a instanceof _.OM?"update TD":"undefined"!=typeof _.JD&&a instanceof _.JD?"update pref":a instanceof _.PM?"update ws":a instanceof
_.CL?"get account":"undefined"!=typeof _.QM&&a instanceof _.QM?"get workspace":a instanceof _.ALc?"list activity":a instanceof _.BLc?"list category metadata":a instanceof _.CLc?"create TD":"undefined"!=typeof _.DLc&&a instanceof _.DLc?"item export cancel":"undefined"!=typeof _.ELc&&a instanceof _.ELc?"item export status":"undefined"!=typeof _.FLc&&a instanceof _.FLc?"generate cse token":"undefined"!=typeof _.GLc&&a instanceof _.GLc?"get largest change ID":a instanceof _.HLc?"list prefs":a instanceof
_.RM?"multipart upload":a instanceof _.ILc?"list published categories":a instanceof JLc?"init resumable upload":a instanceof KLc?"resumable upload chunk":a instanceof _.LLc?"resumable upload":a instanceof _.rp?"get TD":"undefined"!=typeof _.MLc&&a instanceof _.MLc?"move TD preflight":a instanceof _.SM?"list TDs":"undefined"!=typeof _.NLc&&a instanceof _.NLc?"get TD stats":a instanceof _.OLc?"test connection":"undefined"!=typeof _.PLc&&a instanceof _.PLc?"list workspaces":"unknown"};
TM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};RLc=function(a){if(a instanceof _.jM||a instanceof _.RM||a instanceof _.LLc||a instanceof JLc||a instanceof KLc)return(new _.UM).Gc(8);throw Error("Se");};SLc=function(a){if(a instanceof _.RL){var b=_.Bk(_.Ak(_.Pk(a),1),17);b=_.Ok(b,_.GKc)}else b=!1;b||(a instanceof _.RL?(a=_.Bk(_.Ak(_.Pk(a),1),17),b=_.Ok(a,_.HKc)||_.Ok(a,_.IKc)):b=!1);return b?!1:!0};
_.VM=function(a){return TLc.includes(a.constructor)?SLc(a):!1};ZLc=function(a,b){if(ULc.includes(a.constructor))return!0;if(b){if(_.F(b,54,!1)&&VLc.includes(a.constructor))return!0;var c=_.QL(b);if(c&&!_.F(c,7,!1)&&WLc.includes(a.constructor)&&!_.WM(a)||_.F(b,56,!1)&&_.WM(a)||_.F(b,57,!1)&&XLc.includes(a.constructor)||!(!_.F(b,53,!1)||VLc.includes(a.constructor)||WLc.includes(a.constructor)||_.WM(a)||XLc.includes(a.constructor)||YLc.includes(a.constructor)))return!0}return!1};
_.$Lc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.$Lc,_.M);_.XM=function(a){return _.F(a,2,!1)};_.aMc=function(a){var b=new _.ml;return _.B(b,1,a)};_.bMc=function(a,b){return _.B(a,7,b)};_.cMc=function(a,b){return _.B(a,8,b)};_.dMc=function(a,b){return _.B(a,11,b)};_.eMc=function(a,b){return _.B(a,1,b)};_.fMc=function(a,b){return _.B(a,4,b)};_.gMc=function(a,b){return _.B(a,5,b)};_.hMc=function(a,b){return _.B(a,6,b)};_.iMc=function(a,b){return _.B(a,7,b)};_.jMc=function(a,b){return _.B(a,8,b)};
_.kMc=function(a,b){return _.B(a,9,b)};_.lMc=function(a,b){return _.B(a,10,b)};_.mMc=function(a,b){return _.B(a,11,b)};_.nMc=function(a,b){return _.B(a,12,b)};_.oMc=function(a,b){return _.B(a,16,b)};_.pMc=function(a,b){return _.B(a,17,b)};_.qMc=function(a,b){return _.B(a,20,b)};_.rMc=function(a,b){return _.B(a,21,b)};_.sMc=function(a,b){return _.B(a,31,b)};_.tMc=function(a,b){return _.B(a,32,b)};_.uMc=function(a,b){return _.B(a,33,b)};_.vMc=function(a,b){return _.B(a,42,b)};
_.wMc=function(a,b){return _.B(a,43,b)};_.xMc=function(a,b){return _.B(a,46,b)};_.yMc=function(a,b){return _.B(a,47,b)};_.zMc=function(a,b){return _.B(a,48,b)};_.YM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.YM,_.M);_.ZM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.ZM,_.M);_.ZM.prototype.Bv=function(){return _.C(this,4)};_.AMc=function(a,b){return _.B(a,1,b)};_.BMc=function(a,b){return _.B(a,2,b)};tLc=function(a){_.Q(this,a,0,-1,null,null)};_.O(tLc,_.M);
tLc.prototype.jc=function(){return _.C(this,1)};tLc.prototype.getUrl=function(){return _.C(this,2)};_.$M=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.$M,_.M);_.$M.prototype.Fh=function(a){return _.B(this,2,a)};_.$M.prototype.Zg=function(a){return _.B(this,3,a)};_.CMc=function(a,b){return _.B(a,3,b)};_.DMc=function(a,b){return _.B(a,1,b)};_.EMc=function(a,b){return _.jb(a,2,b)};_.FMc=function(a,b){return _.jb(a,3,b)};GMc=[2];_.aN=function(a){_.Q(this,a,0,-1,GMc,null)};_.O(_.aN,_.M);
_.aN.prototype.Wg=function(){return _.C(this,1)};_.aN.prototype.Cm=function(a){return _.B(this,1,a)};_.aN.prototype.ooa=function(a,b){return _.Hk(this,2,a,b)};_.bN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.bN,_.M);_.bN.prototype.Fh=function(a){return _.B(this,1,a)};_.bN.prototype.Zg=function(a){return _.B(this,2,a)};_.cN=function(a,b){return _.B(a,2,b||[])};_.HMc=function(a,b){_.B(a,8,b)};_.IMc=function(a,b){return _.jb(a,15,b)};_.JMc=function(a,b){return _.y(a,17,b)};
_.KMc=function(a,b){return _.B(a,19,b)};_.LMc=function(a,b){_.B(a,26,b)};_.MMc=function(a,b){_.B(a,31,b)};_.NMc=function(a,b){_.B(a,34,b)};_.OMc=function(a,b){return _.B(a,44,b)};_.PMc=function(a,b){return _.B(a,52,b)};sLc=function(a,b){_.jb(a,58,b)};_.QMc=function(a,b){return _.B(a,72,b)};_.RMc=function(a,b){_.y(a,85,b)};_.SMc=function(a,b){return _.B(a,92,b)};_.TMc=function(a,b){return _.B(a,93,b)};_.dN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.dN,_.M);
_.dN.prototype.hb=function(){return _.C(this,1)};_.dN.prototype.Rb=function(a){return _.B(this,1,a)};_.dN.prototype.yj=function(){return _.Ak(this,1)};_.dN.prototype.lg=function(){return _.nk(this,1)};var UMc=[3],VMc=function(a){_.Q(this,a,0,-1,UMc,null)};_.O(VMc,_.M);VMc.prototype.V=function(){var a=_.C(this,3);this.Qa||(this.Qa={});if(!this.Qa[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Qa[3]=!0}_.kb(this)&&_.hb(a);return a};var WMc=[3],XMc=function(a){_.Q(this,a,0,-1,WMc,null)};_.O(XMc,_.M);
XMc.prototype.V=function(){return _.Dd(this,3)};var YMc=[3],ZMc=function(a){_.Q(this,a,0,-1,YMc,null)};_.O(ZMc,_.M);ZMc.prototype.V=function(){return _.Dd(this,3)};_.eN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.eN,_.M);_.eN.prototype.hb=function(){return _.C(this,1)};_.eN.prototype.Rb=function(a){return _.B(this,1,a)};_.eN.prototype.yj=function(){return _.Ak(this,1)};_.eN.prototype.lg=function(){return _.nk(this,1)};_.fN=function(a){return _.Jk(a,_.Le,6)};_.gN=function(a){return _.Jk(a,_.yc,12)};
_.hN=function(a){return _.qk(a,45,1)};_.yM=function(a){return _.F(a,47,!1)};_.zM=function(a){return _.F(a,49,!1)};_.AM=function(a){return _.F(a,52,!1)};_.iN=function(a){return _.G(a,2,"")};_.$Mc=function(a,b){return _.B(a,27,b||[])};_.jN=function(a){return _.qk(a,39,0)};_.kN=function(a){return _.F(a,40,!1)};_.lN=function(a){return _.F(a,89,!1)};_.aNc=function(a){return _.Yv.prototype.HV.call(a,!0)+"T"+_.Pg(a.getHours(),2)+":"+_.Pg(a.getMinutes(),2)+":"+_.Pg(a.getSeconds(),2)+a.S5()};
_.bNc=function(a,b){return _.B(a,18,b||[])};cNc=function(a,b){return _.TIc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.dNc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.zL(c,"deleting object store "+b);}};eNc=function(){var a=new _.TJc;a.W=12E4;a.ta=!0;return a};_.fNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.fNc,_.M);gNc=[3,4,10,18,19,28];_.jM=function(a){_.Q(this,a,0,-1,gNc,null)};_.O(_.jM,_.M);_.g=_.jM.prototype;_.g.jc=function(){return _.C(this,1)};
_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.$B=function(a,b){_.Hk(this,3,a,b)};_.g.Ae=function(){return _.D(this,_.Se,7)};_.g.Hc=function(){return _.C(this,14)};_.g.PY=function(){return _.C(this,21)};_.g.Rc=function(){return _.C(this,23)};_.g.Bv=function(){return _.C(this,24)};_.mN=function(a,b){return _.B(a,1,b)};_.nN=function(a,b){return _.B(a,3,b||[])};_.oN=function(a){return _.C(a,9)};_.nM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.nM,_.M);
_.nM.prototype.getId=function(){return _.C(this,1)};_.nM.prototype.Yb=function(a){return _.B(this,1,a)};_.nM.prototype.Ae=function(){return _.D(this,_.Se,3)};_.qM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.qM,_.M);_.qM.prototype.getId=function(){return _.C(this,1)};_.qM.prototype.Yb=function(a){return _.B(this,1,a)};_.qM.prototype.Ae=function(){return _.D(this,_.Se,2)};hNc=[7,8];_.OM=function(a){_.Q(this,a,0,-1,hNc,null)};_.O(_.OM,_.M);_.g=_.OM.prototype;_.g.getId=function(){return _.C(this,1)};
_.g.Yb=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,_.Se,4)};_.g.xm=function(){return _.H(this,15)};_.SM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.SM,_.M);_.SM.prototype.getOptions=function(){return _.D(this,_.YJc,1)};_.SM.prototype.oo=function(){return _.C(this,2)};_.SM.prototype.Ad=function(){return _.D(this,_.uL,3)};
iNc={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."};
jNc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};_.kNc=function(a){if(_.zla)return _.q.atob(a);var b="";_.Bla(a,function(c){b+=String.fromCharCode(c)});return b};lNc=function(){this.V=0;this.H=[]};_.g=lNc.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=mNc(this,a);return this.H[a]};_.g.set=function(a,b){a=mNc(this,a);this.H[a]=b};_.g.wc=function(){return this.H.length};_.g.Bc=function(){return 0==this.H.length};
_.g.clear=function(){this.V=this.H.length=0};_.g.hh=function(){var a=this.wc(),b=this.wc(),c=[];for(a=this.wc()-a;a<b;a++)c.push(this.get(a));return c};_.g.tf=function(){for(var a=[],b=this.wc(),c=0;c<b;c++)a[c]=c;return a};_.g.He=function(a){return a<this.wc()};_.g.Fp=function(a){for(var b=this.wc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};mNc=function(a,b){if(b>=a.H.length)throw Error("da");return 40>a.H.length?b:(a.V+Number(b))%40};nNc=[2,3];_.iM=function(a){_.Q(this,a,0,-1,nNc,null)};
_.O(_.iM,_.M);_.iM.prototype.Hc=function(){return _.C(this,1)};_.iM.prototype.Ae=function(){return _.D(this,_.Se,4)};_.eM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.eM,_.M);_.eM.prototype.Rc=function(){return _.C(this,1)};_.fM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.fM,_.M);_.fM.prototype.getId=function(){return _.C(this,1)};_.fM.prototype.Yb=function(a){return _.B(this,1,a)};_.fM.prototype.qk=function(){return _.C(this,2)};_.gM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.gM,_.M);
_.gM.prototype.qh=function(){return _.C(this,1)};_.gM.prototype.Rc=function(){return _.C(this,2)};_.gM.prototype.Ae=function(){return _.D(this,_.Se,4)};oNc=[3,7];_.hM=function(a){_.Q(this,a,0,-1,oNc,null)};_.O(_.hM,_.M);_.g=_.hM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.$B=function(a,b){_.Hk(this,3,a,b)};_.g.Ae=function(){return _.D(this,_.Se,5)};
_.kM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.kM,_.M);_.kM.prototype.getTitle=function(){return _.C(this,1)};_.kM.prototype.setTitle=function(a){return _.B(this,1,a)};_.kM.prototype.Ae=function(){return _.D(this,_.Se,2)};_.pM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.pM,_.M);_.pM.prototype.Rc=function(){return _.C(this,1)};_.pM.prototype.Ae=function(){return _.D(this,_.Se,3)};_.rM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.rM,_.M);_.rM.prototype.getId=function(){return _.C(this,1)};
_.rM.prototype.Yb=function(a){return _.B(this,1,a)};_.rM.prototype.Ae=function(){return _.D(this,_.Se,3)};_.tM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.tM,_.M);_.tM.prototype.Ae=function(){return _.D(this,_.Se,1)};_.IM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.IM,_.M);_.g=_.IM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Mg=function(a){return _.B(this,2,a)};
_.g.Ae=function(){return _.D(this,_.Se,3)};_.zLc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.zLc,_.M);_.g=_.zLc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Mg=function(a){return _.B(this,2,a)};_.g.Ae=function(){return _.D(this,_.Se,3)};_.NM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.NM,_.M);_.NM.prototype.Rc=function(){return _.C(this,1)};_.NM.prototype.Ae=function(){return _.D(this,_.Se,4)};
_.PM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.PM,_.M);_.g=_.PM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=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.Td=function(a){return _.B(this,3,a)};_.g.$q=function(){return _.nk(this,3)};_.g.Ae=function(){return _.D(this,_.Se,5)};_.pN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.pN,_.M);
_.pN.prototype.getId=function(){return _.C(this,1)};_.pN.prototype.Yb=function(a){return _.B(this,1,a)};_.pN.prototype.jc=function(){return _.C(this,2)};_.pN.prototype.EG=function(){return _.C(this,8)};pNc=[22];_.UM=function(a){_.Q(this,a,0,-1,pNc,null)};_.O(_.UM,_.M);_.g=_.UM.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.getItem=function(){return _.D(this,_.zl,2)};_.g.setItem=function(a){return _.y(this,2,a)};_.g.Bj=function(){return _.C(this,3)};
_.g.Rc=function(){return _.C(this,5)};_.qNc=function(a,b){return _.B(a,5,b)};_.g=_.UM.prototype;_.g.BE=function(){return _.C(this,7)};_.g.o$=function(a){return _.B(this,7,a)};_.g.lra=function(a){_.B(this,9,a)};_.g.YJa=function(a){_.B(this,10,a)};_.g.TN=function(){return _.C(this,16)};_.g.c$=function(a){return _.B(this,16,a)};var rNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(rNc,_.M);_.sNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.sNc,_.M);_.sNc.prototype.ef=function(){return _.C(this,1)};
_.sNc.prototype.Jb=function(){return _.C(this,4)};_.sNc.prototype.Gc=function(a){return _.B(this,4,a)};var tNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(tNc,_.M);var uNc=function(a,b){_.B(a,6,b)},vNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(vNc,_.M);_.g=vNc.prototype;_.g.o9a=function(a){_.B(this,1,a)};_.g.pEb=function(a){_.B(this,2,a)};_.g.zz=function(){return _.H(this,3)};_.g.p9a=function(a){_.B(this,3,a)};_.g.WDb=function(a){_.B(this,4,a)};var wNc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(wNc,_.M);wNc.prototype.zz=function(){return _.H(this,2)};var xNc=function(a,b){return _.B(a,2,b)},yNc=function(a,b){_.B(a,3,b)};wNc.prototype.vz=function(){return _.C(this,6)};var zNc=function(a,b){return _.B(a,8,b)},ANc=function(a){_.Q(this,a,0,-1,null,null)};_.O(ANc,_.M);var BNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(BNc,_.M);BNc.prototype.Ad=function(){return _.D(this,_.sNc,1)};BNc.prototype.getState=function(){return _.D(this,tNc,2)};BNc.prototype.Td=function(a){return _.y(this,2,a)};
BNc.prototype.$q=function(){return _.nk(this,2)};var CNc=function(a){_.Q(this,a,0,-1,null,null)};_.O(CNc,_.M);CNc.prototype.getEnvironment=function(){return _.C(this,2)};CNc.prototype.setEnvironment=function(a){return _.B(this,2,a)};_.oLc=[42,1005,20,50,18,1003,1002];DNc=[73,71];ENc=function(a){var b=new _.li;a.listen("loadend",_.Wa(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Vd(f):c.callback(e);d.dispose()},b,a));return b};_.FNc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
GNc=[3,4];_.CM=function(a){_.Q(this,a,0,-1,GNc,null)};_.O(_.CM,_.M);_.CM.prototype.getType=function(){return _.C(this,1)};_.CM.prototype.Ae=function(){return _.D(this,_.Se,2)};HNc=[1];_.GM=function(a){_.Q(this,a,0,-1,HNc,null)};_.O(_.GM,_.M);_.GM.prototype.ym=function(){return _.Dd(this,1)};_.INc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.INc,_.M);_.g=_.INc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bq=function(){return _.nk(this,1)};_.g.hb=function(){return _.C(this,2)};
_.g.Rb=function(a){return _.B(this,2,a)};_.g.yj=function(){return _.Ak(this,2)};_.g.lg=function(){return _.nk(this,2)};_.g.Wg=function(){return _.C(this,3)};_.g.Cm=function(a){return _.B(this,3,a)};_.g.getType=function(){return _.C(this,4)};var JNc=function(a){_.xi.call(this,a);_.$Jc.get(a)};_.N(JNc,_.xi);_.KNc=function(){var a=void 0===a?1E3:a;this.V=new _.Am;this.H=new _.Am;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};
_.MNc=function(a){var b=a.V.hh();a.W&&b.push(LNc("...","...","...","..."));_.ya(b,a.H.hh());return b};_.NNc=function(a){var b=[];a=_.MNc(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")};_.KNc.prototype.info=function(a,b){_.qN(this,a,b,"info")};_.KNc.prototype.config=function(a,b){_.qN(this,a,b,"config")};_.KNc.prototype.log=function(a,b,c){_.qN(this,a,b,c)};
_.qN=function(a,b,c,d){a.H.wc()>=a.ka&&(a.W=!0,_.Bm(a.H));var e=Date.now()-a.ma;b=LNc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.wc()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};LNc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.ALc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.CLc=function(a){this.request=a;this.requestId=_.Rg()};
_.ONc=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};_.HLc=function(a,b){this.request=a;this.H=b};_.RM=function(a,b,c,d){this.request=a;this.file=b;this.hN=c||null;this.metadata=d};_.LLc=function(a,b,c,d){this.request=a;this.file=b;this.hN=c||null;this.metadata=d};JLc=function(a,b){this.request=a;this.metadata=b};PNc=function(a,b,c){this.tqb=a;this.NCb=b;this.l8a=c};
KLc=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};_.OLc=function(){this.H=_.Te(new _.Se,312)};_.BLc=function(a,b){this.request=a;this.pageToken=b||""};_.ILc=function(a,b){this.request=a;this.pageToken=b||""};QNc=function(a,b){this.uca=a;this.XH=b};RNc=function(a){_.xi.call(this,"Ab");this.H=a};_.N(RNc,_.xi);RNc.prototype.kf=function(){return this.H};rN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.sN=function(a,b,c){a.DO.length&&a.append(" "+(c||"and")+" ");a.append(b)};tN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(rN(c));e.push("in");e.push(b);_.sN(a,e.join(" "))}};_.uN=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());_.sN(a,e.join(" "),d)}};SNc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.sN(a,d.join(""))}};
_.TNc=function(a){var b=new _.eKc;b.setTime(a);return b};UNc=function(a,b){b=_.Jk(b,_.dN,35)||[];_.La(b,function(c){tN(a,"ancestors",c.hb(),!1)})};VNc=function(a,b){b=_.Jk(b,_.dN,38)||[];_.La(b,function(c){tN(a,"descendants",c.hb(),!1)})};WNc=function(a,b){b=_.Jk(b,_.Ol,37)||[];_.La(b,function(c){tN(a,"folderFeatures",c.hb(),!1)})};XNc=function(a,b){b=_.Dd(b,39);_.La(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(rN(c));_.sN(a,d.join(" "))})};
YNc=function(a,b){b=_.Dd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(rN(b));_.sN(a,c.join(" "))}};_.ZNc=function(a){a=_.Jk(a,_.eN,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].hb());return b.join(",")};_.$Nc=function(a){a=a.Mw();return null==a||0==a.length?"":_.ib(a,function(b){b=_.C(b,1);if(0==b)throw Error("De");return _.dIc[b]}).join(",")};
aOc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=rN(a.hb());_.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(" ")};bOc=function(a){if(_.H(a,2))return"any";switch(a.hb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
cOc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};dOc=function(a,b,c){if(null!=_.C(c,2)){var d=cOc(_.C(c,1));c=rN(_.aNc(_.TNc(_.C(c,2)||0)));_.sN(a,[b,d,c].join(" "))}};eOc=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""};
_.fOc=function(a){for(var b=new _.nq,c=_.Jk(a,_.Ql,4),d=0;d<c.length;d++){var e=c[d],f=e.hb();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(rN(f));_.sN(b,l.join(" "))}}for(var n=_.Jk(a,_.Pl,5),p=0;p<n.length;p++){var r=n[p],u=r.hb();if(u){var z=[];_.F(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(rN(u));_.sN(b,z.join(" "))}}var A=_.fN(a);if(A&&0!=A.length){for(var E=[],I=[],J=0;J<A.length;J++){var R=A[J];
R.hb()&&(_.F(R,2,!1)?I.push(R):E.push(R))}for(var S=0;S<E.length;S++){var ha=aOc(E[S],0==S?"(":"",S==E.length-1?")":"");_.sN(b,ha,0!=S?"or":"and")}for(var ca=0;ca<I.length;ca++)_.sN(b,aOc(I[ca],0==ca?"(":"",ca==I.length-1?")":""))}for(var oa=_.Jk(a,_.Nl,7),Ca=0;Ca<oa.length;Ca++)dOc(b,"modifiedDate",oa[Ca]);for(var V=_.Jk(a,_.Nl,8),ta=0;ta<V.length;ta++)dOc(b,"lastViewedByMeDate",V[ta]);_.uN(b,"trashed",a.ri());_.uN(b,"explicitlyTrashed",_.H(a,17));_.uN(b,"starred",_.H(a,10));_.uN(b,"hidden",a.xm());
for(var Ja=_.gN(a),vb=0;vb<Ja.length;vb++){var Ia=Ja[vb];tN(b,"parents",Ia.hb(),_.F(Ia,2,!1))}for(var Sb=_.Jk(a,_.Je,13),Ec=0;Ec<Sb.length;Ec++){var od=Sb[Ec];tN(b,"owners",od.hb(),_.F(od,2,!1))}for(var Ye=_.Jk(a,_.Je,14),We=0;We<Ye.length;We++){var Ae=Ye[We];tN(b,"writers",Ae.hb(),_.F(Ae,2,!1))}for(var ve=_.Jk(a,_.Je,15),qh=0;qh<ve.length;qh++){var kd=ve[qh];tN(b,"readers",kd.hb(),_.F(kd,2,!1))}_.H(a,16)&&_.sN(b,"sharedWithMe");_.uN(b,"unparented",_.H(a,34));UNc(b,a);VNc(b,a);WNc(b,a);XNc(b,a);for(var Eh=
_.Dd(a,40),Ng=0;Ng<Eh.length;Ng++){var of=[];0==Ng&&of.push("(");of.push(rN(Eh[Ng]));of.push("in");of.push("templateData.categories");Ng==Eh.length-1&&of.push(")");_.sN(b,of.join(" "),0==Ng?"and":"or")}var Db=_.C(a,41);if(null!=Db){var xg=[];xg.push("templateData.galleryState");xg.push("=");xg.push(rN(_.gKc[Db]||""));_.sN(b,xg.join(" "))}var wk=_.C(a,42);if(null!=wk){var Vk=[];Vk.push("visibility");Vk.push("=");Vk.push(rN(eOc(wk)));_.sN(b,Vk.join(" "))}for(var Pm=_.Jk(a,_.Gl,44),Dn=0;Dn<Pm.length;++Dn){var yg=
Pm[Dn];tN(b,"actionItems",bOc(yg),_.F(yg,3,!1))}if(_.nk(a,50)){var Zf=[];Zf.push("pairedDocType");var eh=_.F(a,50,!1)?"!=":"=";Zf.push(eh);Zf.push(rN("NONE"));_.sN(b,Zf.join(" "))}tN(b,"workspaceIds",a.Sp(),!1);for(var ek=_.Jk(a,_.Hl,57),Wk=0;Wk<ek.length;Wk++){var Xk=[];0==Wk&&Xk.push("(");Xk.push(rN(ek[Wk].hb()));Xk.push("in");Xk.push("approvals");Wk==ek.length-1&&Xk.push(")");_.sN(b,Xk.join(" "),0==Wk?"and":"or")}if(_.nk(a,58)){var gj=a.Jp(),fk=gj.hb(),Hj=_.F(gj,2,!1);if(fk){var qj=[];Hj&&qj.push("not");
qj.push("creator");qj.push("=");qj.push(rN(fk));_.sN(b,qj.join(" "))}}var Sh=_.D(a,_.Mna,59);if(Sh)for(var Qi=_.m(_.Jk(Sh,_.Kna,1)),Il=Qi.next();!Il.done;Il=Qi.next()){var Ri=Il.value;tN(b,"categoryMetadata",Ri.tm());for(var rj=_.m(_.Jk(Ri,_.Ina,2)),zg=rj.next();!zg.done;zg=rj.next()){var wh=zg.value,Si=_.C(wh,1),lm=_.mk(wh,_.Ml[0]);if(10==lm){_.D(wh,_.Bna,10);var En=_.H(wh,15);(void 0===En?0:En)?_.sN(b,Si+" is null"):_.sN(b,"not ("+Si+" is null)")}else{var Th=new _.nq,ci=void 0;switch(lm){case 3:ci=
_.D(wh,VMc,3);for(var rq=_.m(ci.V()),Jl=rq.next();!Jl.done;Jl=rq.next())_.uN(Th,Si,Jl.value,"or");break;case 14:for(var Ci=ci=_.D(wh,_.una,14),Fn=new Map([[1,"="],[2,">"],[3,"<"]]),xk=_.m(Ci.V()),vl=xk.next();!vl.done;vl=xk.next()){var pd=vl.value,gk=Fn.get(_.C(Ci,2));if(!gk)throw Error("Ee");var rh=[Si,gk,rN(pd.getYear()+"-"+pd.getMonth()+"-"+pd.getDay())];_.sN(Th,rh.join(" "),"or")}break;case 8:for(var Kl=ci=_.D(wh,_.Ana,8),Wg=new Map([[1,"="],[2,">"],[3,"<"]]),di=_.m(Kl.V()),Ti=di.next();!Ti.done;Ti=
di.next()){var Qm=Ti.value,Rm=Wg.get(_.C(Kl,2));if(!Rm)throw Error("Ee");_.sN(Th,[Si,Rm,Qm].join(" "),"or")}break;case 9:for(var tp=ci=_.D(wh,XMc,9),hj=new Map([[1,"in"]]),wl=_.m(tp.V()),Ij=wl.next();!Ij.done;Ij=wl.next()){var Co=Ij.value,yk=hj.get(_.C(tp,2));if(!yk)throw Error("Ee");_.sN(Th,[Co,yk,Si].join(" "),"or")}break;case 6:for(var Uh=ci=_.D(wh,_.Fna,6),up=new Map([[1,"="]]),vp=_.m(Uh.V()),zk=vp.next();!zk.done;zk=vp.next()){var sq=zk.value,Lf=up.get(_.C(Uh,2));if(!Lf)throw Error("Ee");_.sN(Th,
[Si,Lf,rN(sq)].join(" "),"or")}break;case 7:for(var wp=ci=_.D(wh,_.Dna,7),xp=new Map([[1,"in"]]),mm=_.m(wp.V()),Sm=mm.next();!Sm.done;Sm=mm.next()){var tq=Sm.value,yp=xp.get(_.C(wp,2));if(!yp)throw Error("Ee");_.sN(Th,[rN(tq),yp,Si].join(" "),"or")}break;case 4:for(var Ll=ci=_.D(wh,_.Hna,4),Vh=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),tr=_.m(Ll.V()),Do=tr.next();!Do.done;Do=tr.next()){var zp=Do.value,zs=Vh.get(_.C(Ll,2));if(!zs)throw Error("Ee");_.sN(Th,[Si,zs,rN(zp)].join(" "),"or")}break;
case 5:for(var hy=ci=_.D(wh,ZMc,5),iy=new Map([[1,"in"]]),xw=_.m(hy.V()),jy=xw.next();!jy.done;jy=xw.next()){var BF=jy.value,ae=iy.get(_.C(hy,2));if(!ae)throw Error("Ee");_.sN(Th,[rN(BF),ae,Si].join(" "),"or")}break;case 12:for(var ky=ci=_.D(wh,_.yna,12),xC=new Map([[1,"="]]),CF=_.m(ky.V()),GJ=CF.next();!GJ.done;GJ=CF.next()){var ur=GJ.value,DF=xC.get(_.C(ky,2));if(!DF)throw Error("Ee");_.sN(Th,[Si,DF,rN(ur)].join(" "),"or")}break;case 11:for(var yw=ci=_.D(wh,_.wna,11),mU=new Map([[1,"in"]]),yC=_.m(yw.V()),
EF=yC.next();!EF.done;EF=yC.next()){var Oaa=EF.value,nU=mU.get(_.C(yw,2));if(!nU)throw Error("Ee");_.sN(Th,[rN(Oaa),nU,Si].join(" "),"or")}}_.H(wh,15)?_.sN(b,"not ("+Th+")"):_.sN(b,1<ci.V().length?"("+Th+")":""+Th)}}}null!=_.H(a,60)&&_.uN(b,"linkShareMetadata.securityUpdateEligible",_.H(a,60));var zC=_.H(a,65);if(null!=zC){var AC=[];AC.push("clientEncryptionDetails.encryptionState");AC.push("=");AC.push(rN(zC?"encrypted":"unencrypted"));_.sN(b,AC.join(" "))}var ZN=_.Jk(a,_.Je,68);if(ZN.length){for(var FF=
[],oU=[],BC=_.m(ZN),GF=BC.next();!GF.done;GF=BC.next()){var HJ=GF.value,$N="sharedFrom = "+rN(HJ.hb());_.F(HJ,2,!1)?oU.push($N):FF.push($N)}SNc(b,FF,!1);SNc(b,oU,!0)}var HF=_.Jk(a,_.Je,67);if(HF.length){for(var I1=[],J1=[],K1=_.m(HF),uq=K1.next();!uq.done;uq=K1.next()){var Ot=uq.value,aO="sharedTo = "+rN(Ot.hb());_.F(Ot,2,!1)?J1.push(aO):I1.push(aO)}SNc(b,I1,!1);SNc(b,J1,!0)}1==_.hN(a)&&YNc(b,a);return b.toString()};
_.gOc=function(a){var b=new _.nq(_.fOc(a));_.yM(a)?_.sN(b,"isQuickAccessRequest"):_.zM(a)?_.sN(b,"isPeoplePredictRequest"):_.AM(a)&&_.sN(b,"isDrivePriorityRequest");var c=a.qd();if(c){var d=[];d.push("sortBy");d.push(_.aKc[c.getType()]);d.push(_.iKc[_.qk(c,2,1)]);_.H(c,3)&&d.push("foldersFirst");_.sN(b,d.join(" "))}_.uN(b,"domainSearch",_.H(a,18));_.uN(b,"offline",_.H(a,19));_.Jk(a,_.eN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.ZNc(a)),_.sN(b,c.join(" ")));a.Mw().length&&(c=
[],c.push("spaces"),c.push("contains"),c.push(_.$Nc(a)),_.sN(b,c.join(" ")));if(c=_.hN(a))d=[],d.push("corpora"),d.push("="),d.push(rN(_.FNc[c])),_.sN(b,d.join(" "));_.F(a,66,!0)||_.uN(b,"includeItemsFromAllDrives",_.F(a,66,!0));1!=_.hN(a)&&YNc(b,a);_.F(a,48,!1)&&_.sN(b,"cachedOnly");return b.toString()};
_.WM=function(a){if(a instanceof _.HL)a=a.Ad();else if(!a)return!1;return a instanceof _.qp||"undefined"!=typeof _.KM&&a instanceof _.KM||"undefined"!=typeof _.vN&&a instanceof _.vN||a instanceof _.He&&(_.yM(a)||_.zM(a)||_.AM(a))};_.wN=function(a){a.supportsTeamDrives=!0};
_.hOc=function(a){this.H=[].concat(_.Pc(_.Dd(a,27)));this.V=new Set;var b=_.qLc(this.H,_.Dd(a,28));if(0<b.length)throw Error("Ge`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.ZL(_.EL(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));_.Ea(this.H);this.H.sort();rLc(this.H)};_.xN=function(a){return[].concat(_.Pc(a.H))};
iOc=function(){_.kq.call(this);this.ha=this.W=null;this.ta=!1;this.ka=null};_.N(iOc,_.kq);_.jOc=function(a){!a.ta&&a.ha&&(a.ha(),a.ta=!0)};kOc=function(a,b){a.ha||(a.ha=b)};iOc.prototype.H=function(){_.jOc(this);(0,this.ka)()};lOc=function(a,b){a.ka||(a.ka=b)};_.yN=function(a){if(!a.W){a.W=new BNc;var b=_.mq(a);_.y(b,56,a.W)}return a.W};mOc=function(a){var b=_.yN(a).getState();b||(b=new tNc,_.yN(a).Td(b));return b};nOc=function(a,b){var c=new rNc;_.B(c,1,b);a=_.mq(a);_.y(a,12,c)};
iOc.prototype.va=function(){var a=_.D(_.yN(this),vNc,4);if(!a){a=new vNc;var b=_.yN(this);_.y(b,4,a)}return a};oOc=function(a){var b=_.D(_.yN(a),wNc,8);b||(b=new wNc,a=_.yN(a),_.y(a,8,b));return b};_.pOc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Hi.call(this);this.H=b?1:a;this.V=!1;this.W=b};_.N(_.pOc,_.Hi);_.g=_.pOc.prototype;_.g.isConnected=function(){return!this.V&&1==this.H};_.g.Vl=function(){return 1==this.H||2==this.H};_.g.kf=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){var b;2==a?b=3==this.H?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new JNc(b),this.H=a,this.V=!1,this.dispatchEvent(b),!0}return!1};qOc=function(a,b){this.W=a;this.V=b;this.H=null};uOc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return rOc(a,function(c){return c.count().then(function(d){return 1E3>d?sOc(a,c,b):tOc(a,Error("Le"))},function(d){return tOc(a,d)})},"readwrite")};
sOc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.Qlb=c.xe(),d)).then(null,function(e){tOc(a,e)})};vOc=function(a){return new _.ai(function(b){var c=new Map;rOc(a,function(d){return cNc(d.getIndex("userId"),a.W).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={bna:f.bna},k=h.next())k=_.m(k.value),f.bna=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.bna,new _.KAa(n.Qlb))}}(f));return _.hi([].concat(_.Pc(e.values()))).then(function(){return b(c)})})})})};
wOc=function(a,b){return rOc(a,function(c){return c.remove(b)},"readwrite")};rOc=function(a,b,c){c=void 0===c?"readonly":c;return xOc(a).then(function(d){try{var e=_.bJc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return tOc(a,f)}},function(d){return tOc(a,d)})};
xOc=function(a){return a.H?_.bi(a.H):_.dJc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.dNc(c,"OfflineImpressions");_.XIc(_.aJc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return tOc(a,Error("Me"))}).then(function(b){return a.H=b},function(b){return _.ei(_.aM(b))})};tOc=function(a,b){b||(b=Error("Ne"));_.qN(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.bi()};
_.yOc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Hi.call(this);this.V=b?!1:a;this.H=null;this.W=b};_.N(_.yOc,_.Hi);_.yOc.prototype.kf=function(){return this.V};_.yOc.prototype.Dm=function(a){var b=this.V!=a;!this.W&&b&&(this.V=a,this.dispatchEvent(new RNc(a)))};
var AOc=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.W=a;this.V=b;this.ha=c;this.H=d;this.Bb=new _.he(this);this.Bb.listen(b,"Ab",function(k){k.kf()||zOc(h)});this.Bb.listen(c,["wb","yb"],function(){return void zOc(h)});this.ka=e;f.then(function(){return zOc(h)})};_.N(AOc,_.Hi);AOc.prototype.Ey=function(a){return(this.V.kf()||this.ha.kf())&&this.V.H?uOc(this.H,a):this.W.Ey(a)};
var zOc=function(a){return a.V.H?vOc(a.H).then(function(b){b.forEach(function(c,d){a.W.Ey(c).then(function(){return BOc(a,d)},function(){return COc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},BOc=function(a,b){COc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return wOc(a.H,b).then(function(){COc(a,"Removed offline impression batch "+b+".")},function(){COc(a,"Unable to remove offline impression batch "+b+".")})},COc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},DOc=function(){};DOc.prototype.QN=function(){return new iOc};var EOc=function(){this.H=new CNc};EOc.prototype.V=function(a){_.y(a,13,this.H)};EOc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};GOc=function(a,b,c,d){this.Ea=_.zN(_.rKc,_.jN(a));this.ma=_.zN(_.vKc,_.qk(a.Sf(),8,0));this.W=_.zN(_.sKc,_.qk(a.Sf(),9,2));this.ta=_.F(a,10,!1);this.Ka=_.ZL(_.EL(a));this.va=_.kN(a);this.ha=FOc(a);this.Ba=a.Ii();this.V=this.H=null;this.Ma=b;this.Ia=c;this.ka=d};
FOc=function(a){var b=[].concat(_.Pc(_.oKc.keys())),c=[].concat(_.Pc(_.pKc.keys())),d=_.QL(a);return b.filter(function(e){return _.oKc.get(e)(a)}).concat(c.filter(function(e){return d&&_.pKc.get(e)(d)}))};_.zN=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};HOc=function(a){if(a.V)return a.V.H("aU7Ts")};
GOc.prototype.Jb=function(a){return a instanceof _.OB||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN?a.Jb():"undefined"!=typeof _.DN&&a instanceof _.DN||"undefined"!=typeof _.EN&&a instanceof _.EN||"undefined"!=typeof _.FN&&a instanceof _.FN||"undefined"!=typeof _.GN&&a instanceof _.GN||"undefined"!=typeof _.IOc&&a instanceof _.IOc?a.response?a.response.Jb():null:null};GOc.prototype.Ii=function(){return this.Ba};
var JOc=function(a){return a.Ma.kf()||a.Ia.kf()?2:1};GOc.prototype.getEnvironment=function(){return this.ka};var KOc=function(a,b){this.H=a;var c=new _.qza;_.rza(c,b.ha);a=this.H.iL();var d=_.SJc(a);_.y(d,10,c);(c=b.Ii())&&_.RJc(a,c);this.H.E_();this.V=b};KOc.prototype.isRunning=function(){return this.H.gU()};
_.LOc=function(a,b,c){var d=_.lq(a.H.hF(b,c),_.jKc);nOc(d,JOc(a.V));b=HOc(a.V);"boolean"===typeof b&&uNc(mOc(d),b);1==c&&kOc(d,function(){return void a.H.EJ(d)});lOc(d,function(){var e=a.V;e=e.H?e.H.V.H.size:void 0;var f=mOc(d);_.B(f,1,e);a.H.aq(d)});return d};MOc=function(a){var b=new _.hAa,c=new EOc;_.B(c.H,1,a.Ea);_.B(c.H,3,a.ma);_.B(c.H,4,a.W);_.B(c.H,5,a.ta);_.B(c.H,6,a.Ka);_.B(c.H,7,a.va);a=c.setEnvironment(a.getEnvironment());_.eJc(b,_.lKc,a);_.oq(b,_.jKc,new DOc);return b};
NOc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.NH(906,b,void 0,_.yKc());l.W=!1;var n=new _.fJc(l);b=new Date;l=_.XJc(_.WJc(_.VJc(eNc(),new _.gJc(l)),MOc(c)),109).setSessionId(b.getTime()+"_"+_.Rg());if(k){a=new AOc(n,d,e,new qOc(a,f),f,h);_.UJc(l,a);d=l.build();_.QJc(d.iL(),1E3*b.getTime());var p=new KOc(d,c);(new _.he).listen(a,"Bb",function(){_.LOc(p,106008,0).H()});return p}_.UJc(l,n);a=l.build();_.QJc(a.iL(),1E3*b.getTime());return new KOc(a,c)};
OOc=function(a,b){this.W=a;this.ha=b};OOc.prototype.H=function(a,b){this.W&&_.POc(this)&&(a=_.LOc(this.W,a,0),b&&_.hLc(a,b),a.H())};_.QOc=function(a,b){if(a.W&&_.POc(a)){a=_.LOc(a.W,106018,0);var c=_.D(_.yN(a),ANc,15);if(!c){c=new ANc;var d=_.yN(a);_.y(d,15,c)}c=_.B(c,1,1);_.B(c,2,b);a.H()}};OOc.prototype.V=function(a,b){return this.W&&_.POc(this)?(a=_.LOc(this.W,a,1),b&&_.hLc(a,b),a):null};_.POc=function(a){return!(!a.W||!a.W.isRunning())};
_.ROc=function(a,b,c,d,e,f){var h=_.H(a,59),k=_.PL(_.EL(a)).toString(),l=_.iN(_.EL(a));f=new GOc(a,b,c,f);a=h?NOc(l,k,f,b,c,d,e,_.F(a,17,!1)):null;return new OOc(a,f)};_.SOc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.SOc,_.M);_.SOc.prototype.getId=function(){return _.C(this,1)};_.SOc.prototype.Yb=function(a){return _.B(this,1,a)};_.SOc.prototype.Ae=function(){return _.D(this,_.Se,2)};_.EM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.EM,_.M);_.EM.prototype.oo=function(){return _.C(this,2)};
_.EM.prototype.Ad=function(){return _.D(this,_.SOc,3)};_.uM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.uM,_.M);_.uM.prototype.Ad=function(){return _.D(this,_.tM,1)};_.uM.prototype.t$=function(a){return _.B(this,2,a)};_.sM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.sM,_.M);_.sM.prototype.getId=function(){return _.C(this,1)};_.sM.prototype.Yb=function(a){return _.B(this,1,a)};_.sM.prototype.hH=function(){return _.nk(this,3)};var yLc=function(a){_.Q(this,a,0,-1,null,null)};_.O(yLc,_.M);
yLc.prototype.Ad=function(){return _.D(this,_.sM,1)};TOc=[2];_.MM=function(a){_.Q(this,a,0,-1,TOc,null)};_.O(_.MM,_.M);_.MM.prototype.Rc=function(){return _.C(this,1)};_.MM.prototype.tS=function(){return _.Jk(this,_.vOb,2)};_.MM.prototype.Ae=function(){return _.D(this,_.Se,3)};var UOc=function(a){_.Q(this,a,0,-1,null,null)};_.O(UOc,_.M);VOc=function(a){var b=new UOc;return _.B(b,1,a)};WOc=[1];_.xLc=function(a){_.Q(this,a,0,-1,WOc,null)};_.O(_.xLc,_.M);_.XOc=function(){this.H={}};
YOc=function(a,b,c){if(a.H[b])throw Error("Oe");a.H[b]=c};_.XOc.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)}};ZOc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.$Oc=function(a,b){this.H=a;this.V=_.DKc[_.qk(a.Sf(),8,0)];this.ha=_.DKc[_.qk(a.Sf(),51,5)];this.W=b;this.ka=_.Rg()};
_.$Oc.prototype.Ac=function(a,b){if(b.WK)aPc(this,a,b),bPc(this,a,b);else if(11==a.Fm){if(b.Azb){var c=b.Nja||_.G(this.H.Sf(),37,"");_.Fj(a.uri,"key",c)}aPc(this,a,b);cPc(this,a,b)}else switch(a.uri=dPc(this,a.Fm,a.uri),a.Fm){case 1:cPc(this,a,b);aPc(this,a,b);break;case 0:_.F(this.H,83,!1)&&(b.gy||_.ZL(_.EL(this.H))||_.Fj(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:cPc(this,a,b);bPc(this,a,b);aPc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:cPc(this,a,b);bPc(this,a,b);break;
default:throw Error("Pe`"+a.Fm);}};ePc=function(a,b){var c=dPc(a,b,new _.xj);if(!c.H)throw Error("Re");return _.Aj(_.zj(_.yj(new _.xj,c.V),c.H),c.ha).Qi(_.EKc.has(b)?"/batch"+a.V:"/batch")};
dPc=function(a,b,c){var d=_.C(a.H.Sf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.G(a.H.Sf(),62,"");break;case 8:a=_.C(a.H.Sf(),53);break;case 9:a=_.C(a.H.Sf(),56);break;case 10:a=_.C(a.H.Sf(),22);break;case 13:a=_.C(a.H.Sf(),55);break;case 12:a=_.C(a.H.Sf(),43);break;default:throw Error("Pe`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.xj(a);
_.qd(c,"/")&&(c=c.slice(1));return new _.xj(a+"/"+c)};cPc=function(a,b,c){a=_.EL(a.H);c.gy||_.ZL(a)||(c=[{key:"u",value:_.iN(a)}],b.headers.authorization=_.y1b(c)||"",c=_.PL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
aPc=function(a,b,c){var d=_.EL(a.H),e=a.H.Sf(),f=c.MGb||!!_.C(e,13);c=c.NGb||_.F(e,14,!1);var h=11==b.Fm;f&&((f=_.C(e,13))&&_.qd(f,"email:")?_.Fj(b.uri,"trace",f):f&&"trace:true"==f?_.Fj(b.uri,"$trace","true"):f?_.Fj(b.uri,"trace","token:"+f):_.Fj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Fj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.qk(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())};
bPc=function(a,b,c){c.gy||_.ZL(_.EL(a.H))?_.Fj(b.uri,"key",_.G(a.H.Sf(),36,"")):(a=c.Nja||_.G(a.H.Sf(),37,""),_.Fj(b.uri,"key",a))};_.fPc=function(a,b){_.IH.call(this,a?a:500,b?b:6E5)};_.N(_.fPc,_.IH);_.hPc=function(a,b){this.H={};this.V=b;gPc(this,_.Jk(a,_.Rl,91))};gPc=function(a,b){b.forEach(function(c){var d=c.getId();c=_.C(c,2);if(d&&c){var e=_.iPc(a,d);if(e){if(e!=c)throw new _.Rb("Multiple resource key definitions found for itemId "+d);}else a.H[d]=c}})};
jPc=function(a,b){return[].concat(_.Pc(new Set(b))).map(function(c){var d=(new _.Rl).Yb(c);a.H[c]?_.Sl(d,a.H[c]):a.V&&(c=a.V.H(c))&&_.Sl(d,_.Fl(c));return d}).filter(function(c){return c.hH()})};_.iPc=function(a,b){return a.H[b]?a.H[b]:a.V&&(a=a.V.H(b))&&a.hH()?_.Fl(a):null};_.kPc=function(a,b,c){this.Hb=a;this.ka=b;this.ha=c;this.V=this.kk=this.W=null;this.H=!1};_.kPc.prototype.getState=function(){return this.Hb};
_.kPc.prototype.zIa=function(){var a=this;if(this.W)return this.W;var b=_.ii();this.W=b.promise.then(function(){return VOc(1)},function(c){c=_.bM(c).kh;var d=0;2==c.Io()?d=3:_.xKc(c)&&(d=2);return VOc(d)});setTimeout(function(){a.W=null},5E3);lPc(this,b);return this.W};_.mPc=function(a){a.V=null;a.kk&&(clearTimeout(a.kk),a.kk=null)};_.oPc=function(a){a.V||a.H||(a.V=new _.fPc(5E3,6E4),nPc(a))};nPc=function(a){lPc(a);a.V&&(a.kk=setTimeout(function(){return void nPc(a)},a.V.hb()),_.JH(a.V))};
lPc=function(a,b){_.ji(_.bi().then(null,function(){return null}),function(){return void pPc(a,b)})};pPc=function(a,b){qPc(a,"Checking connection state.");var c=a.ka.then(function(d){return d.H(new _.OLc)}).then(null,function(d){d=_.bM(d);_.xKc(d.kh)&&rPc(a,2);return _.ei(d)});b?b.resolve(c):c.then(null,function(){return null})};qPc=function(a,b){a.ha.info("drive.ds.sync.connection.StateManager",b)};rPc=function(a,b){return!a.H&&a.Hb.update(b)?(qPc(a,"Connection status: "+_.FKc.get(b)),!0):!1};
TLc=[_.eM,_.gM,_.fM,_.iM,_.hM,_.jM,_.kM,_.nM,_.pM,_.qM,_.rM,_.tM,_.uM,_.IM,_.zLc,_.MM,_.RL,_.NM,_.OM,_.PM,_.CLc,_.RM];sPc=[_.TL];ULc=[_.wG,_.ILc];VLc=[_.EM,_.CL,_.HLc,_.SM];WLc=[_.HL,_.jp,_.TL,_.BLc];XLc=[_.SM,_.rp];YLc=[_.sM,_.xLc,_.CM,yLc,_.GM,_.ALc,_.RM,KLc,JLc];tPc=function(a){return a instanceof _.HL||a instanceof _.SM||"undefined"!=typeof _.HN&&a instanceof _.HN||a instanceof _.OM||a instanceof _.qM||a instanceof _.jM||a instanceof _.nM||a instanceof _.RL&&_.VM(a)};
_.uPc=function(a,b){this.V=b;this.H={};this.W=new lNc;b=_.dM({fields:_.Dd(a,28),Wy:_.ZL(_.EL(a))});this.Rb("SecondaryFields",b);this.Rb("SdkBackfillEnabled",!!_.F(a,45,!1)+" (Include corpus cache: "+!!_.F(a,46,!1)+")")};_.uPc.prototype.Rb=function(a,b){this.H[a]=_.vPc(a,b)};wPc=function(a,b){var c=a.H[b];c||(c=_.vPc(b,0,2),a.H[b]=c);c.Rb(String(Number(c.hb())+1))};_.vPc=function(a,b,c){var d=new _.INc;_.B(d,1,a);_.B(d,4,c||1);d.Rb(String(b));d.Cm(iNc[a]);return d};
_.xPc=function(a,b,c){var d=new _.ZJc;_.B(d,2,"Pending...");b instanceof _.HL?_.Lk(d,3,_.IL[0],b):b instanceof _.SM?_.Lk(d,4,_.IL[0],b):"undefined"!=typeof _.HN&&b instanceof _.HN?_.Lk(d,5,_.IL[0],b):b instanceof _.OM?_.Lk(d,6,_.IL[0],b):b instanceof _.qM?_.Lk(d,7,_.IL[0],b):b instanceof _.jM?_.Lk(d,8,_.IL[0],b):b instanceof _.nM?_.Lk(d,9,_.IL[0],b):b instanceof _.RL&&_.Lk(d,10,_.IL[0],b);var e=QLc(b),f=[];if(b instanceof _.fM)TM(f,"ID",b.getId()),TM(f,"Parent ID",b.qk());else if(b instanceof _.qM)TM(f,
"TD ID",b.getId());else if(b instanceof _.HL)b=_.gOc(b.Ad()),TM(f,"Query",b);else if(b instanceof _.SM)TM(f,"Query","All");else if(b instanceof _.OM)TM(f,"TD ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.jM)TM(f,"MimeType",b.jc()),TM(f,"Title",b.getTitle()),TM(f,"Parents",_.Dd(b,3)),TM(f,"Convert",_.H(b,8)),TM(f,"Request ID",_.oN(b)),TM(f,"Parent Request IDs",_.Dd(b,10)),TM(f,"Revision Item ID",_.C(b,12)),TM(f,"Pinned",_.H(b,8));else if(b instanceof
_.kM)TM(f,"Title",b.getTitle());else if(b instanceof _.nM)TM(f,"ID",b.getId());else if(b instanceof _.rM)TM(f,"WS ID",b.getId());else if(b instanceof _.RL){if(TM(f,"ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Description",b.Wg()),TM(f,"Starred",_.H(b,4)),TM(f,"Trashed",b.ri()),TM(f,"MimeType",b.jc()),TM(f,"Parents",_.Dd(b,8)),TM(f,"Parents to add",_.Dd(b,9)),TM(f,"Parents to remove",_.Dd(b,10)),TM(f,"Restricted",_.H(b,11)),TM(f,"Folder Color",b.Ui()),TM(f,"Update Last Viewed",_.H(b,15)),TM(f,
"Subscribed",_.H(b,16)),TM(f,"Available Offline",b.Hr()),TM(f,"Wksp to add",_.Dd(b,31)),TM(f,"Wksp to remove",_.Dd(b,32)),b=_.D(b,_.ul,25))TM(f,"Read Only",_.H(b,1)),TM(f,"Reason",_.C(b,2))}else b instanceof _.PM?(TM(f,"WS ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"State",b.getState())):b instanceof _.CLc&&TM(f,"Title",b.request.getTitle());_.B(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.yPc=function(a,b){for(var c=new _.nq,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.iLc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.B(a,2,c.toString()||"Done.")};_.t("sy14e");
_.IN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.IN,_.M);_.IN.prototype.Xq=function(){return _.D(this,_.OB,1)};_.zPc=function(a,b){return _.y(a,1,b)};_.IN.prototype.oo=function(){return _.C(this,3)};
_.APc=function(a,b,c){_.xi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.N(_.APc,_.xi);
var JN=function(){_.Hi.apply(this,arguments)};_.N(JN,_.Hi);var CPc=function(a,b){a.dispatchEvent(new BPc(b))};JN.prototype.V=function(){};var BPc=function(a){_.xi.call(this,DPc);this.request=a};_.N(BPc,_.xi);var DPc="Mb";
_.EPc=function(a){JN.call(this);this.H=a};_.N(_.EPc,JN);_.EPc.prototype.intercept=function(a){var b=!1;_.xKc(_.OL(a.kx[a.kx.length-1].response))&&(this.H.va(),b=!0);return b&&2>a.kx.length?(CPc(this,a),!0):!1};
var KN=function(a){_.Hi.call(this);this.ha=a};_.N(KN,_.Hi);_.g=KN.prototype;_.g.max=function(){};_.g.S_=function(){};_.g.dza=function(){};_.g.GUa=function(){};_.g.pSa=function(){};_.g.FUa=function(){};_.g.cF=function(){this.dispatchEvent(new _.xi("Nb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
_.FPc=function(a,b){KN.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.he(this);this.Oa(this.H);this.H.listen(this.W,"Ab",function(d){d.kf()||c.cF()});this.H.listen(this.V,"eb",this.cF)};_.N(_.FPc,KN);_.FPc.prototype.max=function(){var a=this.W.kf(),b=this.V.H;return!a&&b?Infinity:0};_.FPc.prototype.S_=function(){this.cF()};
_.GPc=function(a,b,c){this.H=new _.IH(a,b,.5);this.W=c;this.V=!0};
_.HPc=function(a,b){KN.call(this,"Backoff");this.H=a;this.V=b};_.N(_.HPc,KN);_.HPc.prototype.max=function(){return this.H.V?Infinity:0};_.HPc.prototype.pSa=function(){this.H.H.reset()};_.HPc.prototype.FUa=function(a){var b=this;IPc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.hb(),JPc(this,"Stopping new requests for "+a+" ms."),_.q.setTimeout(function(){JPc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.cF()},a),_.JH(this.H.H))};
var IPc=function(a){a=a.kx.length&&_.ia(a.kx).response;return!!(a&&a instanceof _.Qb&&mLc(a))},JPc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};
_.KPc=function(a,b){KN.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.N(_.KPc,KN);_.KPc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.KPc.prototype.S_=function(a){a>=this.V?this.cF():null==this.H&&LPc(this)};_.KPc.prototype.dza=function(a,b){0<b?LPc(this):this.H=null};var LPc=function(a){a.H=Date.now()-1;_.q.setTimeout(a.cF.bind(a),a.W)};
_.LN=function(){this.nr=[]};_.LN.prototype.add=function(a,b){b?this.nr.unshift(a):this.nr.push(a);return!0};_.LN.prototype.H=function(a){return _.Aa(this.nr,0,a)};_.LN.prototype.cancel=function(a){return _.va(this.nr,function(b){return b.gu.config.requestId==a?(b.mj.resolve(RLc(b.gu.request)),!0):!1})};_.LN.prototype.gH=function(){return _.zf(this.nr,function(a){return _.VM(a.gu.request)})};
_.MPc=function(a){JN.call(this);this.H=a};_.N(_.MPc,JN);_.MPc.prototype.intercept=function(a){var b=_.OL(a.kx[a.kx.length-1].response),c=!1;if(2==b.Io())b=this.H,rPc(b,3)&&_.oPc(b),c=!0;else if(_.xKc(b)){b=this.H;if(c=!b.H)c=b.Hb,c=!c.W&&c.isConnected()?c.V=!0:!1;c&&_.oPc(b);c=!0}return c&&2>a.kx.length?(CPc(this,a),!0):!1};
var NPc=function(){KN.call(this,"Immediate")};_.N(NPc,KN);NPc.prototype.max=function(){return Infinity};NPc.prototype.S_=function(){this.cF()};
var OPc=function(){KN.call(this,"One Request")};_.N(OPc,KN);OPc.prototype.max=function(){return 1};
_.PPc=function(a){KN.call(this,"Online");var b=this;this.H=a;this.V=new _.he(this);this.Oa(this.V);this.V.listen(this.H,["wb","xb","yb"],function(){return b.cF()})};_.N(_.PPc,KN);_.PPc.prototype.max=function(){return this.H.isConnected()?Infinity:0};_.PPc.prototype.S_=function(){this.cF()};
_.MN=function(a){KN.call(this,"Parallel");this.V=a;this.H=0};_.N(_.MN,KN);_.MN.prototype.max=function(){return Math.max(0,this.V-this.H)};_.MN.prototype.S_=function(){this.H<this.V&&this.cF()};_.MN.prototype.dza=function(a){this.H+=a.length};_.MN.prototype.GUa=function(a){this.H-=a.length;this.H<this.V&&this.cF()};
_.NN=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.Ka=a;this.W=b;this.ha=new _.he(this);this.Oa(this.ha);this.H=c;for(a=0;a<c.length;a++)this.ha.listen(c[a],"Nb",this.ta);this.V=d;this.ma=e;for(c=0;c<e.length;c++)this.ha.listen(e[c],DPc,function(k){QPc(h,!0,k.request)});this.Ma=_.My("drive.ds.network.queue.Queue [%s]",f);this.Ia=0;this.ka=new Map};_.N(_.NN,_.Hi);_.NN.prototype.add=function(a){return QPc(this,!1,{gu:a,mj:_.ii(),kx:[]})};
_.NN.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?RPc(this,"Canceled ID "+a+" during execution."):c&&RPc(this,"Canceled ID "+a+" inside bucket.");return b||c};_.NN.prototype.gH=function(){return this.W.gH()?!0:this.V.some(function(a){return a.gH()})};
var QPc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.sr(new _.Qb,"No queue bucket accepted request."),_.ei(_.bM(a));for(var d=SPc(a),e=0;e<a.H.length;e++)a.H[e].S_(d);return c.mj.promise};
_.NN.prototype.ta=function(){var a=SPc(this);if(a){for(var b=this.H.reduce(function(e,f){return Math.min(e,f.max(a))},Infinity),c=[],d=0;d<this.V.length&&0==c.length;d++)c=this.V[d].H(b);0<c.length&&(RPc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),TPc(this,c))}};
var TPc=function(a,b){var c=String(a.Ia++);a.ka.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Ea.bind(a,b[e]),a.Ba.bind(a,b[e]));e=SPc(a);for(var f=0;f<a.H.length;f++)a.H[f].dza(b,e);_.ji(_.hi(d).then(a.va.bind(a,b)),function(){a.ka.delete(c)});_.q.setTimeout(a.ta.bind(a),0)};
_.NN.prototype.Ea=function(a,b){var c=a.gu.config;RPc(this,QLc(a.gu.request)+" request completed successfully. xd4: "+!(!c||!c.WK));this.H.forEach(function(d){return d.pSa()});this.ma.forEach(function(d){return d.V(a)});a.mj.resolve(b)};
_.NN.prototype.Ba=function(a,b){b=_.bM(b);RPc(this,QLc(a.gu.request)+(" request failed with error: "+b.ka+"."));a.kx.push({response:b,wGb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].FUa(a);a.gu.config.ija||!this.ma.some(function(d){return d.intercept(a)})?a.mj.reject(b):RPc(this,QLc(a.gu.request)+" encountered an error, but was intercepted to be retried.")};_.NN.prototype.va=function(a){for(var b=0;b<this.H.length;b++)this.H[b].GUa(a)};
var SPc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].nr.length){b=a.V[c].nr.length;break}return b},RPc=function(a,b){a.Ka.info(a.Ma,b)};
_.UPc=function(a,b,c,d){JN.call(this);this.ka=_.rk(a,21,1E3);this.va=_.rk(a,1,1);this.W=b;this.ma=c;this.ha=d;this.H=new Map;this.ta=function(){return new _.GPc(_.rk(a,63,1E3),_.rk(a,64,3E5),_.rk(a,65,10))}};_.N(_.UPc,JN);
_.UPc.prototype.intercept=function(a){var b=a.kx.length,c=0<b&&_.ia(a.kx).response||null;if(c){c=_.OL(c);if(2==c.Io()&&this.ma.kf())return VPc(this,a);var d=c.Vj();if(3==d||31==d||13==d||9==d)return WPc(this,a,b);if(mLc(c))return b=this.W.H.H,c=this.W,c.H.H<c.W?(XPc(this,"Backoff number "+b+" for a User Rate Limit error."),CPc(this,a),a=!0):(XPc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var VPc=function(a,b){var c=YPc(a,b),d=c.H.H;if(c.H.H<c.W)return XPc(a,"Retry "+(d+1)+" for a failed request due to an offline error."),d=c.H.hb(),_.q.setTimeout(function(){return CPc(a,b)},d),_.JH(c.H),!0;a.H.delete(b);return!1},YPc=function(a,b){a.H.has(b)||a.H.set(b,a.ta());return a.H.get(b)},WPc=function(a,b,c){var d=a.va;if(c<=d)return XPc(a,"Retry number "+(c+1)+" for a retryable error."),_.q.setTimeout(function(){return CPc(a,b)},a.ka*Math.pow(2,c)),!0;XPc(a,"Done retrying retriable requests after "+
d+" retries.");return!1};_.UPc.prototype.V=function(a){this.H.delete(a)};var XPc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)};
var ZPc=function(a){try{if("undefined"!=typeof FileReaderSync&&_.yKc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.lpb,d=ENc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.jpb(e,"reading data"))}},$Pc=function(a){return ZPc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var aQc=function(a,b,c,d,e,f,h){this.Ab=a;this.ka=b;this.Cb=c;this.Ba=d;this.Lb=e;this.Vb=f;this.ab=h;a=_.D(f.request,_.fNc,15);a=_.yKc()&&a?_.C(a,1):null;this.V="number"===typeof a?a:f.file.size;this.ma=this.Ea=this.H=0;this.Ma=this.Wa=this.Ia=null;this.W=_.ii();this.ha=!1;this.Qa=h.requestId;this.ta="progress_"+this.Qa;h.QAa=this.ta;this.Ka=this.rb=0;this.va=null},bQc=function(a,b){a.Cb.info("drive.ds.sync.request.ResumableUpload",b)};
aQc.prototype.start=function(){var a=this,b=new JLc(this.Vb.request,this.Vb.metadata),c=cQc(this);this.Ab.then(function(d){return d.H(b,c)}).then(function(d){a.Ia=d.tqb;a.Wa=d.NCb;a.Ma=d.l8a;dQc(a)},function(d){return void a.W.reject(d)});return _.ji(this.W.promise.then(function(d){eQc(a,d);return d},function(d){d=_.bM(d);eQc(a,d.kh);return _.ei(d)}),function(){ZOc(a.ka,[a.ta])})};var cQc=function(a){var b=_.bg(a.ab);YOc(a.ka,a.ta,jNc(function(){return void a.ka.notify([a.Qa],0)}));return b};
aQc.prototype.cancel=function(){return this.ha?!1:(this.ha=!0,this.W.resolve(RLc(this.Vb)),!0)};
var dQc=function(a){a.ha||(bQc(a,"Uploading chunk "+a.Ka+" for "+a.Ia+"."),fQc(a,4))},fQc=function(a,b){gQc(a).then(function(c){if(c){var d=hQc(a,c.blob.size);if(d.ija){var e=(new _.UM).Gc(8);a.W.resolve(e)}else a.Ab.then(function(f){return f.H(c,d)}).then(function(f){var h=c.blob.size;a.H+=a.ma;a.Ea+=h;a.Ka++;f.BE()&&(a.Wa=f.BE());f.TN()&&(a.Ma=f.TN());a.H<a.V?dQc(a):a.W.resolve(f)},function(f){var h=_.OL(f);h.Sua()||h.pga()?iQc(a,b,h,!1):$Pc(c.blob).then(function(k){k=k?_.wEa.get(k)||25:38;_.WL(h,
k);k=38==h.Io();var l=38!=h.Io()&&25!=h.Io();iQc(a,b,h,k,l)},function(){})})}else e=_.bM(_.WL(_.sr(new _.Qb,"Could not read more of the file. Read "+a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})},iQc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.lra(f);!e&&0<b?(a.rb++,d&&(a.Ba=Math.max(262144*Math.floor(a.Ba/262144/2),8388608)),setTimeout(function(){b--;bQc(a,"Retrying chunk "+a.Ka+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.Ba+" bytes "):"")+"for ")+(a.Ia+"."));fQc(a,b)},
a.Lb*Math.pow(1.5,f))):a.W.reject(_.bM(c))},gQc=function(a,b){return jQc(a,b).then(function(c){if(!c)return null;if(a.Vb.metadata&&0<a.V&&0==c.size)return gQc(a,Math.min(2*a.ma,a.V-a.H));a.va&&(c=new Blob([a.va,c]),a.va=null);var d=c.size%262144;a.ha=a.H+a.ma==a.V;0<d&&!a.ha&&(a.va=c.slice(-1*d),c=c.slice(0,-1*d));return new KLc(a.Ia,c,a.Ea,a.Ea+c.size-1,a.ha,a.Vb.request.jc(),_.C(a.Vb.request,12)||void 0)})},jQc=function(a,b){a.ma=b?b:Math.min(a.V-a.H,a.Ba);b=a.H;return a.Vb.hN?a.Vb.hN(b,a.ma):_.bi(_.lLc(a.Vb.file,
b,b+a.ma))},hQc=function(a,b){var c=_.bg(a.ab);c.cIa=!0;var d=a.H/a.V,e=b/a.V;ZOc(a.ka,[a.ta]);YOc(a.ka,a.ta,function(f){a.ka.notify([a.Qa],Math.min(d+e*f,1))});return c},eQc=function(a,b){b.YJa(3);b.lra(a.rb);b.BE()||b.o$(a.Wa);b.TN()||b.c$(a.Ma)};
_.kQc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.kQc.prototype.create=function(a,b){return new aQc(this.ka,this.W,this.H,this.ha,this.V,a,b)};
_.lQc=function(a){this.V=a;this.H={}};_.lQc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].gu.request instanceof _.LLc)b.push(mQc(this,a[c].gu));else{var d=_.sr(new _.Qb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.bM(d)))}return b};_.lQc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.lQc.prototype.gH=function(){return!_.Yf(this.H)};
var mQc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ji(d,function(){delete a.H[e]})};
_.nQc=function(a,b){return new _.NN(b,a,[new NPc],[new _.LN],[],"immediate")};_.oQc=function(a,b,c,d,e,f,h){if(h){var k=new _.PPc(h.getState());d=new _.MPc(h)}else k=new _.FPc(c,d),d=new _.EPc(d);return new _.NN(f,a,[k,new _.HPc(e,f),new OPc],[new _.LN],[d,new _.UPc(b,e,h?h.getState():c,f)],"connected")};
_.pQc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.rk(b,10,50):l;if(h){var n=new _.PPc(h.getState());d=new _.MPc(h)}else n=new _.FPc(c,d),d=new _.EPc(d);return new _.NN(f,a,[n,new _.KPc(l,_.rk(b,12,10)),new _.MN(3*l),new _.HPc(e,f)],[new _.LN],[d,new _.UPc(b,e,h?h.getState():c,f)],k)};_.qQc=function(a,b,c){b=_.rk(b,46,1);return new _.NN(c,a,[new _.MN(b)],[new _.LN],[],"resumable_upload")};
_.rQc=function(a,b,c,d,e,f,h,k,l){this.Ia=a;this.ta=b;this.Ba=c;this.V=d;this.va=e;this.Ea=f;this.ka=h;this.ha=k;this.ma=l;this.W=null};_.rQc.prototype.H=function(a,b){var c=this,d=function(h){h=_.bM(h);var k=h.kh;SLc(a)||_.wr(k);return _.ei(h)};if(this.ha()&&(a instanceof _.HL&&_.WM(a.Ad())||b&&b.AIb)){this.W||(this.W=_.ii());var e=this.W.promise}var f=function(){return sQc(c,a,b).then(null,d)};return e?e.then(f):f()};
var sQc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ia.validate(b);if(d)return _.ei(_.bM(d));var e=a.ta.V(b);d=a.Ba.execute(a,e,c)||void 0;return _.bi(d).then(function(){if(e instanceof _.Qb)return _.ei(_.bM(e));if(Array.isArray(e)){var f=e.map(function(h){return tQc(a,b,h,c)});return _.hi(f)}return tQc(a,b,e,c)},function(f){return _.ei(_.bM(f))})},tQc=function(a,b,c,d){var e=uQc(a,c);if(!e)return b=_.WL(_.sr(new _.Qb,"Failed to choose a queue for server request."),18),_.ei(_.bM(b));if(e===a.V[7]||
e===a.V[8])d.WK=!0;d=e.add({request:c,config:d});(_.VM(b)||_.VM(c))&&_.ji(d,function(){a.ha()||(a.ma("w8KrJc"),a.W&&(a.W.resolve(),a.W=null))});b=a.va.apply(c,d);d.then(function(f){return a.Ea.apply(c,f)},function(){});return b};_.rQc.prototype.cancel=function(a){return _.Uf(this.V,function(b){return b.cancel(a)})};
var uQc=function(a,b){var c=!1;b instanceof _.jp?c=!!_.H(b,7):b instanceof _.HL&&(c=(c=b.Ad())&&!!_.H(c,46));return(b instanceof _.OLc||"undefined"!=typeof _.ON&&b instanceof _.ON&&b.W())&&a.V[1]?a.V[1]:b instanceof _.LLc&&a.V[5]?a.V[5]:c&&ZLc(b,a.ka)&&a.V[7]?a.V[7]:ZLc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.jp&&a.V[6]?a.V[6]:(c||sPc.includes(b.constructor))&&a.V[3]?a.V[3]:TLc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
var vQc=function(a){this.H=a};vQc.prototype.build=function(a,b){var c="====="+_.Rg()+"=====",d=a[0].Fm,e=b.every(function(l){return l.WK});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=ePc(this.H,a[0].Fm);_.Fj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=wQc[d],h=xQc[d]||{},h["content-type"]=_.My('multipart/mixed; boundary="%s"',c),d=yQc[d],k=new _.xj("");a=zQc(this,a,b,c,e);return{Fm:f,body:a,headers:h,method:d,uri:k}};
var zQc=function(a,b,c,d,e){for(var f=vLc(AQc[b[0].Fm]||{}),h="",k=0;k<b.length;k++){e&&cPc(a.H,b[k],c[k]);var l=b[k],n=a.H,p=l,r=c[k];p.uri=dPc(n,p.Fm,p.uri);switch(p.Fm){case 0:case 5:bPc(n,p,r);aPc(n,p,r);break;case 2:cPc(n,p,r);bPc(n,p,r);var u=p,z=_.C(n.H.Sf(),57);u.headers.host=_.Mj(z).H;u.headers.origin=_.q.location.origin?_.q.location.origin:_.q.location.protocol+"//"+_.q.location.host;aPc(n,p,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Qe`"+p.Fm);default:throw Error("Pe`"+
p.Fm);}n=l;p=n.uri.clone();_.yj(p,"");_.zj(p,"");_.Aj(p,null);l=f+"\r\n"+(n.method+" "+p+" HTTP/1.1\r\n")+vLc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},BQc={},yQc=(BQc[0]="POST",BQc[2]="PUT",BQc[12]="POST",BQc),CQc={},wQc=(CQc[0]=1,CQc[2]=3,CQc),DQc={},EQc={},xQc=(EQc[2]=(DQc["x-goog-upload-protocol"]="batch",DQc),EQc),FQc={},GQc={},HQc={},IQc={},AQc=(IQc[0]=(FQc["content-type"]="application/http",FQc["content-transfer-encoding"]="binary",FQc),IQc[12]=
(GQc["content-type"]="application/http",GQc["content-transfer-encoding"]="binary",GQc),IQc[2]=(HQc["content-type"]="application/http",HQc),IQc);
var JQc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,KQc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var LQc=function(){_.tj.apply(this,arguments)};_.N(LQc,_.tj);LQc.prototype.getAllResponseHeaders=function(){return _.zha(_.tj.prototype.getAllResponseHeaders.call(this))};
var MQc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},NQc=function(a,b,c){try{a.ma.Ac(b,c);var d=new LQc;d.BC=!0;var e=c.requestId||"",f=_.ii();d.listen("complete",a.ta.bind(a,d,f,e,c.Ava,4==b.Fm));e&&c.QAa&&!c.WK&&(a.V[e]=d,a.H[e]=c,d.Cb=!0,d.listen("uploadprogress",(0,_.v)(a.ka,a,c)),c.cIa||d.listen("downloadprogress",(0,_.v)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.ei(_.bM(h))}};
MQc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.Be()?(a.ija=!0,b.abort(),!0):!1};MQc.prototype.ta=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.V[c],delete this.H[c]);c={headers:_.fla(a),text:a.Tk()};if(!d)try{c.json=_.wj(a)}catch(f){}d=_.bLc(a.Jb(),_.cla(a),c.headers,c.text,c.json,a.V,_.gla(a),String(a.va),e);a.dispose();d?b.reject(_.bM(d)):b.resolve(c)};
MQc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.QAa],a.cIa?b.loaded/b.total:b.loaded/b.total/2)};MQc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.QAa],b.loaded/b.total/2+.5)};
var OQc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};OQc.prototype.add=function(a,b){var c="DEFAULT";b.WK&&(c=ePc(this.V,a.Fm).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.WK&&!wQc[a.Fm])return a=_.sr(new _.Qb,"Unsupported batch API: "+a.Fm),_.ei(_.bM(a));var d=_.ii();c.push({request:a,config:b,mj:d});return d.promise};
OQc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{PQc(a,b)}catch(f){var d=_.vr(_.sr(new _.Qb,"Error executing XHR: "+f.message),f.stack),e=_.bM(d);b.forEach(function(h){h.mj.reject(e)});a.H.delete(c)}})};
var PQc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.Ava&&!c.config.WK){var d=!1;if(wQc[c.request.Fm]){var e={Fm:c.request.Fm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Ac(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.mj;NQc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}QQc(a,b)},QQc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});NQc(a.W,a.ha.build(c,d),{Ava:!0,WK:d.every(function(e){return e.WK})}).then(function(e){e.headers=
_.WKc(e.headers);var f=KQc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Rb("Could not extract batch boundary.",_.WL(_.vr(new _.Qb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.qd(_.zha(h[0]),f)&&_.dd(h[1]))h=_.zha(h[0]).substring(f.length);else throw new _.Rb("Could not parse batch response; did not begin and end with boundary.",_.WL(_.vr(new _.Qb,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,J=E.split("\r\n\r\n");if(2>J.length)u=new _.Rb("Individual batch response contained too few parts.",_.WL(_.vr(new _.Qb,E),17));else{var R=J[1].split("\r\n");if(z=JQc.exec(R[0])){n=_.lb(z[1]);z=z[2];R.shift();A=_.bg(A);for(var S=Object,ha=S.assign,ca={},oa=0;oa<R.length;oa++){var Ca=_.Iha(R[oa],":",1);Ca&&2==Ca.length&&(ca[(0,_.Of)(Ca[0])]=(0,_.Of)(Ca[1]))}R=_.WKc(ca);ha.call(S,A,R);try{u=_.dd(_.Qg(J[2]))?void 0:JSON.parse(J[2])}catch(V){}u=
(n=_.bLc(n,z,A,E,u,void 0,void 0,I&&I.toString()))?_.bM(n):{headers:A,text:E,json:u||void 0}}else u=new _.Rb("Could not extract HTTP status code and text.",_.WL(_.vr(new _.Qb,E),16))}r.call(p,u)}return k}).then(null,function(e){e=_.bM(e);return _.eIc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].mj,k=e[f];k instanceof _.Qb||k instanceof _.Rb?h.reject(_.bM(k)):h.resolve(k)}})};
_.RQc=function(a,b,c,d,e,f,h){this.W=a;this.Ba=b;this.Ea=c;this.va=d;this.ta=e;this.ha=f;this.H=h;this.ma=new vQc(this.W);this.ka=new MQc(this.W,this.Ba);this.V=[]};_.g=_.RQc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].gu;this.V.push(f);c.push(this.Ea.jC(f,a[e].kx));d.push(tPc(f.request)?_.xPc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.bM(_.bLc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new OQc(this.W,this.ka,this.ma);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.Syb.bind(b,r.Fm,p.gy),function(){});return u}.bind(this,a[f].gu.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].gu;var n=e[f].then(this.x7a.bind(this,l.request,d[f],a[f].kx)).then(null,function(p){return Promise.reject(_.bM(p))});n.then(this.qSa.bind(this,l),this.qSa.bind(this,l));c.push(n)}return c};_.g.x7a=function(a,b,c,d){a=this.va.jC(a,d,c);b&&_.yPc(b,a.Pd?a.Pd():[]);return a};_.g.Syb=function(a,b){a=!b&&_.na(SQc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.Hb.isConnected()||a)c=rPc(b,c),a&&c&&_.mPc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.gH=function(){return this.V.some(function(a){return _.VM(a.request)})};_.g.qSa=function(a){_.ua(this.V,a)};var SQc=[0,2,4,7,8];
_.TQc=function(){};_.TQc.prototype.execute=function(){return null};
var UQc;UQc=function(a){this.H=a};_.PN=function(a,b){if(!_.Ba(b))throw new _.Rb("Expected an object, but got a "+_.ofa(b)+".",_.$L(11,void 0,8));var c=b.kind;if(!c)throw new _.Rb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.$L(11,void 0,21));if(!a.includes(c))throw new _.Rb("Expected "+a.join(" or ")+" but got a "+c+".",_.$L(11,void 0,9));};_.QN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.VQc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.eMc(new _.sl,a.canAddChildren);c=_.B(c,18,a.canChangeTeamDriveBackground);c=_.B(c,2,a.canComment);c=_.B(c,3,a.canCopy);b=_.nMc(_.iMc(_.oMc(_.pMc(_.qMc(_.mMc(_.lMc(_.hMc(_.gMc(_.fMc(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=_.rMc(_.kMc(_.jMc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.B(b,27,a.canModifyContentRestriction);b=_.B(b,26,a.canShareOutsideDomain);b=_.uMc(_.tMc(_.sMc(_.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=_.wMc(_.vMc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.B(b,44,a.canRead);b=_.zMc(_.yMc(_.xMc(_.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)};
_.RN=function(a,b){_.PN(["drive#user"],b);var c=_.cMc(_.dMc(_.aMc(1).Yb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.ao(b.picture.url);_.GL(a.H)&&_.cMc(c,b.emailAddressFromAccount||b.emailAddress);_.bMc(c,a.Ff(b.id));_.B(c,9,b.domain);return c};UQc.prototype.Ff=function(a){if(a)return _.iN(_.EL(this.H))==a};
var WQc,bRc,qRc,ZQc,gRc,fRc,hRc,jRc,lRc,YQc,nRc,mRc,oRc,pRc,rRc,sRc,iRc;WQc=function(a,b){this.H=a;this.V=b};
_.$Qc=function(a,b,c){var d=new _.IN,e=new _.OB,f=e.uw;_.PN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.XQc(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var n=_.XQc(a,k[l]);h.push(n)}e=f.call(e,h);e=_.B(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.PN(["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 _.ilb).Gc(YQc[n.status]);
r=_.B(r,1,n.original);n=_.B(r,3,n.correction);a.push(n)}k=new _.mlb;a=_.jb(k,1,a);f.push(a)}p=new _.olb;_.jb(p,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.klb;_.B(u,1,f||[])}p||u?(f=new _.plb,p&&_.y(f,1,p),u&&_.y(f,2,u),u=f):u=null;_.y(e,7,u);_.bNc(e,ZQc(b))}d=_.zPc(d,e);c=_.YKc(c);c=_.B(d,2,c);b.nextPageToken&&_.B(c,3,b.nextPageToken);return c};
bRc=function(a,b,c,d,e){_.PN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.qNc(new _.UM,c);"drive#adminFile"==b.kind?(_.PN(["drive#adminFile"],b),c=(new _.zl).Yb(b.id),b.parentId&&_.cN(c,[b.parentId]),_.QMc(c,b.teamDriveId),f.setItem(c),_.qNc(f,c.getId())):"drive#file"==b.kind?(b=_.XQc(a,b),f.setItem(b),c||_.qNc(f,b.getId())):"drive#revision"==b.kind&&(b=_.aRc(a,b),_.y(f,4,b));f.o$(_.XKc(d));f.c$(_.YKc(d));(d=(d=d&&_.WKc(d))&&d["x-server-object-version"])&&e&&(e=(new _.pN).Yb(d),_.y(f,
4,e));f.Gc(1);return f};_.cRc=function(a,b){return _.qNc(new _.UM,a).Gc(1).o$(_.XKc(b)).c$(_.YKc(b))};_.eRc=function(a,b,c,d){d||_.PN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.dRc(a,b[c],d);f&&e.push(f)}return e};
_.dRc=function(a,b,c){c||_.PN(["drive#permission"],b);c=_.bMc(_.dMc(_.aMc(fRc[b.type]).Yb(b.id),b.userId),a.H.Ff(b.userId));c=_.B(c,4,b.withLink);c=_.cMc(c.jd(b.name).ao(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.Yb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.GL(a.V)&&c.jd(b.nameIfNotUser);a=gRc[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};
_.XQc=function(a,b){_.PN(["drive#file"],b);var c=b.title,d=(new _.zl).Yb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.OMc(_.KMc(_.rL(_.cN(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.Cm(b.description);_.LMc(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.iu(d.starred),_.B(c,6,d.hidden),c.En(d.trashed),_.HMc(c,d.restricted),_.B(c,9,d.viewed));_.B(c,10,_.QN(b.createdDate));_.B(c,69,_.QN(b.serverCreatedDate));_.gIc(c,_.QN(b.modifiedDate));_.B(c,12,_.QN(b.modifiedByMeDate));_.B(c,13,_.QN(b.lastViewedByMeDate));_.B(c,23,_.QN(b.sharedWithMeDate));_.B(c,62,_.QN(b.subscribedDate));_.B(c,70,_.QN(b.recency));b.recencyReason&&_.B(c,71,hRc[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.RN(a.H,
e[f]))&&d.push(h);_.IMc(c,d);b.lastModifyingUser&&(d=_.RN(a.H,b.lastModifyingUser),_.JMc(c,d));b.userPermission&&_.hIc(c,gRc[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.$M).Fh(e.width).Zg(e.height),d=_.B(d,4,e.rotation),e.date&&(e=e.date,f=new _.eKc,f.setMilliseconds(0),iRc.parse(e,f),_.B(d,1,f.getTime())),_.y(c,27,d));null!=b.folderColor&&_.NMc(c,Number(b.folderColor));_.MMc(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=_.RN(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],_.cIc[h]&&(h=_.Fe(new _.Ee,_.cIc[h]),e.push(h));c.vD(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 _.hna).Yb(h.id);h=_.B(k,2,jRc[h.type]);e.push(h)}_.jb(c,83,e)}b.capabilities&&c.Wo(_.VQc(b.capabilities));b.permissionsSummary&&_.RMc(c,_.kRc(a,b.permissionsSummary));b.headRevisionId&&_.B(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.aN).Cm(d.description),
e=_.B(e,3,lRc[d.galleryState]),d=_.B(e,2,d.category||[]),_.y(c,86,d));_.QMc(c,b.teamDriveId);_.B(c,76,b.hasAugmentedPermissions);_.B(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.RN(a.H,b.creator),_.y(c,91,d));_.SMc(c,b.primaryDomainName);_.TMc(c,b.organizationDisplayName);_.B(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.RN(a.H,b.trashingUser),_.y(c,95,d));c.t$(_.QN(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,mRc[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.bN).Fh(d.width).Zg(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=_.BMc(_.AMc(new _.ul,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 _.rl).Yb(f.approvalId).Gc(nRc[f.status]),d.push(f);_.jb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.rna,e=_.B(e,1,d.targetId),e=_.B(e,3,d.targetMimeType),e=_.B(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.B(e,4,oRc[d.targetLookupStatus]||0),d.targetFile&&(d=_.XQc(a,d.targetFile),_.y(e,5,d)),_.y(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.YM,e=_.B(e,1,pRc[d.encryptionState]),d.decryptionMetadata&&(d=qRc(d.decryptionMetadata),_.y(e,2,d)),_.y(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.ina,e=_.B(e,2,d.securityUpdateEligible),e=_.CMc(e,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);_.uLc(c);_.GL(a.V)&&_.PMc(c,5);return c};_.aRc=function(a,b){_.PN(["drive#revision"],b);var c=(new _.pN).Yb(b.id);c=_.B(c,2,b.mimeType);c=_.B(c,3,_.QN(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=_.RN(a.H,b.lastModifyingUser),_.y(c,9,a));b.decryptionMetadata&&(b=qRc(b.decryptionMetadata),_.y(c,10,b));return c};
_.kRc=function(a,b){a=_.FMc(_.EMc(_.DMc(new _.lna,b.entryCount),_.eRc(a,b,"visibility",!0)),_.eRc(a,b,"selectPermissions",!0));a=_.B(a,4,b.memberCount);a=_.B(a,5,b.userEntryCount);return _.B(a,6,b.groupEntryCount)};qRc=function(a){var b=a.wrappedKey;var c=new _.ZM;b=b?_.kNc(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,rRc[a.aes256GcmChunkSize]);c=_.B(c,6,sRc[a.keyFormat]);return _.B(c,4,a.jwt)};
ZQc=function(a){_.PN(["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};gRc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};fRc={anyone:4,audience:5,domain:3,group:2,user:1};hRc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};jRc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};lRc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};YQc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
nRc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};mRc={docs:1,sheets:2,slides:3};oRc={ok:1,notFound:2,permissionDenied:3};pRc={unencrypted:1,encrypted:2};rRc={unset:0,"default":1,small:2,size16kb:3};sRc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};iRc=new _.jTa("yyyy:MM:dd HH:mm:ss");
var wRc;_.tRc=function(a){this.ka=new UQc(a);this.dD=new WQc(this.ka,a)};_.tRc.prototype.jC=function(a,b,c){c=void 0===c?[]:c;try{return uRc(this,a,b,c)}catch(d){_.cM(d)}};
var uRc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.jM)return _.vRc(a,b,c);if(b instanceof _.sM)return wRc(0,c,d);if(b instanceof _.jp){if(!c.json)throw _.SN();return _.$Qc(a.dD,c.json,c.headers)}if(b instanceof _.RM)return _.vRc(a,b,c);if("undefined"!=typeof _.FLc&&b instanceof _.FLc){if(!c.json)throw _.SN();a=c.json;return new _.ONc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.xRc&&b instanceof _.xRc){if(!c.json)throw _.SN();
return _.aRc(a.dD,c.json)}if(b instanceof yLc)return wRc(b.Ad(),c,d);if(b instanceof KLc){if(b.W){if(!c.json)throw _.SN();a=bRc(a.dD,c.json,null,c.headers,!!b.revisionId)}else a=_.cRc(null,c.headers);return a}if(b instanceof JLc){a=_.WKc(c.headers);b=a.location;if(!b)throw a=_.WL(new _.Qb,10),new _.Rb("No upload session URI included.",a);return new PNc(b,_.XKc(a),_.YKc(a))}throw new _.Rb("FromXhrConverter: Unsupported request type.",new _.Qb);};_.tRc.prototype.ma=function(){return null};
wRc=function(a,b,c){return"base64"==b.headers["x-goog-safety-encoding"]?new QNc(_.taa(b.text),c.length):new QNc(new Uint8Array(_.tla(b.text)),c.length)};_.vRc=function(a,b,c){if(!c.json){if(b instanceof _.RL)return _.cRc(_.yRc(b));throw _.SN();}var d=!1;b instanceof _.RM&&(d=!!_.C(b.request,12));return bRc(a.dD,c.json,_.yRc(b),c.headers,d)};_.SN=function(){var a=_.WL(new _.Qb,11);return new _.Rb("FromXhrConverter: JSON required, but none found",a)};
_.yRc=function(a){return a.getId?a.getId():a.Rc?a.Rc():null};
var CRc,DRc,FRc,zRc,GRc,ARc;
CRc=function(a,b){var c={};_.dd(_.Qg(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.jc()&&(c.mimeType=a.jc(),a.Rc()&&_.jea(a.jc())&&b)){var d=b.W(),e=b.V(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Qj(b.ma()),h.kaclsId=b.ta(),h.aes256GcmChunkSize=zRc[d?d.V():0],h.keyFormat=ARc[e?e.V():0],h);c.clientEncryptionDetails=f}_.BRc(c,_.Dd(a,3));(b=a.Rc())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));a.PY()&&(c.shortcutDetails={},
c.shortcutDetails.targetId=a.PY());"number"===typeof _.C(a,26)&&(c.modifiedDate=_.aNc(_.TNc(_.C(a,26)||0)));return c};_.BRc=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)}}};DRc={};_.ERc=(DRc[1]="active",DRc[2]="archived",DRc);FRc={};zRc=(FRc[0]="unset",FRc[1]="default",FRc[2]="small",FRc[3]="size16kb",FRc);GRc={};ARc=(GRc[0]="unsetKeyFormat",GRc[1]="tinkKeyset",GRc[2]="tinkAesGcmKey",GRc);
var JRc=function(a,b){return(a.hN?a.hN(0,a.file.size):Promise.resolve(a.file)).then(function(c){return ZPc(c)}).then(function(c){return HRc(a,b,c)},IRc)},HRc=function(a,b,c){var d=!!_.C(a.request,12),e="files";d&&(e+="/"+_.C(a.request,12));e=new _.xj(e);_.Fj(e,"uploadType","multipart");_.Fj(e,"supportsTeamDrives",!0);_.Fj(e,"pinned",!!_.F(a.request,13,!1));null!=_.H(a.request,8)&&_.Fj(e,"convert",_.H(a.request,8));_.Fj(e,"fields",_.pLc({fields:_.xN(b).filter(function(n){return 194!=n}),Wy:!1}));wLc(e,
a.request.Ae());var f=CRc(a.request,a.metadata),h=_.Rg();b={};b=(b["content-type"]=_.My('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.jc()&&(l["content-type"]=a.request.jc());a="--"+h;a=a+"\r\n"+vLc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+vLc(l)+"\r\n"+c+"\r\n"+a+"--";return{Fm:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}},
IRc=function(a){if(a instanceof _.jpb){var b=new _.Qb;_.sr(b,"fs.Error: "+a.message);a=(a=a.name)?_.wEa.get(a)||25:38;_.WL(b,a);a=_.bM(b)}return Promise.reject(a)};
_.TN=function(a,b,c,d){this.H=a;this.ha=b;this.ka=c;this.oe=d};_.TN.prototype.jC=function(a,b){try{return a.request instanceof _.RM?JRc(a.request,this.ha):Promise.resolve(this.W(a.request,a.config,b))}catch(c){return c instanceof _.Rb?a=c.kh:(a=new _.Qb,_.sr(a,"Error converting XHR: "+c.message),_.vr(a,c.stack),_.WL(a,4)),Promise.reject(a)}};
_.TN.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.jM){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=_.pLc({fields:this.Xg(c),Wy:_.ZL(_.EL(this.H)),yN:_.GL(this.H)});e=CRc(a);f["content-type"]="application/json";var r=a.Ae();n=!0;_.wN(k);_.KRc(this.H,k);_.lN(this.H)&&(b=_.Jk(a,_.Rl,28),b.length?_.LRc(b,f):(a=_.Dd(a,3).concat([_.C(a,16),a.PY(),a.Rc()]),_.UN(this,a,f)))}else if(a instanceof
_.sM||a instanceof yLc)l=a,a instanceof yLc&&(l=a.Ad(),_.nk(a,2)&&_.nk(a,3)&&(f.range="bytes="+_.C(a,2)+"-"+_.C(a,3))),p="files/"+l.getId(),_.C(l,2)&&(k.revisionId=_.C(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.lN(this.H)&&(l.hH()?_.LRc([_.Sl((new _.Rl).Yb(l.getId()),_.C(l,3))],f):_.UN(this,[l.getId()],f)),n=l=!0;else if(a instanceof _.jp)n=a.ym()[0],p="files/"+n,r=_.wa(this.Xg(c),this.Xg(c,a.Ti())),_.Ea(r),k.fields=_.pLc({fields:r,Wy:_.ZL(_.EL(this.H)),yN:_.GL(this.H)}),
_.wN(k),_.MRc(this.H,k),_.NRc(this.H,k),this.V(n,k),r=a.Ae(),n=!0,_.H(a,7)&&(b.Ava=!0),_.lN(this.H)&&(b=_.Jk(a,_.Rl,11),b.length?_.LRc(b,f):_.UN(this,a.ym(),f));else if("undefined"!=typeof _.FLc&&a instanceof _.FLc)p="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.xRc&&a instanceof _.xRc)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 KLc){d=4;h="PUT";p=a.ha;f["content-type"]=a.contentType;if(a.V>=a.H){var u=a.H;n=a.V;f["content-range"]=a.W?_.My("bytes %d-%d/%d",u,n,n+1):_.My("bytes %d-%d/*",u,n)}u=a.blob;n=!0}else a instanceof JLc?(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=_.pLc({fields:this.Xg(c).filter(function(z){return 194!=
z}),Wy:_.ZL(_.EL(this.H)),yN:_.GL(this.H)}),_.wN(k),e=CRc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.jc()&&(f["x-upload-content-type"]=a.request.jc()),_.lN(this.H)&&_.UN(this,_.Dd(a.request,3),f),r=a.request.Ae(),n=!0):a instanceof _.OLc?(p="about",k.fields="kind",r=a.H,n=!0):_.ORc(a);n&&_.PRc(c,k);0!=d||l||r&&_.C(r,1)||_.QOc(this.oe,74438989);return _.QRc(d,p,k,f,h,r,e,u)};
_.QRc=function(a,b,c,d,e,f,h,k){b=new _.xj(b);[10,12,13].includes(a)||wLc(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;_.Gj(b,f,l)}return{Fm:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.MRc=function(a,b){_.F(a.Sf(),23,!1)&&(b.includePermissionsForView="published")};_.TN.prototype.V=function(){};_.NRc=function(a,b){_.F(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};
_.KRc=function(a,b){_.F(a,3,!1)&&(b.enforceSingleParent=!0)};_.PRc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).wGb):b.retryCount=0};_.TN.prototype.Xg=function(a,b){b||(b=_.xN(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return DNc.includes(c)}));return b};_.UN=function(a,b,c){b&&b.length&&(a=jPc(a.ka,b),_.LRc(a,c))};_.LRc=function(a,b){a.length&&(a=_.xB(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};
_.ORc=function(a){var b=_.WL(new _.Qb,4);throw new _.Rb("ToXhrConverter: Unsupported request type: "+QLc(a),b);};
_.VN=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.W=a;this.ka=b;this.Ba=c;this.ma=d;this.Qa=e;this.H={};this.oe=null;this.va=f;this.ta={};_.Yd(this,function(){h.ESa()})};_.N(_.VN,_.Hi);_.VN.prototype.rX=function(){return _.Sg()};
_.VN.prototype.upload=function(a,b,c,d){wPc(this.ka,"UploadTotalCount");var e=_.oN(a);if(e&&this.H[e])throw new _.Rb("Upload requested with a duplicate request ID.");var f=_.Dd(a,10);if(f&&f.length){if(1!=f.length)throw new _.Rb("Multi-parented uploads are not supported.");var h=this.H[f[0]];if(!h)throw new _.Rb("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);e||(e=this.rX(),_.B(a,9,e));a=_.Pk(a);f=RRc(this,e);this.H[e]={request:a,file:b,
Bg:f,GJ:!1,QP:0,success:!1,iJ:!1,children:[],metadata:c,zga:void 0,hN:d};h?SRc(this,e,h):this.ha(e);return f.om()};
var RRc=function(a,b){var c=new _.li;c.hg(_.Wa(a.Ma,b),_.Wa(a.Ka,b),a);return c},SRc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.Ea(c.children);c.Bg.then(function(f){if(1==f.Jb()&&(f=f.Rc(),_.Dd(e.request,3).push(f),_.XL(e.request,10),!c.iJ||d)){a.ha(b);return}TRc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Bg.Vd(_.FL(f)?f:Error(f))})};
_.VN.prototype.Ma=function(a,b){wPc(this.ka,"UploadSuccessCount");a=this.H[a];a.success=1==b.Jb();(b=a.zga)&&!a.iJ&&(xNc(zNc(oOc(b),a.QP),!0),b.H())};_.VN.prototype.Ka=function(a,b){var c=_.D(this.W,_.$Kc,58);c&&_.F(c,1,!1)&&(this.ta[a]=b);wPc(this.ka,"UploadFailureCount");c=this.H[a];(a=c.zga)&&!c.iJ&&(xNc(zNc(oOc(a),c.QP),!1),b=(c=b&&b.kh)&&c.Vj(),c=c&&c.Io(),b?yNc(oOc(a),URc.get(b)||13):c&&yNc(oOc(a),VRc.get(c)||0),a.H())};
_.VN.prototype.ha=function(a){var b=this.H[a];if(!b.GJ){b.GJ=!0;a=this.H[a];var c=a.request,d=_.D(this.W,_.$Kc,58);d&&_.F(d,4,!1)&&(d=c.getTitle().match(WRc))&&(!d[1]||a.QP<Number(d[1].substr(1)))&&(c=_.Pk(c),_.ra(_.Dd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.D(b.request,_.fNc,15))?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.Sf();d=_.rk(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.zga=f;f=oOc(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=_.rk(c,32,1073741824);_.B(e,7,c)}}switch(d){case 2:b.file&&XRc(this,new _.LLc(a,b.file,b.hN,b.metadata),b.Bg,_.oN(a));break;case 1:b.file&&(c=b.Bg,d=b.file,e=b.metadata,b=b.hN,f=_.D(this.W,_.$Lc,2),XRc(this,new _.RM(a,d,b,f&&_.XM(f)?e:void 0),c,_.oN(a)));break;case 3:XRc(this,a,b.Bg,_.oN(a));break;default:throw new _.Rb("Upload type ${uploadType} not supported.");}}};
var XRc=function(a,b,c,d){YOc(a.Ba,d,a.Ea.bind(a,d));_.ji(a.ma.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return YRc(a,b,e)}),function(){ZOc(a.Ba,[d])}).then(c.callback,c.Vd,c)},YRc=function(a,b,c){var d=_.bM(c),e=b instanceof _.RM&&b.request.Rc()||"";c=d.kh;if(e&&8==c.Vj()){TRc(a);var f=_.lp(new _.jp,[e]);return _.ri(a.ma.then(function(h){return h.H(f)}).then(function(h){h=h.Xq().Pd()[0];var k=b.request;if(h&&!h.ri()&&(h.jc()||"").replace(/\s/g,"")==(k.jc()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return TRc(a),_.qNc((new _.UM).setItem(h),e).Gc(1);TRc(a);return _.ei(d)}))}return _.si(d)};
_.VN.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.iJ||0!=c.children.length))if(c.iJ=!0,c.Bg.Ef())TRc(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.zga;d&&(yNc(xNc(zNc(oOc(d),c.QP),!1),2),d.H());var e=_.ii();c.GJ?this.ma.then(function(f){return void e.resolve(f.cancel(a))}):(c.GJ=!0,d=new _.UM,d.Gc(8),c.Bg.callback(d),e.resolve(!0));e.promise.then(function(f){return TRc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.VN.prototype.ESa=function(){var a=this;_.Rf(this.H,function(b,c){a.cancel(c)})};
_.VN.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=(_.Dd(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Bg.Ef()||e[k])break;else if(!c.has(k)){e[f]=new _.Rb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ja(h,function(n){var p=b.H[n];p.QP++;if(!e[n])if(!p.Bg.Ef()||p.success)e[n]=new _.Rb("Unable to retry request.");else{var r=(_.Dd(p.request,10)||[])[0];e[r]instanceof
_.Rb?e[n]=e[r]:(p.Bg=RRc(b,n),p.GJ=!1,p.iJ=!1,(r=r?b.H[r]:null)?SRc(b,n,r,!0):d.push(n),e[n]=p.Bg.om())}})}else e[f]=new _.Rb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.li?f:_.si(f)});_.La(d,this.ha,this);return a};var TRc=function(a){a.isDisposed()};_.VN.prototype.Ad=function(a){return this.H[a]};var WRc=/^uploadTestFailMe(\.[1-9])?$/,VRc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),URc=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14j");
var ZRc=function(a,b){this.V=a;this.H=null;this.W=b};ZRc.prototype.get=function(a){return this.Fs()[a]||null};ZRc.prototype.set=function(a){this.Fs()[this.W(a)]=a;this.V=null};ZRc.prototype.Fs=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var aSc,$Rc;_.WN=function(a,b){this.H=a;this.V=b};
_.XN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!$Rc(a,b[e],c[e])){d=e;break b}d=-1}if(-1==d){if(b.length==c.length){d=[];break a}if(b.length>c.length){d=[];for(var f=e=c.length;f<b.length;f++)d.push(a.H.qJ(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.sJ(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&$Rc(a,b[e],c[f]);e--,f--);f=b.length-1-e;var h=b.length-f;e=b.slice(d,h);h=c.length-f;f=c.slice(d,h);var k,l=[];
for(h=0;h<e.length+1;h++)l[h]=[],l[h][0]=0;for(k=0;k<f.length+1;k++)l[0][k]=0;for(h=1;h<=e.length;h++)for(k=1;k<=f.length;k++)$Rc(a,e[h-1],f[k-1])?l[h][k]=l[h-1][k-1]+1:l[h][k]=Math.max(l[h-1][k],l[h][k-1]);var n=[];h=e.length;for(k=f.length;0<h||0<k;)0<h&&0<k&&$Rc(a,e[h-1],f[k-1])?(k--,h--):0<k&&(0==h||l[h][k-1]>l[h-1][k])?(n.unshift(a.H.sJ(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.qJ(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.VJ(e[h])),void 0!==f[k]){k=
f[k];l=a;var p=e[k],r=e[h];n=1==p.getType()?p:r;p=2==p.getType()?p:r;r=n.ai()||0;r>(p.ai()||0)&&--r;if(l=l.H.pP(l.H.VJ(n),p.ai()||0,r))e[k]=l,e.splice(h,1),h--}else f[k]=h;f=[];if(null!=e)for(h=0;h<e.length;h++){n=e[h];p=n.ai()||0;r=n.Kw()||0;n.setPosition((n.ai()||0)+aSc(f,n.ai()||0));e[h].setPosition((e[h].ai()||0)+d);3==e[h].getType()&&(n.nx((n.Kw()||0)+aSc(f,n.Kw()||0)),e[h].nx((e[h].Kw()||0)+d));k=f;l=k.push;b:switch(n.getType()){case 1:n={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:n=
{offset:-1,start:p,end:Number.MAX_VALUE};break b;case 3:n=p>r?{offset:-1,start:r,end:p}:{offset:1,start:p,end:r};break b;default:n={offset:0,start:-1,end:-1}}l.call(k,n)}d=e}e=[];b=new ZRc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&!_.Ok(k,h)&&e.push(a.H.nN(h,f));return d.concat(e)};aSc=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};$Rc=function(a,b,c){return a.V(b)==a.V(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.bSc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.bSc,_.M);_.g=_.bSc.prototype;_.g.getType=function(){return _.C(this,1)};_.g.getItem=function(){return _.D(this,_.zl,2)};_.g.setItem=function(a){return _.y(this,2,a)};_.g.Kw=function(){return _.C(this,3)};_.g.nx=function(a){return _.B(this,3,a)};_.g.ai=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.B(this,4,a)};_.cSc=function(a){var b=new _.bSc;return _.B(b,1,a)};_.t("sy14k");
var dSc=function(){};_.g=dSc.prototype;_.g.sJ=function(a,b){return _.cSc(1).setItem(a).setPosition(b)};_.g.qJ=function(a,b){return _.cSc(2).setPosition(b).setItem(a)};_.g.pP=function(a,b,c){return _.cSc(3).nx(b).setPosition(c).setItem(a)};_.g.nN=function(a,b){return _.cSc(4).setItem(a).setPosition(b)};_.g.VJ=function(a){return a.getItem()};
_.YN=function(){_.WN.call(this,new dSc,function(a){return a.getId()})};_.N(_.YN,_.WN);_.nf(_.YN);

_.w();

}catch(e){_._DumpException(e)}
try{
_.bO=function(a,b){return _.B(a,33,b||[])};_.cO=function(a,b){return _.B(a,45,b)};_.eSc=function(a,b){return _.B(a,60,b)};_.fSc=function(a,b){return _.B(a,5,b)};_.Tb=function(a){_.xi.call(this,_.Hc);this.error=a};_.N(_.Tb,_.xi);_.t("sy14l");
_.gSc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var hSc;hSc=[1];_.dO=function(a){_.Q(this,a,0,-1,hSc,null)};_.O(_.dO,_.M);_.dO.prototype.V=function(){return _.Dd(this,1)};_.t("sy14f");
_.eO=function(a){_.Q(this,a,0,-1,iSc,null)};_.O(_.eO,_.M);var iSc=[2];_.eO.prototype.Jb=function(){return _.C(this,1)};_.eO.prototype.Gc=function(a){return _.B(this,1,a)};_.eO.prototype.yk=function(){return _.Jk(this,_.zl,2)};_.jSc=function(a,b){return _.jb(a,2,b)};_.eO.prototype.mq=function(a,b){return _.Mk(this,2,a,_.zl,b)};_.eO.prototype.Af=function(){return _.C(this,4)};_.kSc=function(a,b){return _.B(a,4,b)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.lSc=function(a){return _.Rd(a).Xg(_.F(a.get(_.Gq),19,!1)?_.ZHc:_.Pd)};_.t("sy14q");

_.w();

}catch(e){_._DumpException(e)}
try{
var mSc,nSc,oSc,pSc,qSc,rSc,sSc,tSc,uSc,vSc,xSc,ySc,zSc,ASc,BSc,gO,GSc,HSc,hO,iO,ISc,JSc,LSc,MSc,NSc,PSc,RSc,SSc,TSc,USc,VSc,XSc,ZSc,aTc,dTc,gTc,jTc,kTc,lTc,mTc,pTc,qTc,sTc,tTc,uTc,vTc,xTc,wTc,ATc,CTc,ETc,GTc,KTc,MTc,NTc,OTc,PTc,QTc,UTc,VTc,WTc,XTc,YTc,ZTc,uO,tVc,AVc,HVc,IVc,JVc,MVc,NVc,OVc,PVc,jWc,lWc,mWc,nWc,FWc,GWc,yO,rTc,HWc,IWc,DXc,NXc,OXc,PXc,QXc,TXc,VXc,eYc,iYc,jYc,qYc,rYc,AYc,QYc,RYc,UYc,YYc,eZc,iZc,oZc,GZc,IZc,JZc,c_c,d_c,JTc,e_c,f_c,g_c,YSc,k0c,l0c,z4c,A4c,B4c,C4c,D4c,E4c,F4c,G4c,H4c;
mSc=function(a){a={Title:a.getTitle(),Type:a.jc(),Parents:_.Dd(a,3),Convert:_.H(a,8),ID:_.oN(a)};var b=[];_.Rf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
nSc=function(a){var b=[];b.push(mSc(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.QP&&b.push("# of retries by client: "+a.QP);var d="";a.GJ?a.Bg.Ef()?a.Bg.hg(function(){d="Completed successfully."},function(e){d=e instanceof _.mi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
oSc=function(a,b,c,d,e,f){var h=_.My("Drive Upload Report: %d/%d failed",_.Vf(f),_.Vf(e));a=a.Sf();d.push("Batch query interval: "+_.rk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.rk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.rk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.rk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.rk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Rf(e,function(n){l.push(nSc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.NNc(b)});_.Rf(f,function(n,p){var r=k.push;p=e[p].request;p=_.My('ErrorResponseFor"%s"(ID:%s).txt',p.getTitle()||"",_.oN(p)||"");var u=n.kh;u=u?_.C(u,4):"No detail.";r.call(k,{name:p,content:n.toString()+"\n"+u})});return{title:h,description:d,WW:k,Sd:152391,kea:c,w3:361003}};pSc=function(a){return Array.prototype.concat.apply([],arguments)};qSc=function(a,b,c){c=_.Ga(a,b,c);return 0>c?(_.Aa(a,-(c+1),0,b),!0):!1};
rSc=function(a){return String.fromCharCode(10>a?48+a:87+a)};sSc=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]=rSc(d>>4);b[2*c+3]=rSc(d&15)}return b.join("")};tSc=function(a){var b=new _.nq;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.dM(a,!0,"file"));a.l2&&(b.append(",teamDriveId,teamDrive("),b.append(a.l2),b.append(")"));b.append(")");return b.toString()};
uSc=function(a){var b=new _.nq;b.append("kind,nextPageToken,items(");b.append(_.dM(a,!0));b.append("),incompleteSearch");a.l2&&(b.append(","),b.append(a.l2));return b.toString()};
vSc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.D(d,_.YM,138),k=_.D(d,_.ul,111),l=_.D(d,_.$M,27),n=_.El(d),p=d.Rf(),r=d.ij(),u=_.D(d,_.bN,103);switch(e){case 74:_.YL(d,83);break;case 188:_.Ak(d,137);break;case 149:_.XL(d,128);break;case 148:_.YL(d,127);break;case 138:_.Ak(d,126);break;case 184:_.XL(d,135);break;case 76:f&&_.Ak(f,1);break;case 208:f&&_.Ak(f,48);break;case 185:f&&_.Ak(f,40);break;case 213:f&&_.Ak(f,50);break;case 156:f&&_.Ak(f,39);break;case 61:f&&
_.Ak(f,2);break;case 216:f&&_.Ak(f,52);break;case 217:f&&_.Ak(f,53);break;case 77:f&&_.Ak(f,4);break;case 134:f&&_.Ak(f,34);break;case 147:f&&_.Ak(f,38);break;case 81:f&&_.Ak(f,10);break;case 82:f&&_.Ak(f,11);break;case 114:f&&_.Ak(f,27);break;case 133:f&&_.Ak(f,33);break;case 202:f&&_.Ak(f,47);break;case 132:f&&_.Ak(f,32);break;case 101:f&&_.Ak(f,20);break;case 201:f&&_.Ak(f,46);break;case 131:f&&_.Ak(f,31);break;case 200:f&&_.Ak(f,45);break;case 130:f&&_.Ak(f,30);break;case 93:f&&_.Ak(f,17);break;
case 191:f&&_.Ak(f,44);break;case 146:f&&_.Ak(f,37);break;case 90:f&&_.Ak(f,16);break;case 78:f&&_.Ak(f,7);break;case 186:f&&_.Ak(f,41);break;case 222:f&&_.Ak(f,51);break;case 85:f&&_.Ak(f,12);break;case 137:f&&_.Ak(f,36);break;case 209:f&&_.Ak(f,49);break;case 79:f&&_.Ak(f,8);break;case 189:f&&_.Ak(f,42);break;case 190:f&&_.Ak(f,43);break;case 80:f&&_.Ak(f,9);break;case 135:f&&_.Ak(f,35);break;case 102:f&&_.Ak(f,21);break;case 69:_.Ak(d,74);break;case 194:h&&_.Bk(h,2);break;case 193:h&&_.Ak(h,1);
break;case 1004:_.Ak(d,108);break;case 136:_.YL(d,125);break;case 115:k&&_.Ak(k,1);break;case 116:k&&_.Ak(k,2);break;case 34:_.Ak(d,30);f&&_.Ak(f,3);break;case 9:_.Ak(d,10);break;case 91:_.Bk(d,91);break;case 43:_.Ak(d,42);_.Ak(d,43);break;case 187:_.Ak(d,136);break;case 26:_.Ak(d,24);break;case 108:_.XL(d,104);break;case 41:_.Ak(d,40);f&&_.Ak(f,5);break;case 42:_.Ak(d,41);break;case 1005:_.YL(d,117);break;case 59:f&&_.Ak(f,6);break;case 28:_.Ak(d,26);break;case 44:_.Ak(d,45);break;case 13:_.Ak(d,
14);break;case 48:_.Ak(d,36);break;case 38:_.Ak(d,34);break;case 49:_.XL(d,50);break;case 51:_.Ak(d,53);break;case 104:_.Ak(d,102);break;case 39:_.Ak(d,35);break;case 87:_.Ak(d,76);break;case 100:_.Ak(d,98);break;case 72:_.Ak(d,78);break;case 5:_.Ak(d,6);break;case 20:_.Ak(d,21);break;case 21:break;case 29:l&&_.Ak(l,1);break;case 31:l&&_.Ak(l,3);break;case 92:l&&_.Ak(l,4);break;case 30:l&&_.Ak(l,2);break;case 16:_.Bk(d,17);break;case 12:_.Ak(d,13);break;case 211:n&&_.Ak(n,2);break;case 212:n&&_.Ak(n,
3);break;case 220:n&&_.Ak(n,5);break;case 157:r&&_.YL(r,8);break;case 3:_.Ak(d,4);break;case 11:_.Ak(d,12);break;case 10:_.Ak(d,11);break;case 50:_.Ak(d,49);_.Ak(d,51);_.Bk(d,81);break;case 18:_.Ak(d,19);break;case 95:_.Ak(d,93);break;case 58:_.Ak(d,63);break;case 14:_.YL(d,15);break;case 103:_.Ak(d,101);break;case 1:_.XL(d,2);break;case 96:_.Ak(d,94);break;case 1003:_.YL(d,107);break;case 75:_.Bk(d,85);break;case 94:_.Ak(d,92);break;case 45:_.Ak(d,46);break;case 124:_.Ak(d,118);break;case 125:_.Ak(d,
119);break;case 1002:_.Bk(d,100);break;case 32:_.Ak(d,28);break;case 67:_.Ak(d,70);break;case 68:_.Ak(d,71);break;case 73:_.Ak(d,79);break;case 71:_.Ak(d,77);break;case 221:r&&_.Ak(r,9);break;case 210:_.Ak(d,140);break;case 7:_.Ak(d,8);break;case 122:_.Bk(d,109);break;case 66:_.Ak(d,69);break;case 33:_.Ak(d,29);break;case 24:_.Ak(d,22);break;case 25:_.Ak(d,23);break;case 46:_.Bk(d,47);break;case 192:p&&_.Ak(p,6);break;case 159:p&&_.Bk(p,5);break;case 154:p&&_.Ak(p,1);break;case 158:p&&_.Ak(p,4);break;
case 155:p&&_.Ak(p,3);break;case 52:_.XL(d,56);break;case 56:_.Ak(d,61);break;case 55:_.YL(d,60);break;case 4:_.Ak(d,5);break;case 35:_.Ak(d,31);break;case 57:_.Ak(d,62);break;case 83:_.Ak(d,72);break;case 84:_.Bk(d,86);break;case 19:_.Ak(d,20);_.Ak(d,44);_.Ak(d,90);break;case 2:_.Ak(d,3);break;case 6:_.Ak(d,7);break;case 98:_.Ak(d,96);break;case 97:_.Bk(d,95);break;case 27:_.Ak(d,25);break;case 70:_.Ak(d,75);break;case 107:u&&_.Ak(u,3);break;case 106:u&&_.Ak(u,2);break;case 105:u&&_.Ak(u,1);break;
case 8:_.Ak(d,9);break;case 126:_.XL(d,120);break;default:throw Error("Ac`"+e);}}};xSc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Pc(a),_.Pc(wSc)));a=[].concat(_.Pc(_.n3a.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)vSc(b[d],a)}};
ySc=function(a,b){var c=a.getCapabilities()||new _.sl,d=_.D(a,_.YM,138),e=_.D(a,_.ul,111),f=_.D(a,_.$M,27),h=_.El(a),k=a.Rf(),l=a.ij(),n=_.D(a,_.bN,103);switch(b){case 74:return 0<a.xv().length;case 188:return null!=_.H(a,137);case 149:return 0<_.Dd(a,128).length;case 148:return 0<a.vsa().length;case 138:return null!=a.rea();case 184:return 0<_.Dd(a,135).length;case 76:return null!=_.tl(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!=_.Fd(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,_.ZM,2);case 193:return null!=d&&null!=_.C(d,1);case 1004:return null!=_.H(a,108);case 136:return 0<a.jY().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.sE();case 91:return null!=a.Jp();case 43:return null!=_.C(a,42)||null!=_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=
a.Wg();case 108:return 0<_.Dd(a,104).length;case 41:return null!=_.H(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.Jk(a,_.pl,117).length;case 59:return null!=_.H(c,6);case 28:return null!=a.DG();case 44:return null!=_.C(a,45);case 13:return null!=a.EG();case 48:return null!=_.H(a,36);case 38:return null!=a.Ui();case 49:return 0<_.Dd(a,50).length;case 51:return null!=_.H(a,53);case 104:return null!=_.H(a,102);case 39:return null!=a.Vea();case 87:return null!=_.Bl(a);case 100:return null!=
_.H(a,98);case 72:return null!=_.C(a,78);case 5:return null!=a.xm();case 20:return null!=a.Ye();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==_.C(f,2));case 16:return null!=a.Hp();case 12:return null!=a.DA();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||!_.Jk(l,_.yl,8));case 3:return null!=
a.jc();case 11:return null!=a.xC();case 10:return null!=a.Bs();case 50:return null!=a.Hr()||null!=_.H(a,51)||null!=a.Pn();case 18:return null!=a.xq();case 14:return 0<_.Al(a).length;case 95:return null!=a.Bl();case 58:return null!=_.H(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.Hj().length;case 96:return null!=_.H(a,94);case 1003:return 0<_.Dl(a).length;case 75:return null!=a.ww();case 94:return null!=a.nO();case 45:return null!=a.Kt();case 124:return null!=_.H(a,118);case 125:return null!=
_.C(a,119);case 1002:return null!=_.Cl(a);case 32:return null!=a.hz();case 67:return null!=a.jK();case 68:return null!=_.C(a,71);case 73:return null!=_.C(a,79);case 71:return null!=a.K5();case 221:return null!=l&&null!=_.H(l,9);case 210:return null!=_.Fl(a);case 7:return null!=a.S3();case 122:return null!=a.FG();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.Xx();case 46:return null!=a.oC();case 192:return null!=k&&null!=_.H(k,6);case 159:return null!=
k&&null!=_.Jd(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=_.Md(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Dd(a,56).length;case 55:return 0<a.Mw().length;case 56:return null!=_.C(a,61);case 4:return null!=a.EA();case 35:return null!=_.H(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Hc();case 84:return null!=_.D(a,_.aN,86);case 2:return null!=a.getTitle();case 19:return null!=a.xw()||null!=_.H(a,44)||null!=_.C(a,90);case 6:return null!=
a.ri();case 98:return null!=a.Ix();case 97:return null!=a.DE();case 27:return null!=a.io();case 70:return null!=a.xi();case 107:return null!=n&&null!=_.C(n,3);case 106:return null!=n&&null!=_.C(n,2);case 105:return null!=n&&null!=_.C(n,1);case 8:return null!=_.H(a,9);case 126:return 0<_.Dd(a,120).length;default:throw Error("Bc`"+b);}};zSc=function(a,b){return b.every(function(c){return ySc(a,c)})};ASc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.oLc:[]);return b.every(function(e){return(new Set(d)).has(e)})};
BSc=function(a,b){var c=new Set(b.concat(_.oLc));return a.filter(function(d){return!c.has(d)})};
gO=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(ySc(b,e))if(_.r3a.has(e)){if(d){var f=a.getCapabilities()||new _.sl;a.Wo(f);switch(e){case 76:_.eMc(f,_.tl(d));break;case 208:_.zMc(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:_.fMc(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:_.lMc(f,_.H(d,10));break;case 82:_.mMc(f,_.H(d,11));break;case 114:var A=_.H(d,27);_.B(f,27,A);break;case 133:_.uMc(f,_.H(d,33));break;case 202:_.yMc(f,_.H(d,47));case 132:_.tMc(f,_.H(d,32));break;case 101:_.qMc(f,_.H(d,20));break;case 201:_.xMc(f,_.H(d,46));break;case 131:_.sMc(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:_.pMc(f,
_.H(d,17));break;case 191:var J=_.H(d,44);_.B(f,44,J);break;case 146:var R=_.H(d,37);_.B(f,37,R);break;case 90:_.oMc(f,_.Fd(d));break;case 78:_.iMc(f,_.H(d,7));break;case 186:var S=_.H(d,41);_.B(f,41,S);break;case 222:var ha=_.H(d,51);_.B(f,51,ha);break;case 85:_.nMc(f,_.H(d,12));break;case 137:var ca=_.H(d,36);_.B(f,36,ca);break;case 209:var oa=_.H(d,49);_.B(f,49,oa);break;case 79:_.jMc(f,_.H(d,8));break;case 189:_.vMc(f,_.H(d,42));break;case 190:_.wMc(f,_.H(d,43));break;case 80:_.kMc(f,_.H(d,9));
break;case 135:var Ca=_.H(d,35);_.B(f,35,Ca);break;case 102:_.rMc(f,_.H(d,21));break;case 34:var V=_.H(b,30);_.B(a,30,V);var ta=_.H(d,3);_.B(f,3,ta);break;case 41:var Ja=_.H(b,40);_.B(a,40,Ja);_.gMc(f,_.H(d,5));break;case 59:_.hMc(f,_.H(d,6))}}}else if(_.s3a.has(e)){var vb=_.D(b,_.YM,138);if(vb){var Ia=_.D(a,_.YM,138)||new _.YM;_.y(a,138,Ia);switch(e){case 194:var Sb=_.D(vb,_.ZM,2);_.y(Ia,2,Sb);break;case 193:var Ec=_.C(vb,1);_.B(Ia,1,Ec)}}}else if(_.t3a.has(e)){var od=_.D(b,_.ul,111);if(od){var Ye=
_.D(a,_.ul,111)||new _.ul;_.y(a,111,Ye);switch(e){case 115:_.AMc(Ye,_.H(od,1));break;case 116:_.BMc(Ye,_.C(od,2))}}}else if(_.u3a.has(e)){var We=_.D(b,_.$M,27);if(We){var Ae=_.D(a,_.$M,27)||new _.$M;_.y(a,27,Ae);switch(e){case 29:var ve=_.C(We,1);_.B(Ae,1,ve);break;case 31:Ae.Zg(_.C(We,3));break;case 92:var qh=_.C(We,4);_.B(Ae,4,qh);break;case 30:Ae.Fh(_.C(We,2))}}}else if(_.v3a.has(e)){var kd=_.El(b);if(kd){var Eh=_.El(a)||new _.ina;_.y(a,139,Eh);switch(e){case 211:var Ng=_.H(kd,2);_.B(Eh,2,Ng);
break;case 212:_.CMc(Eh,_.H(kd,3));break;case 220:var of=_.H(kd,5);_.B(Eh,5,of)}}}else if(_.w3a.has(e)){var Db=b.Rf();if(Db){var xg=a.Rf()||new _.rna;_.y(a,132,xg);switch(e){case 192:var wk=_.H(Db,6);_.B(xg,6,wk);break;case 159:var Vk=_.Jd(Db);_.y(xg,5,Vk);break;case 154:var Pm=_.C(Db,1);_.B(xg,1,Pm);break;case 158:var Dn=_.Md(Db);_.B(xg,4,Dn);break;case 155:var yg=_.C(Db,3);_.B(xg,3,yg)}}}else if(_.y3a.has(e)){var Zf=b.ij();switch(e){case 157:if(Zf){var eh=a.ij()||new _.pna;CSc(a,eh);DSc(eh,_.Jk(Zf,
_.yl,8))}break;case 221:if(Zf){var ek=a.ij()||new _.pna;CSc(a,ek);var Wk=_.H(Zf,9);_.B(ek,9,Wk)}}}else if(_.z3a.has(e)){var Xk=_.D(b,_.bN,103);if(Xk){var gj=_.D(a,_.bN,103)||new _.bN;_.y(a,103,gj);switch(e){case 107:var fk=_.C(Xk,3);_.B(gj,3,fk);break;case 106:gj.Zg(_.C(Xk,2));break;case 105:gj.Fh(_.C(Xk,1))}}}else switch(e){case 74:var Hj=b.xv();_.jb(a,83,Hj);break;case 188:var qj=_.H(b,137);_.B(a,137,qj);break;case 149:var Sh=_.Dd(b,128);_.B(a,128,Sh||[]);break;case 148:var Qi=b.vsa();_.jb(a,127,
Qi);break;case 138:var Il=b.rea();_.B(a,126,Il);break;case 184:var Ri=_.Dd(b,135);_.B(a,135,Ri||[]);break;case 69:var rj=_.H(b,74);_.B(a,74,rj);break;case 1004:var zg=_.H(b,108);_.B(a,108,zg);break;case 136:var wh=b.jY();_.jb(a,125,wh);break;case 9:var Si=b.sE();_.B(a,10,Si);break;case 91:var lm=b.Jp();_.y(a,91,lm);break;case 43:var En=_.C(b,42);_.B(a,42,En);var Th=_.C(b,43);_.B(a,43,Th);break;case 187:var ci=_.C(b,136);_.B(a,136,ci);break;case 26:a.Cm(b.Wg());break;case 108:var rq=_.Dd(b,104);_.B(a,
104,rq||[]);break;case 42:var Jl=_.C(b,41);_.B(a,41,Jl);break;case 1005:var Ci=_.Jk(b,_.pl,117);_.jb(a,117,Ci);break;case 28:_.LMc(a,b.DG());break;case 44:var Fn=_.C(b,45);_.B(a,45,Fn);break;case 13:var xk=b.EG();_.B(a,14,xk);break;case 48:var vl=_.H(b,36);_.B(a,36,vl);break;case 38:_.NMc(a,b.Ui());break;case 49:var pd=_.Dd(b,50);_.B(a,50,pd||[]);break;case 51:var gk=_.H(b,53);_.B(a,53,gk);break;case 104:var rh=_.H(b,102);_.B(a,102,rh);break;case 39:var Kl=b.Vea();_.B(a,35,Kl);break;case 87:var Wg=
_.Bl(b);_.B(a,76,Wg);break;case 100:var di=_.H(b,98);_.B(a,98,di);break;case 72:var Ti=_.C(b,78);_.B(a,78,Ti);break;case 5:var Qm=b.xm();_.B(a,6,Qm);break;case 20:var Rm=b.Ye();_.B(a,21,Rm);break;case 21:a.Yb(b.getId());break;case 16:_.JMc(a,b.Hp());break;case 12:var tp=b.DA();_.B(a,13,tp);break;case 3:_.rL(a,b.jc());break;case 11:var hj=b.xC();_.B(a,12,hj);break;case 10:_.gIc(a,b.Bs());break;case 50:var wl=b.Hr();_.B(a,49,wl);var Ij=_.H(b,51);_.B(a,51,Ij);var Co=b.Pn();_.y(a,81,Co);break;case 95:_.TMc(a,
b.Bl());break;case 18:_.KMc(a,b.xq());break;case 58:var yk=_.H(b,63);_.B(a,63,yk);break;case 14:_.IMc(a,_.Al(b));break;case 1:_.cN(a,b.Hj());break;case 96:var Uh=_.H(b,94);_.B(a,94,Uh);break;case 103:var up=_.C(b,101);_.B(a,101,up);break;case 1003:ESc(a,_.Dl(b));break;case 75:_.RMc(a,b.ww());break;case 94:_.SMc(a,b.nO());break;case 45:var vp=b.Kt();_.B(a,46,vp);case 124:var zk=_.H(b,118);_.B(a,118,zk);break;case 125:var sq=_.C(b,119);_.B(a,119,sq);break;case 1002:var Lf=_.Cl(b);_.y(a,100,Lf);break;
case 32:var wp=b.hz();_.B(a,28,wp);break;case 67:var xp=b.jK();_.B(a,70,xp);break;case 68:var mm=_.C(b,71);_.B(a,71,mm);break;case 73:var Sm=_.C(b,79);_.B(a,79,Sm);break;case 71:var tq=b.K5();_.B(a,77,tq);break;case 210:var yp=_.Fl(b);_.B(a,140,yp);break;case 7:_.HMc(a,b.S3());break;case 122:FSc(a,b.FG());break;case 66:var Ll=_.C(b,69);_.B(a,69,Ll);break;case 33:var Vh=_.H(b,29);_.B(a,29,Vh);break;case 24:var tr=b.zj();_.B(a,22,tr);break;case 25:var Do=b.Xx();_.B(a,23,Do);break;case 46:var zp=b.oC();
_.y(a,47,zp);break;case 52:var zs=_.Dd(b,56);_.B(a,56,zs||[]);break;case 56:var hy=_.C(b,61);_.B(a,61,hy);break;case 55:a.vD(b.Mw());break;case 4:a.iu(b.EA());break;case 35:_.MMc(a,_.H(b,31));break;case 57:var iy=_.C(b,62);_.B(a,62,iy);break;case 83:_.QMc(a,b.Hc());break;case 84:var xw=_.D(b,_.aN,86);_.y(a,86,xw);break;case 98:a.t$(b.Ix());break;case 97:var jy=b.DE();_.y(a,95,jy);break;case 19:var BF=b.xw();_.B(a,20,BF);_.OMc(a,_.H(b,44));var ae=_.C(b,90);_.B(a,90,ae);break;case 2:a.setTitle(b.getTitle());
break;case 6:a.En(b.ri());break;case 27:_.hIc(a,b.io());break;case 70:var ky=b.xi();_.B(a,75,ky);break;case 8:var xC=_.H(b,9);_.B(a,9,xC);break;case 126:var CF=_.Dd(b,120);_.B(a,120,CF||[]);break;default:throw Error("Cc`"+e);}})};GSc=function(a,b){var c=_.Wz[a];return b.filter(function(d){return!c||!c.has(d)})};HSc=function(a,b,c){a=GSc(c,a);return ASc(b,a,!0)};hO=function(a){return a?"application/vnd.google-apps.shortcut"==a.jc():!1};
iO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.jc();return b&&hO(a)?(a=a.Rf(),!!a&&"application/vnd.google-apps.folder"==_.C(a,3)):"application/vnd.google-apps.folder"==c};ISc=function(a){var b=a&&a.getId()||null;a&&hO(a)&&(a=(a=a.Rf())&&_.C(a,1))&&(b=a);return b};JSc=function(a){return!!_.H(a,31)&&!_.H(a,94)};LSc=function(a){return KSc.some(function(b){return ySc(a,b)})};MSc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(jO(b))})};NSc=function(a){return MSc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.OSc=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};PSc=function(a,b){var c=_.WKc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};RSc=function(a,b){if(b){var c=[];_.H(b,3)&&c.push("folder");var d=QSc()&&4==b.getType()?"title_natural":_.aKc[b.getType()];b=_.cKc[_.qk(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};SSc=function(a,b){var c=a.Pn();c||(c=new _.xl,b&&_.y(a,81,c));return c};
TSc=function(a){if(iO(a))_.fO(SSc(a,!0),!0);else if(iO(a,!0)){var b=a.Rf();if(b=b&&_.Jd(b))_.fO(SSc(b,!0),!0),_.fO(SSc(a,!0),!0)}};USc=function(a){return!!a.Pn()&&!iO(a)};VSc=function(a){var b=[];_.La(a,function(c){if(3!=jO(c)){var d=c;if(null!=d.Hr()||null!=_.H(d,51)||null!=d.Pn())c=_.Pk(c),_.Ak(c,49),_.Ak(c,51),_.Bk(c,81);b.push(c)}});return b};
XSc=function(a,b,c,d){b="#"+b+"_";var e=new _.tL;e.update(c.join(","));b+=_.mIc(e.digest());d&&(b+="&jobset="+d);a=_.jz(a+"?"+b);_.q.SharedWorker?(c=new SharedWorker(_.bga(a),void 0),a=new WSc(c.port),c.port.start()):a=new WSc(new Worker(_.bga(a),void 0));return a};ZSc=function(a){var b=a.slice(0),c=new Set(b);YSc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
aTc=function(a){var b=new $Sc;if(a instanceof _.eM)_.Lk(b,16,kO[0],a);else if(a instanceof _.fM)_.Lk(b,1,kO[0],a);else if(a instanceof _.gM)_.Lk(b,2,kO[0],a);else if("undefined"!=typeof _.lO&&a instanceof _.lO)_.Lk(b,17,kO[0],a);else if(a instanceof _.jM)_.Lk(b,3,kO[0],a);else if(a instanceof _.HN)_.Lk(b,4,kO[0],a);else if(a instanceof _.hM)_.Lk(b,5,kO[0],a);else if(a instanceof _.nM)_.Lk(b,6,kO[0],a);else if(a instanceof _.pM)_.Lk(b,7,kO[0],a);else if(a instanceof _.qM)_.Lk(b,8,kO[0],a);else if(a instanceof
_.tM)_.Lk(b,9,kO[0],a);else if(a instanceof _.IM)_.Lk(b,10,kO[0],a);else if("undefined"!=typeof _.JM&&a instanceof _.JM)_.Lk(b,11,kO[0],a);else if(a instanceof _.zLc)_.Lk(b,12,kO[0],a);else if(a instanceof _.RL)_.Lk(b,13,kO[0],a);else if(a instanceof _.NM)_.Lk(b,14,kO[0],a);else if(a instanceof _.OM)_.Lk(b,15,kO[0],a);else throw new _.Rb("Unsupported request type");return b};
dTc=function(a){a=a.map(function(c){var d=new bTc;if(c instanceof _.eM)_.Lk(d,6,mO[0],c);else if("undefined"!=typeof _.lO&&c instanceof _.lO)_.Lk(d,7,mO[0],c);else if(c instanceof _.nM)_.Lk(d,1,mO[0],c);else if(c instanceof _.IM)_.Lk(d,2,mO[0],c);else if("undefined"!=typeof _.JM&&c instanceof _.JM)_.Lk(d,3,mO[0],c);else if(c instanceof _.RL)_.Lk(d,4,mO[0],c);else if(c instanceof _.OM)_.Lk(d,5,mO[0],c);else throw new _.Rb("Unsupported request type");return d});var b=new cTc;_.jb(b,1,a);return b};
gTc=function(a){var b=new eTc;if("undefined"!=typeof _.ID&&a instanceof _.ID)_.Lk(b,1,fTc[0],a);else if("undefined"!=typeof _.JD&&a instanceof _.JD)_.Lk(b,2,fTc[0],a);else throw new _.Rb("Unsupported request type");return b};jTc=function(a){var b=new hTc;if(a instanceof _.kM)_.Lk(b,1,iTc[0],a);else if(a instanceof _.rM)_.Lk(b,2,iTc[0],a);else if(a instanceof _.PM)_.Lk(b,3,iTc[0],a);else throw new _.Rb("Unsupported request type");return b};
kTc=function(a,b,c){a=a?1:2;a=_.Cc(_.Bc(new _.Ac,12),a);var d=(new _.He).En(!0);d=_.B(d,17,!0);a=_.Ie(d,a);c&&_.Ul(a,c);c=new _.YJc;b&&_.dLc(c,b);return _.eLc(_.gLc(new _.HL,a),c)};lTc=function(a){return a.map(function(b){return b.getItem()})};mTc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};pTc=function(a){var b=_.CG(a);b=nTc(new nO,b).jd(a.getName());var c=a.getEmail();b=_.B(b,3,c);c=new oTc;a=_.C(a,5);a=_.B(c,1,a);return _.y(b,4,a)};
qTc=function(a,b){var c=new _.xj(_.G(b,16,"")+"/open"),d=a.getId();hO(a)&&(d=ISc(a));_.Fj(c,"id",d);_.Fj(c,"authuser",_.PL(_.EL(b)));_.lN(b)&&a.hH()&&_.Fj(c,"resourcekey",_.Fl(a));return c.toString()};sTc=function(a,b){var c=new _.dO,d=new Set;if(6==a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.gSc.get(jO(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}rTc(c,[].concat(_.Pc(d)));return c};
tTc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={nba:c.nba},d=a.next())if(d=d.value){c.nba=new Map;[].concat(_.Pc(_.Al(d)),[d.Hp(),d.oC(),d.Jp()]).forEach(function(l){return function(n){n&&l.nba.set(_.CG(n),n)}}(c));for(var e=[],f=_.m(c.nba.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName();e.push(_.CG(h)+"-"+((k?k.length:k)+"-")+_.qk(h,16,0))}b.push(d.getId()+","+jO(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):""};
uTc=function(a,b){var c={};a=_.Sf(a,function(d){return!!d});b=_.Sf(b,function(d){return!!d});_.Rf(a,function(d,e){var f=b[e];f?_.Ok(d,f)||(d=_.cSc(4).setItem(f),c[e]=d):(d=_.cSc(2).setItem(d),c[e]=d)});_.Rf(b,function(d,e){a[e]||(d=_.cSc(1).setItem(d),c[e]=d)});return c};vTc=function(a,b){return _.Vf(a)!=_.Vf(b)||!_.Yf(uTc(a,b))};
xTc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Se;_.Te(b,305);_.Ue(b,!0);_.B(b,3,2);var c=new _.vD;_.y(c,1,b);var d=new _.HLc(c,[7]);a=a.then(function(e){return e.H(d)}).then(wTc);return _.ri(a)};wTc=function(a){a=a.rz();var b=new yTc;a.forEach(function(c){var d=c.getKey();d=d&&_.C(d,2);"corpusSize"==d?(c=_.lb(c.hb()),_.B(b,3,c)):"linkedItems"==d?(c=_.lb(c.hb()),_.B(b,2,c)):"linkedFolders"==d&&(c=_.lb(c.hb()),_.B(b,1,c))});return"number"===typeof _.C(b,3)?b:null};
ATc=function(a,b){var c=zTc(a.V,b.Rc());if(c){var d=c.getItem(),e=d.ww();if(e){var f=e.rK(),h=_.va(f,function(k){return k.getId()==b.V()});_.EMc(e,f);h||(f=_.Jk(e,_.ml,3),_.va(f,function(k){return k.getId()==b.V()}),_.FMc(e,f));_.DMc(e,(_.C(e,1)||1)-1);oO(a,[d],c.V)}}};
CTc=function(a,b,c){if(b=zTc(a.V,b.Rc())){var d=b.getItem(),e=d.ww();if(e){if(1==c.getType()||2==c.getType()){var f=_.Jk(e,_.ml,3);f.push(c);_.Ha(f,BTc);_.FMc(e,f)}else f=e.rK(),f.push(c),_.Ha(f,BTc),_.EMc(e,f);_.DMc(e,(_.C(e,1)||0)+1);oO(a,[d],b.V)}}};ETc=function(a){return a.map(function(b){var c=new _.Bob;c=_.B(c,3,DTc[b.serviceName]);return _.B(c,2,Number(b.bytesUsed))})};
GTc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return FTc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
KTc=function(a){var b=a.json.exportJob,c=HTc[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=_.rL((new _.zl).Yb(l.docId).setTitle(l.title),l.mediaType);n=(new _.ITc).setItem(n);n=_.B(n,3,l.relativePath);return _.B(n,4,l.cause)});return new JTc(c,d,k,f,h,e,a,b)};
MTc=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.hb();(a=c&&_.op(c))&&(b.namespace=LTc[a]);return b};NTc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(LTc[a[c]]);return b};OTc=function(a,b){return _.F(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};PTc=function(a,b){return _.F(b,93,!1)?a+",adminSecureLinkSetting":a};
QTc=function(){var a=!(!_.q.IDBObjectStore||!_.q.IDBObjectStore.prototype.getAll);return!!(_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB)&&a};UTc=function(a,b){_.B(b,75,1<_.q.devicePixelRatio);if(RTc(b))return b=new pO(a,b,3),new qO(b,b.rb);_.B(b,61,!1);var c=_.ZL(_.EL(b))?2:1;a=new rO(a,b,c,void 0,void 0,void 0);return _.ZL(_.EL(b))?new STc(a):new TTc(a)};VTc=function(a){return _.Rd(a).Xg(_.F(a.get(_.Gq),19,!1)?_.$Hc:_.NSa)};
WTc=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)};XTc=function(a,b){return _.jb(a,1,b)};YTc=[1];ZTc=function(a){_.Q(this,a,0,-1,YTc,null)};_.O(ZTc,_.M);ZTc.prototype.mO=function(){return _.Jk(this,_.ml,1)};ZTc.prototype.Tba=function(a){_.Mk(this,1,a,_.ml,void 0)};
var $Tc=function(a){var b=new ZTc;return _.jb(b,1,a)},aUc=function(a,b){return _.y(a,1,b)},bUc=function(a,b){_.jb(a,2,b)},cUc=function(a,b){_.y(a,6,b)},dUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(dUc,_.M);var eUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(eUc,_.M);var sO=function(a){_.Q(this,a,0,-1,null,null)};_.O(sO,_.M);var fUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(fUc,_.M);var gUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(gUc,_.M);var hUc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(hUc,_.M);var iUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(iUc,_.M);var jUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(jUc,_.M);var kUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(kUc,_.M);var lUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(lUc,_.M);var mUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(mUc,_.M);var nUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(nUc,_.M);var oUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(oUc,_.M);var pUc=function(a){_.Q(this,a,0,-1,null,null)};_.O(pUc,_.M);
var qUc=[[1,2,3,4]],rUc=function(a){_.Q(this,a,0,-1,null,qUc)};_.O(rUc,_.M);var sUc=[[1]],tUc=function(a){_.Q(this,a,0,-1,null,sUc)};_.O(tUc,_.M);var uUc=[[1,2]],vUc=function(a){_.Q(this,a,0,-1,null,uUc)};_.O(vUc,_.M);var wUc=[[1]],xUc=function(a){_.Q(this,a,0,-1,null,wUc)};_.O(xUc,_.M);var yUc=[[1,2]],zUc=function(a){_.Q(this,a,0,-1,null,yUc)};_.O(zUc,_.M);zUc.prototype.nfa=function(){return _.D(this,sO,1)};zUc.prototype.Tg=function(a){_.Lk(this,1,yUc[0],a)};
var AUc=[1],BUc=function(a){_.Q(this,a,0,-1,AUc,null)};_.O(BUc,_.M);BUc.prototype.Sp=function(){return _.C(this,2)};var CUc=[[1]],DUc=function(a){_.Q(this,a,0,-1,null,CUc)};_.O(DUc,_.M);var EUc=[2],FUc=function(a){_.Q(this,a,0,-1,EUc,null)};_.O(FUc,_.M);var GUc=[[1]],HUc=function(a){_.Q(this,a,0,-1,null,GUc)};_.O(HUc,_.M);HUc.prototype.nfa=function(){return _.D(this,fUc,1)};HUc.prototype.Tg=function(a){_.Lk(this,1,GUc[0],a)};var IUc=[[1,2]],JUc=function(a){_.Q(this,a,0,-1,null,IUc)};_.O(JUc,_.M);
var KUc=[[1]],LUc=function(a){_.Q(this,a,0,-1,null,KUc)};_.O(LUc,_.M);
var MUc=function(a,b){return _.Lk(a,3,_.ol[0],b)},NUc=function(a,b){_.jb(a,1,b)},OUc=function(a,b){return _.B(a,2,b)},PUc=function(a,b){return _.y(a,3,b)},QUc=function(a,b){return _.B(a,4,b)},RUc=function(a,b){_.jb(a,1,b)},SUc=function(a,b){return _.y(a,2,b)},TUc=function(a,b){_.jb(a,1,b)},UUc=function(a,b){return _.y(a,4,b)},VUc=function(a,b){_.y(a,5,b)},WUc=function(a,b){_.jb(a,2,b)},XUc=function(a,b){_.jb(a,4,b)},YUc=function(a,b){return _.y(a,5,b)},ZUc=function(a,b){_.jb(a,1,b)},$Uc=function(a,
b){return _.y(a,2,b)},aVc=function(a,b){_.jb(a,2,b)},bVc=function(a){var b=new _.cna;return _.jb(b,3,a)},cVc=function(a,b){_.jb(a,1,b)},dVc=function(a,b){return _.B(a,2,b)},eVc=function(a,b){return _.y(a,3,b)},fVc=function(a,b){_.jb(a,2,b)},gVc=function(a,b){return _.y(a,3,b)},hVc=function(a,b){_.jb(a,1,b)},iVc=function(a,b){return _.jb(a,2,b)},jVc=function(a,b){_.jb(a,1,b)},kVc=function(a,b){return _.y(a,2,b)},lVc=function(a,b){return _.y(a,1,b)},mVc=function(a,b){return _.B(a,2,b)},nVc=function(a,
b){return _.B(a,3,b)},DSc=function(a,b){_.jb(a,8,b)},jO=function(a){return _.qk(a,52,1)},CSc=function(a,b){return _.y(a,73,b)},ESc=function(a,b){_.jb(a,107,b)},FSc=function(a,b){_.y(a,109,b)},oVc=function(a){var b=new _.bk;var c=_.C(a,1);null!=c&&_.jk(b,1,c);c=_.C(a,2);null!=c&&_.jk(b,2,c);return _.dk(b)},pVc=function(a){_.Q(this,a,0,-1,null,null)};_.O(pVc,_.M);var qVc=function(a){_.Q(this,a,0,-1,null,null)};_.O(qVc,_.M);var rVc=[11],sVc=function(a){_.Q(this,a,0,-1,rVc,null)};_.O(sVc,_.M);
var tO=function(a){_.Q(this,a,0,-1,null,null)};_.O(tO,_.M);tO.prototype.getKey=function(){return _.C(this,2)};tO.prototype.Bq=function(){return _.nk(this,2)};uO=function(a){return _.G(a,4,"en")};_.vO=function(a){return _.D(a,sVc,34,1)};tVc=function(a,b){return _.B(a,5,b)};_.uVc=function(a,b){return _.jb(a,5,b)};_.vVc=function(a,b){return _.B(a,6,b)};_.wVc=function(a,b){return _.B(a,7,b)};_.xVc=function(a,b){return _.B(a,8,b)};_.yVc=function(a,b){return _.B(a,10,b)};
_.zVc=function(a,b){return _.B(a,15,b)};AVc=[2];_.BVc=function(a){_.Q(this,a,0,-1,AVc,null)};_.O(_.BVc,_.M);_.BVc.prototype.Oh=function(){return _.C(this,1)};_.CVc=function(a,b){return _.B(a,2,b)};_.DVc=function(a,b){return _.B(a,3,b)};_.EVc=function(a,b){return _.B(a,1,b)};_.FVc=function(a,b){return _.B(a,2,b)};_.GVc=function(a,b){return _.y(a,1,b)};HVc=function(a,b){return _.B(a,2,b)};IVc=function(a,b){return _.B(a,3,b)};JVc=function(a,b){_.jb(a,4,b)};_.KVc=function(a,b){_.y(a,8,b)};
_.LVc=function(a,b){_.y(a,9,b)};_.HN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.HN,_.M);_.HN.prototype.getTitle=function(){return _.C(this,1)};_.HN.prototype.setTitle=function(a){return _.B(this,1,a)};_.HN.prototype.Ae=function(){return _.D(this,_.Se,2)};MVc=function(a,b){return _.B(a,9,b||[])};NVc=function(a,b){return _.B(a,10,b||[])};OVc=function(a,b){return _.B(a,36,b)};PVc=function(a,b){return _.jb(a,38,b)};_.QVc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.QVc,_.M);
_.QVc.prototype.getId=function(){return _.C(this,1)};_.QVc.prototype.Yb=function(a){return _.B(this,1,a)};_.QVc.prototype.Fh=function(a){return _.B(this,4,a)};var RVc=function(a,b){return _.B(a,2,b)},SVc=function(a,b){return _.y(a,3,b)},TVc=[1,3,5],UVc=function(a){_.Q(this,a,0,-1,TVc,null)};_.O(UVc,_.M);UVc.prototype.zC=function(){return _.Dd(this,1)};UVc.prototype.zz=function(){return _.H(this,2)};
var VVc=function(a,b){_.B(a,2,b)},WVc=function(a,b){_.Hk(a,5,b,void 0)},XVc=function(a,b){_.B(a,6,b)},YVc=function(a,b){_.B(a,7,b)},ZVc=function(a){_.Q(this,a,0,-1,null,null)};_.O(ZVc,_.M);ZVc.prototype.zz=function(){return _.H(this,1)};ZVc.prototype.vn=function(){return _.C(this,6)};ZVc.prototype.Tv=function(a){_.B(this,6,a)};
var $Vc=function(a,b){return _.B(a,1,b)},aWc=function(a,b){return _.B(a,3,b)},bWc=function(a,b){return _.B(a,4,b)},cWc=function(a,b){_.B(a,7,b)},dWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(dWc,_.M);var eWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(eWc,_.M);var fWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(fWc,_.M);var gWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(gWc,_.M);var hWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(hWc,_.M);var iWc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(iWc,_.M);iWc.prototype.zz=function(){return _.H(this,2)};jWc=function(a,b){_.B(a,1,b)};_.kWc=function(a,b){_.y(a,2,b)};lWc=function(a,b){return _.B(a,1,b||[])};mWc=[1];nWc=function(a){_.Q(this,a,0,-1,mWc,null)};_.O(nWc,_.M);
var oWc=function(a,b,c){_.qN(a,b,c,"warning")},pWc=function(a){return[].concat(_.Pc(a.V))},qWc=function(a){return a.H.concat([].concat(_.Pc(a.V)))},rWc=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(_.Pc(c))},wO=function(a){var b=_.yN(a).Ad();b||(b=new _.sNc,a=_.yN(a),_.y(a,1,b));return b},sWc=function(a){var b=_.D(_.yN(a),UVc,3);b||(b=new UVc,a=_.yN(a),_.y(a,3,b));return b},xO=function(a){var b=
_.D(_.yN(a),ZVc,16);b||(b=new ZVc,a=_.yN(a),_.y(a,16,b));return b},tWc=function(a){var b=_.D(_.yN(a),fWc,7);b||(b=new fWc,a=_.yN(a),_.y(a,7,b));return b},uWc=function(a){var b=_.D(_.yN(a),hWc,12);b||(b=new hWc,a=_.yN(a),_.y(a,12,b));return b},vWc=function(a){var b=_.D(_.yN(a),iWc,17);b||(b=new iWc,a=_.yN(a),_.y(a,17,b));return b},wWc=function(a){if(a instanceof _.uL)return 2;if(a instanceof _.rp)return 10;if(a instanceof _.He)return _.yM(a)?3:_.zM(a)?7:_.AM(a)?8:1;if(a instanceof _.jp)return 9;if(a instanceof
_.DG)return 11;if(a instanceof _.GM)return 15;if(a instanceof _.CL)return 6;if(a instanceof _.CM){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 _.vD)return 4;if(a instanceof _.Ap)return 12;if("undefined"!=typeof _.QM&&a instanceof _.QM)return 13}return 0},xWc=function(a){var b=null;a instanceof _.OB||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN?b=a.ef()||0:"undefined"!=typeof _.DN&&a instanceof
_.DN||"undefined"!=typeof _.EN&&a instanceof _.EN||"undefined"!=typeof _.FN&&a instanceof _.FN||"undefined"!=typeof _.GN&&a instanceof _.GN||"undefined"!=typeof _.IOc&&a instanceof _.IOc?b=a.Qh:"undefined"!=typeof _.CN&&a instanceof _.CN&&(b=a.ef());return b||0},yWc=function(a,b){return a.W&&_.POc(a)?_.LOc(a.W,b,0):null},zWc=function(a){a.W&&_.POc(a)&&(a=a.W,a.isRunning()&&a.H.D_())},AWc=function(a,b){return _.y(a,1,b)},BWc=[2],CWc=function(a){_.Q(this,a,0,-1,BWc,null)};_.O(CWc,_.M);_.g=CWc.prototype;
_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.mO=function(){return _.Jk(this,_.ml,2)};_.g.Tba=function(a){_.Mk(this,2,a,_.ml,void 0)};_.g.Bj=function(){return _.C(this,3)};var DWc=[2],EWc=function(a){_.Q(this,a,0,-1,DWc,null)};_.O(EWc,_.M);EWc.prototype.Jb=function(){return _.C(this,1)};EWc.prototype.Gc=function(a){return _.B(this,1,a)};EWc.prototype.Bj=function(){return _.C(this,3)};
FWc=function(a){var b=[];a.nr.forEach(function(c){(c=c.gu.config.timestamp)&&b.push(c)});return b};GWc=function(a){var b=[];a.ka.forEach(function(c){c.forEach(function(d){(d=d.gu.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ya(b,FWc(c))});return b};yO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Ok(b[a],c[a]))return!0;return!1};rTc=function(a,b){return _.B(a,1,b||[])};
HWc=function(a,b){if(!(a instanceof b.constructor))throw Error("aa");var c=_.Kk(a,!0);b=_.Kk(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Qc&&(d[0]=a.Qc,e=1);for(;e<f;e++)_.$la(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};IWc=[2,6];_.BN=function(a){_.Q(this,a,0,-1,IWc,null)};_.O(_.BN,_.M);_.g=_.BN.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Pd=function(){return _.Jk(this,_.zl,2)};_.g.uw=function(a){return _.jb(this,2,a)};
_.g.Ug=function(a,b){return _.Mk(this,2,a,_.zl,b)};_.g.Bj=function(){return _.C(this,3)};_.g.mra=function(){return _.F(this,4,!0)};var JWc=function(a,b){return _.jb(a,6,b)};_.BN.prototype.Af=function(){return _.C(this,10)};_.BN.prototype.uN=function(a){return _.B(this,10,a)};_.BN.prototype.ef=function(){return _.C(this,9)};_.BN.prototype.R3=function(a){return _.B(this,9,a)};var KWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(KWc,_.M);var LWc=[1,2],MWc=function(a){_.Q(this,a,0,-1,LWc,null)};
_.O(MWc,_.M);MWc.prototype.rz=function(){return _.Jk(this,_.np,1)};
var NWc=[1,2,4],OWc={SUCCESS:1,aWb:2,ENb:3,FJb:4,mWb:5,YQb:6,RQb:7,bKb:8,hVb:9,wVb:10,$Vb:11,ELb:12,iLb:13,EOb:14,$Mb:15,nLb:16,mLb:17,sLb:18,pLb:19,qLb:20,NVb:21,jWb:22,oRb:23,xQb:24,VJb:25,PERMISSION_DENIED:26,QPb:27,gKb:28,fKb:29,INTERRUPTED:30,MRb:31,fSb:32,RLb:33,WLb:34,oVb:35,eMb:36,aNb:37,VLb:38,QQb:39,MKb:40,HRb:41,hSb:42,fVb:43,xKb:44,LKb:45,YMb:46,MPb:47,PQb:48,gRb:49,IRb:50,ZUb:51,jLb:52,gVb:53,eVb:54,DKb:55,AKb:56,oMb:57,kQb:58,JRb:59,mPb:60,rTb:61,fUb:62,MUb:63,TOb:64,zQb:65,pWb:66,gMb:67,
bNb:68,ZVb:69,XOb:70,eKb:71,qKb:72,nUb:73,NUb:74,JUb:75,HUb:76,bUb:190,GUb:191,oUb:192,uUb:126,qUb:128,rUb:129,sUb:130,tUb:131,vUb:132,wUb:133,ATb:127,xTb:134,yTb:135,CTb:136,DTb:137,ETb:138,zTb:194,BTb:195,FTb:196,wTb:197,eUb:189,qTb:139,sTb:140,GTb:141,HTb:142,TTb:143,WTb:144,XTb:145,YTb:146,ZTb:147,$Tb:148,aUb:149,dUb:150,jUb:151,lUb:152,mUb:153,pUb:154,xUb:155,zUb:156,AUb:157,BUb:158,CUb:159,DUb:160,EUb:161,IUb:162,LUb:163,OUb:164,tTb:165,uTb:166,vTb:167,oTb:168,pTb:169,KTb:170,ITb:171,JTb:172,
LTb:173,MTb:174,NTb:175,OTb:176,PTb:177,QTb:178,RTb:179,STb:180,UTb:181,VTb:182,cUb:106,kUb:183,yUb:184,FUb:185,gUb:186,hUb:187,iUb:188,KUb:244,GRb:77,dWb:78,iWb:79,ZPb:80,JOb:81,LOb:82,nMb:83,XMb:84,RPb:85,GVb:86,ULb:87,ZOb:88,YOb:89,RUb:90,PUb:91,QUb:92,eWb:93,$Kb:94,ZKb:95,WKb:96,YKb:97,XKb:98,oWb:99,aTb:100,vLb:101,oLb:102,tLb:103,rLb:104,uLb:105,cNb:107,tVb:108,VSb:109,RVb:110,fNb:111,eNb:112,rPb:113,sPb:114,lSb:115,EKb:116,zPb:117,xMb:118,fWb:119,UQb:120,VQb:121,FOb:193,lLb:122,LLb:123,IOb:124,
uQb:125,$Ob:198,RRb:199,QOb:200,mJb:201,VOb:202,UOb:203,hKb:204,MWb:205,GPb:206,TKb:207,TQb:208,gSb:209,XSb:210,JJb:211,pPb:212,wPb:213,jVb:214,iVb:215,SOb:216,COb:217,ROb:218,iMb:219,xVb:220,jMb:221,nPb:222,qVb:223,wWb:224,DQb:225,pVb:226,NLb:227,FPb:228,mMb:229,OKb:230,EVb:231,vQb:232,FILE_TOO_LARGE:233,WOb:234,hMb:235,VMb:236,bSb:237,AQb:238,UIb:239,QKb:240,IQb:241,gTb:242,TLb:243,kJb:245,MOb:246,iRb:247,KOb:248,YPb:249,yQb:250,ZMb:251,LNb:252,qPb:253,BKb:254,dNb:255,nWb:256,yNb:257,hQb:258,sSb:259,
QRb:260,ePb:261},wSc=[1004,1005,1002,1003],KSc=[1002,1003,1005],PWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(PWc,_.M);PWc.prototype.Jb=function(){return _.C(this,1)};PWc.prototype.Gc=function(a){return _.B(this,1,a)};PWc.prototype.Am=function(){return _.D(this,_.NB,2)};var QWc=function(a){_.xi.call(this,a)};_.N(QWc,_.xi);var RWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(RWc,_.M);_.g=RWc.prototype;_.g.XJa=function(){return _.H(this,1)};_.g.$k=function(a){return _.B(this,1,a)};
_.g.xm=function(){return _.H(this,2)};_.g.O9a=function(){return _.H(this,3)};_.g.P9a=function(){return _.H(this,4)};var zO=[[13,19,12,11,10,15,14,9,8,18,17,16]],SWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(SWc,_.M);SWc.prototype.V=function(){return _.H(this,1)};SWc.prototype.W=function(){return _.H(this,2)};var TWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(TWc,_.M);var UWc=[1],VWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(VWc,_.M);VWc.prototype.V=function(){return _.H(this,1)};
VWc.prototype.W=function(){return _.H(this,2)};var WWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(WWc,_.M);_.g=WWc.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.Kd=function(a){return _.B(this,1,a)};_.g.hb=function(){return _.C(this,2)};_.g.Rb=function(a){return _.B(this,2,a)};_.g.yj=function(){return _.Ak(this,2)};_.g.lg=function(){return _.nk(this,2)};_.g.getCapabilities=function(){return _.D(this,VWc,3)};_.g.Wo=function(a){return _.y(this,3,a)};
_.g.F9a=function(){return _.D(this,RWc,4)};var XWc=function(a){_.Q(this,a,0,-1,UWc,null)};_.O(XWc,_.M);XWc.prototype.V=function(){return _.Jk(this,WWc,1)};var YWc=function(a,b){_.jb(a,1,b)},ZWc=function(a){_.Q(this,a,0,-1,null,null)};_.O(ZWc,_.M);ZWc.prototype.V=function(){return _.C(this,1)};ZWc.prototype.YS=function(){return _.nk(this,1)};ZWc.prototype.getOptions=function(){return _.D(this,XWc,2)};var $Wc=function(a){_.Q(this,a,0,-1,null,null)};_.O($Wc,_.M);
$Wc.prototype.W=function(){return _.C(this,1)};$Wc.prototype.V=function(){return _.C(this,2)};var aXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(aXc,_.M);aXc.prototype.YS=function(){return _.nk(this,1)};aXc.prototype.getOptions=function(){return _.D(this,$Wc,2)};var bXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(bXc,_.M);bXc.prototype.W=function(){return _.C(this,1)};bXc.prototype.V=function(){return _.C(this,2)};var cXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(cXc,_.M);
var dXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(dXc,_.M);dXc.prototype.YS=function(){return _.nk(this,1)};dXc.prototype.getOptions=function(){return _.D(this,cXc,2)};var AO=[[3,4,5,6,7,8,9,10,11,12]],eXc=function(a){_.Q(this,a,0,-1,null,AO)};_.O(eXc,_.M);_.g=eXc.prototype;_.g.s$=function(a){return _.Lk(this,3,AO[0],a)};_.g.VYa=function(a){return _.Lk(this,4,AO[0],a)};_.g.pYa=function(a){return _.Lk(this,5,AO[0],a)};_.g.oYa=function(a){return _.Lk(this,6,AO[0],a)};
_.g.bYa=function(a){return _.Lk(this,7,AO[0],a)};_.g.JYa=function(a){return _.Lk(this,8,AO[0],a)};_.g.IYa=function(a){return _.Lk(this,9,AO[0],a)};_.g.$Ya=function(a){return _.Lk(this,10,AO[0],a)};_.g.jla=function(a){return _.Lk(this,11,AO[0],a)};_.g.Oka=function(a){return _.Lk(this,12,AO[0],a)};var fXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(fXc,_.M);var gXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(gXc,_.M);gXc.prototype.V=function(){return _.C(this,1)};
gXc.prototype.YS=function(){return _.nk(this,1)};gXc.prototype.getOptions=function(){return _.D(this,fXc,2)};var hXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(hXc,_.M);hXc.prototype.ZLa=function(){return _.C(this,1)};hXc.prototype.V=function(){return _.C(this,4)};var iXc=function(a){_.Q(this,a,0,-1,null,zO)};_.O(iXc,_.M);_.g=iXc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.I9a=function(){return _.C(this,2)};_.g.If=function(){return _.C(this,4)};
_.g.H9a=function(){return _.D(this,RWc,5)};_.g.getCapabilities=function(){return _.D(this,SWc,6)};_.g.Wo=function(a){return _.y(this,6,a)};_.g.N9a=function(){return _.C(this,7)};_.g.bYa=function(a){return _.Lk(this,13,zO[0],a)};_.g.G9a=function(){return _.D(this,hXc,19)};_.g.Oka=function(a){return _.Lk(this,19,zO[0],a)};_.g.oYa=function(a){return _.Lk(this,12,zO[0],a)};_.g.pYa=function(a){return _.Lk(this,11,zO[0],a)};_.g.Fdb=function(){return _.D(this,bXc,10)};
_.g.J9a=function(){return _.D(this,ZWc,15)};_.g.IYa=function(a){return _.Lk(this,15,zO[0],a)};_.g.K9a=function(){return _.D(this,XWc,14)};_.g.JYa=function(a){return _.Lk(this,14,zO[0],a)};_.g.VYa=function(a){return _.Lk(this,9,zO[0],a)};_.g.L9a=function(){return _.D(this,$Wc,8)};_.g.s$=function(a){return _.Lk(this,8,zO[0],a)};_.g.M9a=function(){return _.D(this,gXc,18)};_.g.jla=function(a){return _.Lk(this,18,zO[0],a)};_.g.$Ya=function(a){return _.Lk(this,17,zO[0],a)};
var jXc=[5],kXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(kXc,_.M);kXc.prototype.ma=function(){return _.H(this,1)};kXc.prototype.V=function(){return _.H(this,2)};kXc.prototype.ta=function(){return _.H(this,3)};kXc.prototype.W=function(){return _.H(this,4)};var BO=function(a){_.Q(this,a,0,-1,jXc,null)};_.O(BO,_.M);BO.prototype.getName=function(){return _.C(this,1)};BO.prototype.jd=function(a){return _.B(this,1,a)};BO.prototype.tm=function(){return _.C(this,2)};
var lXc=function(a,b){return _.B(a,2,b)};BO.prototype.W=function(){return _.C(this,14)};var mXc=function(a,b){return _.B(a,14,b)};_.g=BO.prototype;_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.Wg=function(){return _.C(this,4)};_.g.Cm=function(a){return _.B(this,4,a)};_.g.Z9a=function(){return _.Jk(this,iXc,5)};var nXc=function(a,b){_.jb(a,5,b)},oXc=function(a,b){_.y(a,6,b)},pXc=function(a,b){_.y(a,7,b)},qXc=function(a,b){_.y(a,8,b)};
BO.prototype.V=function(){return _.D(this,RWc,12)};var rXc=function(a,b){_.y(a,12,b)};BO.prototype.getCapabilities=function(){return _.D(this,kXc,13)};BO.prototype.Wo=function(a){return _.y(this,13,a)};var sXc=[5,7,9],tXc=function(a){_.Q(this,a,0,-1,sXc,null)};_.O(tXc,_.M);_.g=tXc.prototype;_.g.getUser=function(){return _.D(this,_.ml,1)};_.g.fz=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.fla=function(a){return _.B(this,5,a||[])};_.g.addTextValues=function(a,b){return _.Hk(this,5,a,b)};_.g.setSelectionValue=function(a){return _.B(this,6,a)};_.g.$ka=function(a){return _.B(this,7,a||[])};_.g.addSelectionValues=function(a,b){return _.Hk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.B(this,8,a)};_.g.Ska=function(a){return _.B(this,9,a||[])};_.g.addIntegerValues=function(a,b){return _.Hk(this,9,a,b)};var uXc=[7,10,12,16,13,3],CO=function(a){_.Q(this,a,0,-1,uXc,null)};
_.O(CO,_.M);var DO=function(a){return _.C(a,4)};_.g=CO.prototype;_.g.fz=function(a){_.B(this,4,a)};_.g.setBooleanValue=function(a){return _.B(this,5,a)};_.g.E9a=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.B(this,6,a)};_.g.fla=function(a){return _.B(this,7,a||[])};_.g.addTextValues=function(a,b){return _.Hk(this,7,a,b)};_.g.C9a=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.B(this,8,a)};_.g.D9a=function(){return _.C(this,9)};
_.g.setSelectionValue=function(a){return _.B(this,9,a)};_.g.WJa=function(){return _.Dd(this,10)};_.g.$ka=function(a){return _.B(this,10,a||[])};_.g.addSelectionValues=function(a,b){return _.Hk(this,10,a,b)};_.g.B9a=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.B(this,11,a)};_.g.Ska=function(a){return _.B(this,12,a||[])};_.g.addIntegerValues=function(a,b){return _.Hk(this,12,a,b)};_.g.reb=function(){return _.D(this,_.ml,15)};
_.g.setUserValue=function(a){return _.y(this,15,a)};_.g.mNa=function(){return _.Jk(this,_.ml,16)};var vXc=function(a,b){_.jb(a,16,b)};CO.prototype.addUserValues=function(a,b){return _.Mk(this,16,a,_.ml,b)};CO.prototype.V=function(){return _.C(this,17)};CO.prototype.setDateStringValue=function(a){return _.B(this,17,a)};CO.prototype.W=function(){return _.nk(this,17)};var wXc=function(a,b){_.jb(a,13,b)};CO.prototype.getId=function(){return _.C(this,14)};
CO.prototype.Yb=function(a){return _.B(this,14,a)};CO.prototype.getName=function(){return _.C(this,1)};CO.prototype.jd=function(a){return _.B(this,1,a)};var xXc=[2],EO=function(a){_.Q(this,a,0,-1,xXc,null)};_.O(EO,_.M);EO.prototype.getName=function(){return _.C(this,1)};EO.prototype.jd=function(a){return _.B(this,1,a)};EO.prototype.V=function(){return _.Jk(this,CO,2)};var yXc=function(a,b){_.jb(a,2,b)};EO.prototype.Rc=function(){return _.C(this,3)};
var zXc=function(a,b){return _.B(a,3,b)},AXc={gWb:0,iQb:1,pRb:2,eRb:3,aPb:4,GJb:5,jQb:6,fRb:7,jOb:8,UJb:9,cRb:10},FO=function(){this.H={};this.ha=6;this.V=null};FO.prototype.Jb=function(){return this.ha};FO.prototype.Gc=function(a){this.ha=a};FO.prototype.ef=function(){return this.V};var BXc=function(a,b){a.V=b};FO.prototype.Fs=function(){return this.H};var CXc=function(a,b){a.H=b};
FO.prototype.Cc=function(a){var b=[];_.Rf(this.H,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.ha,d:this.V,me:b})};DXc=function(a,b,c){c=JSON.parse(c);a.Gc(c.s);a.V=c.d;var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.H=d};_.AN=function(){FO.apply(this,arguments)};_.N(_.AN,FO);var EXc=function(){FO.apply(this,arguments)};_.N(EXc,FO);var FXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(FXc,_.M);FXc.prototype.getType=function(){return _.C(this,1)};
var GXc=function(a){var b=new FXc;return _.B(b,1,a)},HXc=function(a,b){return _.y(a,2,b)};FXc.prototype.Kw=function(){return _.C(this,3)};FXc.prototype.nx=function(a){return _.B(this,3,a)};FXc.prototype.ai=function(){return _.C(this,4)};FXc.prototype.setPosition=function(a){return _.B(this,4,a)};var IXc=[2],JXc=function(a){_.Q(this,a,0,-1,IXc,null)};_.O(JXc,_.M);JXc.prototype.Jb=function(){return _.C(this,1)};JXc.prototype.Gc=function(a){return _.B(this,1,a)};
var KXc=[2],GO=function(a){_.Q(this,a,0,-1,KXc,null)};_.O(GO,_.M);GO.prototype.Jb=function(){return _.C(this,1)};GO.prototype.Gc=function(a){return _.B(this,1,a)};GO.prototype.V=function(){return _.Jk(this,EO,2)};var LXc=function(a,b){return _.jb(a,2,b)};GO.prototype.Bj=function(){return _.C(this,3)};var MXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(MXc,_.M);MXc.prototype.Jb=function(){return _.C(this,1)};MXc.prototype.Gc=function(a){return _.B(this,1,a)};
MXc.prototype.R5=function(){return _.D(this,_.zl,2)};NXc=function(a,b){return _.y(a,2,b)};OXc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};PXc=function(a,b){return new _.PIc(_.QIc.bound(a,b,void 0,void 0))};QXc=function(){var a=new _.li,b=_.cJc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Vd(_.yL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.RXc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(_.RXc,_.M);_.RXc.prototype.Rq=function(){return _.C(this,1)};_.RXc.prototype.setSize=function(a){return _.B(this,2,a)};_.RXc.prototype.getUrl=function(){return _.C(this,3)};_.SXc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.SXc,_.M);_.SXc.prototype.getType=function(){return _.C(this,1)};TXc=[2,3];_.UXc=function(a){_.Q(this,a,0,-1,TXc,null)};_.O(_.UXc,_.M);VXc=[4,5,6,17,18,24];_.HO=function(a){_.Q(this,a,0,-1,VXc,null)};_.O(_.HO,_.M);_.HO.prototype.getId=function(){return _.C(this,1)};
_.HO.prototype.Yb=function(a){return _.B(this,1,a)};_.HO.prototype.getName=function(){return _.C(this,2)};_.HO.prototype.jd=function(a){return _.B(this,2,a)};var WXc=function(a,b){return _.B(a,4,b||[])},XXc=function(a,b){return _.B(a,5,b||[])};_.HO.prototype.RN=function(){return _.C(this,8)};_.HO.prototype.getType=function(){return _.C(this,23)};_.HO.prototype.xm=function(){return _.H(this,33)};var YXc=[3],IO=function(a){_.Q(this,a,0,-1,YXc,null)};_.O(IO,_.M);
IO.prototype.V=function(){return _.C(this,1)};var ZXc=function(a,b){return _.B(a,1,b)};IO.prototype.getTitle=function(){return _.C(this,2)};IO.prototype.setTitle=function(a){return _.B(this,2,a)};IO.prototype.Pd=function(){return _.Jk(this,_.zl,3)};var $Xc=function(a,b){return _.jb(a,3,b)};IO.prototype.Ug=function(a,b){return _.Mk(this,3,a,_.zl,b)};IO.prototype.ma=function(){return _.C(this,4)};var aYc=function(a,b){return _.B(a,4,b)};IO.prototype.W=function(){return _.D(this,_.nl,5)};
var bYc=function(a,b){return _.y(a,5,b)},yTc=function(a){_.Q(this,a,0,-1,null,null)};_.O(yTc,_.M);var cYc=[2],JO=function(a){_.Q(this,a,0,-1,cYc,null)};_.O(JO,_.M);JO.prototype.Jb=function(){return _.C(this,1)};JO.prototype.Gc=function(a){return _.B(this,1,a)};JO.prototype.hk=function(){return _.Jk(this,IO,2)};var dYc=function(a,b){return _.jb(a,2,b)};JO.prototype.Af=function(){return _.C(this,4)};eYc=function(a,b){return _.B(a,4,b)};_.CN=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.CN,_.M);
_.g=_.CN.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.UR=function(){return _.uk(this,2,_.NB)};_.g.Bj=function(){return _.C(this,3)};_.g.ef=function(){return _.C(this,5)};var fYc=function(a,b){_.B(a,5,b)},gYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(gYc,_.M);gYc.prototype.Wg=function(){return _.G(this,1)};gYc.prototype.Cm=function(a){return _.Fk(this,1,a)};gYc.prototype.getUrl=function(){return _.G(this,2)};_.hYc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(_.hYc,_.M);_.hYc.prototype.getType=function(){return _.qk(this,1,0)};_.hYc.prototype.getContext=function(){return _.D(this,gYc,2)};_.hYc.prototype.Zj=function(a){return _.y(this,2,a)};iYc=[1];jYc=[2];_.kYc=function(a){_.Q(this,a,0,-1,jYc,null)};_.O(_.kYc,_.M);_.kYc.prototype.getLabel=function(){return _.G(this,1)};_.kYc.prototype.Kd=function(a){return _.Fk(this,1,a)};_.lYc=function(a){_.Q(this,a,0,-1,iYc,null)};_.O(_.lYc,_.M);_.mYc=[[2,3,4]];_.KO=function(a){_.Q(this,a,0,-1,null,null)};
_.O(_.KO,_.M);_.KO.prototype.If=function(){return _.G(this,3)};_.KO.prototype.ao=function(a){return _.Fk(this,4,a)};_.nYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.nYc,_.M);_.oYc=function(a){_.Q(this,a,0,-1,null,_.mYc)};_.O(_.oYc,_.M);var pYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(pYc,_.M);qYc=[3,5];_.LO=[[8,9,10,11,12,13,14]];rYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(rYc,_.M);var sYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(sYc,_.M);_.tYc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(_.tYc,_.M);_.uYc=function(a){_.Q(this,a,0,-1,qYc,_.LO)};_.O(_.uYc,_.M);_.uYc.prototype.Jb=function(){return _.qk(this,6,0)};_.uYc.prototype.Gc=function(a){return _.Gk(this,6,a)};var vYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(vYc,_.M);var wYc=[1],xYc=function(a){_.Q(this,a,0,-1,wYc,null)};_.O(xYc,_.M);var yYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(yYc,_.M);var zYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(zYc,_.M);AYc=[7];_.BYc=[[1,2,3]];_.CYc=function(a){_.Q(this,a,0,-1,null,null)};
_.O(_.CYc,_.M);_.DYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.DYc,_.M);_.EYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.EYc,_.M);_.FYc=function(a){_.Q(this,a,0,-1,AYc,_.BYc)};_.O(_.FYc,_.M);_.GYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.GYc,_.M);_.GYc.prototype.getName=function(){return _.G(this,1)};_.GYc.prototype.jd=function(a){return _.Fk(this,1,a)};var HYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(HYc,_.M);HYc.prototype.getName=function(){return _.G(this,1)};
HYc.prototype.jd=function(a){return _.Fk(this,1,a)};HYc.prototype.getTitle=function(){return _.G(this,2)};HYc.prototype.setTitle=function(a){return _.Fk(this,2,a)};var IYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(IYc,_.M);IYc.prototype.getName=function(){return _.G(this,1)};IYc.prototype.jd=function(a){return _.Fk(this,1,a)};IYc.prototype.getTitle=function(){return _.G(this,2)};IYc.prototype.setTitle=function(a){return _.Fk(this,2,a)};var JYc=[[1,4]],KYc=function(a){_.Q(this,a,0,-1,null,JYc)};
_.O(KYc,_.M);KYc.prototype.getUser=function(){return _.D(this,_.oYc,1)};KYc.prototype.R5=function(){return _.D(this,IYc,2)};var LYc=[[8,9,10]],MYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(MYc,_.M);_.NYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.NYc,_.M);_.NYc.prototype.getType=function(){return _.qk(this,6,0)};_.OYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.OYc,_.M);_.PYc=function(a){_.Q(this,a,0,-1,null,LYc)};_.O(_.PYc,_.M);_.g=_.PYc.prototype;_.g.getName=function(){return _.G(this,1)};
_.g.jd=function(a){return _.Fk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Fk(this,2,a)};_.g.xi=function(){return _.rk(this,5)};_.g.jc=function(){return _.G(this,6)};_.g.kO=function(){return _.D(this,KYc,7)};QYc=[[8,9,10]];_.MO=function(a){_.Q(this,a,0,-1,null,QYc)};_.O(_.MO,_.M);_.MO.prototype.getName=function(){return _.G(this,1)};_.MO.prototype.jd=function(a){return _.Fk(this,1,a)};_.MO.prototype.getTitle=function(){return _.G(this,2)};
_.MO.prototype.setTitle=function(a){return _.Fk(this,2,a)};RYc=[[1,3]];_.SYc=function(a){_.Q(this,a,0,-1,null,RYc)};_.O(_.SYc,_.M);_.SYc.prototype.R5=function(){return _.D(this,IYc,2)};_.TYc=[[1,2,3]];UYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(UYc,_.M);var VYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(VYc,_.M);_.WYc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.WYc,_.M);_.XYc=function(a){_.Q(this,a,0,-1,null,_.TYc)};_.O(_.XYc,_.M);YYc=[2,3];_.ZYc=function(a){_.Q(this,a,0,-1,YYc,null)};
_.O(_.ZYc,_.M);_.ZYc.prototype.getType=function(){return _.qk(this,1,0)};_.$Yc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.$Yc,_.M);_.$Yc.prototype.getType=function(){return _.qk(this,1,0)};var aZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(aZc,_.M);aZc.prototype.getType=function(){return _.qk(this,1,0)};var bZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(bZc,_.M);_.cZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.cZc,_.M);var dZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(dZc,_.M);
eZc=[1,2,4];_.fZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.fZc,_.M);_.gZc=function(a){_.Q(this,a,0,-1,eZc,null)};_.O(_.gZc,_.M);_.NO=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.NO,_.M);_.NO.prototype.getEmail=function(){return _.G(this,1)};_.NO.prototype.getTitle=function(){return _.G(this,2)};_.NO.prototype.setTitle=function(a){return _.Fk(this,2,a)};_.OO=[[2,3,4,5]];_.PO=function(a){_.Q(this,a,0,-1,null,_.OO)};_.O(_.PO,_.M);_.PO.prototype.Hg=function(){return _.qk(this,1,0)};
_.PO.prototype.getUser=function(){return _.D(this,_.oYc,2)};var hZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(hZc,_.M);iZc=[1,2,3,4];_.jZc=function(a){_.Q(this,a,0,-1,iZc,null)};_.O(_.jZc,_.M);var kZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(kZc,_.M);var lZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(lZc,_.M);_.mZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.mZc,_.M);_.nZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.nZc,_.M);_.nZc.prototype.getType=function(){return _.qk(this,1,0)};
oZc=[1];_.pZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.pZc,_.M);_.pZc.prototype.getFeature=function(){return _.qk(this,1,0)};_.qZc=function(a){_.Q(this,a,0,-1,oZc,null)};_.O(_.qZc,_.M);var rZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(rZc,_.M);var sZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(sZc,_.M);var tZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(tZc,_.M);tZc.prototype.getType=function(){return _.qk(this,1,0)};_.QO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];
_.RO=function(a){_.Q(this,a,0,-1,null,_.QO)};_.O(_.RO,_.M);_.RO.prototype.Az=function(){return _.D(this,tZc,10)};_.uZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.uZc,_.M);var vZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(vZc,_.M);_.wZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.wZc,_.M);_.xZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.xZc,_.M);_.xZc.prototype.getType=function(){return _.qk(this,1,0)};_.yZc=[[1,2,3,4,5]];_.zZc=function(a){_.Q(this,a,0,-1,null,_.yZc)};_.O(_.zZc,_.M);
_.zZc.prototype.getUser=function(){return _.D(this,_.oYc,1)};var AZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(AZc,_.M);AZc.prototype.getType=function(){return _.qk(this,2,0)};AZc.prototype.qh=function(){return _.G(this,1)};_.BZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.BZc,_.M);_.g=_.BZc.prototype;_.g.getName=function(){return _.G(this,1)};_.g.jd=function(a){return _.Fk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Fk(this,2,a)};
_.g.Ta=function(){return _.D(this,_.PYc,3)};_.CZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.CZc,_.M);_.CZc.prototype.getParent=function(){return _.D(this,_.PYc,4)};_.CZc.prototype.Mg=function(a){return _.y(this,4,a)};var DZc=function(a){_.Q(this,a,0,-1,null,null)};_.O(DZc,_.M);_.g=DZc.prototype;_.g.getName=function(){return _.G(this,1)};_.g.jd=function(a){return _.Fk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Fk(this,2,a)};
_.g.Ta=function(){return _.D(this,_.PYc,3)};_.EZc=[[1,5,3]];_.FZc=function(a){_.Q(this,a,0,-1,null,_.EZc)};_.O(_.FZc,_.M);_.FZc.prototype.R5=function(){return _.D(this,DZc,2)};_.SO=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.SO,_.M);_.SO.prototype.jV=function(a){_.y(this,1,a)};_.SO.prototype.vq=function(){return _.D(this,_.Ky,2)};_.SO.prototype.sD=function(a){_.y(this,2,a)};GZc=[[5,6]];_.HZc=function(a){_.Q(this,a,0,-1,null,GZc)};_.O(_.HZc,_.M);
_.HZc.prototype.Oh=function(){return _.D(this,AZc,2)};_.HZc.prototype.V=function(a){_.Lk(this,5,GZc[0],a)};IZc=[3,4,5];JZc=[[6,7]];_.TO=function(a){_.Q(this,a,0,-1,IZc,JZc)};_.O(_.TO,_.M);_.TO.prototype.loa=function(a){_.Mk(this,4,a,_.HZc,void 0)};_.TO.prototype.V=function(a){_.Lk(this,6,JZc[0],a)};var KZc=[1],cTc=function(a){_.Q(this,a,0,-1,KZc,null)};_.O(cTc,_.M);var mO=[[1,2,3,4,5,6,7]],bTc=function(a){_.Q(this,a,0,-1,null,mO)};_.O(bTc,_.M);var UO=function(a){_.Q(this,a,0,-1,null,null)};
_.O(UO,_.M);UO.prototype.getQuery=function(){return _.D(this,_.He,1,1)};var LZc=function(a,b){return _.y(a,1,b)};UO.prototype.oo=function(){return _.C(this,4)};var MZc=function(a,b){return _.y(a,5,b)},NZc=[1,2,5,7,9,10,12],VO=function(a){_.Q(this,a,0,-1,NZc,null)};_.O(VO,_.M);VO.prototype.Pd=function(){return _.Jk(this,_.zl,1)};var OZc=function(a,b){return _.jb(a,1,b)};VO.prototype.Ug=function(a,b){return _.Mk(this,1,a,_.zl,b)};VO.prototype.mO=function(){return _.Jk(this,_.ml,2)};
VO.prototype.Tba=function(a){_.Mk(this,2,a,_.ml,void 0)};VO.prototype.NA=function(){return _.C(this,3)};var PZc=function(a,b){return _.B(a,3,b)};VO.prototype.Qn=function(){return _.C(this,4)};var QZc=function(a,b){return _.B(a,4,b)},RZc=function(a,b){return _.jb(a,5,b)},SZc=function(a,b){return _.B(a,6,b)};VO.prototype.Dg=function(){return _.D(this,_.MC,8)};VO.prototype.rz=function(){return _.Jk(this,_.np,9)};VO.prototype.Ti=function(){return _.Dd(this,12)};
var TZc=function(a,b){return _.B(a,12,b||[])},UZc=function(a,b){return _.B(a,13,b)},VZc={XJb:0,WJb:1,yPb:2,rVb:3,uVb:4},kO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],$Sc=function(a){_.Q(this,a,0,-1,null,kO)};_.O($Sc,_.M);var fTc=[[1,2]],eTc=function(a){_.Q(this,a,0,-1,null,fTc)};_.O(eTc,_.M);var iTc=[[1,2,3]],hTc=function(a){_.Q(this,a,0,-1,null,iTc)};_.O(hTc,_.M);var WZc=[1],XZc=function(a){_.Q(this,a,0,-1,WZc,null)};_.O(XZc,_.M);XZc.prototype.Jw=function(){return _.G(this,2)};
var YZc={PKb:"wb",XVb:"xb",GQb:"yb",F2a:"zb"},ZZc=function(a,b){return 0<=b?!a||a<=b:!0},$Zc=function(a,b){return 1<a?2==b:a==b},a_c=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("ze");},WO=function(a,b,c,d){this.W=a;this.H=void 0===b?0:b;this.V=void 0===c?1:c;this.ha=d};_.g=WO.prototype;_.g.clone=function(){return new WO(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.wc=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.kV=function(a){this.V=a};_.g.NA=function(){return this.ha};_.g.equals=function(a){return this.H==a.wc()&&this.V==a.V&&this.ha==a.NA()&&_.Ok(this.W,a.getItem())};var b_c=function(a){_.P.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.N(b_c,_.P);
var XO=function(a,b,c){if(a.ha)throw Error("Ae");c={Bn:_.eg(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.V[d];null==e&&(e=[],a.V[d]=e);e.push(c)}},YO=function(a,b){if(!a.ha)throw Error("Be");if(!a.ka)throw Error("Ce`"+a.W+"`"+(a.W.stack?"\nOriginal stack: "+a.W.stack:""));a.ta.info("drive.ds.MilestoneManager","Passing Milestone: "+b);a.ma[b]=!0;var c=a.V[b];if(c){delete a.V[b];for(var d=0;d<c.length;++d){var e=c[d];delete e.Bn[b];if(_.Yf(e.Bn))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};b_c.prototype.H=function(a){return!!this.ma[a]};b_c.prototype.start=function(){this.ha=!0};b_c.prototype.Ya=function(){_.P.prototype.Ya.call(this);delete this.V};_.DN=function(a,b,c){this.response=a;this.Qh=void 0===b?0:b;this.W=void 0===c?null:c};_.DLc=function(a){this.H=a};c_c=function(){};d_c=function(a){this.H=a};_.ELc=function(a){this.H=a};JTc=function(a,b,c,d,e,f,h,k){this.status=a;this.ka=b;this.H=c;this.ma=d;this.W=e;this.py=f;this.ha=h;this.V=k};
_.FN=function(a,b,c){this.response=a;this.Qh=void 0===b?0:b;this.W=void 0===c?null:c};_.MLc=function(a,b){this.request=a;this.pageToken=b||""};e_c=function(a){this.pageToken=a||""};f_c=function(){};_.PLc=function(a,b){this.request=a;this.pageToken=b||""};_.GN=function(a,b,c){this.response=a;this.Qh=void 0===b?0:b;this.W=void 0===c?null:c};_.IOc=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.H=c||!1;this.Qh=void 0===d?0:d};
_.EN=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.Qh=void 0===d?0:d};g_c=function(a){_.EN.call(this,a,void 0,void 0,void 0);this.H=new _.mo};_.N(g_c,_.EN);
var h_c=function(a,b){this.response=a;this.pageToken=b||""},QSc=function(){var a=_.q.Intl;return!(!a||!a.Collator)},i_c=function(a,b){return QSc()?(new _.q.Intl.Collator([a||"en-US"],b||{})).compare:function(c,d){return c.localeCompare(d)}},j_c=function(a){return[].concat(_.Pc(new Set(a.map(function(b){return _.dKc.get(b)}).filter(function(b){return b})))).join(",")},ZO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Pc(b));b=j_c(b);var d=_.GL(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+")"},k_c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+ZO(a,b,!1)+")"},l_c=function(a){var b=new _.nq;_.uN(b,"hidden",a.xm());a=_.H(a,6);null!=a&&_.uN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},m_c=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}},n_c=function(a){var b=QSc(),c={};b&&(c.numeric=b);this.H=i_c(a,c)};n_c.prototype.compare=function(a,b,c){b=o_c(b);c=o_c(c);a=a.qd();var d=m_c(a);if(a&&d){d=p_c(this,a);var e=4==a.getType()?this.H:_.Fa;return q_c(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
n_c.prototype.sort=function(a,b,c){a=a.qd();var d=m_c(a);a&&d&&(d=p_c(this,a),d=r_c(b,d),_.Ha(b,s_c(this,a,d)));c&&0<c&&_.Aa(b,c,b.length-c)};
var o_c=function(a){return a instanceof _.zl?a:a.getItem()},p_c=function(a,b){b=m_c(b);return _.v(a.V,a,b,_.Fa)},r_c=function(a,b){var c={};a.forEach(function(d){d=o_c(d);var e=d.getId();c[e]=b(d)});return c},s_c=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Fa;d=o_c(d);e=o_c(e);return q_c(b,function(h){return c[h.getId()]},f,d,e)}},q_c=function(a,b,c,d,e){var f=1==_.qk(a,2,1)?1:-1;if(_.H(a,3)){a=iO(d,!0);var h=iO(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Fa(d.getId(),
e.getId()))};n_c.prototype.V=function(a,b,c){for(var d=t_c(a[0],c),e=1;e<a.length;e++){var f=t_c(a[e],c);d=1==b(f,d)?f:d}return d};
var t_c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.jc()||"";case 4:return b.EA()||!1;case 12:return b.DA()||0;case 11:return b.xC()||0;case 10:return b.Bs()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Xx()||0;case 57:return _.C(b,62)||0;case 32:return b.hz()||0;case 9:return b.sE()||0;case 67:return b.jK()||0;case 98:return b.Ix()||0;default:return""}},u_c=function(a,b){this.V=a;this.V.sort();this.ka=b;this.H=_.ZL(_.EL(b));this.W="";a=_.QL(b);this.ma=
!(!a||!_.F(a,1,!1));this.ha=!(!a||!_.F(a,8,!1))},$O=function(a,b,c){b=_.Pk(b);"root"==b.getId()&&b.Yb(a.W);_.gN(b).filter(function(d){return"root"==d.hb()}).forEach(function(d){return d.Rb(a.W)});_.Ne(b,_.fN(b).map(function(d){d.Rb(d.hb().toLowerCase());return d}));c&&_.Tl(b,a.V);b.Ti().sort();return b},aP=function(a,b,c){if(b instanceof _.He){b=$O(a,b);var d=_.gOc(b)}else if(b instanceof _.jp)d=b.ym().sort().join(","),_.F(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.uL)return d=l_c(b),d+"|tdList";
if(b instanceof _.rp)return d=b.ym().sort().join(","),b.Ti().length&&(d+="|"+j_c(b.Ti())),d+"|tdMap";throw Error("Fe");}return 3==c?d:d+"|"+v_c(a,b.Ti(),2==c)},v_c=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.V);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.Pc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.dM({fields:[].concat(_.Pc(f)),Wy:a.H}));e.size&&(d=d+" + "+_.dM({fields:[].concat(_.Pc(e)),
Wy:a.H}));return d};u_c.prototype.equals=function(a,b,c){var d;c&&(d=3);return aP(this,a,d)==aP(this,b,d)};
var w_c=function(a){if(!a.ym().every(function(b){return!_.dd(b)}))throw new _.Rb("Invalid ids for FindByIdsRequest");},y_c=function(a,b,c){if(_.zM(b))throw new _.Rb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");x_c(a,b,c)},x_c=function(a,b,c){var d;a.ha||(d=_.$L(3));if(b.getId())throw new _.Rb("Use findByIds() for find by id queries.",d?d:_.$L(3));if(!b.li()||0>=b.li())throw new _.Rb("A positive limit is required on an ItemQueryRequest.",d?d:_.$L(3));
_.Dd(b,33);a.ma&&c||(d=a.V.slice(),c&&(d=d.concat(c)),z_c(a,d,b.Ti()));if(c=(c=b.qd())&&m_c(c))d=b.Ti().length?b.Ti():a.V,z_c(a,d,c);if(_.yM(b)){if(a.H)throw new _.Rb("User must be authenticated for a Quick Access request.");if(!A_c(a)&&20<b.li())throw new _.Rb("Limit must be in the range [1, 20].");c=2==_.hN(b);d=_.Dd(b,33).length;if(c&&1!=d||d&&!c)throw new _.Rb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.YL(_.Ak(_.Ak(_.Ak(_.XL(_.Ak(_.Bk(_.XL(b.clone(),
1),30),32),33),45),47),48),6);d=new _.He;if(!_.Ok(c,d))throw new _.Rb("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: "+HWc(d,c));}if(_.AM(b)){if(a.H)throw new _.Rb("User must be authenticated for a DrivePriority request.");if(2==_.hN(b))throw new _.Rb("Team Drive corpora is not valid for a Drive Priority request.");a=_.Ak(_.Ak(_.Ak(_.Bk(_.XL(b.clone(),1),30),32),45),52);b=
new _.He;if(!_.Ok(a,b))throw new _.Rb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+HWc(b,a));}},B_c=function(a,b,c){if(!_.zM(b))throw new _.Rb("Expected a PeoplePredict request.");x_c(a,b,c);if(a.H)throw new _.Rb("User must be authenticated for a People Predict request.");if(2==_.hN(b))throw new _.Rb("Team Drive corpora is not valid for a People Predict request.");a=_.Ak(_.Ak(_.Ak(_.Bk(_.XL(b.clone(),
1),30),32),45),49);b=new _.He;if(!_.Ok(a,b))throw new _.Rb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+HWc(b,a));},z_c=function(a,b,c){var d;a.ha||(d=_.$L(3));if(!ASc(b,c,!0)){var e=_.dM({fields:c,Wy:a.H}),f=_.dM({fields:b,Wy:a.H});a=_.dM({fields:BSc(c,b),Wy:a.H});throw new _.Rb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.$L(3));}},
A_c=function(a){return 200<=_.jN(a.ka)&&300>_.jN(a.ka)},C_c=function(a){var b=new Set;_.fN(a).forEach(function(c){switch(_.MSa(c.hb())){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(_.Pc(b))},D_c=function(a){switch(_.jN(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"}},bP=function(a){return a instanceof _.zl?null!=a.getId()&&a.getId()==a.Hc():null!=a.Rc()&&a.Rc()==a.Hc()},E_c=
function(a,b,c){c=void 0===c?[]:c;var d=_.Pk(a),e=b.ij();null!=e&&CSc(a,_.Pk(e));if((e=b.getCapabilities())&&null!=_.H(e,13)){var f=a.getCapabilities()||new _.sl,h=_.H(e,13);_.B(f,13,h);a.Wo(f)}e&&null!=_.H(e,18)&&(f=a.getCapabilities()||new _.sl,e=_.H(e,18),_.B(f,18,e),a.Wo(f));gO(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.ij()&&gO(a,d,c)},F_c=function(a,b,c){c=void 0===c?[]:c;if(!b||!bP(a)&&!bP(b))return a;if(2==jO(a)){c=_.C(a,82);
var d=_.Pk(b);E_c(d,a);_.PMc(d,jO(b));_.UL(d,c);return d}a=_.Pk(a);E_c(a,b,c);return a},G_c=function(a){return(a=a?a.ij():null)&&a.xm()||!1},H_c=/^[\x00-\x7F]*$/,I_c=function(){this.H=""},K_c=function(a){return J_c(a)&&0==_.Dd(a,40).length&&void 0==_.C(a,41)},J_c=function(a){var b=!0;_.Jk(a,_.Je,13).forEach(function(d){"me"!=d.hb()&&(b=!1)});var c=a.qd();c=!c||5!=c.getType();return 0==_.Jk(a,_.Pl,5).length&&0==_.Jk(a,_.Je,14).length&&0==_.Jk(a,_.Je,15).length&&!_.nk(a,58)&&!_.H(a,18)&&!_.H(a,34)&&
0==_.Jk(a,_.dN,35).length&&0==_.Jk(a,_.dN,38).length&&c&&b&&0==_.Dd(a,39).length&&!_.C(a,42)&&0==_.Jk(a,_.Gl,44).length&&!_.yM(a)&&!_.zM(a)&&!_.AM(a)&&0==_.Jk(a,_.Hl,57).length&&L_c(a)&&!_.D(a,_.Mna,59)&&null==_.H(a,60)&&0==_.Jk(a,_.Je,68).length&&0==_.Jk(a,_.Je,67).length},L_c=function(a){return _.Jk(a,_.Ql,4).every(function(b){return H_c.test(b.hb())})};I_c.prototype.q4=function(a,b){var c=this;return b.filter(function(d){return M_c(c,a,d)})};
var M_c=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!bP(c);if(d){d=!0;var e=_.Jk(b,_.Ql,4);if(L_c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.hb()){var k=_.F(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.hb().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,_.Pc(n.split(/\b/)));for(n=0;n<h.length&&d;n++)p=h[n],r=!0,0!=(0,_.Of)(p).length&&(0==p.replace(/\./g,
"").length&&(r=!1),p=!!l.match(new RegExp((r?"(^|[^\\w]|_)":"")+_.Mg(p))),d=d&&(k?!p:p))}}}else d=!0}if(d){l=_.fN(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.hb()&&(p=c.jc()||"",_.H(h,4)&&(p=(n=c.Rf())&&_.C(n,3)||""),n=_.F(h,2,!1),h=_.WM(b)?h.hb().toLowerCase()==p.toLowerCase():h.hb()==p,n?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Jk(b,_.Nl,7),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Bs(),d=d&&N_c(k,f);if(d)for(d=!0,e=_.Jk(b,_.Nl,8),e=
_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.DA(),d=d&&N_c(k,f);d&&(d=b.ri(),e=(e=_.hN(b))&&(2==e||3==e),d=null==d||d==!!c.ri()&&(!d||1==c.io()||e));d&&(d=null==_.H(b,10)||_.H(b,10)==!!c.EA());d&&(d=null==b.xm()||b.xm()==!!c.xm());if(d)a:{d=_.gN(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.hb()&&(f="root"==e.hb()&&a.H||e.hb(),f=c.Hj().includes(f),_.F(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.Jk(b,_.Je,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.hb()&&
(e=1==c.io(),_.F(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.H(b,16)||(_.H(b,16)?null!=c.Xx():!0));a&&(a=_.H(b,17),d=(d=_.hN(b))&&(2==d||3==d),a=null==a||a==!!c.DG()&&(!a||1==c.io()||d));a&&(a=SSc(c),a=null==_.H(b,19)||_.H(b,19)==!!a.Hr());a&&(a=!0);if(a=a&&O_c(b,c)&&P_c(b,c))a=_.Dd(b,33),a=!a.length||a.includes(c.Hc()||"");if(a=a&&Q_c(b,c))_.C(b,41)?(a=_.D(c,_.aN,86),a=null!=a&&_.C(b,41)==_.C(a,3)):a=!0;if(a=a&&R_c(b,c))a=_.hN(b),1==a?(a=_.H(c,31),a=!!_.gN(b).length||!!_.Jk(b,_.dN,35).length||
1==_.H(b,18)||_.yM(b)||_.zM(b)||_.AM(b)||!!b.Sp()||null==a||a):a=2==a?!!c.Hc():!0;a&&(a=_.yM(b)?!!_.Cl(c)&&!c.ri():!0);a&&(a=_.zM(b)?!!_.Dl(c).length&&!c.ri():!0);a&&(a=_.AM(b)?!!_.Jk(c,_.pl,117).length&&!c.ri():!0);a&&(a=_.nk(b,50)?_.F(b,50,!1)?_.nk(c,101)&&0!==_.C(c,101):!_.nk(c,101):!0);a&&(a=b.Sp(),a=!a||_.Dd(c,120).includes(a));a&&(c=_.D(c,_.YM,138),null==_.H(b,65)||null==c?a=!0:(c=2==_.C(c,1),a=_.H(b,65)==c));return a},N_c=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},O_c=function(a,b){var c=_.eg(_.Dd(b,56));a=_.Jk(a,_.eN,25);return 0==a.length?!0:a.every(function(d){return c[d.hb()]})},P_c=function(a,b){if(0==a.Mw().length)return!0;var c=_.eg(b.Mw().map(function(d){return _.C(d,1)}));a=_.eg(a.Mw().map(function(d){return _.C(d,1)}));return _.Uf(a,function(d,e){return c[e]})},Q_c=function(a,b){var c=_.eg(_.Dd(b,50));a=_.Jk(a,_.Ol,37);
return 0==a.length?!0:a.every(function(d){return c[d.hb()]})},R_c=function(a,b){if(_.Dd(a,40).length){if(b=_.D(b,_.aN,86)){var c=_.eg(_.Dd(b,2));return _.Dd(a,40).some(function(d){return c[d]})}return!1}return!0},S_c=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;this.V={};this.ha=new Set},T_c=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]={}})},V_c=function(a,b,c){b.every(function(d){return bP(d)})?U_c(b,c,a.V,a.ha):b.every(function(d){return!bP(d)})&&U_c(b,c,a.H,a.W)},U_c=function(a,b,c,d){var e=_.qLc(b,[].concat(_.Pc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];k&&gO(f,k,[h])})})};S_c.prototype.update=function(a,b,c){b&&bP(b)?W_c(a,b,this.V,this.ha,c):W_c(a,b,this.H,this.W,c)};
var X_c=function(a,b){_.Rf(a.H,function(c,d){_.$f(a.H[d],b)});_.Rf(a.V,function(c,d){_.$f(a.V[d],b)})},W_c=function(a,b,c,d,e){_.Rf(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.$f(f,a);else if(b&&zSc(b,[h])){var k=new _.zl;k.Yb(b.getId());gO(k,b,[h]);f[a]=k}});b&&vSc(b,[].concat(_.Pc(d)))};S_c.prototype.clear=function(){var a=this;_.Rf(this.H,function(b,c){a.H[c]={}});_.Rf(this.V,function(b,c){a.V[c]={}})};
var Y_c=function(a,b,c){var d=this;this.W=b;this.ha=c;this.H=new Map;this.V="";a.addCallback(function(e){d.V=e})};Y_c.prototype.query=function(a,b){var c=[];if(K_c(a)){for(var d=_.m(this.H.values()),e=d.next();!e.done;e=d.next())e=e.value,M_c(this.W,a,e.getItem())&&(void 0===b||$Zc(e.V,b))&&c.push(e);this.ha.sort(a,c)}return c};Y_c.prototype.get=function(a){return this.H.get(a)};
Y_c.prototype.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.H.get(c.value))&&b.push(c);return b};Y_c.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,Z_c(this,a.H)?(this.H.delete(a.id),a.H.H--):this.H.set(a.id,a.H)):(this.H.delete(a.id),a.V.H--)};
var Z_c=function(a,b){return 1<b.wc()||$Zc(b.V,2)||b.getItem().DG()||USc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},$_c=function(a){for(var b=_.m(a.H.values()),c=b.next();!c.done;c=b.next())c=c.value,Z_c(a,c)&&(a.H.delete(c.getId()),c.H--)},a0c=function(a,b,c,d){this.W=a;this.ka=b;this.V=c;this.ha=d},zTc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),V_c(a.ha,[b.getItem()],qWc(a.W)),b):null};a0c.prototype.H=function(a){return(a=zTc(this,a))?a.getItem():null};
var b0c=function(a,b){var c={};b.forEach(function(d){var e=zTc(a,d);e&&(c[d]=e)});return c},c0c=function(a,b){return _.Tf(b0c(a,b),function(c){return c.getItem()})},d0c=function(a,b){b=$O(a.ka,b);return a.V.query(b).map(function(c){return c.clone()})};a0c.prototype.query=function(a){return d0c(this,a).map(function(b){return b.getItem()})};
var e0c=function(a){var b=new Set;a=_.m(a.V.H.values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Al(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.CG(e));(d=c.Hp())&&b.add(d.getId()||_.CG(d));(d=c.oC())&&b.add(d.getId()||_.CG(d));(d=c.Jp())&&b.add(d.getId()||_.CG(d));(c=c.DE())&&b.add(c.getId()||_.CG(c))}return b.size},f0c=function(a){_.P.call(this);this.H=a};_.O(f0c,_.P);_.g=f0c.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.LL=function(a){this.H.addCallback(function(b){b.LL(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();f0c.yb.Ya.call(this)};var WSc=function(a){_.mz.call(this);this.H=a;this.W=_.Wd(this.H,"message",this.E8a,!1,this)};_.O(WSc,_.mz);_.g=WSc.prototype;_.g.oe=null;
_.g.send=function(a,b){var c=[];b=this.Sra(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.kKc&&(a=(0,_.Mi)(a));this.H.postMessage(a,c)};_.g.E8a=function(a){a=a.nf;var b=a.data;if(_.kKc)try{b=JSON.parse(b)}catch(e){return}if(_.Ba(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.rva(a.ports||[],b),d.kza),null!=b&&d.callback(b))}};
_.g.Sra=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.Sra,this,a)):b&&b.constructor==Object?_.Tf(b,function(c,d){c=this.Sra(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.rva=function(a,b){return Array.isArray(b)?_.ib(b,(0,_.v)(this.rva,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Tf(b,function(c,d){return this.rva(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Fi(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;WSc.yb.Ya.call(this)};
var g0c=function(a,b){if("*"==b)return new f0c(_.si(Error("He")));var c=new _.Ii(50),d=_.Wa(_.aa,c),e=new _.li(d);_.ni(e,d);c.start();_.Wd(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new WSc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new f0c(e)},h0c=function(a){_.P.call(this);this.H=new _.vIc(a);this.W={};this.V=_.xIc(this.H,
"private");this.ha=_.xIc(this.H,"public");this.V.registerService("mics",(0,_.v)(this.$5a,this),!0)};_.O(h0c,_.P);_.g=h0c.prototype;_.g.bvb=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.bvb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.$5a=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.Z5a,this,b),!0)};
_.g.Z5a=function(a,b){a=a(b.data);var c=b.signature;_.bi(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var i0c=function(a,b){_.P.call(this);this.W=new _.vIc(a);this.Oa(this.W);this.H=new h0c(_.xIc(this.W,"direct"));this.Oa(this.H);a=_.xIc(this.W,"passthrough");this.ha=b?a:new h0c(a);this.Oa(this.ha);this.V=b;this.ka=!1};_.N(i0c,_.P);i0c.prototype.registerService=function(a,b){this.H.registerService(a,b)};
i0c.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.mf)};var cP=function(a,b,c){if(a.V)throw Error("Ie");a.ha.registerService(b,c,!0)},j0c=function(a,b,c,d){if(a.V)throw Error("Je");a.ha.send(b,c||{},d||_.mf)};i0c.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("Ke");};YSc=[];k0c={TIb:0,qJb:1,OOb:3,xWb:5,K2a:6};
l0c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Sd:a.c,kea:a.fi,w3:a.dti,WW:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Rda:b.ec}}):void 0}};_.HM=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.HM,_.M);_.HM.prototype.Ae=function(){return _.D(this,_.Se,1)};var m0c=function(){var a=new _.HM,b=_.Te(new _.Se,301);return _.y(a,1,b)};_.HM.prototype.Hc=function(){return _.C(this,3)};_.NLc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.NLc,_.M);
_.NLc.prototype.Hc=function(){return _.C(this,1)};var n0c=function(a){return _.D(a,_.HL,3)||_.D(a,_.SM,4)||_.D(a,_.HN,5)||_.D(a,_.OM,6)||_.D(a,_.qM,7)||_.D(a,_.jM,8)||_.D(a,_.nM,9)||_.D(a,_.RL,10)},o0c=function(a){_.Q(this,a,0,-1,null,null)};_.O(o0c,_.M);_.g=o0c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.Vx=function(){return _.C(this,3)};_.g.Me=function(){return _.C(this,4)};_.g.Qi=function(a){return _.B(this,4,a)};
var p0c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
p0c.prototype.create=function(a,b){if(0!=wWc(b)){var c=this.V.V(106001);if(c){var d=wWc(b),e=wO(c);_.B(e,2,d);d=wO(c);e=null;if(b instanceof _.DG||b instanceof _.jp||b instanceof _.He||b instanceof _.CM||b instanceof _.vD||b instanceof _.rp||b instanceof _.uL||b instanceof _.CL||"undefined"!=typeof _.QM&&b instanceof _.QM||b instanceof _.Ap)e=b.Ae();e=e&&_.F(e,2,!1);_.B(d,7,"boolean"==typeof e?e:void 0);d=wO(c);b=b instanceof _.He?0<_.gN(b).length:void 0;_.B(d,8,b);this.H.set(a,c)}}};
var q0c=function(a,b,c){if(a=a.H.get(b))a=wO(a),_.B(a,5,c)},r0c=function(a,b,c){(a=a.H.get(b))&&_.H(wO(a),8)&&(a=wO(a),_.B(a,9,c))},s0c=function(a,b,c,d,e){var f=a.H.get(b);f&&(wO(f).Gc(c),c=wO(f),_.B(c,1,d),null!=e&&(d=wO(f),_.B(d,6,e)),f.H(),a.H.delete(b))},t0c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Jb(c);c=xWc(c);if(1==e||2==c)e=_.zN(_.nKc,c),d=wO(d),d=3==e||8==e?!_.H(d,5):0!=e?_.JKc.has(e):null,s0c(a,b,1,e,d)}},u0c=function(a,b,c){var d=a.W.Jb(c);d=_.zN(_.mKc,d||22);var e=xWc(c);e=_.zN(_.nKc,
e);s0c(a,b,d,e,"undefined"!=typeof _.DN&&c instanceof _.DN||"undefined"!=typeof _.FN&&c instanceof _.FN||"undefined"!=typeof _.GN&&c instanceof _.GN?c.W:null)},dP=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(wO(d).Gc(c),d.H(),a.H.delete(b))},eP=function(a,b){_.xi.call(this,"Gb");this.error=a;this.XH=b};_.N(eP,_.xi);var v0c=[2,4],fP=function(a){_.Q(this,a,0,-1,v0c,null)};_.O(fP,_.M);fP.prototype.Jb=function(){return _.C(this,1)};fP.prototype.Gc=function(a){return _.B(this,1,a)};
fP.prototype.Bj=function(){return _.C(this,3)};var w0c=[4,9],x0c=function(a){_.Q(this,a,0,-1,w0c,null)};_.O(x0c,_.M);_.g=x0c.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.GMa=function(){return _.C(this,2)};_.g.ZJa=function(){return _.C(this,3)};_.g.wdb=function(){return _.Jk(this,_.KL,4)};var y0c={hWb:0,aRb:1,dRb:2,OTHER:3,bRb:4},oTc=function(a){_.Q(this,a,0,-1,null,null)};_.O(oTc,_.M);oTc.prototype.getUrl=function(){return _.C(this,1)};
var nO=function(a){_.Q(this,a,0,-1,null,null)};_.O(nO,_.M);var nTc=function(a,b){return _.B(a,1,b)};nO.prototype.getName=function(){return _.C(this,2)};nO.prototype.jd=function(a){return _.B(this,2,a)};nO.prototype.getEmail=function(){return _.C(this,3)};nO.prototype.Os=function(){return _.nk(this,3)};var z0c=[1],A0c=function(a){_.Q(this,a,0,-1,z0c,null)};_.O(A0c,_.M);A0c.prototype.yq=function(){return _.Jk(this,nO,1)};
var B0c=function(a,b){return _.jb(a,1,b)},C0c=function(a){_.Q(this,a,0,-1,null,null)};_.O(C0c,_.M);_.g=C0c.prototype;_.g.Rc=function(){return _.C(this,1)};_.g.Jb=function(){return _.C(this,2)};_.g.Gc=function(a){return _.B(this,2,a)};_.g.getError=function(){return _.D(this,_.Qb,3)};_.g.Qe=function(a){return _.y(this,3,a)};_.g.Tn=function(){return _.nk(this,3)};var D0c=[2],gP=function(a){_.Q(this,a,0,-1,D0c,null)};_.O(gP,_.M);gP.prototype.Jb=function(){return _.C(this,1)};
gP.prototype.Gc=function(a){return _.B(this,1,a)};gP.prototype.hk=function(){return _.Jk(this,_.NB,2)};var E0c=function(a,b){return _.jb(a,2,b)};gP.prototype.Bj=function(){return _.C(this,3)};var F0c=function(a){_.Q(this,a,0,-1,null,null)};_.O(F0c,_.M);var G0c=[1],H0c=function(a){_.Q(this,a,0,-1,G0c,null)};_.O(H0c,_.M);var I0c=function(a,b){return _.B(a,1,b||[])},J0c=function(a,b){this.V=a|0;this.H=b|0};
J0c.prototype.equals=function(a){return this===a?!0:a instanceof J0c?this.V===a.V&&this.H===a.H:!1};J0c.prototype.Lc=function(){return 31*this.V+17*this.H|0};
var K0c=function(a,b){return new J0c(a,b)},L0c=function(a,b){b=~b;a?a=~a+1:b+=1;return K0c(a,b)},M0c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?L0c:K0c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},N0c=function(){this.H=this.ha=this.V=this.W=null},O0c=function(a,b,c){this.id=a;this.V=b;this.H=c},P0c=function(a,b){return new O0c((a?a:b).getId(),a,b)},hP=function(a){return new O0c(a.getId(),null,a)},Q0c=function(){_.Hi.call(this);this.H=Date.now()};_.N(Q0c,_.Hi);
var R0c=function(a){a.H=Date.now();a.dispatchEvent("Hb")},S0c=function(a,b,c){_.Hi.call(this);this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.kk=this.ha=null;this.W=!1};_.N(S0c,_.Hi);var U0c=function(a){if(a.ha)return a.ha;var b=_.ii();a.ha=b.promise;_.q.setTimeout(function(){a.ha=null},5E3);T0c(a,b);return b.promise};S0c.prototype.va=function(){1==this.H&&(V0c(this,"Became unauthenticated."),this.H=!1,this.W=!0,W0c(this))};
S0c.prototype.Ba=function(){0==this.H&&(V0c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.kk&&(_.q.clearTimeout(this.kk),this.kk=null),this.dispatchEvent(new QWc("eb")))};
var W0c=function(a){a.V||(a.V=new _.fPc(5E3),a.kk=_.q.setTimeout(function(){return X0c(a)},a.V.hb()))},X0c=function(a){T0c(a);a.V&&(_.JH(a.V),a.kk=_.q.setTimeout(function(){return X0c(a)},a.V.hb()))},T0c=function(a,b){_.bi().then(function(){return Y0c(a,b)})},Y0c=function(a,b){V0c(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.OLc)});b?c.then(function(){var d=b.resolve;var e=new F0c;e=_.B(e,1,1);d.call(b,e)},function(d){var e=_.bM(d).kh;d=0;_.xKc(e)?(V0c(a,"Checked authentication state: unauthenticated."),
d=2):(V0c(a,"Checked authentication state: error occurred."),_.wr(e),_.B(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new F0c;_.B(e,1,d);b.resolve(e)}):c.then(null,function(d){d=_.bM(d);_.xKc(d.kh)&&a.W&&(a.dispatchEvent(new QWc("fb")),a.W=!1)})},V0c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},Z0c=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ba=0},$0c=function(a){a.V=!1;a.zSa()};_.g=Z0c.prototype;
_.g.sNa=function(a,b){var c=this;if(5==this.kG(a))throw Error("Te");var d=[];_.La(this.dF(),function(e){M_c(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.T7=function(){return this.dF().length};_.g.update=function(a){var b=this.DH(a.V),c=this.DH(a.H);if(!b&&!c)return!1;b&&this.z3(a.V);c&&this.vva(a.H);return!0};_.g.kG=function(a){return this.V&&this.ha?K_c(a)?1:5:5};_.g.k_=function(){this.ha=!0};_.g.DH=function(a){return!!a&&this.V};_.g.Qz=function(a){this.Ba=a};_.g.ef=function(){return this.Ba};
var iP=function(a,b,c,d,e,f){Z0c.call(this,a,b);this.Ia=c;this.Vb=$O(c,d,!0);this.H=[];this.ka={};this.W=!e;a1c(this,e);this.va=(0,_.v)(this.ta.compare,this.ta,this.Vb);this.Ea=f||""};_.N(iP,Z0c);_.g=iP.prototype;_.g.Ad=function(){return this.Vb};_.g.vva=function(a){var b=this.ka[a.getId()];b&&this.z3(b);qSc(this.H,a,this.va);this.ka[a.getId()]=a;a.H++;this.H.length>this.Vb.li()&&(this.z3(_.ia(this.H)),this.W=!1)};
_.g.z3=function(a){var b=this.H,c=_.Ga(b,a,this.va);0<=c&&_.sa(b,c);_.$f(this.ka,a.getId());a.H--};_.g.zSa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.dF=function(){return this.H};_.g.kG=function(a){var b;if(b=this.Ia.equals(this.Vb,a,!0))a=a.Ti(),b=this.Vb.Ti(),b=ASc(b,a,!0);return b?this.W?1:6:5};_.g.sNa=function(a,b){if(5==this.kG(a))throw Error("Te");b=b?Math.min(b,this.H.length):this.H.length;return _.za(this.H,0,b)};
_.g.DH=function(a){if(!Z0c.prototype.DH.call(this,a)||!M_c(this.ma,this.Vb,a.getItem()))return!1;if(this.W||_.F(this.Vb,48,!1))return!0;var b=_.ia(this.H);return!!b&&0>=this.va(a,b)};_.g.U7=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};_.g.SC=function(a,b){var c=this,d=_.ia(this.H);!this.W&&d&&_.la(a,function(e){return e.getId()==d.getId()})&&(b?(this.z3(d),a1c(this,_.ia(a))):this.W=!0);_.La(a,function(e){c.update(hP(e))})};
var a1c=function(a,b){b&&M_c(a.ma,a.Vb,b.getItem())&&a.vva(b)};iP.prototype.Jw=function(){return this.Ea};var jP=function(a,b){Z0c.call(this,a,b);this.H={}};_.N(jP,Z0c);jP.prototype.vva=function(a){this.H[a.getId()]=a;a.H++};jP.prototype.z3=function(a){_.$f(this.H,a.getId());a.H--};jP.prototype.zSa=function(){_.Rf(this.H,function(a){a.H--});this.H={}};jP.prototype.dF=function(){return Object.values(this.H)};var kP=function(a,b,c,d,e){jP.call(this,a,b);var f=this;this.W=e;XO(c,["aU7Ts","BNEDtc"],function(){return f.k_()})};
_.N(kP,jP);kP.prototype.kG=function(a){var b=this,c=jP.prototype.kG.call(this,a);if(5==c)return c;if(0<_.Dd(a,33).length)return 5;a=_.gN(a);return 0<a.length&&!a.every(function(d){d=b.H[d.hb()];return null!=d&&!d.getItem().Hc()&&JSc(d.getItem())&&!_.H(d.getItem(),108)})?5:1};kP.prototype.DH=function(a){return jP.prototype.DH.call(this,a)&&b1c(this,a.getItem())};var b1c=function(a,b){if(_.H(b,31)||!a.ha)return!0;var c=a.W();return b.Hj().some(function(d){var e=a.H[d];return d==c||null!=e&&JSc(e.getItem())})};
kP.prototype.k_=function(){var a=this;jP.prototype.k_.call(this);_.Rf(this.H,function(b){b1c(a,b.getItem())||(b.H--,_.$f(a.H,b.getId()))})};kP.prototype.Ad=function(){return new _.He};kP.prototype.getType=function(){return"SubscribedCorpusCache"};kP.prototype.U7=function(){return!1};var lP=function(a,b,c){jP.call(this,a,b);this.W=c};_.N(lP,jP);_.g=lP.prototype;
_.g.kG=function(a){var b=this,c=jP.prototype.kG.call(this,a);if(5==c)return c;c=_.gN(a);var d=c.every(function(e){var f=e.hb();return(null!=b.H[f]||b.W==f)&&!_.F(e,2,!1)});if(0<c.length&&d)return 1;a=_.Dd(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.DH=function(a){return jP.prototype.DH.call(this,a)&&!!a&&a.getItem().Hc()==this.W&&!bP(a.getItem())};_.g.U7=function(){return!1};_.g.Ad=function(){var a=new _.He;_.bO(a,[this.W]);_.cO(a,2);return a};_.g.Hc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var c1c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.He;_.B(a,48,!0);var b=new _.Ac;_.Bc(b,11);_.Cc(b,2);_.Ie(a,b);this.ka=$O(this.ha,a,!0)};c1c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof kP?b.H=c:c instanceof iP?b.W.push(c):c instanceof lP&&b.V.push(c)})};
c1c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof kP)b.H&&($0c(b.H),b.H=null);else if(c instanceof iP){var d=_.ka(b.W,function(e){return b.ha.equals(e.Ad(),c.Ad())});0<=d&&($0c(b.W[d]),_.sa(b.W,d))}else c instanceof lP&&(d=_.ka(b.V,function(e){return b.ha.equals(e.Ad(),c.Ad())}),0<=d&&($0c(b.V[d]),_.sa(b.V,d)))})};
var d1c=function(a){var b=[];a.H&&b.push(a.H);_.ya(b,_.xa(a.W));_.ya(b,_.xa(a.V));return b},e1c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Pk(c.Ad()),_.Ak(c,32),_.YL(c,26),!_.Ok(a.ka,c)):!0})},f1c=function(a,b){return _.zf(a.V,function(c){return c.Hc()==b})},g1c=function(a,b){return e1c(a).find(function(c){return a.ha.equals(c.Ad(),$O(a.ha,b,!0))})},h1c=function(a,b){_.xi.call(this,"Ib");this.ma=a;this.ha=b};_.N(h1c,_.xi);h1c.prototype.getError=function(){return this.ha};
h1c.prototype.H=function(){return this.ma};var i1c=function(a){_.xi.call(this,"Jb");this.H=a};_.N(i1c,_.xi);i1c.prototype.getPeople=function(){return this.H};var j1c=function(a){_.xi.call(this,"Kb");this.H=a};_.N(j1c,_.xi);j1c.prototype.getPeople=function(){return this.H};var l1c=function(a,b,c){this.ka=a;this.H=void 0===c?0:c;this.V=new Set(b?[b]:[]);this.W=this.ha=null;k1c(this)};l1c.prototype.Ql=function(){return this.ka.clone()};l1c.prototype.ef=function(){return this.H};
var k1c=function(a){1==a.H?(a.ha=Date.now(),a.W=null):4==a.H&&(a.W=Date.now())},n1c=function(a,b,c,d){_.Hi.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.sL(function(){return m1c(e)},100,this);this.H=[]};_.N(n1c,_.Hi);
var m1c=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));o1c(a,b)}})},o1c=function(a,b){a.ha.then(function(c){return c.H(lWc(new _.GM,b))}).then(function(c){c=c.yq();a.dispatchEvent(new i1c(c))},function(c){c=_.bM(c);a.dispatchEvent(new h1c(b,c))})},r1c=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.ka=new _.he(this);this.Oa(this.ka);this.Ea=b;this.W=
d;this.Ba=e;this.V=!_.F(a,90,!1);(d=_.D(a,pVc,85))||(d=new pVc);this.ta=_.rk(d,1,864E5);this.ma=new n1c(a,b,c,f);this.H=new Map;this.va=new _.qE(function(){var k=yWc(h.Ba,106015);if(k){var l=_.D(_.yN(k),gWc,11);if(!l){l=new gWc;var n=_.yN(k);_.y(n,11,l)}_.B(l,1,h.H.size);k.H()}},500,this);this.ka.listen(this.ma,"Jb",function(k){k=k.getPeople();p1c(h,k,1);h.va.De()});this.ka.listen(this.ma,"Ib",function(k){return q1c(h,k)});this.ha=new Map};_.N(r1c,_.Hi);
r1c.prototype.get=function(a){var b=this.V?_.Rg():"";this.V&&this.W.create(b,lWc(new _.GM,[a]));var c=this.H.get(a);if(c)return s1c(this,c)?(this.V&&dP(this.W,b,1==c.ef()&&Date.now()-Number(c.ha)>this.ta?6:5),t1c(this,a)):this.V&&s0c(this.W,b,1,_.zN(_.nKc,10),null),c;this.V&&dP(this.W,b,5);return null};var t1c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.GL(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.De());c=new _.mo;a.ha.set(b,c);return c.promise};
r1c.prototype.Xb=function(a){var b=this,c=this.V?_.Rg():"";this.V&&this.W.create(c,lWc(new _.GM,[a]));return u1c(this,a)?(this.V&&s0c(this.W,c,1,_.zN(_.nKc,10),null),Promise.resolve(this.H.get(a))):t1c(this,a).then(function(){b.V&&(u1c(b,a)?s0c(b.W,c,1,_.zN(_.nKc,1),null):dP(b.W,c,3));return b.H.get(a)})};r1c.prototype.Bc=function(){return 0==this.H.size};r1c.prototype.clear=function(){v1c(this,"Clearing the PeopleCache.");this.H.clear()};
var w1c=function(a){return[].concat(_.Pc(a.H.values())).filter(function(b){return[1,4,2].includes(b.ef())&&4!=b.ef()}).map(function(b){return b.Ql()})},x1c=function(a,b){return(a=a.H.get(b))?[].concat(_.Pc(a.V)):[]},y1c=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(_.Pc(e.V)).length&&a.H.delete(d))}},p1c=function(a,b,c){if(![1,2].includes(c))throw Error("Ue");0!=b.length&&(v1c(a,"Importing "+b.length+" from "+(Object.keys(y0c)[c]+
".")),z1c(a,b,c))},B1c=function(a,b,c,d){0!=b.length&&A1c(a,b,c,void 0===d?0:d)},u1c=function(a,b){b=a.H.get(b);return!(!b||![1,4,2].includes(b.ef())||s1c(a,b))},A1c=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()){var h=f.value;if(f=a.H.get(_.C(h,1))){var k=d;if(_.C(h,1)!=_.C(f.Ql(),1))h=!1;else{var l=f.ef();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=_.SKc.get(f.H)||1,p=!1;l&&(p=!_.Ok(f.ka,h),f.ka=h.clone());f.H=k;k1c(f);
h=p||n!=(_.SKc.get(f.H)||1)}else h=!1}h&&(e=!0);c&&f.V.add(c)}else 4!=d&&(e=!0,f=a,k=d,l=c,1!=k&&t1c(f,_.C(h,1)),k=new l1c(h,l,k),f.H.set(_.C(h,1),k))}return e},s1c=function(a,b){switch(b.ef()){case 1:return Date.now()-Number(b.ha)>a.ta;case 4:return 1E3<Date.now()-Number(b.W);default:return!0}},v1c=function(a,b){a.Ea.log("drive.ds.sync.cache.PeopleCache",b,"info")},q1c=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.Ql():nTc(new nO,c)});z1c(a,b,4)},z1c=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))}A1c(a,b,void 0,c)&&a.dispatchEvent(new j1c(b))},C1c=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.V=new _.he(this);this.Oa(this.V);this.H=new r1c(a,b,c,d,e,f);this.V.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};_.N(C1c,_.Hi);
C1c.prototype.uM=function(a){if(a.H){var b=a.H.getItem(),c=D1c(this,[b]).map(function(d){return pTc(d)});B1c(this.H,c,a.H.getId(),E1c(_.C(b,82)))}a.V&&y1c(this.H,a.id,F1c(this,a))};
var E1c=function(a){return _.TKc.get(a)||0},F1c=function(a,b){var c=G1c(a,b.V),d=G1c(a,b.H);return c.filter(function(e){return!d.includes(e)})},G1c=function(a,b){return b?D1c(a,[b.getItem()]).map(function(c){return _.CG(c)}):[]},I1c=function(a,b){b=b.getUser();B1c(a.H,[pTc(b)],"ACCOUNT");H1c(a,b)},K1c=function(a,b){var c=_.Jk(b,_.pN,2).map(function(d){var e=_.D(d,_.ml,9,1);return a.H.Xb(_.CG(e)).then(function(){return void J1c(a,[e])})});return Promise.all(c).then(function(){return b})},J1c=function(a,
b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.CG(c)&&H1c(a,c)},L1c=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.CG(f)&&(d.add(_.CG(f)),B1c(a.H,[pTc(f)],c));return Promise.all([].concat(_.Pc(d)).map(function(h){return a.H.Xb(h)})).then(function(){return J1c(a,b)})},N1c=function(a,b){return D1c(a,[b]).some(function(c){return!M1c(a,_.CG(c))})},M1c=function(a,b){return u1c(a.H,b)},D1c=function(a,b){return b.map(function(c){var d=c.ww();d=d?[].concat(_.Pc(d.rK()),
_.Pc(_.Jk(d,_.ml,3))):[];var e=c.Rf();e=(e=e&&_.Jd(e))?D1c(a,[e]):[];return[].concat(_.Pc(_.Al(c)),[c.Hp(),c.oC(),c.Jp(),c.DE()],_.Pc(d),_.Pc(e))}).flat().filter(function(c){return c&&!!_.CG(c)})};C1c.prototype.getItems=function(a){return x1c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var O1c=function(a,b){return b.map(function(c){c=c.clone();var d=D1c(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Ak(e,3),_.Ak(e,8),_.Ak(e,5);return c})},H1c=function(a,b){var c=a.H.get(_.CG(b));if(c){a=c.Ql();var d=_.cMc(b.jd(a.getName()),a.getEmail());c=_.SKc.get(c.H)||1;_.B(d,16,c);(a=_.D(a,oTc,4))&&b.ao(a.getUrl())}},P1c=function(){this.ma=this.ka=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};P1c.prototype.Af=function(){return this.ma};P1c.prototype.mta=function(){return this.W};
P1c.prototype.Bc=function(){return this.H};
var Q1c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},R1c=function(a,b){a=Q1c(a);b=Q1c(b);return!(!a||!b||a!=b)},S1c=function(a){return a.Rc()+"_"+Q1c(a.getName())},T1c=function(a,b){var c=a.V().map(function(d,e){return b[Number(e)].value.H.promise});return Promise.allSettled(c).then(function(d){return a.V().map(function(e,f){e=e.toString();var h=new C0c;e=_.B(h,1,e);f=d[Number(f)];"fulfilled"==f.status?e.Gc(1):(e.Gc(3),e.Qe(f.reason.kh));return e})})},mP=function(a,b){_.P.call(this);
this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.N(mP,_.P);var W1c=function(a,b){a.H.add(b);U1c(a).then(function(){return V1c(a,b)})};mP.prototype.ef=function(){return this.ka};mP.prototype.bya=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.zia(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?X1c(this):_.bi([])};
var X1c=function(a){for(var b=[],c=_.m(a.H.values()),d=c.next();!d.done;d=c.next())b.push(V1c(a,d.value));return _.gi(b)},Y1c=function(a,b){a.status=3;for(var c=[],d={},e=_.m(a.H.values()),f=e.next();!f.done;d={Yma:d.Yma},f=e.next())d.Yma=f.value,c.push(a.ha.then(function(h){return function(k){k.Ea[h.Yma]=b;k.V||(k.V=_.Ji(k.ka,50,k))}}(d)));_.gi(c)},Z1c=function(a){for(var b=[],c={},d=_.m(a.H.values()),e=d.next();!e.done;c={Zma:c.Zma},e=d.next())c.Zma=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Zma])&&h.HO()}}(c)));_.gi(b).then(function(){var f=0==a.ef()?1:6;a.ka=f})},U1c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=$1c(b,d).Ad();c=Math.max(c,d.li?d.li()||0:0)});a.xia(c)})},a2c=function(a,b){return b?a.ma.get(a.$ea(b)):null};mP.prototype.yia=function(a,b){b=a_c(a2c(this,a),b);this.ma.set(this.$ea(a),b)};mP.prototype.$ea=function(a){return a};mP.prototype.nea=function(){};
var V1c=function(a,b){return a.ha.then(function(c){var d=a.W7();c.Ba[b]=d;c.V||(c.V=_.Ji(c.ka,50,c))})};mP.prototype.removeItem=function(){};var nP=function(a,b){_.Hi.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.N(nP,_.Hi);
var b2c=function(a){return!a.ma||""!=a.ha},oP=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&b2c(a)?c2c(a):_.bi()},c2c=function(a){a.ma=!0;a.V=!0;var b=a.Pca(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return d2c(a,c)},function(c){a.V=!1;c=_.OL(c);var d=new eP(c);a.CSa(d);a.dispatchEvent(d);return _.ei(c)})},d2c=function(a,b){a.V=!1;a.ha=a.pfa(b);b=a.Eea(b);b.forEach(function(c){return a.H.push(c)});a.X7(b);return a.H.length<a.W&&b2c(a)?_.gi([_.bi(b),c2c(a)]).then(function(c){return c[0].concat(c[1])}):
_.bi(b)};nP.prototype.X7=function(){};nP.prototype.CSa=function(){};var e2c=function(a,b,c){nP.call(this,c,function(d){return a.then(function(e){return e.H(d)}).qg(function(e){return _.cM(e)})});this.ka=b};_.N(e2c,nP);_.g=e2c.prototype;_.g.Pca=function(a,b,c){a=_.Pk(a);a.Ei(b);return new _.BLc(a,c)};_.g.pfa=function(a){return a.pageToken||""};_.g.Eea=function(a){return a.response.V()};_.g.X7=function(a){pP(this.ka,a,!1,1)};
_.g.CSa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&Y1c(b,a)};var f2c=function(a,b,c,d){mP.call(this,a,_.Pk(d));this.V=[];this.W=null;this.va=b;this.ta=c};_.N(f2c,mP);f2c.prototype.refresh=function(){Z1c(this);this.W=new e2c(this.va,this.ta,this.request);return oP(this.W,this.request.li()||100)};var g2c=function(a,b){return a.V.find(function(c){return R1c(c.getName(),b)})};_.g=f2c.prototype;
_.g.xia=function(a){this.W&&a==this.request.li()||(this.request.Ei(a),this.W?oP(this.W,a):this.refresh())};_.g.W7=function(){var a=this,b=LXc((new GO).Gc(this.status),this.V.filter(function(c){return a.ta.swa(c)}).map(function(c){return c.clone()}));return new _.EN(b,void 0,void 0,this.ef())};_.g.bya=function(a,b,c){var d=this;a=a.filter(function(e){return e.Rc()==d.request.Rc()});return mP.prototype.bya.call(this,a,b,c)};
_.g.zia=function(a,b){b=void 0===b?1:b;if(!ZZc(a2c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return R1c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.yia(a.getName(),b);return!0};_.g.removeItem=function(a){_.va(this.V,function(b){return R1c(b.getName(),a)})&&(this.ma.delete(this.$ea(a)),X1c(this))};_.g.$ea=function(a){return Q1c(a)};_.g.yia=function(a,b){g2c(this,a)&&mP.prototype.yia.call(this,a,b)};
_.g.nea=function(a){var b=this;return a instanceof _.MM&&a.Rc()!=this.request.Rc()?[]:a.tS().map(function(c){return g2c(b,c.tm())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var qP=function(){this.H=new Map},h2c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Sca(c),a.H.set(d,e));W1c(e,b);return f},i2c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.eqa(c),a.H.set(d,e));W1c(e,b);return f},j2c=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.H.delete(b),0==d.H.size&&d.dispose(),d.isDisposed()&&a.H.delete(a.getKey(c)))},k2c=function(a,b){return a.H.get(b)},pP=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.swa(f)});a.H.forEach(function(f){f.bya(e,
c,d)})};qP.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};qP.prototype.nea=function(a){var b=Array.from(this.H.values()).map(function(c){return c.nea(a)});return[].concat.apply([],_.Pc(b))};var l2c=function(a,b){a.H.forEach(function(c){c.yia(b,-2)})};qP.prototype.swa=function(){return!0};qP.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Sca(b),f.ka=c,this.H.set(e,f),pP(this,a,d))};
var m2c=function(){this.W=new Set;this.V=0;this.H=[]},n2c=function(a,b){a.W.add(b)};m2c.prototype.ha=function(a){this.W.delete(a)};var o2c=function(a,b){var c;if(c=b instanceof _.zl)c=b.Ix(),c=!!(b.ri()&&c&&c<=Math.max.apply(Math,_.Pc([a.V].concat(_.Pc(a.H)))));if(c)return!0;b=b instanceof _.zl?b.getId():b;return a.W.has(b)},p2c=function(a,b){return _.va(a.H,function(c){return c==b})&&b>a.V?(a.V=b,!0):!1};m2c.prototype.q4=function(a){var b=this;return a.filter(function(c){return!o2c(b,c)})};
var q2c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new m2c};_.N(q2c,qP);var r2c=function(a,b){n2c(a.W,S1c(b));(a=k2c(a,b.Rc()))&&X1c(a)};_.g=q2c.prototype;_.g.getKey=function(a){return a.Rc()};_.g.Sca=function(a){return new f2c(this.ha,this.ka,this,a)};_.g.eqa=function(a){return new f2c(this.ha,this.ka,this,a)};_.g.xqb=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=k2c(this,b.getId()))&&b.refresh()};_.g.swa=function(a){return!o2c(this.W,S1c(a))};
var s2c=function(a,b){this.V=a;this.H=b},t2c=function(a,b){b=_.nPb(b);var c=new e2c(a.V,a.H,b);new Promise(function(d,e){return oP(c,100).then(d,e)})},u2c=function(){this.H={}},rP=function(a,b){v2c(a,"subscribed");b&&v2c(a,b);return a.H[b||"subscribed"].mj.promise},v2c=function(a,b){a.H[b]||(a.H[b]={count:0,LQa:[],bWa:[],mj:_.ii()});a.H[b].count++},x2c=function(a,b){b&&!w2c(a,b)||w2c(a,"subscribed")},w2c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].mj.resolve({items:a.H[b].LQa,
tAb:a.H[b].bWa}),_.$f(a.H,b));return!0};u2c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Hc();f&&f==e.Rc()&&c.H[f]&&c.H[f].bWa.push(e);c.H[d]&&c.H[d].LQa.push(e)})};var y2c=function(a,b,c){nP.call(this,a,c);this.ka=b};_.N(y2c,nP);y2c.prototype.Pca=function(a,b){return _.Pk(a).Ei(b)};y2c.prototype.pfa=function(){return""};y2c.prototype.Eea=function(a){return[a]};y2c.prototype.X7=function(a){this.ka(a)};
var z2c=function(a,b,c,d){mP.call(this,a,_.Pk(d));this.ta=c;this.va=b;this.V=this.W=null};_.N(z2c,mP);z2c.prototype.refresh=function(){var a=this;Z1c(this);this.V=new y2c(this.request,this.ta,function(b){return a.va.then(function(c){return c.H(b)})});return oP(this.V,this.request.li()||0)};z2c.prototype.xia=function(a){1==this.status||this.V&&a==this.request.li()||(this.request.Ei(a),this.V?oP(this.V,a):this.refresh())};
z2c.prototype.W7=function(){if(this.W)return this.W;var a=new JO;a.Gc(this.status);return a};z2c.prototype.zia=function(a){this.W=a;return!0};var A2c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.N(A2c,qP);var B2c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};A2c.prototype.getKey=function(a){return a.toString()};A2c.prototype.Sca=function(a){var b=this;return new z2c(this.W,this.ka,function(c){pP(b,c,!1)},a)};
A2c.prototype.eqa=function(){throw Error("Ve");};A2c.prototype.V=function(a,b,c,d){var e=a[0].hk();B2c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));qP.prototype.V.call(this,a,b,c,d)};var C2c=function(a,b,c,d){_.Hi.call(this);this.request=a;this.Ia=b;this.Ba=c;this.Ea=d;this.ha=new Set;this.va=0;this.H=null};_.N(C2c,_.Hi);
var D2c=function(a){if(a.H)return a.H.promise;a.H=_.ii();a.W(a.request).forEach(function(b,c){a.va++;a.Ia.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};C2c.prototype.Ma=function(a,b){this.ka(b);E2c(this,a)};var E2c=function(a,b){a.ha.add(b);a.ha.size==a.va?(a.ma(a.request),a.dispatchEvent("Fb"),a.H.resolve()):a.dispatchEvent("Cb")};
C2c.prototype.Ka=function(a,b){b=_.bM(b);var c=b.kh;5==c.gz()||4==c.Vj()?(this.Ea.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),E2c(this,a)):(a=new eP(c,_.rk(this.Ba.Sf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var F2c=function(a){var b=new _.NB;b.Yb(a);return b},G2c=function(a,b,c,d,e){C2c.call(this,_.Pk(a),c,d,e);this.V=b};_.N(G2c,C2c);
G2c.prototype.W=function(a){var b=new Map;a.ym().forEach(function(c){var d=_.Pk(a).Wb([c]);b.set(c,d)});return b};G2c.prototype.ka=function(a){var b=[];a.UR().forEach(function(c){b.push(c)});this.V(b,!0)};G2c.prototype.ma=function(){this.V([],!1)};G2c.prototype.ta=function(a){this.V([F2c(a)],!0)};var H2c=function(a,b,c,d,e,f){mP.call(this,a,_.Pk(f));this.va=e;this.Ea=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.N(H2c,mP);
H2c.prototype.refresh=function(){this.W=new G2c(this.request,this.va,this.Ea,this.ta,this.Ba);return D2c(this.W)};H2c.prototype.xia=function(){this.W||this.refresh()};H2c.prototype.W7=function(){var a=new _.CN;a.Gc(this.status);_.Rf(this.V,function(b,c){a.UR().set(c,b||new _.NB)});fYc(a,this.ef());return a};H2c.prototype.zia=function(a){var b=a.getId();if(_.Ok(a,F2c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.ym().indexOf(b))return this.V[b]=a,!0;return!1};
var I2c=function(a,b){a=a.getState();return null==a||b.getState()==a},J2c=function(a,b,c){nP.call(this,a,c);this.ka=b};_.N(J2c,nP);J2c.prototype.Pca=function(a,b,c){a=_.Pk(a);a.Ei(b);return new _.PLc(a,c)};J2c.prototype.pfa=function(a){return a.pageToken||""};J2c.prototype.Eea=function(a){return a.response.hk()};J2c.prototype.X7=function(a){this.ka(a)};var K2c=function(a){this.W=i_c(a,{numeric:!0})};
K2c.prototype.H=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!=e?f=this.W(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};K2c.prototype.V=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!=e?f=_.Fa(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};var L2c=function(a,b,c,d,e){mP.call(this,a,_.Pk(e));this.va=d;this.Ba=b;this.W=[];this.V=null;a=new K2c(c);b=(c=this.request.Lt())?c.getType():0;c=c?_.C(c,2):0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};_.N(L2c,mP);
L2c.prototype.refresh=function(){var a=this;Z1c(this);this.V=new J2c(this.request,this.va,function(b){return a.Ba.then(function(c){return c.H(b)})});return oP(this.V,this.request.li()||0)};L2c.prototype.xia=function(a){1==this.status||this.V&&a==this.request.li()||(this.request.Ei(a),this.V?oP(this.V,a):this.refresh())};L2c.prototype.W7=function(){var a=new gP;a.Gc(this.status);E0c(a,this.W.map(function(b){return _.Pk(b)}));return new _.IOc(a,void 0,1!=this.status&&b2c(this.V),this.ef())};
L2c.prototype.zia=function(a){var b=_.va(this.W,function(c){return c.getId()==a.getId()});return a&&I2c(this.request,a)&&!_.Ok(a,F2c(a.getId()))?qSc(this.W,a,this.ta):b};var M2c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.N(M2c,qP);var N2c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};M2c.prototype.getKey=function(a){return a.toString()};
M2c.prototype.Sca=function(a){var b=this;return new L2c(this.ha,this.ma,uO(_.EL(this.W)),function(c){return pP(b,c,!1)},a)};M2c.prototype.eqa=function(a){var b=this;return new H2c(this.ha,this.ma,this.W,this.ka,function(c,d){return pP(b,c,d)},a)};M2c.prototype.V=function(a,b,c,d){N2c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));qP.prototype.V.call(this,a,b,c,d)};
var O2c=function(a,b){b=void 0===b?!1:b;var c=a.jc();hO(a)&&(c=(c=a.Rf())?_.C(c,3):"");iO(a)&&(a.Ui()&&(c+="+"+String(a.Ui())),a.zj()&&(c+="+shared"));return _.kRa(c,b?"32":"16")},P2c=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("&")},Q2c=function(a,b){var c=_.H(a,44),d=a.Rf();if(d){if(1!=_.Md(d))return null;c=(c=_.Jd(d))?_.H(c,44):!0}if(!c)return null;c={};d=a.getId();hO(a)&&(d=ISc(a));d=[_.G(b,
65,"https://lh3.google.com"),"u",_.PL(_.EL(b)),"d",d].join("/");d+="={size}";_.lN(b)&&a.hH()&&(c.resourcekey=_.Fl(a));return d=P2c(d,c)},R2c=function(a){this.H=a},T2c=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=O2c(b,_.F(a.H,75,!1));_.B(b,21,d)}c.includes(18)&&_.KMc(b,qTc(b,a.H));c.includes(19)&&(d=Q2c(b,a.H),_.B(b,20,d));S2c(a,b,c);if(hO(b)){if(d=(d=b.Rf())&&_.Jd(d)){if(c.includes(20)&&c.includes(3)){var e=O2c(d,_.F(a.H,75,!1));_.B(d,21,e)}c.includes(18)&&_.KMc(d,qTc(d,a.H));c.includes(19)&&
(e=Q2c(d,a.H),_.B(d,20,e));S2c(a,d,c)}_.OMc(b,!!b.xw())}},S2c=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.jc();e&&(e=!iO(b)&&!hO(b)&&!_.nd(e)&&(!b.S3()||2!=b.io()),d&&_.B(b,40,e),e&&c&&(a=a.H,d=b.getId(),hO(b)&&(d=ISc(b)),c=new _.xj(_.G(a,16,"")+"/uc"),_.Fj(c,"id",d),_.Fj(c,"authuser",_.PL(_.EL(a))),_.Fj(c,"export","download"),_.lN(a)&&b.hH()&&_.Fj(c,"resourcekey",_.Fl(b)),_.B(b,41,c.toString())))}},U2c=function(a,b){this.W=b||new Date;this.V=a;this.H=sSc(this.V)};
U2c.prototype.clone=function(){return new U2c(this.V,this.W)};var V2c=function(){this.H=null;this.V=[]},W2c=function(a){return _.ib(a.V,function(b){return _.bg(b)})};
V2c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new N0c;e.W=M0c(d.H);var f=_.Rg().substring(0,8);d=sSc(f);f=(new o0c).Yb(f);f=_.B(f,2,d);b=_.B(f,3,b).Qi(c);this.V.push(b);e.V=M0c(d);e.H=K0c(808464432,808464432);e.ha=41;b=String.fromCharCode;c=b.apply;d=new _.bk;if(e.W){f=e.W.V>>>0;var h=e.W.H>>>0;_.ck(d,1,1);var k=d.V;WTc(k,f);WTc(k,h)}e.V&&(f=e.V.V>>>0,h=e.V.H>>>0,_.ck(d,2,1),k=d.V,WTc(k,f),WTc(k,h));f=e.ha;null!=f&&(_.ck(d,3,5),WTc(d.V,f));e.H&&(f=
e.H.V>>>0,e=e.H.H>>>0,_.ck(d,4,1),h=d.V,WTc(h,f),WTc(h,e));e=_.dk(d);a["X-Google-DapperTraceInfo"]=_.q.btoa(c.call(b,null,e))}}};var X2c=function(){this.Hb=[];this.V=this.H=0};X2c.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 Y2c=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},Z2c=function(a){this.W=a;this.V=new _.NKc(new _.PKc,_.tla(a));this.H=new _.PKc};Z2c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.ula(b);c=$2c(this,a);return b.concat(c,a3c(this,b,a,!0))};
var b3c=function(a,b){var c=a3c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=$2c(a,c);if(b!=a)throw Error("We");return c},$2c=function(a,b){a=_.OKc(a.V,_.kLc(b));return _.ula(a)},a3c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new X2c;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=_.kLc(c.substring(8192*
e,8192*(e+1))),Y2c(b,a),d+=_.ula(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;Y2c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("Xe");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=c3c(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=c3c(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=c3c(d,e++),k=c3c(d,e++),l=c3c(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=c3c(d,e++),k=c3c(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},c3c=function(a,b){return a[Math.floor(b/8192)][b%8192]},d3c=function(a,b,c){this.V=a;this.H=!1;this.ha=b;this.W=c};d3c.prototype.getData=function(){return this.V};d3c.prototype.vn=function(){return this.ha};
var e3c=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.ma=a;this.ka=b;this.W=c;this.V=d;this.H=_.xa(e);_.Ha(this.H);_.Ea(this.H);this.q7=f;this.ha=null;this.ta=this.va=!1;this.Ba=void 0};e3c.prototype.Yx=function(){return this.ma};e3c.prototype.Xe=function(){return this.ka};e3c.prototype.Xg=function(){return _.xa(this.H)};
var sP=function(a){if(!a.ha){var b=new _.tL;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.mIc(b.digest())}return a.ha},f3c=function(a){return{versionKey:sP(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.q7}},g3c=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 e3c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:sP(a)!=d&&(a=null);return a},h3c=function(a,b,c){return[a.Yx(),a.Xe(),
b?"#":sP(a)].join(":")+":"+(c||"")},i3c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};i3c.prototype.getKey=function(){return this.H};i3c.prototype.hb=function(){return this.V};
var j3c=function(a,b){a=h3c(a,b);return PXc(a+"A",a+"z")},k3c=function(a,b){this.zaa=a;this.yaa=b},l3c=function(a){return a?new k3c(a.versionKey,a.versionChangeTimestamp):null},m3c=function(a,b){return a+":"+b},n3c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.QX=void 0===e?null:e},o3c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.QX}},p3c=function(a,b,c,d){a=sP(a)+"_"+b;3==b&&(a+="_"+d);return a+=_.My(":%02d",c)},q3c=function(a,
b,c,d){c=p3c(a,b,void 0===c?0:c,d);a=sP(a)+"_"+b;3==b&&(a+="_"+d);return PXc(c,a+":a")},r3c=function(a){var b=sP(a)+"_";a=sP(a)+"_A";return PXc(b,a)},s3c=function(a){return a?new n3c(a.data,a.index,a.size,a.timestamp,a.e):null},t3c={BWb:"Versions",l2a:"Metadata",kLb:"Data",F2a:"Offline"},tP=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.P.call(this);var e=this;this.Ka=null;this.rb=a.then(function(f){e.Ka=f});this.ab=b;this.ka=c;this.Ba=d;this.H=null;this.Ia=!1;this.Ea=!0;this.W=null;this.ma=
!1;this.V="";this.Bb=new _.he(this);this.Oa(this.Bb);this.ta=null};_.N(tP,_.P);tP.prototype.initialize=function(){return u3c(this)};
var u3c=function(a,b){a.W||(a.W=_.ii(),a.rb.then(function(){b?(a.Ea=!1,v3c(a,b),w3c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.W.resolve()):(a.ka&&(a.ta=a.ka.V(106004)),w3c(a,"Opening database GoogleDriveDs (version 2)"),_.dJc("GoogleDriveDs",2,a.Ma.bind(a),a.va.bind(a)).hg(a.Wa.bind(a),a.va.bind(a)),_.Li(2E4).then(a.Qa.bind(a)))},function(c){a.W.reject(new _.Rb("Database version error",void 0,_.FL(c)?c:void 0))}));return a.W.promise},v3c=function(a,b){a.H=b;a.Bb.listen(a.H,
"close",a.ha.bind(a,"Browser closing database"));a.Bb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};tP.prototype.Ma=function(a,b){w3c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ia=!0;_.La(b.H.objectStoreNames,function(c){return _.dNc(b,c)});_.Rf(t3c,function(c){var d=_.UKc.get(c);_.aJc(b,c,d?{keyPath:d}:void 0)})};
tP.prototype.va=function(a){var b;a&&a instanceof _.wL&&"InvalidStateError"==a.getName()&&_.Oj.gv?b=Error("Ye"):_.FL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.W.reject(b);x3c(this,!1)};tP.prototype.Wa=function(a){this.ma?a.dispose():(v3c(this,a),this.Oa(this.H),this.Ba||y3c(this).qg(function(){}),w3c(this,"Initialized database GoogleDriveDs"),this.W.resolve(),x3c(this,!0))};
var x3c=function(a,b){if(a.ta){var c=a.ta,d=_.D(_.yN(c),dWc,5);d||(d=new dWc,c=_.yN(c),_.y(c,5,d));d=_.B(d,1,2);c=a.xi().W;d=_.B(d,2,c);c=a.xi().va;d=_.B(d,5,c);b=_.B(d,3,b);b=_.B(b,4,a.Ia);d=a.xi().Ba;_.B(b,6,d);a.ta.H();a.ta=null}};tP.prototype.Qa=function(){this.H||this.Uf()||(this.ha("Opening database GoogleDriveDs timed out."),this.va(Error("Ze")))};tP.prototype.ha=function(a){w3c(this,a);this.ma||(this.ma=!0,this.V="Database disabled: "+a,this.H&&this.Ea&&this.H.close())};tP.prototype.Uf=function(){return this.ma};
var z3c=function(a){return a.ma?a.V:null};tP.prototype.xi=function(){return this.Ka};
var uP=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ba&&"readonly"!=c)return null;a=a.H;try{return _.bJc(a,[b],c)}catch(d){return null}},y3c=function(a){var b=uP(a,"Versions","readwrite");if(!b)return _.ei(Error("$e"));_.VIc(b.objectStore("Versions"),f3c(a.xi()));return b.wait().then(function(){})},A3c=function(a){if(!a.H)return _.ei(Error("af"));if(a.Uf())return _.ei(Error(a.V));var b=uP(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(sP(a.xi())).then():_.ei(Error("bf"))},B3c=
function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=s3c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("cf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("df")),0;var e=d[0].size;if(!e)return b.reject(Error("ef")),0;if(e>d.length)return b.reject(Error("ff`"+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("gf`"+e)),0;if(c&&a<c)return b.reject(Error("hf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},D3c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.ei(Error("jf"));if(a.Uf())return _.ei(Error(a.V));var e=q3c(a.xi(),b,0,c),f=uP(a,"Data");if(!f)return _.ei(Error("kf"));e=f.objectStore("Data").getAll(e);var h=_.ii();e.hg(function(k){k=B3c(k,h,d);a.Ba||null==k||C3c(a,b,c,k).qg(function(){})},h.reject);return h.promise},F3c=function(a,b,c,d,e,f){if(a.H){if(a.Uf())return _.ei(Error(a.V));if(100<b.length||3==c&&void 0==d)return _.ei(Error("lf"))}else return _.ei(Error("mf"));
var h=Date.now(),k=b.length;b=b.map(function(p,r){return{key:p3c(a.xi(),c,r,d),data:new n3c(p.getData(),r,k,h,e),metadata:p}});var l=uP(a,"Data","readwrite");if(!l)return _.ei(Error("nf"));var n=l.objectStore("Data");b.forEach(function(p){var r=E3c(a,c,d,p.metadata,f);_.VIc(n,o3c(p.data),p.key).then(function(){r&&($Vc(xO(r),!0),r.H())},function(u){var z=u instanceof _.wL?u.code:_.CIc;r&&a.ka&&(u=$Vc(xO(r),!1),z=_.zN(_.uKc,z),_.B(u,2,z),r.H())})});return l.wait().then(function(){})},E3c=function(a,
b,c,d,e){if(a.ka){if(a=a.ka.V(106019,e))b=bWc(aWc(xO(a),_.zN(_.tKc,b)),_.zN(_.qKc,c)),c=d.W,b=_.B(b,5,null==c?0:c?2:1),cWc(b,d.H),void 0!=d.vn()&&xO(a).Tv(d.vn());return a}return null},C3c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Uf())return _.ei(Error(a.V));if(3==b&&void 0==c)return _.ei(Error("of"))}else return _.ei(Error("pf"));b=q3c(a.xi(),b,d,c);a=uP(a,"Data","readwrite");if(!a)return _.ei(Error("qf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})},G3c=function(a){if(!a.H)return _.ei(Error("rf"));
if(a.Uf())return _.ei(Error(a.V));var b=r3c(a.xi());a=uP(a,"Data","readwrite");if(!a)return _.ei(Error("sf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
tP.prototype.getMetadata=function(a){if(this.H){if(this.Uf())return _.ei(Error(this.V));if(a&&0==a.length)return _.ei(Error("tf"))}else return _.ei(Error("uf"));var b=this.xi(),c=uP(this,"Metadata");if(!c)return _.ei(Error("vf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(h3c(b,h.global,h.key)).then())});a=_.gi(e)}else a=_.gi([d.getAll(j3c(b,!1)).then(),d.getAll(j3c(b,!0)).then()]).then(function(h){return pSc(h[0],h[1])});var f=_.ii();a.then(function(h){f.resolve(h.map(function(k){if(k){var l=
k.k.split(":"),n="#"==l[2];k=4!=l.length||!n&&l[2]!=sP(b)||l[0]!=b.Yx()||l[1]!=String(b.Xe())?null:new i3c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var H3c=function(a,b){if(a.H){if(a.Uf())return _.ei(Error(a.V));if(0==b.length)return _.ei(Error("wf"))}else return _.ei(Error("xf"));var c=uP(a,"Metadata","readwrite");if(!c)return _.ei(Error("yf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){var h=e.push,k=a.xi();f={k:h3c(k,f.global,f.H),v:f.V};h.call(e,_.VIc(d,f).then())});return _.gi(e).then(function(){})},I3c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Uf())return _.ei(Error(a.V))}else return _.ei(Error("Af"));var c=a.xi();a=
uP(a,"Metadata","readwrite");if(!a)return _.ei(Error("Bf"));a=a.objectStore("Metadata");var d=[];d.push(a.remove(j3c(c,!1)).then());b&&d.push(a.remove(j3c(c,!0)).then());return _.gi(d).then(function(){})},J3c=function(a){if(!a.H)return _.ei(Error("Cf"));if(a.Uf())return _.ei(Error(a.V));var b=m3c(a.xi().Yx(),a.xi().Xe());return(a=uP(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return l3c(c)}):_.ei(Error("Df"))},K3c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.ei(Error("Ef"));
if(a.Uf())return _.ei(Error(a.V));var c=a.xi(),d=m3c(c.Yx(),c.Xe());b=new k3c(sP(c),b?Date.now():void 0);a=uP(a,"Offline","readwrite");if(!a)return _.ei(Error("Ff"));_.VIc(a.objectStore("Offline"),{versionKey:b.zaa,versionChangeTimestamp:b.yaa},d);return a.wait().then(function(){})};
tP.prototype.Dm=function(a){var b=this;return this.H?this.Uf()?_.ei(Error(this.V)):J3c(this).then(function(c){var d=sP(b.xi());if(c)if(a){if(!c.yaa&&d==c.zaa&&d!=sP(a))return K3c(b,!0);if(c.yaa&&d==sP(a))return K3c(b)}else{if(d!=c.zaa)return K3c(b)}else if(!a)return K3c(b)}):_.ei(Error("Gf"))};var L3c=function(a){if(!a.H)return _.ei(Error("Hf"));if(a.Uf())return _.ei(Error(a.V));var b=a.xi(),c=m3c(b.Yx(),b.Xe());return J3c(a).then(function(d){if(d&&(d=uP(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
tP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Uf()?_.ei(Error(this.V)):J3c(this).then(function(c){var d=c&&c.zaa==sP(b.xi());return d&&!a?!1:(c&&d?L3c(b):_.bi()).then(function(){return _.gi([I3c(b,a),G3c(b),A3c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.ei(Error("If"))};tP.prototype.close=function(){this.ha("Closing database")};
var w3c=function(a,b){a.ab.info("drive.ds.sync.storage.VersionedDb",b)},M3c=function(a){if(1>=a.xi())return!1;var b=a.H.objectStoreNames;return _.Rc(t3c).every(function(c){return b&&b.contains(c)})},N3c=function(){var a=_.ii();_.dJc("GoogleDriveDs").hg(function(b){b?M3c(b)?a.resolve(b):(b.close(),_.ji(QXc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},O3c=function(a,b,c){var d=_.ii();a?_.bJc(a,["Versions"],"readonly").objectStore("Versions").getAll().hg(function(e){e=
_.Rc(e).map(function(f){return g3c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Yx()==b)&&(!c||f.Xe()==c)}))},d.reject):d.resolve([]);return d.promise},P3c=function(a,b,c){var d=_.ii();N3c().then(function(e){e?_.bJc(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return l3c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.yaa&&(h=c+f.yaa-Date.now());var k=_.bJc(e,["Versions"],"readonly");k.objectStore("Versions").get(f.zaa).then(function(l){(l=
g3c(l))?(l.va=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.ni(k.wait(),function(){return e.close()})}else d.resolve(null),e.close()},function(f){d.reject(f);e.close()}):d.resolve(null)},d.reject);return d.promise},Q3c=function(a,b,c){var d=_.ii(),e=new tP(_.bi(a),b);u3c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},R3c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Q3c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.gi(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+sP(l)))});d.resolve(k)})},S3c=function(a,b,c){var d=Date.now()-12096E5,e=_.ii();N3c().then(function(f){f?(_.ji(e.promise,function(){return f.close()}),O3c(f,a,b).then(function(h){return h.filter(function(k){return k.q7<d})},function(){return[]}).then(function(h){R3c(h,c,f,e)})):e.resolve([])});return e.promise},T3c=function(a,b,c){var d=_.ii();N3c().then(function(e){e?
(_.ji(d.promise,function(){return e.close()}),O3c(e,a,b).then(function(f){R3c(f,c,e,d,!0)})):d.resolve([])});return d.promise},U3c=function(a,b,c,d){if(a.length){var e=a.shift(),f=p3c(e,3,0,1);try{_.bJc(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=s3c(h))&&(!h.QX||h.QX&&d.has(e.V))?b.resolve(e):U3c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},V3c=function(a,b,c,d,e,f,h){var k=_.ii();N3c().then(function(l){l?(_.ji(k.promise,
function(){return l.close()}),O3c(l,a,b).then(function(n){return n.filter(function(p){return(!h||h!=sP(p))&&p.W==c&&p.q7>=e&&HSc(d.filter(function(r){return!_.VKc.has(r)}),p.Xg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(p,r){return r.q7-p.q7}),U3c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},W3c=function(a,b,c,d){this.V=a;this.H=_.ii();this.va=!1;this.ha=_.G(b,7,"");this.ma=_.rk(_.vO(b),6,2E7);this.ka=_.GL(b);this.ta=_.rk(_.vO(b),12,0);this.Ba=
c;this.W=d||null};W3c.prototype.initialize=function(){var a=this;this.va||(this.va=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.ri(this.H.promise)};
var X3c=function(a){if(a instanceof _.MC)return 0;if(a instanceof fP)return 1;if(a instanceof MWc)return 5;if(a instanceof VO)return 3;if(a instanceof A0c)return 6;throw new _.Rb("Unsupported dataShard in getDataType");},Y3c=function(a){if(0==a)return _.MC;if(1==a)return fP;if(5==a)return MWc;if(3==a)return VO;if(6==a)return A0c;throw new _.Rb("Unsupported dataType:"+a+" in getDataTypeCtor");},Z3c=function(a){if(a instanceof VO)return _.qk(a,13,0)},$3c=function(a){if(a instanceof VO)return a.Pd().length},
d4c=function(a,b,c,d){if(0==c.length)return _.bi();var e=X3c(c[0]);c.forEach(function(){});var f=Z3c(c[0]),h=0;3==e&&a4c(a,c);var k=!!b;return b4c(a,c).then(function(l){if(k){var n=a.W?a.W.V(106023,d):null;h=l.reduce(function(r,u){return r+u.vn()},0);var p=c4c(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.ei(Error("Jf"));r.forEach(function(u,z){z=l[z];z.V=u;z.H=!0});return l});n&&(cWc(bWc(aWc(xO(n),_.zN(_.tKc,e)),_.zN(_.qKc,f)),!0),p.then(function(){var r=
h;$Vc(xO(n),!0).Tv(r);n.H()},function(){var r=h;$Vc(xO(n),!1).Tv(r);n.H()}));return p}return l}).then(function(l){return a.H.promise.then(function(){return F3c(a.V,l,e,f,k,d)})})},b4c=function(a,b){return new _.ai(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Cc();if(n.length>a.ma)e=!0;else{var p=f.push,r=$3c(l);l instanceof VO?(l=_.H(l,6),l=null!=l?l:void 0):l=void 0;p.call(f,new d3c(n,r,l))}}});if(e){var h=Error("Kf"),k=new _.Qb;_.ML(k,2);_.WL(k,23);_.B(k,21,h.message);_.wr(k);
a.Ba(k);d(h)}c(f)})},a4c=function(a,b){Z3c(b[0]);b.forEach(function(){});a.ka||e4c(b);f4c(a,b)},vP=function(a,b,c,d,e,f){var h=_.ii(),k;_.ji(a.H.promise.then(function(){return D3c(a.V,c,d,e)}).then(function(l){var n=l.map(function(r){return r.data}),p=new _.li;if(l[0]&&l[0].QX){if(k=a.W?a.W.V(106022,f):null)cWc(bWc(aWc(xO(k),_.zN(_.tKc,c)),_.zN(_.qKc,d)),!0),p.om().then(function(r){var u=k;r=void 0!=r;$Vc(xO(u),r);_.jOc(u)});g4c(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 (Y3c(c))(JSON.parse(r));p+=$3c(r);n.push(r)});3==c&&(a.ka||h4c(n),i4c(n));k&&xO(k).Tv(p)}h.resolve(n)}),function(){k&&k.H()}).qg(h.reject,h);return h.promise},e4c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].mO().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Pd()||[]).forEach(function(h){_.IMc(h,j4c(_.Al(h),c,d));_.JMc(h,j4c([h.Hp()],c,d)[0]);var k=j4c([h.oC()],c,d)[0];_.y(h,47,k);k=j4c([h.Jp()],c,d)[0];_.y(h,91,k);k=j4c([h.DE()],
c,d)[0];_.y(h,95,k);if(h=h.ww())_.EMc(h,j4c(h.rK(),c,d)),_.FMc(h,j4c(_.Jk(h,_.ml,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});_.jb(a[0],2,e)}},j4c=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)?_.Ok(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.ml,e.Yb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},h4c=function(a){var b=new Map,c=new Map;a[0]&&a[0].mO()&&a[0].mO().forEach(function(d){b.set(d.getId(),
d);d=(new _.ml).Yb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Pd()||[]).forEach(function(e){_.IMc(e,k4c(_.Al(e),b,c));_.JMc(e,k4c([e.Hp()],b,c)[0]);var f=k4c([e.oC()],b,c)[0];_.y(e,47,f);f=k4c([e.Jp()],b,c)[0];_.y(e,91,f);f=k4c([e.DE()],b,c)[0];_.y(e,95,f);if(e=e.ww())_.EMc(e,k4c(e.rK(),b,c)),_.FMc(e,k4c(_.Jk(e,_.ml,3),b,c))});_.YL(d,2)})},k4c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Ok(c.get(f),e)?d.push(_.Pk(b.get(f))):
d.push(e)}else d.push(e)});return d},f4c=function(a,b){if(a.ta){a=a.ta;for(var c=b.length-1;0<=c;c--)if(_.qk(b[c],13,0)){for(var d=[],e=b[c].Pd();e.length>a;){var f=_.Aa(e,a-1,a);f=OZc(new VO,f);d.push(f)}OZc(b[c],e);d.length&&_.Wa(_.Aa,b,c+1,0).apply(null,d)}}},i4c=function(a){for(var b={},c=1;c<a.length;b={Oaa:b.Oaa},c++)if(!_.qk(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.qk(a[e],13,0);e++)d++;e=a[c-1];d=_.Aa(a,c,d);b.Oaa=e.Pd();d.forEach(function(f){return function(h){_.ya(f.Oaa,h.Pd())}}(b));
OZc(e,b.Oaa)}},c4c=function(a,b,c){if(!_.yKc()&&a.ha){var d=new Worker(_.bga(_.jz(a.ha)),void 0),e=new _.li;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Vd(Error(k))},!1);c=I0c(new H0c,c);d.postMessage({command:"encrypt",data:{request:c.Cc(),key:b}});return e}try{a=[];var f=new Z2c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.qi(a)}catch(k){h=_.si(k)}return h},g4c=function(a,b,c,d){for(var e=0;e<
d.length;e++)if(d[e].length>a.ma){b.callback(void 0);return}if(!_.yKc()&&a.ha){var f=new Worker(_.bga(_.jz(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 Z2c(c);for(c=0;c<d.length;c++)a.push(b3c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},l4c={key:"rid",global:!0},m4c={key:"ooi",global:!0},
n4c={key:"rtds",global:!1},o4c={key:"dct",global:!1},p4c={key:"pc",global:!1},q4c=function(a){this.H=new _.ai(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},r4c=function(a,b){return a.H.then(function(c){if(c&&!c.Uf())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.hb():void 0},function(){})})},wP=function(a,b,c){return a.H.then(function(d){return d&&!d.Uf()?H3c(d,[new i3c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):
!1})};q4c.prototype.Qn=function(){return r4c(this,l4c).then(function(a){return a?a:null})};
var s4c=function(a){return r4c(a,m4c).then(function(b){return"boolean"===typeof b?b:null})},t4c=function(a){return r4c(a,p4c).then(function(b){return"boolean"===typeof b?b:null})},u4c=function(a){return r4c(a,n4c).then(function(b){return Array.isArray(b)?b:null})},v4c=function(a){return r4c(a,o4c).then(function(b){return"number"===typeof b?b:null})},w4c=function(a){_.qf("drive.DebugUtil.printFindById",function(c){a.bS(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.qf("drive.DebugUtil.getLogs",
function(){return _.NNc(a.via())});_.qf("drive.DebugUtil.printLogs",function(){window.console.log(_.NNc(a.via()))});_.qf("drive.DebugUtil.printRequestHistory",function(){a.Zxa().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.qf("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Na();b&&_.F(b,1,!1)&&(_.qf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.qf("drive.DebugUtil.setOffline",function(c){return void a.Dm(c)}))},
x4c=function(){this.nr=[]};_.N(x4c,_.LN);x4c.prototype.add=function(a,b){var c=a.gu.request;return c instanceof _.RM&&_.C(c.request,12)?_.LN.prototype.add.call(this,a,b):!1};x4c.prototype.H=function(a){return this.nr.splice(0,Math.min(a,1))};var y4c=function(a,b){this.nr=[];this.V=b};_.N(y4c,_.LN);y4c.prototype.add=function(a,b){return a.gu.request instanceof _.RM?!1:_.LN.prototype.add.call(this,a,b)};
y4c.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.nr.length&&b.length<a;f++){var h=this.nr[f],k=h.gu.request;"undefined"!=typeof _.lM&&k instanceof _.lM||"undefined"!=typeof _.wM&&k instanceof _.wM||"undefined"!=typeof _.LM&&k instanceof _.LM?k="app|"+k.qh():k instanceof _.gM||k instanceof _.hM||k instanceof _.nM||k instanceof _.RL?k="item|"+(k instanceof _.gM?k.Rc():k.getId()):"undefined"!=typeof _.oM&&k instanceof _.oM||"undefined"!=typeof _.xM&&k instanceof _.xM?k="item|"+k.Rc():
k instanceof _.pM||k instanceof _.NM?k="item|"+k.Rc():"undefined"!=typeof _.JD&&k instanceof _.JD||"undefined"!=typeof _.ID&&k instanceof _.ID?(k="undefined"!=typeof _.JD&&k instanceof _.JD?k.V().getKey():k.getKey(),k="pref|"+_.C(k,2)+"|"+_.op(k)):k=k instanceof _.qM?"td|"+k.getId():null;var l=h.gu.request;if(l instanceof _.jM)l=!!_.H(l,8);else if(l instanceof _.hM){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.jc()&&_.A3a.has(l.jc()));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++)_.sa(this.nr,c[a]);return b};z4c=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};A4c=function(a){var b={};return b.parentId=a.qk(),b};B4c=function(a){var b={};_.dd(_.Qg(a.getTitle()))||(b.title=a.getTitle());_.BRc(b,_.Dd(a,3));_.H(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};C4c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};
D4c=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
E4c=function(a){var b={},c={};_.dd(_.Qg(a.getTitle()))||(b.title=a.getTitle());null!=a.Wg()&&(b.description=a.Wg());null!=_.H(a,4)&&(c.starred=_.H(a,4));null!=a.ri()&&(c.trashed=a.ri());_.dd(_.Qg(a.jc()))||(b.mimeType=a.jc());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.aNc(_.TNc(_.C(a,7)||0)));null!=_.H(a,11)&&(c.restricted=_.H(a,11));_.Vf(c)&&(b.labels=c);null!=a.Ui()&&(b.folderColor=a.Ui());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,_.ul,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)}_.BRc(b,_.Dd(a,8));return b};F4c=function(a){var b={};null!=_.H(a,3)&&(b.pinned=_.H(a,3));return b};
G4c=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,_.Og)("0",6-c.length)+c);c=_.D(a,_.QVc,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(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
H4c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.ERc[a.getState()])&&(b.state=a);return b};_.I4c=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.I4c,_.M);_.I4c.prototype.V=function(){return _.C(this,1)};var J4c=function(a){_.Q(this,a,0,-1,null,null)};_.O(J4c,_.M);J4c.prototype.V=function(){return _.H(this,1)};J4c.prototype.W=function(){return _.C(this,2)};_.K4c=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.K4c,_.M);_.g=_.K4c.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Yb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.jra=function(){return _.C(this,3)};_.g.Hx=function(){return _.C(this,4)};_.g.W5=function(){return _.D(this,J4c,6)};_.g.Wcb=function(){return _.D(this,_.I4c,7)};_.g.jMa=function(){return _.C(this,8)};_.g.ira=function(){return _.H(this,9)};_.xP=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.xP,_.M);_.g=_.xP.prototype;
_.g.getType=function(){return _.C(this,1)};_.g.getId=function(){return _.C(this,2)};_.g.Yb=function(a){return _.B(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.VJa=function(){return _.C(this,5)};_.g.setSize=function(a){return _.B(this,5,a)};_.g.A9a=function(){return _.C(this,6)};_.L4c=function(a,b){return _.B(a,6,b)};_.xP.prototype.Wg=function(){return _.C(this,8)};_.xP.prototype.Cm=function(a){return _.B(this,8,a)};
_.xP.prototype.V=function(){return _.H(this,9)};var yP=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.ma=a;this.Ea=b;this.Ka=c;this.Vb=e;this.Ma=d;this.Ia=f;this.H=[];this.items=[];this.ha=6;this.ta=rTc(new _.dO,[1]);this.ka=!0;this.W=e.li();this.V=!1;this.suggestionSessionId=null;this.Qh=0;_.Yd(this,function(){h.V=!1;h.H=[]})};_.N(yP,_.Hi);_.g=yP.prototype;_.g.Xi=function(){return String(_.Da(this))};_.g.Be=function(){return this.V};
_.g.activate=function(){this.V=!0;_.pa(this.items)&&6==this.Jb()&&this.Bk()||M4c(this)};_.g.Ad=function(){return this.Vb};_.g.li=function(){return this.W};_.g.Jb=function(){return this.ha};_.g.Yq=function(){return this.ta};_.g.Bk=function(){return this.ka};_.g.Tq=function(){var a=_.XN(_.YN.Kb(),this.H,this.items),b=(new _.sIc).Gc(this.Jb());a=_.jb(b,2,a);this.H=this.items;return a};_.g.Cq=function(a){this.V&&(this.W+=a||50,this.Ma(this.Xi(),this.W))};
var N4c=function(a,b){return a.Jb()!=b.Jb()||yO(_.YN.Kb(),a.items,b.Pd())},O4c=function(a,b){a.items=b.Pd();a.ha=b.Jb();_.GL(a.Ia)&&(a.ta=sTc(a.ha,a.items));a.ka=b.mra();a.Qh=b.ef()};yP.prototype.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a query after "+a.XH+" retries.",a.error)))};yP.prototype.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};
yP.prototype.ht=function(a,b){var c=this;b+="\n\n\nQuery:\n"+aP(this.ma,this.Ad());return _.ri(this.Ea.then(function(d){return d.ka(a,b,c.Ad(),c.li(),c.items)}))};
var M4c=function(a){a.Be()&&(P4c(a,"Livelist "+a.Xi()+" returning "+a.items.length+". Status: "+(_.cg(OWc)[a.Jb()]+". Datasource: ")+(_.cg(AXc)[a.Qh]+". Query: ")+(aP(a.ma,a.Vb)+" ")+tTc(a.items)),Q4c(a,a.items,a.Vb),a.dispatchEvent(new _.xi(_.Gc,a)))},Q4c=function(a,b,c){if(_.yM(c))c="quick access";else if(_.zM(c))c="people predict";else if(_.AM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");P4c(a,"Livelist "+a.Xi()+" returning "+a.items.length+" for "+(c+": "+
b))};yP.prototype.refresh=function(){};var P4c=function(a,b){a.Ka.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.t("sy14c");
var R4c=function(a){_.Q(this,a,0,-1,null,null)};_.O(R4c,_.M);
var zP=function(a){_.Q(this,a,0,-1,null,null)};_.O(zP,_.M);zP.prototype.getType=function(){return _.C(this,1)};var S4c=function(a){var b=new zP;return _.B(b,1,a)};zP.prototype.D5=function(){return _.D(this,_.ml,2)};var T4c=function(a,b){return _.y(a,2,b)};zP.prototype.Kw=function(){return _.C(this,3)};zP.prototype.nx=function(a){return _.B(this,3,a)};zP.prototype.ai=function(){return _.C(this,4)};zP.prototype.setPosition=function(a){return _.B(this,4,a)};
var AP=function(a){_.Q(this,a,0,-1,null,null)};_.O(AP,_.M);AP.prototype.getType=function(){return _.C(this,1)};var U4c=function(a){var b=new AP;return _.B(b,1,a)};AP.prototype.Am=function(){return _.D(this,IO,2)};var V4c=function(a,b){return _.y(a,2,b)};AP.prototype.Kw=function(){return _.C(this,3)};AP.prototype.nx=function(a){return _.B(this,3,a)};AP.prototype.ai=function(){return _.C(this,4)};AP.prototype.setPosition=function(a){return _.B(this,4,a)};
var BP=function(a){_.Q(this,a,0,-1,null,null)};_.O(BP,_.M);BP.prototype.getType=function(){return _.C(this,1)};var W4c=function(a){var b=new BP;return _.B(b,1,a)};BP.prototype.Am=function(){return _.D(this,_.NB,2)};var X4c=function(a,b){return _.y(a,2,b)};BP.prototype.Kw=function(){return _.C(this,3)};BP.prototype.nx=function(a){return _.B(this,3,a)};BP.prototype.ai=function(){return _.C(this,4)};BP.prototype.setPosition=function(a){return _.B(this,4,a)};
var Y4c=function(a){_.Q(this,a,0,-1,null,null)};_.O(Y4c,_.M);Y4c.prototype.Jb=function(){return _.C(this,1)};Y4c.prototype.Gc=function(a){return _.B(this,1,a)};Y4c.prototype.Gr=function(){return _.D(this,_.HO,2)};
var $4c=function(a){_.Q(this,a,0,-1,Z4c,null)};_.O($4c,_.M);var Z4c=[2];$4c.prototype.Jb=function(){return _.C(this,1)};$4c.prototype.Gc=function(a){return _.B(this,1,a)};$4c.prototype.Bj=function(){return _.C(this,3)};
var a5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(a5c,_.M);a5c.prototype.Xq=function(){return _.D(this,CWc,1)};a5c.prototype.oo=function(){return _.C(this,2)};
var b5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(b5c,_.M);_.g=b5c.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Gr=function(){return _.D(this,_.HO,2)};_.g.Bj=function(){return _.C(this,3)};_.g.qh=function(){return _.C(this,4)};
var CP=function(a){_.Q(this,a,0,-1,null,null)};_.O(CP,_.M);CP.prototype.Jb=function(){return _.C(this,1)};CP.prototype.Gc=function(a){return _.B(this,1,a)};CP.prototype.D5=function(){return _.D(this,_.ml,2)};CP.prototype.Bj=function(){return _.C(this,3)};
var c5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(c5c,_.M);_.g=c5c.prototype;_.g.Jb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Bj=function(){return _.C(this,2)};_.g.$Ja=function(){return _.D(this,_.np,3)};_.g.getKey=function(){return _.D(this,_.wb,4)};_.g.Bq=function(){return _.nk(this,4)};
var e5c=function(a){_.Q(this,a,0,-1,null,d5c)};_.O(e5c,_.M);var g5c=function(a){_.Q(this,a,0,-1,f5c,null)};_.O(g5c,_.M);var d5c=[[2,4,6,10],[3,5,7,8,9]];e5c.prototype.getKey=function(){return _.C(this,1)};e5c.prototype.Bq=function(){return _.nk(this,1)};var f5c=[1];
var h5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(h5c,_.M);
var DP=function(a){_.Q(this,a,0,-1,i5c,null)};_.O(DP,_.M);var i5c=[2];DP.prototype.Jb=function(){return _.C(this,1)};DP.prototype.Gc=function(a){return _.B(this,1,a)};DP.prototype.V=function(){return _.Jk(this,BO,2)};var j5c=function(a,b){return _.jb(a,2,b)};DP.prototype.Bj=function(){return _.C(this,3)};
var k5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(k5c,_.M);k5c.prototype.Jb=function(){return _.C(this,1)};k5c.prototype.Gc=function(a){return _.B(this,1,a)};k5c.prototype.V=function(){return _.D(this,BO,2)};k5c.prototype.Bj=function(){return _.C(this,3)};
var l5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(l5c,_.M);l5c.prototype.Jw=function(){return _.C(this,2)};
var n5c=function(a){_.Q(this,a,0,-1,m5c,null)};_.O(n5c,_.M);var m5c=[2];n5c.prototype.Jb=function(){return _.C(this,1)};n5c.prototype.Gc=function(a){return _.B(this,1,a)};n5c.prototype.yk=function(){return _.Jk(this,_.bSc,2)};n5c.prototype.mq=function(a,b){return _.Mk(this,2,a,_.bSc,b)};
var p5c=function(a){_.Q(this,a,0,-1,o5c,null)};_.O(p5c,_.M);var o5c=[2];p5c.prototype.Jb=function(){return _.C(this,1)};p5c.prototype.Gc=function(a){return _.B(this,1,a)};p5c.prototype.hk=function(){return _.Jk(this,AP,2)};
_.EP=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.EP,_.M);_.EP.prototype.Jb=function(){return _.C(this,1)};_.EP.prototype.Gc=function(a){return _.B(this,1,a)};_.EP.prototype.Dg=function(){return _.D(this,_.MC,2)};_.q5c=function(a,b){return _.y(a,2,b)};_.EP.prototype.Bj=function(){return _.C(this,3)};
var r5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(r5c,_.M);r5c.prototype.Jb=function(){return _.C(this,1)};r5c.prototype.Gc=function(a){return _.B(this,1,a)};
var t5c=function(a){_.Q(this,a,0,-1,s5c,null)};_.O(t5c,_.M);var s5c=[2];t5c.prototype.Jb=function(){return _.C(this,1)};t5c.prototype.Gc=function(a){return _.B(this,1,a)};t5c.prototype.hk=function(){return _.Jk(this,BP,2)};
var u5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(u5c,_.M);u5c.prototype.getType=function(){return _.C(this,1)};var v5c=function(a){var b=new u5c;return _.B(b,1,a)};u5c.prototype.Kw=function(){return _.C(this,3)};u5c.prototype.nx=function(a){return _.B(this,3,a)};u5c.prototype.ai=function(){return _.C(this,4)};u5c.prototype.setPosition=function(a){return _.B(this,4,a)};
var x5c=function(a){_.Q(this,a,0,-1,w5c,null)};_.O(x5c,_.M);var w5c=[2];x5c.prototype.Jb=function(){return _.C(this,1)};x5c.prototype.Gc=function(a){return _.B(this,1,a)};x5c.prototype.Bj=function(){return _.C(this,3)};
var z5c=function(a){_.Q(this,a,0,-1,y5c,null)};_.O(z5c,_.M);var y5c=[2,4];z5c.prototype.Jb=function(){return _.C(this,1)};z5c.prototype.Gc=function(a){return _.B(this,1,a)};z5c.prototype.Bj=function(){return _.C(this,3)};
_.FP=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.FP,_.M);_.FP.prototype.getType=function(){return _.C(this,1)};var A5c=function(a){var b=new _.FP;return _.B(b,1,a)};_.FP.prototype.nz=function(){return _.D(this,_.K4c,2)};var B5c=function(a,b){return _.y(a,2,b)};_.FP.prototype.Kw=function(){return _.C(this,3)};_.FP.prototype.nx=function(a){return _.B(this,3,a)};_.FP.prototype.ai=function(){return _.C(this,4)};_.FP.prototype.setPosition=function(a){return _.B(this,4,a)};
_.ITc=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.ITc,_.M);_.g=_.ITc.prototype;_.g.getItem=function(){return _.D(this,_.zl,1)};_.g.setItem=function(a){return _.y(this,1,a)};_.g.getError=function(){return _.D(this,_.Qb,2)};_.g.Qe=function(a){return _.y(this,2,a)};_.g.Tn=function(){return _.nk(this,2)};
var D5c=function(a){_.Q(this,a,0,-1,C5c,null)};_.O(D5c,_.M);var C5c=[2,4];
var F5c=function(a){_.Q(this,a,0,-1,E5c,null)};_.O(F5c,_.M);var E5c=[1];
var H5c=function(a){_.Q(this,a,0,-1,G5c,null)};_.O(H5c,_.M);var G5c=[2];H5c.prototype.Jb=function(){return _.C(this,1)};H5c.prototype.Gc=function(a){return _.B(this,1,a)};H5c.prototype.Bj=function(){return _.C(this,3)};
var J5c=function(a){_.Q(this,a,0,-1,I5c,null)};_.O(J5c,_.M);var I5c=[2];J5c.prototype.Jb=function(){return _.C(this,1)};J5c.prototype.Gc=function(a){return _.B(this,1,a)};J5c.prototype.Bj=function(){return _.C(this,3)};
var K5c=function(a){_.Q(this,a,0,-1,null,null)};_.O(K5c,_.M);
var M5c=function(a){_.Q(this,a,0,-1,L5c,null)};_.O(M5c,_.M);var L5c=[1];M5c.prototype.V=function(){return _.C(this,2)};var N5c=function(a,b){_.B(a,2,b)};
var O5c=function(a){_.xi.call(this,"Ob");this.dataType=a};_.N(O5c,_.xi);
var P5c=function(a,b){_.xi.call(this,"Pb");this.ha=a;this.H=b};_.N(P5c,_.xi);
var Q5c=function(){};_.g=Q5c.prototype;_.g.sJ=function(a,b){return HXc(GXc(1),a).setPosition(b)};_.g.qJ=function(a,b){return HXc(GXc(2).setPosition(b),a)};_.g.pP=function(a,b,c){return HXc(GXc(3).nx(b).setPosition(c),a)};_.g.nN=function(a,b){return HXc(GXc(4),a).setPosition(b)};_.g.VJ=function(a){return _.D(a,EO,2)};
var R5c=function(){_.WN.call(this,new Q5c,function(a){return a&&a.getName()})};_.N(R5c,_.WN);
var GP=function(a,b,c){_.Hi.call(this);var d=this;this.ha=a;this.ta=b;this.limit=c||50;this.he=new _.he(this);this.Oa(this.he);this.active=!1;this.status=6;this.Ma=rTc(new _.dO,[1]);this.va=this.H=!1;_.Yd(this,function(){d.active=!1;d.he.removeAll()})};_.N(GP,_.Hi);_.g=GP.prototype;_.g.Xi=function(){return String(_.Da(this))};_.g.kf=function(){return this.ha.kf()||this.ta.kf()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.he.listen(this.ha,"Ab",_.Wa(this.zs)),this.he.listen(this.ta,[].concat(_.Pc(Object.values(YZc))),_.Wa(this.zs)),this.ha.kf()?this.he.hd(this.ha,"Ab",function(b){b.kf()||(a.ME(),a.dispatchEvent(new _.xi(_.Cr)))}):this.ta.kf()?this.he.hd(this.ta,["wb","yb"],function(){a.ME();a.dispatchEvent(new _.xi(_.Cr))}):(this.ME(),this.dispatchEvent(new _.xi(_.Cr))))};_.g.ME=function(){};
_.g.Cq=function(a){var b=this;if(this.Bk()){var c=this.limit;this.limit+=a||50;this.wc()>c&&this.zs();this.ha.kf()?this.he.hd(this.ha,"Ab",function(d){d.kf()||b.rM()}):this.rM()}};_.g.fL=function(){this.kf()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Jb=function(){return this.status};_.g.Yq=function(){return this.Ma};_.g.handleError=function(a){this.dispatchEvent(new _.Tb(a))};_.g.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};_.g.Bk=function(){return!this.H||this.va};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.he.removeAll();this.activate()};_.g.rM=function(){};
var S5c=function(a,b,c,d,e){GP.call(this,a,b,e.li()||void 0);this.Vb=e;this.Ea=d;this.ka=[];this.V=[];this.W=!1;this.ma=new R5c;this.Ba=c};_.N(S5c,GP);_.g=S5c.prototype;_.g.ME=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.xi(_.Gc,this))};_.g.getData=function(){return LXc(new GO,this.V).Gc(this.status)};_.g.Tq=function(){var a=_.XN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new JXc).Gc(this.status);return _.jb(b,2,a)};_.g.rM=function(){this.Ea(this.Xi(),this.limit)};
_.g.zs=function(){if(this.active){var a=this.status;this.fL();if(this.W||a!=this.status)this.W=!1,T5c(this)}};_.g.wc=function(){return this.V.length};_.g.Ad=function(){return this.Vb};_.g.update=function(a){var b=a.response;if(this.status!=b.Jb()||yO(0,this.V,b.V()))this.H=!0,this.status=b.Jb(),this.V=b.V(),this.va=a.V,T5c(this)};
var T5c=function(a){var b="Livelist "+a.Xi()+" returning "+a.V.length+" for "+(a.Vb.Rc()+". Status: ")+(_.cg(OWc)[a.Jb()]+".");a.Ba.info("drive.ds.sync.CategoryMetadataLiveList",b);a.dispatchEvent(new _.xi(_.Gc,a))};S5c.prototype.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a category metadata query after "+a.XH+" retries.",a.error)))};
var U5c=function(a,b,c,d,e,f){yP.call(this,a,b,c,e,f,d);this.Ba=null;this.va=void 0};_.N(U5c,yP);U5c.prototype.getData=function(){this.H=this.items;var a=tVc((new _.OB).Gc(this.Jb()).uw(this.items),this.Bk());a=_.y(a,7,this.Ba);return _.bNc(a.uN(this.suggestionSessionId).R3(this.Qh),this.va)};U5c.prototype.update=function(a){N4c(this,a)&&(O4c(this,a),this.Ba=a.Q3(),this.suggestionSessionId=a.Af(),this.va=a.gfa(),M4c(this))};
var V5c=function(a,b){var c={};a=_.Sf(a,function(d){return!!d});b=_.Sf(b,function(d){return!!d});_.Rf(a,function(d,e){var f=b[e];f?_.Ok(d,f)||(d=X4c(W4c(4),f),c[e]=d):(d=X4c(W4c(2),d),c[e]=d)});_.Rf(b,function(d,e){a[e]||(d=X4c(W4c(1),d),c[e]=d)});return c},W5c=function(a,b){return _.Vf(a)!=_.Vf(b)||!_.Yf(V5c(a,b))};
var X5c=function(a,b){_.Hi.call(this);this.Vb=b;this.ha=!1;this.V=6;this.W={};this.H={}};_.N(X5c,_.Hi);_.g=X5c.prototype;_.g.activate=function(){this.ha||(this.ha=!0,_.Yf(this.H)&&6==this.V||this.dispatchEvent(new _.xi(_.Gc,this)))};_.g.Jb=function(){return this.V};_.g.Yq=function(){return new _.dO};_.g.getData=function(){this.W=this.H;var a=(new _.CN).Gc(this.V);_.Rf(this.H,function(b,c){a.UR().set(c,b||new _.NB)});return a};
_.g.Tq=function(){var a=V5c(this.W,this.H);this.W=this.H;var b=(new r5c).Gc(this.V);_.Rf(a,function(c,d){_.uk(b,2,BP).set(d,c)});return b};_.g.x_=function(){throw Error("Lf");};_.g.Xi=function(){return String(_.Da(this))};_.g.Ad=function(){return this.Vb};_.g.update=function(a){var b={};a.UR().forEach(function(c,d){c||(c=F2c(d));b[d]=c});if(this.V!=a.Jb()||W5c(this.W,b))this.V=a.Jb(),this.H=b,this.ha&&this.dispatchEvent(new _.xi(_.Gc,this))};
_.g.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a Workspace find by id after "+a.XH+" retries.",a.error)))};_.g.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};
var Z5c=function(a,b,c,d,e,f){_.Hi.call(this);var h=this;this.ka=a;this.va=b;this.Vb=f;this.Ba=d;this.Ea=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=rTc(new _.dO,[1]);this.ta=c;Y5c(this,"Creating find by ids live map: "+this.Vb.ym().join(", "));_.Yd(this,function(){h.ha=!1;h.W=[]})};_.N(Z5c,_.Hi);_.g=Z5c.prototype;_.g.Xi=function(){return String(_.Da(this))};_.g.activate=function(){this.ha=!0;_.Yf(this.H)&&6==this.V||$5c(this)};_.g.Ad=function(){return this.Vb};
_.g.getData=function(){this.W=this.H;var a=new _.AN;_.GL(this.ka)?a.Gc(MSc(Object.values(this.H))?6:this.V):a.Gc(this.V);a.H=this.H;return a};_.g.Tq=function(){var a=uTc(this.W,this.H),b=new EXc;b.Gc(this.V);b.H=a;this.W=this.H;return b};_.g.Jb=function(){return this.V};_.g.Yq=function(){return this.ma};_.g.x_=function(a){w_c(a);var b=this.Vb;this.Vb=a;this.Ea(this.Xi(),b,a)};
_.g.update=function(a){var b=this;0<=_.ma(this.Ad().ym(),"root")?this.Ba.addCallback(function(c){var d=a.Fs()[c];d&&(_.$f(a.H,c),a.H.root=d);a6c(b,a)}):a6c(this,a)};var a6c=function(a,b){if(a.V!=b.Jb()||vTc(a.H,b.Fs()))a.V=b.Jb(),a.H=b.Fs(),_.GL(a.ka)&&(a.ma=sTc(a.V,Object.values(a.H))),$5c(a)};Z5c.prototype.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a find-by-IDs query after "+a.XH+" retries.",a.error)))};Z5c.prototype.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};
var $5c=function(a){a.ha&&(Y5c(a,"Livelist "+a.Xi()+" returning "+(Object.values(a.H).length+". Status: ")+(_.cg(OWc)[a.Jb()]+". Query: ")+(aP(a.va,a.Vb)+" ")+tTc(Object.values(a.H))),a.dispatchEvent(new _.xi(_.Gc,a)))},Y5c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var b6c=function(a,b,c,d,e,f){yP.call(this,a,b,c,d,e,f);this.va=[]};_.N(b6c,yP);b6c.prototype.getData=function(){this.H=this.items;var a=(new _.BN).Gc(this.Jb()).uw(this.items);var b=this.Bk();a=_.B(a,4,b);return JWc(a,this.va).uN(this.suggestionSessionId).R3(this.Qh)};b6c.prototype.update=function(a){N4c(this,a)&&(O4c(this,a),this.va=_.Jk(a,_.ml,6),this.suggestionSessionId=a.Af(),M4c(this))};
var c6c=function(){};_.g=c6c.prototype;_.g.sJ=function(a,b){return V4c(U4c(1),a).setPosition(b)};_.g.qJ=function(a,b){return V4c(U4c(2).setPosition(b),a)};_.g.pP=function(a,b,c){return V4c(U4c(3).nx(b).setPosition(c),a)};_.g.nN=function(a,b){return V4c(U4c(4),a).setPosition(b)};_.g.VJ=function(a){return a.Am()};
var d6c=function(){_.WN.call(this,new c6c,function(a){return a&&a.V()})};_.N(d6c,_.WN);
var e6c=function(a,b,c){GP.call(this,a.ma,a.ta,b.li()||10);this.Vb=b;this.Ba=c;this.ka=[];this.V=[];this.W=!1;this.Ea=new d6c;this.ma=null};_.N(e6c,GP);_.g=e6c.prototype;_.g.ME=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.xi(_.Gc,this))};_.g.getData=function(){this.ka=this.V;return eYc(dYc((new JO).Gc(this.status),this.V.slice(0)),this.ma)};_.g.Tq=function(){var a=_.XN(this.Ea,this.ka,this.V);this.ka=this.V;var b=(new p5c).Gc(this.status);return _.jb(b,2,a)};_.g.rM=function(){};
_.g.zs=function(){var a=this.status;this.fL();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.xi(_.Gc,this))};_.g.wc=function(){return this.V.length};_.g.Ad=function(){return this.Vb};_.g.update=function(a){if(this.status!=a.Jb()||yO(0,this.V,a.hk())){this.W=this.H=!0;this.V=a.hk();if(a=a.Af())this.ma=a;this.zs()}};_.g.refresh=function(){this.Ba()};_.g.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a Suggested Workspace query after "+(a.XH+" retries."),a.error)))};
var f6c=function(a,b,c){_.Hi.call(this);var d=this;this.Vb=a;this.Ba=b;this.va=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.li();this.V=6;this.ta=rTc(new _.dO,[1]);this.W=!0;_.Yd(this,function(){d.ha=!1;d.ka=[]})};_.N(f6c,_.Hi);_.g=f6c.prototype;_.g.Xi=function(){return String(_.Da(this))};_.g.activate=function(){this.ha=!0;_.pa(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.xi(_.Gc,this))};_.g.Ad=function(){return this.Vb};_.g.Jb=function(){return this.V};_.g.Yq=function(){return this.ta};
_.g.Bk=function(){return this.W};_.g.getData=function(){this.ka=this.H;return tVc((new _.OB).Gc(this.V).uw(this.H),this.W)};_.g.Tq=function(){var a=_.XN(_.YN.Kb(),this.ka,this.H),b=(new _.sIc).Gc(this.V);a=_.jb(b,2,a);this.ka=this.H;return a};_.g.Cq=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.Xi(),this.ma))};
_.g.update=function(a){if(this.V!=a.Jb()||yO(_.YN.Kb(),this.H,a.Pd()))this.H=a.Pd(),this.V=a.Jb(),_.GL(this.va)&&(this.ta=sTc(this.V,this.H)),this.W=a.mra(),this.ha&&this.dispatchEvent(new _.xi(_.Gc,this))};_.g.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a Team Drive query after "+a.XH+" retries.",a.error)))};_.g.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};_.g.ht=function(){throw Error("Mf");};_.g.refresh=function(){};
var g6c=function(a,b,c){_.Hi.call(this);var d=this;this.ka=a;this.Vb=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=rTc(new _.dO,[1]);this.ka.ha.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.Vb.ym().join(", "));_.Yd(this,function(){d.ha=!1;d.W=[]})};_.N(g6c,_.Hi);_.g=g6c.prototype;_.g.Xi=function(){return String(_.Da(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.xi(_.Gc,this))};
_.g.Ad=function(){return this.Vb};_.g.getData=function(){this.W=this.H;var a=new _.AN;a.Gc(this.V);a.H=this.H;return a};_.g.Tq=function(){var a=uTc(this.W,this.H),b=new EXc;b.Gc(this.V);b.H=a;this.W=this.H;return b};_.g.Jb=function(){return this.V};_.g.Yq=function(){return this.ma};_.g.x_=function(a){var b=this.Vb;this.Vb=a;this.ta.Ia(this.Xi(),b,a)};
_.g.update=function(a){if(this.V!=a.Jb()||vTc(this.H,a.Fs()))this.V=a.Jb(),this.H=a.Fs(),_.GL(this.ka.H)&&(this.ma=sTc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.xi(_.Gc,this))};_.g.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a team drive find-by-IDs query after "+a.XH+" retries.",a.error)))};_.g.HO=function(){this.dispatchEvent(new _.xi(_.vEa))};
var h6c=function(){};_.g=h6c.prototype;_.g.sJ=function(a,b){return X4c(W4c(1),a).setPosition(b)};_.g.qJ=function(a,b){return X4c(W4c(2).setPosition(b),a)};_.g.pP=function(a,b,c){return X4c(W4c(3).nx(b).setPosition(c),a)};_.g.nN=function(a,b){return X4c(W4c(4),a).setPosition(b)};_.g.VJ=function(a){return a.Am()};
var i6c=function(){_.WN.call(this,new h6c,function(a){return a&&a.getId()})};_.N(i6c,_.WN);
var j6c=function(a,b,c){GP.call(this,a.ma,a.ta,b.li()||10);this.Vb=b;this.Ba=c;this.W=[];this.V=[];this.ka=!1;this.ma=new i6c};_.N(j6c,GP);_.g=j6c.prototype;_.g.ME=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.xi(_.Gc,this))};_.g.getData=function(){this.W=this.V;return E0c((new gP).Gc(this.status),this.V.slice(0))};_.g.Tq=function(){var a=_.XN(this.ma,this.W,this.V);this.W=this.V;var b=(new t5c).Gc(this.status);return _.jb(b,2,a)};_.g.rM=function(){this.Ba.W(this.Xi(),this.limit)};
_.g.zs=function(){var a=this.status;this.fL();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.xi(_.Gc,this))};_.g.wc=function(){return this.V.length};_.g.Ad=function(){return this.Vb};_.g.update=function(a){var b=a.response;if(this.status!=b.Jb()||yO(0,this.V,b.hk()))this.H=!0,this.status=b.Jb(),this.V=b.hk(),this.va=a.H,this.dispatchEvent(new _.xi(_.Gc,this))};
_.g.eL=function(a){this.dispatchEvent(new _.Tb(new _.Rb("Error occurred running a Workspace query after "+a.XH+" retries.",a.error)))};
var k6c=function(a,b){this.H=a;this.ta=a.W;this.ma=this.H.Il;this.Ka=this.H.Re;this.ha={};this.Ba={};this.Ea={};this.V=null;this.va=b};_.g=k6c.prototype;_.g.fqa=function(a){var b=this,c=new U5c(this.H.va,this.H.uc,this.H.ha,this.H.H,function(d,e){return b.W(d,e)},a);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.iqa=function(a){var b=this,c=new b6c(this.H.va,this.H.uc,this.H.ha,function(d,e){return b.W(d,e)},a,this.H.H);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};
_.g.cqa=function(a){var b=this,c=new Z5c(this.H.H,this.H.va,this.H.ha,this.H.dg,this.Ia.bind(this),a);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.lqa=function(a){var b=this,c=new f6c(a,this,this.H.H);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.mqa=function(a){var b=this,c=new g6c(this.H,this,a);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.oqa=function(a){var b=this,c=new j6c(this.H,a,this);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};
_.g.jqa=function(a){var b=this,c=new e6c(this.H,a,function(){if(a instanceof _.qp){var d=l6c(b.H);k2c(d,d.getKey(a)).refresh()}});HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.pqa=function(a){var b=this,c=new X5c(this.H,a);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};_.g.$pa=function(a){var b=this,c=new S5c(this.H.ma,this.H.ta,this.H.ha,function(d,e){return b.W(d,e)},a);HP(this,c);_.Yd(c,function(){return IP(b,c)});return c};
var HP=function(a,b){var c=b.Xi();a.ha[c]=b;a.va.create(c,b.Ad());b=b.Ad()instanceof _.Ap?h2c(a.ma,c,b.Ad()):"undefined"!=typeof _.QM&&b.Ad()instanceof _.QM?i2c(a.ma,c,b.Ad()):b.Ad()instanceof _.qp?h2c(l6c(a.H),c,b.Ad()):b.Ad()instanceof _.DG?h2c(a.Ka,c,b.Ad()):m6c(a.ta,c,b.Ad());"boolean"===typeof b&&q0c(a.va,c,b)},IP=function(a,b){if(b.Ad()instanceof _.Ap)j2c(a.ma,b.Xi(),b.Ad());else if("undefined"!=typeof _.QM&&b.Ad()instanceof _.QM){var c=a.ma,d=b.Xi(),e=b.Ad(),f=c.H.get(c.getKey(e));f&&(f.H.delete(d),
0==f.H.size&&f.dispose(),f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.Ad()instanceof _.qp?j2c(l6c(a.H),b.Xi(),b.Ad()):b.Ad()instanceof _.DG?j2c(a.Ka,b.Xi(),b.Ad()):n6c(a.ta,b.Xi(),b.Ad());dP(a.va,b.Xi(),4);delete a.ha[b.Xi()]};k6c.prototype.Ia=function(a,b,c){n6c(this.ta,a,b);m6c(this.ta,a,c)};
k6c.prototype.W=function(a,b){var c=$1c(this,a).Ad();c.Ei(b);c instanceof _.Ap?h2c(this.ma,a,c):"undefined"!=typeof _.QM&&c instanceof _.QM?i2c(this.ma,a,c):c instanceof _.DG?h2c(this.Ka,a,c):m6c(this.ta,a,c)};
k6c.prototype.ka=function(){_.Ki(this.V);this.V=null;var a=Object.keys(this.Ba),b=Object.keys(this.Ea);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ba[c];if(d){delete this.Ba[c];var e=this.ha[c];e&&(t0c(this.va,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.Ea[a])if(delete this.Ea[a],d=this.ha[a])dP(this.va,a,3),d.eL(c)};var $1c=function(a,b){if(!a.ha[b])throw Error("Nf`"+b);return a.ha[b]};
var JP=function(a,b){_.Hi.call(this);this.ka=a;this.Vb=b;this.W=_.ii();this.V=!1;this.H=""};_.N(JP,_.Hi);JP.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.Vb)}).then(this.ta.bind(this)).qg(this.ha.bind(this));return this.W.promise};JP.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new P5c(0,this.H));o6c(this)};var o6c=function(a){_.q.setTimeout(function(){a.ka.then(function(b){return b.H(new _.ELc(a.H))}).then(a.va.bind(a)).qg(a.ha.bind(a))},5E3)};
JP.prototype.va=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new P5c(a.ka,this.H)),o6c(this);else{this.V=!0;if(4==a.status){var b=new D5c;b=_.B(b,2,a.H||[]);b=_.B(b,3,this.H);b=_.B(b,5,a.ma);b=_.B(b,6,a.W);b=_.B(b,7,a.py);b=_.B(b,8,a.ha);a=_.jb(b,4,a.V);this.W.resolve(a)}else a=_.NL(_.vr(_.sr(new _.Qb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};JP.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.DLc(a.H))}).then(this.ma.bind(this)).qg(this.ha.bind(this))};
JP.prototype.ma=function(){if(!this.V){var a=new D5c;a=_.B(a,3,this.H);a=_.B(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};JP.prototype.ha=function(a){this.V=!0;this.W.reject(_.aM(a));this.dispose()};
var p6c=function(){_.xi.call(this,"VbxEwf")};_.N(p6c,_.xi);
var q6c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=q6c.prototype;_.g.Na=function(){return _.D(this.H.H,_.$Kc,58)};_.g.getContext=function(){return this.H};_.g.tSa=function(){var a=this.H.Wa,b=this.W,c=_.Rc(a.H);a.V&&c.push(_.vPc("CacheSize",a.V.V.H.size));c.push(_.vPc("InitialViewDataLoaded",b));a=new nWc;_.jb(a,1,c);return _.qi(a)};_.g.via=function(){return this.H.ha};_.g.bS=function(a){return _.qi(this.H.W.V.H(a))};_.g.Zxa=function(){return _.qi(this.H.Wa.W.hh())};
_.g.ima=function(a,b,c){var d=new _.li;if(_.D(a,_.HL,3)||_.D(a,_.SM,4)||_.D(a,_.HN,5)||_.D(a,_.OM,6)||_.D(a,_.qM,7)||_.D(a,_.jM,8)||_.D(a,_.nM,9)||_.D(a,_.RL,10)){var e=n0c(a);this.H.Ba().then(function(f){return f.H(e,{MGb:b,NGb:c})}).then(this.tkb.bind(this,d),d.Vd,d);return d}throw Error("Of");};
_.g.tkb=function(a,b){var c=[],d="";if(b instanceof _.IN){c=b.Xq().Pd();var e=_.C(b,2);d=b.oo()}else if(b instanceof _.UM)b.getItem()&&c.push(b.getItem()),e=b.TN();else throw Error("Pf");a.callback({items:c,uJa:e,pageToken:d})};_.g.M_a=function(){var a=this.H.H,b=a.Sf();a="email:"+_.EL(a).getEmail().replace(/@.*$/,"");_.B(b,13,a)};_.g.EIa=function(){this.H.Ea.GU();var a=this.H.H;T3c(_.iN(_.EL(a)),_.jN(a),this.H.ha).qg(function(){})};_.g.K4=function(){return _.DKc[_.qk(this.H.H.Sf(),8,0)]};
_.g.uDa=function(){this.H.ud.H=new U2c(_.Rg().substring(0,8))};_.g.wia=function(){var a=this.H.ud.H,b=null;a&&(b=W2c(this.H.ud),b={traceId:a,spanRecs:b});a=this.H.ud;a.H=null;a.V=[];return _.qi(b)};_.g.uSa=function(){return _.qi(this.H.ud.H)};
_.g.getState=function(a){var b=this.H.ka,c=b.H.bind(b);b={};b.b=this.H.H.Ii();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.H.W.V.V.H.size;c=this.H.W.ma;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.T7());b.cs_ch=e1c(c).length;b.cs_td=_.xa(c.V).length;(c=this.H.Kq)&&(b.t_cps=c.geb().join(","));b.t_id=r6c(this.H);var e=[];s6c(this.H.Nc).forEach(function(f,
h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.zc?this.H.ta.isConnected():this.H.Xc.H;b.n_o=this.H.zc?this.H.ta.kf():this.H.ma.kf();b.n_csm=!!this.H.zc;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.qi(JSON.stringify(b))};_.g.KZa=function(){this.V&&(this.V.dispatchEvent(new p6c),this.V.ox())};_.g.Dm=function(a){var b=this.H.zc;b&&a!=b.H&&(b.H=a,_.mPc(b),a?b.Hb.update(3):_.oPc(b))};
var v6c=function(a,b){this.H=a;this.V=b;this.ha=_.qLc(qWc(this.V),t6c);this.W=_.qLc(qWc(this.V),u6c)},x6c=function(a,b){var c=a.H.Cb.Dg().Dg(),d=(c=c?c.getUser():null)?c.getId():null,e={};b.forEach(function(h){_.uLc(h);var k=h.getId(),l=a.H.Qn();_.PMc(h,3);_.UL(h,5);var n=SSc(h,!0);h.getCapabilities()||h.Wo(new _.sl);_.H(n,2)&&((n=h.Hj())&&n.length?_.B(h,46,n[0]):(_.cN(h,[l]),_.B(h,46,l)),l=h.Bs(),_.B(h,12,l),l=new _.ml,l.Yb(d),_.B(l,6,1),_.bMc(l,!0),_.JMc(h,l),_.IMc(h,[l]),_.hIc(h,1));e[k]=h});b=
Object.keys(e);c=a.H.W;var f=b0c(c.V,b);_.Rf(f,function(h,k){gO(h.getItem(),e[k],a.ha);(a.H.ma.kf()||a.H.ta.kf()||3==jO(h.getItem()))&&gO(h.getItem(),e[k],a.W);_.$f(e,k)});_.Rf(e,function(h){h.Pn().Hr()&&(f[h.getId()]=new WO(h))});w6c(c,Object.values(f))},y6c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});x6c(a,c)},t6c=[50],u6c=[12,11,10,67,68];
var z6c=function(a){this.ka=a;this.H=null;this.ha=new v6c(a,a.rb);this.V=!1};
z6c.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.va.bind(this);var b=this.ta.bind(this);A6c(this,"Querying all offline items.");this.H.H().hg(a,b);this.V||(this.H.V((0,_.v)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.W;b=new _.He;b.Dm(!0);b=d0c(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==jO(f)){var h=new _.KL;_.LL(h,f.getId());_.VL(h);d.push(h)}else h=new _.xl,_.fO(h,!1),_.B(h,2,!1),_.y(f,81,h),c.push(b[e])}w6c(a,c);a.ta(d)}};
z6c.prototype.va=function(a){A6c(this,"Processing all offline item(s): "+a.length);x6c(this.ha,a);YO(this.ka.ka,"GZTDpc")};z6c.prototype.ta=function(){A6c(this,"Error fetching offline items.")};z6c.prototype.ma=function(a){A6c(this,"Handling offline change(s): "+a.length);y6c(this.ha,a)};var A6c=function(a,b){a.ka.ha.info("drive.ds.sync.offline.LocalDataService",b)};
var KP=function(a){_.Hi.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new z6c(a);this.context.yg=b;this.Ma=new q6c(a,this);w4c(this.Ma);(b=_.D(a.H,_.$Kc,58))&&_.F(b,1,!1);this.he=new _.he(this);this.Oa(this.he);this.V=this.context.ka;this.ha=a.ah;this.W=new k6c(a,this.ha);a=this.context;b=this.W;a.vk=b;a.te.resolve(b);this.va=null;this.ab=this.Ba=!1;this.Qa=null;this.NIa()};_.N(KP,_.Hi);_.g=KP.prototype;_.g.NIa=function(){};
_.g.initialize=function(){var a=this;if(!this.va){this.va=_.ii();this.Qa=this.context.zm().V(106E3);var b=_.kN(this.context.H)?"(coldstart) ":"";this.context.ha.info(this.Ka,"Initializing "+b+"with client build: "+this.context.H.Ii());this.sSa();this.he.listen(this.context,_.Hc,this.Vfb);this.he.listen(this.context.Xc,["eb","fb"],function(c){return void a.dispatchEvent(c)});this.he.listen(this.context.ta,[].concat(_.Pc(Object.values(YZc))),function(c){return void a.dispatchEvent(c)});this.V.start();
YO(this.V,"NSockf")}return this.va.promise};_.g.gOa=function(){this.Qa&&this.Qa.H();this.context.ha.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.va.resolve())};_.g.Vfb=function(a){var b=a.error,c=b.kh;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.va.reject(b)):this.dispatchEvent(a)};_.g.P0=function(){throw LP("teamDriveQuery");};_.g.Xla=function(){throw LP("teamDriveFindByIds");};_.g.eEa=function(){throw LP("teamDriveMovePreflight");};
_.g.nAa=function(){throw LP("peoplePredictQuery");};_.g.query=function(a){y_c(this.context.va,a,pWc(this.context.rb));this.cU();var b=_.Pk(a);b=this.W.fqa(b);this.ab||(a=a.Ae(),a&&121==_.C(a,1)||(this.ab=!0,this.he.listen(b,_.Gc,this.rSa)));return b};_.g.rSa=function(a){a=a.currentTarget;1==a.Jb()&&(this.Ma.W=this.V.H("W6J7De"),this.he.Yc(a,_.Gc,this.rSa))};_.g.Fr=function(a){this.cU();w_c(a);return this.W.cqa(_.Pk(a))};_.g.koa=function(){throw LP("activityQuery");};
_.g.dpa=function(){throw LP("backupsQuery");};_.g.jBa=function(){throw LP("refreshBackups");};_.g.mS=function(){throw LP("getAndroidBackupItems");};_.g.Lqa=function(){throw LP("deleteBackup");};_.g.rAa=function(){throw LP("permissionQuery");};_.g.uva=function(){throw LP("insertPermission");};_.g.Oqa=function(){throw LP("deletePermission");};_.g.Bd=function(){throw LP("mutate");};_.g.mU=function(){throw LP("mutateWorkspace");};_.g.eC=function(){throw LP("bulkMutate");};
_.g.bqa=function(){throw LP("createFileUploader");};_.g.ZIa=function(a){return new JP(this.context.Ba(),a)};_.g.Qq=function(a){if(3==a.getType())return _.ri(this.context.Ba().then(function(b){return b.H(a)}).then(null,_.cM));throw LP("getApps with type "+a.getType());};_.g.Gr=function(){throw LP("getApp");};_.g.wva=function(){throw LP("installApp");};_.g.Kqa=function(){throw LP("deleteApp");};_.g.uia=function(){throw LP("updateApp");};_.g.FS=function(){throw LP("getUserAccount");};
_.g.qK=function(){throw LP("getUserPrefs");};_.g.Wxa=function(){throw LP("mutateUserPref");};_.g.Txa=function(){throw LP("getRevisions");};_.g.Vxa=function(){return!1};_.g.Dm=function(a){this.context.ma.Dm(a)};_.g.tia=function(){throw LP("setOfflineOptIn");};_.g.Yxa=function(){throw LP("setLocalItemService");};_.g.cU=function(){};_.g.oSa=function(){B6c(this.context);this.context.zm().H(106006)};_.g.b5=function(){return this.Ma};_.g.Xxa=function(){};_.g.sia=function(){return this.context.Xc.H};
_.g.Sxa=function(){return U0c(this.context.Xc)};_.g.isConnected=function(){return 1==this.context.zc.getState().get()};_.g.sync=function(){throw LP("sync");};_.g.ox=function(){return this.context.ox()};_.g.mza=function(){throw LP("offlineDataLoaded");};_.g.uVa=function(a){return this.context.Ba().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.Epa=function(){throw LP("categoryMetadataQuery");};_.g.Hpa=function(){throw LP("changeCategoryLinks");};
_.g.f1=function(){throw LP("updateCategoryMetadata");};_.g.UAa=function(){throw LP("publishedCategoriesQuery");};_.g.gka=function(){throw LP("publishedCategoryQuery");};_.g.BFa=function(){throw LP("workspaceFindByIdsRequest");};_.g.Ima=function(){throw LP("workspaceQueryRequest");};_.g.YDa=function(){throw LP("suggestedWorkspaceItemQueryRequest");};_.g.Qla=function(){throw LP("suggestedWorkspaceQueryRequest");};_.g.Rxa=function(){throw LP("addCacheHint");};
_.g.Rca=function(){throw LP("createUserFeedback");};_.g.Uxa=function(){throw LP("handleChanges");};var LP=function(a){return new _.Rb(a+" is unsupported",_.$L(3))};
var STc=function(a){KP.call(this,a);C6c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.N(STc,KP);STc.prototype.sSa=function(){XO(this.V,["NSockf"],this.gOa.bind(this))};
var D6c=new Set([1,2,4,5,6]),E6c=function(a,b,c,d,e){this.W=a;this.va=b;this.ta=c;this.ma=d;this.ka=e;this.H=null;this.V=3;this.ha=0};E6c.prototype.Dg=function(){var a=new _.EP;a.Gc(this.V);this.H&&_.q5c(a,this.H?_.Pk(this.H):null);return a};
var F6c=function(a,b,c,d){d=void 0===d?!1:d;var e=D6c.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.GL(a.W)){var h=(h=b&&b.getUser())&&_.CG(h);h=!(!h||!M1c(a.va,h));a.V=h&&e||d?1:6}f=!_.Ok(a.H,b)||(_.GL(a.W)?a.V!=f:6==a.V&&e);a.H=_.Pk(b);_.GL(a.W)||(a.V=e||d?1:6);c&&(YO(a.ta,"toquGd"),a.ma.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ka.update(0);return f};E6c.prototype.ef=function(){return this.ha};
var G6c=function(a){_.Hi.call(this);this.ta=a;this.Qh=0};_.N(G6c,_.Hi);var H6c=function(a){a=_.Pk(a);var b=function(c){return c.toLowerCase()};WXc(a,_.Dd(a,4).map(b));XXc(a,_.Dd(a,5).map(b));return a};_.g=G6c.prototype;_.g.Qq=function(){};_.g.ySa=function(){};_.g.remove=function(){};_.g.aya=function(){};_.g.eB=function(){return 0!=this.Qh};_.g.ef=function(){return this.Qh};
var I6c=new Set([1,2,4,5,6]),J6c=function(a,b,c){G6c.call(this,b);this.ma=a;this.ha=c;this.H={};this.V=[];this.W=6;this.ka=!1};_.N(J6c,G6c);J6c.prototype.Qq=function(){var a=new fP;if(!_.Yf(this.H)){_.B(a,4,this.V||[]);var b=[];_.Rf(this.H,function(c){b.push(_.Pk(c))});_.jb(a,2,b)}a.Gc(this.W);return a};J6c.prototype.ySa=function(a){this.H[a.getId()]=H6c(a);this.ha.update(1);this.dispatchEvent(new _.xi("Qb",this))};J6c.prototype.remove=function(a){_.$f(this.H,a)&&this.ha.update(1)};
J6c.prototype.aya=function(a,b,c){c=void 0===c?!1:c;var d=!I6c.has(b);1==this.W&&d||(this.Qh=b,K6c(this,a,!d||c),d||this.ha.update(1),this.ka||(this.ka=!0,this.ma.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),YO(this.ta,"nVUlO")))};
var K6c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.Dd(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.Ea(f);d=f.length!=a.V.length}a.V=e;var h=_.bg(a.H);_.KKc(a.H);b=_.Jk(b,_.HO,2);d||(d=b.length!=_.Vf(h));b.forEach(function(k){var l=H6c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Ok(l,k))});a.ma.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.xi("Qb",a))};
var MP=function(a){_.P.call(this);this.context=a;this.he=new _.he(this);this.Oa(this.he);this.ma=new Set;this.H=6;this.Wa=0};_.N(MP,_.P);var M6c=function(a,b){a.Ia(b);a.ma.add(b);a.resize(!0);L6c(a,b)};MP.prototype.Ia=function(){};var N6c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.nQa()?a.resize(!1):a.dispose()};MP.prototype.ef=function(){return this.Wa};MP.prototype.Qz=function(a){this.Wa=a};MP.prototype.refresh=function(){};MP.prototype.V7=function(){};
var P6c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Pk(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Pk(e):null}c=Object.values(c).filter(function(f){return null!=f})}O6c(a.context.W,c,b);d=c.filter(function(f){return!bP(f)});xSc(b,d);c.forEach(function(f){T2c(a.context.Lq,f,b);if(f.Hc()){var h=f.getCapabilities();bP(f)?h&&(_.nMc(h,_.H(h,13)),_.kMc(h,!1),_.rMc(h,!1)):iO(f)?(h&&_.B(h,3,!1),_.B(f,30,!1)):h&&(_.vMc(h,!1),_.wMc(h,!1))}f.getCapabilities()||f.Wo(new _.sl)})};
MP.prototype.resize=function(){};MP.prototype.Ad=function(){};MP.prototype.SC=function(a,b){var c=this,d=!1;a.forEach(function(e){e=hP(e);d=c.dU(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&Q6c(this)};var R6c=function(a,b){var c=!1;b.forEach(function(d){c=a.dU(d)||c});c&&Q6c(a);return c};MP.prototype.update=function(a){return R6c(this,[a])};MP.prototype.dU=function(){};var Q6c=function(a){a.Ea();a.ma.forEach(function(b){L6c(a,b)})};MP.prototype.Ea=function(){};
var L6c=function(a,b){var c=NP(a.context);c=$1c(c,b).Ad();a.Ka(c)||(c=a.V7(c),a=NP(a.context),a.Ba[b]=c,a.V||(a.V=_.Ji(a.ka,50,a)))},S6c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=NP(a.context);d.Ea[c]=b;d.V||(d.V=_.Ji(d.ka,50,d))})},T6c=function(a){a.ma.forEach(function(b){(b=NP(a.context).ha[b])&&b.HO()});a.Qz(0==a.ef()?1:6)};MP.prototype.nQa=function(){return!1};MP.prototype.Ka=function(){return!1};
var U6c=function(a){_.xi.call(this,"Db");this.id=a};_.N(U6c,_.xi);
var V6c=function(a,b,c,d){d=void 0===d?!1:d;_.Hi.call(this);this.Vb=a;this.va=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ta=[];this.ma=[];this.W=null;this.Ea=d};_.N(V6c,_.Hi);
var Z6c=function(a){if(a.V)return a.V.promise;a.V=_.ii();a.Vb.ym().forEach(function(b){var c=_.lp(_.Pk(a.Vb),[b]),d;a.Ea&&(d={AIb:!0});a.H.Ba().then(function(e){return e.H(c,d)}).then(function(e){return void W6c(a,e)},function(e){e=_.bM(e);if(5==e.kh.gz()||4==e.kh.Vj())a.H.ha.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),X6c(a);else{var f=new eP(e.kh,_.rk(a.H.H.Sf(),1,1));Y6c(a.H.W,a.Vb,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
W6c=function(a,b){b.Xq().Pd().forEach(function(c){_.UL(c,1);a.ta.push(c)});X6c(a)},X6c=function(a){a.W||(a.W=_.q.setTimeout(a.Ba.bind(a),10))};V6c.prototype.Ba=function(){_.q.clearTimeout(this.W);this.W=null;$6c(this);a7c(this);this.ha.size==this.Vb.ym().length?(oO(this.H.W,[],1,this.va,!1),this.dispatchEvent("Fb"),this.V.resolve(this.ka)):this.dispatchEvent("Cb")};
var $6c=function(a){var b=a.ta;a.ta=[];b=a.H.Se.q4(b);if(_.ZL(_.EL(a.H.H))){var c=a.H.W.V;_.La(b,function(d){var e=c.H(d.getId());e&&_.cN(d,e.Hj())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});oO(a.H.W,b,1,a.va,!0)},a7c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.VL(_.LL(new _.KL,c));a.H.W.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new U6c(c))})};
var b7c=function(a,b,c,d){MP.call(this,a);this.ha=b;this.Vb=c;this.V={};this.W=_.QL(a.H)||new _.zKc;d&&this.SC(d,!0)};_.N(b7c,MP);
b7c.prototype.refresh=function(){var a=this;this.H=6;if(_.F(this.Vb,5,!1))return this.H=1,_.bi();var b=!ASc(_.xN(this.ha),this.Vb.Ti()),c=[],d=this.context.Qn();this.Vb.ym().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=jO(n)||b)n=n&&n.Pn(),l=!(n&&_.H(n,2));l&&c.push(k)}});if(0==c.length)return this.SC([],!1),_.bi();var e=this.Vb.clone();_.lp(e,c);var f=new V6c(e,this.context,this.Vb),h=_.ii();this.context.ma.kf()?(this.he.listen(this.context.ma,"Ab",function(k){k.kf()||
(a.he.Yc(a.context.ma,"Ab"),c7c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.ta.kf()&&(this.H=0<Object.values(this.V).length?1:2),c7c(this,f,h));return h.promise};var c7c=function(a,b,c){a.he.listen(b,"Db",function(d){a.V[d.id]=null});T6c(a);Z6c(b).then(function(){c.resolve()},c.reject)};_.g=b7c.prototype;
_.g.zca=function(a){var b=this;return this.context.va.equals(a,this.Vb)?_.F(this.W,5,!1)&&_.F(this.W,3,!1)?a.ym().every(function(c){return(c=b.V[c])&&_.H(c.getItem(),31)}):ASc(_.xN(this.ha),a.Ti()):!1};_.g.V7=function(a){var b=new _.AN;_.GL(this.context.H)?b.Gc(NSc(Object.values(this.V))?6:this.H):b.Gc(this.H);BXc(b,this.ef());CXc(b,_.Tf(this.V,function(c){return c?c.getItem():null}));P6c(this,a.Ti(),b.Fs());return b};_.g.resize=function(){};_.g.Ad=function(){return this.Vb};
_.g.dU=function(a){var b=d7c(this,a.V),c=d7c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};var d7c=function(a,b){return!!b&&_.na(a.Vb.ym(),b.getId())};
var e7c=function(a,b){_.xi.call(this,a);this.changes=b};_.N(e7c,_.xi);
var f7c=function(a){var b=new P1c;if(a.Af()){var c=a.Af();b.H=!1;b.ma=c}a instanceof _.BN&&_.Jk(a,_.ml,6).length?(a=_.Jk(a,_.ml,6),b.H=!1,b.ha=a):a instanceof _.OB&&(a.Q3()||a.nra()||a.gfa().length)&&(c=a.Q3(),b.H=!1,b.ka=c,c=a.nra()||!1,b.H=!1,b.V=c,a=a.gfa(),b.H=!1,b.W=a);return b};
var OP=function(a,b,c,d,e){e=void 0===e?"":e;_.Hi.call(this);this.context=a;this.rb=a.ha;this.request=b;this.nextPageToken=e;this.ha=0;this.Ea=!1;this.W=[];this.va=new Set;this.V=!1;this.ma=0;this.Ba=c||!1;this.ab=d||!1;this.Wa=this.ta(b);this.ka=new P1c};_.N(OP,_.Hi);var g7c=function(a){return!a.Ea||""!=a.nextPageToken},i7c=function(a,b){a.ha=b;return a.W.length<a.ha&&!a.V&&g7c(a)?h7c(a):_.qi()};OP.prototype.wc=function(){return this.W.length};OP.prototype.H=function(){return this.W.slice()};
var h7c=function(a){var b=a.ha-a.W.length+a.ma;a.rb.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.li;d.addCallback(function(f){return void j7c(a,c,f)});var e=_.fLc(_.gLc(new _.HL,a.Wa),c);b=_.dLc(new _.YJc,b);a.ab&&_.B(b,10,!0);_.eLc(e,b);a.Ea=!0;a.V=!0;a.context.Ba().then(function(f){return f.H(e)}).then(a.Ma.bind(a,d),a.Ka.bind(a,d,b));return d};
OP.prototype.Ma=function(a,b){this.V=!1;if(b instanceof _.BN)var c=b;else c=b.Xq(),this.nextPageToken=b.oo()||"";this.ka=f7c(c);this.ka.Bc()||this.dispatchEvent("Eb");a.callback(c.Pd())};
OP.prototype.Ka=function(a,b,c){c=_.bM(c);this.V=!1;if(5==c.kh.gz())a.callback([]);else{if(10==c.kh.gz()&&(_.dLc(b,Math.ceil(_.rk(b,1,1E3)/2-2E-15)),1<_.rk(b,1,1E3))){var d=_.eLc(_.fLc(_.gLc(new _.HL,this.Wa),this.nextPageToken),b);this.V=!0;this.context.Ba().then(function(e){return e.H(d)}).then(this.Ma.bind(this,a),this.Ka.bind(this,a,b));return}b=new eP(c.kh,_.rk(this.context.H.Sf(),1,1));this.Ia(b);this.dispatchEvent(b);a.Vd(c)}};
var j7c=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: ")+(_.gOc(a.request)+" paginationToken: ")+b;b=_.wr(_.sr(_.NL(_.ML(new _.Qb,2),9),f));a.context.dispatchEvent(new _.Tb(new _.Rb(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.va.has(h.getId());a.va.add(h.getId());return!k});a.ma+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.UL(b.value,
a.Ba?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=_.LL(new _.KL,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new e7c("Cb",c));if(a.W.length<a.ha&&a.nextPageToken)return h7c(a);a.dispatchEvent("Fb")};OP.prototype.Qa=function(a){return a};OP.prototype.Ia=function(){};OP.prototype.Ad=function(){return this.request};OP.prototype.ta=function(a){a=_.Pk(a);this.Ba&&_.B(a,46,!0);return a};
var k7c=function(a,b,c,d){OP.call(this,a,b,void 0,c,d)};_.N(k7c,OP);k7c.prototype.Qa=function(a){a=this.context.Se.q4(a);oO(this.context.W,a,1,this.request,g7c(this));return a};k7c.prototype.Ia=function(a){Y6c(this.context.W,this.request,a)};k7c.prototype.ta=function(a){var b=a=OP.prototype.ta.call(this,a),c=_.gN(b);0==_.Dd(b,33).length&&1==c.length&&(c=this.context.W.V.H(c[0].hb()))&&(c=c.Hc())&&(_.bO(b,[c]),_.cO(b,2));l7c(this,a);return a};
var l7c=function(a,b){if(_.gN(b).some(function(d){return(d=a.context.W.V.H(d.hb()))&&_.H(d,108)})){var c=b.Ae();c||(c=new _.Se,_.Ul(b,c));_.Te(c,937)}};
var m7c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.va=d;this.W=0},o7c=function(a){var b=_.Rc(a.ta);b=b.filter(function(d){return d instanceof b7c});var c=new Set;b.forEach(function(d){d.Ad().ym().forEach(function(e){a.va.get(e)||c.add(e)})});b=_.Te(new _.Se,310);n7c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.Pc(c)),b)},q7c=function(a,b){var c=[];(a.V.W.Qa.H[b||"subscribed"]||[]).forEach(function(d){_.Rf(a.ta,function(e){_.Ok(e.Ad(),d)&&c.push(e)})});_.Ea(c);0<c.length&&
(p7c(a),c.forEach(function(d){d=aP(a.V.va,d.Ad(),3);n7c(a,"Refreshing "+b+" cache: "+d)}),_.ji(_.gi(c.map(function(d){return d.refresh().qg(_.mf)})),a.ha.bind(a)))};m7c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.dd(e)});if(0==a.length)return _.bi({});a=_.B(_.kp(_.lp(new _.jp,a),d||_.xN(this.ma)),7,!0);_.mp(a,b);p7c(this);b=new V6c(a,this.V,void 0,c);return _.ji(Z6c(b),this.ka.bind(this,b))};m7c.prototype.ka=function(a){a.dispose();this.ha()};
var p7c=function(a){a.W++;a.V.Ea.setActive(!1)};m7c.prototype.ha=function(){this.W--;0==this.W&&this.V.Ea.setActive(!0)};var n7c=function(a,b){a.V.ha.info("drive.ds.sync.cache.CacheRefresher",b)};
var r7c=function(a,b,c){_.P.call(this);this.ma=a;this.H=b;this.Vb=c;a=new _.Se;_.Ue(a,!1);_.Te(a,305);_.Ul(this.Vb,a);this.ha=new _.he(this);this.Oa(this.ha);this.W=this.V=null};_.N(r7c,_.P);var s7c=function(a){if(!a.V){a.V=_.ii();if(_.F(a.Vb,48,!1))return a.H.Qz(9),a.V.resolve(a.H),a.V.promise;a.W=new OP(a.ma,a.Vb,!0);a.ha.listen(a.W,"Cb",a.ka);a.ha.listen(a.W,"Fb",a.ta.bind(a));a.ha.listen(a.W,"Gb",a.V.reject.bind(a.V));i7c(a.W,a.Vb.li())}return a.V.promise};
r7c.prototype.ka=function(a){var b=this;_.La(a.changes,function(c){c=c.getItem();b.H.update(hP(new WO(c)))})};r7c.prototype.ta=function(){this.H instanceof iP?this.H.W=!g7c(this.W):g7c(this.W)&&$0c(this.H);this.H.Qz(5);this.V.resolve(this.H)};
var u7c=function(a,b){_.xi.call(this,t7c);this.ad=a;this.H=b};_.N(u7c,_.xi);var t7c="Rb";
var v7c=function(a,b){return new _.ai(function(c,d){b.then(function(e){var f={};a.dF().forEach(function(h){var k=h.getId();TSc(h.getItem());f[k]=new WO(h.getItem())});e.items.forEach(function(h){var k=h.Rc();k=f[k];h.Wj()?k&&a.update(new O0c(k.getId(),k,null)):(h=h.getItem(),TSc(h),a.update(P0c(k,new WO(h))))});a.k_();c(e.tAb)},d)})};
var w7c=function(a,b){_.P.call(this);this.H=a;this.V=b};_.N(w7c,_.P);
var C7c=function(a){var b=_.q._DRIVE_ivd;x7c(a,"Running initial view populator (IVDP).");try{var c=new VO(JSON.parse(b))}catch(r){y7c(a,"Error parsing initial view dump.",r);return}b=_.EL(a.H.H);if(!_.ZL(b)){var d=c.Dg();if(d){var e=d.getUser();e&&e.getId()==_.G(b,6,"")&&F6c(a.H.Cb,d,4)}(b=c.Qn())&&C6c(a.H,b,6)}var f=c.NA()||void 0;f&&z7c(a.H,f,!0);if((b=c.rz())&&b.length){d=(d=a.H.H.Sf())&&_.Dd(d,30)||[];var h=new Set(d);b.forEach(function(r){(r=(r=r.getKey())&&_.op(r))&&h.add(r)});A7c(a.H.Qa,b,
4,[].concat(_.Pc(h.values())))}b=c.Pd();b.forEach(function(r){_.uLc(r);_.UL(r,6)});if(d=_.Jk(c,UO,5)[0])if(c=a.H.va,HSc(_.xN(a.V),d.getQuery().Ti(),_.jN(a.H.H)))if((e=d.getQuery().qd())&&4==e.getType()&&!QSc())y7c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=$O(c,d.getQuery());var k=_.C(d,2)||void 0;e.Ei(k);k=b.map(function(r){return new WO(r,void 0,1,f)});var l=_.D(d,_.zl,3);if(l&&_.C(d,2)){var n=k[k.length-1];_.UL(l,6);if(!_.Ok(l,n.getItem())){y7c(a,"Invalid last item in initial view data.");
return}}d=(l=_.QL(a.H.H))&&_.F(l,2,!1)&&d.oo()||"";var p=new iP(a.H.Ma,a.H.ab,a.H.va,e,n,d);p.Qz(4);k.forEach(function(r){p.update(hP(r))});B7c(a.H.W,p);n=p.Ad();x7c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+aP(c,n));c=new _.HL;_.gLc(c,n);n=_.xPc(a.H.Wa,c,"IVDP");_.yPc(n,b);YO(a.H.ka,"W6J7De")}}else y7c(a,"Invalid initial view data, fields: "+v_c(c,d.getQuery().Ti()));else y7c(a,"No initial query found")},y7c=function(a,b,c){var d=
c?void 0:_.wr(_.NL(_.ML(new _.Qb,2),6));c=new _.Rb(b,d,c);a.H.Lb(c.kh);x7c(a,"Initial view dump population failed. Message: "+b);YO(a.H.ka,"DEJoH")},x7c=function(a,b){a.H.ha.info("drive.ds.sync.cache.InitialViewPopulator",b)};
var D7c=function(a){_.Hi.call(this);this.context=a;this.W=new kP(a.Ma,a.ab,a.ka,a.H,function(){return a.Qn()});this.ta="drive.ds.sync.cache.CorpusCachePopulator";this.ha=0};_.N(D7c,_.Hi);var E7c=function(a,b){var c=_.rk(a.context.H,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?($0c(a.W),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Wa.Rb("CachedCorpusType",b)};
D7c.prototype.log=function(a,b){this.context.ha.log(this.ta,a,b||"info")};var F7c=function(a,b){0==a.ha&&(a.ha=b)};
var G7c=function(a,b){var c;if(c=!!b&&!!b.ij())a=a.xm(),c=null==a||!!b.ij().xm()==a;return c};
var H7c=function(a,b){_.Hi.call(this);this.V=a;this.Vb=b;this.ka=[];this.H="";this.W=this.ha=!1};_.N(H7c,_.Hi);var J7c=function(a){return a.W||a.ha&&""==a.H?_.qi():I7c(a)};H7c.prototype.wc=function(){return this.ka.length};
var I7c=function(a){a.ha=!0;a.W=!0;var b=RVc(SVc(new _.SM,a.Vb),a.H),c=_.xPc(a.V.Wa,b);return _.ri(a.V.Ba().then(function(d){return d.H(b)}).then(function(d){var e=d.Xq().Pd();a.H=d.oo()||"";K7c(a,c,e)},function(d){a.W=!1;d=new eP(_.OL(d),_.rk(a.V.H.Sf(),1,1));a.dispatchEvent(d)}))},K7c=function(a,b,c){_.yPc(b,c);for(b=0;b<c.length;b++)_.UL(c[b],1);oO(a.V.W,c,1,a.Vb,!a.ha||""!=a.H);var d=[];_.La(c,function(e){this.ka.push(e.getId());e=_.LL(new _.KL,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new e7c("Cb",
d));a.H?I7c(a):(a.W=!1,a.dispatchEvent("Fb"))};H7c.prototype.Ad=function(){return this.Vb};
var L7c=function(a){this.H=i_c(a,{numeric:!0})};L7c.prototype.sort=function(a){_.Ha(a,this.V.bind(this))};L7c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Fa(a.getId(),b.getId()):c};
var PP=function(a,b,c,d){d=void 0===d?!1:d;MP.call(this,a);this.ka=b;this.Vb=_.Pk(c);this.ha=new H7c(a,this.Vb);this.va=new L7c(uO(_.EL(a.H)));this.ta=null!=_.H(this.Vb,6);this.V=[];_.Yd(this,this.L6a,this);this.W=null;d&&(this.W=_.ii(),this.W.resolve())};_.N(PP,MP);PP.prototype.refresh=function(){3==this.H&&(this.H=6,this.W=null);return M7c(this)};PP.prototype.Rs=function(){return!!this.W};
var M7c=function(a){if(a.Rs())return a.W.promise;a.W=_.ii();a.context.ma.kf()?a.he.listen(a.context.ma,"Ab",function(b){b.kf()||(a.he.Yc(a.context.ma,"Ab"),T6c(a),J7c(a.ha).hg(a.W.resolve,a.W.reject,a.W))}):(T6c(a),J7c(a.ha).hg(a.W.resolve,a.W.reject,a.W));return a.W.promise};_.g=PP.prototype;_.g.resize=function(){};_.g.Ad=function(){return this.Vb};_.g.dF=function(){return this.V};_.g.zca=function(a){return this.context.va.equals(a,this.Vb)};
_.g.V7=function(a){a=a.li();this.va.sort(this.V);var b=lTc(_.za(this.V,0,Math.min(a,this.V.length)));P6c(this,qWc(this.ka),b);var c=new _.OB;c.uw(b);c.Gc(1==this.H||a<=this.V.length?1:this.context.ma.kf()||this.context.ta.kf()?0<this.V.length?1:2:6);c.R3(this.ef());tVc(c,a<this.V.length||!(this.context.ma.kf()||this.context.ta.kf())&&1!=this.H);return c};_.g.SC=function(a,b){this.Rs()&&MP.prototype.SC.call(this,a,b)};
_.g.dU=function(a,b){b=void 0===b?!1:b;if(!this.Rs())return!1;var c=a.id,d=_.la(this.V,function(h){return h.getId()==c}),e=!!d;b=N7c(this,a.H,b);var f=a.V;d&&(f=d,e=!0);if(e||b)e?b?O7c(this,f,a.H):P7c(this,f):Q7c(this,a.H);else return!1;return!0};
var Q7c=function(a,b){a.V.push(b);b.H++},P7c=function(a,b){_.ua(a.V,b);b.H--},O7c=function(a,b,c){a.V[_.ma(a.V,b)]=c;c.H++;b.H--},N7c=function(a,b,c){c=void 0===c?!1:c;if(!b)return!1;if(a.ta&&null!=_.H(a.Vb,6)){if(c)return!0;var d=b.getId();c=!!a.V.find(function(e){return d==e.getId()},a);a=bP(b.getItem())&&G7c(a.Vb,b.getItem());return c&&a}return bP(b.getItem())&&G7c(a.Vb,b.getItem())};_.g=PP.prototype;_.g.L6a=function(){this.V.forEach(function(a){a.H--})};_.g.nQa=function(){return!0};
_.g.getType=function(){return"TeamDriveViewCache"};_.g.T7=function(){return this.V.length};_.g.k_=function(){this.H=1};
var R7c=function(a){this.H=a},T7c=function(a,b){return S7c(a,b,null,0,5)},S7c=function(a,b,c,d,e){if(0==e||null==b){var f=new l5c;_.B(f,2,b);_.B(f,1,d);return _.bi(f)}var h=m0c();_.B(h,2,b);c&&_.B(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.Jw();k=d+_.C(k,1);return S7c(a,l,c,k,e-1)})};
var U7c=function(a,b){D7c.call(this,a);this.H=a.H;this.ma=b;this.ka=void 0;this.Ba=null;this.Ea=!1;this.V=void 0;this.ta="drive.ds.sync.cache.LocalDumpPopulator"};_.N(U7c,D7c);U7c.prototype.handleError=function(){this.log("Local dump population failed.");YO(this.context.ka,"mrK8ic")};
U7c.prototype.va=function(){var a=this;if(this.Ba)return this.Ba;if(this.context.Wb){var b=new _.li;this.Ba=b;V7c(this).then(function(){var c=_.Jk(_.vO(a.H),tO,11);c=c[0]&&c[0].getKey()||"";return W7c(a,a.context.Wb,c,4)}).qg(function(c){if(_.F(a.H,8,!0))return X7c(a);throw c;}).then(function(){_.GL(a.H)||a.context.W.ka.H.clear();YO(a.context.ka,"zaOY7");b.callback()},function(c){F7c(a,8);a.handleError();b.Vd(c)});return b}this.handleError();return _.si(Error("Qf"))};
var V7c=function(a){return a.context.Wb.initialize().then(function(){if(!_.kN(a.H)){var b=_.rk(_.vO(a.H),7,432E6);b&&(a.ka=Date.now()-b);return new _.ai(function(c,d){t4c(a.context.Ka).then(function(e){e?c():d(Error("Rf"))})})}})},W7c=function(a,b,c,d){var e=a.ka;Y7c(a,b,c,e);Z7c(a,b,c,e);$7c(a,b,c,e);return a8c(a,b,c,e).then(function(){return Promise.all([b8c(a,b,c,d,e),c8c(a,b,c,d,e),d8c(a,b,c,d,e),e8c(a,b,c,d,e)])})},Y7c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
vP(b,c,0,void 0,d,a.V).then(function(f){f[0]?F6c(a.context.Cb,f[0],a.ef(),_.kN(a.H)):e()},function(){return e()})},Z7c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};vP(b,c,1,void 0,d,a.V).then(function(f){f[0]?a.context.Qc.aya(f[0],a.ef(),_.kN(a.H)):e()},function(){return e()})},$7c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};vP(b,c,5,void 0,d,a.V).then(function(f){if(f[0]){f=f[0];var h=f.rz();h.length&&A7c(a.context.Qa,
h,a.ef(),_.Dd(f,2),_.kN(a.H))}else e()},function(){return e()})},b8c=function(a,b,c,d,e){var f=new _.mo;vP(b,c,3,1,e,a.V).then(function(h){return f8c(a,h[0])}).then(function(h){if(h){b!=a.context.Wb||HSc(h.Ti(),_.xN(a.ma),_.jN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ea.GU());var k=h.NA();if(!k||0>k)throw Error("Uf");C6c(a.context,h.Qn(),d);k=h.NA();"number"===typeof k&&z7c(a.context,Number(k));_.kN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.ul());g8c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},c8c=function(a,b,c,d,e){var f=new _.mo;vP(b,c,3,2,e,a.V).then(function(h){h[0]?(g8c(a,h[0],d),f.resolve()):f.reject(Error("Sf"))},f.reject,f);return f.promise},d8c=function(a,b,c,d,e){var f=new _.mo;vP(b,c,3,4,e,a.V).then(function(h){h.forEach(function(k){g8c(a,k,d)});f.resolve()},f.reject,f);return f.promise},e8c=function(a,b,c,d,e){var f=new _.mo;vP(b,c,3,3,e,a.V).then(function(h){h.length?
h.forEach(function(k){g8c(a,k,d)}):YO(a.context.ka,"rVezo");f.resolve()},f.reject,f);return f.promise},a8c=function(a,b,c,d){var e=new _.mo;vP(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,h.yq().length&&(a.log("Importing "+h.yq().length+" people into the PeopleCache."),h=h.yq(),p1c(a.context.W.ka.H,h,2));e.resolve()},e.reject,e);return e.promise},f8c=function(a,b){var c=b.NA();return c&&!_.kN(a.H)?T7c(new R7c(a.context.Ba()),c).then(function(d){return _.nk(d,
2)?(a.log("Encrypted dump too stale."),a.context.zm().H(106007),F7c(a,9),null):b},function(){return b}):_.bi(b)},X7c=function(a){var b=sP(a.context.Ab.xi()),c=_.Jk(_.vO(a.H),tO,11).filter(function(d){return d.Bq()});return V3c(_.iN(_.EL(a.H)),_.jN(a.H),_.rk(_.vO(a.H),10,0)||0,_.xN(a.ma),a.ka||0,c.map(function(d){return _.C(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==_.C(k,1)}),f=new tP(_.bi(d),a.context.ha,null,!0),h=new W3c(f,a.H,function(k){a.context.Lb(k)});h.initialize();
a.Ea=!0;return W7c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([p4c])}).then(function(k){if(k[0])return k=k[0].hb(),wP(a.context.Ka,p4c,k)}).then(function(){f.close()})}return _.ei(Error("Tf"))})},k8c=function(a,b,c){switch(_.qk(b,13,0)){case 1:return h8c(a,b,c);case 2:b=_.D(b,yTc,11);if(!b)throw Error("Vf");E7c(a,b);a.W.V?(a.W.Qz(a.ef()),a=[{cache:a.W,changes:rP(a.context.Ia,null)}]):a=[];return a;case 3:return i8c(a,b);case 4:return j8c(a,b);default:return null}},h8c=function(a,
b,c){var d=[];_.Jk(b,UO,5).forEach(function(e){var f=void 0,h=_.D(e,_.zl,3);h&&(_.uLc(h),_.H(a.H,67)&&vSc(h,KSc),_.UL(h,c),f=new WO(h));var k=e.getQuery();if(!_.F(k,48,!1)||_.Jk(a.H,_.He,44).some(function(l){if(!_.F(l,48,!1))return!1;l=$O(a.context.va,l,!0);return _.Ok(l,k)}))e=new iP(a.context.Ma,a.context.ab,a.context.va,k,f),e.Qz(a.ef()),d.push({cache:e,changes:rP(a.context.Ia,null)})});return d},j8c=function(a,b){return _.Jk(b,UO,5).map(function(c){c=new PP(a.context,a.ma,_.D(c,_.uL,5),!0);c.Qz(a.ef());
return{cache:c,changes:rP(a.context.Ia,null)}})},i8c=function(a,b){var c=_.Dd(_.Jk(b,UO,5)[0].getQuery(),33)[0],d=b.NA()||void 0;b=rP(a.context.Ia,c);QP(a.context).addCallback(function(f){f.uoa(c,d)});var e=new lP(a.context.Ma,a.context.ab,c);e.Qz(a.ef());return[{cache:e,changes:b}]},g8c=function(a,b,c){var d=k8c(a,b,c);d&&0!=d.length?(b.Pd().forEach(function(e){_.uLc(e);_.H(a.H,67)&&vSc(e,KSc);_.UL(e,c);if(!_.GL(a.H)&&!a.context.W.ka.H.Bc()){var f=a.context.W.ka;J1c(f,D1c(f,[e]))}e=new WO(e);for(f=
0;f<d.length;f++)d[f].cache.update(hP(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new u7c(f,e.changes));a.log("Imported "+f.T7()+" items into the "+f.getType());var h=null;f instanceof lP&&(h=f.Hc());a.context.Rd.promise.then(function(){x2c(a.context.Ia,h)})}),1==_.qk(b,13,0)&&YO(a.context.ka,"ZA9qG")):a.log("Ignoring corpus cache for "+_.qk(b,13,0)+".")};U7c.prototype.ef=function(){return this.Ea?7:3};
var l8c=function(a){_.P.call(this);this.H=a};_.N(l8c,_.P);
var s8c=function(a,b){m8c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:n8c(a,b);break;case 4:o8c(a,b);break;case 6:p8c(a,b);break;case 2:q8c(a,b);break;case 7:r8c(a,b);break;case 5:_.Jk(_.D(b,g5c,7),e5c,1).forEach(function(c){return s8c(a,c)});break;default:t8c(a,"Unsupported prefetched request.")}},n8c=function(a,b){var c=_.D(b,_.He,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.HL;_.gLc(d,c);b=a.H.Nc.H.jC(d,{headers:{},text:"",json:b}).Xq();u8c(a,c,
b)},p8c=function(a,b){u8c(a,_.D(b,_.He,2),_.D(b,_.OB,9))},u8c=function(a,b,c){for(var d=c.Pd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.UL(f.value,7);c=f7c(c);a=a.H.W;b=$O(a.H.va,b);e=RP(a,b);SP(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.ha[e];f||(f=new TP(a.H,b),f.Qz(2),a.ha[e]=f);c.Bc()||f.Hua(c);oO(a,d,1,b)},q8c=function(a,b){b=_.D(b,_.pp,5);var c=a.H.H.Sf();c=c&&_.Dd(c,30)||[];var d=new Set(c);b.rz().forEach(function(e){(e=(e=e.getKey())&&_.op(e))&&d.add(e)});A7c(a.H.Qa,
b.rz(),2,[].concat(_.Pc(d.values())))},o8c=function(a,b){a.H.Il.V(_.D(b,gP,8).hk(),_.D(b,_.Ap,6),2,!1)},r8c=function(a,b){var c=_.D(b,_.qp,10);b=JSON.parse(_.C(b,3)||"{}");b=a.H.Nc.H.jC(c,{headers:{},text:"",json:b});l6c(a.H).V([b],c,2,!1)},t8c=function(a,b,c){var d=c?void 0:_.wr(_.NL(_.ML(new _.Qb,2),6));a.H.dispatchEvent(new _.Tb(new _.Rb(b,d,c)));m8c(a,"Prefetched request population failed.")},m8c=function(a,b){a.H.ha.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)};
var UP=function(a){D7c.call(this,a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.rk(a.H,31,2E4));this.ta="drive.ds.sync.cache.SdkCachePopulator"};_.N(UP,D7c);UP.prototype.va=function(){if(!_.F(this.context.H,45,!1))return F7c(this,5),this.V(),_.si(Error("Wf"));this.log("Drive SDK cache population initiated.");return this.context.Gn().addCallback(this.Ia,this).addCallback(this.Ea,this).$e(this.V,this)};
UP.prototype.Ia=function(){var a=this;YO(this.context.ka,"L6uQWd");QP(this.context).addCallback(function(b){b.jaa()});if(_.F(this.context.H,46,!1))return xTc(this.context.Ba(),this.context.ha).addCallback(function(b){if(!b)throw F7c(a,4),Error("Xf");E7c(a,b)});this.log("Subscribed corpus cache population disabled.");$0c(this.W);return _.qi()};
UP.prototype.Ea=function(){var a=this;this.context.ul();var b=new _.li;if(this.W.V){this.log("Starting subscribed corpus cache population.");var c=this.W.Ad();c.Ei(this.Ba);this.W.Qz(5);v8c(this,this.W,c)}c=_.Jk(this.context.H,_.He,44);_.La(c,function(d){d=new iP(a.context.Ma,a.context.ab,a.context.va,d);d.Qz(5);v8c(a,d,d.Ad());d=aP(a.context.va,d.Ad());a.log("Starting "+d+" cache hint corpus cache population.")});_.gi(this.ka).then(b.callback,this.ma.bind(this,b),b);return b};
var v8c=function(a,b,c){var d=rP(a.context.Ia,null);b=new r7c(a.context,b,c);a.H.push(b);b=_.ji(s7c(b).then(function(e){!e.V&&e instanceof kP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Wa.Rb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new u7c(e,d))}),function(){a.context.Rd.promise.then(function(){x2c(a.context.Ia,null)})});a.ka.push(b)};
UP.prototype.ma=function(a,b){_.La(this.H,function(d){d.dispose()});F7c(this,7);var c=b;b instanceof eP?c=_.aM(b.error):_.FL(b)||(c=Error("Yf`"+b));a.Vd(c)};UP.prototype.V=function(){this.log("Drive SDK cache population failed.");YO(this.context.ka,"Gv4zef")};UP.prototype.ef=function(){return 5};
var w8c=function(a,b){_.P.call(this);this.H=a;this.ka=b;this.ma=new _.he(this);this.Oa(this.ma);this.W=new U7c(this.H,this.H.rb);this.Oa(this.W);this.ha=new UP(this.H);this.Oa(this.ha);this.V=null;this.ta=[]};_.N(w8c,_.P);
var D8c=function(a){x8c(a,"Corpus cache population initiated.");a.V=a.H.zm().V(106002);_.q._DRIVE_dsp&&y8c(a);_.q._DRIVE_dspc=function(c){return y8c(a,c)};rP(a.H.Ia,null);_.F(a.H.H,24,!1)&&!_.kN(a.H.H)&&(_.q._DRIVE_ivd||null===_.q._DRIVE_ivd?z8c(a):_.q._DRIVE_ivdc=function(){z8c(a)});var b=a.H.Wb;b?(a.ma.listen(a.W,t7c,a.va),a.ma.listen(a.ha,t7c,a.va),(!_.F(a.H.H,10,!1)&&_.H(a.H.H,69)?a.H.Xd.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){x8c(a,"Dump storage initialized.");
a.V&&(a.W.V=a.V);return a.W.va().hg(function(){return A8c(a,a.W.ef())},function(){B8c(a,a.W.ef(),a.W.ha);if(_.kN(a.H.H))C8c(a,Error("Zf"));else return a.ha.va().then(function(){return A8c(a,a.ha.ef())},function(c){B8c(a,a.ha.ef(),a.ha.ha);return C8c(a,c)})})},function(c){C8c(a,_.FL(c)?c:void 0,!0)})})):C8c(a,void 0,!0)},y8c=function(a,b){var c=new l8c(a.H);(_.q._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e==b)}).forEach(function(d){try{s8c(c,new e5c(JSON.parse(d)))}catch(e){t8c(c,
"Error parsing prefetched request.",e)}});c.dispose()};w8c.prototype.va=function(a){var b=a.ad;x8c(this,"Cache populated: "+b.getType());this.ta.push(E8c(this,b,a.H))};
var A8c=function(a,b){x2c(a.H.Ia,null);YO(a.H.ka,"L6uQWd");QP(a.H).addCallback(function(c){c.jaa()});return Promise.all(a.ta).then(function(){return F8c(a,b)})},G8c=function(a){return(a=a.H.W.ma.H)&&a.V?1:2},F8c=function(a,b){if(!a.isDisposed()){_.kN(a.H.H)||H8c(a.ka,_.Jk(a.H.H,_.He,44));x8c(a,"Corpus cache population complete.");var c=a.H.ka;c.H("mrK8ic")?c.H("Gv4zef")||a.H.Ea.mxa():t4c(a.H.Ka).then(function(d){d&&a.H.Ea.mxa()},function(){});YO(c,"rVezo");YO(c,"BNEDtc");a.V&&(b=_.zN(_.nKc,b),WVc(sWc(a.V),
b),VVc(sWc(a.V),!0),XVc(sWc(a.V),e0c(a.ka.V)),YVc(sWc(a.V),G8c(a)),a.V.H());a.dispose()}},B8c=function(a,b,c){a.V&&(b=_.zN(_.nKc,b),WVc(sWc(a.V),b),a=sWc(a.V),_.Hk(a,3,c,void 0))},C8c=function(a,b,c){c=void 0===c?!1:c;x2c(a.H.Ia,null);var d=a.H.ka;YO(d,"L6uQWd");QP(a.H).addCallback(function(e){e.jaa()});YO(d,"mrK8ic");YO(d,"Gv4zef");YO(d,"rVezo");YO(d,"BNEDtc");a.H.Wa.Rb("CachedCorpusType","partialCorpus");d=!!a.W.context.Wb||_.F(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",
_.FL(b)?(d=b,c+=d.message):c+=String(b),x8c(a,c),b=new _.Rb(c,void 0,d),d=b.kh,_.ML(d,_.kN(a.H.H)?3:1),_.NL(d,6),_.sr(d,c),_.wr(d),a.H.dispatchEvent(new _.Tb(b))):x8c(a,"Corpus population skipped");a.V&&(VVc(sWc(a.V),!1),a.V.H());a.dispose()},E8c=function(a,b,c){return v7c(b,c).then(function(d){d.some(function(e){return b instanceof lP&&e.Wj()&&e.Rc()==b.Hc()})||B7c(a.ka,b,d)},function(){return C8c(a,Error("$f"))})},z8c=function(a){if(_.q._DRIVE_ivd){var b=new w7c(a.H,a.H.rb);a.Oa(b);C7c(b)}else YO(a.H.ka,
"DEJoH")},x8c=function(a,b){a.H.ha.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)};
var I8c=function(){jP.apply(this,arguments)};_.N(I8c,jP);I8c.prototype.DH=function(a){var b;if(b=jP.prototype.DH.call(this,a))a=a&&a.getItem()&&a.getItem().Pn(),b=!(!a||!_.H(a,3));return b};I8c.prototype.Ad=function(){};I8c.prototype.getType=function(){};I8c.prototype.U7=function(){};
var J8c=function(a,b){this.V=a;this.W=b;this.H={}},L8c=function(a,b){if(!_.yM(b)){var c=_.Dd(b,33);if(1==c.length)K8c(a,c[0],b);else{c=_.gN(b);if(1==c.length&&!_.F(c[0],2,!1)){var d=c[0].hb();c=a.W.get(d);if(!c){c=a.V.W.va;var e=_.Te(new _.Se,310);c.H([d],e).then(function(f){if((f=f[d])&&f.Hc()){var h=f.getCapabilities();h&&_.Fd(h)&&(f=f.Hc(),K8c(a,f,b))}else K8c(a,null,b)});return}if(c.getItem().Hc()&&_.Fd(c.getItem().getCapabilities())){c=c.getItem().Hc();K8c(a,c,b);return}}K8c(a,null,b)}}},K8c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!bP(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(QP(a.V).addCallback(function(e){e.uoa(b)}),M8c(a.V.xu,b))},N8c=function(a,b){if(!_.yM(b)){var c={},d;for(d in a.H){c.PQ=d;for(var e=0;e<a.H[c.PQ].length;e++)if(_.Ok(b,a.H[c.PQ][e])){_.sa(a.H[c.PQ],e);"subscribed"!=c.PQ&&QP(a.V).addCallback(function(f){return function(h){h.ABa(f.PQ,!1)}}(c));return}c={PQ:c.PQ}}}};
var O8c=function(){this.H=new Map;this.V=[];this.W=[]};
O8c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();hO(e)&&(a?(e=a.getItem().Rf())&&_.C(e,1)&&(1==_.Md(e)||3==_.Md(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&&!_.Ok(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var P8c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},Q8c=function(a){a.V=[];a.W=[]};
var R8c=function(a,b){C2c.call(this,_.Pk(a),b.Ba(),b.H,b.ha);this.V=b};_.N(R8c,C2c);R8c.prototype.W=function(a){var b=new Map;a.ym().forEach(function(c){var d=_.Qwa(_.Pk(a),[c]);b.set(c,d)});return b};R8c.prototype.ka=function(a){a=a.Pd()[0];oO(this.V.W,[a],1,void 0,!0,this.request.Ti())};R8c.prototype.ma=function(a){oO(this.V.W,[],1,a,!1,this.request.Ti())};R8c.prototype.ta=function(a){a=_.VL(_.LL(new _.KL,a));this.V.W.ta([a])};
var S8c=function(a,b,c,d){MP.call(this,a);this.W=b;this.Vb=c;this.V={};d&&this.SC(d,!0)};_.N(S8c,MP);_.g=S8c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=ZO(this.context.H)!=ZO(this.context.H,this.Vb.Ti()),c=[];this.Vb.ym().forEach(function(h){var k=a.V[h];k&&k.getItem().ij()&&!b||c.push(h)});if(0==c.length)return this.SC([],!1),_.bi();var d=_.Pk(this.Vb);_.Qwa(d,c);var e=new R8c(d,this.context),f=_.ii();this.context.ma.kf()?(this.he.listen(this.context.ma,"Ab",function(h){h.kf()||(a.he.Yc(a.context.ma,"Ab"),T6c(a),D2c(e).then(f.resolve,f.reject,f))}),this.H=0<_.Vf(this.V)?1:2):(this.context.ta.kf()&&
(this.H=0<_.Vf(this.V)?1:2),T6c(this),D2c(e).then(f.resolve,f.reject,f));return f.promise};_.g.zca=function(a){return this.context.va.equals(a,this.Vb)&&ASc(_.xN(this.W),a.Ti())};_.g.V7=function(a){var b=new _.AN;b.Gc(this.H);BXc(b,this.ef());CXc(b,_.Tf(this.V,function(c){return c?c.getItem():null}));P6c(this,a.Ti(),b.Fs());return b};_.g.resize=function(){};_.g.Ad=function(){return this.Vb};
_.g.dU=function(a){var b=T8c(this,a.V),c=T8c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};var T8c=function(a,b){return!!b&&a.Vb.ym().includes(b.getId())};
var TP=function(a,b,c,d,e){MP.call(this,a);var f=this;this.Vb=_.Pk(b);this.ha=new k7c(this.context,this.Vb,!1,e);this.va=0;b=this.Vb.qd()&&m_c(this.Vb.qd());e=this.context.ab;this.ka=b?(0,_.v)(e.compare,e,this.Vb):null;this.uc=!b||!K_c(this.Vb)||_.ZL(_.EL(a.H));this.Wb=J_c(this.Vb);this.V=[];this.ta={};this.Ab=null;this.ab=!1;this.rb=[];this.Ba=[];this.Cb=null;this.W=0;c&&this.SC(c,!d);this.Lb=null;this.Ma=Date.now();this.Qa=_.rk(a.H.Sf(),16,36E5);_.WM(this.Vb)&&this.he.listen(this.context.Wi,"Hb",
this.zc);_.Yd(this,function(){_.aa(f.ha);U8c(f)})};_.N(TP,MP);TP.prototype.refresh=function(){return V8c(this,!1)};var V8c=function(a,b){a.H=6;if(_.F(a.Vb,48,!1))return a.H=1,_.bi();if(_.WM(a.Vb)){var c=W8c,d=a.context.Wi.H;d=Math.max(Date.now()-d,a.Qa);c(a,Math.min(d,2592E5))}return X8c(a,b)};TP.prototype.initialize=function(){return this.W>=this.Vb.li()||1==this.H?_.bi():this.refresh()};
var U8c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},W8c=function(a,b){_.q.clearTimeout(a.Lb);a.Lb=_.q.setTimeout(function(){return V8c(a,!0)},b)};TP.prototype.zc=function(){Date.now()-this.Ma>this.Qa&&W8c(this,0)};
var X8c=function(a,b){a.ha&&(a.he.Yc(a.ha,"Eb",a.Hua),a.he.Yc(a.ha,"Fb",a.ASa),a.ha.dispose());var c=a.Vb.Ae();c&&_.Ue(c,!1);a.ha=new k7c(a.context,a.Vb,b);a.va=0;a.he.listen(a.ha,"Eb",function(){return a.Hua(a.ha.ka)});a.he.listen(a.ha,"Fb",a.ASa);return Y8c(a)},Y8c=function(a){var b=_.ii();a.context.ma.kf()?a.he.listen(a.context.ma,"Ab",function(c){c.kf()||(a.he.Yc(a.context.ma,"Ab"),Z8c(a,b))}):Z8c(a,b);return b.promise},Z8c=function(a,b){T6c(a);var c=a.Vb.li()+a.va;_.jja(i7c(a.ha,c).hg(b.resolve,
b.reject,b),function(){return a.Ma=Date.now()})};_.g=TP.prototype;_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.Pc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=NP(this.context);d=$1c(e,d).Ad();b=Math.max(b,d.li())}_.WM(this.Vb)?(this.Vb.Ei(b),2!=this.ef()&&!this.ha.V&&(b>this.W||a)?this.refresh():$8c(this)):this.Vb.li()!=b&&(this.Vb.Ei(b),b>this.W?Y8c(this):$8c(this))};_.g.Ad=function(){return this.Vb};_.g.zca=function(a){return this.context.va.equals(a,this.Vb)};
_.g.V7=function(a){var b=a.li(),c,d=!1;if(_.zM(this.Vb)){var e=this.V.slice();var f=this.Ba.slice(0,b);if(this.Ba.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Dl(k.getItem()).filter(function(l){return h.includes(l.Ql().getId())});k=k.clone();ESc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Dl(l.getItem()).length})}d=NSc(e);c=new _.BN;_.B(c,4,!1);JWc(c,f)}else e=this.V.slice(0,b),c=new _.OB,tVc(c,b<this.V.length||!(this.context.ma.kf()||this.context.ta.kf())&&
1!=this.H),_.y(c,7,this.Ab),_.B(c,8,this.ab),_.bNc(c,this.rb),d=NSc(e);e=lTc(e);P6c(this,a.Ti(),e);c.uw(e);c.Gc(d?6:1==this.H||b<=this.W?1:this.context.ma.kf()||this.context.ta.kf()?0<this.V.length?1:2:6);c.R3(this.ef());c.uN(this.Cb);return c};_.g.Hua=function(a){this.Ab=a.ka;this.ab=a.V;this.rb=a.mta();this.Ba=a.ha;this.Cb=a.Af()};_.g.ASa=function(){var a=this.Vb.li()-this.W;0<a&&g7c(this.ha)&&(this.va+=a,Y8c(this))};
_.g.SC=function(a,b){_.WM(this.Vb)&&U8c(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=hP(d.value),c=this.dU(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.Fa;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(a9c(this,"ViewCache unsorted after import"),this.context.ab.sort(this.Vb,this.V));c&&Q6c(this)};
_.g.dU=function(a,b){var c=this.ta[a.id],d=!!c,e=b9c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&a9c(this,"Updating different wrapper from the existing one"):a9c(this,"Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?(b=f,a=a.H,this.ka&&0!=this.ka(b,a)?(c9c(this,b),d9c(this,a)):(c=this.V,d=this.ka?_.Ga(this.V,b,this.ka):_.ma(this.V,b),c[d]=a,a.H++,e9c(a)&&this.W++,b.H--,e9c(b)&&this.W--,_.$f(this.ta,b.getId()),this.ta[a.getId()]=a)):(c9c(this,f),_.WM(this.Vb)&&W8c(this,0));
else{if(_.WM(this.Vb)&&!b)return!1;d9c(this,a.H)}else return!1;return!0};
var d9c=function(a,b){a.ka?qSc(a.V,b,a.ka):a.V.push(b);b.H++;e9c(b)&&a.W++;a.ta[b.getId()]=b},c9c=function(a,b){if(a.ka){var c=a.V,d=_.Ga(c,b,a.ka);0<=d&&_.sa(c,d)}else _.ua(a.V,b);b.H--;e9c(b)&&a.W--;_.$f(a.ta,b.getId())},b9c=function(a,b,c){if(!b)return!1;if(a.uc&&!_.WM(a.Vb)){if(c)return!0;if(!a.Wb){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=M_c(a.context.Ma,a.Vb,b.getItem());return c&&a}}if(!M_c(a.context.Ma,a.Vb,b.getItem()))return!1;var e=1.2*a.Vb.li();if(1==a.H||!a.ka||
$Zc(b.V,2)||a.W<e||c||USc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},$8c=function(a){if(1!=a.H&&!a.context.ma.kf()&&!a.context.ta.kf()){var b=1.2*a.Vb.li();if(!(b>=a.W||a.ha&&b>=a.ha.wc())){b=a.W-a.Vb.li();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];$Zc(d.V,2)||USc(d.getItem())||(d.H--,e9c(d)&&a.W--,_.$f(a.ta,d.getId()),_.sa(a.V,c),b--)}X8c(a,!1)}}},a9c=function(a,b){var c=new _.Qb;_.ML(c,2);_.NL(c,6);_.wr(c);a.context.dispatchEvent(new _.Tb(new _.Rb(b,
c)))},e9c=function(a){return!$Zc(a.V,2)&&3!=jO(a.getItem())};TP.prototype.Ia=function(a){var b=this,c=_.gN(this.Vb);c.length&&(c=c.some(function(d){return(d=b.context.W.V.H(d.hb()))&&_.H(d,108)}),r0c(this.context.ah,a,c))};TP.prototype.Ea=function(){$8c(this)};TP.prototype.Ka=function(a){return 1!=this.H&&a.li()>this.W&&this.ha.V};
var h9c=function(a,b){_.P.call(this);var c=this;this.Wa=new _.he(this);this.Oa(this.Wa);this.H=a;this.Ba=b;this.ha={};this.ma=new c1c(a.va);this.W=new Y_c(a.dg,a.Ma,a.ab);this.Ia=new O8c;_.H(a.H,60)&&(this.Lb=new I8c(a.Ma,a.ab));this.Ea=new S_c(a.ha,_.xN(this.Ba));(b=_.QL(this.H.H))&&!_.F(b,1,!1)&&f9c(this,_.Dd(this.H.H,28));this.V=new a0c(this.Ba,this.H.va,this.W,this.Ea);this.H.zm().ha.H=this.V;this.va=new m7c(this.H,this.Ba,this.ha,this.W);this.Qa=new J8c(this.H,this.W);this.Ka=new w8c(this.H,
this);_.Yd(this.Ka,function(){c.Ka=null});this.rb=_.qLc(qWc(this.Ba),g9c);XO(this.H.ka,["NSockf"],function(){return c.initialize()});XO(this.H.ka,["NSockf","jroI5d"],function(){var d=c.H.H;if(_.D(d,_.zl,12))d=_.D(d,_.zl,12);else{var e=_.bMc(_.dMc(new _.ml,_.iN(_.EL(d))),!0);e=_.B(e,6,1);var f=_.G(_.EL(d),6,"");f&&e.Yb(f);e=_.hIc(_.IMc(_.JMc(_.rL((new _.zl).Yb(c.H.Qn()).setTitle(_.G(d,38,"My Drive")),"application/vnd.google-apps.folder").En(!1),e),[e]),1);e=_.B(e,29,!0);e=_.B(e,63,!0);f=e.Wo;d=_.eMc(new _.sl,
_.F(d,6,!0));d=_.B(d,2,!1);d=f.call(e,_.rMc(_.kMc(_.jMc(_.nMc(_.oMc(_.mMc(_.lMc(_.iMc(_.hMc(_.gMc(_.fMc(_.B(d,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}oO(c,[d],1);YO(c.H.ka,"hVFf7")});this.Ma=_.ii();XO(this.H.ka,["BNEDtc"],function(){c.Ma.resolve()});this.ka=new C1c(this.H.H,this.H.ha,a.Ba(),a.ah,this.H.zm(),this.H.Xd.promise);_.GL(this.H.H)&&this.Wa.listen(this.ka,"Kb",this.Cb);this.Ab=new _.hPc(this.H.H,this.V)};_.N(h9c,_.P);
h9c.prototype.Cb=function(a){a=a.getPeople();SP(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.ka.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(),i9c(this,e),a.push(P0c(d,new WO(e,void 0,1)))):SP(this,"b/154479164 Unexpected missing wrapper for "+e+".","warning")}j9c(this,a,[]);this.H.Ea.update(6)};
h9c.prototype.initialize=function(){D8c(this.Ka)};
var m6c=function(a,b,c){if(c instanceof _.He)c=$O(a.H.va,c),k9c(a,c.Ti()),L8c(a.Qa,c),a=l9c(a,c),M6c(a.cache,b);else if(c instanceof _.jp)c=m9c(a,c),k9c(a,c.Ti()),a=n9c(a,c),M6c(a.cache,b);else if(c instanceof _.uL){var d=RP(a,c),e=a.ha[d];e?(3==e.H?(SP(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):SP(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,Lu:!1}):(SP(a,d+" | ItemQueryRequest backed by new cache"),e=new PP(a.H,a.Ba,c),e.refresh().qg(_.mf),
a.ha[d]=e,a={cache:e,Lu:!0});M6c(a.cache,b)}else if(c instanceof _.rp)d=c.Ti(),e=a.Ea,T_c(e,e.V,e.ha,d),a=n9c(a,c),M6c(a.cache,b);else throw Error("ag");return a.Lu},n6c=function(a,b,c){if(c instanceof _.He)c=$O(a.H.va,c),N8c(a.Qa,c);else if(c instanceof _.jp)c=m9c(a,c);else if(!(c instanceof _.uL||c instanceof _.rp))throw Error("ag");c=RP(a,c);var d=a.ha[c];d&&(N6c(d,b),d.isDisposed()&&delete a.ha[c])},RP=function(a,b){return aP(a.H.va,b,2)},l9c=function(a,b){var c=RP(a,b),d=a.ha[c];if(d)return 3==
d.H?(SP(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):SP(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Lu:!1};d=[];for(var e=5,f,h,k=d1c(a.ma),l=0;l<k.length;l++){var n=k[l];e=n.kG(b);if(5!=e){f=1==e?void 0:b.li();d=n.sNa(b,f);f=n.ef();h=n instanceof iP?n.Jw():"";SP(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.T7()+" | initial "+d.length));break}}5==e&&SP(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ma.kf()||a.H.ta.kf())d=
d.concat(a.W.query(b,1)),_.Ea(d,void 0,function(p){return p.getId()}),e=(e=a.ma.H)&&e.ha&&5!=e.kG(b)?e.kG(b):6,SP(a,"Offline: Populate with "+d.length+" initial items(s)");d=new TP(a.H,b,d,1==e,h);f&&d.Qz(f);d.SC(a.W.query(b,2),1!=e);d.initialize().qg(function(p){p=_.OL(p);_.wr(p);a.H.dispatchEvent(new _.Tb(new _.Rb("Error during view cache init",p)))});a.ha[c]=d;return{cache:d,Lu:!0}},n9c=function(a,b){var c=RP(a,b),d=!1,e=a.ha[c];if(e)e.zca(b)?SP(a,"FindByIdsRequest backed by existing query cache: "+
c):(d=a.W.getAll(b.ym()),b=o9c(a,b,d),d=!0,a.ha[c]=b,p9c(e,b),e=b,SP(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.W.getAll(b.ym());e=o9c(a,b,f);d=!0;a.ha[c]=e;SP(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Lu:d}},o9c=function(a,b,c){var d;b instanceof _.jp?d=new b7c(a.H,a.Ba,b,c):d=new S8c(a.H,a.Ba,b,c);c.length&&d.Qz(8);d.refresh().qg(_.mf);return d},q9c=function(a){return Object.values(a.ha).filter(function(b){return b.Ad()instanceof
_.uL})};h9c.prototype.ab=function(a){for(var b=_.Te(new _.Se,309),c=[],d=_.m(Object.entries(this.Ea.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=v_c(this.H.va,c,!0),SP(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.va.H([a],b,!1,c))};
var O6c=function(a,b,c){c&&c.length&&V_c(a.Ea,b,c);_.GL(a.H.H)&&(a=a.ka,J1c(a,D1c(a,b)))},B7c=function(a,b,c){if(b instanceof PP){var d=RP(a,b.Ad());if(a.ha[d]){SP(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof Z0c&&a.ma.removeAll([b]);var e={},f=new Map;d=a.W.H;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.dF().forEach(function(p){var r=p.getId(),u=a.W.get(r);if(u){var z=jO(u.getItem());3==z||4==z?e[p.getId()]=p.getItem():
u!=p&&(z=l.push,u=new O0c(p.getId(),p,u),z.call(l,u));f.delete(r)}else r=hP(p),a.W.update(r),a.Ia.update(r),_.GL(a.H.H)&&a.ka.uM(r);_.GL(a.H.H)&&i9c(a,p.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(hP(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof PP?(d=RP(a,b.Ad()),a.ha[d]=b):a.ma.addAll([b]);var n=[];_.Rf(e,function(p){var r=new _.KL;_.LL(r,p.getId());r.setItem(p);n.push(r)});a.ta(n);SP(a,"Merged cache: "+b.getType());b instanceof lP&&
c.forEach(function(p){r9c(a.H.wl,p)});a.H.Ea.update(3)},p9c=function(a,b){(new Set([].concat(_.Pc(a.ma)))).forEach(function(c){M6c(b,c);N6c(a,c)})},oO=function(a,b,c,d,e,f){f||(f=d?[].concat(_.Pc(d.Ti().filter(function(A){return!_.xN(a.Ba).includes(A)}))):[]);d&&d instanceof _.He&&_.WM(d)&&s9c(a,b,d);for(var h=[],k=[],l=0;l<b.length;l++){var n=b[l],p=new WO(n,void 0,c),r=a.W.get(n.getId()),u=r?r.getItem():null,z=t9c(a,r,p);if(null!=z)p.kV(z),u9c(a,u,n),TSc(n),n=F_c(n,u,f),p.setItem(n);else if(null!=
r)p=r,n=u;else continue;_.GL(a.H.H)&&i9c(a,n);!r||v9c(a,u,n,f)?(k.push(P0c(r,p)),h.push(p)):h.push(r)}b=null;d&&(b=RP(a,d),b=a.ha[b],d instanceof _.He&&(d=g1c(a.ma,d))&&d.SC(h,!!e),b&&b.SC(h,!!e));0<k.length&&(_.GL(a.H.H)&&k.forEach(function(A){return a.ka.uM(A)}),j9c(a,k,f,b?[b]:[]),w9c(a,h));NP(a.H).ka()},i9c=function(a,b){N1c(a.ka,b)||5!=jO(b)||_.PMc(b,1)},v9c=function(a,b,c,d){(b=b?_.Ak(b.clone(),82):null)&&O6c(a,[b],d);c=_.Ak(c.clone(),82);O6c(a,[c],[]);return!_.Ok(b,c)},s9c=function(a,b,c){x9c(a,
b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(gO(f,d,[1002]),gO(f,d,[1003]),gO(f,d,[1005]),b[e]=f);_.yM(c)&&0<_.Dd(c,33).length&&_.QMc(d,_.Dd(c,33)[0])})},x9c=function(a,b,c){var d;_.yM(c)?d="quick access":_.zM(c)?d="people predict":_.AM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");SP(a,"Got "+b.length+" items for "+d+": "+c)},w6c=function(a,b){var c={};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.Rf(c,function(d,e){e=Number(e);oO(a,lTc(d),e)})};
h9c.prototype.ta=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Wj()?null:e.getItem(),h=e.Rc(),k=(h=this.W.get(h))?h.getItem():null,l=null;if(f){l=new WO(f,void 0,void 0,e.NA()||void 0);var n=t9c(this,h,l);if(null==n)continue;l.kV(n);u9c(this,k,f);_.F(e,5,!1)&&vSc(f,KSc);TSc(f);f=F_c(f,k);l.setItem(f);_.GL(this.H.H)&&i9c(this,f)}y9c(this.H.xu,e);(k&&!f||f&&v9c(this,k,f,[]))&&c.push(P0c(h,l))}_.GL(this.H.H)&&c.forEach(function(p){return b.ka.uM(p)});j9c(this,c,[])};
var u9c=function(a,b,c){b&&!c.Pn()&&gO(c,b,a.rb);var d=b?b.Rf():null,e=c.Rf();e=e?_.Jd(e):null;d&&e&&u9c(a,_.Jd(d),e);b&&!_.Cl(c)&&gO(c,b,[1002]);b&&!_.Dl(c).length&&gO(c,b,[1003]);b&&!_.Jk(c,_.pl,117).length&&gO(c,b,[1005]);b&&null==c.K5()&&gO(c,b,[71]);b&&null==_.C(c,79)&&gO(c,b,[73]);b&&_.H(b,31)&&!_.H(c,31)&&(vSc(c,KSc),SP(a,"Cleared Item Suggest data for "+b.getId()+"."))},Y6c=function(a,b,c){if(b instanceof _.He||b instanceof _.jp||b instanceof _.uL)b=RP(a,b),(a=a.ha[b])&&S6c(a,c);else throw Error("ag");
},t9c=function(a,b,c){var d=c.getItem();if(o2c(a.H.Se,d))return null;if(b){if(!ZZc(b.V,c.V))return null;a=b.getItem();if(3!=jO(a)&&!bP(a)&&!bP(d)&&a.Hc()==d.Hc())if(a.xi()&&d.xi()){if(a.xi()>d.xi())return null}else if(b.NA()&&c.NA()){if(b.NA()>c.NA())return null}else if(a.Bs()>d.Bs())return null}return a_c(b&&b.V,c.V)},z9c=function(a,b){(a=a.W.get(b))&&a.kV(a_c(a.V,-2))},j9c=function(a,b,c,d){d=void 0===d?[]:d;var e=_.Rc(a.ha),f=_.m(d);for(d=f.next();!d.done;d=f.next())_.ua(e,d.value);d=_.m(b);for(f=
d.next();!f.done;f=d.next())f=f.value,a.Ea.update(f.id,f.H?f.H.getItem():null,c);c=_.m(e);for(d=c.next();!d.done;d=c.next())R6c(d.value,b);c=0;b=_.m(b);for(d=b.next();!d.done;d=b.next()){e=d.value;f=!1;d=d1c(a.ma);var h=_.m(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.H(a.H.H,60)&&a.Lb.update(e);a.W.update(e);a.Ia.update(e);a.W.get(e.id)||X_c(a.Ea,e.id)}0<c&&a.H.Ea.DSa(c);A9c(a)},A9c=function(a){var b=a.Ia.V.slice(0),c=P8c(a.Ia);Q8c(a.Ia);if(b.length){SP(a,"Refreshing shortcuts with unknown targets: "+
b.join(", "));var d=new _.Se;_.Te(d,308);a.va.H(b,d,!0)}if(c.length){SP(a,"Updating locally stale shortcuts: "+c.join(", "));b=b0c(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Rf(),k=_.C(h,1);if(k=a.V.H(k))_.y(h,5,k),_.B(h,4,1),e.push(f)});w6c(a,e)}},m9c=function(a,b){_.Ha(b.Ti());var c=_.ma(b.ym(),"root");if(0>c)return b;b=_.Pk(b);b.ym()[c]=a.H.Qn();return b},f9c=function(a,b){b=rWc(a.Ba,b);a=a.Ea;T_c(a,a.H,a.W,b)},k9c=function(a,b){var c=_.QL(a.H.H);c&&_.F(c,1,!1)&&f9c(a,
b)},w9c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==jO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});SP(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Te(new _.Se,311);a.va.H(c,d)}})},H8c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!g1c(a.ma,c)){SP(a,"Adding new cache hint for "+RP(a,c));var d=new iP(a.H.Ma,a.H.ab,a.H.va,c);c=new r7c(a.H,d,c);var e=rP(a.H.Ia,null);_.ji(s7c(c).then(function(){v7c(d,e).then(function(f){B7c(a,
d,f)})}),function(){x2c(a.H.Ia,null)})}})})},SP=function(a,b,c){a.H.ha.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},g9c=[50];
var C9c=function(a){_.P.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.Am;var c=_.ii();this.Ea=c.promise;u4c(this.H.Ka).then(function(d){b.V=d||[];c.resolve();B9c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;XO(this.H.ka,["rVezo"],(0,_.v)(this.ka,this))};_.N(C9c,_.P);
var M8c=function(a,b){_.F(a.H.H,46,!1)&&a.Ea.then(function(){if(a.V[0]!=b){_.ua(a.V,b);for(G_c(a.H.W.V.H(b))?VP(a,b,"Hidden TD, not tracking in recency list"):_.Aa(a.V,0,0,b);a.V.length>2*_.rk(a.H.H,47,5);)a.V.pop();wP(a.H.Ka,n4c,a.V)}_.xa(a.H.W.ma.V).length+a.W.size<_.rk(a.H.H,47,5)&&(B9c(a),a.ka())})},D9c=function(a,b){_.ua(a.V,b)&&wP(a.H.Ka,n4c,a.V)},y9c=function(a,b){r9c(a.H.wl,b);if(bP(b)){var c=b.Hc();b.Wj()?E9c(a,c):(b=b.getItem(),G_c(b)&&D9c(a,c))}},E9c=function(a,b){D9c(a,b);a.ha.contains(b)&&
a.ha.remove(b);var c=a.W.get(b);c&&c.dispose();a.W.delete(b);c=a.H.W.ma;for(var d=_.xa(c.V),e=0;e<d.length;e++){var f=d[e];if(f.Hc()==b){VP(a,b,"Cache removed");c.removeAll([f]);a.H.Ea.update(3);break}}QP(a.H).addCallback(function(h){h.ABa(b,!0)});a.ka()};
C9c.prototype.ka=function(){if(this.H.ka.H("rVezo")){var a=this.H.W.ma;F9c(this);for(var b={};this.ha.wc()&&!(this.ma>=_.rk(this.H.H,47,5));){var c=_.Bm(this.ha);this.ma++;f1c(a,c)||this.W.has(c)||(this.W.set(c,null),b.mba=new _.NLc,_.B(b.mba,1,c),this.H.Ba().then(function(d){return function(e){return e.H(d.mba)}}(b)).then(this.Ba.bind(this,c),this.va.bind(this,c)));b={mba:b.mba}}}};
var B9c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},F9c=function(a){_.q.clearTimeout(a.ta);a.ta=_.q.setTimeout(function(){B9c(a);a.ka()},36E5)};C9c.prototype.Ba=function(a,b){var c=_.C(b,1);c&&c>_.rk(this.H.H,48,1E3)?(VP(this,a,"Too large to backfill: "+_.C(b,1)),G9c(this,a,!1)):H9c(this,a)};
C9c.prototype.va=function(a,b){(b=_.OL(b).Vj())&&4==b?(VP(this,a,"Non-existent or inaccessible, removing from cache"),a=_.VL(_.RKc(_.LL(new _.KL,a),a)),this.H.W.ta([a])):H9c(this,a)};
var H9c=function(a,b){var c=new lP(a.H.Ma,a.H.ab,b),d=_.Pk(c.Ad());d.Ei(_.rk(a.H.H,48,1E3));d=new r7c(a.H,c,d);a.W.set(b,d);VP(a,b,"Backfill started");var e=rP(a.H.Ia,b);QP(a.H).addCallback(function(f){f.uoa(b)});_.ji(s7c(d).then(function(){I9c(a,b,c,e)},function(){VP(a,b,"Backfill failed");a.ma--;G9c(a,b,!0)}),function(){x2c(a.H.Ia,b)})},I9c=function(a,b,c,d){c.V?(c.k_(),v7c(c,d).then(function(e){VP(a,b,"Backfill complete, size: "+c.T7());B7c(a.H.W,c,e);G9c(a,b,!1)},function(){VP(a,b,"Backfill changes failed");
G9c(a,b,!0)})):(VP(a,b,"Backfill exceeded size limit"),G9c(a,b,!0))},G9c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&QP(a.H).addCallback(function(e){e.ABa(b,!1)});a.ka();0<a.W.size||_.xa(a.H.W.ma.V).map(function(e){return e.Hc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return E9c(a,e)})},VP=function(a,b,c){a.H.ha.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)};
var J9c=function(){_.P.apply(this,arguments)};_.N(J9c,_.P);
var M9c=function(a,b){b=K9c(b);var c=a.getItem(),d=L9c(c.getCapabilities());b.R_.forEach(function(e){_.hIc(e.getItem(),c.io());e.getItem().Wo(d.clone())});return b},P9c=function(a,b,c){var d=N9c(c);c=c.find(function(e){return e.getId()===b.getId()});c={sH:c?c:new WO(b),children:[]};O9c(a,d,c);return c},N9c=function(a){var b={};a.map(function(c){c.getItem().Hj().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},O9c=function(a,b,c){var d=c.sH.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(O9c(a,
b,{sH:e,parent:c,children:[]}))});return c},R9c=function(a,b){var c=b.children.filter(function(h){return!_.Bl(h.sH.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.sH.getItem();b.has(f.getId())||(_.hIc(f,a.io()),Q9c(a,f,e.parent?e.parent.sH.getItem():void 0),e.children.map(function(h){_.Bl(h.sH.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.sH))}return d},S9c=function(a){var b=a.children.filter(function(f){return!_.Bl(f.sH.getItem())});a=new Map;for(var c=[];b.length;){var d=
b.pop(),e=d.sH.getItem();a.has(e.getId())||(c.push(_.VL(_.LL(new _.KL,e.getId()))),d.children.map(function(f){_.Bl(f.sH.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},K9c=function(a){var b=[],c=[];a.forEach(function(d){_.Bl(d.getItem())||_.H(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{CX:c,R_:b}},L9c=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);_.xMc(a,b);_.B(a,30,c);_.sMc(a,b);_.yMc(a,c);_.tMc(a,c);_.uMc(a,b);
_.fMc(a,b);_.kMc(a,c);_.qMc(a,b);_.pMc(a,_.H(a,7));_.jMc(a,_.H(a,10)||_.H(a,11));_.rMc(a,_.tl(a));_.Ak(a,18);_.Ak(a,13);_.Ak(a,10);_.vMc(a,_.H(a,42));_.wMc(a,_.H(a,43));_.zMc(a,_.H(a,48));return a},Q9c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.H(d,30);_.B(e,30,f);_.sMc(e,_.H(d,31));_.yMc(e,_.H(d,47));_.tMc(e,_.H(d,32));_.uMc(e,_.H(d,33));_.fMc(e,_.H(d,4));_.kMc(e,_.H(d,9));_.rMc(e,_.H(d,21));_.qMc(e,_.H(d,20));_.pMc(e,_.H(d,17));_.eMc(e,_.tl(d));_.iMc(e,_.H(d,7));_.lMc(e,
_.H(d,10));_.mMc(e,_.H(d,11));f=_.H(d,45);_.B(e,45,f);_.xMc(e,_.H(d,46));_.zMc(e,_.H(d,48));a=_.Bl(a);_.B(b,137,a);c&&(c=c.getCapabilities(),iO(b)?(_.jMc(e,_.H(c,43)),_.wMc(e,_.H(c,43)),_.vMc(e,_.H(c,42))):_.jMc(e,_.H(c,42)))};
var T9c=function(a){this.H=a;this.ha=new J9c;this.V=a.W;this.W=_.Te(new _.Se,306)},r9c=function(a,b){if(bP(b))if(b.Wj())U9c(a,b);else{var c=b.Rc(),d=V9c(a,c),e=a.V.V.H(c);b=M9c(b,d);w6c(a.H.W,b.R_);a.V.va.H(b.CX,a.W);W9c(a,c,"SD update | Update "+b.R_.length+" item(s), "+b.CX.length+" divergent items");if(d=yWc(a.H.zm(),106017)){var f=uWc(d);_.B(f,1,b.CX.length);_.B(f,2,b.R_.length);d.H()}e||(a=a.V.va,c&&(n7c(a,"Processing potential rejoin for TD: "+c),b=_.cO(_.Tl(_.bO(new _.He,[c]),_.xN(a.ma)),1),
e=_.Te(new _.Se,306),_.Ul(b,e),p7c(a),b=new k7c(a.V,b),i7c(b,5E3).addCallback(a.ka.bind(a,b)),o7c(a),q7c(a,c)))}else if(_.F(a.H.H,86,!1)){c=b.Rc();e=a.V.V.H(c);if(e&&e.Hc()&&iO(b.getItem()||e)){if(d=!!_.Bl(e),!b.Wj()){var h=b.getItem();f=_.Bl(e)!=_.Bl(h);h=h.io()!=e.io();d=f||d&&h}}else d=!1;if(d)if(b.Wj()){if(b=V9c(a,e.Hc()),e=a.ha,d=(new _.zl).Yb(c),b=(b=P9c(e,d,b))?S9c(b):[],a.H.W.ta(b),W9c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=yWc(a.H.zm(),106009))c=tWc(a),_.B(c,2,b.length),
a.H()}else if(c=b.getItem(),e=V9c(a,c.Hc()),d=a.ha,c=b.getItem(),c=(e=P9c(d,c,e))?R9c(c,e):[],w6c(a.H.W,c),W9c(a,b.Rc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=yWc(a.H.zm(),106010))b=tWc(a),_.B(b,1,c.length),a.H()}},U9c=function(a,b){var c=b.Rc();b=V9c(a,c);b=K9c(b);var d=_.ib(b.R_,function(e){return _.VL(_.LL(new _.KL,e.getId()))});a.H.W.ta(d);a.V.va.H(b.CX,a.W);W9c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.CX.length+" divergent items");if(a=yWc(a.H.zm(),106016))c=uWc(a),
_.B(c,1,b.CX.length),_.B(c,2,b.R_.length),a.H()},V9c=function(a,b){var c=new _.He;_.bO(c,[b]);_.cO(c,2);return d0c(a.V.V,c)},W9c=function(a,b,c){a.H.ha.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)};
var X9c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
X9c.prototype.Xy=function(a,b){var c=this;if(a.tS().length){var d=k2c(this.H,a.Rc());if(d){var e=d?this.H.nea(a):[];for(var f={},h=_.m(a.tS()),k=h.next();!k.done;f={II:f.II},k=h.next())if(k=k.value,f.II=Y9c(e,k.tm(),a.Rc()),_.H(k,3))r2c(this.H,f.II),_.ji(b,function(r){return function(){c.H.W.ha(S1c(r.II))}}(f));else{for(var l=_.m(_.Jk(k,_.xG,2)),n=l.next();!n.done;n=l.next())Z9c(this,f.II,n.value);k=_.m(_.Dd(k,4));for(l=k.next();!l.done;l=k.next())$9c(f.II,l.value);pP(this.H,[f.II],!1,-1);b.then(function(r){return function(){return l2c(c.H,
r.II.getName())}}(f),function(r){return function(){return l2c(c.H,r.II.getName())}}(f))}e=a$c(d.W7().response)}}e=e?e:a$c();var p=e.H;b.then(function(r){p.resolve(r)},function(r){p.reject(_.bM(r));var u=a.Rc();t2c(c.ha,u);r=_.OL(r);_.B(r,21,"Server error updating metadata after optimistic application.");c.W(r)});return e};
var a$c=function(a){a=void 0===a?new GO:a;return new g_c(a.Gc(1))},Y9c=function(a,b,c){var d=a.find(function(e){return R1c(e.getName(),b)});d||(d=zXc((new EO).jd(b),c),a.push(d));return d},Z9c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new CO,d.Yb(c.getId()),yXc(b,b.V().concat([d])),b$c(d,c));if(1==DO(d))d.setBooleanValue(_.H(c,3));else if(12==DO(d))d.setDateStringValue(_.C(c,17));else if(2==DO(d))d.setTextValue(_.C(c,4));else if(3==DO(d))_.Dd(c,6).length?d.fla(_.Dd(c,
6)):_.Dd(c,5).length&&(a=_.Dd(d,7).concat(_.Dd(c,5)),d.fla(a));else if(4==DO(d))d.setLongTextValue(_.C(c,7));else if(5==DO(d))d.setSelectionValue(_.C(c,8));else if(6==DO(d))_.Dd(c,10).length?d.$ka(_.Dd(c,10)):_.Dd(c,9).length&&(a=d.WJa().concat(_.Dd(c,9)),d.$ka(a));else if(7==DO(d))d.setIntegerValue(_.C(c,11));else if(8==DO(d))_.Dd(c,13).length?d.Ska(_.Dd(c,13)):_.Dd(c,12).length&&(a=_.Dd(d,12).concat(_.Dd(c,12)),d.Ska(a));else if(10==DO(d))d.setUserValue(a.V(_.C(c,14)));else if(11==DO(d))_.Dd(c,
16).length?vXc(d,_.Dd(c,16).map(a.V)):_.Dd(c,15).length&&vXc(d,d.mNa().concat(_.Dd(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(DO(d)+"."),new _.Rb(d,new _.Qb);},$9c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==DO(a))_.Ak(a,5);else if(12==DO(a))_.Ak(a,17);else if(2==DO(a))_.Ak(a,6);else if(3==DO(a))_.XL(a,7);else if(4==DO(a))_.Ak(a,8);else if(5==DO(a))_.Ak(a,9);else if(6==DO(a))_.XL(a,10);else if(7==DO(a))_.Ak(a,11);else if(8==DO(a))_.XL(a,
12);else if(10==DO(a))_.Bk(a,15);else if(11==DO(a))_.YL(a,16);else throw a="Optimistic Applier: Unsupported value type "+(DO(a)+"."),new _.Rb(a,new _.Qb);},b$c=function(a,b){_.nk(b,3)?a.fz(1):_.nk(b,17)?a.fz(12):_.nk(b,4)?a.fz(2):_.Dd(b,6).length||_.Dd(b,5).length?a.fz(3):_.nk(b,7)?a.fz(4):_.nk(b,8)?a.fz(5):_.Dd(b,10).length||_.Dd(b,9).length?a.fz(6):_.nk(b,11)?a.fz(7):_.Dd(b,13).length||_.Dd(b,12).length?a.fz(8):_.nk(b,14)?a.fz(10):(_.Dd(b,16).length||_.Dd(b,15).length)&&a.fz(11)};
X9c.prototype.V=function(a){return _.cMc(_.aMc(1),a)};
var c$c=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.Ba=c;this.V=d;this.ta=e;this.Ea=f;this.W=k;this.ka=l;this.Ia=h;this.ha=0};c$c.prototype.apply=function(a,b){var c=this;if(!_.VM(a))return b;var d;a instanceof _.nM?d=d$c(this,a,b):a instanceof _.uM?d=e$c(this,a,b):a instanceof _.RL?d=f$c(this,a,b):a instanceof _.iM?d=g$c(this,a,b):a instanceof _.MM&&(d=this.Ba.Xy(a,b));d&&(this.ha++,this.ma.setActive(!1),_.ji(b,function(){c.ha--;0==c.ha&&c.ma.setActive(!0)}));return d?_.bi(d):b};
var d$c=function(a,b,c){n2c(a.V,b.getId());var d=a.H.V.H(b.getId());_.ji(c.then(function(){return void a.ka("VMiG2e")},a.va.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.OL(e);_.B(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.UM).Gc(1)},e$c=function(a,b,c){var d=_.C(b,2);d&&a.V.H.push(d);c.then(function(){d&&p2c(a.V,d)&&_.ji(h$c(a,d,new _.fPc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ka("VMiG2e")})},function(){d&&_.ua(a.V.H,
d)});c.then(null,function(e){e=_.OL(e);_.B(e,21,"Server error emptying trash after optimistic application.");a.W(e)});return(new _.UM).Gc(1)},h$c=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.bi();var f=_.ii(),h=c.hb();_.JH(c);setTimeout(function(){a.ta.then(function(k){var l=_.Te(new _.Se,1425);l=kTc(!0,1,l);return k.H(l).then(function(n){if(n=n.Xq())if(n=n.Pd()[0],!n||(n.Ix()||0)>b){f.resolve();return}_.ji(h$c(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ji(h$c(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},g$c=function(a,b,c){var d=b.Hc(),e=a.H.V.H(d);if(!e)return null;e=_.Pk(e);O6c(a.H,[e],[157]);var f=e.ij();i$c(f,_.Jk(b,_.yl,2));j$c(f,_.Jk(b,_.yl,3));oO(a.H,[e],-1,void 0,void 0,[157]);_.ji(c,function(){z9c(a.H,d)}).then(function(h){oO(a.H,[h.R5()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.OL(h);_.B(h,21,"Server error updating item after optimistic application.");a.W(h)});return NXc(new MXc,e).Gc(1)},i$c=function(a,
b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={dba:c.dba},d=b.next())c.dba=d.value,_.Jk(a,_.yl,8).some(function(e){return function(f){return f.tm()==e.dba.tm()}}(c))||_.Mk(a,8,c.dba,_.yl,void 0)},j$c=function(a,b){var c=b.map(function(d){return d.tm()});b=_.Jk(a,_.yl,8).filter(function(d){return!c.includes(d.tm())});DSc(a,b)},f$c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.Hc()&&0==b.ri())return null;var e=_.Dd(b,10),f=_.Dd(b,9);if(0<e.length&&0<f.length&&(e=Object.values(c0c(a.H.V,e.concat(f))).map(function(k){return k.Hc()||
"root"}),_.Ea(e),1<e.length))return null;var h=_.Pk(d);k$c(a,b,h);oO(a.H,[h],-1,void 0,void 0,pWc(a.Ea));c.then(function(){return z9c(a.H,b.getId())},function(){z9c(a.H,b.getId());a.va(b.getId(),d)});c.then(null,function(k){k=_.OL(k);if(63==k.Vj()){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 _.qNc((new _.UM).setItem(h),h.getId()).Gc(1)},k$c=function(a,b,c){null!=b.Wg()&&c.Cm(b.Wg());null!=b.Ui()&&_.NMc(c,b.Ui());null!=
b.jc()&&_.rL(c,b.jc());null!=_.C(b,7)&&_.gIc(c,_.C(b,7));null!=_.H(b,11)&&_.HMc(c,_.H(b,11));null!=_.H(b,4)&&c.iu(_.H(b,4));null!=_.H(b,16)&&_.MMc(c,_.H(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.ri()&&(c.En(b.ri()),_.LMc(c,b.ri()));null!=b.Hr()&&_.fO(SSc(c,!0),b.Hr());_.Dd(b,8).length&&_.cN(c,_.Dd(b,8));if(_.Dd(b,9).length){var d=new Set(c.Hj());_.Dd(b,9).forEach(function(n){return d.add(n)});_.cN(c,[].concat(_.Pc(d)))}if(_.Dd(b,10).length){var e=new Set(c.Hj());_.Dd(b,10).forEach(function(n){return e.delete(n)});
_.cN(c,[].concat(_.Pc(e)));var f=c.Kt();f&&_.Dd(b,10).includes(f)&&_.Ak(c,46)}null!=_.H(b,40)&&null!=_.El(c)&&_.CMc(_.El(c),_.H(b,40));if(!c.Kt()){var h=a.Ia();f=c.Hj().find(function(n){var p=a.H.V.H(n);return p&&!!p.Kt()||n==h});_.B(c,46,f||void 0)}c.Hj().length&&(f=a.H.V.H(c.Hj()[0]))&&_.QMc(c,f.Hc());if(f=_.D(b,_.ul,25)){var k=_.D(c,_.ul,111)||new _.ul;null!=_.H(f,1)&&_.AMc(k,_.H(f,1));null!=_.C(f,2)&&_.BMc(k,_.C(f,2));_.y(c,111,k)}var l=_.Dd(c,120);_.Dd(b,31).forEach(function(n){l.includes(n)||
l.push(n)});_.Dd(b,32).forEach(function(n){_.ua(l,n)});_.B(c,120,l||[])};c$c.prototype.va=function(a,b){var c=this,d=_.lp(new _.jp,[a]);this.ta.then(function(e){return e.H(d)}).then(function(e){e=e.Xq().Pd()[0];oO(c.H,[_.Pk(e)],1)},function(){b&&oO(c.H,[_.Pk(b)],1)})};
var l$c=function(){};_.N(l$c,_.TQc);l$c.prototype.execute=function(a,b,c){return(c=_.TQc.prototype.execute.call(this,a,b,c))?c:b instanceof _.uM?(c=_.Te(new _.Se,1424),a.H(kTc(!1,1,c)).then(function(d){(d=d.Xq())&&(d=d.Pd()[0])&&_.nk(d,96)&&b.t$(d.Ix())},function(){})):null};
var BTc=function(a,b){return[m$c,n$c,o$c,p$c].reduce(function(c,d){var e;0!=c?e=c:e=_.Fa(d(a),d(b));return e},0)},m$c=function(a){return q$c[a.Hg()]},n$c=function(a){return r$c[a.getType()]},o$c=function(a){return a.getName()||""},p$c=function(a){return a.getId()||""},WP={},q$c=(WP[5]=0,WP[7]=1,WP[1]=2,WP[3]=3,WP[4]=4,WP[2]=5,WP[6]=6,WP),s$c={},r$c=(s$c[1]=0,s$c[2]=1,s$c[3]=2,s$c[4]=3,s$c);
var t$c=function(a,b,c,d,e,f,h,k,l){this.H=a;this.va=b;this.V=c;this.ha=d;this.ka=e;this.W=f;this.ma=h;this.Ba=k;this.ta=l};
t$c.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.UM&&8==b.Jb()))if(a instanceof _.hM||a instanceof _.jM||a instanceof _.CLc||a instanceof _.RL||a instanceof _.OM||a instanceof _.LLc||a instanceof _.RM||"undefined"!=typeof _.lO&&a instanceof _.lO){var d=_.UL(_.Pk(b.getItem()),9);oO(this.H,[d],1);T2c(this.Ba,b.getItem(),_.xN(this.ta))}else a instanceof _.nM?(b=_.VL(_.LL(new _.KL,a.getId())),this.H.ta([b])):a instanceof _.qM?(b=_.VL(_.RKc(_.LL(new _.KL,a.getId()),a.getId())),this.H.ta([b]),
r9c(this.va,b)):a instanceof _.uM?(b=kTc(!0).Ad(),b=this.H.V.query(b).map(function(e){return _.VL(_.LL(new _.KL,e.getId()))}),this.H.ta(b)):"undefined"!=typeof _.lM&&a instanceof _.lM?this.V.remove(a.qh()):"undefined"!=typeof _.wM&&a instanceof _.wM||"undefined"!=typeof _.LM&&a instanceof _.LM?this.V.ySa(b.Gr()):"undefined"!=typeof _.oM&&a instanceof _.oM?ATc(this.H,a):"undefined"!=typeof _.ID&&a instanceof _.ID?this.ha.remove(a.getKey()):"undefined"!=typeof _.xM&&a instanceof _.xM?CTc(this.H,a,b.D5()):
"undefined"!=typeof _.JD&&a instanceof _.JD?u$c(this.ha,b.$Ja()):a instanceof _.kM||a instanceof _.PM?pP(this.ka,[b.Am()],!1):a instanceof _.rM?pP(this.ka,[F2c(a.getId())],!1):a instanceof _.BLc?pP(this.W,b.response.V(),!1,1):a instanceof _.MM?(a.tS().filter(function(e){return _.H(e,3)}).forEach(function(e){return c.W.removeItem(e.tm()||"",a.Rc())}),t2c(this.ma,a.Rc()),this.H.ab(a.Rc())):"undefined"!=typeof _.vN&&a instanceof _.vN&&a.V().forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=
e.V(),e.getType()){case 1:case 2:if(e=c.H.V.H(e.Rc())){var f=new _.KL;f=_.B(f,5,!0);e=_.LL(f,e.getId()).setItem(_.Pk(e));c.H.ta([e])}}}})};
var v$c=function(a){this.H=a};
v$c.prototype.V=function(a){if(a instanceof _.IM){var b=this.H.H(a.getId());if(!b)return new _.Qb;var c=(new _.RL).Yb(a.getId());if(b.Hc()){var d=b.getCapabilities();_.Fd(d)||_.H(d,9)?c.En(!0):_.SL(c,!1)}else d=a.getParent(),1==b.io()?c.En(!0):d?(b=this.H.H(d),!b||_.H(b.getCapabilities(),7)?NVc(c,[d]):_.SL(c,!1)):_.SL(c,!1);return c}if("undefined"!=typeof _.JM&&a instanceof _.JM)return PVc(OVc(NVc(MVc((new _.RL).Yb(a.getId()),a.a$a()),a.b$a()),a.c$a()),a.$9a());if(a instanceof _.zLc){b=this.H.H(a.getId());
if(!b)return new _.Qb;c=(new _.RL).Yb(a.getId());b.Hc()?(d=b.getCapabilities(),_.Fd(d)||_.H(d,9)?c.En(!1):_.SL(c,!0)):(d=a.getParent(),1==b.io()?c.En(!1):d?(b=this.H.H(d),!b||_.tl(b.getCapabilities())?MVc(c,[d]):_.SL(c,!0)):_.SL(c,!0));return c}if(a instanceof _.HN)return new _.CLc(a);if("undefined"!=typeof _.XP&&a instanceof _.XP)return a.V().map(function(f){var h=new _.MM;f=_.B(h,1,f);h=a.tS();f=_.jb(f,2,h);h=a.Ae();return _.y(f,3,h)});if(a instanceof _.tM){c=kTc(!1,1).Ad();var e=0;this.H.query(c).forEach(function(f){(f=
f.Ix())&&(e=Math.max(e,f))});return AWc(new _.uM,a).t$(e)}return a};
var w$c=function(){};w$c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.BM&&a instanceof _.BM?(a=a.getId()||"",_.dd(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.mM&&a instanceof _.mM&&(a=a.getId()||"",_.dd(a)&&(b="Tried to delete backup with no id."));return b?_.OL(b):null};
var x$c=function(a,b){this.V=a;this.H=b},B$c=function(a,b){_.PN(["drive#about"],b);var c=new _.EP,d=new _.MC;if(b.user){var e=_.RN(a.V,b.user);_.y(d,1,e)}a=y$c(a,b);a=IVc(HVc(_.GVc(new _.Gob,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.KVc(a,_.DVc(_.CVc((new _.LC).Gc(z$c[e.status]),Number(e.trialMillisRemaining)),_.QN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.LVc(a,_.FVc(_.EVc(new _.Fob,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&JVc(a,b.importFormats.map(function(f){var h=new _.BVc;h=_.B(h,1,f.source);return _.B(h,2,f.targets||[])}));b.adminSecureLinkSetting&&_.B(a,10,A$c[b.adminSecureLinkSetting]);_.y(d,3,a);_.q5c(c,d);b=b.largestChangeId;null!=b&&_.B(c,4,Number(b));return c},y$c=function(a,b){var c=new _.Eob;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=_.vVc(_.uVc(c,
ETc(b.quotaBytesByService||[])),C$c[b.quotaType]);if(_.F(a.H,5,!1)){a=_.xVc(_.wVc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-GTc(b);a=_.B(a,9,d);a=_.yVc(a,Number(b.quotaBytesUsedAggregate));a=_.B(a,11,Number(b.quotaBytesUsedInTrash));a=_.B(a,13,_.OSc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.zVc(a,D$c[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.endDate&&
(a=new _.Dob,d=_.RYa(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},D$c={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},FTc={POOLED_STORAGE:0,FAMILY:1},z$c={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},DTc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},C$c={LIMITED:1,UNLIMITED:2,POOLED:3},A$c={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var E$c={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},F$c={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},G$c={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},H$c={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},I$c={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},J$c={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},K$c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},
L$c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},M$c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},N$c={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},O$c={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},P$c={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},Q$c={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},R$c={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},S$c={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},T$c={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},U$c={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},V$c={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},W$c={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},X$c={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Y$c={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Z$c={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},fad=function(a){return a.map(function(b){var c=new _.TO;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=$$c(e);_.y(c,2,d);break;case "actors":d=aad(e);_.jb(c,3,d);break;case "actions":d=bad(e);_.jb(c,
4,d);break;case "targets":d=cad(e);_.jb(c,5,d);break;case "timestamp":c.V(dad(e));break;case "timeRange":d=ead(e),_.Lk(c,7,JZc[0],d)}}return c})},bad=function(a){return a.map(function(b){var c=new _.HZc;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=$$c(e);_.y(c,1,d);break;case "source":d=new AZc;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":_.Gk(d,2,E$c[h]);break;case "appId":_.Fk(d,1,h)}}_.y(c,2,d);break;case "actor":d=gad(e);_.y(c,3,d);break;case "target":d=had(e);_.y(c,4,d);break;case "timestamp":c.V(dad(e));break;case "timeRange":d=ead(e),_.Lk(c,6,GZc[0],d)}}return c})},cad=function(a){return a.map(function(b){return had(b)})},jad=function(a){return a.map(function(b){return iad(b)})},had=function(a){var b=new _.FZc;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=kad(d);_.Lk(b,1,_.EZc[0],c);break;case "drive":c=new _.BZc;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.jd(f);break;case "title":c.setTitle(f);break;case "root":e=kad(f),_.y(c,3,e)}}_.Lk(b,5,_.EZc[0],c);break;case "fileComment":c=new _.CZc;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":_.Fk(c,
1,f);break;case "legacyDiscussionId":_.Fk(c,2,f);break;case "linkToDiscussion":_.Fk(c,3,f);break;case "parent":c.Mg(kad(f))}_.Lk(b,3,_.EZc[0],c)}}return b},iad=function(a){var b=new _.SYc;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 _.MO;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.jd(f);break;case "title":c.setTitle(f);
break;case "driveFile":e=c;f=new MYc;_.Lk(e,8,QYc[0],f);break;case "driveFolder":e=lad(f);_.Lk(c,9,QYc[0],e);break;case "driveShortcut":e=mad(f),_.Lk(c,10,QYc[0],e)}}_.Lk(b,1,RYc[0],c);break;case "drive":c=nad(d),_.Lk(b,3,RYc[0],c)}}return b},kad=function(a){var b=new _.PYc;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.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Fk(b,6,d);break;case "version":_.Dk(b,
5,d);break;case "owner":c=new KYc;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=oad(f);_.y(c,3,e);break;case "user":e=YP(f);_.Lk(c,1,JYc[0],e);break;case "drive":e=nad(f),_.Lk(c,4,JYc[0],e)}}_.y(b,7,c);break;case "driveFile":c=new MYc;_.Lk(b,8,LYc[0],c);break;case "driveFolder":c=lad(d);_.Lk(b,9,LYc[0],c);break;case "driveShortcut":c=mad(d),_.Lk(b,10,LYc[0],c)}}return b},nad=function(a){var b=new HYc;
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.jd(d);break;case "title":b.setTitle(d)}}return b},lad=function(a){var b=new _.NYc;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":_.Gk(b,6,F$c[d])}}return b},mad=function(a){var b=new _.OYc;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":_.Fk(b,1,d);break;case "targetMimeType":_.Fk(b,2,d)}}return b},aad=function(a){return a.map(function(b){return gad(b)})},gad=function(a){var b=new _.zZc;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=YP(d);_.Lk(b,1,_.yZc[0],c);break;case "anonymous":c=new vZc;_.Lk(b,2,_.yZc[0],c);break;case "impersonation":c=new _.wZc;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=YP(f),_.y(c,1,e)}}_.Lk(b,3,_.yZc[0],c);break;case "system":c=new _.xZc;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":_.Gk(c,1,G$c[f])}_.Lk(b,4,_.yZc[0],c);break;case "administrator":c=new _.uZc,_.Lk(b,5,_.yZc[0],c)}}return b},pad=function(a){return a.map(function(b){return YP(b)})},YP=function(a){var b=
new _.oYc;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 _.KO;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":_.Fk(c,1,f);break;case "isCurrentUser":_.Ek(c,2,f);break;case "displayName":_.Fk(c,3,f);break;case "photoUrl":c.ao(f)}}_.Lk(b,2,_.mYc[0],c);break;case "unknownUser":c=new pYc;_.Lk(b,4,_.mYc[0],
c);break;case "deletedUser":c=new _.nYc,_.Lk(b,3,_.mYc[0],c)}}return b},dad=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.QYa((new _.Ky).setSeconds(a),b)},ead=function(a){var b=new _.SO;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.jV(dad(d));break;case "endTime":b.sD(dad(d))}}return b},oad=function(a){var b=new _.GYc;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.jd(d);break;case "legacyId":_.Fk(b,3,d);break;case "audienceDisplayName":_.Fk(b,4,d)}}return b},$$c=function(a){for(var b=new _.RO,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 _.XYc,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 UYc;_.Lk(z,1,_.TYc[0],A);break;case "upload":var E=k,I=new VYc;_.Lk(E,2,_.TYc[0],I);break;case "copy":for(var J=u,R=new _.WYc,S=_.m(Object.entries(J)),ha=S.next();!ha.done;ha=S.next()){var ca=_.m(ha.value),oa=ca.next().value,Ca=ca.next().value;switch(oa){case "originalObject":var V=iad(Ca);_.y(R,1,V)}}_.Lk(k,3,_.TYc[0],R)}}_.Lk(b,1,_.QO[0],k);break;case "edit":var ta=new bZc;_.Lk(b,2,_.QO[0],ta);break;case "move":for(var Ja=new _.gZc,vb=_.m(Object.entries(h)),Ia=vb.next();!Ia.done;Ia=vb.next()){var Sb=
_.m(Ia.value),Ec=Sb.next().value,od=Sb.next().value;switch(Ec){case "addedParents":var Ye=jad(od);_.jb(Ja,1,Ye);break;case "removedParents":var We=jad(od);_.jb(Ja,2,We);break;case "fromOwnershipTransfer":_.Ek(Ja,3,od);break;case "reparents":var Ae=od.map(qad);_.jb(Ja,4,Ae)}}_.Lk(b,3,_.QO[0],Ja);break;case "rename":for(var ve=new _.mZc,qh=_.m(Object.entries(h)),kd=qh.next();!kd.done;kd=qh.next()){var Eh=_.m(kd.value),Ng=Eh.next().value,of=Eh.next().value;switch(Ng){case "oldTitle":_.Fk(ve,1,of);break;
case "newTitle":_.Fk(ve,2,of)}}_.Lk(b,4,_.QO[0],ve);break;case "delete":for(var Db=new _.$Yc,xg=_.m(Object.entries(h)),wk=xg.next();!wk.done;wk=xg.next()){var Vk=_.m(wk.value),Pm=Vk.next().value,Dn=Vk.next().value;switch(Pm){case "type":_.Gk(Db,1,H$c[Dn])}}_.Lk(b,5,_.QO[0],Db);break;case "restore":for(var yg=new _.nZc,Zf=_.m(Object.entries(h)),eh=Zf.next();!eh.done;eh=Zf.next()){var ek=_.m(eh.value),Wk=ek.next().value,Xk=ek.next().value;switch(Wk){case "type":_.Gk(yg,1,I$c[Xk])}}_.Lk(b,6,_.QO[0],
yg);break;case "permissionChange":for(var gj=new _.jZc,fk=_.m(Object.entries(h)),Hj=fk.next();!Hj.done;Hj=fk.next()){var qj=_.m(Hj.value),Sh=qj.next().value,Qi=qj.next().value;switch(Sh){case "addedPermissions":var Il=rad(Qi);_.jb(gj,1,Il);break;case "removedPermissions":var Ri=rad(Qi);_.jb(gj,2,Ri);break;case "resharedPermissions":var rj=rad(Qi);_.jb(gj,3,rj);break;case "otherActivePermissions":var zg=rad(Qi);_.jb(gj,4,zg)}}_.Lk(b,7,_.QO[0],gj);break;case "comment":for(var wh=new _.FYc,Si=_.m(Object.entries(h)),
lm=Si.next();!lm.done;lm=Si.next()){var En=_.m(lm.value),Th=En.next().value,ci=En.next().value;switch(Th){case "post":for(var rq=ci,Jl=new _.CYc,Ci=_.m(Object.entries(rq)),Fn=Ci.next();!Fn.done;Fn=Ci.next()){var xk=_.m(Fn.value),vl=xk.next().value,pd=xk.next().value;switch(vl){case "subtype":_.Gk(Jl,1,K$c[pd])}}_.Lk(wh,1,_.BYc[0],Jl);break;case "assignment":for(var gk=ci,rh=new _.DYc,Kl=_.m(Object.entries(gk)),Wg=Kl.next();!Wg.done;Wg=Kl.next()){var di=_.m(Wg.value),Ti=di.next().value,Qm=di.next().value;
switch(Ti){case "subtype":_.Gk(rh,1,L$c[Qm]);break;case "assignedUser":var Rm=YP(Qm);_.y(rh,7,Rm)}}_.Lk(wh,2,_.BYc[0],rh);break;case "suggestion":for(var tp=ci,hj=new _.EYc,wl=_.m(Object.entries(tp)),Ij=wl.next();!Ij.done;Ij=wl.next()){var Co=_.m(Ij.value),yk=Co.next().value,Uh=Co.next().value;switch(yk){case "subtype":_.Gk(hj,1,M$c[Uh])}}_.Lk(wh,3,_.BYc[0],hj);break;case "mentionedUsers":var up=pad(ci);_.jb(wh,7,up)}}_.Lk(b,8,_.QO[0],wh);break;case "dlpChange":for(var vp=new _.ZYc,zk=_.m(Object.entries(h)),
sq=zk.next();!sq.done;sq=zk.next()){var Lf=_.m(sq.value),wp=Lf.next().value,xp=Lf.next().value;switch(wp){case "type":_.Gk(vp,1,N$c[xp])}}_.Lk(b,9,_.QO[0],vp);break;case "view":for(var mm=new tZc,Sm=_.m(Object.entries(h)),tq=Sm.next();!tq.done;tq=Sm.next()){var yp=_.m(tq.value),Ll=yp.next().value,Vh=yp.next().value;switch(Ll){case "type":_.Gk(mm,1,O$c[Vh]);break;case "viewHistoryVisibility":for(var tr=Vh,Do=new sZc,zp=_.m(Object.entries(tr)),zs=zp.next();!zs.done;zs=zp.next()){var hy=_.m(zs.value),
iy=hy.next().value,xw=hy.next().value;switch(iy){case "domainPolicyVisibilityState":_.Gk(Do,1,P$c[xw]);break;case "namedPartyState":_.Gk(Do,2,Q$c[xw])}}_.y(mm,2,Do)}}_.Lk(b,10,_.QO[0],mm);break;case "download":for(var jy=new aZc,BF=_.m(Object.entries(h)),ae=BF.next();!ae.done;ae=BF.next()){var ky=_.m(ae.value),xC=ky.next().value,CF=ky.next().value;switch(xC){case "type":_.Gk(jy,1,R$c[CF])}}_.Lk(b,11,_.QO[0],jy);break;case "reference":for(var GJ=new _.hYc,ur=_.m(Object.entries(h)),DF=ur.next();!DF.done;DF=
ur.next()){var yw=_.m(DF.value),mU=yw.next().value,yC=yw.next().value;switch(mU){case "type":_.Gk(GJ,1,S$c[yC]);break;case "context":for(var EF=GJ,Oaa=EF.Zj,nU=yC,zC=new gYc,AC=_.m(Object.entries(nU)),ZN=AC.next();!ZN.done;ZN=AC.next()){var FF=_.m(ZN.value),oU=FF.next().value,BC=FF.next().value;switch(oU){case "description":zC.Cm(BC);break;case "url":_.Fk(zC,2,BC)}}Oaa.call(EF,zC)}}_.Lk(b,12,_.QO[0],GJ);break;case "settingsChange":for(var GF=new _.qZc,HJ=_.m(Object.entries(h)),$N=HJ.next();!$N.done;$N=
HJ.next()){var HF=_.m($N.value),I1=HF.next().value,J1=HF.next().value;switch(I1){case "restrictionChanges":var K1=sad(J1);_.jb(GF,1,K1)}}_.Lk(b,13,_.QO[0],GF);break;case "approvalChange":for(var uq=new _.uYc,Ot=_.m(Object.entries(h)),aO=Ot.next();!aO.done;aO=Ot.next()){var Paa=_.m(aO.value),Ipa=Paa.next().value,nm=Paa.next().value;switch(Ipa){case "approvalName":_.Fk(uq,2,nm);break;case "approvalEventNames":_.B(uq,3,nm||[]);break;case "initiator":var oNa=YP(nm);_.y(uq,4,oNa);break;case "reviewers":var pNa=
pad(nm);_.jb(uq,5,pNa);break;case "status":uq.Gc(V$c[nm]);break;case "dueTime":var L1=dad(nm);_.y(uq,7,L1);break;case "approvalRequested":var Qaa=uq,qNa=new rYc;_.Lk(Qaa,8,_.LO[0],qNa);break;case "approvalCancelled":var Jpa=uq,Raa=new sYc;_.Lk(Jpa,9,_.LO[0],Raa);break;case "reviewerResponded":for(var rNa=nm,M1=new _.tYc,N1=_.m(Object.entries(rNa)),pU=N1.next();!pU.done;pU=N1.next()){var Saa=_.m(pU.value),O1=Saa.next().value,Taa=Saa.next().value;switch(O1){case "reviewerDecision":_.Gk(M1,1,W$c[Taa])}}_.Lk(uq,
10,_.LO[0],M1);break;case "commentAdded":var Kpa=uq,Lpa=new vYc;_.Lk(Kpa,11,_.LO[0],Lpa);break;case "reviewersChanged":for(var Uaa=nm,Vaa=new xYc,P1=_.m(Object.entries(Uaa)),Waa=P1.next();!Waa.done;Waa=P1.next()){var Xaa=_.m(Waa.value),Mpa=Xaa.next().value,sNa=Xaa.next().value;switch(Mpa){case "reviewerChanges":var tNa=tad(sNa);_.jb(Vaa,1,tNa)}}_.Lk(uq,12,_.LO[0],Vaa);break;case "dueTimeChanged":for(var Npa=nm,Yaa=new zYc,Zaa=_.m(Object.entries(Npa)),$aa=Zaa.next();!$aa.done;$aa=Zaa.next()){var ktb=
_.m($aa.value),slc=ktb.next().value,tlc=ktb.next().value;switch(slc){case "oldDueTime":var ckg=dad(tlc);_.y(Yaa,1,ckg)}}_.Lk(uq,13,_.LO[0],Yaa)}}_.Lk(b,18,_.QO[0],uq);break;case "lock":var dkg=new dZc;_.Lk(b,15,_.QO[0],dkg);break;case "unlock":var ekg=new rZc;_.Lk(b,16,_.QO[0],ekg);break;case "appliedLabelChange":for(var TYd=new _.lYc,UYd=_.m(Object.entries(h)),ulc=UYd.next();!ulc.done;ulc=UYd.next()){var VYd=_.m(ulc.value),fkg=VYd.next().value,gkg=VYd.next().value;switch(fkg){case "changes":var ikg=
uad(gkg);_.jb(TYd,1,ikg)}}_.Lk(b,19,_.QO[0],TYd);break;case "publishChange":for(var vlc=new kZc,WYd=_.m(Object.entries(h)),wlc=WYd.next();!wlc.done;wlc=WYd.next()){var XYd=_.m(wlc.value),jkg=XYd.next().value,YYd=XYd.next().value;switch(jkg){case "oldPublishState":var kkg=vad(YYd);_.y(vlc,1,kkg);break;case "newPublishState":var lkg=vad(YYd);_.y(vlc,2,lkg)}}_.Lk(b,20,_.QO[0],vlc);break;case "linkShareMetadataChange":for(var $Yd=new _.cZc,aZd=_.m(Object.entries(h)),xlc=aZd.next();!xlc.done;xlc=aZd.next()){var bZd=
_.m(xlc.value),mkg=bZd.next().value,nkg=bZd.next().value;switch(mkg){case "securityUpdateEnabled":_.Ek($Yd,1,nkg)}}_.Lk(b,21,_.QO[0],$Yd)}}return b},qad=function(a){var b=new _.fZc;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":_.Gk(b,1,Z$c[d])}}return b},rad=function(a){return a.map(function(b){var c=new _.PO;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":_.Gk(c,1,J$c[e]);break;case "user":d=YP(e);_.Lk(c,2,_.OO[0],d);break;case "group":d=new _.NO;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":_.Fk(d,1,h);break;case "title":d.setTitle(h)}}_.Lk(c,3,_.OO[0],d);break;case "domain":d=oad(e);_.Lk(c,4,_.OO[0],d);break;case "anyone":d=new hZc;_.Lk(c,5,_.OO[0],d);break;case "allowDiscovery":_.Ek(c,6,e)}}return c})},sad=function(a){return a.map(function(b){var c=
new _.pZc;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":_.Gk(c,1,T$c[e]);break;case "newRestriction":_.Gk(c,2,U$c[e])}}return c})},tad=function(a){return a.map(function(b){var c=new yYc;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=YP(e);_.y(c,3,d);break;case "addedReviewer":d=YP(e),_.y(c,4,d)}}return c})},
uad=function(a){return a.map(function(b){var c=new _.kYc;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.Kd(e);break;case "types":d=wad(e),_.B(c,2,d||[])}}return c})},wad=function(a){return a.map(function(b){return X$c[b]})},vad=function(a){var b=new lZc;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":_.Gk(b,
1,Y$c[d]);break;case "signinRequired":_.Ek(b,2,d);break;case "publishedTime":c=dad(d),_.y(b,3,c)}}return b};
var yad=function(a,b){var c=new b5c;b=_.B(c,4,b);a&&"drive#app"==a.kind&&(a=xad(a),_.y(b,2,a));return b},xad=function(a){_.PN(["drive#app"],a);var b=(new _.HO).Yb(a.id);b=_.B(b,3,a.useByDefault).jd(a.name);b=_.B(b,7,a.openUrlTemplate);b=XXc(WXc(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,zad[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 _.RXc;l=_.B(l,3,k.iconUrl).setSize(k.size);k.category&&_.B(l,1,Aad[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 _.UXc;d=c.absoluteScore;null!=d&&_.B(a,1,Number(d));d=Bad(c.mimeTypeScores||[]);_.jb(a,2,d);c=Bad(c.fileExtensionScores||
[]);_.jb(a,3,c);_.y(b,29,a);return b},Bad=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.SXc;d=_.B(d,1,a[c].type);d=_.B(d,2,Number(a[c].score));b.push(d)}return b},zad={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},Aad={application:1,document:2,documentShared:3};
var Dad=function(a){var b=new J5c;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.K4c).Yb(c.id).setTitle(c.title);d=_.B(d,3,_.QN(c.updateTime));d=_.B(d,4,Cad[c.backupSource]);d=_.B(d,5,c.iconUri);d=_.B(d,8,_.QN(c.expiryTime));d=_.B(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.Hx()){var e=new J4c;e=_.B(e,1,c.whatsappOngoingBackupEnabled);c=_.B(e,2,c.whatsappPhoneNumber);_.y(d,6,c)}else 2==d.Hx()&&(e=new _.I4c,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},Fad=function(a){var b=new F5c;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.xP).Yb(c.id);d=_.B(d,1,Ead[c.type]).setTitle(c.title);d=_.B(d,4,c.iconUri);d=_.L4c(d.setSize(c.size),_.QN(c.updateTime));d=_.B(d,7,c.hasCustomBehavior).Cm(c.description);return _.B(d,9,c.ongoingSyncEnabled)});_.jb(b,1,a);return b},Cad={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Ead={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 Gad=function(a,b){this.H=a;this.V=b};
var Had={read:2,write:3,comment:4},Iad=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.rL((new _.zl).Yb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.Wo(_.VQc(c.userCapabilities));_.xN(b).includes(19)&&_.OMc(d,!0);T2c(a,d,_.xN(b));_.PMc(d,4);return d},Jad=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.mna;f=_.B(f,2,e.predictionReason);e=Iad(a,b,e);e=_.y(e,100,f);d.push(e)}});c=(new _.OB).uw(d).uN(c.suggestionSessionId);return _.zPc(new _.IN,c)},Lad=
function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=Kad(f.person).Yb(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=Iad(a,b,l),d.push(p));l=nVc(mVc(lVc(new _.jna,k.clone()),l.predictionReason),l.url);_.Mk(p,107,l,_.jna,void 0)})}});return JWc((new _.BN).uw(d),e).uN(c.suggestionSessionId)},Kad=function(a){return _.cMc((new _.ml).Yb(a.id).jd(a.displayName),
a.emailAddress).ao(a.photoUrl)},Nad=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=Iad(a,b,e);e=Mad(e);f=_.jb(f,117,e);d.push(f)}});c=(new _.OB).uw(d).uN(c.suggestionSessionId);return _.zPc(new _.IN,c)},Mad=function(a){var b=a.action;return b?b.map(function(c){var d=new _.pl,e=Oad(c);e&&_.Lk(d,2,_.ol[0],e);(e=Pad(c))&&MUc(d,e);(e=Qad(c))&&_.Lk(d,4,_.ol[0],e);(e=Rad(c))&&_.Lk(d,5,_.ol[0],e);(e=Sad(c))&&_.Lk(d,6,_.ol[0],e);(e=Tad(c))&&_.Lk(d,7,_.ol[0],e);(e=Uad(c))&&
_.Lk(d,8,_.ol[0],e);(e=Vad(c))&&_.Lk(d,9,_.ol[0],e);(e=Wad(c))&&_.Lk(d,10,_.ol[0],e);(c=Xad(c))&&_.Lk(d,11,_.ol[0],c);return d}):(a=ZP(a),a=bVc([a]),[MUc(new _.pl,a)])},Zad=function(a){return(a.justification||[]).map(function(b){return Yad(b)})},ZP=function(a){return(a=a.justification)?Yad(a):null},Yad=function(a){var b=aUc(new _.nl,$ad(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=Kad(c),_.Lk(b,3,_.Oma[0],c),bUc(b,[c])):d?(c=(d.person||[]).map(function(e){return Kad(e)}),d=$Tc(c),_.Lk(b,4,
_.Oma[0],d),bUc(b,c)):(c=(a.person||[]).map(function(e){return Kad(e)}),c.length&&(d=$Tc(c),_.Lk(b,4,_.Oma[0],d),bUc(b,c)));_.B(b,5,_.QN(a.eventTime));cUc(b,$ad(a.justificationDescription));return b},$ad=function(a){if(!a)return null;a=a.textSegment||[];return XTc(new _.ll,a.map(function(b){var c=(new _.Lma).th(b.text),d=b.link;if(d){var e=new _.Mma;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)}))},Oad=function(a){a=a.documentDocosAction;if(!a)return null;var b=
UUc(new _.Wma,ZP(a));TUc(b,(a.subAction||[]).map(function(c){var d=new _.Xma;c.reply?(c=new _.Qma,_.Lk(d,1,_.ql[0],c)):c.resolve?(c=new jUc,_.Lk(d,2,_.ql[0],c)):c.reassign?(c=new hUc,_.Lk(d,3,_.ql[0],c)):c.acceptSuggestion?(c=new dUc,_.Lk(d,4,_.ql[0],c)):c.rejectSuggestion?(c=new iUc,_.Lk(d,5,_.ql[0],c)):c.openThread&&(c=new _.Pma,_.Lk(d,6,_.ql[0],c));return d}));_.B(b,2,a.discussionId);_.B(b,3,a.postId);VUc(b,$ad(a.anchorText));return b},Qad=function(a){a=a.documentShareAction;if(!a)return null;
var b=YUc(new _.Zma,ZP(a));XUc(b,(a.subAction||[]).map(function(c){var d=new vUc;c.suggestedShare?(c=new nUc,_.Lk(d,1,uUc[0],c)):c.responseToRequest&&(c=new kUc,_.Lk(d,2,uUc[0],c));return d}));WUc(b,(a.sharee||[]).map(function(c){return Kad(c)}));_.B(b,3,Had[a.shareeRole]);return b},Pad=function(a){a=a.documentViewAction;if(!a)return null;var b=bVc(Zad(a));aVc(b,(a.subAction||[]).map(function(c){var d=new zUc;c.open?d.Tg(new sO):c.reviewEdits&&(c=new lUc,_.Lk(d,2,yUc[0],c));return d}));return b},
Rad=function(a){a=a.emailViewAction;if(!a)return null;var b=gVc(new FUc,ZP(a));fVc(b,(a.subAction||[]).map(function(c){var d=new HUc;c.openEmail&&d.Tg(new fUc);return d}));return b},Sad=function(a){a=a.calendarEventAction;if(!a)return null;var b=QUc(PUc(OUc(new _.Sma,a.eventId),ZP(a)),a.guestCount);NUc(b,(a.subAction||[]).map(function(c){var d=new rUc;if(c.viewCalendarEvent){var e=new oUc;_.Lk(d,1,qUc[0],e)}c.shareWithAttendees&&(e=new mUc,_.Lk(d,2,qUc[0],e));c.present&&(e=new gUc,_.Lk(d,3,qUc[0],
e));c.openDocument&&(c=new sO,_.Lk(d,4,qUc[0],c));return d}));return b},Tad=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=eVc(dVc(new BUc,a.workspaceId),ZP(a));cVc(b,(a.subAction||[]).map(function(c){var d=new DUc;c.addToWorkspace&&(c=new eUc,_.Lk(d,1,CUc[0],c));return d}));return b},Uad=function(a){a=a.documentTopicAction;if(!a)return null;var b=$Uc(new _.ana,ZP(a));ZUc(b,(a.subAction||[]).map(function(c){var d=new xUc;c.openDocument&&(c=new sO,_.Lk(d,1,wUc[0],c));return d}));return b},
Vad=function(a){a=a.popularDocumentAction;if(!a)return null;var b=kVc(new _.gna,ZP(a));jVc(b,(a.subAction||[]).map(function(c){var d=new LUc;c.openDocument&&(c=new sO,_.Lk(d,1,KUc[0],c));return d}));return b},Wad=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=SUc(new _.Uma,ZP(a));RUc(b,(a.subAction||[]).map(function(c){var d=new tUc;c.openDocument&&(c=new sO,_.Lk(d,1,sUc[0],c));return d}));return b},Xad=function(a){a=a.formResponseAction;if(!a)return null;var b=iVc(new _.ena,Zad(a));
hVc(b,(a.subAction||[]).map(function(c){var d=new JUc;c.openDocument?(c=new sO,_.Lk(d,1,IUc[0],c)):c.viewResponses&&(c=new pUc,_.Lk(d,2,IUc[0],c));return d}));return b};
var abd=function(a,b){this.H=a;this.V=b},cbd=function(a,b,c){_.PN(["drive#categoryMetadataList"],c);var d=new GO,e=Object.values(c.categoryMetadata||{});LXc(d,e.map(function(f){return bbd(a,f,b.Rc())}));d.Gc(1);return new _.EN(d,z4c(c))},ebd=function(a,b){var c=new DP;j5c(c,(b.categories||[]).map(function(d){return dbd(a,d)}));c.Gc(1);return new h_c(c,z4c(b))},bbd=function(a,b,c){_.PN(["drive#categoryMetadata"],b);c=zXc((new EO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);yXc(c,b.map(function(d){return fbd(a,
d)}).filter(function(d){return d}));return c},dbd=function(a,b){var c=mXc(lXc((new BO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).Cm(b.description);nXc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new iXc).Yb(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=gbd(d.attributeDisplayHints);_.y(f,5,h)}if(d.capabilities){h=f.Wo;var k=d.capabilities;var l=new SWc;l=_.B(l,1,k.canSearch);k=_.B(l,2,k.canWrite);h.call(f,
k)}_.B(f,7,hbd[e]);d=d[ibd(e)+"Options"];return jbd(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&oXc(c,kbd(b.createdBy));b.updatedBy&&pXc(c,kbd(b.updatedBy));b.publishedBy&&qXc(c,kbd(b.publishedBy));_.B(c,9,_.QN(b.createTime));_.B(c,10,_.QN(b.updateTime));_.B(c,11,_.QN(b.publishTime));b.displayHints&&rXc(c,gbd(b.displayHints));b.capabilities&&c.Wo(lbd(b.capabilities));return c},fbd=function(a,b){_.PN(["drive#categoryAttributeValue"],b);var c=(new CO).Yb(b.id);if(b.userScoped)b=Object.values(b.userScoped),
wXc(c,b.map(function(d){_.PN(["drive#userScopedAttributeValue"],d);var e=new tXc,f=_.RN(a.H,d.scopedUser);e=_.y(e,1,f);return mbd(a,e,d)?e:null}).filter(function(d){return d})),c.fz(9);else if(!mbd(a,c,b))return null;return c},gbd=function(a){var b=(new RWc).$k(a.disabled);b=_.B(b,2,a.hidden);b=_.B(b,3,a.activatedInAllDrives);return _.B(b,4,!!a.required)},lbd=function(a){var b=new kXc;b=_.B(b,1,a.canSearch);b=_.B(b,2,a.canApply);b=_.B(b,4,a.canRemove);return _.B(b,3,a.canManageSharedDriveActivation)},
jbd=function(a,b,c,d){return nbd(a,function(){obd(a)[c](b,d)},c,b)},pbd=function(a){a=void 0===a?{}:a;var b=new $Wc;b=_.B(b,1,a.minSize);return _.B(b,2,a.maxSize)},qbd=function(a){var b=new XWc;YWc(b,(a.choices||[]).map(function(c){var d=(new WWc).Kd(c.label).Rb(c.value);if(c.capabilities){var e=d.Wo;var f=c.capabilities;var h=new VWc;h=_.B(h,1,f.canSearch);f=_.B(h,2,f.canSelect);e.call(d,f)}c.displayHints&&(c=gbd(c.displayHints),_.y(d,4,c));return d}));return b},rbd=function(a){var b=new cXc;b=_.B(b,
1,a.showThousandsSeparator);b=_.B(b,2,a.minValue);return _.B(b,3,a.maxValue)},sbd=function(a){var b=(new _.sna).setYear(a.year).setMonth(a.month);return _.B(b,3,a.day)},mbd=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.fz(hbd[d]);return nbd(a,function(){tbd(a)[d](b,c[c.valueType])},c.valueType)},nbd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof eXc))return oWc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+
c+"."),!1;throw e;}return!0},kbd=function(a){return _.aMc(1).Yb(a.personName.split("/")[1])},ibd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},obd=function(a){return{BOOLEAN:function(b,c){var d=b.bYa;var e=new TWc;e=_.B(e,1,c.trueLabel);c=_.B(e,2,c.falseLabel);return d.call(b,c)},TEXT:function(b,c){return b.s$(pbd(c))},TEXT_LIST:function(b,c){var d=b.VYa;var e=new aXc;e=_.B(e,1,c.maxEntries);c=pbd(c.options);c=_.y(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,
c){var d=new bXc;d=_.B(d,1,c.minSize);c=_.B(d,2,c.maxSize);return _.Lk(b,10,zO[0],c)},SELECTION:function(b,c){return b.JYa(qbd(c))},SELECTION_LIST:function(b,c){var d=b.IYa;var e=new ZWc;e=_.B(e,1,c.maxEntries);c=qbd(c.options);c=_.y(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.pYa(rbd(c))},INTEGER_LIST:function(b,c){var d=b.oYa;var e=new dXc;e=_.B(e,1,c.maxEntries);c=rbd(c.options);c=_.y(e,2,c);return d.call(b,c)},USER:function(b){return b.$Ya(new fXc)},USER_LIST:function(b,c){var d=
b.jla,e=new gXc;c=_.B(e,1,c.maxEntries);e=new fXc;c=_.y(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Oka;var e=new hXc;e=_.B(e,4,c.dateFormat);var f=sbd(c.minValue);e=_.y(e,2,f);c=sbd(c.maxValue);c=_.y(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new eXc;d=_.B(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.B(d,2,hbd[e]);c=c[ibd(e)+"Options"];jbd(a,d,e,c);return _.Lk(b,16,zO[0],d)}}},tbd=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.fla(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.$ka(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Ska(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return b.setUserValue(_.RN(a.H,c))},USER_LIST:function(b,c){vXc(b,c.map(function(d){return _.RN(a.H,d)}))},DATE_STRING:function(b,
c){return b.setDateStringValue(c)}}},hbd={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 ubd=function(a){a=a.personResponse;return B0c(new A0c,a.map(function(b){var c=b.person;b=nTc(new nO,b.personId);var d=b.jd,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 oTc;c=_.B(d,1,c&&!c.isDefault?c.url:null);return _.y(b,4,c)}))};
var vbd=function(a){this.H=a},xbd=function(a,b){_.PN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return wbd(a,c)})},wbd=function(a,b){_.PN(["drive#teamDrive","drive#drive"],b);var c=new _.pna,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)&&
DSc(c,d.map(function(e){_.PN(["drive#driveCategoryReference"],e);var f=new _.yl;return _.B(f,1,e.category)}));c=_.TMc(_.SMc(_.PMc(_.QMc(CSc(_.rL((new _.zl).Yb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.oMc(_.VQc(b.capabilities),!0),c.Wo(d));b.permissionsSummary&&_.RMc(c,_.kRc(a.H,b.permissionsSummary));b.restrictions&&FSc(c,ybd(b.restrictions));return c},ybd=function(a){var b=new _.nna;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 zbd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},LTc=_.cg(zbd);
var Abd=function(a){_.PN(["drive#setting"],a);var b=new _.wb;b=_.B(b,2,a.key);b=_.B(b,1,zbd[a.namespace]);return _.Mwa(new _.np,b).Rb(a.value)};
var Cbd=function(a){_.PN(["drive#workspaceList"],a);var b=a.items||[];b=E0c(new gP,b.map(function(c){return Bbd(c)}));return new _.IOc(b,z4c(a))},Bbd=function(a){_.PN(["drive#workspace"],a);var b=(new _.NB).Yb(a.id).setTitle(a.title);b=_.B(b,3,_.QN(a.createdDate));return _.B(b,4,_.QN(a.modifiedDate)).Td(Dbd[a.state])},Ebd=function(a,b,c){var d=c.item||[];return _.kSc(_.jSc(new _.eO,d.map(function(e){return Iad(a,b,e)})),c.suggestionSessionId)},Gbd=function(a,b,c){var d=c.item||[];return eYc(dYc(new JO,
d.map(function(e){return Fbd(a,b,e)})),c.suggestionSessionId)},Fbd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return bYc($Xc(aYc(ZXc(new IO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Iad(a,b,f)})),ZP(c))},Hbd=function(a){var b=new PWc;a.kind&&(a=Bbd(a),_.y(b,2,a));b.Gc(1);return b},Dbd={active:1,archived:2};
var HTc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var Ibd=function(a,b,c,d){_.tRc.call(this,b);this.H=a;this.Ba=c;this.W=d;this.ta=new x$c(this.ka,b);this.V=new vbd(this.dD);this.va=new Gad(this.dD,this.V);this.ha=null};_.N(Ibd,_.tRc);var Jbd=function(a){a.ha||(a.ha=new abd(a.ka,a.Ba));return a.ha};
Ibd.prototype.ma=function(a,b){if(a instanceof _.eM)return _.cRc(_.yRc(a));if(a instanceof _.fM)return _.vRc(this,a,b);if(a instanceof _.BLc)return Kbd(this,a.request,b);if(a instanceof _.gM)return _.vRc(this,a,b);if(a instanceof _.iM){if(!b.json)throw _.SN();return NXc((new MXc).Gc(1),wbd(this.V,b.json))}if(a instanceof _.hM)return _.vRc(this,a,b);if("undefined"!=typeof _.vN&&a instanceof _.vN)return new KWc;if(a instanceof _.kM)return Lbd(a,b);if("undefined"!=typeof _.lM&&a instanceof _.lM)return yad(void 0,
a.qh());if("undefined"!=typeof _.mM&&a instanceof _.mM)return new K5c;if(a instanceof _.nM)return _.cRc(_.yRc(a));if("undefined"!=typeof _.oM&&a instanceof _.oM)return new CP;if(a instanceof _.pM)return _.cRc(_.yRc(a));if(a instanceof _.qM)return _.cRc(_.yRc(a));if("undefined"!=typeof _.ID&&a instanceof _.ID)return b=new c5c,a=a.getKey(),_.y(b,4,a);if(a instanceof _.rM)return Lbd(a,b);if(a instanceof _.uM)return _.cRc(_.yRc(a));if(a instanceof _.xLc){if(!b.json)throw _.SN();return new d_c(b.json.exportJob.id)}if("undefined"!=
typeof _.vM&&a instanceof _.vM){if(!b.json)throw _.SN();a=b.json;b=new Y4c;a=xad(a);return _.y(b,2,a).Gc(1)}if("undefined"!=typeof _.wM&&a instanceof _.wM)return Mbd(a,b);if("undefined"!=typeof _.xM&&a instanceof _.xM){if(!b.json)throw _.SN();a=(new CP).Gc(1);b=_.dRc(this.dD,b.json);return _.y(a,2,b)}if(a instanceof _.HL){a:{if(!b.json)throw _.SN();if(a instanceof _.HL){if((a=a.Ad())&&_.yM(a)){b=Jad(this.W,this.H,b.json);break a}if(a&&_.zM(a)){b=Lad(this.W,this.H,b.json);break a}if(a&&_.AM(a)){b=
Nad(this.W,this.H,b.json);break a}}b=_.$Qc(this.dD,b.json,b.headers)}return b}if("undefined"!=typeof _.BM&&a instanceof _.BM){if(!b.json)throw _.SN();return Fad(b.json)}if(a instanceof _.CM){if(!b.json)throw _.SN();b=b.json;_.PN(["drive#appList"],b);a=new fP;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(xad(d[e]));a=_.jb(a,2,c);return _.B(a,4,b.defaultAppIds||[]).Gc(1)}if("undefined"!=typeof _.DM&&a instanceof _.DM){if(!b.json)throw _.SN();return Dad(b.json)}if(a instanceof _.TL)return Nbd(this,
b);if(a instanceof _.EM){if(!b.json)throw _.SN();a=new a5c;d=this.dD;e=b.json;c=new CWc;d=_.eRc(d,e,"items");c=_.jb(c,2,d);a=_.y(a,1,c);return _.B(a,2,z4c(b.json))}if("undefined"!=typeof _.FM&&a instanceof _.FM){if(!b.json)throw _.SN();a=this.dD;d=b.json;b=new EWc;_.PN(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.aRc(a,d[e]);c.push(f)}return _.jb(b,2,c)}if("undefined"!=typeof _.ON&&a instanceof _.ON)return Obd(a,b);if(a instanceof _.GM){if(!b.json)throw _.SN();return ubd(b.json)}if(a instanceof
_.ILc){if(!b.json)throw _.SN();return ebd(Jbd(this),b.json)}if(a instanceof _.wG){if(!b.json)throw _.SN();a=Jbd(this);c=b.json;b=new k5c;a=dbd(a,c);return _.y(b,2,a).Gc(1)}if(a instanceof _.HM){if(!b.json)throw _.SN();b=b.json;_.PN(["drive#remainingCount"],b);a=new l5c;c=b.nextPageToken;null!=c&&_.B(a,2,Number(c));_.B(a,1,Number(b.remainingCount));return a}if(a instanceof _.rp){if(!b.json)throw _.SN();return(new _.OB).uw([wbd(this.V,b.json)])}if(a instanceof _.SM){if(!b.json)throw _.SN();a=(new _.OB).uw(xbd(this.V,
b.json));a=_.zPc(new _.IN,a);return _.B(a,3,z4c(b.json))}if("undefined"!=typeof _.LM&&a instanceof _.LM)return Mbd(a,b);if(a instanceof _.MM)return Kbd(this,a,b);if(a instanceof _.RL)return _.vRc(this,a,b);if(a instanceof _.NM)return _.vRc(this,a,b);if(a instanceof _.OM)return Pbd(this,b);if("undefined"!=typeof _.JD&&a instanceof _.JD){if(!b.json)throw _.SN();b=Abd(b.json);a=new c5c;a=_.y(a,3,b);b=b.getKey();return _.y(a,4,b)}if(a instanceof _.PM)return Lbd(a,b);if(a instanceof _.CL){if(!b.json)throw _.SN();
return B$c(this.ta,b.json)}if("undefined"!=typeof _.QM&&a instanceof _.QM){if(!b.json)throw _.SN();b=Bbd(b.json);a=new _.CN;a.UR().set(b.getId(),b);return a}if(a instanceof _.ALc){if(!b.json)throw _.SN();a=b.json;b=new XZc;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":_.Fk(b,2,d);break;case "activities":c=fad(d),_.jb(b,1,c)}return b}if(a instanceof _.CLc)return Pbd(this,b);if("undefined"!=typeof _.GLc&&a instanceof
_.GLc)return Nbd(this,b);if(a instanceof _.DLc){if(!b.json)throw _.SN();return new c_c}if(a instanceof _.ELc){if(!b.json)throw _.SN();return KTc(b)}if(a instanceof _.HLc){if(!b.json)throw _.SN();c=b.json;b=new _.pp;_.PN(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=Abd(c[d]))&&a.push(e);return _.Owa(b,a)}if(a instanceof _.qp){if(!b.json)throw _.SN();return Gbd(this.W,this.H,b.json).Gc(1)}if("undefined"!=typeof _.KM&&a instanceof _.KM){if(!b.json)throw _.SN();return Ebd(this.W,
this.H,b.json)}if(a instanceof _.NLc){if(!b.json)throw _.SN();a=b.json;_.PN(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new R4c;a=_.B(c,1,a);return _.B(a,2,b)}if(a instanceof _.MLc)return new e_c(z4c(b.json?b.json:{}));if(a instanceof _.OLc)return new f_c;if(a instanceof _.PLc){if(!b.json)throw _.SN();return Cbd(b.json)}if("undefined"!=typeof _.lO&&a instanceof _.lO)return Pbd(this,b)};
var Lbd=function(a,b){if(!b.json){if(a instanceof _.rM)return Hbd({});throw _.SN();}return Hbd(b.json)},Pbd=function(a,b){if(!b.json)throw _.SN();a=wbd(a.V,b.json);return(new _.UM).Gc(1).setItem(a)},Kbd=function(a,b,c){if(!c.json)throw _.SN();return cbd(Jbd(a),b,c.json)},Mbd=function(a,b){if(!b.json)throw _.SN();return yad(b.json,a.qh())},Nbd=function(a,b){if(!b.json)throw _.SN();a=a.va;var c=b.json;_.PN(["drive#about","drive#changeList"],c);b=new x0c;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){_.PN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.PN(["drive#change"],h);var k=new _.KL;k=_.B(k,1,Number(h.id));h.teamDriveId?(_.RKc(k,h.teamDriveId),_.LL(k,h.teamDriveId)):_.LL(k,h.fileId);h.file?k.setItem(_.XQc(f.H,h.file)):h.teamDrive&&k.setItem(wbd(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.VL(k);d.push(k)}_.jb(b,4,d)}return b},Obd=function(a,b){var c=new M5c;if(a.V().length){var d=
[];PSc(a.V(),b.headers).forEach(function(e,f){var h=new _.bIc;e=_.B(h,1,f).Rb(e);d.push(e)});_.jb(c,1,d)}N5c(c,b.json?JSON.stringify(b.json):b.text);return c};
var Rbd=function(a){var b=new _.nq;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Qbd[a]);_.sN(b,c.join(" "))}return b.toString()},Sbd={},Qbd=(Sbd[1]="active",Sbd[2]="archived",Sbd);
var Tbd=function(a,b,c,d){_.TN.call(this,b,c,a.Ab,d);this.ma=a;this.ta=new u_c(_.xN(c),b)};_.N(Tbd,_.TN);
Tbd.prototype.W=function(a,b,c){var d=this;try{return _.TN.prototype.W.call(this,a,b,c)}catch(S){}var e=0,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.fM){h="POST";var p="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var r=A4c(a);f["content-type"]="application/json";l=n=!0}else if(a instanceof _.gM){h="POST";p="files/"+a.Rc()+"/authorize";k.appId=a.qh();_.H(a,3)&&(k.propagate=!0);var u=a.Ae();n=!0;_.wN(k);_.lN(this.H)&&_.UN(this,[a.Rc()],
f)}else if("undefined"!=typeof _.lO&&a instanceof _.lO)p="drives/"+a.NY(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=a.V(),r),f["content-type"]="application/json",k.fields=ZO(this.H,[],!0),u=a.Ae(),n=!0;else if(a instanceof _.CLc)h="POST",p="teamdrives/"+a.requestId,k.fields=ZO(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 _.kM)h="POST",p="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",r=
C4c(a),f["content-type"]="application/json",u=a.Ae(),n=!0;else if(a instanceof _.hM)h="POST",p="files/"+a.getId()+"/copy",k.fields=_.pLc({fields:this.Xg(c),Wy:_.ZL(_.EL(this.H)),yN:_.GL(this.H)}),k.convert=_.F(a,4,!1),r=B4c(a),f["content-type"]="application/json",u=a.Ae(),_.lN(this.H)&&(a=_.Dd(a,3).concat([a.getId()]),_.UN(this,a,f)),n=!0,_.wN(k),_.KRc(this.H,k);else if("undefined"!=typeof _.lM&&a instanceof _.lM)h="DELETE",p="apps/"+a.qh(),k.appId=a.qh(),k.deleteAppData=!!a.V(),u=a.Ae(),n=!0;else if("undefined"!=
typeof _.mM&&a instanceof _.mM)h="DELETE",p="backups/"+a.getId(),e=9;else if(a instanceof _.nM)h="DELETE",p="files/"+a.getId(),u=a.Ae(),n=!0,_.wN(k),_.KRc(this.H,k),_.lN(this.H)&&_.UN(this,[a.getId()],f);else if("undefined"!=typeof _.oM&&a instanceof _.oM)h="DELETE",p="files/"+a.Rc()+"/permissions/"+a.V(),u=a.Ae(),n=!0,_.wN(k);else if(a instanceof _.pM)h="DELETE",p="files/"+a.Rc()+"/revisions/"+_.C(a,2),u=a.Ae(),n=!0,_.lN(this.H)&&_.UN(this,[a.Rc()],f);else if(a instanceof _.qM)h="DELETE",p="teamdrives/"+
a.getId(),u=a.Ae(),n=!0;else if("undefined"!=typeof _.ID&&a instanceof _.ID)h="DELETE",u=a.getKey(),p="settings/"+_.C(u,2),_.op(u)&&(k.namespace=LTc[_.op(u)]),u=a.Ae(),n=!0;else if(a instanceof _.rM)h="DELETE",p="workspaces/"+a.getId(),u=a.Ae(),n=!0;else if(a instanceof _.uM)h="DELETE",p="files/trash",u=a.Ad().Ae(),n=!0,_.KRc(this.H,k);else if("undefined"!=typeof _.vM&&a instanceof _.vM)p="apps/"+a.qh(),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 _.BM&&a instanceof _.BM)p="backups/"+a.getId()+"/items",e=9,k.languageCode=uO(_.EL(this.H));else if("undefined"!=typeof _.wM&&a instanceof _.wM)h="POST",p="apps",k.appId=a.qh(),u=a.Ae(),n=!0;else if("undefined"!=typeof _.xM&&a instanceof _.xM)h="POST",p="files/"+a.Rc()+"/permissions",k.fields=_.GL(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.ndb()||"",k.sendNotificationEmail=!a.deb(),r={},1==a.Hg()?r.role="owner":3==a.Hg()?r.role="writer":4==a.Hg()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Hg()&&(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.hb()&&(r.value=a.hb()),r.withLink=!a.vdb(),f["content-type"]="application/json",u=a.Ae(),n=!0,_.wN(k);else if(a instanceof _.xLc)e=8,h="POST",
p="/v1/exports",f["content-type"]="application/json",r=_.Dd(a,1).map(function(S){if(_.lN(d.H)){var ha=_.iPc(d.ka,S);if(null!==ha)return{id:S,resource_key:{resource_key:ha}}}return{id:S}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.HL||"undefined"!=typeof _.vN&&a instanceof _.vN||a instanceof _.qp||"undefined"!=typeof _.KM&&a instanceof _.KM)if(b=a instanceof _.HL?a.Ad():a,_.WM(b)){e=10;h="POST";p="/v1/items";f["content-type"]="application/json";
r={};var z=9==_.jN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",A={};A.applicationType=D_c(this.H);A.platformType=z;A.languageCode=uO(_.EL(this.H));A.timeZone=(new _.Yv).S5();A.requestType="LIVE_REQUEST";a instanceof _.HL&&(z=a.getOptions())&&_.F(z,10,!1)&&(A.requestType="BACKGROUND_REQUEST");b instanceof _.He?_.yM(b)?(A_c(this.ta)?A.scenarioType="ONE_PICK":A.scenarioType="QUICK_ACCESS",2==_.hN(b)&&(r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Dd(b,33)[0]}),_.fN(b).length&&(r.itemType=C_c(b))):
_.zM(b)?A.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.AM(b)&&(A.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.vN&&b instanceof _.vN?(p="/v1/userfeedback",r.userFeedback=b.V().map(function(S){var ha=S.V(),ca={},oa={};oa.feedbackType=OXc[ha.getType()];ca.item=oa;ca.clientInfo=A;switch(S.getFeature()){case 1:A.scenarioType="DRIVE_PRIORITY";oa.itemId=ha.Rc();break;case 3:A.scenarioType="QUICK_ACCESS";oa.itemId=ha.Rc();break;case 2:A.scenarioType="DRIVE_WORKSPACES",oa.itemId=ha.Rc(),oa.childItem=
ha.V().map(function(Ca){var V={};V.itemId=Ca.Rc();return V})}return ca})):b instanceof _.qp?A.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.KM&&b instanceof _.KM?(A.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Sp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.V()}]):_.ORc(a);"undefined"!=typeof _.vN&&b instanceof _.vN||(r.maxSuggestions=b.li(),r.clientInfo=A)}else{u=b.Ae();n=!0;p="files";
k.q=_.fOc(b);z=[];var E;(E=_.QL(this.H))&&_.F(E,4,!1)?(E=_.wa(this.Xg(c),this.Xg(c,b.Ti())),_.Ea(E)):E=_.xa(this.Xg(c));var I=void 0,J=!1;0<_.Jk(b,_.Pl,5).length&&(I=_.C(this.H.Sf(),50),J=!0);k.fields=uSc({fields:E,Wy:_.ZL(_.EL(this.H)),l2:I||void 0,yN:_.GL(this.H),Rlb:J});k.appDataFilter="NO_APP_DATA";0<_.Jk(b,_.eN,25).length&&(k.sources=_.ZNc(b));0<b.Mw().length&&(k.spaces=_.$Nc(b));a.oo()&&(k.pageToken=a.oo());(a=a.getOptions())&&_.rk(a,1,1E3)&&(k.maxResults=_.rk(a,1,1E3));_.F(b,36,!1)&&(k.includeUnsubscribed=
!0);_.C(b,43)&&(k.rawUserQuery=_.C(b,43));_.wN(k);k.includeItemsFromAllDrives=_.F(b,66,!0);0<_.Dd(b,33).length&&2==_.hN(b)&&(a=_.Dd(b,33)[0],k.teamDriveId=a,z.push(a));k.corpora=_.FNc[_.hN(b)];_.H(b,18)&&(_.$f(k,"corpora"),k.corpus="DOMAIN");_.lN(this.H)&&(a=_.Jk(b,_.Rl,63),0<a.length?_.LRc(a,f):(a=_.gN(b),E=_.Jk(b,_.dN,35),I=_.Jk(b,_.dN,38),z=z.concat(a.filter(function(S){return!_.F(S,2,!1)}).map(function(S){return S.hb()})).concat(E.map(function(S){return S.hb()})).concat(I.map(function(S){return S.hb()})),
_.UN(this,z,f)));RSc(k,b.qd());_.MRc(this.H,k);_.NRc(this.H,k);_.D(b,_.pda,64)&&(a=oVc(_.D(b,_.pda,64)),a=_.Pj(a,4),k.searchSessionData=a)}else if(a instanceof _.CM){p="apps";switch(a.getType()){case 1:k.fields=Ubd;break;case 2:k.fields=Vbd;break;case 4:k.fields=Wbd;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.gy=!0}k.languageCode=uO(_.EL(this.H));0<_.Dd(a,3).length&&(k.appFilterExtensions=_.Dd(a,3).join(","));0<_.Dd(a,4).length&&(k.appFilterMimeTypes=_.Dd(a,4).join(","));u=a.Ae();n=!0}else if("undefined"!=typeof _.DM&&a instanceof _.DM)p="backups",e=9,k.languageCode=uO(_.EL(this.H));else if(a instanceof _.TL)p="changes",k.includeDeleted=_.F(a,3,!0),k.includeSubscribed=_.F(a,4,!0),k.maxResults=a.gO(),k.startChangeId=_.C(a,1),k.fields=tSc({fields:this.Xg(c),l2:ZO(this.H,a.Ti()),Wy:_.ZL(_.EL(this.H)),
yN:_.GL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Hc()||(k.filters="DRIVE_DATASERVICE"),u=_.Dd(this.H.Sf(),31),u.length&&(k.spaces=_.ib(u,function(S){return _.dIc[S]}).join(",")),_.wN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Hc()&&(k.teamDriveId=a.Hc()),u=a.Ae(),n=!0;else if(a instanceof _.EM)b=a.Ad(),p="files/"+b.getId()+"/permissions",k.fields=_.GL(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.oo()&&(k.pageToken=a.oo()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.Ae(),n=!0,_.wN(k),_.MRc(this.H,k),_.NRc(this.H,k),_.lN(this.H)&&_.UN(this,[b.getId()],f);else if("undefined"!=typeof _.FM&&a instanceof _.FM)k.fields=_.GL(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.li(),p="files/"+a.Rc()+"/revisions",u=a.Ae(),n=!0,_.lN(this.H)&&_.UN(this,[a.Rc()],f);else if(a instanceof _.rp)p="teamdrives/"+a.ym()[0],k.fields=ZO(this.H,a.Ti()),u=a.Ae(),n=!0;else if(a instanceof _.MLc)h="POST",p="admin/files/migrateToTeamDrivePreFlight",r=D4c(a),f["content-type"]="application/json",n=l=!0,_.lN(this.H)&&_.UN(this,
a.request.V(),f);else if(a instanceof _.SM)u=a.Ad(),p="teamdrives",k.fields=k_c(this.H,u.Ti()),k.q=l_c(u),a.oo()&&(k.pageToken=a.oo()),(u=(u=a.getOptions())&&_.rk(u,1,1E3))&&(k.maxResults=u),u=a.Ad().Ae(),n=!0;else if(a instanceof _.NLc)p="teamdrives/"+a.Hc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",n=l=!0;else if("undefined"!=typeof _.LM&&a instanceof _.LM)h="PUT",p="apps/"+a.qh(),k.appId=a.qh(),r={},r.useByDefault=a.W(),a.V()&&(r.hasAppData=!1),f["content-type"]="application/json",
u=a.Ae(),n=!0;else if(a instanceof _.RL)h="PUT",p="files/"+a.getId(),k.fields=_.pLc({fields:this.Xg(c),Wy:_.ZL(_.EL(this.H)),yN:_.GL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.H(a,15),k.fileId=a.getId(),_.Dd(a,9).length&&(k.addParents=_.Dd(a,9).join(",")),_.Dd(a,10).length&&(k.removeParents=_.Dd(a,10).join(",")),_.Dd(a,31).length&&(k.addWorkspaces=_.Dd(a,31).join(",")),_.Dd(a,32).length&&(k.removeWorkspaces=_.Dd(a,32).join(",")),null!=_.H(a,24)&&(k.confirmed=_.H(a,24)),k.languageCode=
uO(_.EL(this.H)),r=E4c(a),f["content-type"]="application/json",u=a.Ae(),n=!0,_.wN(k),this.V(a.getId(),k),_.H(a,36)?k.bypassMultiparentingCheck=!0:_.KRc(this.H,k),_.lN(this.H)&&(b=_.Jk(a,_.Rl,38),b.length?_.LRc(b,f):(b=_.Dd(a,9).concat(_.Dd(a,10)),b.push(a.getId()),_.UN(this,b,f)));else if(a instanceof _.NM)h="PUT",p="files/"+a.Rc()+"/revisions/"+_.C(a,2),r=F4c(a),f["content-type"]="application/json",u=a.Ae(),_.lN(this.H)&&_.UN(this,[a.Rc()],f);else if(a instanceof _.OM)p="teamdrives/"+a.getId(),null!=
a.xm()?(h="POST",p+="/"+(a.xm()?"hide":"unhide")):(h="PUT",r=G4c(a),f["content-type"]="application/json"),k.fields=ZO(this.H),u=a.Ae(),n=!0;else if(a instanceof _.PM)h="PUT",p="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=H4c(a),f["content-type"]="application/json",u=a.Ae(),n=!0;else if("undefined"!=typeof _.JD&&a instanceof _.JD)h="PUT",r=a.V(),u=r.getKey(),p="settings/"+_.C(u,2),(u=_.op(u))&&(k.namespace=LTc[u]),r=MTc(r),f["content-type"]="application/json",u=
a.Ae(),n=!0;else if(a instanceof _.CL)p="about",k.fields=_.GL(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=OTc(k.fields,this.H),k.fields=PTc(k.fields,this.H),u=a.Ae(),n=!0;else if("undefined"!=typeof _.ON&&a instanceof _.ON){e=11;h=a.Vx();p=a.getUrl();var R=a.ta()||"";a.Ba().forEach(function(S){f[S.getKey()]=S.hb()});a.Ea().forEach(function(S){k[S.getKey()]=S.hb()});a.Ia()&&(b.Azb=!0);a.ma()&&(b.gy=!0);a.W()&&(b.ija=!0)}else a instanceof _.BLc?(b=a.request.Rc(),p="files/"+b+"/listCategoryMetadata",u=a.request.Ae(),a.pageToken&&(k.pageToken=a.pageToken),a.request.li()&&(k.maxResults=a.request.li()),
k.fields="kind,nextPageToken,categoryMetadata",_.lN(this.H)&&_.UN(this,[b],f)):a instanceof _.MM?(f["content-type"]="application/json",h="POST",b=a.Rc(),p="files/"+b+"/updateCategoryMetadata",u=a.Ae(),r={categoryMetadata:a.tS().map(function(S){var ha=_.Jk(S,_.xG,2).map(function(oa){return{id:oa.getId(),userId:oa.Yx(),setBooleanValue:_.H(oa,3),setTextValue:_.C(oa,4),setTextValues:_.Dd(oa,6),addTextValues:_.Dd(oa,5),setLongTextValue:_.C(oa,7),setSelectionValue:_.C(oa,8),setSelectionValues:_.Dd(oa,10),
addSelectionValues:_.Dd(oa,9),setIntegerValue:_.C(oa,11),setIntegerValues:_.Dd(oa,13),addIntegerValues:_.Dd(oa,12),setUserValue:_.C(oa,14),setUserValues:_.Dd(oa,16),addUserValues:_.Dd(oa,15),setDateStringValue:_.C(oa,17)}}),ca={categoryName:S.tm()};ha.length?ca.categoryAttributeValueDeltas=ha:_.Dd(S,4).length?ca.revertAttributeIds=_.Dd(S,4):_.H(S,3)&&(ca.removeCategory=_.H(S,3));return ca})},_.lN(this.H)&&_.UN(this,[b],f)):a instanceof _.GM?(e=13,p=_.ZL(_.EL(this.H))?"/v2/people/public":"/v2/people",
k.person_id=a.ym(),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"],_.ZL(_.EL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.ILc?(e=12,p="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.li()&&(k.maxResults=
a.request.li()),k.$outputDefaults=!0,k.languageCode=uO(_.EL(this.H))):a instanceof _.wG?(e=12,p="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=uO(_.EL(this.H))):a instanceof _.iM?(f["content-type"]="application/json",h="POST",p="drives/"+a.Hc()+"/changeCategoryReferences",u=a.Ae(),n=!0,k.fields=ZO(this.H,[157],!0),r={},b=_.Jk(a,_.yl,2),b.length&&(r.addCategoryReferences=b.map(function(S){return{category:S.tm()}})),a=_.Jk(a,_.yl,3),a.length&&(r.removeCategoryReferences=
a.map(function(S){return S.tm()}))):"undefined"!=typeof _.QM&&a instanceof _.QM?(p="workspaces/"+a.ym()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.Ae(),n=!0):a instanceof _.ALc?(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.Wdb()?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}}):a instanceof _.DLc?(e=8,h="POST",p="/v1/exports/"+a.H+
":cancel"):a instanceof _.ELc?(e=8,p="/v1/exports/"+a.H):"undefined"!=typeof _.GLc&&a instanceof _.GLc?(p="changes",k.fields="kind,largestChangeId",_.wN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,n=!0):a instanceof _.HLc?(p="settings",k.namespace=NTc(a.H),u=a.request.Ae(),n=!0):a instanceof _.PLc?(p="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.li()&&(k.maxResults=
a.request.li()),k.q=Rbd(a.request),(u=a.request.Lt())&&1==u.getType()&&(k.orderBy="title"),u=a.request.Ae(),n=!0):a instanceof _.HM?(p="changes/getRemainingCount",k.pageToken=_.C(a,2),_.nk(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Hc()),u=a.Ae()):a instanceof _.eM?(f["content-type"]="application/json",h="POST",p="files/"+a.Rc()+"/sendAccessRequest",r={},l=!0):_.ORc(a);n&&_.PRc(c,k);0!=e||l||u&&_.C(u,1)||_.QOc(this.oe,74438989);return _.QRc(e,p,k,f,h,u,r,R)};
Tbd.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.Hj().join(","):[]};
var Xbd=function(a){return"kind,defaultAppIds,items("+a+")"},Ubd=Xbd("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"),Vbd=
Xbd("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"),
Wbd=Xbd("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 Ybd=function(a,b,c,d,e,f,h,k,l,n,p,r,u,z,A,E,I,J,R,S,ha,ca,oa){this.Bka=_.ii();var Ca=new v$c(b.V),V=new l$c;c=new c$c(b,f,new X9c(d,e,c),h,this.Bka.promise,k,l,c,ha);d=new t$c(b,n,p,r,u,d,e,E,k);this.V=new _.XOc;this.ha=new _.$Oc(a,z);z=new Tbd(b,a,k,ca);this.H=new Ibd(k,a,A,E);k=new _.RQc(this.ha,this.V,z,this.H,I,J,R);b=b.V;I=this.V;z=this.Bka.promise;R=R||void 0;E=a.Sf();I=new _.kQc(z,I,A,_.rk(E,32,1073741824),_.rk(E,21,1E3));I=new _.lQc(I);z=new _.GPc(_.rk(E,59,2E3),_.rk(E,60,2E4),_.rk(E,
61,6));ca={};ca[1]=_.nQc(k,A);ca[2]=_.oQc(k,E,S,J,z,A,R);ca[3]=_.pQc(k,E,S,J,z,A,R,"batch");e=_.rk(E,10,50);R?(n=new _.PPc(R.getState()),p=new _.MPc(R)):(n=new _.FPc(S,J),p=new _.EPc(J));b=new _.NN(A,k,[n,new _.KPc(e,_.rk(E,11,100)),new _.MN(e),new _.HPc(z,A)],[new y4c(E,b),new x4c,new _.LN],[p,new _.UPc(E,z,R?R.getState():S,A)],"mutation");this.W=(ca[4]=b,ca[5]=_.qQc(I,E,A),ca[6]=_.pQc(k,E,S,J,z,A,R,"find_by_ids_batch"),ca[7]=_.pQc(k,E,S,J,z,A,R,"xd4_batch"),ca[8]=_.pQc(k,E,S,J,z,A,R,"xd4_immediate_batch",
1),ca);this.Bka.resolve(oa?oa:new _.rQc(new w$c,Ca,V,this.W,c,d,a,this.gH.bind(this),ha))};Ybd.prototype.gH=function(){return _.Uf(this.W,function(a){return a.gH()})};var s6c=function(a){var b=new Map,c=Date.now();_.Rf(a.W,function(d,e){d=GWc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var $bd=function(a,b){var c=this;this.H=a;this.Qa=a.zm();this.ab=b;this.va=null;this.ka=0;this.Ba=this.Ea=!1;this.ha=_.ii();this.Ia=null;this.W=a.H;b=_.vO(this.W);this.Ma=new _.fPc(_.rk(b,2,37500),_.rk(b,3,6E5));this.V=null;this.ta=a.Wb;this.ma={};_.Rf(k0c,function(d){c.ma[d]=[]});this.Wa=this.Ka=!1;XO(a.ka,["hVFf7","T8oKm","BNEDtc"],function(){$P(c,"Initializing: loaded from local dump");Zbd(c)});XO(a.ka,["hVFf7","T8oKm","mrK8ic"],function(){$P(c,"Initializing: loaded from sdk backfill");Zbd(c)});
XO(a.ka,["mrK8ic","BNEDtc"],function(){$P(c,"Updating: sdk backfill complete");c.Y7().qg(_.mf)})},Zbd=function(a){a.Ka||(a.Ka=!0,QP(a.H).addCallback(function(b){a.ta.initialize().hg(function(){a.va=b;a.setActive(!0)},function(c){c&&oWc(a.H.ha,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.aM(c));$P(a,"Error initializing dump storage");a.GU()})}))};_.g=$bd.prototype;_.g.DSa=function(a){this.Ea&&(this.ka+=a,this.ka>_.rk(_.vO(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.va||this.Ba)&&this.Ea!=a){var b=this.H;a&&(b.Nc.gH()||0<b.W.va.W||b.ma.kf()||b.ta.kf())||((this.Ea=a)?(this.ha.resolve(),this.V||this.Y7().qg(_.mf)):(this.ha=_.ii(),_.q.clearTimeout(this.Ia)))}};_.g.GU=function(){this.Ba=!0};_.g.lNa=function(){return this.V?this.V.promise:_.bi()};
_.g.Y7=function(){var a=this;if(this.V)return this.V.promise;this.V=_.ii();_.ji(this.V.promise,function(){a.V=null});var b=this.Qa.V(106021)||void 0;this.ha.promise.then(function(){return s4c(a.H.Ka)}).then(function(c){var d=!c;return a.Ba?d:_.gi([acd(a,3,d,void 0,void 0,b),acd(a,0,d,void 0,!0,b),acd(a,1,d,void 0,!0,b),acd(a,5,d,void 0,!0,b),acd(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Rb("Failed to update dump",void 0,_.aM(e));return _.ei(e)})},function(){return _.ei(Error("bg"))}).then(function(c){a.V.resolve(c);
b&&(c=vWc(b),_.B(c,2,!0),b.H())},function(c){a.V.reject(c);b&&(c=vWc(b),_.B(c,2,!1),b.H())});return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.li,e=this.Qa.V(106021)||void 0;e&&(jWc(vWc(e),_.zN(_.tKc,a)),d.then(function(){var f=vWc(e);_.B(f,2,!0);e.H()},function(){var f=vWc(e);_.B(f,2,!1);e.H()}));this.ha.promise.then(function(){return s4c(c.H.Ka)}).then(function(f){f=!f;c.Ba?d.callback():_.oi(acd(c,a,f,b,void 0,e),d)});return d};
var acd=function(a,b,c,d,e,f){var h=_.ia(a.ma[b]);if(h){if(h.encrypt==c&&1<a.ma[b].length)return h.Bg.om();var k=new _.li;_.ni(h.Bg,function(){_.oi(bcd(a,b,c,d,e,f),k)})}else k=bcd(a,b,c,d,e,f);var l={encrypt:c,Bg:k};a.ma[b].push(l);_.ni(k,function(){_.va(a.ma[b],function(n){return l==n})});k.$e(function(n){a.ta.V.Uf()?a.GU():n instanceof _.Rb&&(n=n.V||null,n instanceof _.wL&&"InvalidStateError"==n.getName()&&n.message&&-1<n.message.indexOf("The database connection is closing.")&&a.GU());return null});
return k},bcd=function(a,b,c,d,e,f){var h=new _.li;a.ha.promise.then(function(){if(3==b)_.oi(ccd(a,d||!1,c,f),h);else{switch(b){case 0:var k=a.H.Cb;k=k.H?_.Pk(k.H):null;break;case 1:k=a.H.Qc.Qq();break;case 5:k=dcd(a.H.Qa);break;case 6:k=a.H.W.ka;k=B0c(new A0c,w1c(k.H));break;default:h.Vd("Invalid data type to write to storage.");return}if(k){var l=_.Jk(_.vO(a.W),tO,11)[0].getKey();!l&&c?($P(a,"Skipping dump update, encrypted and no key"),h.callback()):d4c(a.ta,c?l:null,[k],f).then(h.callback,h.Vd,
h)}else e?($P(a,"Skipping dump update: "+b),h.callback()):h.Vd("Failed to get data to write to dump.")}});return h},ccd=function(a,b,c,d){_.q.clearTimeout(a.Ia);a.Ia=_.q.setTimeout((0,_.v)(a.rb,a),a.Ma.hb());if(b&&0==a.ka)return _.qi();a.ka=0;var e=_.Jk(_.vO(a.W),tO,11)[0].getKey();if(!e&&c)return $P(a,"Skipping dump update, encrypted and no key"),_.qi();var f=[];_.Rf(VZc,function(k){0<k&&(k=ecd(a,k),k.length&&f.push(d4c(a.ta,c?e:null,k,d)))});var h=new _.li;_.gi(f).then(function(){a.Wa&&wP(a.H.Ka,
p4c,!0);h.callback()},h.Vd,h);return h};$bd.prototype.rb=function(){_.JH(this.Ma);this.update(3,!0)};
var ecd=function(a,b){switch(b){case 1:return[fcd(a)];case 2:var c=(b=a.H.W.ma.H)?b.dF():[];c=gcd(a,_.Rc(mTc(c)));$P(a,"Exporting "+c.length+" secondary dump items.");c.length>_.rk(_.vO(a.W),5,2E4)&&(b&&$0c(b),c=[]);c=OZc(new VO,hcd(c));var d=a.H.W.ma;a=new yTc;(d=d.H)&&d.V&&(d=d.dF(),_.B(a,3,d.length));c=_.y(c,11,a);c=UZc(c,2);b&&SZc(c,b.U7());return[c];case 3:return icd(a);case 4:return jcd(a);default:throw new _.Rb("Unsupported CacheType");}},fcd=function(a){for(var b={},c=[],d=e1c(a.H.W.ma,!0),
e=!0,f=0;f<d.length;f++){var h=d[f],k=h.dF(),l=gcd(a,lTc(k));k=l.length;var n=0<k?l[k-1]:null;_.La(l,function(p){b[p.getId()]=p});if(0<k||h.W)l=LZc(new UO,h.Ad()),h.W||(_.B(l,2,k),_.y(l,3,n),e=!1),c.push(l)}d=_.Rc(b);$P(a,"Exporting "+d.length+" initial dump items.");return SZc(UZc(RZc(OZc(PZc(TZc(QZc(new VO,a.H.Qn()),_.xN(a.ab)),a.va.BSa(null)),hcd(d)),c),1),!e)},icd=function(a){var b=[],c=a.va;_.xa(a.H.W.ma.V).forEach(function(d){var e=c.BSa(d.Hc());if(e){var f=gcd(a,lTc(d.dF()));$P(a,"Exporting "+
f.length+" TD dump items for: "+d.Hc());e=SZc(UZc(PZc(OZc(new VO,hcd(f)),e),3),d.U7(d.Ad()));d=LZc(new UO,d.Ad());RZc(e,[d]);b.push(e)}});return b},jcd=function(a){var b={},c=[];q9c(a.H.W).forEach(function(d){1==d.H&&null==_.H(d.Ad(),6)&&(lTc(d.dF()).forEach(function(e){b[e.getId()]=e}),d=MZc(LZc(new UO,new _.He),d.Ad()),c.push(d))});return[SZc(UZc(RZc(OZc(new VO,hcd(Object.values(b))),c),4),!1)]},gcd=function(a,b){b=VSc(b);_.H(a.W,67)&&(b=kcd(b));_.GL(a.W)&&(b=O1c(a.H.W.ka,b));return b.filter(function(c){return 4!=
jO(c)})},kcd=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,LSc(c)?(c=c.clone(),vSc(c,KSc),b.push(c)):b.push(c);return b},hcd=function(a){return a.map(function(b){return _.Pk(b)})},$P=function(a,b){a.H.ha.info("drive.ds.sync.storage.LiveDumpUpdater",b)};$bd.prototype.mxa=function(){this.Wa=!0};
var lcd=function(){};_.g=lcd.prototype;_.g.setActive=function(){};_.g.GU=function(){};_.g.update=function(){return _.qi()};_.g.lNa=function(){return _.bi()};_.g.Y7=function(){return _.bi()};_.g.DSa=function(){};_.g.mxa=function(){};
var pO=function(a,b,c,d){_.Hi.call(this);var e=this;this.ha=d||new _.KNc;this.V=a;this.H=b.clone();this.rb=new _.hOc(this.H);this.va=new u_c(_.xN(this.rb),this.H);mcd(this);this.Xd=new _.mo;this.ew=_.q.setTimeout(function(){e.ha.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Xd.resolve();e.zm().H(106020)},1E4);this.Jl=null;this.dg=new _.li;this.xr=!0;this.ma=new _.yOc(_.kN(this.H),_.F(this.H.Sf(),52,!1));this.ta=new _.pOc(_.kN(this.H)?3:1,!_.F(this.H.Sf(),52,!1));this.wf=_.ROc(this.H,
this.ma,this.ta,this.ha,this.Xd.promise,c);this.yg=null;this.ah=new p0c(this.wf);this.uc=new _.li;this.zi=[];ncd(this)};_.N(pO,_.Hi);var B6c=function(a){a.ha.info("drive.ds.sync.ThinContext","Notified of page stable.");_.q.clearTimeout(a.ew);a.Xd.resolve()},ncd=function(a){var b=function(){a.ox().qg(_.mf)},c=a.V;(c=c&&_.Nb(c,_.dl))?_.le(c,"A",b):_.yKc()||_.le(_.q,"unload",b)};pO.prototype.ox=function(){this.wf.H(106005);zWc(this.wf);var a=this.zi.map(function(b){return b()});_.qa(this.zi);return _.hi(a).then()};
var ocd=function(a,b){a.zi.push(b)},C6c=function(a,b,c){"string"===typeof b&&null===a.Jl&&(a.Jl=b,a.dg.callback(b),b.length&&a.wu(b,c||null))};pO.prototype.wu=function(){};pO.prototype.Qn=function(){return this.Jl};pO.prototype.zm=function(){return this.wf};var pcd=function(a){if(!a.yg)throw Error("cg");return a.yg},qcd=function(a,b){a.yg=b};pO.prototype.wr=function(){return this.xr||this.ta.isConnected()};pO.prototype.fw=function(a){this.uc.callback(a)};
var mcd=function(a){var b=a.H.Sf();0==_.Dd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.B(b,19,3));if(!_.G(b,37,""))throw Error("dg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.B(b,57,"https://clients6.google.com"));if(_.F(_.vO(a.H),9,!1))if(b=_.Jk(_.vO(a.H),tO,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.kN(a.H)&&!_.F(a.H,10,!1))throw Error("eg");}else _.B(_.vO(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.F(_.vO(a.H),9,!1)&&(_.kN(a.H)||_.F(a.H,10,!1)))throw Error("fg");var c=_.EL(a.H);b=!(!c||!_.ZL(c));c=c&&_.iN(c)||"";if(!b&&!c)throw Error("gg");b&&_.YL(a.H,44);_.Jk(a.H,_.He,44).forEach(function(d){try{y_c(a.va,d)}catch(e){if(e instanceof _.Rb&&(d=e.kh)&&3==d.gz())throw Error("hg");throw e;}})};pO.prototype.Lb=function(a){this.dispatchEvent(new _.Tb(new _.Rb(void 0,a)))};pO.prototype.log=function(a){this.ha.info("drive.ds.sync.ThinContext",a)};
var rcd=function(a,b){this.H=a;this.Qh=b};
var scd=new Set([5,4,1,6,2]),tcd=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),ucd=function(a,b,c){_.Hi.call(this);this.ta=a;this.ka=b;this.ma=c;this.H=new Map;this.W=new Map;this.ha=6;this.V=null};_.N(ucd,_.Hi);
var A7c=function(a,b,c,d,e){if((e=void 0===e?!1:e)&&!d.length){var f=new Set;b.forEach(function(p){(p=(p=p.getKey())&&_.op(p))&&f.add(p)});[].concat(_.Pc(f.values())).forEach(function(p){return void d.push(p)})}if(d.length){var h=scd.has(c),k=new Map;d.forEach(function(p){k.set(p,new Map)});b.forEach(function(p){var r=p.getKey(),u=r&&_.op(r);r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,vcd(p))});var l=0,n=0;[].concat(_.Pc(k.keys())).forEach(function(p){var r=k.get(p),u=a.H.get(p);u?h&&(r.forEach(function(z){var A=
z.getKey();(A=u.get(A&&_.C(A,2)))&&_.Ok(z,A)||l++}),[].concat(_.Pc(u.values())).forEach(function(z){z=z.getKey();r.has(_.C(z,2))||n++}),a.H.set(p,r),a.W.set(p,c)):(l+=r.size,a.H.set(p,r),a.W.set(p,c))});a.ta.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+b.length+" user prefs from "+c+(n?" (removed "+n+")":""));if(1!=a.ha||l){if(h||e)a.ha=1,YO(a.ka,"px2C2c");YO(a.ka,"rkYxSd")}(l||n)&&wcd(a,!h)}};ucd.prototype.eB=function(){return 0<this.H.size};
var wcd=function(a,b){b||a.V||(a.V=_.q.setTimeout(function(){_.q.clearTimeout(a.V);a.V=null;a.ma.update(5)},1E3));a.dispatchEvent(new _.xi("WPi0i"))},u$c=function(a,b){var c=b.getKey(),d=c&&_.op(c);c=c&&_.C(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=vcd(b);e&&_.Ok(b,e)||(d.set(c,b),wcd(a))}};ucd.prototype.remove=function(a){var b=a&&_.op(a);a=a&&_.C(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&wcd(this)};
var dcd=function(a,b){var c=[];(b||[].concat(_.Pc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.Pc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.Pc(a.H.keys()));var d=new MWc;_.jb(d,1,c);_.B(d,2,b||[]);return d};
ucd.prototype.qK=function(a){var b=this,c=dcd(this,a),d=new _.pp;d.Gc(this.ha);_.Owa(d,c.rz());_.y(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);tcd.has(f)&&Infinity>tcd.get(f)&&(e=f)});return new rcd(d,e)};var vcd=function(a){a=a.clone();a.lg()||a.Rb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var xcd=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},zcd=function(a,b){return ycd(a[b])+(ycd(a[b+1])<<8)+(ycd(a[b+2])<<16)+(ycd(a[b+3])<<24)},ycd=function(a){return 127<a?a-256:a};
var rO=function(a,b,c,d,e,f){pO.call(this,a,b,c,d);var h=this;this.Bb=new _.he;this.Oa(this.Bb);this.yr=_.ii();this.ka=e?e:new b_c(this.ha);this.zm().ha.V=this.ka;this.Ab=_.F(_.vO(b),9,!1)&&QTc()?Acd(this,b):null;this.ab=new n_c(uO(_.EL(b)));this.Ma=new I_c;this.vk=null;this.te=_.ii();this.Ka=Bcd(this,this.Ab);this.Wb=Ccd(this,this.Ab,b);this.Ea=Dcd(this);this.W=new h9c(this,this.rb);this.Cb=new E6c(this.H,this.W.ka,this.ka,this.ha,this.Ea);this.Qc=new J6c(this.ha,this.ka,this.Ea);this.Qa=new ucd(this.ha,
this.ka,this.Ea);this.qn=new _.li;this.Kq=null;this.Xc=new S0c(this.Ba(),this.ha,function(k){return void h.Lb(k)});this.zc=_.F(this.H.Sf(),52,!1)?new _.kPc(this.ta,this.Ba(),this.ha):null;this.Se=new m2c;this.Zd=null;this.vs=_.ii();XO(this.ka,["mrK8ic"],function(){h.vs.promise.then(function(){z7c(h,h.Zd)})});this.Mj=new _.li;this.Lq=new R2c(this.H);this.Wa=new _.uPc(this.H,this.W.V);this.wl=new T9c(this);this.Re=new q2c(this.te.promise,this.Ba());this.jv=new s2c(this.Ba(),this.Re);this.ud=new V2c;
this.Il=new M2c(this.te.promise,this.Ba(),this.ha,this.H);this.Nc=new Ybd(this.H,this.W,this.Lb.bind(this),this.Re,this.jv,this.Ea,this.Se,this.rb,this.Qn.bind(this),this.wl,this.Qc,this.Qa,this.Il,this.ud,this.ha,this.Lq,this.Wa,this.Xc,this.zc,this.ma,this.kv.bind(this),this.zm(),f);this.yr.resolve(this.Nc);this.Ia=new u2c;this.xu=new C9c(this);this.Wi=new Q0c;this.Rd=_.ii();this.Hn=!1;this.Dp=_.ii();XO(this.ka,["BNEDtc"],function(){return h.Dp.resolve()});this.nn=null;ocd(this,function(){h.Ea.GU();
return _.bi()})};_.N(rO,pO);
var Acd=function(a,b){var c=_.iN(_.EL(b)),d=_.jN(b),e=function(){},f=_.Jk(_.vO(b),tO,11);f=f[0]&&_.C(f[0],1);var h=new e3c(c,d,_.rk(_.vO(b),10,0)||0,f||"",_.xN(a.rb));_.kN(b)?c=P3c(c,d).then(function(l){return l?l:h}):_.F(b,10,!1)&&0<_.rk(_.vO(b),8,432E6)?(b=Ecd(a,c),c=P3c(c,d,b).then(function(l){return l&&(e=function(n){return n.Dm(h).qg(function(){return null})},!l.ta)?l:h})):c=_.bi(h);var k=new tP(c,a.ha,a.zm());k.initialize().then(function(){return e(k)},function(){return null});return k},Ecd=
function(a,b){var c=_.rk(_.vO(a.H),8,432E6);if(!_.kN(a.H)&&0<c){a=Math;var d=a.abs;b=_.tla(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+=zcd(b,e),h.b+=zcd(b,e+4),h.c+=zcd(b,e+8),xcd(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+=zcd(b,e+4);h.a+=zcd(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+=zcd(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=xcd(h);return d.call(a,b)%c}},Fcd=function(a,b){return a.Ab?a.Ab.Uf()?_.ei(Error("ig`"+z3c(a.Ab))):s4c(a.Ka).then(function(c){var d=a.Ab,e=[];e.push(a.Ea.lNa());e.push(b?d.Dm():L3c(d));if(b===c)return _.gi(e).then(function(){return!1});!1===b&&(e.push(y3c(d)),(c=a.Qn())&&e.push(wP(a.Ka,l4c,c)));return _.gi(e).then(function(){return wP(a.Ka,m4c,b)},function(){return!1})}):_.ei(Error("jg"))},Ccd=function(a,b,c){var d=null;b&&(d=new W3c(b,
c,function(e){a.Lb(e)},a.zm()),d.initialize());return d},Bcd=function(a,b){var c=new q4c(b||void 0);c.Qn().then(function(d){d&&C6c(a,d,5)});b&&(s4c(c).then(function(d){a.ma.H=d}),_.gi([b.initialize(),a.Xd.promise]).then(function(){Gcd(a,c)},function(){}));return c},Gcd=function(a,b){v4c(b).then(function(c){(!c||c<Date.now()-864E5)&&S3c(_.iN(_.EL(a.H)),_.jN(a.H),a.ha).then(function(d){d&&(d=Date.now(),wP(b,o4c,d))},function(){})})},Dcd=function(a){if(!a.Wb)return new lcd;var b=new $bd(a,a.rb);a.Bb.listen(a.ma,
"Ab",function(c){return void b.setActive(!c.kf())});a.Bb.listen(a.ta,[].concat(_.Pc(Object.values(YZc))),function(){return void b.setActive(a.ta.isConnected())});return b};rO.prototype.hv=function(a){this.Kq=a;this.qn.callback(a)};var QP=function(a){return a.qn.om()},r6c=function(a){return a.Ab?a.Ab.Uf():null},Hcd=function(a,b){a.ka.H("NSockf")?YO(a.ka,b):XO(a.ka,["NSockf"],function(){YO(a.ka,b)})};
rO.prototype.wu=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ma.H=a||"",this.va.W=a||"",6!=b&&1!=b||wP(this.Ka,l4c,a),Hcd(this,"jroI5d"))};rO.prototype.Gn=function(){return this.Mj.om()};var z7c=function(a,b,c){0>b||((void 0===c?0:c)?a.Zd?a.Zd=Math.max(a.Zd,b):(a.Zd=b,a.vs.resolve()):a.Mj.Ef()||(a.Mj.callback(b),Hcd(a,"T8oKm")))},NP=function(a){if(!a.vk)throw Error("kg");return a.vk};rO.prototype.Ba=function(){return this.yr.promise.then(function(a){return a.Bka.promise})};
rO.prototype.ul=function(){this.Hn||(this.Hn=!0,this.Rd.resolve(),YO(this.ka,"aU7Ts"))};rO.prototype.wr=function(){throw Error("lg");};rO.prototype.kv=function(a){this.dispatchEvent(a)};var l6c=function(a){a.nn||(a.nn=new A2c(a.te.promise,a.Ba(),a.ha));return a.nn};
var Icd=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null},Jcd=function(a){return{c:a.clientId,m:a.method,a:a.args,req:a.requestId}},Kcd=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c},Lcd=function(a){var b=a.err;b=b?new _.Qb(JSON.parse(b)):void 0;return new Kcd(b?void 0:a.d,b,a.uid)};
var aQ=function(a,b,c){_.Hi.call(this);var d=this;this.Co=a;this.Nc=b;this.Ba=new _.li;this.Wa=this.Qa=this.Wb=null;c.then(function(e){return Mcd(d,e)})};_.N(aQ,_.Hi);var Mcd=function(a,b){a.Wb=b.clientId;a.Qa=b.channel;a.Wa=b.H;cP(a.Qa,a.Co,function(c){c=Lcd(c);a.oga(c.H,c.data,c.error)});a.log("Service initialized: "+a.Co);a.Ba.callback()};aQ.prototype.oga=function(){};
aQ.prototype.send=function(a,b,c,d){var e=this,f=new _.li;this.Ba.addCallback(function(){j0c(e.Qa,e.Co,Jcd(new Icd(e.Wb,a,b,d)),function(h){return void Ncd(h,a,f,c||function(){})})});return f};var Ncd=function(a,b,c,d){a=Lcd(a);a.data?c.callback(d(a.data)):(a.error?d=a.error:(d=new _.Qb,_.ML(d,2),_.NL(d,6),_.B(d,21,"Worker["+b+"]: An invalid response was received")),c.Vd(new _.Rb(void 0,d)))};aQ.prototype.log=function(a){this.Wa&&this.Wa.info(this.Nc,a)};
var Ocd=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var bQ=function(a,b,c){aQ.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.N(bQ,aQ);bQ.prototype.fqa=function(a){var b=this;a=new U5c(this.H.va,this.H.uc,this.H.ha,this.H.H,function(c,d){return b.W(c,d)},a);Pcd(this,a);return a};bQ.prototype.iqa=function(a){var b=this;a=new b6c(this.H.va,this.H.uc,this.H.ha,function(c,d){return b.W(c,d)},a,this.H.H);Pcd(this,a);return a};
var Pcd=function(a,b){cQ(a,b);_.Yd(b,function(){dQ(a,b);a.send("4.3",[b.Xi(),b.Ad().Cc()])});a.send("4.1",[b.Xi(),b.Ad().Cc()])};_.g=bQ.prototype;_.g.cqa=function(a){var b=this,c=new Z5c(this.H.H,this.H.va,this.H.ha,this.H.dg,this.Ia.bind(this),a);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.4",[c.Xi(),c.Ad().Cc()])});this.send("4.2",[c.Xi(),c.Ad().Cc()]);return c};
_.g.lqa=function(a){var b=this,c=new f6c(a,this,this.H.H);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.11",[c.Xi(),c.Ad().Cc()])});this.send("4.9",[c.Xi(),c.Ad().Cc()]);return c};_.g.mqa=function(a){var b=this,c=new g6c(this.H,this,a);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.12",[c.Xi(),c.Ad().Cc()])});this.send("4.10",[c.Xi(),c.Ad().Cc()]);return c};
_.g.oqa=function(a){var b=this,c=new j6c(this.H,a,this);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.15",[c.Xi(),c.Ad().Cc()])});this.send("4.13",[c.Xi(),c.Ad().Cc()]);return c};_.g.pqa=function(a){var b=this,c=new X5c(this.H,a);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.16",[c.Xi(),c.Ad().Cc()])});this.send("4.14",[c.Xi(),c.Ad().Cc()]);return c};
_.g.jqa=function(a){var b=this,c=new e6c(this.H,a,function(){b.send("4.21",[c.Xi()])});cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.23",[c.Xi(),c.Ad().Cc()])});this.send("4.22",[c.Xi(),c.Ad().Cc()]);return c};_.g.$pa=function(a){var b=this,c=new S5c(this.H.ma,this.H.ta,this.H.ha,function(d,e){return b.W(d,e)},a);cQ(this,c);_.Yd(c,function(){dQ(b,c);b.send("4.19",[c.Xi(),c.Ad().Cc()])});this.send("4.18",[c.Xi(),c.Ad().Cc()]);return c};
var cQ=function(a,b){a.V.create(b.Xi(),b.Ad());a.ha[b.Xi()]=b},dQ=function(a,b){dP(a.V,b.Xi(),4);delete a.ha[b.Xi()]};bQ.prototype.Ia=function(a,b,c){if(b instanceof _.jp&&c instanceof _.jp)this.send("4.5",[a,b.Cc(),c.Cc()]);else if(b instanceof _.rp&&c instanceof _.rp)this.send("4.6",[a,b.Cc(),c.Cc()]);else throw Error("mg");};
bQ.prototype.W=function(a,b){if(!this.ha[a])throw Error("Nf`"+a);var c=this.ha[a];if(c.Ad()instanceof _.He)var d="4.7";else if(c.Ad()instanceof _.uL)d="4.8";else if(c.Ad()instanceof _.DG)d="4.20";else if(c.Ad()instanceof _.Ap)d="4.17";else throw Error("ng");c.Ad().Ei(b);this.send(d,[a,b])};
bQ.prototype.oga=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new eP(c,c.P3()),a.eL(c),dP(this.V,a.Xi(),3);else if(b&&b[e]){var f=b[e++];if("cacheRefresh"==f){a.HO();return}c=a.Ad();if(c instanceof _.He||c instanceof _.uL)f=JSON.parse(f),c instanceof _.He&&_.zM(c)?d=new _.BN(f):d=new _.OB(f);else if(c instanceof _.jp||c instanceof _.rp)d=new _.AN,DXc(d,function(h){return new _.zl(JSON.parse(h))},f);else if(c instanceof _.DG)d=new _.EN(new GO(JSON.parse(f)),b[e++],b[e++],b[e++]);else if(c instanceof
_.Ap)d=new _.IOc(new gP(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.QM&&c instanceof _.QM)d=new _.CN(JSON.parse(f));else if(c instanceof _.qp)d=new JO(JSON.parse(f));else throw Error("og");}d&&(b&&"boolean"===typeof b[e]&&q0c(this.V,a.Xi(),!!b[e]),t0c(this.V,a.Xi(),d),a.update(d))}};
var Qcd=function(a,b){aQ.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.N(Qcd,aQ);_.g=Qcd.prototype;_.g.Na=function(){return _.D(this.H.H,_.$Kc,58)};_.g.getContext=function(){return this.H};_.g.tSa=function(){return this.send("5.4",[this.V],function(a){return new nWc(JSON.parse(a[0]))})};_.g.via=function(){return this.H.ha};_.g.bS=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.zl(b)})};
_.g.Zxa=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 _.ZJc(a[c]));return b})};_.g.ima=function(a,b,c){return this.send("5.8",[a.Cc(),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 _.zl(e[k]));return{items:h,uJa:f,pageToken:d}})};_.g.M_a=function(){this.send("5.9",[])};_.g.EIa=function(){this.send("5.1",[])};_.g.K4=function(){return _.DKc[_.qk(this.H.H.Sf(),8,0)]};
_.g.uDa=function(){this.send("5.6",[])};_.g.wia=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 o0c(a[e]));return{traceId:new U2c(b,c),spanRecs:d}})};_.g.uSa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new U2c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.KZa=function(){this.send("5.11",[])};
_.g.Dm=function(a){this.send("5.13",[a])};
var Rcd=function(a,b){aQ.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.Vb=b;this.Sc=String(_.Da(this));this.H=null};_.N(Rcd,aQ);Rcd.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.Vb.Cc()],function(b){return new D5c(JSON.parse(b[0]))},this.Sc).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};Rcd.prototype.cancel=function(){this.send("9.2",[this.Vb.Cc()],void 0,this.Sc)};
Rcd.prototype.oga=function(a,b){this.dispatchEvent(new P5c(b[0],b[1]))};
var Scd=function(a){aQ.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.N(Scd,aQ);Scd.prototype.W=function(a){if(this.H=a){a=this.ha.bind(this);var b=this.V.bind(this);this.log("Querying all offline items.");this.H.H().hg(a,b);this.H.V((0,_.v)(this.ka,this))}else this.send("6.3",[])};Scd.prototype.ha=function(a){var b=[];_.La(a,function(c){b.push(c.Cc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};Scd.prototype.V=function(){this.log("Error fetching offline items.")};
Scd.prototype.ka=function(a){var b=[];_.La(a,function(c){b.push(c.Cc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var Tcd=function(a,b){nP.call(this,a,b)};_.N(Tcd,nP);Tcd.prototype.Pca=function(a,b,c){return new _.ILc(a,c)};Tcd.prototype.pfa=function(a){return a.pageToken||""};Tcd.prototype.Eea=function(a){return a.response.V()};Tcd.prototype.X7=function(){};
var Ucd=function(a,b,c){GP.call(this,a.ma,a.ta,b.li()||void 0);this.Vb=b;this.W=[];this.V=!1;this.ma=c;this.ka=new Tcd(this.Vb,this.ma)};_.N(Ucd,GP);_.g=Ucd.prototype;_.g.ME=function(){oP(this.ka).then(this.uqb.bind(this),this.handleError.bind(this))};_.g.getData=function(){return j5c(new DP,this.W).Gc(this.status)};_.g.Tq=function(){return new h5c};_.g.Bk=function(){return!this.kf()&&(!this.H||b2c(this.ka))};_.g.uqb=function(a){this.V=this.H=!0;this.W=a;this.zs()};
_.g.zs=function(){if(this.active){var a=this.status;this.fL();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.xi(_.Gc,this))}};_.g.wc=function(){return this.W.length};
var Vcd=function(a,b,c){GP.call(this,a.ma,a.ta,b.li()||10);this.Vb=b;this.Ba=c;this.ka=[];this.V=[];this.W=!1;this.Ea=new _.YN;this.ma=null};_.N(Vcd,GP);_.g=Vcd.prototype;_.g.ME=function(){var a=this;this.Ba(this.Vb).then(function(b){a.H=!0;a.W=!0;a.V=b.yk();a.ma=b.Af();a.zs()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.kSc(_.jSc((new _.eO).Gc(this.status),this.V.slice(0)),this.ma)};
_.g.Tq=function(){var a=_.XN(this.Ea,this.ka,this.V);this.ka=this.V;var b=(new n5c).Gc(this.status);return _.jb(b,2,a)};_.g.rM=function(){};_.g.zs=function(){var a=this.status;this.fL();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.xi(_.Gc,this))};_.g.wc=function(){return this.V.length};
var Wcd=function(){};_.g=Wcd.prototype;_.g.sJ=function(a,b){b=v5c(1).setPosition(b);_.y(b,2,a);return b};_.g.qJ=function(a,b){b=v5c(2).setPosition(b);_.y(b,2,a);return b};_.g.pP=function(a,b,c){b=v5c(3).nx(b).setPosition(c);_.y(b,2,a);return b};_.g.nN=function(a,b){b=v5c(4).setPosition(b);_.y(b,2,a);return b};_.g.VJ=function(a){return _.D(a,_.TO,2)};
var Ycd=function(){_.WN.call(this,new Wcd,function(a){return Xcd(a)})};_.N(Ycd,_.WN);var Xcd=function(a){switch(_.mk(a,JZc[0])){case 6:return _.Ly(_.D(a,_.Ky,6)).getTime().toString();case 7:var b=_.D(a,_.SO,7);a=_.D(b,_.Ky,1);b=b.vq();return a&&b?(a=_.Ly(a).getTime(),_.Ly(b).getTime()+"--"+a):"";default:return""}};_.nf(Ycd);
var eQ=function(a,b,c,d){GP.call(this,b.ma,b.ta,d);this.Vb=a;this.W=!1;this.Ba=[];this.V=[];this.ma="";this.Ea=new _.fPc(_.rk(b.H.Sf(),6,1E3));this.ka=!1;this.Ia=c};_.N(eQ,GP);_.g=eQ.prototype;_.g.activate=function(){GP.prototype.activate.call(this);this.zs()};_.g.ME=function(){this.Vb.JMa()?Zcd(this):this.Ka()};_.g.Cq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;GP.prototype.Cq.call(this,a)};
_.g.getData=function(){var a=(new z5c).Gc(this.status);_.jb(a,2,this.V.slice(0,this.limit));this.Ba=_.xa(this.V);return a};_.g.Tq=function(){var a=_.XN(Ycd.Kb(),this.Ba,this.V),b=new x5c;a=_.jb(b,2,a).Gc(this.status);this.Ba=_.xa(this.V);return a};_.g.Bk=function(){return!this.kf()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.Ad=function(){return this.Vb};_.g.wSa=function(a){this.dispatchEvent(new _.Tb(a));this.W=!1};
_.g.Aib=function(a,b){this.H=!0;var c=_.Jk(b,_.TO,1);this.V=this.V.concat(c);this.ma=b.Jw()||"";0<c.length&&(this.ka=!0);this.zs();Zcd(this,a)};_.g.Rib=function(a){Ycd.Kb();this.H=!0;var b=_.Jk(a,_.TO,1);yO(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.Jw()||"",this.ka=!0,this.zs(),Zcd(this)):(this.W=!1,$cd(this))};var Zcd=function(a,b){a.active?(a.W=!0,a.Bk()&&a.V.length<a.limit?a.Ia(a.Vb,a.limit-a.V.length,a.ma).hg(_.Wa(a.Aib,b),a.wSa,a):(a.W=!1,b&&b.callback(),$cd(a))):a.W=!1};
eQ.prototype.Ka=function(){this.active&&(this.W=!0,this.Ia(this.Vb,this.limit).hg(this.Rib,this.wSa,this))};eQ.prototype.zs=function(){if(this.active){var a=this.status;this.fL();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.xi(_.Gc,this))}};eQ.prototype.fL=function(){this.kf()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};eQ.prototype.rM=function(){this.active&&this.Bk()&&!this.W&&Zcd(this,new _.li)};
var $cd=function(a){a.Vb.JMa()||(_.JH(a.Ea),_.q.setTimeout((0,_.v)(a.Ka,a),a.Ea.hb()))};eQ.prototype.wc=function(){return this.V.length};
var add=function(){};_.g=add.prototype;_.g.sJ=function(a,b){return B5c(A5c(1),a).setPosition(b)};_.g.qJ=function(a,b){return B5c(A5c(2).setPosition(b),a)};_.g.pP=function(a,b,c){return B5c(A5c(3).nx(b).setPosition(c),a)};_.g.nN=function(a,b){return B5c(A5c(4),a).setPosition(b)};_.g.VJ=function(a){return a.nz()};
var bdd=function(){_.WN.call(this,new add,function(a){return a.getId()})};_.N(bdd,_.WN);_.nf(bdd);
var cdd=function(a,b,c){GP.call(this,b.ma,b.ta);this.Vb=a;this.ma=[];this.V=[];this.W=new _.fPc(_.rk(b.H.Sf(),54,1E3));this.ka=!1;this.Ba=c};_.N(cdd,GP);_.g=cdd.prototype;_.g.activate=function(){GP.prototype.activate.call(this);this.zs()};_.g.ME=function(){this.poll()};_.g.getData=function(){var a=new J5c;a=_.jb(a,2,this.V).Gc(this.status);this.ma=_.xa(this.V);return a};_.g.Tq=function(){var a=_.XN(bdd.Kb(),this.ma,this.V),b=new H5c;a=_.jb(b,2,a).Gc(this.status);this.ma=_.xa(this.V);return a};
_.g.Bk=function(){return!this.kf()&&!this.H};_.g.poll=function(){var a=new _.li;this.Ba(this.Vb).hg(_.Wa(this.wqb,a),_.Wa(this.vqb,a),this);return a};_.g.vqb=function(a,b){this.dispatchEvent(new _.Tb(b));a.Vd(b);ddd(this)};_.g.wqb=function(a,b){this.H=!0;b=_.Jk(b,_.K4c,2);yO(bdd.Kb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.zs();a.callback();ddd(this)};_.g.zs=function(){if(this.active){var a=this.status;this.fL();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.xi(_.Gc,this))}};
_.g.rM=function(){};var ddd=function(a){a.active&&(_.q.setTimeout((0,_.v)(a.poll,a),a.W.hb()),_.JH(a.W))};cdd.prototype.wc=function(){return this.V.length};
var edd=function(){};_.g=edd.prototype;_.g.sJ=function(a,b){return T4c(S4c(1),a).setPosition(b)};_.g.qJ=function(a,b){return T4c(S4c(2).setPosition(b),a)};_.g.pP=function(a,b,c){return T4c(S4c(3).nx(b).setPosition(c),a)};_.g.nN=function(a,b){return T4c(S4c(4),a).setPosition(b)};_.g.VJ=function(a){return a.D5()};
var fdd=function(){_.WN.call(this,new edd,function(a){return a.getId()})};_.N(fdd,_.WN);_.nf(fdd);
var gdd=function(a,b,c){_.Hi.call(this);this.ma=a;this.Vb=b;this.H="";this.V=this.W=!1;this.ha=0;this.Qv=[];this.ta=c};_.N(gdd,_.Hi);gdd.prototype.Ei=function(a){this.ha=a};var idd=function(a){return a.V||a.W&&""==a.H?Promise.resolve():hdd(a)};gdd.prototype.rfa=function(){return this.Qv};var hdd=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.Qv.length,100);var c=new _.EM;c=_.y(c,3,a.Vb);c=_.B(c,2,a.H);b=_.B(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.va.bind(a))};
gdd.prototype.ka=function(a){this.V=!1;this.H=a.oo()||"";a=a.Xq().mO();this.Qv=_.wa(this.Qv,a);a.length&&this.dispatchEvent("Cb");if(this.H&&this.Qv.length<this.ha)return hdd(this);this.dispatchEvent("Fb")};gdd.prototype.va=function(a){this.V=!1;a=new eP(_.OL(a),_.rk(this.ma.H.Sf(),1,1));this.dispatchEvent(a)};
var jdd=function(a,b,c,d){GP.call(this,b.ma,b.ta,d||100);var e=this;this.Ba=b;this.Vb=a;this.ma=[];this.Qv=[];this.ka=!1;this.W=null;this.Ea=c;this.V=new gdd(b,this.Vb,this.Ea);_.Yd(this,function(){e.W&&(_.q.clearTimeout(e.W),e.W=null)})};_.N(jdd,GP);_.g=jdd.prototype;_.g.activate=function(){GP.prototype.activate.call(this);this.zs()};_.g.ME=function(){this.xSa()};_.g.Cq=function(a){GP.prototype.Cq.call(this,a||100)};
_.g.getData=function(){var a=new CWc;a=_.jb(a,2,this.Qv.slice(0,this.limit)).Gc(this.status);this.ma=_.xa(this.Qv);return a};_.g.Tq=function(){var a=_.XN(fdd.Kb(),this.ma,this.Qv),b=new $4c;a=_.jb(b,2,a).Gc(this.status);this.ma=_.xa(this.Qv);return a};_.g.Bk=function(){var a;(a=!this.kf())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.Ad=function(){return this.Vb};
_.g.xSa=function(){var a=this;this.V=new gdd(this.Ba,this.Vb,this.Ea);this.V.Ei(this.limit);return idd(this.V).then(function(){return kdd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){GP.prototype.handleError.call(this,a);ldd(this)};var kdd=function(a){a.H=!0;var b=a.V.rfa();yO(fdd.Kb(),a.Qv,b)&&(a.ka=!0,a.Qv=b);a.zs();ldd(a)};jdd.prototype.zs=function(){if(this.active){var a=this.status;this.fL();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.xi(_.Gc,this))}};
jdd.prototype.rM=function(){var a=this;this.V.Ei(this.limit);idd(this.V).then(function(){return kdd(a)},function(b){return a.handleError(b)})};var ldd=function(a){if(a.active){var b=a.Ba.H.Sf();a.W=_.q.setTimeout((0,_.v)(a.xSa,a),Math.ceil(_.rk(b,7,9E5)*Math.random())+_.rk(b,15,36E5))}};jdd.prototype.wc=function(){return this.Qv.length};var mdd=function(a){6!=a.status&&_.q.setTimeout(function(){a.dispatchEvent(new _.xi(_.Gc,a))},0)};
var ndd=function(a,b){aQ.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.Vb=b;this.Sc=String(_.Da(this));this.H=null};_.N(ndd,aQ);ndd.prototype.ha=function(){var a=this;this.H||(this.H=_.ii(),this.send("10.1",[this.Vb.Cc()],function(b){a.H.resolve(b[0])},this.Sc).$e(function(b){a.H.reject(b)}));return this.H.promise};ndd.prototype.cancel=function(){this.send("10.2",[this.Vb.Cc()],void 0,this.Sc)};
var odd=function(a,b,c,d,e,f,h){_.VN.call(this,a,b,c,d,f,h);this.V=e;this.oe=null};_.N(odd,_.VN);odd.prototype.eya=function(a,b){var c=this;return _.ri(this.V.then(function(d){return d.V(oSc(c.W,c.Qa,a,b,c.H,c.ta))},null))};odd.prototype.Ea=function(a,b){var c=this.Ad(a);if(c){var d=0;if(c.file){var e=c.request&&_.D(c.request,_.fNc,15);e&&(d=_.C(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.APc(a,b,d))}};
var pdd=function(a,b){aQ.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Sc=String(_.Da(this));this.H={};this.V={};_.Yd(this,(0,_.v)(this.k9a,this))};_.N(pdd,aQ);_.g=pdd.prototype;_.g.rX=function(){return _.Sg()};
_.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 _.fNc;_.B(d,1,b.size);_.y(a,15,d);d=_.Sg();this.V[_.oN(a)]=b}return this.send("7.1",[this.Sc,a.Cc(),c],function(e){return new _.UM(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Sc,a])};_.g.ESa=function(){this.send("7.3",[this.Sc])};
_.g.retry=function(a){var b={};_.La(a,function(d){b[d]=new _.li});var c=this.rX();this.H[c]=b;this.send("7.4",[this.Sc,c,a]);return _.Rc(b)};_.g.eya=function(a,b){var c=this;return this.send("7.5",[this.Sc,a,b],function(d){return l0c(d[0])}).addCallback(function(d){return _.ri(c.W.then(function(e){return e.V(d)}))})};_.g.k9a=function(){this.send("7.6",[this.Sc])};
_.g.oga=function(a,b){if(b)switch(_.Tg(a)){case 3:a=b[0];var c=b[1];b=b[2];b=Math.min(b,1073741824);var d=this.V[a];this.send("7.7",[a,_.lLc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.UM(JSON.parse(b[2]));qdd(this,b[0],b[1],a);break;case 1:a=new _.Rb(void 0,new _.Qb(JSON.parse(b[2])));qdd(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.APc(b[0],b[1],b[2]));break;default:throw Error("pg");}};
var qdd=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.UM?e.callback(d):e.Vd(d);delete a.H[b][c];_.Yf(a.H[b])&&delete a.H[b]}};
var rdd=function(a,b){if(0==a.length)throw new _.Rb("mutateUserPref requires a namespace.",_.$L(3));if("undefined"!=typeof _.JD&&b instanceof _.JD)var c=(b=(b=b.V())&&b.getKey())&&_.op(b)||null;else"undefined"!=typeof _.ID&&b instanceof _.ID&&(c=(b=b.getKey())&&_.op(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.Rb("mutateUserPref unsupported for namespace: "+c,_.$L(3));};
var sdd=function(a){this.H=a};
var qO=function(a,b){var c=_.ii();aQ.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.va=c;this.H=a;qcd(this.H,new Scd(c.promise));this.Ea=b;rWc(this.Ea,_.Dd(this.H.H,28));this.uc=ZSc(_.xN(this.Ea));this.V=a.ah;this.W=new bQ(c.promise,a,this.V);this.Ma=new Qcd(c.promise,a);w4c(this.Ma);this.Ab=!1;this.Ia=_.bi(this.Ba);this.ta=this.Cb=!1;this.Ka=new _.he(this);this.Oa(this.Ka);this.rb=!1;this.Lb=_.ii();this.ab=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.ta,[].concat(_.Pc(Object.values(YZc))),
function(e){return void d.dispatchEvent(e)})};_.N(qO,aQ);qO.prototype.initialize=function(){var a=this,b=_.D(this.H.H,qVc,66);if(this.Ab)return this.Ia;if(!b||!_.C(b,1))return b=new _.Rb("Dataservice URL not provided."),this.Ba.Vd(b),this.Ia;var c=this.H.zm().V(106E3);this.Ab=!0;var d=_.kN(this.H.H)?"(coldstart) ":"";this.H.ha.info("drive.ds.sync.ItemServiceProxy","Initializing "+d+"with client build: "+this.H.H.Ii());tdd(this,b);this.Ia.then(function(){c.H();a.OVa()});return this.Ia};
var tdd=function(a,b){var c=udd(a),d=!0,e=_.C(b,5)||"";if(_.MKc(window.location.href,c.toString())&&e){d=!1;c=XSc(e,vdd(a),a.uc,_.C(b,6));var f=new i0c(c,!1)}else b=wdd(c.toString()),c=_.iIc(c.V,void 0,c.H,c.ha),f=new i0c(g0c(window.frames[b],c.toString()),!1);xdd(a,f,d);a.H.ha.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();ocd(a.H,function(){return ydd(f)})},ydd=function(a){return _.fi([new _.ai(function(b){a.isDisposed()||j0c(a,"8.1",void 0,function(){a.dispose();b()})}),
_.Li(1E4)])},udd=function(a){var b=new _.xj(_.C(_.D(a.H.H,qVc,66),1));var c=new _.xj(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Qj(d,3);_.Fj(b,"co",c);c=b.Me();!_.kN(a.H.H)&&0<_.PL(_.EL(a.H.H))&&(a=_.PL(_.EL(a.H.H)),c+="u/"+a+"/");b.Qi(c+"_/dataservice/cacheproxy");return b},wdd=function(a){var b="cpiframe_"+_.Sg();a=_.zh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.kg(_.LKc(_.Df("display: none;")));document.body.appendChild(a);return b},xdd=function(a,b,c){if(c)b.registerService("2.0",
(0,_.v)(a.zc,a));else{var d=function(){var e=new _.pcb(document),f={};f.__SAPISID=e.get("SAPISID")||e.get("__Secure-3PAPISID");f.__APISID=e.get("APISID")||e.get("__Secure-APISID");return{ac:f,bl:a.H.H.Ii(),ufds:a.uc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}j0c(b,"8.4",{dsc:a.H.H.Cc()});zdd(b);Add(a,b);cP(b,"2.1",function(){return{dsc:a.H.H.Cc()}});cP(b,"2.2",function(e){"number"===typeof e.id?(a.va.resolve(new Ocd(e.id,b,a.H.ha,e.clients)),e.dsp&&zdd(b),e.ivd&&Add(a,b)):
(e=new _.Qb(JSON.parse(e.err)),a.Ba.Vd(new _.Rb("Unable to initialize dataservice.",e)))});cP(b,"2.15",function(e){a.dispatchEvent(new O5c(e.dt))});cP(b,"2.5",function(e){C6c(a.H,e.id)});cP(b,"2.6",function(e){a.H.ma.Dm(e.os)});cP(b,"2.18",function(e){a.H.ma.H=e.oois});cP(b,"2.7",function(){a.ta=!1});cP(b,"2.8",function(e){a.H.xr=e.au;a.dispatchEvent(new QWc(e.au?"eb":"fb"))});cP(b,"2.19",function(e){a.H.ta.update(e.cs)});cP(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.My("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.ha.config(f,e);break;case "fine":_.qN(a.H.ha,f,e,"fine");break;case "finer":_.qN(a.H.ha,f,e,"finer");break;case "finest":_.qN(a.H.ha,f,e,"finest");break;case "info":a.H.ha.info(f,e);break;case "warning":case "severe":oWc(a.H.ha,f,e);break;default:oWc(a.H.ha,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),oWc(a.H.ha,f,e)}});cP(b,"2.10",function(e){a.dispatchEvent(new _.Tb(new _.Rb(void 0,new _.Qb(JSON.parse(e.p)))))});cP(b,"2.12",function(){a.ab=!0;
fQ(a)});cP(b,"2.14",function(){return a.Lb.resolve()});cP(b,"2.16",function(){return a.Cb=!0});cP(b,"2.17",function(e){a.H.ha.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},zdd=function(a){_.q._DRIVE_dsp&&j0c(a,"8.3",{dsp:Bdd(_.q._DRIVE_dsp)});_.q._DRIVE_dspc=function(b){if(_.q._DRIVE_dsp){var c=[];c[b]=_.q._DRIVE_dsp[b];j0c(a,"8.3",{dsp:Bdd(c)})}}},Add=function(a,b){_.F(a.H.H,24,!1)&&(_.q._DRIVE_ivd?j0c(b,"8.2",{ivd:_.q._DRIVE_ivd}):void 0===_.q._DRIVE_ivd&&
(_.q._DRIVE_ivdc=function(){_.q._DRIVE_ivd&&j0c(b,"8.2",{ivd:_.q._DRIVE_ivd})}))};qO.prototype.zc=function(){return{uid:vdd(this),fds:_.xN(this.Ea)}};var vdd=function(a){a=_.YL(_.YL(_.XL(_.Pk(a.H.H),28),44),91);var b=new _.tL;b.update(_.iN(_.EL(a)));b.update(String(_.PL(_.EL(a))));b.update(a.Cc());return _.mIc(b.digest())},Bdd=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=qO.prototype;
_.g.query=function(a){fQ(this);y_c(this.H.va,a,pWc(this.Ea));this.cU();var b=this.W.fqa(a);this.rb||(a=a.Ae(),a&&121==_.C(a,1)||(this.rb=!0,this.Ka.listen(b,_.Gc,this.vSa)));return b};_.g.vSa=function(a){a=a.currentTarget;1==a.Jb()&&(this.Ma.V=this.Cb,this.Ka.Yc(a,_.Gc,this.vSa))};_.g.Fr=function(a){fQ(this);w_c(a);this.cU();return this.W.cqa(a)};
_.g.koa=function(a,b){var c=this;fQ(this);if(this.ma&&_.Ok(this.ma.Ad(),a))return this.ma;var d=(0,_.v)(qO.prototype.Zbb,this);this.ma=new eQ(_.Pk(a),this.H,d,b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.Zbb=function(a,b,c){return this.send("3.17",[a.Cc(),b,c],function(d){return new XZc(JSON.parse(d[0]))})};
_.g.rAa=function(a,b){var c=this;fQ(this);if(this.ka&&_.Ok(this.ka.Ad(),a))return mdd(this.ka),this.ka;var d=(0,_.v)(qO.prototype.acb,this);this.ka=new jdd(a,this.H,d,b);_.q.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.acb=function(a){return this.send("3.18",[a.Cc()],function(b){return new a5c(JSON.parse(b[0]))})};_.g.uva=function(a){fQ(this);return this.send("3.14",[a.Cc()],function(b){return new CP(JSON.parse(b[0]))})};_.g.Oqa=function(a){fQ(this);return this.send("3.15",[a.Cc()],function(b){return new CP(JSON.parse(b[0]))})};
_.g.Bd=function(a){fQ(this);!this.ta&&_.VM(a)&&(this.ta=!0);a=aTc(a);return this.send("3.3",[a.Cc()],function(b){if(!_.dd(b))return new _.UM(JSON.parse(b[0]))})};_.g.mU=function(a){fQ(this);a=jTc(a);return this.send("3.35",[a.Cc()],function(b){return new PWc(JSON.parse(b[0]))}).then()};
_.g.eC=function(a){fQ(this);for(var b=0;b<a.length;b++)!this.ta&&_.VM(a[b])&&(this.ta=!0);a=dTc(a);return this.send("3.4",[a.Cc()],function(c){var d={};c=JSON.parse(c[0]);_.Rf(c[0],function(e,f){d[f]=new _.UM(JSON.parse(e))});_.Rf(c[1],function(e,f){e=new _.Qb(JSON.parse(e));d[f]=_.aM(e)});return d})};_.g.bqa=function(){fQ(this);return new pdd(this.va.promise,this.H.uc)};_.g.ZIa=function(a){fQ(this);return new Rcd(this.va.promise,a)};
_.g.Qq=function(a,b){var c=this;fQ(this);var d=_.Rg();this.V.create(d,a);return this.send("3.5",[a.Cc(),!!b],function(e){e=JSON.parse(e);var f=new fP(JSON.parse(e[0]));return new _.DN(f,e[1],e[2])}).addCallback(function(e){u0c(c.V,d,e);return e.response}).$e(function(e){dP(c.V,d);return e})};_.g.Gr=function(a){fQ(this);return this.send("3.10",[a.Cc()],function(b){return new Y4c(JSON.parse(b[0]))})};_.g.wva=function(a){fQ(this);return this.send("3.11",[a.Cc()],function(b){return new b5c(JSON.parse(b[0]))})};
_.g.Kqa=function(a){fQ(this);return this.send("3.12",[a.Cc()],function(b){return new b5c(JSON.parse(b[0]))})};_.g.uia=function(a){fQ(this);return this.send("3.13",[a.Cc()],function(b){return new b5c(JSON.parse(b[0]))})};
_.g.FS=function(a,b){var c=this;fQ(this);var d=_.Rg();this.V.create(d,a);return this.send("3.1",[a.Cc(),!!b],function(e){e=JSON.parse(e);var f=new _.EP(JSON.parse(e[0]));return new _.GN(f,e[1],e[2])}).addCallback(function(e){u0c(c.V,d,e);return e.response}).$e(function(e){dP(c.V,d);return e})};
_.g.qK=function(a,b){var c=this,d=_.Dd(this.H.H.Sf(),30);if(!d||0==d.length)return _.si(new _.Rb("getUserPrefs requires a namespace.",_.$L(3)));fQ(this);var e=_.Rg();this.V.create(e,a);return this.send("3.2",[a.Cc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.pp(JSON.parse(f[0]));return new _.FN(h,f[1],f[2])}).addCallback(function(f){u0c(c.V,e,f);return f.response}).$e(function(f){dP(c.V,e);return f})};
_.g.Wxa=function(a){fQ(this);rdd(_.Dd(this.H.H.Sf(),30),a);a=gTc(a);return this.send("3.6",[a.Cc()],function(b){return new c5c(JSON.parse(b[0]))})};_.g.Txa=function(a){fQ(this);return this.send("3.16",[a.Cc()],function(b){return new EWc(JSON.parse(b[0]))})};_.g.Vxa=function(){return this.ta};_.g.Dm=function(a){fQ(this);this.send("3.8",[a])};_.g.tia=function(a){fQ(this);this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.Yxa=function(a){fQ(this);pcd(this.H).W(a);this.tia(!!a)};
_.g.cU=function(){fQ(this);this.send("3.9",[])};_.g.oSa=function(){fQ(this);this.send("3.41",[]);B6c(this.H);var a=yWc(this.H.zm(),106006);a&&this.va.promise.then(function(b){var c=_.D(_.yN(a),eWc,6);if(!c){c=new eWc;var d=_.yN(a);_.y(d,6,c)}c=_.B(c,1,b.clientId);_.B(c,2,b.V);a.H()},function(){})};_.g.sia=function(){fQ(this);return this.H.wr()};_.g.Sxa=function(){fQ(this);return Cdd(this.send("3.19",[],function(a){return new F0c(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.ta.isConnected()};
_.g.b5=function(){return this.Ma};_.g.sync=function(){fQ(this);return this.send("3.28",[]).then()};_.g.ox=function(){return this.H.ox()};_.g.Xxa=function(){};_.g.Xla=function(a){fQ(this);return this.W.mqa(a)};_.g.P0=function(a){fQ(this);return this.W.lqa(a)};_.g.nAa=function(a){fQ(this);B_c(this.H.va,a,pWc(this.Ea));return this.W.iqa(a)};_.g.eEa=function(a){fQ(this);return new ndd(this.va.promise,a)};
_.g.dpa=function(a){fQ(this);if(!this.ha||this.ha.isDisposed()){var b=qO.prototype.$bb.bind(this);this.ha=new cdd(a,this.H,b)}return this.ha};_.g.$bb=function(a){return this.send("3.20",[a.Cc()],function(b){return new J5c(JSON.parse(b[0]))})};_.g.jBa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.bi()};_.g.mS=function(a){fQ(this);return this.send("3.25",[a.Cc()],function(b){return new F5c(JSON.parse(b[0]))})};_.g.Lqa=function(a){fQ(this);return this.send("3.22",[a.Cc()],function(){return new K5c})};
_.g.mza=function(){return this.Lb.promise};_.g.uVa=function(a){var b=_.ii();this.send("3.30",[a.Cc()],function(c){c[0]?b.resolve(new M5c(JSON.parse(c[0]))):b.reject(new _.Qb(JSON.parse(c[1])))}).$e(function(c){return b.reject(c)});return b.promise};_.g.Epa=function(a){fQ(this);return this.W.$pa(a)};_.g.Hpa=function(a){fQ(this);return this.send("3.42",[a.Cc()],function(b){return new MXc(JSON.parse(b[0]))}).then()};
_.g.f1=function(a){fQ(this);var b=new _.mo;this.send("3.39",[a.Cc()],function(c){return JSON.parse(c).map(function(d){return new C0c(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new sdd(b.promise))};_.g.UAa=function(a){var b=this;fQ(this);return new Ucd(this.H,a,function(c){return b.send("3.37",[c.request.Cc(),c.pageToken],function(d){d=JSON.parse(d);return new h_c(new DP(JSON.parse(d[0])),d[1])}).then()})};
_.g.gka=function(a){fQ(this);return this.send("3.38",[a.Cc()],function(b){return new k5c(JSON.parse(b[0]))}).then()};_.g.BFa=function(a){fQ(this);return this.W.pqa(a)};_.g.Ima=function(a){fQ(this);return this.W.oqa(a)};_.g.YDa=function(a){var b=this;fQ(this);return new Vcd(this.H,a,function(){return b.send("3.40",[a.Cc()],function(c){return new _.eO(JSON.parse(c[0]))}).then()})};_.g.Qla=function(a){fQ(this);return this.W.jqa(a)};_.g.Rxa=function(a){fQ(this);this.send("3.43",[a.Cc()])};
_.g.Rca=function(a){fQ(this);return this.send("3.44",[a.Cc()],function(){return new KWc}).then()};_.g.Uxa=function(a){fQ(this);if(1!=_.jN(this.H.H))return Promise.reject(Error("qg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Rc())return Promise.reject(Error("rg"));if(!c.Wj()&&!c.getItem())return Promise.reject(Error("sg"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Cc()})]))};
_.g.OVa=function(){var a=this,b=[_.Li(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.fi(b).then(function(c){c?_.Ji(a.OVa.bind(a),6E4):(a.ab=!0,fQ(a))})};var fQ=function(a){a.ab&&a.dispatchEvent(new p6c)},RTc=function(a){if(_.F(a,61,!1)&&_.q.SharedWorker)if(_.D(a,qVc,66)){if(_.ZL(_.EL(a))||_.kN(a)&&!_.F(a,52,!1))return!1}else return!1;else return!1;return!0},Cdd=function(a){var b=_.ii();a.hg(b.resolve,b.reject,b);return b.promise};
var gQ=function(){_.Hi.call(this);this.ha=new _.Am;this.va=this.Ka=this.Ma=!1};_.N(gQ,_.Hi);gQ.prototype.initialize=function(){this.Ma||(this.Ma=!0,this.ma(),this.setActive(!0))};gQ.prototype.ma=function(){};gQ.prototype.setActive=function(a){this.Ka=a;Ddd(this)};var Ddd=function(a){if(a.Ka&&!a.va){var b=_.Bm(a.ha);if(b)if(a.Qa()){do a.Ba(b);while(b=_.Bm(a.ha))}else a.va=!0,_.ji(a.Wa(b),function(){a.va=!1;Ddd(a)})}};gQ.prototype.Ba=function(){};gQ.prototype.Wa=function(){};gQ.prototype.Qa=function(){return!0};
gQ.prototype.enqueue=function(a){try{var b=new _.li;this.ha.enqueue(new Edd(a,b));Ddd(this);return b}catch(c){return _.si(_.aM(c))}};var Edd=function(a,b){this.V=a;this.H=b};Edd.prototype.getCommand=function(){return this.V};
var Hdd=function(a){gQ.call(this);var b=this;this.H=a;this.ka=new _.he(this);this.Oa(this.ka);this.ka.listen(this.H,"VMiG2e",function(){return void Fdd(b)});this.V=this.H.W.ka;_.GL(this.H.H)&&this.ka.listen(this.V,"Kb",this.ta);this.W=null;var c=a.ka;XO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!=_.qk(a.H.Sf(),17,1)&&(d.push("iuEtc"),XO(c,["mrK8ic"],function(){YO(c,"iuEtc")}));XO(c,d,function(){return Gdd(b)})};_.N(Hdd,gQ);Hdd.prototype.ma=function(){Idd(this)};
var Gdd=function(a){if(1==a.H.Cb.Dg().Jb())return Promise.resolve();var b=_.Te(_.Ue(new _.Se,!0),301);b=_.DL(new _.CL,b);return Jdd(a,b).then(null,function(c){c=_.OL(c);_.B(c,21,"Initial account request failed.");a.H.Lb(c)})},Fdd=function(a){var b=_.Te(new _.Se,304);b=_.DL(new _.CL,b);Jdd(a,b).then(null,function(){})},Jdd=function(a,b,c){a.W||(a.W=_.ji(a.H.Ba().then(function(d){return d.H(b,c)}).then(function(d){var e=d.Dg(),f=e.getUser();if(f&&0==_.H(f,7))d=_.PL(_.EL(a.H.H)),d=Error("tg`"+d+"`"+
_.CG(f)),_.Ta(d),_.QOc(a.H.zm(),73301807),d=Promise.reject(d);else{f=a.H.Cb;var h=0==f.ef()?1:6;_.GL(a.H.H)&&I1c(a.V,e);h=F6c(f,e,h);(e=e.getMetadata())&&C6c(a.H,_.C(e,2),1);(d=_.C(d,4))&&z7c(a.H,d,!0);h&&a.dispatchEvent(new _.xi("WPi0i"));d=Promise.resolve(new _.GN(f.Dg(),f.ef(),!1))}return d}).then(function(d){return d},function(d){d=_.OL(d);_.B(d,5,1);return Promise.reject(new _.Rb("Error fetching account from server.",d))}),function(){a.W=null}));return a.W};
Hdd.prototype.Ba=function(a){var b=a.getCommand();if(b.Hcb){var c={};b.EU&&(c.Nja=b.EU);Jdd(this,b.Vb,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Vd(e)})}else if(b=this.H.Cb,c=b.Dg(),_.GL(this.H.H)){c=c.Dg();var d=c.getUser();d=M1c(this.V,_.CG(d));I1c(this.V,c);F6c(b,c,b.ef())&&this.dispatchEvent(new _.xi("WPi0i"));a.H.callback(new _.GN(b.Dg(),b.ef(),d))}else c.Jb(),b=new _.GN(c,b.ef(),!0),a.H.callback(b)};
var Idd=function(a){var b=a.H.H.Sf();_.q.setTimeout(function(){var c=_.Te(new _.Se,306);c=_.DL(new _.CL,c);Jdd(a,c).then(function(){return Idd(a)},function(){return Idd(a)})},Math.ceil(_.rk(b,7,9E5)*Math.random())+_.rk(b,3,72E5))};Hdd.prototype.ta=function(a){var b=this.H.Cb,c=b.Dg().Dg();c&&a.getPeople().find(function(d){return _.C(d,1)==_.CG(c.getUser())})&&(I1c(this.V,c),F6c(b,c,b.ef())&&this.dispatchEvent(new _.xi("WPi0i")))};var Kdd=function(a,b){this.Vb=a;this.Hcb=!!b;this.EU=null};
var Mdd=function(a){gQ.call(this);this.H=a;this.he=new _.he(this);this.Oa(this.he);this.he.listen(this.H.Qc,"Qb",_.Wa(this.dispatchEvent,new _.xi("Qb",this)));this.Ia=this.ka=!1;this.W=null;this.V=1;this.Ea=0;this.ta=null;Ldd(this)};_.N(Mdd,gQ);
var Ldd=function(a){var b=a.H.ka;XO(b,["nVUlO"],function(){a.Ia=!0;a.setActive(!0)});if(!_.kN(a.H.H)){var c=_.qk(a.H.H.Sf(),18,1);XO(b,["NSockf"],function(){1==c?Ndd(a):a.setActive(!0)});2==c&&XO(b,["mrK8ic"],function(){a.ka||Ndd(a)})}},Ndd=function(a){var b=new _.Se;_.Ue(b,!0);_.Te(b,301);var c=new _.CM;_.kWc(c,b);_.B(c,1,1);Odd(a,c).qg(function(){return null})},Odd=function(a,b,c){_.q.clearTimeout(a.Ea);a.Ea=0;var d=_.ii();a.W=d.promise;_.ji(a.W,function(){a.W=null;Pdd(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.CM;_.B(h,1,a.V);_.kWc(h,b.Ae());a.H.Ba().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.Qc;l.aya(k,l.eB()?6:1);d.resolve()},function(k){a.V=e;k=_.bM(k);var l=k.kh;_.B(l,5,2);f?(_.ML(l,1),k.message="Initial app settings refresh failed.",_.B(k.kh,21,"Initial app settings refresh failed."),a.H.Lb(l),a.setActive(!0)):(_.ML(l,2),k.message="Error occurred while loading the latest set of apps.",_.B(k.kh,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};Mdd.prototype.Qa=function(){return!1};
Mdd.prototype.Wa=function(a){var b=this,c=a.getCommand(),d=c.Vb,e=c.iea,f=c.EU?{Nja:c.EU}:void 0;if(!Qdd(d))return this.H.Ba().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.DN(l,1,!1))},function(l){a.H.Vd(_.aM(l))}),_.bi();c=_.bi();var h=!1;this.W?Rdd(this,d.getType())?e=this.W:c=e=new _.ai(function(l,n){b.W.then(function(){Odd(b,d,f).then(function(){return l()},n)})}):!e&&this.Ia&&Rdd(this,d.getType())&&!this.ta?(h=!0,e=_.bi()):e=Odd(this,d,f);var k=a.H;e.then(function(){var l=
b.H.Qc;k.callback(new _.DN(l.Qq(),l.ef(),h))},function(l){k.Vd(l)});return c.then()};
var Qdd=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.Dd(a,4),a=_.Dd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Rdd=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},Pdd=function(a){var b=a.H.H.Sf(),c=new _.Se;_.Te(c,306);var d=new _.CM;_.B(d,1,1);_.kWc(d,c);a.Ea=_.q.setTimeout(function(){return void Odd(a,d)},Math.ceil(_.rk(b,7,9E5)*Math.random())+_.rk(b,4,72E5))},Sdd=function(a,b){this.Vb=a;this.iea=!!b;this.EU=null};
var Tdd=function(a,b){this.ta=b;this.Vb=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.ii();this.W="";this.ka=this.ma=!1};Tdd.prototype.ha=function(){this.ma||(this.ma=!0,Udd(this));return this.V.promise};var Udd=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.MLc(a.Vb,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.va.bind(a))}};Tdd.prototype.Ba=function(a){(this.W=a.pageToken)?Udd(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
Tdd.prototype.va=function(a){a=_.bM(a);var b=a.kh.Vj();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)};Tdd.prototype.cancel=function(){this.ka=!0};
var Wdd=function(a){gQ.call(this);var b=this;this.H=a;this.ka=new _.he(this);this.Oa(this.ka);this.ka.listen(this.H.Qa,"WPi0i",function(){return b.dispatchEvent(new _.xi("WPi0i"))});this.V=null;this.W=_.ii();this.ta=_.Dd(this.H.H.Sf(),30);Vdd(this)};_.N(Wdd,gQ);
var Vdd=function(a){var b=a.H.ka;XO(b,["rkYxSd"],function(){return a.initialize()});XO(b,["px2C2c"],function(){a.H.ha.info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.W.resolve();a.W=null});var c=["NSockf"],d=_.qk(a.H.H.Sf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&XO(b,["mrK8ic"],function(){YO(b,"OZvrNc")}));!_.F(a.H.H,11,!1)&&_.F(a.H.H,24,!1)&&(c.push("DEJoH"),_.q.setTimeout(function(){0<dcd(a.H.Qa).rz().length||(b.H("NSockf")?YO(b,"DEJoH"):XO(b,["NSockf"],function(){YO(b,
"DEJoH")}))},12E3));XO(b,c,function(){if(!b.H("px2C2c")){var e=new _.vD,f=new _.Se;_.Ue(f,!0);_.Te(f,301);_.y(e,1,f);Xdd(a,e,Ydd(a)).qg(function(){a.initialize()})}})};Wdd.prototype.ma=function(){var a="User prefs detected: "+dcd(this.H.Qa).rz().length;this.H.ha.info("drive.ds.sync.userprefs.UserPrefsManager",a);Zdd(this)};
var Xdd=function(a,b,c,d){var e=new _.HLc(b,c),f=d?{Nja:d}:void 0;return a.H.Ba().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Qa;A7c(k,h.rz(),k.eB()?6:1,c)}).then(null,function(h){h=_.bM(h);_.B(h.kh,5,4);0<a.ha.wc()||a.H.Lb(h.kh);a.V=h;throw h;})};
Wdd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.Pc(this.H.Qa.H.keys())));c.dja.find(function(f){return!e.has(f)})&&(c.iea=!0);this.V?d.Vd(this.V):c.iea?_.ji(this.W?this.W.promise:Xdd(this,c.Vb,Ydd(this,c.dja),c.EU||void 0),function(){return $dd(b,d,c.dja,!1)}):$dd(this,d,c.dja,!0)};
var Ydd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Pc(a.ta),_.Pc([].concat(_.Pc(a.H.Qa.H.keys()))),_.Pc(b)));return[].concat(_.Pc(a.values()))},$dd=function(a,b,c,d){a=a.H.Qa.qK(c);b.callback(new _.FN(a.H,a.Qh,d))},Zdd=function(a){var b=a.H.H.Sf();_.q.setTimeout(function(){var c=new _.vD,d=new _.Se;_.Te(d,306);_.y(c,1,d);_.ji(Xdd(a,c,Ydd(a)).qg(_.mf),function(){return Zdd(a)})},Math.ceil(_.rk(b,7,9E5)*Math.random())+_.rk(b,5,72E5))},aed=function(a,b,c){this.Vb=a;this.dja=b;this.iea=!!c;
this.EU=null};
var TTc=function(a){KP.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.ii();this.H=a.Ba()};_.N(TTc,KP);_.g=TTc.prototype;_.g.NIa=function(){this.Ea=new Hdd(this.context);this.Oa(this.Ea);this.Ia=new Mdd(this.context);this.Oa(this.Ia);this.Wa=new Wdd(this.context);this.Oa(this.Wa)};
_.g.sSa=function(){var a=this,b=["hVFf7"];_.kN(this.context.H)&&b.push("BNEDtc");XO(this.V,b,(0,_.v)(this.gOa,this));XO(this.V,["T8oKm","ZA9qG"],(0,_.v)(this.wXa,this));XO(this.V,["T8oKm","mrK8ic"],(0,_.v)(this.wXa,this));this.he.listen(this.Ea,"WPi0i",this.$xa.bind(this,1));this.he.listen(this.Ia,"Qb",this.$xa.bind(this,2));this.he.listen(this.Wa,"WPi0i",this.$xa.bind(this,4));XO(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.wXa=function(){QP(this.context).addCallback(function(a){a.start()})};
_.g.$xa=function(a){_.na(NWc,a)&&this.dispatchEvent(new O5c(a))};_.g.P0=function(a){return this.W.lqa(_.Pk(a))};_.g.nAa=function(a){B_c(this.context.va,a,pWc(this.context.rb));return this.W.iqa(_.Pk(a))};_.g.Xla=function(a){return this.W.mqa(_.Pk(a))};_.g.eEa=function(a){return new Tdd(a,this.context.Ba())};_.g.koa=function(a,b){var c=this;if(this.ta&&_.Ok(this.ta.Ad(),a))return this.ta;this.ta=new eQ(_.Pk(a),this.context,this.S3a.bind(this),b);_.q.setTimeout(function(){c.ta=null},3E3);return this.ta};
_.g.S3a=function(a,b,c){var d=new _.ALc(a,b,c);return _.ri(this.H.then(function(e){return e.H(d)}).qg(function(e){return _.cM(e)}))};_.g.dpa=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new cdd(a,this.context,this.h5a.bind(this));return this.ka};_.g.h5a=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).qg(function(b){return _.cM(b)}))};_.g.jBa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.bi()};_.g.mS=function(a){return _.ri(this.H.then(function(b){return b.H(a)}))};
_.g.Lqa=function(a){return _.ri(this.H.then(function(b){return b.H(a)}))};_.g.rAa=function(a,b){var c=this;if(this.ma&&_.Ok(this.ma.Ad(),a))return mdd(this.ma),this.ma;this.ma=new jdd(_.Pk(a),this.context,this.Lzb.bind(this),b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.Lzb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.GL(b.context.H)?L1c(b.context.W.ka,c.Xq().mO(),a.Ad().getId()).then(function(){return c}):c},_.cM)};
_.g.uva=function(a){var b=this;return _.ri(this.H.then(function(c){return c.H(a)}).then(function(c){return _.GL(b.context.H)?L1c(b.context.W.ka,[c.D5()],a.Rc()).then(function(){return c}):c},_.cM))};_.g.Oqa=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};_.g.Epa=function(a){return this.W.$pa(_.Pk(a))};_.g.Hpa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.cM)};
_.g.f1=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){var c=new _.mo;T1c(a,b).then(function(d){return c.resolve(d)});return new sdd(c.promise)},function(b){return void _.cM(b)})};_.g.UAa=function(a){var b=this;return new Ucd(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).qg(function(d){return _.cM(d)})})};_.g.gka=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.cM)};
_.g.Bd=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};_.g.mU=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.cM)};_.g.eC=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 _.Pp(c);c=new _.li;a.addCallback(this.r6a.bind(this,c,b));return c};_.g.bqa=function(){return new odd(this.context.H,this.context.Wa,this.context.Nc.V,this.context.Ba(),this.context.uc,this.context.ha,this.context.zm())};
_.g.Qq=function(a,b){var c=this,d=_.Rg();this.ha.create(d,a);3==a.getType()?a=KP.prototype.Qq.call(this,a).addCallback(function(e){return new _.DN(e,1,!1)}):(YO(this.V,"Qubz4b"),a=this.Ia.enqueue(new Sdd(a,b)));return a.addCallback(function(e){u0c(c.ha,d,e);return e.response}).$e(function(){dP(c.ha,d)})};_.g.Gr=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};_.g.wva=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};
_.g.Kqa=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};_.g.uia=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};_.g.FS=function(a,b){var c=this;YO(this.V,"iuEtc");var d=_.Rg();this.ha.create(d,a);return this.Ea.enqueue(new Kdd(a,b)).addCallback(function(e){u0c(c.ha,d,e);return e.response}).$e(function(){dP(c.ha,d)})};
_.g.qK=function(a,b){var c=this,d=_.Dd(this.context.H.Sf(),30);if(!d||0==d.length)return _.si(new _.Rb("getUserPrefs requires a namespace.",_.$L(3)));var e=_.Rg();this.ha.create(e,a);YO(this.V,"OZvrNc");return this.Wa.enqueue(new aed(a,d,b)).addCallback(function(f){u0c(c.ha,e,f);return f.response}).$e(function(){dP(c.ha,e)})};_.g.Wxa=function(a){rdd(_.Dd(this.context.H.Sf(),30),a);return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.cM))};
_.g.Txa=function(a){var b=this;return _.ri(this.H.then(function(c){return c.H(a)}).then(function(c){return _.GL(b.context.H)?K1c(b.context.W.ka,c):c},_.cM))};_.g.BFa=function(a){return this.W.pqa(_.Pk(a))};_.g.Ima=function(a){return this.W.oqa(_.Pk(a))};_.g.YDa=function(a){var b=this;return new Vcd(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).qg(function(d){return _.cM(d)})})};_.g.Qla=function(a){return this.W.jqa(_.Pk(a))};_.g.Rxa=function(a){H8c(this.context.W,[a])};
_.g.Rca=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.cM)};_.g.Uxa=function(a){if(1!=_.jN(this.context.H))return Promise.reject(Error("qg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Rc())return Promise.reject(Error("rg"));if(!c.Wj()&&!c.getItem())return Promise.reject(Error("sg"))}this.context.W.ta(a);a=this.context.W;NP(a.H).ka();$_c(a.W);return Promise.resolve()};_.g.Vxa=function(){return this.context.Nc.gH()};
_.g.tia=function(a){var b=this;Fcd(this.context,a).then(function(c){return c?(b.context.ma.H=a,b.context.Ea.Y7()):_.bi(!a)})};_.g.Yxa=function(a){pcd(this.context).W(a);this.tia(!!a)};_.g.cU=function(){QP(this.context).addCallback(function(a){a&&a.yqb()});R0c(this.context.Wi)};_.g.Xxa=function(a){a.Zj(this.context)};_.g.r6a=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.W;NP(b.H).ka();$_c(b.W);a.callback(d)};
_.g.sync=function(){var a=this;return _.gi([this.context.Rd.promise,this.context.Dp.promise]).then(function(){return a.context.Ea.Y7()}).then()};_.g.ox=function(){QP(this.context).addCallback(function(a){a&&a.dispose()});return KP.prototype.ox.call(this)};_.g.mza=function(){return this.rb.promise};
var bed=function(){var a='<div class="'+_.K("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.K("la-Y-A")+" "+_.K("kc-A")+'" data-target="reload">');return(0,_.L)(a+"Reload</button>")};
_.Dp({id:_.fl,callback:function(a){var b=_.lSc(a),c=VTc(a),d=_.D(a.get(_.bm),_.Fba,10);_.$Mc(d,b);_.B(d,28,c||[]);b=UTc(a,d);a.registerService(_.gl,b.b5());_.le(b,"VbxEwf",function(){var e={};_.bc(_.Ry.getService(a),new _.Er(new _.Dr(bed,{}),"d",(e.reload=function(){_.q.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
var ded,ied,ked;_.ced=function(a,b){return _.y(a,17,b)};ded=[3];_.hQ=function(a){_.Q(this,a,0,-1,ded,null)};_.O(_.hQ,_.M);_.hQ.prototype.getType=function(){return _.C(this,1)};_.hQ.prototype.Rc=function(){return _.C(this,2)};_.eed=function(a,b){return _.B(a,2,b)};_.hQ.prototype.V=function(){return _.Jk(this,_.hQ,3)};_.fed=function(a){_.Q(this,a,0,-1,null,null)};_.O(_.fed,_.M);_.fed.prototype.getFeature=function(){return _.C(this,1)};_.ged=function(a,b){return _.B(a,1,b)};
_.fed.prototype.V=function(){return _.D(this,_.hQ,2)};_.hed=function(a,b){return _.y(a,2,b)};ied=[1];_.vN=function(a){_.Q(this,a,0,-1,ied,null)};_.O(_.vN,_.M);_.vN.prototype.V=function(){return _.Jk(this,_.fed,1)};_.jed=function(a,b){return _.jb(a,1,b)};ked=[1,2];_.XP=function(a){_.Q(this,a,0,-1,ked,null)};_.O(_.XP,_.M);_.XP.prototype.V=function(){return _.Dd(this,1)};_.led=function(a,b){return _.B(a,1,b||[])};_.XP.prototype.tS=function(){return _.Jk(this,_.vOb,2)};
_.med=function(a,b){return _.jb(a,2,b)};_.XP.prototype.Ae=function(){return _.D(this,_.Se,3)};_.ned=function(a,b){return _.y(a,3,b)};_.t("RsR2Mc");


_.w();

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