this._D=this._D||{};(function(_){var window=this;
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("sy136");
_.fGc=[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];_.gGc=[90,59,75];_.hGc=_.sa(_.fGc,_.gGc);

_.w();

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

_.fGc.push(210);_.fGc.push(210);_.hGc.push(210);

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var zmb,Bmb;zmb=[4,5,6,7];_.Amb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Amb,_.M);_.Amb.prototype.Kt=function(){return _.C(this,2)};_.Amb.prototype.XHa=function(){return _.C(this,3)};Bmb=[5];_.Cmb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Cmb,_.M);_.Dmb=function(a){_.T(this,a,0,-1,Bmb,null)};_.O(_.Dmb,_.M);_.g=_.Dmb.prototype;_.g.hc="dzR11e";_.g.fD=function(){return _.C(this,1)};_.g.rL=function(){return _.C(this,3)};_.g.qM=function(){return _.al(this,_.Amb,5)};
_.g.Tm=function(){return _.C(this,6)};_.g.Hv=function(){return _.C(this,7)};_.g.Qw=function(){return _.C(this,10)};_.sD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.sD,_.M);_.sD.prototype.hc="JmcaR";_.sD.prototype.Hb=function(){return _.C(this,1)};_.sD.prototype.Bc=function(a){return _.B(this,1,a)};_.sD.prototype.yW=function(){return _.C(this,2)};_.Emb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Emb,_.M);_.Emb.prototype.hc="dvhrqe";_.Emb.prototype.V=function(){return _.H(this,1)};
_.Fmb=function(a){_.T(this,a,0,-1,zmb,null)};_.O(_.Fmb,_.M);_.Fmb.prototype.V=function(){return _.D(this,_.Dmb,1)};_.Fmb.prototype.qD=function(){return _.D(this,_.sD,8)};_.Fmb.prototype.W=function(){return _.D(this,_.Emb,9)};_.t("synm");
_.tD=function(a){_.T(this,a,0,-1,Gmb,null)};_.O(_.tD,_.M);var Gmb=[2];_.tD.prototype.getUser=function(){return _.D(this,_.Cl,1)};_.tD.prototype.getMetadata=function(){return _.D(this,_.Fmb,3)};_.tD.prototype.Uo=function(){return _.Gk(this,3)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Lmb=function(a){return a instanceof _.Nb?a:a instanceof _.Ob?a.Sg:null};_.t("synn");

_.w();

}catch(e){_._DumpException(e)}
try{
_.KC=function(a){if(Array.isArray(a))return a.map(_.KC).join("");if(_.C(a,2)){if(!a.getId())throw Error("vd");return a.getId()+"/"+_.C(a,2)+","}return""};_.LC=function(a,b){return _.Fh(a,b)};_.t("syo3");

_.w();

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

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

_.w();

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

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mlb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.mlb,_.M);_.mlb.prototype.V=function(){return _.D(this,_.Opa,1)};_.iD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.iD,_.M);_.g=_.iD.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=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.Od=function(a){return _.B(this,5,a)};_.g.Dq=function(){return _.Gk(this,5)};
_.jD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.jD,_.M);_.jD.prototype.V=function(){return _.C(this,1)};_.jD.prototype.Hb=function(){return _.C(this,2)};_.jD.prototype.Bc=function(a){return _.B(this,2,a)};_.jD.prototype.W=function(){return _.C(this,3)};_.t("sys7");
_.olb=function(a){_.T(this,a,0,-1,nlb,null)};_.O(_.olb,_.M);var nlb=[1];_.olb.prototype.V=function(){return _.Ad(this,1)};
_.qlb=function(a){_.T(this,a,0,-1,plb,null)};_.O(_.qlb,_.M);var plb=[1];_.qlb.prototype.V=function(){return _.al(this,_.jD,1)};
_.slb=function(a){_.T(this,a,0,-1,rlb,null)};_.O(_.slb,_.M);var rlb=[1];_.slb.prototype.V=function(){return _.al(this,_.qlb,1)};_.slb.prototype.addResult=function(a,b){return _.dl(this,1,a,_.qlb,b)};
_.tlb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tlb,_.M);_.tlb.prototype.W=function(){return _.D(this,_.slb,1)};_.tlb.prototype.V=function(){return _.D(this,_.olb,2)};
_.kD=function(a){_.T(this,a,0,-1,ulb,null)};_.O(_.kD,_.M);var ulb=[2,14,18];_.g=_.kD.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.Nd=function(){return _.al(this,_.Nl,2)};_.g.Cv=function(a){return _.hb(this,2,a)};_.g.Eg=function(a,b){return _.dl(this,2,a,_.Nl,b)};_.g.Wj=function(){return _.C(this,3)};_.g.Gna=function(){return _.E(this,5,!0)};_.g.S0=function(){return _.D(this,_.tlb,7)};_.g.Hna=function(){return _.H(this,8)};
_.g.SP=function(){return _.D(this,_.mlb,10)};_.g.TP=function(a){return _.z(this,10,a)};_.g.getSessionId=function(){return _.D(this,_.Zm,11)};_.g.setSessionId=function(a){return _.z(this,11,a)};_.g.Df=function(){return _.C(this,17)};_.g.qL=function(a){return _.B(this,17,a)};_.g.vf=function(){return _.C(this,12)};_.g.T0=function(a){return _.B(this,12,a)};_.g.Tn=function(){return _.C(this,15)};_.g.Zba=function(){return _.Ad(this,18)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syt2");
_.ZD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.ZD,_.M);_.ZD.prototype.ue=function(){return _.D(this,_.ff,1)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.qF=function(a,b,c){_.P.call(this);this.Dp=null!=c?(0,_.v)(a,c):a;this.ma=b;this.lg=(0,_.v)(this.h9a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.O(_.qF,_.P);_.g=_.qF.prototype;_.g.ze=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Cf()+this.ma:this.H=_.nj(this.lg,this.ma)};_.g.stop=function(){this.H&&(_.oj(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.Dp.apply(null,this.ka)))};_.g.Ya=function(){this.stop();_.qF.ub.Ya.call(this)};_.g.h9a=function(){this.ha?(this.H=_.nj(this.lg,this.ha-_.Cf()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.Dp.apply(null,this.ka)))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syvw");
_.sH=function(a){_.T(this,a,0,-1,null,null)};_.O(_.sH,_.M);_.sH.prototype.Kc=function(){return _.C(this,1)};_.zNb=function(a){var b=new _.sH;return _.B(b,1,a)};_.sH.prototype.Yh=function(){return _.C(this,2)};_.sH.prototype.Li=function(a){return _.B(this,2,a)};_.sH.prototype.ue=function(){return _.D(this,_.ff,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.pH=function(a){return _.D(a,_.xc,2)};_.bNb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.bNb,_.M);_.t("syvy");

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mH=function(a){_.T(this,a,0,-1,null,null)};_.O(_.mH,_.M);_.mH.prototype.getName=function(){return _.C(this,1)};_.mH.prototype.$c=function(a){return _.B(this,1,a)};_.mH.prototype.ue=function(){return _.D(this,_.ff,2)};_.t("syw8");
_.nH=function(a){_.T(this,a,0,-1,DMb,null)};_.O(_.nH,_.M);var DMb=[5,6,9,10,12,13,15,16];_.nH.prototype.getId=function(){return _.C(this,1)};_.nH.prototype.Wb=function(a){return _.B(this,1,a)};_.nH.prototype.Yw=function(){return _.C(this,2)};
_.FMb=function(a){_.T(this,a,0,-1,EMb,null)};_.O(_.FMb,_.M);var EMb=[2,4];_.FMb.prototype.Nl=function(){return _.C(this,1)};_.GMb=function(a,b){return _.B(a,1,b)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rI=function(a,b,c,d){this.ka=a;this.ha=b;this.V=this.W=a;this.ma=c||0;this.ta=d||2};_.rI.prototype.H=0;_.rI.prototype.reset=function(){this.V=this.W=this.ka;this.H=0};_.rI.prototype.kb=function(){return this.W};_.sI=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("syyq");
var x_b=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("pe`"+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("qe`"+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 y_b=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,x=0;64>x;x+=4)u[x/4]=r[x]<<24|r[x+1]<<16|r[x+2]<<8|r[x+3];for(x=16;80>x;x++)r=u[x-3]^u[x-8]^u[x-14]^u[x-16],u[x]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],F=e[2],J=e[3],I=e[4];for(x=0;80>x;x++){if(40>x)if(20>x){var R=J^A&(F^J);var S=1518500249}else R=A^F^J,S=1859775393;else 60>x?(R=A&F|J&(A|F),S=2400959708):(R=A^F^J,S=3395469782);R=((r<<5|r>>>27)&4294967295)+
R+I+S+u[x]&4294967295;I=J;J=F;F=(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]+F&4294967295;e[3]=e[3]+J&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var x=[],A=0,F=r.length;A<F;++A)x.push(r.charCodeAt(A));r=x}u||(u=r.length);x=0;if(0==n)for(;x+64<u;)b(r.slice(x,x+64)),x+=64,p+=64;for(;x<u;)if(f[n++]=r[x++],p++,64==n)for(n=0,b(f);x+64<u;)b(r.slice(x,x+64)),x+=64,p+=64}function d(){var r=[],
u=8*p;56>n?c(k,56-n):c(k,64-(n-56));for(var x=63;56<=x;x--)f[x]=u&255,u>>>=8;b(f);for(x=u=0;5>x;x++)for(var A=24;0<=A;A-=8)r[u++]=e[x]>>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="",x=0;x<r.length;x++)u+="0123456789ABCDEF".charAt(Math.floor(r[x]/16))+"0123456789ABCDEF".charAt(r[x]%16);return u}}};
var A_b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ha(d,function(k){e.push(k)}),z_b(e.join(" "));var f=[],h=[];_.Ha(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.la(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ha(d,function(k){e.push(k)});a=z_b(e.join(" "));a=[c,a];_.la(h)||a.push(h.join(""));return a.join("_")},z_b=function(a){var b=y_b();b.update(a);return b.digestString().toLowerCase()};
_.B_b=function(){var a=_.q.__SAPISID||_.q.__APISID||_.q.__OVERRIDE_SID;if(a)return!0;a=new _.Wcb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.C_b=function(a){var b=x_b(String(_.q.location.href));if(_.B_b()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.q.__SAPISID:_.q.__APISID;c||(c=new _.Wcb(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,A_b(x_b(d),c,a||null)].join(" "):null}}return null};

_.w();

}catch(e){_._DumpException(e)}
try{
_.D_b=function(a,b,c){_.Mj(a.url,function(d){d=d.target;d.Us()?b(d.Ok()):c(d.Hb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.t("syyp");
var F_b=function(a){_.T(this,a,0,-1,E_b,null)};_.O(F_b,_.M);var E_b=[2];
_.G_b=function(a){_.T(this,a,0,-1,null,null)};_.O(_.G_b,_.M);_.G_b.prototype.vi=function(){return _.C(this,7)};
_.H_b=function(a){_.T(this,a,0,-1,null,null)};_.O(_.H_b,_.M);_.hl[66321687]=new _.Dk(66321687,_.H_b);
var I_b;_.tI=function(a){_.T(this,a,0,31,I_b,null)};_.O(_.tI,_.M);I_b=[3,20,27];_.uI=function(a,b){return _.B(a,8,b)};
var K_b=function(a){_.T(this,a,0,17,J_b,null)};_.O(K_b,_.M);var J_b=[3,5],L_b=function(a){var b=_.Cf().toString();return _.B(a,4,b)},M_b=function(a,b){return _.hb(a,3,b)},N_b=function(a,b){return _.B(a,14,b)};
var P_b=function(a){_.T(this,a,0,6,O_b,null)};_.O(P_b,_.M);var O_b=[5];
var Q_b=function(a){_.T(this,a,0,-1,null,null)};_.O(Q_b,_.M);
var R_b=new _.Dk(175237375,Q_b);
var T_b;
_.vI=function(a,b,c,d,e,f,h,k,l,n,p){_.Q.call(this);this.Yc=a;this.uc=b||_.Af;this.ha=new K_b;this.Sa="";this.Jd=d;this.vc=p;this.H=[];this.Lb="";this.we=_.Ta(_.Fha,0,1);this.va=e||null;this.Ea=c||null;this.Wa=h||!1;this.Ma=l||null;this.Fc=this.Mc=this.W=!1;this.Qb=this.$a=-1;this.Ab=!1;this.ma=null;this.ae=!k;this.Ba=null;this.Ka=0;this.Zd=1;this.Gb=f||!1;this.rb=!1;this.Rc=!this.Gb&&(_.kk.ql&&_.Ya(65)||_.kk.mu&&_.Ya(45)||_.kk.Br&&_.Ya(12)||_.eh()&&0<=_.Pf(_.gha(),12))&&!!_.bf()&&!!_.bf().navigator&&!!_.bf().navigator.sendBeacon;
a=_.B(new _.H_b,1,1);f||(f=new _.G_b,b=document.documentElement.getAttribute("lang"),f=_.B(f,5,b),_.z(a,11,f));_.z(this.ha,1,a);_.B(this.ha,2,this.Yc);this.ka=new _.rI(1E4,3E5,.1);this.V=new _.mj(this.ka.kb());this.Na(this.V);_.Ud(this.V,"tick",_.Hfa(S_b(this,n)),!1,this);this.Ha=new _.mj(6E5);this.Na(this.Ha);_.Ud(this.Ha,"tick",_.Hfa(S_b(this,n)),!1,this);this.Wa||this.Ha.start();this.Gb||(_.Ud(_.bf(),"beforeunload",this.ta,!1,this),_.Ud(_.bf(),"unload",this.ta,!1,this),_.Ud(document,"pagehide",
this.ta,!1,this))};_.O(_.vI,_.Q);var S_b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.vI.prototype.Ya=function(){this.ta();_.vI.ub.Ya.call(this)};T_b=function(a){a.va||(a.va=.01>a.we()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.va};_.U_b=function(a,b){b?(a.ma||(a.ma=new F_b),b=b.zc(),_.B(a.ma,4,b)):a.ma&&_.Sk(a.ma,4)};_.V_b=function(a){a.Mc=a.Rc};
_.W_b=function(a,b){a.ka=new _.rI(1>b?1:b,3E5,.1);a.V.setInterval(a.ka.kb())};_.vI.prototype.log=function(a){a=_.gl(a);var b=this.Zd++;_.B(a,21,b);this.Sa&&_.B(a,26,this.Sa);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.B(b,1,c)}_.Gk(a,15)||_.B(a,15,60*(new Date).getTimezoneOffset());this.ma&&(b=_.gl(this.ma),_.z(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new X_b(a));this.Wa||this.V.enabled||this.V.start()};
_.vI.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)Y_b(this);else{var d=_.Cf();if(this.Qb>d&&this.$a<d)b&&b("throttled");else{var e=N_b(M_b(L_b(_.gl(this.ha)),this.H),this.Ka);d={};var f=this.uc();f&&(d.Authorization=f);var h=T_b(this);this.Ea&&(d["X-Goog-AuthUser"]=this.Ea,h=_.Gj(h,"authuser",this.Ea));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.Gj(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.zc(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,f_a:1,requestHeaders:d,requestType:"POST",withCredentials:this.ae,timeoutMillis:0},p=(0,_.v)(function(x){this.ka.reset();this.V.setInterval(this.ka.kb());if(x){try{var A=JSON.parse(x.replace(")]}'\n",""));var F=new P_b(A)}catch(J){}F&&(x=_.Ok(F,1,"-1"),x=Number(x),0<x&&(this.$a=_.Cf(),this.Qb=this.$a+x),F=F.ka(R_b))&&(F=_.Kk(F,1,-1),-1!=F&&(this.Ab||_.W_b(this,F)))}a&&a()},this),r=(0,_.v)(function(x){var A=
_.al(e,_.tI,3);_.sI(this.ka);this.V.setInterval(this.ka.kb());401==x&&f&&(this.Lb=f);if(500<=x&&600>x||401==x||0==x)this.H=A.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",x)},this),u=function(){c.vc?c.vc.send(n,p,r):c.Jd(n,p,r)};l?l.then(function(x){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=x;n.f_a=2;u()},function(){u()}):u()}}}};
_.vI.prototype.ta=function(){this.W||(this.Mc&&Y_b(this),this.Fc&&Z_b(this),this.flush())};
var Y_b=function(a){$_b(a,32,10,function(b,c){b=_.Gj(b,"format","json");b=_.bf().navigator.sendBeacon(b,c.zc());a.rb&&!b&&(a.rb=!1);return b})},Z_b=function(a){$_b(a,6,5,function(b,c){b=_.Ej(b,"format","base64json","p",_.mk(c.zc(),3));_.Mg(new Image,b);return!0})},$_b=function(a,b,c,d){if(0!=a.H.length){var e=_.Jj(T_b(a),"format");e=_.Ej(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=M_b(L_b(_.gl(a.ha)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
X_b=function(){this.type="event-logged"};_.O(X_b,_.aj);
_.wI=function(a,b,c,d,e,f,h){_.vI.call(this,a,_.C_b,b,_.D_b,c,d,e,void 0,f,h)};_.N(_.wI,_.vI);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy112");
_.iGc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.iGc,_.M);_.g=_.iGc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.kb=function(){return _.C(this,2)};_.g.Vb=function(a){return _.B(this,2,a)};_.g.Ej=function(){return _.Sk(this,2)};_.g.Cg=function(){return _.Gk(this,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy113");
_.jGc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.kGc=_.bg(_.jGc);

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.XL=function(a,b){return _.B(a,4,b)};_.mGc=function(a,b){_.B(a,11,b)};_.nGc=function(a,b){return _.B(a,25,b)};_.oGc=function(a,b,c,d,e,f){var h=new _.Pj(null,void 0);a&&_.Qj(h,a);b&&(h.ma=b);c&&_.Rj(h,c);d&&_.Sj(h,d);e&&_.Tj(h,e);f&&_.Uj(h,f);return h};_.t("sy11f");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var qGc,tGc;qGc=[3,42];_.rGc=function(a){_.T(this,a,0,-1,qGc,null)};_.O(_.rGc,_.M);_.rGc.prototype.$b=function(){return _.C(this,27)};_.sGc=function(a){return _.gb(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};tGc=function(a,b){if(b&&a in b)return a;var c=_.PEa();return c?(c=c.toLowerCase(),a=c+_.cha(a),void 0===b||a in b?a:null):null};_.t("sy11g");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.uGc=function(a){_.Q.call(this);this.Xc=a||_.Bh();if(this.iy=this.L7a())this.H=_.Ud(this.Xc.Zb(),this.iy,(0,_.v)(this.p9a,this))};_.O(_.uGc,_.Q);_.g=_.uGc.prototype;_.g.L7a=_.kca(function(){var a=!!this.j2(),b="hidden"!=this.j2();if(a){var c;b?c=((_.PEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.j2=_.kca(function(){return tGc("hidden",this.Xc.Zb())});_.g.$8a=_.kca(function(){return tGc("visibilityState",this.Xc.Zb())});_.g.JM=function(){return!!this.Xc.Zb()[this.j2()]};
_.g.p9a=function(){var a=this.j2()?this.Xc.Zb()[this.$8a()]:null;a=new vGc(this.JM(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.hj(this.H);_.uGc.ub.Ya.call(this)};var vGc=function(a){_.aj.call(this,"visibilitychange");this.hidden=a};_.O(vGc,_.aj);

_.w();

}catch(e){_._DumpException(e)}
try{
_.wGc=function(){this.H=-1};_.t("sy11i");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ZL=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.O(_.ZL,_.wGc);_.ZL.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 xGc=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};
_.ZL.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;)xGc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){xGc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){xGc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.ZL.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 yGc;yGc=[2];_.zGc=function(a){_.T(this,a,0,-1,yGc,null)};_.O(_.zGc,_.M);_.zGc.prototype.Hb=function(){return _.C(this,1)};_.zGc.prototype.Bc=function(a){return _.B(this,1,a)};_.zGc.prototype.Wj=function(){return _.C(this,3)};_.t("sy12a");
_.$L=function(a){_.T(this,a,0,-1,AGc,null)};_.O(_.$L,_.M);var AGc=[1];_.$L.prototype.Hi=function(){return _.Ad(this,1)};_.$L.prototype.ue=function(){return _.D(this,_.ff,2)};_.BGc=function(a,b){return _.z(a,2,b)};_.$L.prototype.Yh=function(){return _.Kk(this,3,20)};_.$L.prototype.Li=function(a){return _.B(this,3,a)};_.$L.prototype.nm=function(){return _.H(this,4)};

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var GGc,cM,IGc,HGc;_.bM=function(a,b,c){if("number"===typeof a)var d={name:HGc(a)};else d=a,a=IGc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.O(_.bM,_.aa);_.bM.prototype.getName=function(){return this.V.name||""};cM={UXa:1,tXa:2,NOT_FOUND_ERR:3,FWa:4,JWa:5,uXa:6,PXa:7,ABORT_ERR:8,GXa:9,QOb:10,TIMEOUT_ERR:11,DXa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.JGc=(_.q.PE||_.q.iH||cM).UXa;_.KGc=(_.q.PE||_.q.iH||cM).tXa;_.LGc=(_.q.PE||_.q.iH||cM).NOT_FOUND_ERR;
_.MGc=(_.q.PE||_.q.iH||cM).FWa;_.NGc=(_.q.PE||_.q.iH||cM).JWa;_.OGc=(_.q.PE||_.q.iH||cM).uXa;_.PGc=(_.q.PE||_.q.iH||cM).PXa;_.QGc=(_.q.PE||_.q.iH||cM).ABORT_ERR;_.RGc=(_.q.PE||_.q.iH||cM).GXa;_.SGc=(_.q.PE||_.q.iH||cM).TIMEOUT_ERR;_.TGc=(_.q.PE||_.q.iH||cM).DXa;_.UGc=(_.q.DOMException||cM).INVALID_ACCESS_ERR;_.VGc=(_.q.DOMException||cM).INVALID_STATE_ERR;
IGc=function(a){switch(a){case "UnknownError":return _.JGc;case "NotFoundError":return _.LGc;case "ConstraintError":return _.MGc;case "DataError":return _.NGc;case "TransactionInactiveError":return _.PGc;case "AbortError":return _.QGc;case "ReadOnlyError":return _.RGc;case "TimeoutError":return _.SGc;case "QuotaExceededError":return _.TGc;case "InvalidAccessError":return _.UGc;case "InvalidStateError":return _.VGc;default:return _.JGc}};
HGc=function(a){switch(a){case _.JGc:return"UnknownError";case _.LGc:return"NotFoundError";case _.MGc:return"ConstraintError";case _.NGc:return"DataError";case _.PGc:return"TransactionInactiveError";case _.QGc:return"AbortError";case _.RGc:return"ReadOnlyError";case _.SGc:return"TimeoutError";case _.TGc:return"QuotaExceededError";case _.UGc:return"InvalidAccessError";case _.VGc:return"InvalidStateError";default:return"UnknownError"}};
_.dM=function(a,b){return"error"in a?new _.bM(a.error,b):new _.bM({name:"UnknownError"},b)};_.eM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.bM(a,b);if("code"in a){var c=HGc(a.code);b=b+": "+a.message;return new _.bM({name:c},b)}return new _.bM({name:"UnknownError"},b)};
_.WGc=function(a){this.H=a};_.XGc=_.q.IDBKeyRange||_.q.webkitIDBKeyRange;_.WGc.prototype.range=function(){return this.H};
var YGc=function(a){this.H=a};YGc.prototype.getName=function(){return this.H.name};var ZGc=function(a,b,c,d){var e=new _.Bi;try{var f=a.H[b](d)}catch(h){return c+=" with key "+aM(d),e.Qd(_.eM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+aM(d);e.Qd(_.dM(h.target,c))};return e};YGc.prototype.get=function(a){return ZGc(this,"get","getting from index "+this.getName(),a)};
YGc.prototype.getKey=function(a){return ZGc(this,"getKey","getting key from index "+this.getName(),a)};YGc.prototype.getAll=function(a,b){return _.$Gc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.$Gc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.WGc?d.H:(new _.WGc(_.XGc.only(d))).H;var h=new _.Bi;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?aM(f):"<all>"),h.Qd(_.eM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?aM(f):"<all>");h.Qd(_.dM(l.target,c))};return h};
var fM=function(a){this.H=a},aHc;fM.prototype.getName=function(){return this.H.name};aHc=function(a,b,c,d,e){var f=new _.Bi;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=aM(d),e&&(c+=", with key "+aM(e)),f.Qd(_.eM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=aM(d);e&&(c+=", with key "+aM(e));f.Qd(_.dM(k.target,c))};return f};_.bHc=function(a,b,c){return aHc(a,"put","putting into "+a.getName()+" with value",b,c)};
fM.prototype.add=function(a,b){return aHc(this,"add","adding into "+this.getName()+" with value ",a,b)};fM.prototype.remove=function(a){var b=new _.Bi;try{var c=this.H["delete"](a instanceof _.WGc?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+aM(a),b.Qd(_.eM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+aM(a);b.Qd(_.dM(e.target,f))};return b};
fM.prototype.get=function(a){var b=new _.Bi;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+aM(a),b.Qd(_.eM(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 "+aM(a);b.Qd(_.dM(e.target,f))};return b};fM.prototype.getAll=function(a,b){return cHc(this,"getting all from index "+this.getName(),a,b)};
var cHc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.WGc?c.H:(new _.WGc(_.XGc.only(c))).H;var f=new _.Bi;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?aM(e):"<all>"),f.Qd(_.eM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?aM(e):"<all>");f.Qd(_.dM(k.target,b))};return f};
fM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Bi;try{var c=this.H.clear()}catch(d){return b.Qd(_.eM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Qd(_.dM(d.target,a))};return b};_.dHc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.eM(d,"creating new index "+b+" with key path "+c);}};fM.prototype.getIndex=function(a){try{return new YGc(this.H.index(a))}catch(b){throw _.eM(b,"getting index "+a);}};
fM.prototype.count=function(a){var b=new _.Bi;try{var c=this.H.count(a?a.H:null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Qd(_.dM(e.target,d.getName()))}}catch(e){b.Qd(_.eM(e,this.getName()))}return b};
var eHc=function(a,b){_.Q.call(this);this.H=a;this.V=b;this.Bb=new _.Ie(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.j9a)};_.O(eHc,_.Q);_.g=eHc.prototype;_.g.j9a=function(a){a.target instanceof _.bM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.dM(a.target,"in transaction")})};
_.g.objectStore=function(a){try{return new fM(this.H.objectStore(a))}catch(b){throw _.eM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.eM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Bi;_.ge(this,"complete",(0,_.v)(a.callback,a));var b=_.ge(this,"abort",function(){_.hj(c);a.Qd(new _.bM(_.QGc,"waiting for transaction to complete"))});var c=_.ge(this,"error",function(e){_.hj(b);a.Qd(e.target)});var d=this.V;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){eHc.ub.Ya.call(this);this.Bb.dispose()};
var fHc=function(a){_.Q.call(this);this.H=a;this.Bb=new _.Ie(this);this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.i9a);this.Bb.listen(this.H,"versionchange",this.R2a);this.Bb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.O(fHc,_.Q);_.g=fHc.prototype;_.g.$pa=!0;_.g.i9a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.R2a=function(a){this.dispatchEvent(new gHc(a.oldVersion,a.newVersion))};_.g.close=function(){this.$pa&&(this.H.close(),this.$pa=!1)};_.g.Jg=function(){return this.$pa};_.g.getName=function(){return this.H.name};_.hHc=function(a,b,c){try{return new fM(a.H.createObjectStore(b,c))}catch(d){throw _.eM(d,"creating object store "+b);}};_.iHc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new eHc(d,a)}catch(e){throw _.eM(e,"creating transaction");}};
fHc.prototype.Ya=function(){fHc.ub.Ya.call(this);this.Bb.dispose()};var gHc=function(a,b){_.aj.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.O(gHc,_.aj);
_.jHc=function(){void 0==GGc&&(GGc=_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB);return GGc};
_.kHc=function(a,b,c,d){var e=new _.Bi;b=b?_.jHc().open(a,b):_.jHc().open(a);b.onsuccess=function(f){f=new fHc(f.target.result);e.callback(f)};b.onerror=function(f){e.Qd(_.dM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new fHc(f.target.result);c(new gHc(f.oldVersion,f.newVersion),h,new eHc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new gHc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.lHc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.t("sy12o");
_.mHc=function(a){this.V=a};_.mHc.prototype.H=function(a){a=_.uI(new _.tI,a.zc());this.V.log(a);return new _.ri(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.nHc=function(a){this.V=a;_.V_b(this.V)};_.nHc.prototype.H=function(a){a=_.uI(new _.tI,a.zc());this.V.log(a);this.V.ta()};

_.w();

}catch(e){_._DumpException(e)}
try{
var oHc=function(a){_.T(this,a,0,-1,null,null)};_.O(oHc,_.M);oHc.prototype.getEmail=function(){return _.G(this,3,"")};oHc.prototype.Vv=function(){return _.Gk(this,3)};_.gM=function(a){return _.D(a,oHc,36,1)};_.t("sy12b");

_.w();

}catch(e){_._DumpException(e)}
try{
var pHc=function(a){_.T(this,a,0,-1,null,null)},uHc;_.O(pHc,_.M);var qHc=function(a){_.T(this,a,0,-1,null,null)};_.O(qHc,_.M);var rHc=[2],sHc=function(a){_.T(this,a,0,-1,rHc,null)};_.O(sHc,_.M);var tHc=function(a){_.T(this,a,0,-1,null,null)};_.O(tHc,_.M);uHc=function(a){this.V=a};_.vHc=function(a){this.Oc=a};_.vHc.prototype.getId=function(){return this.Oc};var wHc=function(a){_.T(this,a,0,-1,null,null)};_.O(wHc,_.M);var xHc=function(a){_.T(this,a,0,-1,null,null)};_.O(xHc,_.M);
var zHc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.PAa.length;a++){var b=_.PAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;yHc(this,b);break}}},yHc=function(a,b){a.V=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.W=!0;a.V.onDisconnect.addListener(function(){a.W=!1});document.addEventListener("mousemove",function(c){a.ha=c.clientX;a.ka=c.clientY})};
zHc.prototype.H=function(a){if(this.ma&&this.W){var b=_.D(a,_.nb,2)||new _.nb,c=_.D(a,_.Lq,5)||new _.Lq,d=_.D(a,_.Kq,3)||new _.Kq;a=_.al(a,_.$ya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.zc(),session_info:b.zc(),session_invariants:c.zc(),client_info:d.zc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};_.t("sy12e");
var AHc=function(){_.Eq.call(this)};_.N(AHc,_.Eq);AHc.prototype.Qt=function(){return 1==_.C(_.D(this.V,pHc,7),1)};var BHc=new _.Aq("high_frequency_builder");
var CHc=function(a,b,c){a=new _.mj(a);c.Na(a);var d=new _.Ie(c);c.Na(d);d.listen(a,"tick",b);a.start()};
var DHc=function(){_.Eq.call(this)};_.N(DHc,_.Eq);var EHc=function(a,b,c){var d=1E3*_.Cf();if(0==b){b=new _.tq;var e=new _.Gya;e=_.B(e,1,d);_.z(b,1,e);_.B(b,3,1);_.z(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 _.tq,e=new _.Hya,d=_.B(e,1,d),_.z(b,2,d),_.B(b,3,2),_.z(a.V,8,b),_.B(a.V,12,c),_.B(a.V,3,c));return a},FHc=new _.Aq("system_builder");
var GHc=function(a,b){_.P.call(this);this.V=a;this.H=new _.uGc(b);this.Na(this.H);this.Bb=new _.Ie(this);this.Na(this.Bb);this.H.j2()&&this.Bb.listen(this.H,"visibilitychange",this.W)};_.N(GHc,_.P);GHc.prototype.W=function(){if(this.V.hS()){var a=this.H.JM()?102001:102E3;a=this.V.aE(a,0);this.V.Gp(a)}};
var HHc=function(a,b,c){c=void 0===c?!1:c;_.P.call(this);this.H=a;this.V=b;this.Na(this.V);this.ha=c;this.W=null};_.N(HHc,_.P);_.g=HHc.prototype;_.g.Gp=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.qc()&&b.V.ze();return new uHc(a)};_.g.aE=function(a,b){a=EHc(IHc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.wJ=function(){return this.H.V};
_.g.fI=function(a){var b=this.H,c=_.Fq(a,FHc),d=b.ka++,e=_.D(_.D(c.V,_.tq,8),_.Hya,2),f=1E3*_.Cf();_.B(e,2,f);_.B(c.V,13,d);b.ma.remove(_.C(a.V,12))};_.g.pY=function(){var a=this.V;if(!a.ka||a.H.W){var b=JHc(a.H,691).build();b=KHc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.Ec(this.W),this.W=null)};_.g.qY=function(){var a=this.H,b=JHc(a,716);LHc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.ze();this.ha&&(this.W=new GHc(this))};_.g.hba=function(){this.V.ha();return _.xi(Array.from(this.V.W)).then()};
_.g.hS=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var MHc=function(a,b,c,d,e){_.P.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.YL(this.ha,3E3,this);this.W=new Set;this.ka=d;this.va=e||6E4};_.N(MHc,_.P);MHc.prototype.initialize=function(){CHc(this.va,this.V.ze,this.V);CHc(36E5,this.ma,this)};MHc.prototype.ha=function(){var a=this;if(0!=this.H.H.qc()&&(!this.ka||this.H.W)){var b=NHc(this.H),c=this.Ba.H(b);c&&(_.zi(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
MHc.prototype.ma=function(){var a=this.H,b=JHc(a,1153).build();a.H.add(b);this.V.ze()};
var OHc=function(a){_.P.call(this);this.H=a;this.Na(this.H)};_.N(OHc,_.P);_.g=OHc.prototype;_.g.Gp=function(a){a=this.H.Gp(a);this.hba();return a};_.g.aE=function(a,b){return this.H.aE(a,b)};_.g.wJ=function(){return this.H.wJ()};_.g.fI=function(a){return this.H.fI(a)};_.g.pY=function(){return this.H.pY()};_.g.qY=function(){return this.H.qY()};_.g.hba=function(){return this.H.hba()};_.g.hS=function(){return this.H.hS()};
var PHc=function(){};PHc.prototype.RL=function(){return new AHc};
var QHc=function(){this.H=[]};QHc.prototype.add=function(a){this.H.push(a)};QHc.prototype.qc=function(){return this.H.length};
var RHc=function(){this.H={}};RHc.prototype.add=function(a){var b=_.C(a.V,12);this.H[b]=a};RHc.prototype.remove=function(a){delete this.H[a]};
var SHc=function(a,b){this.V=a;this.Ea=b;this.ka=1;this.va=this.ha=null;this.ma=new RHc;this.H=new QHc;this.ta=this.Ba=this.W=!1},IHc=function(a,b){a=_.Fq((new _.Eq).initialize(new _.$ya,a.Ea),FHc);_.B(a.V,10,b);return a},NHc=function(a){var b=a.H,c=b.H;b.H=[];return KHc(a,c)},KHc=function(a,b){var c=new _.iAa;var d=_.gl(a.V.ha);c=_.z(c,2,d);d=a.V;(d=d.V?_.gl(d.V):null)&&_.z(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.D(b[h],_.yq,5);if(k&&_.D(k,_.rGc,1)){k=_.D(k,_.rGc,1);_.Gk(k,12)&&
void 0===e&&(e=_.H(k,12));k=_.D(k,qHc,20);if(void 0!==k&&void 0===f){f=new xHc;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?_.gl(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.Kq),void 0!==e&&_.B(d,6,e),void 0!==f&&_.z(d,13,f);(e=d)&&_.z(c,3,e);a=_.gl(a.V.ka);_.z(c,4,a);_.hb(c,1,b);return c},JHc=function(a,b){var c=EHc(IHc(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 tHc;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 sHc,b=_.B(e,1,b),d&&_.hb(b,2,d),d=_.Gq(c),_.z(d,3,b));LHc(a,c);return c},LHc=function(a,b){a.ha=_.C(b.V,12);a.va=_.C(_.D(_.D(b.V,_.tq,8),_.Gya,1),1)};
var THc=function(){};THc.prototype.RL=function(){return new DHc};
var UHc=function(){this.H=this.V=null};UHc.prototype.build=function(){null==this.H&&(this.H=new _.Gza);_.Iq(this.H,FHc,new THc);_.Iq(this.H,BHc,new PHc);var a=this.H;var b=this.V;if(!_.Gk(_.VHc(b),1)){var c=_.VHc(b),d=new _.Xza;_.z(c,1,d)}b=_.D(_.VHc(b),_.Xza,1);a.H=b;b=_.Oc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new SHc(this.V,this.H)};
var WHc=function(){this.ha=new _.nb;this.V=null;this.ka=new wHc;_.B(this.ka,1,6);this.H=this.W=null};WHc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.XHc=function(a,b){_.B(a.ha,2,b);return a};_.YHc=function(a,b){if(null==a.W){a.W=new _.cAa;var c=_.VHc(a);_.z(c,2,a.W)}_.B(a.W,1,b)};_.VHc=function(a){null==a.V&&(a.V=new _.Lq);return a.V};_.ZHc=function(a){null==a.H&&(a.H=new _.Kq);return a.H};
_.$Hc=function(){this.V=this.ma=null;this.ka=new WHc;this.ha=null;this.H=this.ta=!1;this.W=null};_.aIc=function(a,b){a.ma=b;return a};_.bIc=function(a,b){a.V=b;return a};_.cIc=function(a,b){a.ha=b;return a};_.$Hc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.dIc=function(a,b){_.B(a.ka.ha,6,b);return a};
_.$Hc.prototype.build=function(){var a=new UHc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new zHc;this.V=this.ma=b}b=new MHc(a,this.ma,this.V,this.ta,this.W);a=new HHc(a,b,!1);this.H&&(a=new OHc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.hM=function(a){return a instanceof Error};_.iM=function(a){return _.E(a,84,!1)};_.t("sy125");
_.eIc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.eIc,_.M);
_.jM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.jM,_.M);_.jM.prototype.getOptions=function(){return _.D(this,_.eIc,1)};_.jM.prototype.Tn=function(){return _.C(this,2)};_.jM.prototype.Ed=function(){return _.D(this,_.Qe,3)};
_.fIc=function(a){_.T(this,a,0,-1,null,_.kM)};_.O(_.fIc,_.M);_.kM=[[3,4,5,6,7,8,9,10]];
_.gIc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var lM,iIc;lM={};_.hIc=(lM[1]="modifiedDate",lM[2]="modifiedByMeDate",lM[3]="quotaBytesUsed",lM[4]="title",lM[6]="lastViewedByMeDate",lM[10]="createdDate",lM[7]="sharedWithMeDate",lM[9]="starred",lM[11]="recency",lM[5]="relevance",lM[12]="trashedDate",lM[13]="lastViewedByMeDate",lM);iIc={};_.jIc=(iIc[1]="asc",iIc[2]="desc",iIc);
_.kIc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.lIc=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():_.Cf();this.date=new Date(a)};_.O(_.lIc,_.uw);_.g=_.lIc.prototype;_.g.clone=function(){var a=new _.lIc(this.date);a.iD=this.iD;a.eQ=this.eQ;return a};_.g.add=function(a){(a.ka||a.ha)&&_.tw.prototype.add.call(this,new _.sw(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Gt))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.uw.prototype.getUTCFullYear;
_.g.getMonth=_.uw.prototype.getUTCMonth;_.g.getDate=_.uw.prototype.getUTCDate;_.g.getHours=_.uw.prototype.getUTCHours;_.g.getMinutes=_.uw.prototype.getUTCMinutes;_.g.getSeconds=_.uw.prototype.getUTCSeconds;_.g.getMilliseconds=_.uw.prototype.getUTCMilliseconds;_.g.getDay=_.uw.prototype.getUTCDay;_.g.setFullYear=_.uw.prototype.setUTCFullYear;_.g.setMonth=_.uw.prototype.setUTCMonth;_.g.setDate=_.uw.prototype.setUTCDate;_.g.setHours=_.uw.prototype.setUTCHours;_.g.setMinutes=_.uw.prototype.setUTCMinutes;
_.g.setSeconds=_.uw.prototype.setUTCSeconds;_.g.setMilliseconds=_.uw.prototype.setUTCMilliseconds;
var mIc,oIc;mIc={};_.nIc=(mIc[1]="0",mIc[2]="1",mIc[3]="2",mIc);oIc={};_.pIc=(oIc[1]="asc",oIc[2]="desc",oIc);
_.qIc=new _.Aq("drive_dataservice_builder");
_.rIc=_.mh&&0>_.Pf(_.rh,"533");
_.sIc=new _.vHc("drive_dataservice_invariants");
_.tIc=new Map([[[1],1],[[6],7],[[2],2]]);_.uIc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.vIc=new Map([[12,function(a){return _.H(a,69)}],[24,function(a){return _.E(a,3,!1)}],[9,function(a){return _.E(a,17,!1)}],[21,function(a){return _.iM(a)}],[13,function(a){return _.H(a,60)}],[2,function(a){return _.E(a,8,!0)}],[6,function(a){return _.E(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.E(a,56,!1)}],[17,function(a){return _.E(a,57,!1)}],[18,function(a){return _.E(a,54,!1)}],[19,function(a){return _.E(a,53,!1)}],[23,function(a){return _.E(a,15,!1)}],[28,function(){return!0}]]);
_.wIc=new Map([[25,function(a){return _.E(a,1,!1)}],[26,function(a){return _.E(a,2,!1)}],[27,function(a){return _.E(a,3,!1)}],[29,function(a){return _.E(a,4,!1)}],[30,function(a){return _.E(a,5,!1)}],[31,function(a){return _.E(a,6,!1)}]]);_.xIc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.yIc=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]]);_.zIc=new Map([[[2],3],[[1],2],[[0],1]]);_.AIc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.BIc=new Map([[[_.KGc],1],[[_.LGc],2],[[_.MGc],3],[[_.NGc],4],[[_.OGc],5],[[_.PGc],6],[[_.QGc],7],[[_.RGc],8],[[_.SGc],10],[[_.TGc],11],[[_.UGc],12],[[_.VGc],13]]);_.CIc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy128");
_.mM=function(a){_.T(this,a,0,-1,DIc,null)};_.O(_.mM,_.M);var DIc=[8,17];_.mM.prototype.Rz=function(){return _.C(this,1)};_.mM.prototype.Kc=function(){return _.C(this,2)};_.nM=function(a,b){return _.B(a,2,b)};_.mM.prototype.yj=function(){return _.E(this,3,!1)};_.mM.prototype.getItem=function(){return _.D(this,_.Nl,4)};_.mM.prototype.setItem=function(a){return _.z(this,4,a)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var HIc;_.qM=function(a){if(a instanceof _.Nb)return a;var b;if(_.hM(a)){if(b=_.Lmb(a))return b;b=_.PDa(void 0,void 0,a)}else b="string"===typeof a?_.PDa(a):_.PDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.oM(b,2);_.pM(b,6);return b};_.EIc=function(a){var b=a.xj();a=a.dD();return 15==b||32==b||33==b||401==a};_.FIc=function(){return _.q.WorkerGlobalScope&&self instanceof _.q.WorkerGlobalScope};
_.GIc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.GIc,_.M);_.rM=function(a){return _.Kk(a,1,0)};_.sM=function(a){return _.D(a,_.GIc,4)};_.oM=function(a,b){return _.B(a,1,b)};_.pM=function(a,b){return _.B(a,2,b)};HIc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.tM=function(a){_.T(this,a,0,-1,HIc,null)};_.O(_.tM,_.M);_.g=_.tM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.B(this,2,a)};_.g.zg=function(){return _.C(this,3)};_.g.Xl=function(a){return _.B(this,3,a)};_.g.qt=function(a){return _.B(this,4,a)};_.g.ki=function(){return _.H(this,5)};_.g.co=function(a){return _.B(this,5,a)};_.g.$b=function(){return _.C(this,6)};_.g.mB=function(a,b){_.Zk(this,8,a,b)};_.g.Ri=function(){return _.C(this,12)};_.g.ue=function(){return _.D(this,_.ff,17)};_.g.Vq=function(){return _.H(this,18)};_.uM=function(a,b){return _.B(a,16,b)};_.t("sy127");
_.vM=function(a){_.T(this,a,0,-1,IIc,null)};_.O(_.vM,_.M);var IIc=[5];_.vM.prototype.Hi=function(){return _.Ad(this,5)};_.vM.prototype.ue=function(){return _.D(this,_.ff,6)};
var JIc;JIc={};_.KIc=(JIc[0]="/drive/v2internal",JIc[1]="/drive/v2internal.corp",JIc[2]="/drive/v2internal.scary",JIc[4]="/drive/v2internal.scary",JIc[5]="/drive/v2beta",JIc[6]="/drive/v2.1beta",JIc);
_.LIc=new Set([0,1,2,3]);
_.MIc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.NIc=_.B(new _.tM,15,!0);_.OIc=_.uM(new _.tM,!0);_.PIc=_.uM(new _.tM,!1);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.RIc=function(a){for(var b in a)delete a[b]};_.SIc=function(a){a=_.jg(a);return 0===a.length?_.tga:new _.vg(a,_.sga)};_.TIc=function(a,b){a=_.uj(a);b=_.uj(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy12p");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.wM=function(a,b){return _.B(a,82,b)};_.xM=function(a){return _.B(a,3,!0)};_.UIc=function(a,b){return _.B(a,7,b)};_.t("sy126");
_.VIc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.WIc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var bJc;_.ZIc=function(a){var b={};_.Qf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.$Ic=function(a){return(a=a&&_.ZIc(a))&&a["x-guploader-uploadid"]};_.aJc=function(a){return(a=a&&_.ZIc(a))&&a["x-google-trace"]};bJc=[6];_.cJc=function(a){_.T(this,a,0,-1,bJc,null)};_.O(_.cJc,_.M);_.yM=function(a,b){return _.B(a,14,b)};_.t("sy12q");
var dJc,fJc;
_.eJc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200==a||204==a||308==a)return null;e=dJc(e)||new _.Nb;_.B(e,8,!0);k&&(k=_.Uj(new _.Pj(k),void 0).toString(),_.B(e,19,k));e.dD()||_.B(e,15,a||f);e.getMessage()||_.Jr(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.C(e,4)||_.Kr(e,d);e.xj()||(5==f?_.yM(e,7):0!=a||d?403==a?_.yM(e,22):503==a||429==a?_.yM(e,24):(_.Sk(e,14),_.B(e,10,1),_.B(e,8,!0)):l||_.yM(e,2));e.r7(_.$Ic(c));e.f7(_.aJc(c));return e};
dJc=function(a){if(!_.Aa(a))return null;var b=new _.Nb,c=a.error;if(!c)return _.Kr(b,JSON.stringify(a)),null;_.B(b,15,c.code);_.Jr(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=fJc[c];d?_.B(b,10,d):c&&!d&&_.B(b,10,2);(a=a.debugInfo)&&_.Kr(b,a);return b};
fJc={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{
_.gJc=function(a,b){return _.B(a,1,b)};_.hJc=function(a,b){return _.z(a,1,b)};_.iJc=function(a,b){return _.B(a,2,b)};_.jJc=function(a,b){return _.z(a,3,b)};_.t("sy12r");

_.w();

}catch(e){_._DumpException(e)}
try{
_.zM=function(a,b){a.H=b;a.ka=0};_.AM=function(a,b){return _.B(a,b,[])};_.BM=function(a,b){return _.hb(a,b,[])};_.CM=function(a){return _.E(a,5,!1)};_.kJc=function(a,b){var c=_.D(a.V,_.Iya,9);null==c&&(c=new _.Iya);var d=_.C(b.V,10);d=_.B(c,5,d);b=_.C(b.V,12);_.B(d,2,b);_.z(a.V,9,c)};_.lJc=function(a,b,c){c&&(a=_.Wg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Vg(a));return a};
_.mJc=function(a){var b=_.lka(a);if("undefined"==typeof b)throw Error("V");var c=new _.Xj(null,void 0);a=_.rj(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Vka(c,e,f):c.add(e,f)}return c};
_.nJc=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("sy133");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.oJc=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 pJc,qJc,uJc,yJc,zJc,TJc,vN,UJc,VJc,bKc,wJc,IKc,vJc,eLc,gLc,iLc,jLc,kLc,lLc,nLc,oLc,pLc,qLc,sLc,FLc,GLc,ILc,JLc,NLc,MJc,RLc,NJc,SLc,TLc,YN,$N,VLc,WLc,XLc,YLc,ZLc,bMc,cMc,dMc,eMc,fMc,jMc,kMc,lMc,mMc,nMc,pMc,tMc,rMc,uMc,vMc,qMc,wMc,sMc,FMc,EMc,GMc,LMc,MMc,NMc,SMc,TMc,VMc,WMc,bNc,aNc,$Mc,YMc,ZMc,dNc,gNc,jNc,lNc,mNc,nNc,oNc,WJc,pNc,XJc,YJc,ZJc,$Jc,aKc,qNc,tNc;_.DM=function(a,b,c){var d=new _.Nb,e=_.$ia(_.DM);_.B(d,20,e);_.pM(d,a);_.oM(d,b?b:2);c&&_.yM(d,c);return d};
_.EM=function(a){var b;a instanceof _.Nb?b=new _.Ob(null,a):b=_.hM(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=_.$ia(_.EM));return b};_.FM=function(a){return a instanceof _.Ob?a:a instanceof _.Nb?new _.Ob(void 0,a):a instanceof Error?new _.Ob("Not a drive.ds.Error",void 0,a):new _.Ob("Not an Error",void 0,Error("nb`"+JSON.stringify(a)))};_.GM=function(a){throw _.FM(a);};
pJc=function(a){return 7==a.xj()||24==a.Qo()&&(a=a.dD(),503==a||429==a)?!0:!1};qJc=function(a,b){return b?b+"("+a+")":a};
_.HM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.ifb&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.rJc.includes(n)){var p=_.Z3a.get(n);if(p){var r=_.MA[n];a.vL&&r&&(p=r);a.Tx&&(a.vL?(n=_.LA[n])&&(p=n):(n=_.$3a[n])&&(p=n));p.split(",").forEach(function(u){var x=_.dha(u,"/",1);1<x.length?(d[x[0]]||(d[x[0]]=[]),d[x[0]].push(x[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={l_:f.l_},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.l_=[];l.forEach(function(n){return function(p){n.l_.push(p)}}(f));"owners"==k&&b&&f.l_.push("kind");e.push(qJc(f.l_.join(","),k))}return qJc(e.join(","),c)};_.sJc=function(a){var b=new _.Hq;b.append(_.HM(a,!0));return b.toString()};_.tJc=function(a,b){return a.filter(function(c){return b.includes(c)})};uJc=function(a){a=a.filter(function(b){return!_.Z3a.has(b)});if(a.length)throw Error("Fc`"+a.join(", "));};
_.xJc=function(a){if(a){var b=a.$b();b&&_.XL(a,b.toLowerCase());vJc(a,_.al(a,wJc,58).map(function(c){var d=c.$b();d&&_.B(c,1,d.toLowerCase());return c}))}};yJc=function(a){if(_.Xf(a))return"\r\n";var b="";_.Qf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};zJc=function(a,b){b&&(_.dk(a,"openDrive",!!_.E(b,2,!1)),_.dk(a,"reason",_.C(b,1)||0),_.dk(a,"syncType",_.C(b,3)||0),_.dk(a,"errorRecovery",!!_.E(b,4,!1)))};
TJc=function(a){if(a instanceof _.IM)return"request access";if(a instanceof _.JM)return"admin migrate to TD";if(a instanceof _.KM)return"authorize app";if(a instanceof _.LM)return"copy item";if(a instanceof _.MM)return"change category links";if(a instanceof _.NM)return"create item";if(a instanceof _.OM)return"create ws";if("undefined"!=typeof _.PM&&a instanceof _.PM)return"delete app";if("undefined"!=typeof _.QM&&a instanceof _.QM)return"delete backup";if(a instanceof _.RM)return"delete item";if("undefined"!=
typeof _.SM&&a instanceof _.SM)return"delete permission";if(a instanceof _.TM)return"delete revision";if(a instanceof _.UM)return"delete TD";if("undefined"!=typeof _.EE&&a instanceof _.EE)return"delete pref";if(a instanceof _.VM)return"delete ws";if(a instanceof _.WM)return"download item";if(a instanceof _.XM)return"empty trash";if(a instanceof _.ap)return"find by ID";if(a instanceof _.AJc)return"item export start";if("undefined"!=typeof _.YM&&a instanceof _.YM)return"get app";if("undefined"!=typeof _.ZM&&
a instanceof _.ZM)return"insert app";if("undefined"!=typeof _.$M&&a instanceof _.$M)return"insert permission";if(a instanceof _.jM)return a=a.Ed(),_.aN(a)?"quick access item query":_.bN(a)?"people predict item query":_.cN(a)?"drive priority query":"item query";if("undefined"!=typeof _.dN&&a instanceof _.dN)return"list android backup items request";if(a instanceof _.eN){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 _.fN&&a instanceof _.fN?"list backups":a instanceof _.vM?"list changes":a instanceof _.gN?"list permissions":"undefined"!=typeof _.hN&&a instanceof _.hN?"list revisions":a instanceof _.iN?"people api":a instanceof _.mH?"get published category":"undefined"!=typeof _.BJc&&a instanceof _.BJc?"get remaining changes":a instanceof _.jN?"remove item":"undefined"!=typeof _.kN&&a instanceof _.kN?"reparent item":a instanceof
_.CJc?"restore item":"undefined"!=typeof _.lN&&a instanceof _.lN?"list suggested workspace items":a instanceof _.hp?"list suggested workspaces":"undefined"!=typeof _.mN&&a instanceof _.mN?"update app":a instanceof _.nN?"update category metadata":a instanceof _.tM?"update item":a instanceof _.oN?"update revision":a instanceof _.pN?"update TD":"undefined"!=typeof _.FE&&a instanceof _.FE?"update pref":a instanceof _.qN?"update ws":a instanceof _.rN?"get account":"undefined"!=typeof _.sN&&a instanceof
_.sN?"get workspace":a instanceof _.DJc?"list activity":a instanceof _.EJc?"list category metadata":a instanceof _.FJc?"create TD":"undefined"!=typeof _.GJc&&a instanceof _.GJc?"item export cancel":"undefined"!=typeof _.HJc&&a instanceof _.HJc?"item export status":"undefined"!=typeof _.IJc&&a instanceof _.IJc?"generate cse token":"undefined"!=typeof _.JJc&&a instanceof _.JJc?"get largest change ID":a instanceof _.KJc?"list prefs":a instanceof _.tN?"multipart upload":a instanceof _.LJc?"list published categories":
a instanceof MJc?"init resumable upload":a instanceof NJc?"resumable upload chunk":a instanceof _.OJc?"resumable upload":a instanceof _.ip?"get TD":"undefined"!=typeof _.PJc&&a instanceof _.PJc?"move TD preflight":a instanceof _.uN?"list TDs":"undefined"!=typeof _.QJc&&a instanceof _.QJc?"get TD stats":a instanceof _.RJc?"test connection":"undefined"!=typeof _.SJc&&a instanceof _.SJc?"list workspaces":"unknown"};
vN=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};UJc=function(a){if(a instanceof _.NM||a instanceof _.tN||a instanceof _.OJc||a instanceof MJc||a instanceof NJc)return(new _.wN).Bc(8);throw Error("Qe");};VJc=function(a){if(a instanceof _.tM){var b=_.Tk(_.Sk(_.gl(a),1),17);b=_.fl(b,_.NIc)}else b=!1;b||(a instanceof _.tM?(a=_.Tk(_.Sk(_.gl(a),1),17),b=_.fl(a,_.OIc)||_.fl(a,_.PIc)):b=!1);return b?!1:!0};
_.xN=function(a){return WJc.includes(a.constructor)?VJc(a):!1};bKc=function(a,b){return XJc.includes(a.constructor)||b&&(_.E(b,54,!1)&&YJc.includes(a.constructor)||ZJc.includes(a.constructor)&&!_.yN(a)||_.E(b,56,!1)&&_.yN(a)||_.E(b,57,!1)&&$Jc.includes(a.constructor)||!(!_.E(b,53,!1)||YJc.includes(a.constructor)||ZJc.includes(a.constructor)||_.yN(a)||$Jc.includes(a.constructor)||aKc.includes(a.constructor)))?!0:!1};_.cKc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.cKc,_.M);
_.zN=function(a){return _.E(a,2,!1)};_.dKc=function(a){var b=new _.Cl;return _.B(b,1,a)};_.eKc=function(a,b){return _.B(a,7,b)};_.fKc=function(a,b){return _.B(a,8,b)};_.gKc=function(a,b){return _.B(a,11,b)};_.hKc=function(a,b){return _.B(a,1,b)};_.iKc=function(a,b){return _.B(a,4,b)};_.jKc=function(a,b){return _.B(a,5,b)};_.kKc=function(a,b){return _.B(a,6,b)};_.lKc=function(a,b){return _.B(a,7,b)};_.mKc=function(a,b){return _.B(a,8,b)};_.nKc=function(a,b){return _.B(a,9,b)};
_.oKc=function(a,b){return _.B(a,10,b)};_.pKc=function(a,b){return _.B(a,11,b)};_.qKc=function(a,b){return _.B(a,12,b)};_.rKc=function(a,b){return _.B(a,16,b)};_.sKc=function(a,b){return _.B(a,17,b)};_.tKc=function(a,b){return _.B(a,20,b)};_.uKc=function(a,b){return _.B(a,21,b)};_.vKc=function(a,b){return _.B(a,31,b)};_.wKc=function(a,b){return _.B(a,32,b)};_.xKc=function(a,b){return _.B(a,33,b)};_.yKc=function(a,b){return _.B(a,42,b)};_.zKc=function(a,b){return _.B(a,43,b)};
_.AKc=function(a,b){return _.B(a,46,b)};_.BKc=function(a,b){return _.B(a,47,b)};_.CKc=function(a,b){return _.B(a,48,b)};_.AN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.AN,_.M);_.EN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.EN,_.M);_.EN.prototype.Eu=function(){return _.C(this,4)};_.DKc=function(a,b){return _.B(a,1,b)};_.EKc=function(a,b){return _.B(a,2,b)};wJc=function(a){_.T(this,a,0,-1,null,null)};_.O(wJc,_.M);wJc.prototype.$b=function(){return _.C(this,1)};
wJc.prototype.getUrl=function(){return _.C(this,2)};_.FN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.FN,_.M);_.FN.prototype.Ve=function(){return _.C(this,3)};_.FN.prototype.ug=function(a){return _.B(this,3,a)};_.FKc=function(a,b){return _.B(a,1,b)};_.GKc=function(a,b){return _.hb(a,2,b)};_.HKc=function(a,b){return _.hb(a,3,b)};IKc=[2];_.GN=function(a){_.T(this,a,0,-1,IKc,null)};_.O(_.GN,_.M);_.GN.prototype.zg=function(){return _.C(this,1)};_.GN.prototype.Xl=function(a){return _.B(this,1,a)};
_.GN.prototype.Vka=function(a,b){return _.Zk(this,2,a,b)};_.HN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.HN,_.M);_.HN.prototype.Ve=function(){return _.C(this,2)};_.HN.prototype.ug=function(a){return _.B(this,2,a)};_.IN=function(a,b){return _.B(a,2,b||[])};_.JKc=function(a,b){_.B(a,8,b)};_.KKc=function(a,b){return _.hb(a,15,b)};_.LKc=function(a,b){return _.z(a,17,b)};_.MKc=function(a,b){return _.B(a,19,b)};_.NKc=function(a,b){_.B(a,26,b)};_.OKc=function(a,b){_.B(a,31,b)};
_.PKc=function(a,b){_.B(a,34,b)};_.QKc=function(a,b){return _.B(a,44,b)};_.RKc=function(a,b){return _.B(a,52,b)};vJc=function(a,b){_.hb(a,58,b)};_.SKc=function(a,b){return _.B(a,72,b)};_.TKc=function(a,b){_.z(a,85,b)};_.UKc=function(a,b){return _.B(a,92,b)};_.VKc=function(a,b){return _.B(a,93,b)};_.JN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.JN,_.M);_.JN.prototype.kb=function(){return _.C(this,1)};_.JN.prototype.Vb=function(a){return _.B(this,1,a)};
_.JN.prototype.Ej=function(){return _.Sk(this,1)};_.JN.prototype.Cg=function(){return _.Gk(this,1)};var WKc=[3],XKc=function(a){_.T(this,a,0,-1,WKc,null)};_.O(XKc,_.M);XKc.prototype.V=function(){var a=_.C(this,3);this.Sa||(this.Sa={});if(!this.Sa[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Sa[3]=!0}_.ib(this)&&_.fb(a);return a};var YKc=[3],ZKc=function(a){_.T(this,a,0,-1,YKc,null)};_.O(ZKc,_.M);ZKc.prototype.V=function(){return _.Ad(this,3)};var $Kc=[3],aLc=function(a){_.T(this,a,0,-1,$Kc,null)};
_.O(aLc,_.M);aLc.prototype.V=function(){return _.Ad(this,3)};_.KN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.KN,_.M);_.KN.prototype.kb=function(){return _.C(this,1)};_.KN.prototype.Vb=function(a){return _.B(this,1,a)};_.KN.prototype.Ej=function(){return _.Sk(this,1)};_.KN.prototype.Cg=function(){return _.Gk(this,1)};_.LN=function(a){return _.al(a,_.We,6)};_.MN=function(a){return _.al(a,_.uc,12)};_.NN=function(a){return _.Jk(a,45,1)};_.aN=function(a){return _.E(a,47,!1)};
_.bN=function(a){return _.E(a,49,!1)};_.cN=function(a){return _.E(a,52,!1)};_.ON=function(a){return _.G(a,2,"")};_.bLc=function(a,b){return _.B(a,27,b||[])};_.PN=function(a){return _.Jk(a,39,0)};_.QN=function(a){return _.E(a,40,!1)};_.RN=function(a){return _.E(a,89,!1)};_.cLc=function(a){return _.tw.prototype.wT.call(a,!0)+"T"+_.$g(a.getHours(),2)+":"+_.$g(a.getMinutes(),2)+":"+_.$g(a.getSeconds(),2)+a.R2()};_.dLc=function(a,b){return _.B(a,18,b||[])};
eLc=function(a,b){return _.$Gc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.fLc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.eM(c,"deleting object store "+b);}};gLc=function(){var a=new _.$Hc;a.W=12E4;a.ta=!0;return a};_.hLc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.hLc,_.M);iLc=[3,4,10,18,19,28];_.NM=function(a){_.T(this,a,0,-1,iLc,null)};_.O(_.NM,_.M);_.g=_.NM.prototype;_.g.$b=function(){return _.C(this,1)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.B(this,2,a)};_.g.mB=function(a,b){_.Zk(this,3,a,b)};_.g.ue=function(){return _.D(this,_.ff,7)};_.g.Kc=function(){return _.C(this,23)};_.g.Eu=function(){return _.C(this,24)};_.SN=function(a,b){return _.B(a,1,b)};_.TN=function(a,b){return _.B(a,3,b||[])};_.UN=function(a){return _.C(a,9)};_.RM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.RM,_.M);_.RM.prototype.getId=function(){return _.C(this,1)};_.RM.prototype.Wb=function(a){return _.B(this,1,a)};
_.RM.prototype.ue=function(){return _.D(this,_.ff,3)};_.UM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.UM,_.M);_.UM.prototype.getId=function(){return _.C(this,1)};_.UM.prototype.Wb=function(a){return _.B(this,1,a)};_.UM.prototype.ue=function(){return _.D(this,_.ff,2)};jLc=[7,8];_.pN=function(a){_.T(this,a,0,-1,jLc,null)};_.O(_.pN,_.M);_.g=_.pN.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.B(this,2,a)};_.g.ue=function(){return _.D(this,_.ff,4)};_.g.nm=function(){return _.H(this,15)};_.uN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.uN,_.M);_.uN.prototype.getOptions=function(){return _.D(this,_.eIc,1)};_.uN.prototype.Tn=function(){return _.C(this,2)};_.uN.prototype.Ed=function(){return _.D(this,_.$L,3)};
kLc={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."};
lLc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};_.mLc=function(a){if(_.fla)return _.q.atob(a);var b="";_.hla(a,function(c){b+=String.fromCharCode(c)});return b};nLc=function(){this.V=0;this.H=[]};_.g=nLc.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=oLc(this,a);return this.H[a]};_.g.set=function(a,b){a=oLc(this,a);this.H[a]=b};_.g.qc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};
_.g.clear=function(){this.V=this.H.length=0};_.g.Ng=function(){var a=this.qc(),b=this.qc(),c=[];for(a=this.qc()-a;a<b;a++)c.push(this.get(a));return c};_.g.mf=function(){for(var a=[],b=this.qc(),c=0;c<b;c++)a[c]=c;return a};_.g.kp=function(a){for(var b=this.qc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};oLc=function(a,b){if(b>=a.H.length)throw Error("da");return 40>a.H.length?b:(a.V+Number(b))%40};pLc=[2,3];_.MM=function(a){_.T(this,a,0,-1,pLc,null)};_.O(_.MM,_.M);
_.MM.prototype.ue=function(){return _.D(this,_.ff,4)};_.VN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.VN,_.M);_.VN.prototype.getId=function(){return _.C(this,1)};_.VN.prototype.Wb=function(a){return _.B(this,1,a)};_.VN.prototype.$b=function(){return _.C(this,2)};_.VN.prototype.qF=function(){return _.C(this,8)};qLc=[22];_.wN=function(a){_.T(this,a,0,-1,qLc,null)};_.O(_.wN,_.M);_.g=_.wN.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};
_.g.getItem=function(){return _.D(this,_.Nl,2)};_.g.setItem=function(a){return _.z(this,2,a)};_.g.Wj=function(){return _.C(this,3)};_.g.Kc=function(){return _.C(this,5)};_.rLc=function(a,b){return _.B(a,5,b)};_.g=_.wN.prototype;_.g.tD=function(){return _.C(this,7)};_.g.r7=function(a){return _.B(this,7,a)};_.g.Fna=function(a){_.B(this,9,a)};_.g.aFa=function(a){_.B(this,10,a)};_.g.VL=function(){return _.C(this,16)};_.g.f7=function(a){return _.B(this,16,a)};_.IM=function(a){_.T(this,a,0,-1,null,null)};
_.O(_.IM,_.M);_.IM.prototype.Kc=function(){return _.C(this,1)};_.JM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.JM,_.M);_.JM.prototype.getId=function(){return _.C(this,1)};_.JM.prototype.Wb=function(a){return _.B(this,1,a)};_.JM.prototype.Xj=function(){return _.C(this,2)};_.KM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.KM,_.M);_.KM.prototype.Kc=function(){return _.C(this,2)};_.KM.prototype.ue=function(){return _.D(this,_.ff,4)};sLc=[3,7];_.LM=function(a){_.T(this,a,0,-1,sLc,null)};_.O(_.LM,_.M);
_.g=_.LM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.mB=function(a,b){_.Zk(this,3,a,b)};_.g.ue=function(){return _.D(this,_.ff,5)};_.OM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.OM,_.M);_.OM.prototype.getTitle=function(){return _.C(this,1)};_.OM.prototype.setTitle=function(a){return _.B(this,1,a)};_.OM.prototype.ue=function(){return _.D(this,_.ff,2)};
_.TM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.TM,_.M);_.TM.prototype.Kc=function(){return _.C(this,1)};_.TM.prototype.ue=function(){return _.D(this,_.ff,3)};_.VM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.VM,_.M);_.VM.prototype.getId=function(){return _.C(this,1)};_.VM.prototype.Wb=function(a){return _.B(this,1,a)};_.VM.prototype.ue=function(){return _.D(this,_.ff,3)};_.XM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XM,_.M);_.XM.prototype.ue=function(){return _.D(this,_.ff,1)};
_.jN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.jN,_.M);_.g=_.jN.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Qg=function(a){return _.B(this,2,a)};_.g.ue=function(){return _.D(this,_.ff,3)};_.CJc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.CJc,_.M);_.g=_.CJc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};
_.g.Qg=function(a){return _.B(this,2,a)};_.g.ue=function(){return _.D(this,_.ff,3)};_.oN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.oN,_.M);_.oN.prototype.Kc=function(){return _.C(this,1)};_.oN.prototype.ue=function(){return _.D(this,_.ff,4)};_.qN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.qN,_.M);_.g=_.qN.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=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.Od=function(a){return _.B(this,3,a)};_.g.Dq=function(){return _.Gk(this,3)};_.g.ue=function(){return _.D(this,_.ff,5)};var tLc=function(a){_.T(this,a,0,-1,null,null)};_.O(tLc,_.M);_.uLc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.uLc,_.M);_.uLc.prototype.vf=function(){return _.C(this,1)};_.uLc.prototype.Hb=function(){return _.C(this,4)};_.uLc.prototype.Bc=function(a){return _.B(this,4,a)};var vLc=function(a){_.T(this,a,0,-1,null,null)};_.O(vLc,_.M);
var wLc=function(a,b){_.B(a,6,b)},xLc=function(a){_.T(this,a,0,-1,null,null)};_.O(xLc,_.M);_.g=xLc.prototype;_.g.Z2a=function(a){_.B(this,1,a)};_.g.Dxb=function(a){_.B(this,2,a)};_.g.uy=function(){return _.H(this,3)};_.g.$2a=function(a){_.B(this,3,a)};_.g.lxb=function(a){_.B(this,4,a)};var yLc=function(a){_.T(this,a,0,-1,null,null)};_.O(yLc,_.M);yLc.prototype.uy=function(){return _.H(this,2)};var zLc=function(a,b){return _.B(a,2,b)},ALc=function(a,b){_.B(a,3,b)};
yLc.prototype.qy=function(){return _.C(this,6)};var BLc=function(a,b){return _.B(a,8,b)},CLc=function(a){_.T(this,a,0,-1,null,null)};_.O(CLc,_.M);var DLc=function(a){_.T(this,a,0,-1,null,null)};_.O(DLc,_.M);DLc.prototype.Ed=function(){return _.D(this,_.uLc,1)};DLc.prototype.getState=function(){return _.D(this,vLc,2)};DLc.prototype.Od=function(a){return _.z(this,2,a)};DLc.prototype.Dq=function(){return _.Gk(this,2)};var ELc=function(a){_.T(this,a,0,-1,null,null)};_.O(ELc,_.M);
ELc.prototype.getEnvironment=function(){return _.C(this,2)};ELc.prototype.setEnvironment=function(a){return _.B(this,2,a)};_.rJc=[42,1005,20,50,18,1003,1002];FLc=[73,71];GLc=function(a){var b=new _.Bi;a.listen("loadend",_.Ta(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Qd(f):c.callback(e);d.dispose()},b,a));return b};_.HLc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};ILc=[3,4];_.eN=function(a){_.T(this,a,0,-1,ILc,null)};_.O(_.eN,_.M);
_.eN.prototype.getType=function(){return _.C(this,1)};_.eN.prototype.ue=function(){return _.D(this,_.ff,2)};JLc=[1];_.iN=function(a){_.T(this,a,0,-1,JLc,null)};_.O(_.iN,_.M);_.iN.prototype.om=function(){return _.Ad(this,1)};_.rN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.rN,_.M);_.rN.prototype.ue=function(){return _.D(this,_.ff,1)};_.rN.prototype.Tg=function(){return _.C(this,4)};_.KLc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.KLc,_.M);_.g=_.KLc.prototype;
_.g.getKey=function(){return _.C(this,1)};_.g.kb=function(){return _.C(this,2)};_.g.Vb=function(a){return _.B(this,2,a)};_.g.Ej=function(){return _.Sk(this,2)};_.g.Cg=function(){return _.Gk(this,2)};_.g.zg=function(){return _.C(this,3)};_.g.Xl=function(a){return _.B(this,3,a)};_.g.getType=function(){return _.C(this,4)};var LLc=function(a){_.aj.call(this,a);_.gIc.get(a)};_.N(LLc,_.aj);
_.MLc=function(){var a=void 0===a?1E3:a;this.V=new _.Sm;this.H=new _.Sm;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.OLc=function(a){var b=a.V.Ng();a.W&&b.push(NLc("...","...","...","..."));_.wa(b,a.H.Ng());return b};_.PLc=function(a){var b=[];a=_.OLc(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")};_.MLc.prototype.info=function(a,b){_.WN(this,a,b,"info")};
_.MLc.prototype.config=function(a,b){_.WN(this,a,b,"config")};_.MLc.prototype.log=function(a,b,c){_.WN(this,a,b,c)};_.WN=function(a,b,c,d){a.H.qc()>=a.ka&&(a.W=!0,_.Tm(a.H));var e=Date.now()-a.ma;b=NLc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.qc()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};NLc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.DJc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.FJc=function(a){this.request=a;this.requestId=_.bh()};
_.QLc=function(a,b,c,d){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d};_.KJc=function(a,b){this.request=a;this.H=b};_.tN=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.OJc=function(a,b,c,d){this.request=a;this.file=b;this.d0=c||null;this.metadata=d};MJc=function(a,b){this.request=a;this.metadata=b};RLc=function(a,b,c){this.Fjb=a;this.cwb=b;this.$1a=c};
NJc=function(a,b,c,d,e,f,h){this.ka=a;this.H=b;this.V=c;this.W=d;this.ha=e;this.contentType=f;this.revisionId=h};_.RJc=function(){this.H=_.gf(new _.ff,312)};_.EJc=function(a,b){this.request=a;this.pageToken=b||""};_.LJc=function(a,b){this.request=a;this.pageToken=b||""};SLc=function(a,b){this.w$=a;this.AG=b};TLc=function(a){_.aj.call(this,"Ab");this.Ey=a};_.N(TLc,_.aj);TLc.prototype.$e=function(){return this.Ey};_.XN=function(a){a.supportsTeamDrives=!0};
YN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.ZN=function(a,b,c){a.xM.length&&a.append(" "+(c||"and")+" ");a.append(b)};$N=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(YN(c));e.push("in");e.push(b);_.ZN(a,e.join(" "))}};_.aO=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());_.ZN(a,e.join(" "),d)}};_.ULc=function(a){var b=new _.lIc;b.setTime(a);return b};
VLc=function(a,b){b=_.al(b,_.JN,35)||[];_.Ha(b,function(c){$N(a,"ancestors",c.kb(),!1)})};WLc=function(a,b){b=_.al(b,_.JN,38)||[];_.Ha(b,function(c){$N(a,"descendants",c.kb(),!1)})};XLc=function(a,b){b=_.al(b,_.em,37)||[];_.Ha(b,function(c){$N(a,"folderFeatures",c.kb(),!1)})};YLc=function(a,b){b=_.Ad(b,39);_.Ha(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(YN(c));_.ZN(a,d.join(" "))})};
ZLc=function(a,b){b=_.Ad(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(YN(b));_.ZN(a,c.join(" "))}};_.$Lc=function(a){a=_.al(a,_.KN,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].kb());return b.join(",")};_.aMc=function(a){a=a.Sv();return null==a||0==a.length?"":_.gb(a,function(b){b=_.C(b,1);if(0==b)throw Error("Be");return _.kGc[b]}).join(",")};
bMc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=YN(a.kb());_.H(a,4)?(_.E(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.E(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(" ")};cMc=function(a){if(_.H(a,2))return"any";switch(a.kb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
dMc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};eMc=function(a,b,c){if(null!=_.C(c,2)){var d=dMc(_.C(c,1));c=YN(_.cLc(_.ULc(_.C(c,2)||0)));_.ZN(a,[b,d,c].join(" "))}};fMc=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""};
_.gMc=function(a){for(var b=new _.Hq,c=_.al(a,_.gm,4),d=0;d<c.length;d++){var e=c[d],f=e.kb();if(f){var h=_.C(e,1),k=_.E(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(YN(f));_.ZN(b,l.join(" "))}}for(var n=_.al(a,_.fm,5),p=0;p<n.length;p++){var r=n[p],u=r.kb();if(u){var x=[];_.E(r,2,!1)&&x.push("not");x.push("fullText");x.push("contains");x.push(YN(u));_.ZN(b,x.join(" "))}}var A=_.LN(a);if(A&&0!=A.length){for(var F=[],J=[],I=0;I<A.length;I++){var R=A[I];
R.kb()&&(_.E(R,2,!1)?J.push(R):F.push(R))}for(var S=0;S<F.length;S++){var ea=bMc(F[S],0==S?"(":"",S==F.length-1?")":"");_.ZN(b,ea,0!=S?"or":"and")}for(var ba=0;ba<J.length;ba++)_.ZN(b,bMc(J[ba],0==ba?"(":"",ba==J.length-1?")":""))}for(var ua=_.al(a,_.dm,7),oa=0;oa<ua.length;oa++)eMc(b,"modifiedDate",ua[oa]);for(var ka=_.al(a,_.dm,8),za=0;za<ka.length;za++)eMc(b,"lastViewedByMeDate",ka[za]);_.aO(b,"trashed",a.ki());_.aO(b,"explicitlyTrashed",_.H(a,17));_.aO(b,"starred",_.H(a,10));_.aO(b,"hidden",a.nm());
for(var Pa=_.MN(a),ub=0;ub<Pa.length;ub++){var Za=Pa[ub];$N(b,"parents",Za.kb(),_.E(Za,2,!1))}for(var Ub=_.al(a,_.Se,13),ad=0;ad<Ub.length;ad++){var Rd=Ub[ad];$N(b,"owners",Rd.kb(),_.E(Rd,2,!1))}for(var Ue=_.al(a,_.Se,14),Ne=0;Ne<Ue.length;Ne++){var Ve=Ue[Ne];$N(b,"writers",Ve.kb(),_.E(Ve,2,!1))}for(var Oe=_.al(a,_.Se,15),Kh=0;Kh<Oe.length;Kh++){var md=Oe[Kh];$N(b,"readers",md.kb(),_.E(md,2,!1))}_.H(a,16)&&_.ZN(b,"sharedWithMe");_.aO(b,"unparented",_.H(a,34));VLc(b,a);WLc(b,a);XLc(b,a);YLc(b,a);for(var Lh=
_.Ad(a,40),Gg=0;Gg<Lh.length;Gg++){var wf=[];0==Gg&&wf.push("(");wf.push(YN(Lh[Gg]));wf.push("in");wf.push("templateData.categories");Gg==Lh.length-1&&wf.push(")");_.ZN(b,wf.join(" "),0==Gg?"and":"or")}var Gb=_.C(a,41);if(null!=Gb){var gh=[];gh.push("templateData.galleryState");gh.push("=");gh.push(YN(_.nIc[Gb]||""));_.ZN(b,gh.join(" "))}var jj=_.C(a,42);if(null!=jj){var Ji=[];Ji.push("visibility");Ji.push("=");Ji.push(YN(fMc(jj)));_.ZN(b,Ji.join(" "))}for(var rn=_.al(a,_.am,44),po=0;po<rn.length;++po){var rg=
rn[po];$N(b,"actionItems",cMc(rg),_.E(rg,3,!1))}if(_.Gk(a,50)){var $f=[];$f.push("pairedDocType");var hh=_.E(a,50,!1)?"!=":"=";$f.push(hh);$f.push(YN("NONE"));_.ZN(b,$f.join(" "))}$N(b,"workspaceIds",_.C(a,54),!1);for(var Lk=_.al(a,_.bm,57),kj=0;kj<Lk.length;kj++){var sn=[];0==kj&&sn.push("(");sn.push(YN(Lk[kj].kb()));sn.push("in");sn.push("approvals");kj==Lk.length-1&&sn.push(")");_.ZN(b,sn.join(" "),0==kj?"and":"or")}if(_.Gk(a,58)){var Yj=_.D(a,_.Se,58),Zj=Yj.kb(),ak=_.E(Yj,2,!1);if(Zj){var Vi=
[];ak&&Vi.push("not");Vi.push("creator");Vi.push("=");Vi.push(YN(Zj));_.ZN(b,Vi.join(" "))}}var ph=_.D(a,_.rna,59);if(ph)for(var Mh=_.m(_.al(ph,_.pna,1)),Ql=Mh.next();!Ql.done;Ql=Mh.next()){var Wi=Ql.value;$N(b,"categoryMetadata",Wi.Nl());for(var Xi=_.m(_.al(Wi,_.nna,2)),Sg=Xi.next();!Sg.done;Sg=Xi.next()){var Nh=Sg.value,Ki=_.C(Nh,1),Rl=_.Fk(Nh,_.cm[0]);if(10==Rl){_.D(Nh,_.gna,10);var Sl=_.H(Nh,15);(void 0===Sl?0:Sl)?_.ZN(b,Ki+" is null"):_.ZN(b,"not ("+Ki+" is null)")}else{var qh=new _.Hq,Oh=void 0;
switch(Rl){case 3:Oh=_.D(Nh,XKc,3);for(var jq=_.m(Oh.V()),Mk=jq.next();!Mk.done;Mk=jq.next())_.aO(qh,Ki,Mk.value,"or");break;case 14:for(var Yi=Oh=_.D(Nh,_.$ma,14),qo=new Map([[1,"="],[2,">"],[3,"<"]]),nd=_.m(Yi.V()),ol=nd.next();!ol.done;ol=nd.next()){var Cj=ol.value,Lf=qo.get(_.C(Yi,2));if(!Lf)throw Error("Ce");var ih=[Ki,Lf,YN(Cj.getYear()+"-"+Cj.getMonth()+"-"+Cj.getDay())];_.ZN(qh,ih.join(" "),"or")}break;case 8:for(var Tl=Oh=_.D(Nh,_.fna,8),Fm=new Map([[1,"="],[2,">"],[3,"<"]]),vi=_.m(Tl.V()),
ii=vi.next();!ii.done;ii=vi.next()){var Gm=ii.value,Dj=Fm.get(_.C(Tl,2));if(!Dj)throw Error("Ce");_.ZN(qh,[Ki,Dj,Gm].join(" "),"or")}break;case 9:for(var Hm=Oh=_.D(Nh,ZKc,9),pl=new Map([[1,"in"]]),ro=_.m(Hm.V()),Hg=ro.next();!Hg.done;Hg=ro.next()){var so=Hg.value,kq=pl.get(_.C(Hm,2));if(!kq)throw Error("Ce");_.ZN(qh,[so,kq,Ki].join(" "),"or")}break;case 6:for(var Im=Oh=_.D(Nh,_.kna,6),to=new Map([[1,"="]]),kp=_.m(Im.V()),bk=kp.next();!bk.done;bk=kp.next()){var Mf=bk.value,lp=to.get(_.C(Im,2));if(!lp)throw Error("Ce");
_.ZN(qh,[Ki,lp,YN(Mf)].join(" "),"or")}break;case 7:for(var kr=Oh=_.D(Nh,_.ina,7),lq=new Map([[1,"in"]]),ck=_.m(kr.V()),tn=ck.next();!tn.done;tn=ck.next()){var mq=tn.value,uo=lq.get(_.C(kr,2));if(!uo)throw Error("Ce");_.ZN(qh,[YN(mq),uo,Ki].join(" "),"or")}break;case 4:for(var Nk=Oh=_.D(Nh,_.mna,4),lj=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Su=_.m(Nk.V()),mp=Su.next();!mp.done;mp=Su.next()){var np=mp.value,zt=lj.get(_.C(Nk,2));if(!zt)throw Error("Ce");_.ZN(qh,[Ki,zt,YN(np)].join(" "),
"or")}break;case 5:for(var Px=Oh=_.D(Nh,aLc,5),mf=new Map([[1,"in"]]),At=_.m(Px.V()),Tu=At.next();!Tu.done;Tu=At.next()){var Lz=Tu.value,Ul=mf.get(_.C(Px,2));if(!Ul)throw Error("Ce");_.ZN(qh,[YN(Lz),Ul,Ki].join(" "),"or")}break;case 12:for(var lr=Oh=_.D(Nh,_.dna,12),jJ=new Map([[1,"="]]),gw=_.m(lr.V()),Qx=gw.next();!Qx.done;Qx=gw.next()){var Rx=Qx.value,jF=jJ.get(_.C(lr,2));if(!jF)throw Error("Ce");_.ZN(qh,[Ki,jF,YN(Rx)].join(" "),"or")}break;case 11:for(var BN=Oh=_.D(Nh,_.bna,11),B$=new Map([[1,
"in"]]),Mz=_.m(BN.V()),CN=Mz.next();!CN.done;CN=Mz.next()){var C$=CN.value,lT=B$.get(_.C(BN,2));if(!lT)throw Error("Ce");_.ZN(qh,[YN(C$),lT,Ki].join(" "),"or")}}_.H(Nh,15)?_.ZN(b,"not ("+qh+")"):_.ZN(b,1<Oh.V().length?"("+qh+")":""+qh)}}}null!=_.H(a,60)&&_.aO(b,"linkShareMetadata.securityUpdateEligible",_.H(a,60));var DN=_.H(a,65);if(null!=DN){var fC=[];fC.push("clientEncryptionDetails.encryptionState");fC.push("=");fC.push(YN(DN?"encrypted":"unencrypted"));_.ZN(b,fC.join(" "))}1==_.NN(a)&&ZLc(b,
a);return b.toString()};
_.hMc=function(a){var b=new _.Hq(_.gMc(a));_.aN(a)?_.ZN(b,"isQuickAccessRequest"):_.bN(a)?_.ZN(b,"isPeoplePredictRequest"):_.cN(a)&&_.ZN(b,"isDrivePriorityRequest");var c=_.pH(a);if(c){var d=[];d.push("sortBy");d.push(_.hIc[c.getType()]);d.push(_.pIc[c.hh()]);_.H(c,3)&&d.push("foldersFirst");_.ZN(b,d.join(" "))}_.aO(b,"domainSearch",_.H(a,18));_.aO(b,"offline",_.H(a,19));_.al(a,_.KN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.$Lc(a)),_.ZN(b,c.join(" ")));a.Sv().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.aMc(a)),_.ZN(b,c.join(" ")));if(c=_.NN(a))d=[],d.push("corpora"),d.push("="),d.push(YN(_.HLc[c])),_.ZN(b,d.join(" "));_.E(a,66,!0)||_.aO(b,"includeItemsFromAllDrives",_.E(a,66,!0));1!=_.NN(a)&&ZLc(b,a);_.E(a,48,!1)&&_.ZN(b,"cachedOnly");return b.toString()};
_.yN=function(a){if(a instanceof _.jM)a=a.Ed();else if(!a)return!1;return a instanceof _.hp||"undefined"!=typeof _.lN&&a instanceof _.lN||"undefined"!=typeof _.bO&&a instanceof _.bO||a instanceof _.Qe&&(_.aN(a)||_.bN(a)||_.cN(a))};
_.iMc=function(a){this.H=[].concat(_.Mc(_.Ad(a,27)));this.V=new Set;var b=_.tJc(this.H,_.Ad(a,28));if(0<b.length)throw Error("Ee`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.CM(_.gM(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));_.Ca(this.H);this.H.sort();uJc(this.H)};_.cO=function(a){return[].concat(_.Mc(a.H))};jMc=function(){_.Eq.call(this);this.ha=this.W=null};
_.N(jMc,_.Eq);jMc.prototype.H=function(){(0,this.ha)()};kMc=function(a,b){a.ha||(a.ha=b)};_.dO=function(a){if(!a.W){a.W=new DLc;var b=_.Gq(a);_.z(b,56,a.W)}return a.W};lMc=function(a){var b=_.dO(a).getState();b||(b=new vLc,_.dO(a).Od(b));return b};mMc=function(a,b){var c=new tLc;_.B(c,1,b);a=_.Gq(a);_.z(a,12,c)};jMc.prototype.ma=function(){var a=_.D(_.dO(this),xLc,4);if(!a){a=new xLc;var b=_.dO(this);_.z(b,4,a)}return a};
nMc=function(a){var b=_.D(_.dO(a),yLc,8);b||(b=new yLc,a=_.dO(a),_.z(a,8,b));return b};_.oMc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Q.call(this);this.Hh=b?1:a;this.Nea=!1;this.CJ=b};_.N(_.oMc,_.Q);_.g=_.oMc.prototype;_.g.isConnected=function(){return!this.Nea&&1==this.Hh};_.g.Al=function(){return 1==this.Hh||2==this.Hh};_.g.$e=function(){return 3==this.Hh};_.g.get=function(){return this.Hh};
_.g.update=function(a){if(this.CJ)return!1;if(this.Hh!=a||this.Nea&&1==a){var b;2==a?b=3==this.Hh?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new LLc(b),this.Hh=a,this.Nea=!1,this.dispatchEvent(b),!0}return!1};pMc=function(a,b){this.W=a;this.V=b;this.H=null};
tMc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return qMc(a,function(c){return c.count().then(function(d){return 1E3>d?rMc(a,c,b):sMc(a,Error("Je"))},function(d){return sMc(a,d)})},"readwrite")};rMc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.hfb=c.re(),d)).then(null,function(e){sMc(a,e)})};
uMc=function(a){return new _.ri(function(b){var c=new Map;qMc(a,function(d){return eLc(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={vja:f.vja},k=h.next())k=_.m(k.value),f.vja=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.vja,new _.iAa(n.hfb))}}(f));return _.xi([].concat(_.Mc(e.values()))).then(function(){return b(c)})})})})};
vMc=function(a,b){return qMc(a,function(c){return c.remove(b)},"readwrite")};qMc=function(a,b,c){c=void 0===c?"readonly":c;return wMc(a).then(function(d){try{var e=_.iHc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return sMc(a,f)}},function(d){return sMc(a,d)})};
wMc=function(a){return a.H?_.si(a.H):_.kHc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.fLc(c,"OfflineImpressions");_.dHc(_.hHc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return sMc(a,Error("Ke"))}).then(function(b){return a.H=b},function(b){return _.ti(_.EM(b))})};sMc=function(a,b){b||(b=Error("Le"));_.WN(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.si()};
_.xMc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Q.call(this);this.Ey=b?!1:a;this.asa=null;this.CJ=b};_.N(_.xMc,_.Q);_.xMc.prototype.$e=function(){return this.Ey};_.xMc.prototype.Yl=function(a){var b=this.Ey!=a;!this.CJ&&b&&(this.Ey=a,this.dispatchEvent(new TLc(a)))};_.xMc.prototype.DC=function(a){this.asa=a};
var zMc=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.ha=a;this.W=b;this.Hh=c;this.V=d;this.Bb=new _.Ie(this);this.Bb.listen(b,"Ab",function(k){k.$e()||yMc(h)});this.Bb.listen(c,["wb","yb"],function(){return void yMc(h)});this.ka=e;f.then(function(){return yMc(h)})};_.N(zMc,_.Q);zMc.prototype.H=function(a){return(this.W.$e()||this.Hh.$e())&&this.W.asa?tMc(this.V,a):this.ha.H(a)};
var yMc=function(a){return a.W.asa?uMc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return AMc(a,d)},function(){return BMc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},AMc=function(a,b){BMc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return vMc(a.V,b).then(function(){BMc(a,"Removed offline impression batch "+b+".")},function(){BMc(a,"Unable to remove offline impression batch "+b+".")})},BMc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},CMc=function(){};CMc.prototype.RL=function(){return new jMc};var DMc=function(){this.H=new ELc};DMc.prototype.V=function(a){_.z(a,13,this.H)};DMc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};FMc=function(a,b,c,d){this.Ea=_.eO(_.yIc,_.PN(a));this.ma=_.eO(_.CIc,_.Jk(a.Hf(),8,0));this.W=_.eO(_.zIc,_.Jk(a.Hf(),9,2));this.ta=_.E(a,10,!1);this.Ha=_.CM(_.gM(a));this.va=_.QN(a);this.ha=EMc(a);this.Ba=a.vi();this.V=this.H=null;this.Ka=b;this.Hh=c;this.ka=d};
EMc=function(a){var b=[].concat(_.Mc(_.vIc.keys())),c=[].concat(_.Mc(_.wIc.keys())),d=_.sM(a);return b.filter(function(e){return _.vIc.get(e)(a)}).concat(c.filter(function(e){return d&&_.wIc.get(e)(d)}))};_.eO=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};GMc=function(a){if(a.V)return a.V.H("aU7Ts")};
FMc.prototype.Hb=function(a){return a instanceof _.kD||"undefined"!=typeof _.fO&&a instanceof _.fO||"undefined"!=typeof _.gO&&a instanceof _.gO||"undefined"!=typeof _.hO&&a instanceof _.hO?a.Hb():"undefined"!=typeof _.iO&&a instanceof _.iO||"undefined"!=typeof _.jO&&a instanceof _.jO||"undefined"!=typeof _.kO&&a instanceof _.kO||"undefined"!=typeof _.lO&&a instanceof _.lO||"undefined"!=typeof _.HMc&&a instanceof _.HMc?a.response?a.response.Hb():null:null};FMc.prototype.vi=function(){return this.Ba};
var IMc=function(a){return a.Ka.$e()||a.Hh.$e()?2:1};FMc.prototype.getEnvironment=function(){return this.ka};var JMc=function(a,b){this.H=a;var c=new _.Qya;_.Rya(c,b.ha);a=this.H.wJ();var d=_.ZHc(a);_.z(d,10,c);(c=b.vi())&&_.YHc(a,c);this.H.qY();this.V=b};JMc.prototype.isRunning=function(){return this.H.hS()};
_.KMc=function(a,b,c){var d=_.Fq(a.H.aE(b,c),_.qIc);mMc(d,IMc(a.V));b=GMc(a.V);"boolean"===typeof b&&wLc(lMc(d),b);kMc(d,function(){1==c&&a.H.fI(d);var e=a.V;e=e.H?e.H.V.H.size:void 0;var f=lMc(d);_.B(f,1,e);a.H.Gp(d)});return d};LMc=function(a){var b=new _.Gza,c=new DMc;_.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.Ha);_.B(c.H,7,a.va);a=c.setEnvironment(a.getEnvironment());_.lHc(b,_.sIc,a);_.Iq(b,_.qIc,new CMc);return b};
MMc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.wI(906,b,void 0,_.FIc());l.W=!1;var n=new _.mHc(l);b=new Date;l=_.dIc(_.cIc(_.bIc(gLc(),new _.nHc(l)),LMc(c)),109).setSessionId(b.getTime()+"_"+_.bh());if(k){a=new zMc(n,d,e,new pMc(a,f),f,h);_.aIc(l,a);d=l.build();_.XHc(d.wJ(),1E3*b.getTime());var p=new JMc(d,c);(new _.Ie).listen(a,"Bb",function(){_.KMc(p,106008,0).H()});return p}_.aIc(l,n);a=l.build();_.XHc(a.wJ(),1E3*b.getTime());return new JMc(a,c)};
NMc=function(a,b){this.W=a;this.ha=b};NMc.prototype.H=function(a,b){this.W&&_.OMc(this)&&(a=_.KMc(this.W,a,0),b&&_.kJc(a,b),a.H())};_.PMc=function(a,b){if(a.W&&_.OMc(a)){a=_.KMc(a.W,106018,0);var c=_.D(_.dO(a),CLc,15);if(!c){c=new CLc;var d=_.dO(a);_.z(d,15,c)}c=_.B(c,1,1);_.B(c,2,b);a.H()}};NMc.prototype.V=function(a,b){return this.W&&_.OMc(this)?(a=_.KMc(this.W,a,1),b&&_.kJc(a,b),a):null};_.OMc=function(a){return!(!a.W||!a.W.isRunning())};
_.QMc=function(a,b,c,d,e,f){var h=_.H(a,59),k=_.rM(_.gM(a)).toString(),l=_.ON(_.gM(a));f=new FMc(a,b,c,f);a=h?MMc(l,k,f,b,c,d,e,_.E(a,17,!1)):null;return new NMc(a,f)};_.RMc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.RMc,_.M);_.RMc.prototype.getId=function(){return _.C(this,1)};_.RMc.prototype.Wb=function(a){return _.B(this,1,a)};_.RMc.prototype.ue=function(){return _.D(this,_.ff,2)};_.gN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.gN,_.M);_.gN.prototype.Tn=function(){return _.C(this,2)};
_.gN.prototype.Ed=function(){return _.D(this,_.RMc,3)};SMc=[2];_.nN=function(a){_.T(this,a,0,-1,SMc,null)};_.O(_.nN,_.M);_.nN.prototype.Kc=function(){return _.C(this,1)};_.nN.prototype.sQ=function(){return _.al(this,_.FMb,2)};_.nN.prototype.ue=function(){return _.D(this,_.ff,3)};_.WM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.WM,_.M);_.WM.prototype.getId=function(){return _.C(this,1)};_.WM.prototype.Wb=function(a){return _.B(this,1,a)};_.WM.prototype.PF=function(){return _.Gk(this,3)};TMc=[1];
_.AJc=function(a){_.T(this,a,0,-1,TMc,null)};_.O(_.AJc,_.M);_.UMc=function(){this.H={}};VMc=function(a,b,c){if(a.H[b])throw Error("Me");a.H[b]=c};_.UMc.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)}};WMc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.XMc=function(a,b){this.H=a;this.V=_.KIc[_.Jk(a.Hf(),8,0)];this.ha=_.KIc[_.Jk(a.Hf(),51,5)];this.W=b;this.ka=_.bh()};
_.XMc.prototype.yc=function(a,b){if(b.lJ)YMc(this,a,b),ZMc(this,a,b);else if(11==a.am){if(b.Wsb){var c=b.vga||_.G(this.H.Hf(),37,"");_.dk(a.uri,"key",c)}YMc(this,a,b);$Mc(this,a,b)}else switch(a.uri=aNc(this,a.am,a.uri),a.am){case 1:$Mc(this,a,b);YMc(this,a,b);break;case 0:_.E(this.H,83,!1)&&(b.ex||_.CM(_.gM(this.H))||_.dk(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:$Mc(this,a,b);ZMc(this,a,b);YMc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:$Mc(this,a,b);ZMc(this,a,b);break;
default:throw Error("Ne`"+a.am);}};bNc=function(a,b){var c=aNc(a,b,new _.Pj);if(!c.H)throw Error("Pe");return _.Tj(_.Sj(_.Rj(_.Qj(new _.Pj,c.V),c.H),c.ha),_.LIc.has(b)?"/batch"+a.V:"/batch")};
aNc=function(a,b,c){var d=_.C(a.H.Hf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.G(a.H.Hf(),62,"");break;case 8:a=_.C(a.H.Hf(),53);break;case 9:a=_.C(a.H.Hf(),56);break;case 10:a=_.C(a.H.Hf(),22);break;case 13:a=_.C(a.H.Hf(),55);break;case 12:a=_.C(a.H.Hf(),43);break;default:throw Error("Ne`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Pj(a);
_.ld(c,"/")&&(c=c.slice(1));return new _.Pj(a+"/"+c)};$Mc=function(a,b,c){a=_.gM(a.H);c.ex||_.CM(a)||(c=[{key:"u",value:_.ON(a)}],b.headers.authorization=_.C_b(c)||"",c=_.rM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
YMc=function(a,b,c){var d=_.gM(a.H),e=a.H.Hf(),f=c.Xzb||!!_.C(e,13);c=c.Yzb||_.E(e,14,!1);var h=11==b.am;f&&((f=_.C(e,13))&&_.ld(f,"email:")?_.dk(b.uri,"trace",f):f&&"trace:true"==f?_.dk(b.uri,"$trace","true"):f?_.dk(b.uri,"trace","token:"+f):_.dk(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.dk(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.Jk(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())};
ZMc=function(a,b,c){c.ex||_.CM(_.gM(a.H))?_.dk(b.uri,"key",_.G(a.H.Hf(),36,"")):(a=c.vga||_.G(a.H.Hf(),37,""),_.dk(b.uri,"key",a))};_.cNc=function(a,b){_.rI.call(this,a?a:500,b?b:6E5)};_.N(_.cNc,_.rI);_.eNc=function(a,b){this.H={};this.V=b;dNc(this,_.al(a,_.hm,91))};dNc=function(a,b){b.forEach(function(c){var d=c.getId();c=_.C(c,2);if(d&&c){var e=_.fNc(a,d);if(e){if(e!=c)throw new _.Ob("Multiple resource key definitions found for itemId "+d);}else a.H[d]=c}})};
gNc=function(a,b){return[].concat(_.Mc(new Set(b))).map(function(c){var d=(new _.hm).Wb(c);a.H[c]?_.im(d,a.H[c]):a.V&&(c=a.V.H(c))&&_.im(d,_.$l(c));return d}).filter(function(c){return c.PF()})};_.fNc=function(a,b){return a.H[b]?a.H[b]:a.V&&(a=a.V.H(b))&&a.PF()?_.$l(a):null};_.hNc=function(a,b,c){this.Mb=a;this.ha=b;this.W=c;this.V=this.Pj=null;this.H=!1};_.hNc.prototype.getState=function(){return this.Mb};_.iNc=function(a){a.V=null;a.Pj&&(clearTimeout(a.Pj),a.Pj=null)};
_.kNc=function(a){a.V||a.H||(a.V=new _.cNc(5E3,6E4),jNc(a))};jNc=function(a){lNc(a);a.V&&(a.Pj=setTimeout(function(){return void jNc(a)},a.V.kb()),_.sI(a.V))};lNc=function(a){_.zi(_.si().then(null,function(){return null}),function(){return void mNc(a)})};mNc=function(a){nNc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.RJc)}).then(null,function(b){b=_.FM(b);_.EIc(b.Sg)&&oNc(a,2);return _.ti(b)}).then(null,function(){return null})};
nNc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};oNc=function(a,b){return!a.H&&a.Mb.update(b)?(nNc(a,"Connection status: "+_.MIc.get(b)),!0):!1};WJc=[_.IM,_.KM,_.JM,_.MM,_.LM,_.NM,_.OM,_.RM,_.TM,_.UM,_.VM,_.XM,_.jN,_.CJc,_.nN,_.tM,_.oN,_.pN,_.qN,_.FJc,_.tN];pNc=[_.vM];XJc=[_.mH,_.LJc];YJc=[_.gN,_.rN,_.KJc,_.uN];ZJc=[_.jM,_.ap,_.vM,_.EJc];$Jc=[_.uN,_.ip];aKc=[_.WM,_.AJc,_.eN,_.iN,_.DJc,_.tN,NJc,MJc];
qNc=function(a){return a instanceof _.jM||a instanceof _.uN||"undefined"!=typeof _.mO&&a instanceof _.mO||a instanceof _.pN||a instanceof _.UM||a instanceof _.NM||a instanceof _.RM||a instanceof _.tM&&_.xN(a)};_.rNc=function(a,b){this.V=b;this.H={};this.W=new nLc;b=_.HM({fields:_.Ad(a,28),Tx:_.CM(_.gM(a))});this.Vb("SecondaryFields",b);this.Vb("SdkBackfillEnabled",!!_.E(a,45,!1)+" (Include corpus cache: "+!!_.E(a,46,!1)+")")};_.rNc.prototype.Vb=function(a,b){this.H[a]=_.sNc(a,b)};
tNc=function(a,b){var c=a.H[b];c||(c=_.sNc(b,0,2),a.H[b]=c);c.Vb(String(Number(c.kb())+1))};_.sNc=function(a,b,c){var d=new _.KLc;_.B(d,1,a);_.B(d,4,c||1);d.Vb(String(b));d.Xl(kLc[a]);return d};
_.uNc=function(a,b,c){var d=new _.fIc;_.B(d,2,"Pending...");b instanceof _.jM?_.cl(d,3,_.kM[0],b):b instanceof _.uN?_.cl(d,4,_.kM[0],b):"undefined"!=typeof _.mO&&b instanceof _.mO?_.cl(d,5,_.kM[0],b):b instanceof _.pN?_.cl(d,6,_.kM[0],b):b instanceof _.UM?_.cl(d,7,_.kM[0],b):b instanceof _.NM?_.cl(d,8,_.kM[0],b):b instanceof _.RM?_.cl(d,9,_.kM[0],b):b instanceof _.tM&&_.cl(d,10,_.kM[0],b);var e=TJc(b),f=[];if(b instanceof _.JM)vN(f,"ID",b.getId()),vN(f,"Parent ID",b.Xj());else if(b instanceof _.UM)vN(f,
"TD ID",b.getId());else if(b instanceof _.jM)b=_.hMc(b.Ed()),vN(f,"Query",b);else if(b instanceof _.uN)vN(f,"Query","All");else if(b instanceof _.pN)vN(f,"TD ID",b.getId()),vN(f,"Title",b.getTitle()),vN(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.NM)vN(f,"MimeType",b.$b()),vN(f,"Title",b.getTitle()),vN(f,"Parents",_.Ad(b,3)),vN(f,"Convert",_.H(b,8)),vN(f,"Request ID",_.UN(b)),vN(f,"Parent Request IDs",_.Ad(b,10)),vN(f,"Revision Item ID",_.C(b,12)),vN(f,"Pinned",_.H(b,8));else if(b instanceof
_.OM)vN(f,"Title",b.getTitle());else if(b instanceof _.RM)vN(f,"ID",b.getId());else if(b instanceof _.VM)vN(f,"WS ID",b.getId());else if(b instanceof _.tM){if(vN(f,"ID",b.getId()),vN(f,"Title",b.getTitle()),vN(f,"Description",b.zg()),vN(f,"Starred",_.H(b,4)),vN(f,"Trashed",b.ki()),vN(f,"MimeType",b.$b()),vN(f,"Parents",_.Ad(b,8)),vN(f,"Parents to add",_.Ad(b,9)),vN(f,"Parents to remove",_.Ad(b,10)),vN(f,"Restricted",_.H(b,11)),vN(f,"Folder Color",b.Ri()),vN(f,"Update Last Viewed",_.H(b,15)),vN(f,
"Subscribed",_.H(b,16)),vN(f,"Available Offline",b.Vq()),vN(f,"Wksp to add",_.Ad(b,31)),vN(f,"Wksp to remove",_.Ad(b,32)),b=_.D(b,_.Kl,25))vN(f,"Read Only",_.H(b,1)),vN(f,"Reason",_.C(b,2))}else b instanceof _.qN?(vN(f,"WS ID",b.getId()),vN(f,"Title",b.getTitle()),vN(f,"State",b.getState())):b instanceof _.FJc&&vN(f,"Title",b.request.getTitle());_.B(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.vNc=function(a,b){for(var c=new _.Hq,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.lJc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.B(a,2,c.toString()||"Done.")};_.t("sy12v");
_.nO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.nO,_.M);_.nO.prototype.Sr=function(){return _.D(this,_.kD,1)};_.wNc=function(a,b){return _.z(a,1,b)};_.nO.prototype.Tn=function(){return _.C(this,3)};
_.xNc=function(a,b,c){_.aj.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.N(_.xNc,_.aj);
var oO=function(){_.Q.apply(this,arguments)};_.N(oO,_.Q);var zNc=function(a,b){a.dispatchEvent(new yNc(b))};oO.prototype.W=function(){};var yNc=function(a){_.aj.call(this,ANc);this.request=a};_.N(yNc,_.aj);var ANc="Mb";
_.BNc=function(a){oO.call(this);this.H=a};_.N(_.BNc,oO);_.BNc.prototype.V=function(a){var b=!1;_.EIc(_.qM(a.tw[a.tw.length-1].response))&&(this.H.va(),b=!0);return b&&2>a.tw.length?(zNc(this,a),!0):!1};
var pO=function(a){_.Q.call(this);this.ha=a};_.N(pO,_.Q);_.g=pO.prototype;_.g.max=function(){};_.g.CY=function(){};_.g.gva=function(){};_.g.pPa=function(){};_.g.SMa=function(){};_.g.oPa=function(){};_.g.VD=function(){this.dispatchEvent(new _.aj("Nb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
_.CNc=function(a,b){pO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.Ie(this);this.Na(this.H);this.H.listen(this.W,"Ab",function(d){d.$e()||c.VD()});this.H.listen(this.V,"xa",this.VD)};_.N(_.CNc,pO);_.CNc.prototype.max=function(){var a=this.W.$e(),b=this.V.H;return!a&&b?Infinity:0};_.CNc.prototype.CY=function(){this.VD()};
_.DNc=function(a,b,c){this.H=new _.rI(a,b,.5);this.W=c;this.V=!0};
_.ENc=function(a,b){pO.call(this,"Backoff");this.H=a;this.V=b};_.N(_.ENc,pO);_.ENc.prototype.max=function(){return this.H.V?Infinity:0};_.ENc.prototype.SMa=function(){this.H.H.reset()};_.ENc.prototype.oPa=function(a){var b=this;FNc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.kb(),GNc(this,"Stopping new requests for "+a+" ms."),_.q.setTimeout(function(){GNc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.VD()},a),_.sI(this.H.H))};
var FNc=function(a){a=a.tw.length&&_.ca(a.tw).response;return!!(a&&a instanceof _.Nb&&pJc(a))},GNc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};
_.HNc=function(a,b){pO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.N(_.HNc,pO);_.HNc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.HNc.prototype.CY=function(a){a>=this.V?this.VD():null==this.H&&INc(this)};_.HNc.prototype.gva=function(a,b){0<b?INc(this):this.H=null};var INc=function(a){a.H=Date.now()-1;_.q.setTimeout(a.VD.bind(a),a.W)};
_.qO=function(){this.Mq=[]};_.qO.prototype.add=function(a,b){b?this.Mq.unshift(a):this.Mq.push(a);return!0};_.qO.prototype.H=function(a){return _.ya(this.Mq,0,a)};_.qO.prototype.cancel=function(a){return _.ra(this.Mq,function(b){return b.nt.config.requestId==a?(b.aj.resolve(UJc(b.nt.request)),!0):!1})};
_.JNc=function(a){oO.call(this);this.H=a};_.N(_.JNc,oO);_.JNc.prototype.V=function(a){var b=_.qM(a.tw[a.tw.length-1].response),c=!1;if(2==b.Qo())b=this.H,oNc(b,3)&&_.kNc(b),c=!0;else if(_.EIc(b)){b=this.H;if(c=!b.H)c=b.Mb,c=!c.CJ&&c.isConnected()?c.Nea=!0:!1;c&&_.kNc(b);c=!0}return c&&2>a.tw.length?(zNc(this,a),!0):!1};
var KNc=function(){pO.call(this,"Immediate")};_.N(KNc,pO);KNc.prototype.max=function(){return Infinity};KNc.prototype.CY=function(){this.VD()};
var LNc=function(){pO.call(this,"One Request")};_.N(LNc,pO);LNc.prototype.max=function(){return 1};
_.MNc=function(a){pO.call(this,"Online");var b=this;this.Hh=a;this.H=new _.Ie(this);this.Na(this.H);this.H.listen(this.Hh,["wb","xb","yb"],function(){return b.VD()})};_.N(_.MNc,pO);_.MNc.prototype.max=function(){return this.Hh.isConnected()?Infinity:0};_.MNc.prototype.CY=function(){this.VD()};
_.rO=function(a){pO.call(this,"Parallel");this.V=a;this.H=0};_.N(_.rO,pO);_.rO.prototype.max=function(){return Math.max(0,this.V-this.H)};_.rO.prototype.CY=function(){this.H<this.V&&this.VD()};_.rO.prototype.gva=function(a){this.H+=a.length};_.rO.prototype.pPa=function(a){this.H-=a.length;this.H<this.V&&this.VD()};
_.sO=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.Ka=a;this.W=b;this.ha=new _.Ie(this);this.Na(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],ANc,function(k){NNc(h,!0,k.request)});this.Ma=_.ey("drive.ds.network.queue.Queue [%s]",f);this.Ha=0;this.ka=new Map};_.N(_.sO,_.Q);_.sO.prototype.add=function(a){return NNc(this,!1,{nt:a,aj:_.yi(),tw:[]})};
_.sO.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?ONc(this,"Canceled ID "+a+" during execution."):c&&ONc(this,"Canceled ID "+a+" inside bucket.");return b||c};var NNc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.Jr(new _.Nb,"No queue bucket accepted request."),_.ti(_.FM(a));for(var d=PNc(a),e=0;e<a.H.length;e++)a.H[e].CY(d);return c.aj.promise};
_.sO.prototype.ta=function(){var a=PNc(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&&(ONc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),QNc(this,c))}};
var QNc=function(a,b){var c=String(a.Ha++);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=PNc(a);for(var f=0;f<a.H.length;f++)a.H[f].gva(b,e);_.zi(_.xi(d).then(a.va.bind(a,b)),function(){a.ka.delete(c)});_.q.setTimeout(a.ta.bind(a),0)};
_.sO.prototype.Ea=function(a,b){var c=a.nt.config;ONc(this,TJc(a.nt.request)+" request completed successfully. xd4: "+!(!c||!c.lJ));this.H.forEach(function(d){return d.SMa()});this.ma.forEach(function(d){return d.W(a)});a.aj.resolve(b)};
_.sO.prototype.Ba=function(a,b){b=_.FM(b);ONc(this,TJc(a.nt.request)+(" request failed with error: "+b.ka+"."));a.tw.push({response:b,Hzb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].oPa(a);a.nt.config.Tfa||!this.ma.some(function(d){return d.V(a)})?a.aj.reject(b):ONc(this,TJc(a.nt.request)+" encountered an error, but was intercepted to be retried.")};_.sO.prototype.va=function(a){for(var b=0;b<this.H.length;b++)this.H[b].pPa(a)};
var PNc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Mq.length){b=a.V[c].Mq.length;break}return b},ONc=function(a,b){a.Ka.info(a.Ma,b)};
_.RNc=function(a,b,c,d){oO.call(this);this.ma=_.Kk(a,21,1E3);this.Ba=_.Kk(a,1,1);this.ha=b;this.ta=c;this.ka=d;this.H=new Map;this.va=function(){return new _.DNc(_.Kk(a,63,1E3),_.Kk(a,64,3E5),_.Kk(a,65,10))}};_.N(_.RNc,oO);
_.RNc.prototype.V=function(a){var b=a.tw.length,c=0<b&&_.ca(a.tw).response||null;if(c){c=_.qM(c);if(2==c.Qo()&&this.ta.$e())return SNc(this,a);var d=c.xj();if(3==d||31==d||13==d||9==d)return TNc(this,a,b);if(pJc(c))return b=this.ha.H.H,c=this.ha,c.H.H<c.W?(UNc(this,"Backoff number "+b+" for a User Rate Limit error."),zNc(this,a),a=!0):(UNc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var SNc=function(a,b){var c=VNc(a,b),d=c.H.H;if(c.H.H<c.W)return UNc(a,"Retry "+(d+1)+" for a failed request due to an offline error."),d=c.H.kb(),_.q.setTimeout(function(){return zNc(a,b)},d),_.sI(c.H),!0;a.H.delete(b);return!1},VNc=function(a,b){a.H.has(b)||a.H.set(b,a.va());return a.H.get(b)},TNc=function(a,b,c){var d=a.Ba;if(c<=d)return UNc(a,"Retry number "+(c+1)+" for a retryable error."),_.q.setTimeout(function(){return zNc(a,b)},a.ma*Math.pow(2,c)),!0;UNc(a,"Done retrying retriable requests after "+
d+" retries.");return!1};_.RNc.prototype.W=function(a){this.H.delete(a)};var UNc=function(a,b){a.ka.info("drive.ds.network.queue.RetryInterceptor",b)};
var WNc=function(a){try{if("undefined"!=typeof FileReaderSync&&_.FIc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.rnb,d=GLc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.pnb(e,"reading data"))}},XNc=function(a){return WNc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var YNc=function(a,b,c,d,e,f,h){this.rb=a;this.ha=b;this.Ab=c;this.va=d;this.Gb=e;this.Ub=f;this.Wa=h;a=_.D(f.request,_.hLc,15);a=_.FIc()&&a?_.C(a,1):null;this.W="number"===typeof a?a:f.file.size;this.ma=this.Ba=this.H=0;this.Ka=this.Sa=this.Ea=null;this.V=_.yi();this.ka=!1;this.Ma=h.requestId;this.ta="progress_"+this.Ma;h.Nwa=this.ta;this.Ha=this.$a=0},ZNc=function(a,b){a.Ab.info("drive.ds.sync.request.ResumableUpload",b)};
YNc.prototype.start=function(){var a=this,b=new MJc(this.Ub.request,this.Ub.metadata),c=$Nc(this);this.rb.then(function(d){return d.H(b,c)}).then(function(d){a.Ea=d.Fjb;a.Sa=d.cwb;a.Ka=d.$1a;aOc(a)},function(d){return void a.V.reject(d)});return _.zi(this.V.promise.then(function(d){bOc(a,d);return d},function(d){d=_.FM(d);bOc(a,d.Sg);return _.ti(d)}),function(){WMc(a.ha,[a.ta])})};var $Nc=function(a){var b=_.ag(a.Wa);VMc(a.ha,a.ta,lLc(function(){return void a.ha.notify([a.Ma],0)}));return b};
YNc.prototype.cancel=function(){return this.ka?!1:(this.ka=!0,this.V.resolve(UJc(this.Ub)),!0)};
var aOc=function(a){a.ka||(ZNc(a,"Uploading chunk "+a.Ha+" for "+a.Ea+"."),cOc(a,4))},cOc=function(a,b){dOc(a).then(function(c){if(c){var d=eOc(a,c.H.size);if(d.Tfa){var e=(new _.wN).Bc(8);a.V.resolve(e)}else a.rb.then(function(f){return f.H(c,d)}).then(function(f){var h=c.H.size;a.H+=a.ma;a.Ba+=h;a.Ha++;f.tD()&&(a.Sa=f.tD());f.VL()&&(a.Ka=f.VL());a.H<a.W?aOc(a):a.V.resolve(f)},function(f){var h=_.qM(f);h.Wqa()||h.dda()?fOc(a,b,h,!1):XNc(c.H).then(function(k){k=k?_.YDa.get(k)||25:38;_.yM(h,k);k=38==
h.Qo();var l=38!=h.Qo()&&25!=h.Qo();fOc(a,b,h,k,l)},function(){})})}else e=_.FM(_.yM(_.Jr(new _.Nb,"Could not read more of the file. Read "+a.H+"/"+a.W+" bytes."),5)),a.V.reject(e)})},fOc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Fna(f);!e&&0<b?(a.$a++,d&&(a.va=Math.max(262144*Math.floor(a.va/262144/2),8388608)),setTimeout(function(){b--;ZNc(a,"Retrying chunk "+a.Ha+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.va+" bytes "):"")+"for ")+(a.Ea+"."));cOc(a,b)},a.Gb*Math.pow(1.5,
f))):a.V.reject(_.FM(c))},dOc=function(a){return gOc(a).then(function(b){if(!b)return null;a.ka=a.H+a.ma==a.W;return new NJc(a.Ea,b,a.Ba,a.Ba+b.size-1,a.ka,a.Ub.request.$b(),_.C(a.Ub.request,12)||void 0)})},gOc=function(a){a.ma=Math.min(a.W-a.H,a.va);var b=a.H;return a.Ub.d0?a.Ub.d0(b,a.ma):_.si(_.oJc(a.Ub.file,b,b+a.ma))},eOc=function(a,b){var c=_.ag(a.Wa);c.oDa=!0;var d=a.H/a.W,e=b/a.W;WMc(a.ha,[a.ta]);VMc(a.ha,a.ta,function(f){a.ha.notify([a.Ma],Math.min(d+e*f,1))});return c},bOc=function(a,b){b.aFa(3);
b.Fna(a.$a);b.tD()||b.r7(a.Sa);b.VL()||b.f7(a.Ka)};
_.hOc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.hOc.prototype.create=function(a,b){return new YNc(this.ka,this.W,this.H,this.ha,this.V,a,b)};
_.iOc=function(a){this.V=a;this.H={}};_.iOc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].nt.request instanceof _.OJc)b.push(jOc(this,a[c].nt));else{var d=_.Jr(new _.Nb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.FM(d)))}return b};_.iOc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.iOc.prototype.UMa=function(){return!_.Xf(this.H)};
var jOc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.zi(d,function(){delete a.H[e]})};
_.kOc=function(a,b){return new _.sO(b,a,[new KNc],[new _.qO],[],"immediate")};_.lOc=function(a,b,c,d,e,f,h){if(h){var k=new _.MNc(h.getState());d=new _.JNc(h)}else k=new _.CNc(c,d),d=new _.BNc(d);return new _.sO(f,a,[k,new _.ENc(e,f),new LNc],[new _.qO],[d,new _.RNc(b,e,h?h.getState():c,f)],"connected")};
_.mOc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.Kk(b,10,50):l;if(h){var n=new _.MNc(h.getState());d=new _.JNc(h)}else n=new _.CNc(c,d),d=new _.BNc(d);return new _.sO(f,a,[n,new _.HNc(l,_.Kk(b,12,10)),new _.rO(3*l),new _.ENc(e,f)],[new _.qO],[d,new _.RNc(b,e,h?h.getState():c,f)],k)};_.nOc=function(a,b,c){b=_.Kk(b,46,1);return new _.sO(c,a,[new _.rO(b)],[new _.qO],[],"resumable_upload")};
_.oOc=function(a,b,c,d,e,f,h,k){this.Ea=a;this.ma=b;this.V=c;this.ta=d;this.Ba=e;this.ka=f;this.ha=h;this.va=k;this.W=null};_.oOc.prototype.H=function(a,b){var c=this,d=function(h){h=_.FM(h);var k=h.Sg;VJc(a)||_.Lr(k);return _.ti(h)};if(this.ha()&&(a instanceof _.jM&&_.yN(a.Ed())||b&&b.EBb)){this.W||(this.W=_.yi());var e=this.W.promise}var f=function(){return pOc(c,a,b).then(null,d)};return e?e.then(f):f()};
var pOc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ea.validate(b);if(d)return _.ti(_.FM(d));d=a.ma.V(b);return d instanceof _.Nb?_.ti(_.FM(d)):Array.isArray(d)?(d=d.map(function(e){return qOc(a,b,e,c)}),_.xi(d)):qOc(a,b,d,c)},qOc=function(a,b,c,d){var e=rOc(a,c);if(!e)return b=_.yM(_.Jr(new _.Nb,"Failed to choose a queue for server request."),18),_.ti(_.FM(b));if(e===a.V[7]||e===a.V[8])d.lJ=!0;d=e.add({request:c,config:d});(_.xN(b)||_.xN(c))&&_.zi(d,function(){a.ha()||(a.va(),a.W&&(a.W.resolve(),a.W=
null))});b=a.ta.apply(c,d);d.then(function(f){return a.Ba.apply(c,f)},function(){});return b};_.oOc.prototype.cancel=function(a){return _.Tf(this.V,function(b){return b.cancel(a)})};
var rOc=function(a,b){var c=!1;b instanceof _.ap?c=!!_.H(b,7):b instanceof _.jM&&(c=(c=b.Ed())&&!!_.H(c,46));return(b instanceof _.RJc||"undefined"!=typeof _.tO&&b instanceof _.tO&&b.W())&&a.V[1]?a.V[1]:b instanceof _.OJc&&a.V[5]?a.V[5]:c&&bKc(b,a.ka)&&a.V[7]?a.V[7]:bKc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.ap&&a.V[6]?a.V[6]:(c||pNc.includes(b.constructor))&&a.V[3]?a.V[3]:WJc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
var sOc=function(a){this.H=a};sOc.prototype.build=function(a,b){var c="====="+_.bh()+"=====",d=a[0].am,e=b.every(function(l){return l.lJ});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=bNc(this.H,a[0].am);_.dk(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=tOc[d],h=uOc[d]||{},h["content-type"]=_.ey('multipart/mixed; boundary="%s"',c),d=vOc[d],k=new _.Pj("");a=wOc(this,a,b,c,e);return{am:f,body:a,headers:h,method:d,uri:k}};
var wOc=function(a,b,c,d,e){for(var f=yJc(xOc[b[0].am]||{}),h="",k=0;k<b.length;k++){e&&$Mc(a.H,b[k],c[k]);var l=b[k],n=a.H,p=l,r=c[k];p.uri=aNc(n,p.am,p.uri);switch(p.am){case 0:case 5:ZMc(n,p,r);YMc(n,p,r);break;case 2:$Mc(n,p,r);ZMc(n,p,r);var u=p,x=_.C(n.H.Hf(),57);u.headers.host=_.ik(x).H;u.headers.origin=_.q.location.origin?_.q.location.origin:_.q.location.protocol+"//"+_.q.location.host;YMc(n,p,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Oe`"+p.am);default:throw Error("Ne`"+
p.am);}n=l;p=n.uri.clone();_.Qj(p,"");_.Rj(p,"");_.Sj(p,null);l=f+"\r\n"+(n.method+" "+p+" HTTP/1.1\r\n")+yJc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},yOc={},vOc=(yOc[0]="POST",yOc[2]="PUT",yOc[12]="POST",yOc),zOc={},tOc=(zOc[0]=1,zOc[2]=3,zOc),AOc={},BOc={},uOc=(BOc[2]=(AOc["x-goog-upload-protocol"]="batch",AOc),BOc),COc={},DOc={},EOc={},FOc={},xOc=(FOc[0]=(COc["content-type"]="application/http",COc["content-transfer-encoding"]="binary",COc),FOc[12]=
(DOc["content-type"]="application/http",DOc["content-transfer-encoding"]="binary",DOc),FOc[2]=(EOc["content-type"]="application/http",EOc),FOc);
var GOc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,HOc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var IOc=function(){_.Lj.apply(this,arguments)};_.N(IOc,_.Lj);IOc.prototype.getAllResponseHeaders=function(){return _.Vga(_.Lj.prototype.getAllResponseHeaders.call(this))};
var JOc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},KOc=function(a,b,c){try{a.ma.yc(b,c);var d=new IOc;d.MB=!0;var e=c.requestId||"",f=_.yi();d.listen("complete",a.ta.bind(a,d,f,e,c.Cra,4==b.am));e&&c.Nwa&&!c.lJ&&(a.V[e]=d,a.H[e]=c,d.Ab=!0,d.listen("uploadprogress",(0,_.v)(a.ka,a,c)),c.oDa||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 _.ti(_.FM(h))}};
JOc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.xe()?(a.Tfa=!0,b.abort(),!0):!1};JOc.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:_.Lka(a),text:a.Ok()};if(!d)try{c.json=_.Oj(a)}catch(f){}d=_.eJc(a.Hb(),_.Ika(a),c.headers,c.text,c.json,a.V,_.Mka(a),String(a.ta),e);a.dispose();d?b.reject(_.FM(d)):b.resolve(c)};
JOc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Nwa],a.oDa?b.loaded/b.total:b.loaded/b.total/2)};JOc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Nwa],b.loaded/b.total/2+.5)};
var LOc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};LOc.prototype.add=function(a,b){var c="DEFAULT";b.lJ&&(c=bNc(this.V,a.am).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.lJ&&!tOc[a.am])return a=_.Jr(new _.Nb,"Unsupported batch API: "+a.am),_.ti(_.FM(a));var d=_.yi();c.push({request:a,config:b,aj:d});return d.promise};
LOc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{MOc(a,b)}catch(f){var d=_.Kr(_.Jr(new _.Nb,"Error executing XHR: "+f.message),f.stack),e=_.FM(d);b.forEach(function(h){h.aj.reject(e)});a.H.delete(c)}})};
var MOc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.Cra&&!c.config.lJ){var d=!1;if(tOc[c.request.am]){var e={am:c.request.am,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.yc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.aj;KOc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}NOc(a,b)},NOc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});KOc(a.W,a.ha.build(c,d),{Cra:!0,lJ:d.every(function(e){return e.lJ})}).then(function(e){e.headers=
_.ZIc(e.headers);var f=HOc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Ob("Could not extract batch boundary.",_.yM(_.Kr(new _.Nb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.ld(_.Vga(h[0]),f)&&_.bd(h[1]))h=_.Vga(h[0]).substring(f.length);else throw new _.Ob("Could not parse batch response; did not begin and end with boundary.",_.yM(_.Kr(new _.Nb,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 x,A=e.headers,F=f[l],J=n&&n.uri,I=F.split("\r\n\r\n");if(2>I.length)u=new _.Ob("Individual batch response contained too few parts.",_.yM(_.Kr(new _.Nb,F),17));else{var R=I[1].split("\r\n");if(x=GOc.exec(R[0])){n=_.jb(x[1]);x=x[2];R.shift();A=_.ag(A);for(var S=Object,ea=S.assign,ba={},ua=0;ua<R.length;ua++){var oa=_.dha(R[ua],":",1);oa&&2==oa.length&&(ba[(0,_.Nf)(oa[0])]=(0,_.Nf)(oa[1]))}R=_.ZIc(ba);ea.call(S,A,R);try{u=_.bd(_.ah(I[2]))?void 0:JSON.parse(I[2])}catch(ka){}u=
(n=_.eJc(n,x,A,F,u,void 0,void 0,J&&J.toString()))?_.FM(n):{headers:A,text:F,json:u||void 0}}else u=new _.Ob("Could not extract HTTP status code and text.",_.yM(_.Kr(new _.Nb,F),16))}r.call(p,u)}return k}).then(null,function(e){e=_.FM(e);return _.lGc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].aj,k=e[f];k instanceof _.Nb||k instanceof _.Ob?h.reject(_.FM(k)):h.resolve(k)}})};
_.OOc=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 sOc(this.W);this.ka=new JOc(this.W,this.Ba);this.V=[]};_.g=_.OOc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].nt;this.V.push(f);c.push(POc(this.Ea,f,a[e].tw));d.push(qNc(f.request)?_.uNc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.FM(_.eJc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new LOc(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.msb.bind(b,r.am,p.ex),function(){});return u}.bind(this,a[f].nt.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].nt;var n=e[f].then(this.m1a.bind(this,l.request,d[f],a[f].tw)).then(null,function(p){return Promise.reject(_.FM(p))});n.then(this.TMa.bind(this,l),this.TMa.bind(this,l));c.push(n)}return c};_.g.m1a=function(a,b,c,d){a=_.QOc(this.va,a,d,c);b&&_.vNc(b,a.Nd?a.Nd():[]);return a};_.g.msb=function(a,b){a=!b&&_.ja(ROc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.Mb.isConnected()||a)c=oNc(b,c),a&&c&&_.iNc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.UMa=function(){return this.V.some(function(a){return _.xN(a.request)})};_.g.TMa=function(a){_.qa(this.V,a)};var ROc=[0,2,4,7,8];
var SOc;SOc=function(a){this.H=a};_.uO=function(a,b){if(!_.Aa(b))throw new _.Ob("Expected an object, but got a "+_.Uea(b)+".",_.DM(11,void 0,8));var c=b.kind;if(!c)throw new _.Ob("Expected 'kind' parameter in response: "+JSON.stringify(b),_.DM(11,void 0,21));if(!a.includes(c))throw new _.Ob("Expected "+a.join(" or ")+" but got a "+c+".",_.DM(11,void 0,9));};_.vO=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.TOc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.hKc(new _.Il,a.canAddChildren);c=_.B(c,18,a.canChangeTeamDriveBackground);c=_.B(c,2,a.canComment);c=_.B(c,3,a.canCopy);b=_.qKc(_.lKc(_.rKc(_.sKc(_.tKc(_.pKc(_.oKc(_.kKc(_.jKc(_.iKc(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=_.uKc(_.nKc(_.mKc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.B(b,27,a.canModifyContentRestriction);b=_.B(b,26,a.canShareOutsideDomain);b=_.xKc(_.wKc(_.vKc(_.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=_.zKc(_.yKc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.B(b,44,a.canRead);b=_.CKc(_.BKc(_.AKc(_.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)};
_.wO=function(a,b){_.uO(["drive#user"],b);var c=_.fKc(_.gKc(_.dKc(1).Wb(b.permissionId),b.id).$c(b.displayName),b.emailAddress);b.picture&&c.Hn(b.picture.url);_.iM(a.H)&&_.fKc(c,b.emailAddressFromAccount||b.emailAddress);_.eKc(c,a.Kf(b.id));_.B(c,9,b.domain);return c};SOc.prototype.Kf=function(a){if(a)return _.ON(_.gM(this.H))==a};
var UOc,$Oc,oPc,XOc,ePc,dPc,fPc,hPc,jPc,WOc,lPc,kPc,mPc,nPc,pPc,qPc,gPc;UOc=function(a,b){this.H=a;this.V=b};
_.YOc=function(a,b,c){var d=new _.nO,e=new _.kD,f=e.Cv;_.uO(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.VOc(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var n=_.VOc(a,k[l]);h.push(n)}e=f.call(e,h);e=_.B(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.uO(["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 _.jD).Bc(WOc[n.status]);
r=_.B(r,1,n.original);n=_.B(r,3,n.correction);a.push(n)}k=new _.qlb;a=_.hb(k,1,a);f.push(a)}p=new _.slb;_.hb(p,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.olb;_.B(u,1,f||[])}p||u?(f=new _.tlb,p&&_.z(f,1,p),u&&_.z(f,2,u),u=f):u=null;_.z(e,7,u);_.dLc(e,XOc(b))}d=_.wNc(d,e);c=_.aJc(c);c=_.B(d,2,c);b.nextPageToken&&_.B(c,3,b.nextPageToken);return c};
$Oc=function(a,b,c,d,e){_.uO(["drive#adminFile","drive#file","drive#revision"],b);var f=_.rLc(new _.wN,c);"drive#adminFile"==b.kind?(_.uO(["drive#adminFile"],b),c=(new _.Nl).Wb(b.id),b.parentId&&_.IN(c,[b.parentId]),_.SKc(c,b.teamDriveId),f.setItem(c),_.rLc(f,c.getId())):"drive#file"==b.kind?(b=_.VOc(a,b),f.setItem(b),c||_.rLc(f,b.getId())):"drive#revision"==b.kind&&(b=_.ZOc(a,b),_.z(f,4,b));f.r7(_.$Ic(d));f.f7(_.aJc(d));(d=(d=d&&_.ZIc(d))&&d["x-server-object-version"])&&e&&(e=(new _.VN).Wb(d),_.z(f,
4,e));f.Bc(1);return f};_.aPc=function(a,b){return _.rLc(new _.wN,a).Bc(1).r7(_.$Ic(b)).f7(_.aJc(b))};_.cPc=function(a,b,c,d){d||_.uO(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.bPc(a,b[c],d);f&&e.push(f)}return e};
_.bPc=function(a,b,c){c||_.uO(["drive#permission"],b);c=_.eKc(_.gKc(_.dKc(dPc[b.type]).Wb(b.id),b.userId),a.H.Kf(b.userId));c=_.B(c,4,b.withLink);c=_.fKc(c.$c(b.name).Hn(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.Wb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.iM(a.V)&&c.$c(b.nameIfNotUser);a=ePc[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};
_.VOc=function(a,b){_.uO(["drive#file"],b);var c=b.title,d=(new _.Nl).Wb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.QKc(_.MKc(_.XL(_.IN(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.Xl(b.description);_.NKc(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.qt(d.starred),_.B(c,6,d.hidden),c.co(d.trashed),_.JKc(c,d.restricted),_.B(c,9,d.viewed));_.B(c,10,_.vO(b.createdDate));_.B(c,69,_.vO(b.serverCreatedDate));_.mGc(c,_.vO(b.modifiedDate));_.B(c,12,_.vO(b.modifiedByMeDate));_.B(c,13,_.vO(b.lastViewedByMeDate));_.B(c,23,_.vO(b.sharedWithMeDate));_.B(c,62,_.vO(b.subscribedDate));_.B(c,70,_.vO(b.recency));b.recencyReason&&_.B(c,71,fPc[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.wO(a.H,
e[f]))&&d.push(h);_.KKc(c,d);b.lastModifyingUser&&(d=_.wO(a.H,b.lastModifyingUser),_.LKc(c,d));b.userPermission&&_.nGc(c,ePc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.FN,e=_.B(e,2,d.width).ug(d.height),e=_.B(e,4,d.rotation),d.date&&(d=d.date,f=new _.lIc,f.setMilliseconds(0),gPc.parse(d,f),_.B(e,1,f.getTime())),_.z(c,27,e));null!=b.folderColor&&_.PKc(c,Number(b.folderColor));_.OKc(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=_.wO(a.H,b.sharingUser),_.z(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],_.jGc[h]&&(h=_.Me(new _.Le,_.jGc[h]),e.push(h));c.MG(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 _.Nma).Wb(h.id);h=_.B(k,2,hPc[h.type]);e.push(h)}_.hb(c,83,e)}b.capabilities&&c.Gn(_.TOc(b.capabilities));b.permissionsSummary&&_.TKc(c,_.iPc(a,b.permissionsSummary));b.headRevisionId&&_.B(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.GN).Xl(d.description),
e=_.B(e,3,jPc[d.galleryState]),d=_.B(e,2,d.category||[]),_.z(c,86,d));_.SKc(c,b.teamDriveId);_.B(c,76,b.hasAugmentedPermissions);_.B(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.wO(a.H,b.creator),_.z(c,91,d));_.UKc(c,b.primaryDomainName);_.VKc(c,b.organizationDisplayName);_.B(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.wO(a.H,b.trashingUser),_.z(c,95,d));_.B(c,96,_.vO(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,kPc[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=new _.HN,e=_.B(e,1,d.width).ug(d.height),d.durationMillis&&_.B(e,3,Number(d.durationMillis)),_.z(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=_.EKc(_.DKc(new _.Kl,f.readOnly),f.reason),d.push(f);_.hb(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 _.Hl).Wb(f.approvalId).Bc(lPc[f.status]),d.push(f);_.hb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Xma,e=_.B(e,1,d.targetId),e=_.B(e,3,d.targetMimeType),e=_.B(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.B(e,4,mPc[d.targetLookupStatus]||0),d.targetFile&&(d=_.VOc(a,d.targetFile),_.z(e,5,d)),_.z(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.AN,e=_.B(e,1,nPc[d.encryptionState]),d.decryptionMetadata&&(d=oPc(d.decryptionMetadata),_.z(e,2,d)),_.z(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Oma,e=_.B(e,2,d.securityUpdateEligible),d=_.B(e,3,d.securityUpdateEnabled),_.z(c,139,d));_.B(c,140,b.resourceKey);_.B(c,135,b.authorizedAppIds||[]);_.B(c,136,b.customerId);
_.xJc(c);_.iM(a.V)&&_.RKc(c,5);return c};_.ZOc=function(a,b){_.uO(["drive#revision"],b);var c=(new _.VN).Wb(b.id);c=_.B(c,2,b.mimeType);c=_.B(c,3,_.vO(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=_.wO(a.H,b.lastModifyingUser),_.z(c,9,a));b.decryptionMetadata&&(b=oPc(b.decryptionMetadata),_.z(c,10,b));return c};
_.iPc=function(a,b){a=_.HKc(_.GKc(_.FKc(new _.Rma,b.entryCount),_.cPc(a,b,"visibility",!0)),_.cPc(a,b,"selectPermissions",!0));a=_.B(a,4,b.memberCount);a=_.B(a,5,b.userEntryCount);return _.B(a,6,b.groupEntryCount)};oPc=function(a){var b=a.wrappedKey;var c=new _.EN;b=b?_.mLc(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,pPc[a.aes256GcmChunkSize]);c=_.B(c,6,qPc[a.keyFormat]);return _.B(c,4,a.jwt)};
XOc=function(a){_.uO(["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};ePc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};dPc={anyone:4,audience:5,domain:3,group:2,user:1};fPc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};hPc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};jPc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};WOc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
lPc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};kPc={docs:1,sheets:2,slides:3};mPc={ok:1,notFound:2,permissionDenied:3};nPc={unencrypted:1,encrypted:2};pPc={unset:0,"default":1,small:2,size16kb:3};qPc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};gPc=new _.USa("yyyy:MM:dd HH:mm:ss");
var sPc;_.rPc=function(a){this.ka=new SOc(a);this.nC=new UOc(this.ka,a)};_.QOc=function(a,b,c,d){d=void 0===d?[]:d;try{return sPc(a,b,c,d)}catch(e){_.GM(e)}};
sPc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.NM)return _.tPc(a,b,c);if(b instanceof _.WM)return"base64"==c.headers["x-goog-safety-encoding"]?new SLc(_.taa(c.text),d.length):new SLc(new Uint8Array(_.$ka(c.text)),d.length);if(b instanceof _.ap){if(!c.json)throw _.xO();return _.YOc(a.nC,c.json,c.headers)}if(b instanceof _.tN)return _.tPc(a,b,c);if("undefined"!=typeof _.IJc&&b instanceof _.IJc){if(!c.json)throw _.xO();a=c.json;return new _.QLc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.uPc&&b instanceof _.uPc){if(!c.json)throw _.xO();return _.ZOc(a.nC,c.json)}if(b instanceof NJc){if(b.ha){if(!c.json)throw _.xO();a=$Oc(a.nC,c.json,null,c.headers,!!b.revisionId)}else a=_.aPc(null,c.headers);return a}if(b instanceof MJc){a=_.ZIc(c.headers);b=a.location;if(!b)throw a=_.yM(new _.Nb,10),new _.Ob("No upload session URI included.",a);return new RLc(b,_.$Ic(a),_.aJc(a))}throw new _.Ob("FromXhrConverter: Unsupported request type.",new _.Nb);};
_.rPc.prototype.ma=function(){return null};_.tPc=function(a,b,c){if(!c.json){if(b instanceof _.tM)return _.aPc(_.vPc(b));throw _.xO();}var d=!1;b instanceof _.tN&&(d=!!_.C(b.request,12));return $Oc(a.nC,c.json,_.vPc(b),c.headers,d)};_.xO=function(){var a=_.yM(new _.Nb,11);return new _.Ob("FromXhrConverter: JSON required, but none found",a)};_.vPc=function(a){return a.getId?a.getId():a.Kc?a.Kc():null};
var zPc,APc,CPc,wPc,DPc,xPc;
zPc=function(a,b){var c={};_.bd(_.ah(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.$b()&&(c.mimeType=a.$b(),a.Kc()&&_.Mda(a.$b())&&b)){var d=b.W(),e=b.V(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.mk(b.ma()),h.kaclsId=b.ta(),h.aes256GcmChunkSize=wPc[d?d.V():0],h.keyFormat=xPc[e?e.V():0],h);c.clientEncryptionDetails=f}_.yPc(c,_.Ad(a,3));(b=a.Kc())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));_.C(a,21)&&(c.shortcutDetails=
{},c.shortcutDetails.targetId=_.C(a,21));"number"===typeof _.C(a,26)&&(c.modifiedDate=_.cLc(_.ULc(_.C(a,26)||0)));return c};_.yPc=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)}}};APc={};_.BPc=(APc[1]="active",APc[2]="archived",APc);CPc={};wPc=(CPc[0]="unset",CPc[1]="default",CPc[2]="small",CPc[3]="size16kb",CPc);DPc={};xPc=(DPc[0]="unsetKeyFormat",DPc[1]="tinkKeyset",DPc[2]="tinkAesGcmKey",DPc);
var GPc=function(a,b){return WNc(a.file).then(function(c){return EPc(a,b,c)},FPc)},EPc=function(a,b,c){var d=!!_.C(a.request,12),e="files";d&&(e+="/"+_.C(a.request,12));e=new _.Pj(e);_.dk(e,"uploadType","multipart");_.dk(e,"supportsTeamDrives",!0);_.dk(e,"pinned",!!_.E(a.request,13,!1));null!=_.H(a.request,8)&&_.dk(e,"convert",_.H(a.request,8));_.dk(e,"fields",_.sJc({fields:_.cO(b).filter(function(n){return 194!=n}),Tx:!1}));zJc(e,a.request.ue());var f=zPc(a.request,a.metadata),h=_.bh();b={};b=(b["content-type"]=
_.ey('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.$b()&&(l["content-type"]=a.request.$b());a="--"+h;a=a+"\r\n"+yJc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+yJc(l)+"\r\n"+c+"\r\n"+a+"--";return{am:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}},FPc=function(a){if(a instanceof _.pnb){var b=new _.Nb;_.Jr(b,"fs.Error: "+a.message);
a=(a=a.name)?_.YDa.get(a)||25:38;_.yM(b,a);a=_.FM(b)}return Promise.reject(a)};
var POc;_.HPc=function(a,b,c,d){this.H=a;this.ha=b;this.ka=c;this.ke=d};POc=function(a,b,c){try{return b.request instanceof _.tN?GPc(b.request,a.ha):Promise.resolve(a.W(b.request,b.config,c))}catch(d){return d instanceof _.Ob?a=d.Sg:(a=new _.Nb,_.Jr(a,"Error converting XHR: "+d.message),_.Kr(a,d.stack),_.yM(a,4)),Promise.reject(a)}};
_.HPc.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.NM){h=(e=!!_.C(a,12))?"PUT":"POST";var p="files";e&&(p+="/"+_.C(a,12),k.pinned=!!_.E(a,13,!1));null!=_.H(a,8)&&(k.convert=_.H(a,8));k.fields=_.sJc({fields:this.Tg(c),Tx:_.CM(_.gM(this.H)),vL:_.iM(this.H)});e=zPc(a);f["content-type"]="application/json";var r=a.ue();n=!0;_.XN(k);_.IPc(this.H,k);_.RN(this.H)&&(b=_.al(a,_.hm,28),b.length?_.JPc(b,f):(a=_.Ad(a,3).concat([_.C(a,16),_.C(a,21),a.Kc()]),_.yO(this,a,f)))}else if(a instanceof
_.WM)p="files/"+a.getId(),_.C(a,2)&&(k.revisionId=_.C(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.RN(this.H)&&(a.PF()?_.JPc([_.im((new _.hm).Wb(a.getId()),_.C(a,3))],f):_.yO(this,[a.getId()],f)),n=l=!0;else if(a instanceof _.ap)n=a.om()[0],p="files/"+n,r=_.sa(this.Tg(c),this.Tg(c,a.Hi())),_.Ca(r),k.fields=_.sJc({fields:r,Tx:_.CM(_.gM(this.H)),vL:_.iM(this.H)}),_.XN(k),_.KPc(this.H,k),_.LPc(this.H,k),this.V(n,k),r=a.ue(),n=!0,_.H(a,7)&&(b.Cra=!0),_.RN(this.H)&&(b=_.al(a,
_.hm,11),b.length?_.JPc(b,f):_.yO(this,a.om(),f));else if("undefined"!=typeof _.IJc&&a instanceof _.IJc)p="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.uPc&&a instanceof _.uPc)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 NJc){d=4;h="PUT";p=a.ka;f["content-type"]=a.contentType;if(a.W>=
a.V){var u=a.V;n=a.W;f["content-range"]=a.ha?_.ey("bytes %d-%d/%d",u,n,n+1):_.ey("bytes %d-%d/*",u,n)}u=a.H;n=!0}else a instanceof MJc?(d=2,h=(e=!!_.C(a.request,12))?"PUT":"POST",p="files",e&&(p+="/"+_.C(a.request,12)),k.uploadType="resumable",k.pinned=!!_.E(a.request,13,!1),null!=_.H(a.request,8)&&(k.convert=_.H(a.request,8)),k.fields=_.sJc({fields:this.Tg(c).filter(function(x){return 194!=x}),Tx:_.CM(_.gM(this.H)),vL:_.iM(this.H)}),_.XN(k),e=zPc(a.request,a.metadata),f["content-type"]="application/json",
null!=a.request.$b()&&(f["x-upload-content-type"]=a.request.$b()),_.RN(this.H)&&_.yO(this,_.Ad(a.request,3),f),r=a.request.ue(),n=!0):a instanceof _.RJc?(p="about",k.fields="kind",r=a.H,n=!0):_.MPc(a);n&&_.NPc(c,k);0!=d||l||r&&_.C(r,1)||_.PMc(this.ke,74438989);return _.OPc(d,p,k,f,h,r,e,u)};
_.OPc=function(a,b,c,d,e,f,h,k){b=new _.Pj(b);[10,12,13].includes(a)||zJc(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;_.ek(b,f,l)}return{am:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.KPc=function(a,b){_.E(a.Hf(),23,!1)&&(b.includePermissionsForView="published")};_.HPc.prototype.V=function(){};_.LPc=function(a,b){_.E(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};
_.IPc=function(a,b){_.E(a,3,!1)&&(b.enforceSingleParent=!0)};_.NPc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ca(a).Hzb):b.retryCount=0};_.HPc.prototype.Tg=function(a,b){b||(b=_.cO(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return FLc.includes(c)}));return b};_.yO=function(a,b,c){b&&b.length&&(a=gNc(a.ka,b),_.JPc(a,c))};_.JPc=function(a,b){a.length&&(a=_.KC(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};
_.MPc=function(a){var b=_.yM(new _.Nb,4);throw new _.Ob("ToXhrConverter: Unsupported request type: "+TJc(a),b);};
_.zO=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.W=a;this.ka=b;this.Ba=c;this.ma=d;this.Sa=e;this.H={};this.ke=null;this.va=f;this.ta={};_.Wd(this,function(){h.hNa()})};_.N(_.zO,_.Q);_.zO.prototype.jV=function(){return _.ch()};
_.zO.prototype.upload=function(a,b,c,d){tNc(this.ka,"UploadTotalCount");var e=_.UN(a);if(e&&this.H[e])throw new _.Ob("Upload requested with a duplicate request ID.");var f=_.Ad(a,10);if(f&&f.length){if(1!=f.length)throw new _.Ob("Multi-parented uploads are not supported.");var h=this.H[f[0]];if(!h)throw new _.Ob("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);e||(e=this.jV(),_.B(a,9,e));a=_.gl(a);f=PPc(this,e);this.H[e]={request:a,file:b,
Lg:f,hI:!1,MN:0,success:!1,IH:!1,children:[],metadata:c,nda:void 0,d0:d};h?QPc(this,e,h):this.ha(e);return f.Kl()};
var PPc=function(a,b){var c=new _.Bi;c.Sf(_.Ta(a.Ma,b),_.Ta(a.Ka,b),a);return c},QPc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.Ca(c.children);c.Lg.then(function(f){if(1==f.Hb()&&(f=f.Kc(),_.Ad(e.request,3).push(f),_.AM(e.request,10),!c.IH||d)){a.ha(b);return}RPc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Lg.Qd(_.hM(f)?f:Error(f))})};
_.zO.prototype.Ma=function(a,b){tNc(this.ka,"UploadSuccessCount");a=this.H[a];a.success=1==b.Hb();(b=a.nda)&&!a.IH&&(zLc(BLc(nMc(b),a.MN),!0),b.H())};_.zO.prototype.Ka=function(a,b){var c=_.D(this.W,_.cJc,58);c&&_.E(c,1,!1)&&(this.ta[a]=b);tNc(this.ka,"UploadFailureCount");c=this.H[a];(a=c.nda)&&!c.IH&&(zLc(BLc(nMc(a),c.MN),!1),b=(c=b&&b.Sg)&&c.xj(),c=c&&c.Qo(),b?ALc(nMc(a),SPc.get(b)||13):c&&ALc(nMc(a),TPc.get(c)||0),a.H())};
_.zO.prototype.ha=function(a){var b=this.H[a];if(!b.hI){b.hI=!0;a=this.H[a];var c=a.request,d=_.D(this.W,_.cJc,58);d&&_.E(d,4,!1)&&(d=c.getTitle().match(UPc))&&(!d[1]||a.MN<Number(d[1].substr(1)))&&(c=_.gl(c),_.na(_.Ad(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.D(b.request,_.hLc,15))?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.Hf();d=_.Kk(c,33,1048576);d=b.file&&(b.file&&e>d||b.d0)?2:b.file?1:3;if(this.va&&3!=d){var f=this.va.V(106012);if(f){b.nda=f;f=nMc(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=_.Kk(c,32,1073741824);_.B(e,7,c)}}switch(d){case 2:b.file&&VPc(this,new _.OJc(a,b.file,b.d0,b.metadata),b.Lg,_.UN(a));break;case 1:b.file&&(c=b.Lg,d=b.file,b=b.metadata,e=_.D(this.W,_.cKc,2),VPc(this,new _.tN(a,d,e&&_.zN(e)?b:void 0),c,_.UN(a)));break;case 3:VPc(this,a,b.Lg,_.UN(a));break;default:throw new _.Ob("Upload type ${uploadType} not supported.");}}};
var VPc=function(a,b,c,d){VMc(a.Ba,d,a.Ea.bind(a,d));_.zi(a.ma.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return WPc(a,b,e)}),function(){WMc(a.Ba,[d])}).then(c.callback,c.Qd,c)},WPc=function(a,b,c){var d=_.FM(c),e=b instanceof _.tN&&b.request.Kc()||"";c=d.Sg;if(e&&8==c.xj()){RPc(a);var f=_.cp(new _.ap,[e]);return _.Hi(a.ma.then(function(h){return h.H(f)}).then(function(h){h=h.Sr().Nd()[0];var k=b.request;if(h&&!h.ki()&&(h.$b()||"").replace(/\s/g,"")==(k.$b()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return RPc(a),_.rLc((new _.wN).setItem(h),e).Bc(1);RPc(a);return _.ti(d)}))}return _.Ii(d)};
_.zO.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.IH||0!=c.children.length))if(c.IH=!0,c.Lg.wf())RPc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ha(c.children,this.cancel,this);else{var d=c.nda;d&&(ALc(zLc(BLc(nMc(d),c.MN),!1),2),d.H());var e=_.yi();c.hI?this.ma.then(function(f){return void e.resolve(f.cancel(a))}):(c.hI=!0,d=new _.wN,d.Bc(8),c.Lg.callback(d),e.resolve(!0));e.promise.then(function(f){return RPc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.zO.prototype.hNa=function(){var a=this;_.Qf(this.H,function(b,c){a.cancel(c)})};
_.zO.prototype.$ta=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=(_.Ad(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Lg.wf()||e[k])break;else if(!c.has(k)){e[f]=new _.Ob("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.da(h,function(n){var p=b.H[n];p.MN++;if(!e[n])if(!p.Lg.wf()||p.success)e[n]=new _.Ob("Unable to retry request.");else{var r=(_.Ad(p.request,10)||[])[0];e[r]instanceof
_.Ob?e[n]=e[r]:(p.Lg=PPc(b,n),p.hI=!1,p.IH=!1,(r=r?b.H[r]:null)?QPc(b,n,r,!0):d.push(n),e[n]=p.Lg.Kl())}})}else e[f]=new _.Ob("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Bi?f:_.Ii(f)});_.Ha(d,this.ha,this);return a};var RPc=function(a){a.isDisposed()};_.zO.prototype.Ed=function(a){return this.H[a]};var UPc=/^uploadTestFailMe(\.[1-9])?$/,TPc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),SPc=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy130");
var XPc=function(a,b){this.V=a;this.H=null;this.W=b};XPc.prototype.get=function(a){return this.Js()[a]||null};XPc.prototype.set=function(a){this.Js()[this.W(a)]=a;this.V=null};XPc.prototype.Js=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var ZPc,YPc;_.AO=function(a,b){this.H=a;this.V=b};
_.BO=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!YPc(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.QH(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.SH(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&YPc(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++)YPc(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&&YPc(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.SH(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.QH(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.tI(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.Th()||0;r>(p.Th()||0)&&--r;if(l=l.H.fN(l.H.tI(n),p.Th()||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.Th()||0;r=n.Qv()||0;n.setPosition((n.Th()||0)+ZPc(f,n.Th()||0));e[h].setPosition((e[h].Th()||0)+d);3==e[h].getType()&&(n.ww((n.Qv()||0)+ZPc(f,n.Qv()||0)),e[h].ww((e[h].Qv()||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 XPc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&!_.fl(k,h)&&e.push(a.H.lL(h,f));return d.concat(e)};ZPc=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};YPc=function(a,b,c){return a.V(b)==a.V(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.$Pc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.$Pc,_.M);_.g=_.$Pc.prototype;_.g.getType=function(){return _.C(this,1)};_.g.getItem=function(){return _.D(this,_.Nl,2)};_.g.setItem=function(a){return _.z(this,2,a)};_.g.Qv=function(){return _.C(this,3)};_.g.ww=function(a){return _.B(this,3,a)};_.g.Th=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.B(this,4,a)};_.aQc=function(a){var b=new _.$Pc;return _.B(b,1,a)};_.t("sy131");
var bQc=function(){};_.g=bQc.prototype;_.g.SH=function(a,b){return _.aQc(1).setItem(a).setPosition(b)};_.g.QH=function(a,b){return _.aQc(2).setPosition(b).setItem(a)};_.g.fN=function(a,b,c){return _.aQc(3).ww(b).setPosition(c).setItem(a)};_.g.lL=function(a,b){return _.aQc(4).setItem(a).setPosition(b)};_.g.tI=function(a){return a.getItem()};
_.CO=function(){_.AO.call(this,new bQc,function(a){return a.getId()})};_.N(_.CO,_.AO);_.Bf(_.CO);

_.w();

}catch(e){_._DumpException(e)}
try{
_.DO=function(a,b){return _.B(a,33,b||[])};_.EO=function(a,b){return _.B(a,45,b)};_.cQc=function(a,b){return _.B(a,60,b)};_.dQc=function(a,b){return _.B(a,5,b)};_.Pb=function(a){_.aj.call(this,_.Dc);this.error=a};_.N(_.Pb,_.aj);_.t("sy132");
_.eQc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var fQc;fQc=[1];_.FO=function(a){_.T(this,a,0,-1,fQc,null)};_.O(_.FO,_.M);_.FO.prototype.V=function(){return _.Ad(this,1)};_.t("sy12w");
_.GO=function(a){_.T(this,a,0,-1,gQc,null)};_.O(_.GO,_.M);var gQc=[2];_.GO.prototype.Hb=function(){return _.C(this,1)};_.GO.prototype.Bc=function(a){return _.B(this,1,a)};_.GO.prototype.dk=function(){return _.al(this,_.Nl,2)};_.hQc=function(a,b){return _.hb(a,2,b)};_.GO.prototype.Op=function(a,b){return _.dl(this,2,a,_.Nl,b)};_.GO.prototype.getSessionId=function(){return _.D(this,_.Zm,3)};_.GO.prototype.setSessionId=function(a){return _.z(this,3,a)};_.GO.prototype.Df=function(){return _.C(this,4)};
_.iQc=function(a,b){return _.B(a,4,b)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.jQc=function(a){return _.Od(a).Tg(_.E(a.get(_.Wq),19,!1)?_.fGc:_.Md)};_.t("sy137");

_.w();

}catch(e){_._DumpException(e)}
try{
var kQc,lQc,mQc,nQc,oQc,pQc,qQc,rQc,sQc,tQc,vQc,wQc,xQc,yQc,zQc,IO,EQc,FQc,JO,KO,GQc,HQc,JQc,KQc,LQc,NQc,PQc,QQc,RQc,SQc,TQc,VQc,XQc,ZQc,bRc,eRc,hRc,iRc,jRc,mRc,nRc,pRc,qRc,rRc,tRc,sRc,wRc,yRc,ARc,CRc,GRc,IRc,JRc,KRc,ORc,PRc,QRc,RRc,SRc,TRc,WO,oTc,pTc,qTc,rTc,sTc,zTc,GTc,HTc,ITc,LTc,MTc,NTc,OTc,eUc,gUc,iUc,jUc,BUc,CUc,DUc,EUc,ZO,oRc,FUc,GUc,BVc,LVc,MVc,NVc,OVc,RVc,TVc,cWc,gWc,hWc,oWc,pWc,yWc,OWc,PWc,SWc,WWc,cXc,gXc,mXc,FXc,HXc,IXc,bYc,cYc,FRc,dYc,eYc,fYc,WQc,jZc,kZc,lZc,z2c,A2c,B2c,C2c,D2c,E2c,F2c,
G2c,H2c;kQc=function(a){a={Title:a.getTitle(),Type:a.$b(),Parents:_.Ad(a,3),Convert:_.H(a,8),ID:_.UN(a)};var b=[];_.Qf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
lQc=function(a){var b=[];b.push(kQc(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.MN&&b.push("# of retries by client: "+a.MN);var d="";a.hI?a.Lg.wf()?a.Lg.Sf(function(){d="Completed successfully."},function(e){d=e instanceof _.Ci?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
mQc=function(a,b,c,d,e,f){var h=_.ey("Drive Upload Report: %d/%d failed",_.Uf(f),_.Uf(e));a=a.Hf();d.push("Batch query interval: "+_.Kk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Kk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Kk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Kk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Kk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Qf(e,function(n){l.push(lQc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.PLc(b)});_.Qf(f,function(n,p){var r=k.push;p=e[p].request;p=_.ey('ErrorResponseFor"%s"(ID:%s).txt',p.getTitle()||"",_.UN(p)||"");var u=n.Sg;u=u?_.C(u,4):"No detail.";r.call(k,{name:p,content:n.toString()+"\n"+u})});return{title:h,description:d,PU:k,Td:152391,kba:c,E0:361003}};nQc=function(a){return Array.prototype.concat.apply([],arguments)};oQc=function(a,b,c){c=_.Ea(a,b,c);return 0>c?(_.ya(a,-(c+1),0,b),!0):!1};
pQc=function(a){return String.fromCharCode(10>a?48+a:87+a)};qQc=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]=pQc(d>>4);b[2*c+3]=pQc(d&15)}return b.join("")};rQc=function(a){var b=new _.Hq;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.HM(a,!0,"file"));a.E_&&(b.append(",teamDriveId,teamDrive("),b.append(a.E_),b.append(")"));b.append(")");return b.toString()};
sQc=function(a){var b=new _.Hq;b.append("kind,nextPageToken,items(");b.append(_.HM(a,!0));b.append("),incompleteSearch");a.E_&&(b.append(","),b.append(a.E_));return b.toString()};
tQc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.D(d,_.AN,138),k=_.D(d,_.Kl,111),l=_.D(d,_.FN,27),n=_.Zl(d),p=d.Uf(),r=_.D(d,_.HN,103);switch(e){case 74:_.BM(d,83);break;case 188:_.Sk(d,137);break;case 149:_.AM(d,128);break;case 148:_.BM(d,127);break;case 138:_.Sk(d,126);break;case 184:_.AM(d,135);break;case 76:f&&_.Sk(f,1);break;case 208:f&&_.Sk(f,48);break;case 185:f&&_.Sk(f,40);break;case 213:f&&_.Sk(f,50);break;case 156:f&&_.Sk(f,39);break;case 61:f&&_.Sk(f,
2);break;case 216:f&&_.Sk(f,52);break;case 217:f&&_.Sk(f,53);break;case 77:f&&_.Sk(f,4);break;case 134:f&&_.Sk(f,34);break;case 147:f&&_.Sk(f,38);break;case 81:f&&_.Sk(f,10);break;case 82:f&&_.Sk(f,11);break;case 114:f&&_.Sk(f,27);break;case 133:f&&_.Sk(f,33);break;case 202:f&&_.Sk(f,47);break;case 132:f&&_.Sk(f,32);break;case 101:f&&_.Sk(f,20);break;case 201:f&&_.Sk(f,46);break;case 131:f&&_.Sk(f,31);break;case 200:f&&_.Sk(f,45);break;case 130:f&&_.Sk(f,30);break;case 93:f&&_.Sk(f,17);break;case 191:f&&
_.Sk(f,44);break;case 146:f&&_.Sk(f,37);break;case 90:f&&_.Sk(f,16);break;case 78:f&&_.Sk(f,7);break;case 186:f&&_.Sk(f,41);break;case 85:f&&_.Sk(f,12);break;case 137:f&&_.Sk(f,36);break;case 209:f&&_.Sk(f,49);break;case 79:f&&_.Sk(f,8);break;case 189:f&&_.Sk(f,42);break;case 190:f&&_.Sk(f,43);break;case 80:f&&_.Sk(f,9);break;case 135:f&&_.Sk(f,35);break;case 102:f&&_.Sk(f,21);break;case 69:_.Sk(d,74);break;case 194:h&&_.Tk(h,2);break;case 193:h&&_.Sk(h,1);break;case 1004:_.Sk(d,108);break;case 136:_.BM(d,
125);break;case 115:k&&_.Sk(k,1);break;case 116:k&&_.Sk(k,2);break;case 34:_.Sk(d,30);f&&_.Sk(f,3);break;case 9:_.Sk(d,10);break;case 91:_.Tk(d,91);break;case 43:_.Sk(d,42);_.Sk(d,43);break;case 187:_.Sk(d,136);break;case 26:_.Sk(d,24);break;case 108:_.AM(d,104);break;case 41:_.Sk(d,40);f&&_.Sk(f,5);break;case 42:_.Sk(d,41);break;case 1005:_.BM(d,117);break;case 59:f&&_.Sk(f,6);break;case 28:_.Sk(d,26);break;case 44:_.Sk(d,45);break;case 13:_.Sk(d,14);break;case 48:_.Sk(d,36);break;case 38:_.Sk(d,
34);break;case 49:_.AM(d,50);break;case 51:_.Sk(d,53);break;case 104:_.Sk(d,102);break;case 39:_.Sk(d,35);break;case 87:_.Sk(d,76);break;case 100:_.Sk(d,98);break;case 72:_.Sk(d,78);break;case 5:_.Sk(d,6);break;case 20:_.Sk(d,21);break;case 21:break;case 29:l&&_.Sk(l,1);break;case 31:l&&_.Sk(l,3);break;case 92:l&&_.Sk(l,4);break;case 30:l&&_.Sk(l,2);break;case 16:_.Tk(d,17);break;case 12:_.Sk(d,13);break;case 211:n&&_.Sk(n,2);break;case 212:n&&_.Sk(n,3);break;case 157:(d=d.Fk())&&_.BM(d,8);break;
case 3:_.Sk(d,4);break;case 11:_.Sk(d,12);break;case 10:_.Sk(d,11);break;case 50:_.Sk(d,49);_.Sk(d,51);_.Tk(d,81);break;case 18:_.Sk(d,19);break;case 95:_.Sk(d,93);break;case 58:_.Sk(d,63);break;case 14:_.BM(d,15);break;case 103:_.Sk(d,101);break;case 1:_.AM(d,2);break;case 96:_.Sk(d,94);break;case 1003:_.BM(d,107);break;case 75:_.Tk(d,85);break;case 94:_.Sk(d,92);break;case 45:_.Sk(d,46);break;case 124:_.Sk(d,118);break;case 125:_.Sk(d,119);break;case 1002:_.Tk(d,100);break;case 32:_.Sk(d,28);break;
case 67:_.Sk(d,70);break;case 68:_.Sk(d,71);break;case 73:_.Sk(d,79);break;case 71:_.Sk(d,77);break;case 210:_.Sk(d,140);break;case 7:_.Sk(d,8);break;case 122:_.Tk(d,109);break;case 66:_.Sk(d,69);break;case 33:_.Sk(d,29);break;case 24:_.Sk(d,22);break;case 25:_.Sk(d,23);break;case 46:_.Tk(d,47);break;case 192:p&&_.Sk(p,6);break;case 159:p&&_.Tk(p,5);break;case 154:p&&_.Sk(p,1);break;case 158:p&&_.Sk(p,4);break;case 155:p&&_.Sk(p,3);break;case 52:_.AM(d,56);break;case 56:_.Sk(d,61);break;case 55:_.BM(d,
60);break;case 4:_.Sk(d,5);break;case 35:_.Sk(d,31);break;case 57:_.Sk(d,62);break;case 83:_.Sk(d,72);break;case 84:_.Tk(d,86);break;case 19:_.Sk(d,20);_.Sk(d,44);_.Sk(d,90);break;case 2:_.Sk(d,3);break;case 6:_.Sk(d,7);break;case 98:_.Sk(d,96);break;case 97:_.Tk(d,95);break;case 27:_.Sk(d,25);break;case 70:_.Sk(d,75);break;case 107:r&&_.Sk(r,3);break;case 106:r&&_.Sk(r,2);break;case 105:r&&_.Sk(r,1);break;case 8:_.Sk(d,9);break;case 126:_.AM(d,120);break;default:throw Error("Cc`"+e);}}};
vQc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Mc(a),_.Mc(uQc)));a=[].concat(_.Mc(_.Z3a.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)tQc(b[d],a)}};
wQc=function(a,b){var c=a.getCapabilities()||new _.Il,d=_.D(a,_.AN,138),e=_.D(a,_.Kl,111),f=_.D(a,_.FN,27),h=_.Zl(a),k=a.Uf(),l=_.D(a,_.HN,103);switch(b){case 74:return 0<_.Wl(a).length;case 188:return null!=_.H(a,137);case 149:return 0<_.Ad(a,128).length;case 148:return 0<a.Soa().length;case 138:return null!=a.oba();case 184:return 0<_.Ad(a,135).length;case 76:return null!=_.Jl(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!=c.Iv();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!=_.Cd(c);case 78:return null!=_.H(c,7);case 186:return null!=_.H(c,41);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,_.EN,2);case 193:return null!=d&&null!=_.C(d,1);case 1004:return null!=_.H(a,108);case 136:return 0<a.VV().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.mD();case 91:return null!=_.D(a,_.Cl,91);case 43:return null!=_.C(a,42)||null!=_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=a.zg();case 108:return 0<
_.Ad(a,104).length;case 41:return null!=_.H(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.al(a,_.Fl,117).length;case 59:return null!=_.H(c,6);case 28:return null!=a.pF();case 44:return null!=_.C(a,45);case 13:return null!=a.qF();case 48:return null!=_.H(a,36);case 38:return null!=a.Ri();case 49:return 0<_.Ad(a,50).length;case 51:return null!=_.H(a,53);case 104:return null!=_.H(a,102);case 39:return null!=a.Pba();case 87:return null!=_.Pl(a);case 100:return null!=_.H(a,98);case 72:return null!=
_.C(a,78);case 5:return null!=a.nm();case 20:return null!=a.We();case 21:return null!=a.getId();case 29:return!(!f||null==_.C(f,1));case 31:return!(!f||null==f.Ve());case 92:return!(!f||null==_.C(f,4));case 30:return!(!f||null==_.C(f,2));case 16:return null!=a.Yp();case 12:return null!=a.Fz();case 211:return null!=h&&null!=_.H(h,2);case 212:return null!=h&&null!=_.H(h,3);case 157:return a=a.Fk(),!(!a||!_.al(a,_.Ml,8));case 3:return null!=a.$b();case 11:return null!=a.KB();case 10:return null!=a.Hr();
case 50:return null!=a.Vq()||null!=_.H(a,51)||null!=a.vn();case 18:return null!=_.C(a,19);case 14:return 0<_.Ol(a).length;case 95:return null!=a.Pn();case 58:return null!=_.H(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.oj().length;case 96:return null!=_.H(a,94);case 1003:return 0<_.Yl(a).length;case 75:return null!=a.Lw();case 94:return null!=_.C(a,92);case 45:return null!=a.Pr();case 124:return null!=_.H(a,118);case 125:return null!=_.C(a,119);case 1002:return null!=_.Xl(a);case 32:return null!=
a.ey();case 67:return null!=a.mM();case 68:return null!=a.nM();case 73:return null!=_.C(a,79);case 71:return null!=a.V();case 210:return null!=_.$l(a);case 7:return null!=a.U0();case 122:return null!=a.rF();case 66:return null!=_.C(a,69);case 33:return null!=_.H(a,29);case 24:return null!=a.fj();case 25:return null!=a.Xw();case 46:return null!=a.eD();case 192:return null!=k&&null!=_.H(k,6);case 159:return null!=k&&null!=_.Gd(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=
_.Jd(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Ad(a,56).length;case 55:return 0<a.Sv().length;case 56:return null!=_.C(a,61);case 4:return null!=a.Gz();case 35:return null!=_.H(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Zc();case 84:return null!=_.D(a,_.GN,86);case 2:return null!=a.getTitle();case 19:return null!=a.Dv()||null!=_.H(a,44)||null!=_.C(a,90);case 6:return null!=a.ki();case 98:return null!=a.uD();case 97:return null!=a.vD();case 27:return null!=a.Qn();
case 70:return null!=_.C(a,75);case 107:return null!=l&&null!=_.C(l,3);case 106:return null!=l&&null!=l.Ve();case 105:return null!=l&&null!=_.C(l,1);case 8:return null!=_.H(a,9);case 126:return 0<_.Ad(a,120).length;default:throw Error("Dc`"+b);}};xQc=function(a,b){return b.every(function(c){return wQc(a,c)})};yQc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.rJc:[]);return b.every(function(e){return(new Set(d)).has(e)})};zQc=function(a,b){var c=new Set(b.concat(_.rJc));return a.filter(function(d){return!c.has(d)})};
IO=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(wQc(b,e))if(_.a4a.has(e)){if(d){var f=a.getCapabilities()||new _.Il;a.Gn(f);switch(e){case 76:_.hKc(f,_.Jl(d));break;case 208:_.CKc(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:_.iKc(f,
_.H(d,4));break;case 134:var u=_.H(d,34);_.B(f,34,u);break;case 147:var x=d.Iv();_.B(f,38,x);break;case 81:_.oKc(f,_.H(d,10));break;case 82:_.pKc(f,_.H(d,11));break;case 114:var A=_.H(d,27);_.B(f,27,A);break;case 133:_.xKc(f,_.H(d,33));break;case 202:_.BKc(f,_.H(d,47));case 132:_.wKc(f,_.H(d,32));break;case 101:_.tKc(f,_.H(d,20));break;case 201:_.AKc(f,_.H(d,46));break;case 131:_.vKc(f,_.H(d,31));break;case 200:var F=_.H(d,45);_.B(f,45,F);break;case 130:var J=_.H(d,30);_.B(f,30,J);break;case 93:_.sKc(f,
_.H(d,17));break;case 191:var I=_.H(d,44);_.B(f,44,I);break;case 146:var R=_.H(d,37);_.B(f,37,R);break;case 90:_.rKc(f,_.Cd(d));break;case 78:_.lKc(f,_.H(d,7));break;case 186:var S=_.H(d,41);_.B(f,41,S);break;case 85:_.qKc(f,_.H(d,12));break;case 137:var ea=_.H(d,36);_.B(f,36,ea);break;case 209:var ba=_.H(d,49);_.B(f,49,ba);break;case 79:_.mKc(f,_.H(d,8));break;case 189:_.yKc(f,_.H(d,42));break;case 190:_.zKc(f,_.H(d,43));break;case 80:_.nKc(f,_.H(d,9));break;case 135:var ua=_.H(d,35);_.B(f,35,ua);
break;case 102:_.uKc(f,_.H(d,21));break;case 34:var oa=_.H(b,30);_.B(a,30,oa);var ka=_.H(d,3);_.B(f,3,ka);break;case 41:var za=_.H(b,40);_.B(a,40,za);_.jKc(f,_.H(d,5));break;case 59:_.kKc(f,_.H(d,6))}}}else if(_.b4a.has(e)){var Pa=_.D(b,_.AN,138);if(Pa){var ub=_.D(a,_.AN,138)||new _.AN;_.z(a,138,ub);switch(e){case 194:var Za=_.D(Pa,_.EN,2);_.z(ub,2,Za);break;case 193:var Ub=_.C(Pa,1);_.B(ub,1,Ub)}}}else if(_.c4a.has(e)){var ad=_.D(b,_.Kl,111);if(ad){var Rd=_.D(a,_.Kl,111)||new _.Kl;_.z(a,111,Rd);
switch(e){case 115:_.DKc(Rd,_.H(ad,1));break;case 116:_.EKc(Rd,_.C(ad,2))}}}else if(_.d4a.has(e)){var Ue=_.D(b,_.FN,27);if(Ue){var Ne=_.D(a,_.FN,27)||new _.FN;_.z(a,27,Ne);switch(e){case 29:var Ve=_.C(Ue,1);_.B(Ne,1,Ve);break;case 31:Ne.ug(Ue.Ve());break;case 92:var Oe=_.C(Ue,4);_.B(Ne,4,Oe);break;case 30:var Kh=_.C(Ue,2);_.B(Ne,2,Kh)}}}else if(_.e4a.has(e)){var md=_.Zl(b);if(md){var Lh=_.Zl(a)||new _.Oma;_.z(a,139,Lh);switch(e){case 211:var Gg=_.H(md,2);_.B(Lh,2,Gg);break;case 212:var wf=_.H(md,
3);_.B(Lh,3,wf)}}}else{if(d&&_.Gk(d,51)){var Gb=a.getCapabilities()||new _.Il;a.Gn(Gb);var gh=_.Gk(d,51);_.B(Gb,51,gh)}if(_.f4a.has(e)){var jj=b.Uf();if(jj){var Ji=a.Uf()||new _.Xma;_.z(a,132,Ji);switch(e){case 192:var rn=_.H(jj,6);_.B(Ji,6,rn);break;case 159:var po=_.Gd(jj);_.z(Ji,5,po);break;case 154:var rg=_.C(jj,1);_.B(Ji,1,rg);break;case 158:var $f=_.Jd(jj);_.B(Ji,4,$f);break;case 155:var hh=_.C(jj,3);_.B(Ji,3,hh)}}}else if(_.g4a.has(e)){var Lk=_.D(b,_.HN,103);if(Lk){var kj=_.D(a,_.HN,103)||
new _.HN;_.z(a,103,kj);switch(e){case 107:var sn=_.C(Lk,3);_.B(kj,3,sn);break;case 106:kj.ug(Lk.Ve());break;case 105:var Yj=_.C(Lk,1);_.B(kj,1,Yj)}}}else switch(e){case 74:var Zj=_.Wl(b);_.hb(a,83,Zj);break;case 188:var ak=_.H(b,137);_.B(a,137,ak);break;case 149:var Vi=_.Ad(b,128);_.B(a,128,Vi||[]);break;case 148:var ph=b.Soa();_.hb(a,127,ph);break;case 138:var Mh=b.oba();_.B(a,126,Mh);break;case 184:var Ql=_.Ad(b,135);_.B(a,135,Ql||[]);break;case 69:var Wi=_.H(b,74);_.B(a,74,Wi);break;case 1004:var Xi=
_.H(b,108);_.B(a,108,Xi);break;case 136:var Sg=b.VV();_.hb(a,125,Sg);break;case 9:var Nh=b.mD();_.B(a,10,Nh);break;case 91:var Ki=_.D(b,_.Cl,91);_.z(a,91,Ki);break;case 43:var Rl=_.C(b,42);_.B(a,42,Rl);var Sl=_.C(b,43);_.B(a,43,Sl);break;case 187:var qh=_.C(b,136);_.B(a,136,qh);break;case 26:a.Xl(b.zg());break;case 108:var Oh=_.Ad(b,104);_.B(a,104,Oh||[]);break;case 42:var jq=_.C(b,41);_.B(a,41,jq);break;case 1005:var Mk=_.al(b,_.Fl,117);_.hb(a,117,Mk);break;case 28:_.NKc(a,b.pF());break;case 44:var Yi=
_.C(b,45);_.B(a,45,Yi);break;case 13:var qo=b.qF();_.B(a,14,qo);break;case 48:var nd=_.H(b,36);_.B(a,36,nd);break;case 38:_.PKc(a,b.Ri());break;case 49:var ol=_.Ad(b,50);_.B(a,50,ol||[]);break;case 51:var Cj=_.H(b,53);_.B(a,53,Cj);break;case 104:var Lf=_.H(b,102);_.B(a,102,Lf);break;case 39:var ih=b.Pba();_.B(a,35,ih);break;case 87:var Tl=_.Pl(b);_.B(a,76,Tl);break;case 100:var Fm=_.H(b,98);_.B(a,98,Fm);break;case 72:var vi=_.C(b,78);_.B(a,78,vi);break;case 5:var ii=b.nm();_.B(a,6,ii);break;case 20:var Gm=
b.We();_.B(a,21,Gm);break;case 21:a.Wb(b.getId());break;case 16:_.LKc(a,b.Yp());break;case 12:var Dj=b.Fz();_.B(a,13,Dj);break;case 157:var Hm=b.Fk();if(Hm){var pl=a.Fk()||new _.Vma;AQc(a,pl);BQc(pl,_.al(Hm,_.Ml,8))}break;case 3:_.XL(a,b.$b());break;case 11:var ro=b.KB();_.B(a,12,ro);break;case 10:_.mGc(a,b.Hr());break;case 50:var Hg=b.Vq();_.B(a,49,Hg);var so=_.H(b,51);_.B(a,51,so);var kq=b.vn();_.z(a,81,kq);break;case 95:_.VKc(a,b.Pn());break;case 18:_.MKc(a,_.C(b,19));break;case 58:var Im=_.H(b,
63);_.B(a,63,Im);break;case 14:_.KKc(a,_.Ol(b));break;case 1:_.IN(a,b.oj());break;case 96:var to=_.H(b,94);_.B(a,94,to);break;case 103:var kp=_.C(b,101);_.B(a,101,kp);break;case 1003:CQc(a,_.Yl(b));break;case 75:_.TKc(a,b.Lw());break;case 94:_.UKc(a,_.C(b,92));break;case 45:var bk=b.Pr();_.B(a,46,bk);case 124:var Mf=_.H(b,118);_.B(a,118,Mf);break;case 125:var lp=_.C(b,119);_.B(a,119,lp);break;case 1002:var kr=_.Xl(b);_.z(a,100,kr);break;case 32:var lq=b.ey();_.B(a,28,lq);break;case 67:var ck=b.mM();
_.B(a,70,ck);break;case 68:var tn=b.nM();_.B(a,71,tn);break;case 73:var mq=_.C(b,79);_.B(a,79,mq);break;case 71:var uo=b.V();_.B(a,77,uo);break;case 210:var Nk=_.$l(b);_.B(a,140,Nk);break;case 7:_.JKc(a,b.U0());break;case 122:DQc(a,b.rF());break;case 66:var lj=_.C(b,69);_.B(a,69,lj);break;case 33:var Su=_.H(b,29);_.B(a,29,Su);break;case 24:var mp=b.fj();_.B(a,22,mp);break;case 25:var np=b.Xw();_.B(a,23,np);break;case 46:var zt=b.eD();_.z(a,47,zt);break;case 52:var Px=_.Ad(b,56);_.B(a,56,Px||[]);break;
case 56:var mf=_.C(b,61);_.B(a,61,mf);break;case 55:a.MG(b.Sv());break;case 4:a.qt(b.Gz());break;case 35:_.OKc(a,_.H(b,31));break;case 57:var At=_.C(b,62);_.B(a,62,At);break;case 83:_.SKc(a,b.Zc());break;case 84:var Tu=_.D(b,_.GN,86);_.z(a,86,Tu);break;case 98:var Lz=b.uD();_.B(a,96,Lz);break;case 97:var Ul=b.vD();_.z(a,95,Ul);break;case 19:var lr=b.Dv();_.B(a,20,lr);_.QKc(a,_.H(b,44));var jJ=_.C(b,90);_.B(a,90,jJ);break;case 2:a.setTitle(b.getTitle());break;case 6:a.co(b.ki());break;case 27:_.nGc(a,
b.Qn());break;case 70:var gw=_.C(b,75);_.B(a,75,gw);break;case 8:var Qx=_.H(b,9);_.B(a,9,Qx);break;case 126:var Rx=_.Ad(b,120);_.B(a,120,Rx||[]);break;default:throw Error("Ec`"+e);}}})};EQc=function(a,b){var c=_.NA[a];return b.filter(function(d){return!c||!c.has(d)})};FQc=function(a,b,c){a=EQc(c,a);return yQc(b,a,!0)};JO=function(a){return a?"application/vnd.google-apps.shortcut"==a.$b():!1};
KO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.$b();return b&&JO(a)?(a=a.Uf(),!!a&&"application/vnd.google-apps.folder"==_.C(a,3)):"application/vnd.google-apps.folder"==c};GQc=function(a){var b=a&&a.getId()||null;a&&JO(a)&&(a=(a=a.Uf())&&_.C(a,1))&&(b=a);return b};HQc=function(a){return!!_.H(a,31)&&!_.H(a,94)};JQc=function(a){return IQc.some(function(b){return wQc(a,b)})};KQc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(LO(b))})};LQc=function(a){return KQc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.MQc=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};NQc=function(a,b){var c=_.ZIc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};PQc=function(a,b){if(b){var c=[];_.H(b,3)&&c.push("folder");var d=OQc()&&4==b.getType()?"title_natural":_.hIc[b.getType()];b=_.jIc[b.hh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};QQc=function(a,b){var c=a.vn();c||(c=new _.Ll,b&&_.z(a,81,c));return c};
RQc=function(a){if(KO(a))_.HO(QQc(a,!0),!0);else if(KO(a,!0)){var b=a.Uf();if(b=b&&_.Gd(b))_.HO(QQc(b,!0),!0),_.HO(QQc(a,!0),!0)}};SQc=function(a){return!!a.vn()&&!KO(a)};TQc=function(a){var b=[];_.Ha(a,function(c){if(3!=LO(c)){var d=c;if(null!=d.Vq()||null!=_.H(d,51)||null!=d.vn())c=_.gl(c),_.Sk(c,49),_.Sk(c,51),_.Tk(c,81);b.push(c)}});return b};
VQc=function(a,b,c,d){b="#"+b+"_";var e=new _.ZL;e.update(c.join(","));b+=_.sGc(e.digest());d&&(b+="&jobset="+d);a=_.nA(a+"?"+b);_.q.SharedWorker?(c=new SharedWorker(_.iga(a),void 0),a=new UQc(c.port),c.port.start()):a=new UQc(new Worker(_.iga(a),void 0));return a};XQc=function(a){var b=a.slice(0),c=new Set(b);WQc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
ZQc=function(a){var b=new YQc;if(a instanceof _.IM)_.cl(b,16,MO[0],a);else if(a instanceof _.JM)_.cl(b,1,MO[0],a);else if(a instanceof _.KM)_.cl(b,2,MO[0],a);else if("undefined"!=typeof _.NO&&a instanceof _.NO)_.cl(b,17,MO[0],a);else if(a instanceof _.NM)_.cl(b,3,MO[0],a);else if(a instanceof _.mO)_.cl(b,4,MO[0],a);else if(a instanceof _.LM)_.cl(b,5,MO[0],a);else if(a instanceof _.RM)_.cl(b,6,MO[0],a);else if(a instanceof _.TM)_.cl(b,7,MO[0],a);else if(a instanceof _.UM)_.cl(b,8,MO[0],a);else if(a instanceof
_.XM)_.cl(b,9,MO[0],a);else if(a instanceof _.jN)_.cl(b,10,MO[0],a);else if("undefined"!=typeof _.kN&&a instanceof _.kN)_.cl(b,11,MO[0],a);else if(a instanceof _.CJc)_.cl(b,12,MO[0],a);else if(a instanceof _.tM)_.cl(b,13,MO[0],a);else if(a instanceof _.oN)_.cl(b,14,MO[0],a);else if(a instanceof _.pN)_.cl(b,15,MO[0],a);else throw new _.Ob("Unsupported request type");return b};
bRc=function(a){a=a.map(function(c){var d=new $Qc;if(c instanceof _.IM)_.cl(d,6,OO[0],c);else if("undefined"!=typeof _.NO&&c instanceof _.NO)_.cl(d,7,OO[0],c);else if(c instanceof _.RM)_.cl(d,1,OO[0],c);else if(c instanceof _.jN)_.cl(d,2,OO[0],c);else if("undefined"!=typeof _.kN&&c instanceof _.kN)_.cl(d,3,OO[0],c);else if(c instanceof _.tM)_.cl(d,4,OO[0],c);else if(c instanceof _.pN)_.cl(d,5,OO[0],c);else throw new _.Ob("Unsupported request type");return d});var b=new aRc;_.hb(b,1,a);return b};
eRc=function(a){var b=new cRc;if("undefined"!=typeof _.EE&&a instanceof _.EE)_.cl(b,1,dRc[0],a);else if("undefined"!=typeof _.FE&&a instanceof _.FE)_.cl(b,2,dRc[0],a);else throw new _.Ob("Unsupported request type");return b};hRc=function(a){var b=new fRc;if(a instanceof _.OM)_.cl(b,1,gRc[0],a);else if(a instanceof _.VM)_.cl(b,2,gRc[0],a);else if(a instanceof _.qN)_.cl(b,3,gRc[0],a);else throw new _.Ob("Unsupported request type");return b};iRc=function(a){return a.map(function(b){return b.getItem()})};
jRc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};mRc=function(a){var b=_.rH(a);b=kRc(new PO,b).$c(a.getName());var c=a.getEmail();b=_.B(b,3,c);c=new lRc;a=_.C(a,5);a=_.B(c,1,a);return _.z(b,4,a)};nRc=function(a,b){var c=new _.Pj(_.G(b,16,"")+"/open"),d=a.getId();JO(a)&&(d=GQc(a));_.dk(c,"id",d);_.dk(c,"authuser",_.rM(_.gM(b)));_.RN(b)&&a.PF()&&_.dk(c,"resourcekey",_.$l(a));return c.toString()};
pRc=function(a,b){var c=new _.FO,d=new Set;if(6==a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.eQc.get(LO(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}oRc(c,[].concat(_.Mc(d)));return c};qRc=function(a,b){var c={};a=_.Rf(a,function(d){return!!d});b=_.Rf(b,function(d){return!!d});_.Qf(a,function(d,e){var f=b[e];f?_.fl(d,f)||(d=_.aQc(4).setItem(f),c[e]=d):(d=_.aQc(2).setItem(d),c[e]=d)});_.Qf(b,function(d,e){a[e]||(d=_.aQc(1).setItem(d),c[e]=d)});return c};
rRc=function(a,b){return _.Uf(a)!=_.Uf(b)||!_.Xf(qRc(a,b))};tRc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.ff;_.gf(b,305);_.hf(b,!0);_.B(b,3,2);var c=new _.ZD;_.z(c,1,b);var d=new _.KJc(c,[7]);a=a.then(function(e){return e.H(d)}).then(sRc);return _.Hi(a)};
sRc=function(a){a=a.oy();var b=new uRc;a.forEach(function(c){var d=c.getKey();d=d&&_.C(d,2);"corpusSize"==d?(c=_.jb(c.kb()),_.B(b,3,c)):"linkedItems"==d?(c=_.jb(c.kb()),_.B(b,2,c)):"linkedFolders"==d&&(c=_.jb(c.kb()),_.B(b,1,c))});return"number"===typeof _.C(b,3)?b:null};
wRc=function(a,b){var c=vRc(a.V,b.Kc());if(c){var d=c.getItem(),e=d.Lw();if(e){var f=_.al(e,_.Cl,2),h=_.ra(f,function(k){return k.getId()==b.V()});_.GKc(e,f);h||(f=_.al(e,_.Cl,3),_.ra(f,function(k){return k.getId()==b.V()}),_.HKc(e,f));_.FKc(e,(_.C(e,1)||1)-1);QO(a,[d],c.V)}}};
yRc=function(a,b,c){if(b=vRc(a.V,b.Kc())){var d=b.getItem(),e=d.Lw();if(e){if(1==c.getType()||2==c.getType()){var f=_.al(e,_.Cl,3);f.push(c);_.Fa(f,xRc);_.HKc(e,f)}else f=_.al(e,_.Cl,2),f.push(c),_.Fa(f,xRc),_.GKc(e,f);_.FKc(e,(_.C(e,1)||0)+1);QO(a,[d],b.V)}}};ARc=function(a){return a.map(function(b){var c=new _.Amb;c=_.B(c,3,zRc[b.serviceName]);return _.B(c,2,Number(b.bytesUsed))})};
CRc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return BRc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
GRc=function(a){var b=a.json.exportJob,c=DRc[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=_.gb(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.gb(b.failedItemInfos||[],function(l){var n=_.XL((new _.Nl).Wb(l.docId).setTitle(l.title),l.mediaType);n=(new _.ERc).setItem(n);n=_.B(n,3,l.relativePath);return _.B(n,4,l.cause)});return new FRc(c,d,k,f,h,e,a,b)};
IRc=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.kb();(a=c&&_.fp(c))&&(b.namespace=HRc[a]);return b};JRc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(HRc[a[c]]);return b};KRc=function(a,b){return _.E(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};ORc=function(a,b){_.B(b,75,1<_.q.devicePixelRatio);if(LRc(b))return b=new RO(a,b,3),new SO(b,b.Wa);_.B(b,61,!1);var c=_.CM(_.gM(b))?2:1;a=new TO(a,b,c,void 0,void 0,void 0);return _.CM(_.gM(b))?new MRc(a):new NRc(a)};
PRc=function(a){return _.Od(a).Tg(_.E(a.get(_.Wq),19,!1)?_.gGc:_.vSa)};QRc=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)};RRc=function(a,b){return _.hb(a,1,b)};SRc=[1];TRc=function(a){_.T(this,a,0,-1,SRc,null)};_.O(TRc,_.M);TRc.prototype.jM=function(){return _.al(this,_.Cl,1)};TRc.prototype.W9=function(a){_.dl(this,1,a,_.Cl,void 0)};
var URc=function(a){var b=new TRc;return _.hb(b,1,a)},VRc=function(a,b){return _.z(a,1,b)},WRc=function(a,b){_.hb(a,2,b)},XRc=function(a,b){_.z(a,6,b)},YRc=function(a){_.T(this,a,0,-1,null,null)};_.O(YRc,_.M);var ZRc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZRc,_.M);var UO=function(a){_.T(this,a,0,-1,null,null)};_.O(UO,_.M);var $Rc=function(a){_.T(this,a,0,-1,null,null)};_.O($Rc,_.M);var aSc=function(a){_.T(this,a,0,-1,null,null)};_.O(aSc,_.M);var bSc=function(a){_.T(this,a,0,-1,null,null)};
_.O(bSc,_.M);var cSc=function(a){_.T(this,a,0,-1,null,null)};_.O(cSc,_.M);var dSc=function(a){_.T(this,a,0,-1,null,null)};_.O(dSc,_.M);var eSc=function(a){_.T(this,a,0,-1,null,null)};_.O(eSc,_.M);var fSc=function(a){_.T(this,a,0,-1,null,null)};_.O(fSc,_.M);var gSc=function(a){_.T(this,a,0,-1,null,null)};_.O(gSc,_.M);var hSc=function(a){_.T(this,a,0,-1,null,null)};_.O(hSc,_.M);var iSc=function(a){_.T(this,a,0,-1,null,null)};_.O(iSc,_.M);var jSc=function(a){_.T(this,a,0,-1,null,null)};_.O(jSc,_.M);
var kSc=[[1,2,3,4]],lSc=function(a){_.T(this,a,0,-1,null,kSc)};_.O(lSc,_.M);var mSc=[[1]],nSc=function(a){_.T(this,a,0,-1,null,mSc)};_.O(nSc,_.M);var oSc=[[1,2]],pSc=function(a){_.T(this,a,0,-1,null,oSc)};_.O(pSc,_.M);var qSc=[[1]],rSc=function(a){_.T(this,a,0,-1,null,qSc)};_.O(rSc,_.M);var sSc=[[1,2]],tSc=function(a){_.T(this,a,0,-1,null,sSc)};_.O(tSc,_.M);tSc.prototype.fca=function(){return _.D(this,UO,1)};tSc.prototype.Dg=function(a){_.cl(this,1,sSc[0],a)};
var uSc=[1],vSc=function(a){_.T(this,a,0,-1,uSc,null)};_.O(vSc,_.M);var wSc=[[1]],xSc=function(a){_.T(this,a,0,-1,null,wSc)};_.O(xSc,_.M);var ySc=[2],zSc=function(a){_.T(this,a,0,-1,ySc,null)};_.O(zSc,_.M);var ASc=[[1]],BSc=function(a){_.T(this,a,0,-1,null,ASc)};_.O(BSc,_.M);BSc.prototype.fca=function(){return _.D(this,$Rc,1)};BSc.prototype.Dg=function(a){_.cl(this,1,ASc[0],a)};var CSc=[[1,2]],DSc=function(a){_.T(this,a,0,-1,null,CSc)};_.O(DSc,_.M);
var ESc=[[1]],FSc=function(a){_.T(this,a,0,-1,null,ESc)};_.O(FSc,_.M);
var GSc=function(a,b){return _.cl(a,3,_.El[0],b)},HSc=function(a,b){_.hb(a,1,b)},ISc=function(a,b){return _.B(a,2,b)},JSc=function(a,b){return _.z(a,3,b)},KSc=function(a,b){return _.B(a,4,b)},LSc=function(a,b){_.hb(a,1,b)},MSc=function(a,b){return _.z(a,2,b)},NSc=function(a,b){_.hb(a,1,b)},OSc=function(a,b){return _.z(a,4,b)},PSc=function(a,b){_.z(a,5,b)},QSc=function(a,b){_.hb(a,2,b)},RSc=function(a,b){_.hb(a,4,b)},SSc=function(a,b){return _.z(a,5,b)},TSc=function(a,b){_.hb(a,1,b)},USc=function(a,
b){return _.z(a,2,b)},VSc=function(a,b){_.hb(a,2,b)},WSc=function(a){var b=new _.Ima;return _.hb(b,3,a)},XSc=function(a,b){_.hb(a,1,b)},YSc=function(a,b){return _.B(a,2,b)},ZSc=function(a,b){return _.z(a,3,b)},$Sc=function(a,b){_.hb(a,2,b)},aTc=function(a,b){return _.z(a,3,b)},bTc=function(a,b){_.hb(a,1,b)},cTc=function(a,b){return _.hb(a,2,b)},dTc=function(a,b){_.hb(a,1,b)},eTc=function(a,b){return _.z(a,2,b)},fTc=function(a,b){return _.z(a,1,b)},gTc=function(a,b){return _.B(a,2,b)},hTc=function(a,
b){return _.B(a,3,b)},BQc=function(a,b){_.hb(a,8,b)},LO=function(a){return _.Jk(a,52,1)},AQc=function(a,b){return _.z(a,73,b)},CQc=function(a,b){_.hb(a,107,b)},DQc=function(a,b){_.z(a,109,b)},iTc=function(a){_.T(this,a,0,-1,null,null)};_.O(iTc,_.M);var jTc=function(a){var b=new _.xk;a=_.C(a,1);null!=a&&_.Ck(b,1,a);return _.zk(b)},kTc=function(a){_.T(this,a,0,-1,null,null)};_.O(kTc,_.M);var lTc=function(a){_.T(this,a,0,-1,null,null)};_.O(lTc,_.M);var mTc=[11],nTc=function(a){_.T(this,a,0,-1,mTc,null)};
_.O(nTc,_.M);var VO=function(a){_.T(this,a,0,-1,null,null)};_.O(VO,_.M);VO.prototype.getKey=function(){return _.C(this,2)};WO=function(a){return _.G(a,4,"en")};_.XO=function(a){return _.D(a,nTc,34,1)};oTc=function(a,b){return _.B(a,1,b)};pTc=function(a,b){return _.B(a,2,b)};qTc=function(a,b){return _.B(a,3,b)};rTc=function(a,b){return _.B(a,1,b||[])};sTc=function(a,b){return _.B(a,5,b)};_.tTc=function(a,b){return _.hb(a,5,b)};_.uTc=function(a,b){return _.B(a,6,b)};
_.vTc=function(a,b){return _.B(a,7,b)};_.wTc=function(a,b){return _.B(a,8,b)};_.xTc=function(a,b){return _.B(a,10,b)};_.yTc=function(a,b){return _.B(a,15,b)};zTc=[2];_.ATc=function(a){_.T(this,a,0,-1,zTc,null)};_.O(_.ATc,_.M);_.ATc.prototype.Eh=function(){return _.C(this,1)};_.BTc=function(a,b){return _.B(a,2,b)};_.CTc=function(a,b){return _.B(a,3,b)};_.DTc=function(a,b){return _.B(a,1,b)};_.ETc=function(a,b){return _.B(a,2,b)};_.FTc=function(a,b){return _.z(a,1,b)};
GTc=function(a,b){return _.B(a,2,b)};HTc=function(a,b){return _.B(a,3,b)};ITc=function(a,b){_.hb(a,4,b)};_.JTc=function(a,b){_.z(a,8,b)};_.KTc=function(a,b){_.z(a,9,b)};_.mO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.mO,_.M);_.mO.prototype.getTitle=function(){return _.C(this,1)};_.mO.prototype.setTitle=function(a){return _.B(this,1,a)};_.mO.prototype.ue=function(){return _.D(this,_.ff,2)};LTc=function(a,b){return _.B(a,9,b||[])};MTc=function(a,b){return _.B(a,10,b||[])};
NTc=function(a,b){return _.B(a,36,b)};OTc=function(a,b){return _.hb(a,38,b)};_.PTc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.PTc,_.M);_.PTc.prototype.getId=function(){return _.C(this,1)};_.PTc.prototype.Wb=function(a){return _.B(this,1,a)};var QTc=function(a,b){return _.B(a,2,b)},RTc=function(a,b){return _.z(a,3,b)},STc=[1,3,5],TTc=function(a){_.T(this,a,0,-1,STc,null)};_.O(TTc,_.M);TTc.prototype.uy=function(){return _.H(this,2)};
var UTc=function(a,b){_.B(a,2,b)},VTc=function(a,b){_.Zk(a,5,b,void 0)},WTc=function(a,b){_.B(a,6,b)},XTc=function(a,b){_.B(a,7,b)},YTc=function(a){_.T(this,a,0,-1,null,null)};_.O(YTc,_.M);YTc.prototype.uy=function(){return _.H(this,1)};YTc.prototype.Un=function(){return _.C(this,6)};YTc.prototype.cz=function(a){_.B(this,6,a)};var ZTc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZTc,_.M);var $Tc=function(a){_.T(this,a,0,-1,null,null)};_.O($Tc,_.M);var aUc=function(a){_.T(this,a,0,-1,null,null)};
_.O(aUc,_.M);var bUc=function(a){_.T(this,a,0,-1,null,null)};_.O(bUc,_.M);var cUc=function(a){_.T(this,a,0,-1,null,null)};_.O(cUc,_.M);var dUc=function(a){_.T(this,a,0,-1,null,null)};_.O(dUc,_.M);dUc.prototype.uy=function(){return _.H(this,2)};eUc=function(a,b){_.B(a,1,b)};_.fUc=function(a,b){_.z(a,2,b)};gUc=function(a,b){return _.B(a,1,b||[])};_.hUc=function(a,b){_.z(a,1,b)};iUc=[1];jUc=function(a){_.T(this,a,0,-1,iUc,null)};_.O(jUc,_.M);
var kUc=function(a,b,c){_.WN(a,b,c,"warning")},lUc=function(a){return[].concat(_.Mc(a.V))},mUc=function(a){return a.H.concat([].concat(_.Mc(a.V)))},nUc=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(_.Mc(c))},YO=function(a){var b=_.dO(a).Ed();b||(b=new _.uLc,a=_.dO(a),_.z(a,1,b));return b},oUc=function(a){var b=_.D(_.dO(a),TTc,3);b||(b=new TTc,a=_.dO(a),_.z(a,3,b));return b},pUc=function(a){var b=
_.D(_.dO(a),YTc,16);b||(b=new YTc,a=_.dO(a),_.z(a,16,b));return b},qUc=function(a){var b=_.D(_.dO(a),aUc,7);b||(b=new aUc,a=_.dO(a),_.z(a,7,b));return b},rUc=function(a){var b=_.D(_.dO(a),cUc,12);b||(b=new cUc,a=_.dO(a),_.z(a,12,b));return b},sUc=function(a){var b=_.D(_.dO(a),dUc,17);b||(b=new dUc,a=_.dO(a),_.z(a,17,b));return b},tUc=function(a){if(a instanceof _.$L)return 2;if(a instanceof _.ip)return 10;if(a instanceof _.Qe)return _.aN(a)?3:_.bN(a)?7:_.cN(a)?8:1;if(a instanceof _.ap)return 9;if(a instanceof
_.sH)return 11;if(a instanceof _.iN)return 15;if(a instanceof _.rN)return 6;if(a instanceof _.eN){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 _.ZD)return 4;if(a instanceof _.op)return 12;if("undefined"!=typeof _.sN&&a instanceof _.sN)return 13}return 0},uUc=function(a){var b=null;a instanceof _.kD||"undefined"!=typeof _.fO&&a instanceof _.fO||"undefined"!=typeof _.gO&&a instanceof _.gO?b=a.vf()||0:"undefined"!=typeof _.iO&&a instanceof
_.iO||"undefined"!=typeof _.jO&&a instanceof _.jO||"undefined"!=typeof _.kO&&a instanceof _.kO||"undefined"!=typeof _.lO&&a instanceof _.lO||"undefined"!=typeof _.HMc&&a instanceof _.HMc?b=a.H:"undefined"!=typeof _.hO&&a instanceof _.hO&&(b=a.vf());return b||0},vUc=function(a,b){return a.W&&_.OMc(a)?_.KMc(a.W,b,0):null},wUc=function(a){a.W&&_.OMc(a)&&(a=a.W,a.isRunning()&&a.H.pY())},xUc=[2],yUc=function(a){_.T(this,a,0,-1,xUc,null)};_.O(yUc,_.M);_.g=yUc.prototype;
_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.jM=function(){return _.al(this,_.Cl,2)};_.g.W9=function(a){_.dl(this,2,a,_.Cl,void 0)};_.g.Wj=function(){return _.C(this,3)};var zUc=[2],AUc=function(a){_.T(this,a,0,-1,zUc,null)};_.O(AUc,_.M);AUc.prototype.Hb=function(){return _.C(this,1)};AUc.prototype.Bc=function(a){return _.B(this,1,a)};AUc.prototype.Wj=function(){return _.C(this,3)};BUc=function(a){return _.If(a.Mq,function(b){return _.xN(b.nt.request)})};
CUc=function(a){var b=[];a.Mq.forEach(function(c){(c=c.nt.config.timestamp)&&b.push(c)});return b};DUc=function(a){return a.W.UMa()?!0:a.V.some(function(b){return BUc(b)})};EUc=function(a){var b=[];a.ka.forEach(function(c){c.forEach(function(d){(d=d.nt.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.wa(b,CUc(c))});return b};ZO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.fl(b[a],c[a]))return!0;return!1};oRc=function(a,b){return _.B(a,1,b||[])};
FUc=function(a,b){if(!(a instanceof b.constructor))throw Error("aa");var c=_.bl(a,!0);b=_.bl(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Mc&&(d[0]=a.Mc,e=1);for(;e<f;e++)_.Fla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};GUc=[2,6];_.gO=function(a){_.T(this,a,0,-1,GUc,null)};_.O(_.gO,_.M);_.g=_.gO.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.Nd=function(){return _.al(this,_.Nl,2)};_.g.Cv=function(a){return _.hb(this,2,a)};
_.g.Eg=function(a,b){return _.dl(this,2,a,_.Nl,b)};_.g.Wj=function(){return _.C(this,3)};_.g.Gna=function(){return _.E(this,4,!0)};var HUc=function(a,b){return _.hb(a,6,b)};_.g=_.gO.prototype;_.g.SP=function(){return _.D(this,_.mlb,7)};_.g.TP=function(a){return _.z(this,7,a)};_.g.getSessionId=function(){return _.D(this,_.Zm,8)};_.g.setSessionId=function(a){return _.z(this,8,a)};_.g.Df=function(){return _.C(this,10)};_.g.qL=function(a){return _.B(this,10,a)};_.g.vf=function(){return _.C(this,9)};
_.g.T0=function(a){return _.B(this,9,a)};var IUc=function(a){_.T(this,a,0,-1,null,null)};_.O(IUc,_.M);var JUc=[1,2],KUc=function(a){_.T(this,a,0,-1,JUc,null)};_.O(KUc,_.M);KUc.prototype.oy=function(){return _.al(this,_.ep,1)};
var LUc=[1,2,4],MUc={SUCCESS:1,bPb:2,JGb:3,KCb:4,nPb:5,$Jb:6,TJb:7,gDb:8,iOb:9,xOb:10,aPb:11,JEb:12,nEb:13,JHb:14,dGb:15,sEb:16,rEb:17,xEb:18,uEb:19,vEb:20,OOb:21,kPb:22,qKb:23,zJb:24,$Cb:25,PERMISSION_DENIED:26,VIb:27,lDb:28,kDb:29,INTERRUPTED:30,OKb:31,fLb:32,WEb:33,aFb:34,pOb:35,jFb:36,eGb:37,$Eb:38,SJb:39,SDb:40,JKb:41,hLb:42,gOb:43,CDb:44,RDb:45,bGb:46,RIb:47,RJb:48,iKb:49,KKb:50,$Nb:51,oEb:52,hOb:53,fOb:54,JDb:55,GDb:56,tFb:57,nJb:58,LKb:59,rIb:60,rMb:61,fNb:62,MNb:63,YHb:64,BJb:65,qPb:66,lFb:67,
fGb:68,$Ob:69,bIb:70,jDb:71,vDb:72,nNb:73,NNb:74,JNb:75,HNb:76,bNb:190,GNb:191,oNb:192,uNb:126,qNb:128,rNb:129,sNb:130,tNb:131,vNb:132,wNb:133,AMb:127,xMb:134,yMb:135,CMb:136,DMb:137,EMb:138,zMb:194,BMb:195,FMb:196,wMb:197,eNb:189,qMb:139,sMb:140,GMb:141,HMb:142,TMb:143,WMb:144,XMb:145,YMb:146,ZMb:147,$Mb:148,aNb:149,dNb:150,jNb:151,lNb:152,mNb:153,pNb:154,xNb:155,zNb:156,ANb:157,BNb:158,CNb:159,DNb:160,ENb:161,INb:162,LNb:163,ONb:164,tMb:165,uMb:166,vMb:167,oMb:168,pMb:169,KMb:170,IMb:171,JMb:172,
LMb:173,MMb:174,NMb:175,OMb:176,PMb:177,QMb:178,RMb:179,SMb:180,UMb:181,VMb:182,cNb:106,kNb:183,yNb:184,FNb:185,gNb:186,hNb:187,iNb:188,KNb:244,IKb:77,ePb:78,jPb:79,bJb:80,OHb:81,QHb:82,sFb:83,aGb:84,WIb:85,HOb:86,ZEb:87,dIb:88,cIb:89,RNb:90,PNb:91,QNb:92,fPb:93,fEb:94,eEb:95,bEb:96,dEb:97,cEb:98,pPb:99,aMb:100,AEb:101,tEb:102,yEb:103,wEb:104,zEb:105,gGb:107,uOb:108,VLb:109,SOb:110,jGb:111,iGb:112,wIb:113,xIb:114,lLb:115,KDb:116,EIb:117,CFb:118,gPb:119,WJb:120,XJb:121,KHb:193,qEb:122,QEb:123,NHb:124,
wJb:125,eIb:198,TKb:199,VHb:200,sCb:201,$Hb:202,ZHb:203,mDb:204,LPb:205,LIb:206,ZDb:207,VJb:208,gLb:209,XLb:210,OCb:211,uIb:212,BIb:213,kOb:214,jOb:215,XHb:216,HHb:217,WHb:218,nFb:219,yOb:220,oFb:221,sIb:222,rOb:223,vPb:224,FJb:225,qOb:226,SEb:227,KIb:228,rFb:229,UDb:230,FOb:231,xJb:232,FILE_TOO_LARGE:233,aIb:234,mFb:235,ZFb:236,bLb:237,CJb:238,ZBb:239,WDb:240,KJb:241,gMb:242,YEb:243,qCb:245,RHb:246,kKb:247,PHb:248,aJb:249,AJb:250,cGb:251,QGb:252,vIb:253,HDb:254,hGb:255,oPb:256,CGb:257,kJb:258,sLb:259,
SKb:260,kIb:261},NUc=function(a){_.aj.call(this,a)};_.N(NUc,_.aj);var uQc=[1004,1005,1002,1003],IQc=[1002,1003,1005],OUc=function(a){_.T(this,a,0,-1,null,null)};_.O(OUc,_.M);OUc.prototype.Hb=function(){return _.C(this,1)};OUc.prototype.Bc=function(a){return _.B(this,1,a)};OUc.prototype.Rl=function(){return _.D(this,_.iD,2)};var PUc=function(a){_.T(this,a,0,-1,null,null)};_.O(PUc,_.M);_.g=PUc.prototype;_.g.$Ea=function(){return _.H(this,1)};_.g.Uk=function(a){return _.B(this,1,a)};
_.g.nm=function(){return _.H(this,2)};_.g.z3a=function(){return _.H(this,3)};_.g.A3a=function(){return _.H(this,4)};var $O=[[13,19,12,11,10,15,14,9,8,18,17,16]],QUc=function(a){_.T(this,a,0,-1,null,null)};_.O(QUc,_.M);QUc.prototype.V=function(){return _.H(this,1)};QUc.prototype.W=function(){return _.H(this,2)};var RUc=function(a){_.T(this,a,0,-1,null,null)};_.O(RUc,_.M);var SUc=[1],TUc=function(a){_.T(this,a,0,-1,null,null)};_.O(TUc,_.M);TUc.prototype.V=function(){return _.H(this,1)};
TUc.prototype.W=function(){return _.H(this,2)};var UUc=function(a){_.T(this,a,0,-1,null,null)};_.O(UUc,_.M);_.g=UUc.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.Gd=function(a){return _.B(this,1,a)};_.g.kb=function(){return _.C(this,2)};_.g.Vb=function(a){return _.B(this,2,a)};_.g.Ej=function(){return _.Sk(this,2)};_.g.Cg=function(){return _.Gk(this,2)};_.g.getCapabilities=function(){return _.D(this,TUc,3)};_.g.Gn=function(a){return _.z(this,3,a)};
_.g.q3a=function(){return _.D(this,PUc,4)};var VUc=function(a){_.T(this,a,0,-1,SUc,null)};_.O(VUc,_.M);VUc.prototype.V=function(){return _.al(this,UUc,1)};var WUc=function(a,b){_.hb(a,1,b)},XUc=function(a){_.T(this,a,0,-1,null,null)};_.O(XUc,_.M);XUc.prototype.V=function(){return _.C(this,1)};XUc.prototype.YQ=function(){return _.Gk(this,1)};XUc.prototype.getOptions=function(){return _.D(this,VUc,2)};var YUc=function(a){_.T(this,a,0,-1,null,null)};_.O(YUc,_.M);
YUc.prototype.W=function(){return _.C(this,1)};YUc.prototype.V=function(){return _.C(this,2)};var ZUc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZUc,_.M);ZUc.prototype.YQ=function(){return _.Gk(this,1)};ZUc.prototype.getOptions=function(){return _.D(this,YUc,2)};var $Uc=function(a){_.T(this,a,0,-1,null,null)};_.O($Uc,_.M);$Uc.prototype.W=function(){return _.C(this,1)};$Uc.prototype.V=function(){return _.C(this,2)};var aVc=function(a){_.T(this,a,0,-1,null,null)};_.O(aVc,_.M);
var bVc=function(a){_.T(this,a,0,-1,null,null)};_.O(bVc,_.M);bVc.prototype.YQ=function(){return _.Gk(this,1)};bVc.prototype.getOptions=function(){return _.D(this,aVc,2)};var aP=[[3,4,5,6,7,8,9,10,11,12]],cVc=function(a){_.T(this,a,0,-1,null,aP)};_.O(cVc,_.M);_.g=cVc.prototype;_.g.u7=function(a){return _.cl(this,3,aP[0],a)};_.g.rTa=function(a){return _.cl(this,4,aP[0],a)};_.g.OSa=function(a){return _.cl(this,5,aP[0],a)};_.g.NSa=function(a){return _.cl(this,6,aP[0],a)};
_.g.BSa=function(a){return _.cl(this,7,aP[0],a)};_.g.fTa=function(a){return _.cl(this,8,aP[0],a)};_.g.eTa=function(a){return _.cl(this,9,aP[0],a)};_.g.wTa=function(a){return _.cl(this,10,aP[0],a)};_.g.Lha=function(a){return _.cl(this,11,aP[0],a)};_.g.tha=function(a){return _.cl(this,12,aP[0],a)};var dVc=function(a){_.T(this,a,0,-1,null,null)};_.O(dVc,_.M);var eVc=function(a){_.T(this,a,0,-1,null,null)};_.O(eVc,_.M);eVc.prototype.V=function(){return _.C(this,1)};
eVc.prototype.YQ=function(){return _.Gk(this,1)};eVc.prototype.getOptions=function(){return _.D(this,dVc,2)};var fVc=function(a){_.T(this,a,0,-1,null,null)};_.O(fVc,_.M);fVc.prototype.YGa=function(){return _.C(this,1)};fVc.prototype.V=function(){return _.C(this,4)};var gVc=function(a){_.T(this,a,0,-1,null,$O)};_.O(gVc,_.M);_.g=gVc.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.t3a=function(){return _.C(this,2)};_.g.Jf=function(){return _.C(this,4)};
_.g.s3a=function(){return _.D(this,PUc,5)};_.g.getCapabilities=function(){return _.D(this,QUc,6)};_.g.Gn=function(a){return _.z(this,6,a)};_.g.y3a=function(){return _.C(this,7)};_.g.BSa=function(a){return _.cl(this,13,$O[0],a)};_.g.r3a=function(){return _.D(this,fVc,19)};_.g.tha=function(a){return _.cl(this,19,$O[0],a)};_.g.NSa=function(a){return _.cl(this,12,$O[0],a)};_.g.OSa=function(a){return _.cl(this,11,$O[0],a)};_.g.m8a=function(){return _.D(this,$Uc,10)};
_.g.u3a=function(){return _.D(this,XUc,15)};_.g.eTa=function(a){return _.cl(this,15,$O[0],a)};_.g.v3a=function(){return _.D(this,VUc,14)};_.g.fTa=function(a){return _.cl(this,14,$O[0],a)};_.g.rTa=function(a){return _.cl(this,9,$O[0],a)};_.g.w3a=function(){return _.D(this,YUc,8)};_.g.u7=function(a){return _.cl(this,8,$O[0],a)};_.g.x3a=function(){return _.D(this,eVc,18)};_.g.Lha=function(a){return _.cl(this,18,$O[0],a)};_.g.wTa=function(a){return _.cl(this,17,$O[0],a)};
var hVc=[5],iVc=function(a){_.T(this,a,0,-1,null,null)};_.O(iVc,_.M);iVc.prototype.ma=function(){return _.H(this,1)};iVc.prototype.V=function(){return _.H(this,2)};iVc.prototype.ta=function(){return _.H(this,3)};iVc.prototype.W=function(){return _.H(this,4)};var bP=function(a){_.T(this,a,0,-1,hVc,null)};_.O(bP,_.M);bP.prototype.getName=function(){return _.C(this,1)};bP.prototype.$c=function(a){return _.B(this,1,a)};bP.prototype.Nl=function(){return _.C(this,2)};
var jVc=function(a,b){return _.B(a,2,b)};bP.prototype.W=function(){return _.C(this,14)};var kVc=function(a,b){return _.B(a,14,b)};_.g=bP.prototype;_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.zg=function(){return _.C(this,4)};_.g.Xl=function(a){return _.B(this,4,a)};_.g.K3a=function(){return _.al(this,gVc,5)};var lVc=function(a,b){_.hb(a,5,b)},mVc=function(a,b){_.z(a,6,b)},nVc=function(a,b){_.z(a,7,b)},oVc=function(a,b){_.z(a,8,b)};
bP.prototype.V=function(){return _.D(this,PUc,12)};var pVc=function(a,b){_.z(a,12,b)};bP.prototype.getCapabilities=function(){return _.D(this,iVc,13)};bP.prototype.Gn=function(a){return _.z(this,13,a)};var qVc=[5,7,9],rVc=function(a){_.T(this,a,0,-1,qVc,null)};_.O(rVc,_.M);_.g=rVc.prototype;_.g.getUser=function(){return _.D(this,_.Cl,1)};_.g.ay=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.Iha=function(a){return _.B(this,5,a||[])};_.g.addTextValues=function(a,b){return _.Zk(this,5,a,b)};_.g.setSelectionValue=function(a){return _.B(this,6,a)};_.g.Eha=function(a){return _.B(this,7,a||[])};_.g.addSelectionValues=function(a,b){return _.Zk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.B(this,8,a)};_.g.xha=function(a){return _.B(this,9,a||[])};_.g.addIntegerValues=function(a,b){return _.Zk(this,9,a,b)};var sVc=[7,10,12,16,13,3],cP=function(a){_.T(this,a,0,-1,sVc,null)};
_.O(cP,_.M);var dP=function(a){return _.C(a,4)};_.g=cP.prototype;_.g.ay=function(a){_.B(this,4,a)};_.g.setBooleanValue=function(a){return _.B(this,5,a)};_.g.p3a=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.B(this,6,a)};_.g.Iha=function(a){return _.B(this,7,a||[])};_.g.addTextValues=function(a,b){return _.Zk(this,7,a,b)};_.g.n3a=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.B(this,8,a)};_.g.o3a=function(){return _.C(this,9)};
_.g.setSelectionValue=function(a){return _.B(this,9,a)};_.g.ZEa=function(){return _.Ad(this,10)};_.g.Eha=function(a){return _.B(this,10,a||[])};_.g.addSelectionValues=function(a,b){return _.Zk(this,10,a,b)};_.g.m3a=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.B(this,11,a)};_.g.xha=function(a){return _.B(this,12,a||[])};_.g.addIntegerValues=function(a,b){return _.Zk(this,12,a,b)};_.g.Y8a=function(){return _.D(this,_.Cl,15)};
_.g.setUserValue=function(a){return _.z(this,15,a)};_.g.fIa=function(){return _.al(this,_.Cl,16)};var tVc=function(a,b){_.hb(a,16,b)};cP.prototype.addUserValues=function(a,b){return _.dl(this,16,a,_.Cl,b)};cP.prototype.V=function(){return _.C(this,17)};cP.prototype.setDateStringValue=function(a){return _.B(this,17,a)};cP.prototype.W=function(){return _.Gk(this,17)};var uVc=function(a,b){_.hb(a,13,b)};cP.prototype.getId=function(){return _.C(this,14)};
cP.prototype.Wb=function(a){return _.B(this,14,a)};cP.prototype.getName=function(){return _.C(this,1)};cP.prototype.$c=function(a){return _.B(this,1,a)};var vVc=[2],eP=function(a){_.T(this,a,0,-1,vVc,null)};_.O(eP,_.M);eP.prototype.getName=function(){return _.C(this,1)};eP.prototype.$c=function(a){return _.B(this,1,a)};eP.prototype.V=function(){return _.al(this,cP,2)};var wVc=function(a,b){_.hb(a,2,b)};eP.prototype.Kc=function(){return _.C(this,3)};
var xVc=function(a,b){return _.B(a,3,b)},yVc={hPb:0,lJb:1,rKb:2,gKb:3,fIb:4,LCb:5,mJb:6,hKb:7,oHb:8,ZCb:9,eKb:10},fP=function(){this.H={};this.ha=6;this.V=null};fP.prototype.Hb=function(){return this.ha};fP.prototype.Bc=function(a){this.ha=a};fP.prototype.vf=function(){return this.V};var zVc=function(a,b){a.V=b};fP.prototype.Js=function(){return this.H};var AVc=function(a,b){a.H=b};
fP.prototype.zc=function(a){var b=[];_.Qf(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})};BVc=function(a,b,c){c=JSON.parse(c);a.Bc(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};_.fO=function(){fP.apply(this,arguments)};_.N(_.fO,fP);var CVc=function(){fP.apply(this,arguments)};_.N(CVc,fP);var DVc=function(a){_.T(this,a,0,-1,null,null)};_.O(DVc,_.M);DVc.prototype.getType=function(){return _.C(this,1)};
var EVc=function(a){var b=new DVc;return _.B(b,1,a)},FVc=function(a,b){return _.z(a,2,b)};DVc.prototype.Qv=function(){return _.C(this,3)};DVc.prototype.ww=function(a){return _.B(this,3,a)};DVc.prototype.Th=function(){return _.C(this,4)};DVc.prototype.setPosition=function(a){return _.B(this,4,a)};var GVc=[2],HVc=function(a){_.T(this,a,0,-1,GVc,null)};_.O(HVc,_.M);HVc.prototype.Hb=function(){return _.C(this,1)};HVc.prototype.Bc=function(a){return _.B(this,1,a)};
var IVc=[2],gP=function(a){_.T(this,a,0,-1,IVc,null)};_.O(gP,_.M);gP.prototype.Hb=function(){return _.C(this,1)};gP.prototype.Bc=function(a){return _.B(this,1,a)};gP.prototype.V=function(){return _.al(this,eP,2)};var JVc=function(a,b){return _.hb(a,2,b)};gP.prototype.Wj=function(){return _.C(this,3)};var KVc=function(a){_.T(this,a,0,-1,null,null)};_.O(KVc,_.M);KVc.prototype.Hb=function(){return _.C(this,1)};KVc.prototype.Bc=function(a){return _.B(this,1,a)};
KVc.prototype.Q2=function(){return _.D(this,_.Nl,2)};LVc=function(a,b){return _.z(a,2,b)};MVc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};NVc=function(a,b){return new _.WGc(_.XGc.bound(a,b,void 0,void 0))};OVc=function(){var a=new _.Bi,b=_.jHc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Qd(_.dM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.PVc=function(a){_.T(this,a,0,-1,null,null)};
_.O(_.PVc,_.M);_.PVc.prototype.wq=function(){return _.C(this,1)};_.PVc.prototype.setSize=function(a){return _.B(this,2,a)};_.PVc.prototype.getUrl=function(){return _.C(this,3)};_.QVc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.QVc,_.M);_.QVc.prototype.getType=function(){return _.C(this,1)};RVc=[2,3];_.SVc=function(a){_.T(this,a,0,-1,RVc,null)};_.O(_.SVc,_.M);TVc=[4,5,6,17,18,24];_.hP=function(a){_.T(this,a,0,-1,TVc,null)};_.O(_.hP,_.M);_.hP.prototype.getId=function(){return _.C(this,1)};
_.hP.prototype.Wb=function(a){return _.B(this,1,a)};_.hP.prototype.getName=function(){return _.C(this,2)};_.hP.prototype.$c=function(a){return _.B(this,2,a)};var UVc=function(a,b){return _.B(a,4,b||[])},VVc=function(a,b){return _.B(a,5,b||[])};_.hP.prototype.getType=function(){return _.C(this,23)};_.hP.prototype.nm=function(){return _.H(this,33)};var WVc=[3],iP=function(a){_.T(this,a,0,-1,WVc,null)};_.O(iP,_.M);iP.prototype.V=function(){return _.C(this,1)};var XVc=function(a,b){return _.B(a,1,b)};
iP.prototype.getTitle=function(){return _.C(this,2)};iP.prototype.setTitle=function(a){return _.B(this,2,a)};iP.prototype.Nd=function(){return _.al(this,_.Nl,3)};var YVc=function(a,b){return _.hb(a,3,b)};iP.prototype.Eg=function(a,b){return _.dl(this,3,a,_.Nl,b)};iP.prototype.ma=function(){return _.C(this,4)};var ZVc=function(a,b){return _.B(a,4,b)};iP.prototype.W=function(){return _.D(this,_.Dl,5)};var $Vc=function(a,b){return _.z(a,5,b)},uRc=function(a){_.T(this,a,0,-1,null,null)};_.O(uRc,_.M);
var aWc=[2],jP=function(a){_.T(this,a,0,-1,aWc,null)};_.O(jP,_.M);jP.prototype.Hb=function(){return _.C(this,1)};jP.prototype.Bc=function(a){return _.B(this,1,a)};jP.prototype.Aj=function(){return _.al(this,iP,2)};var bWc=function(a,b){return _.hb(a,2,b)};jP.prototype.getSessionId=function(){return _.D(this,_.Zm,3)};jP.prototype.setSessionId=function(a){return _.z(this,3,a)};jP.prototype.Df=function(){return _.C(this,4)};cWc=function(a,b){return _.B(a,4,b)};_.hO=function(a){_.T(this,a,0,-1,null,null)};
_.O(_.hO,_.M);_.g=_.hO.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.UP=function(){return _.Qk(this,2,_.iD)};_.g.Wj=function(){return _.C(this,3)};_.g.vf=function(){return _.C(this,5)};var dWc=function(a,b){_.B(a,5,b)},eWc=function(a){_.T(this,a,0,-1,null,null)};_.O(eWc,_.M);eWc.prototype.zg=function(){return _.G(this,1)};eWc.prototype.Xl=function(a){return _.Xk(this,1,a)};eWc.prototype.getUrl=function(){return _.G(this,2)};
_.fWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.fWc,_.M);_.fWc.prototype.getType=function(){return _.Jk(this,1,0)};_.fWc.prototype.getContext=function(){return _.D(this,eWc,2)};_.fWc.prototype.Nj=function(a){return _.z(this,2,a)};gWc=[1];hWc=[2];_.iWc=function(a){_.T(this,a,0,-1,hWc,null)};_.O(_.iWc,_.M);_.iWc.prototype.getLabel=function(){return _.G(this,1)};_.iWc.prototype.Gd=function(a){return _.Xk(this,1,a)};_.jWc=function(a){_.T(this,a,0,-1,gWc,null)};_.O(_.jWc,_.M);_.kWc=[[2,3,4]];
_.kP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.kP,_.M);_.kP.prototype.Jf=function(){return _.G(this,3)};_.kP.prototype.Hn=function(a){return _.Xk(this,4,a)};_.lWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.lWc,_.M);_.mWc=function(a){_.T(this,a,0,-1,null,_.kWc)};_.O(_.mWc,_.M);var nWc=function(a){_.T(this,a,0,-1,null,null)};_.O(nWc,_.M);oWc=[3,5];_.lP=[[8,9,10,11,12,13,14]];pWc=function(a){_.T(this,a,0,-1,null,null)};_.O(pWc,_.M);var qWc=function(a){_.T(this,a,0,-1,null,null)};_.O(qWc,_.M);
_.rWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.rWc,_.M);_.sWc=function(a){_.T(this,a,0,-1,oWc,_.lP)};_.O(_.sWc,_.M);_.sWc.prototype.Hb=function(){return _.Jk(this,6,0)};_.sWc.prototype.Bc=function(a){return _.Yk(this,6,a)};var tWc=function(a){_.T(this,a,0,-1,null,null)};_.O(tWc,_.M);var uWc=[1],vWc=function(a){_.T(this,a,0,-1,uWc,null)};_.O(vWc,_.M);var wWc=function(a){_.T(this,a,0,-1,null,null)};_.O(wWc,_.M);var xWc=function(a){_.T(this,a,0,-1,null,null)};_.O(xWc,_.M);yWc=[7];_.zWc=[[1,2,3]];
_.AWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.AWc,_.M);_.BWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.BWc,_.M);_.CWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.CWc,_.M);_.DWc=function(a){_.T(this,a,0,-1,yWc,_.zWc)};_.O(_.DWc,_.M);_.EWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.EWc,_.M);_.EWc.prototype.getName=function(){return _.G(this,1)};_.EWc.prototype.$c=function(a){return _.Xk(this,1,a)};var FWc=function(a){_.T(this,a,0,-1,null,null)};_.O(FWc,_.M);
FWc.prototype.getName=function(){return _.G(this,1)};FWc.prototype.$c=function(a){return _.Xk(this,1,a)};FWc.prototype.getTitle=function(){return _.G(this,2)};FWc.prototype.setTitle=function(a){return _.Xk(this,2,a)};var GWc=function(a){_.T(this,a,0,-1,null,null)};_.O(GWc,_.M);GWc.prototype.getName=function(){return _.G(this,1)};GWc.prototype.$c=function(a){return _.Xk(this,1,a)};GWc.prototype.getTitle=function(){return _.G(this,2)};GWc.prototype.setTitle=function(a){return _.Xk(this,2,a)};
var HWc=[[1,4]],IWc=function(a){_.T(this,a,0,-1,null,HWc)};_.O(IWc,_.M);IWc.prototype.getUser=function(){return _.D(this,_.mWc,1)};IWc.prototype.Q2=function(){return _.D(this,GWc,2)};var JWc=[[8,9,10]],KWc=function(a){_.T(this,a,0,-1,null,null)};_.O(KWc,_.M);_.LWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.LWc,_.M);_.LWc.prototype.getType=function(){return _.Jk(this,6,0)};_.MWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.MWc,_.M);_.NWc=function(a){_.T(this,a,0,-1,null,JWc)};_.O(_.NWc,_.M);
_.g=_.NWc.prototype;_.g.getName=function(){return _.G(this,1)};_.g.$c=function(a){return _.Xk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Xk(this,2,a)};_.g.$b=function(){return _.G(this,6)};_.g.hM=function(){return _.D(this,IWc,7)};OWc=[[8,9,10]];_.mP=function(a){_.T(this,a,0,-1,null,OWc)};_.O(_.mP,_.M);_.mP.prototype.getName=function(){return _.G(this,1)};_.mP.prototype.$c=function(a){return _.Xk(this,1,a)};
_.mP.prototype.getTitle=function(){return _.G(this,2)};_.mP.prototype.setTitle=function(a){return _.Xk(this,2,a)};PWc=[[1,3]];_.QWc=function(a){_.T(this,a,0,-1,null,PWc)};_.O(_.QWc,_.M);_.QWc.prototype.Q2=function(){return _.D(this,GWc,2)};_.RWc=[[1,2,3]];SWc=function(a){_.T(this,a,0,-1,null,null)};_.O(SWc,_.M);var TWc=function(a){_.T(this,a,0,-1,null,null)};_.O(TWc,_.M);_.UWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.UWc,_.M);_.VWc=function(a){_.T(this,a,0,-1,null,_.RWc)};_.O(_.VWc,_.M);
WWc=[2,3];_.XWc=function(a){_.T(this,a,0,-1,WWc,null)};_.O(_.XWc,_.M);_.XWc.prototype.getType=function(){return _.Jk(this,1,0)};_.YWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.YWc,_.M);_.YWc.prototype.getType=function(){return _.Jk(this,1,0)};var ZWc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZWc,_.M);ZWc.prototype.getType=function(){return _.Jk(this,1,0)};var $Wc=function(a){_.T(this,a,0,-1,null,null)};_.O($Wc,_.M);var aXc=function(a){_.T(this,a,0,-1,null,null)};_.O(aXc,_.M);
var bXc=function(a){_.T(this,a,0,-1,null,null)};_.O(bXc,_.M);cXc=[1,2,4];_.dXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.dXc,_.M);_.eXc=function(a){_.T(this,a,0,-1,cXc,null)};_.O(_.eXc,_.M);_.nP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.nP,_.M);_.nP.prototype.getEmail=function(){return _.G(this,1)};_.nP.prototype.getTitle=function(){return _.G(this,2)};_.nP.prototype.setTitle=function(a){return _.Xk(this,2,a)};_.oP=[[2,3,4,5]];_.pP=function(a){_.T(this,a,0,-1,null,_.oP)};_.O(_.pP,_.M);
_.pP.prototype.Bg=function(){return _.Jk(this,1,0)};_.pP.prototype.getUser=function(){return _.D(this,_.mWc,2)};var fXc=function(a){_.T(this,a,0,-1,null,null)};_.O(fXc,_.M);gXc=[1,2,3,4];_.hXc=function(a){_.T(this,a,0,-1,gXc,null)};_.O(_.hXc,_.M);var iXc=function(a){_.T(this,a,0,-1,null,null)};_.O(iXc,_.M);var jXc=function(a){_.T(this,a,0,-1,null,null)};_.O(jXc,_.M);_.kXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.kXc,_.M);_.lXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.lXc,_.M);
_.lXc.prototype.getType=function(){return _.Jk(this,1,0)};mXc=[1];_.nXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.nXc,_.M);_.nXc.prototype.getFeature=function(){return _.Jk(this,1,0)};_.oXc=function(a){_.T(this,a,0,-1,mXc,null)};_.O(_.oXc,_.M);var pXc=function(a){_.T(this,a,0,-1,null,null)};_.O(pXc,_.M);var qXc=function(a){_.T(this,a,0,-1,null,null)};_.O(qXc,_.M);var rXc=function(a){_.T(this,a,0,-1,null,null)};_.O(rXc,_.M);rXc.prototype.getType=function(){return _.Jk(this,1,0)};
_.qP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.sXc=function(a){_.T(this,a,0,-1,null,_.qP)};_.O(_.sXc,_.M);_.tXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tXc,_.M);var uXc=function(a){_.T(this,a,0,-1,null,null)};_.O(uXc,_.M);_.vXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.vXc,_.M);_.wXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.wXc,_.M);_.wXc.prototype.getType=function(){return _.Jk(this,1,0)};_.xXc=[[1,2,3,4,5]];_.yXc=function(a){_.T(this,a,0,-1,null,_.xXc)};_.O(_.yXc,_.M);
_.yXc.prototype.getUser=function(){return _.D(this,_.mWc,1)};var zXc=function(a){_.T(this,a,0,-1,null,null)};_.O(zXc,_.M);zXc.prototype.getType=function(){return _.Jk(this,2,0)};_.AXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.AXc,_.M);_.g=_.AXc.prototype;_.g.getName=function(){return _.G(this,1)};_.g.$c=function(a){return _.Xk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Xk(this,2,a)};_.g.Ua=function(){return _.D(this,_.NWc,3)};
_.BXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.BXc,_.M);_.BXc.prototype.getParent=function(){return _.D(this,_.NWc,4)};_.BXc.prototype.Qg=function(a){return _.z(this,4,a)};var CXc=function(a){_.T(this,a,0,-1,null,null)};_.O(CXc,_.M);_.g=CXc.prototype;_.g.getName=function(){return _.G(this,1)};_.g.$c=function(a){return _.Xk(this,1,a)};_.g.getTitle=function(){return _.G(this,2)};_.g.setTitle=function(a){return _.Xk(this,2,a)};_.g.Ua=function(){return _.D(this,_.NWc,3)};_.DXc=[[1,5,3]];
_.EXc=function(a){_.T(this,a,0,-1,null,_.DXc)};_.O(_.EXc,_.M);_.EXc.prototype.Q2=function(){return _.D(this,CXc,2)};_.rP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.rP,_.M);_.rP.prototype.aT=function(a){_.z(this,1,a)};_.rP.prototype.$p=function(){return _.D(this,_.cy,2)};_.rP.prototype.AC=function(a){_.z(this,2,a)};FXc=[[5,6]];_.GXc=function(a){_.T(this,a,0,-1,null,FXc)};_.O(_.GXc,_.M);_.GXc.prototype.Eh=function(){return _.D(this,zXc,2)};_.GXc.prototype.V=function(a){_.cl(this,5,FXc[0],a)};
HXc=[3,4,5];IXc=[[6,7]];_.sP=function(a){_.T(this,a,0,-1,HXc,IXc)};_.O(_.sP,_.M);_.sP.prototype.Ska=function(a){_.dl(this,4,a,_.GXc,void 0)};_.sP.prototype.V=function(a){_.cl(this,6,IXc[0],a)};var JXc=[1],aRc=function(a){_.T(this,a,0,-1,JXc,null)};_.O(aRc,_.M);var OO=[[1,2,3,4,5,6,7]],$Qc=function(a){_.T(this,a,0,-1,null,OO)};_.O($Qc,_.M);var tP=function(a){_.T(this,a,0,-1,null,null)};_.O(tP,_.M);tP.prototype.getQuery=function(){return _.D(this,_.Qe,1,1)};var KXc=function(a,b){return _.z(a,1,b)};
tP.prototype.Tn=function(){return _.C(this,4)};var LXc=function(a,b){return _.z(a,5,b)},MXc=[1,2,5,7,9,10,12],uP=function(a){_.T(this,a,0,-1,MXc,null)};_.O(uP,_.M);uP.prototype.Nd=function(){return _.al(this,_.Nl,1)};var NXc=function(a,b){return _.hb(a,1,b)};uP.prototype.Eg=function(a,b){return _.dl(this,1,a,_.Nl,b)};uP.prototype.jM=function(){return _.al(this,_.Cl,2)};uP.prototype.W9=function(a){_.dl(this,2,a,_.Cl,void 0)};uP.prototype.Rz=function(){return _.C(this,3)};
var OXc=function(a,b){return _.B(a,3,b)};uP.prototype.uo=function(){return _.C(this,4)};var PXc=function(a,b){return _.B(a,4,b)},QXc=function(a,b){return _.hb(a,5,b)},RXc=function(a,b){return _.B(a,6,b)};uP.prototype.Gg=function(){return _.D(this,_.tD,8)};uP.prototype.oy=function(){return _.al(this,_.ep,9)};uP.prototype.Hi=function(){return _.Ad(this,12)};
var SXc=function(a,b){return _.B(a,12,b||[])},TXc=function(a,b){return _.B(a,13,b)},UXc={bDb:0,aDb:1,DIb:2,sOb:3,vOb:4},MO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],YQc=function(a){_.T(this,a,0,-1,null,MO)};_.O(YQc,_.M);var dRc=[[1,2]],cRc=function(a){_.T(this,a,0,-1,null,dRc)};_.O(cRc,_.M);var gRc=[[1,2,3]],fRc=function(a){_.T(this,a,0,-1,null,gRc)};_.O(fRc,_.M);var VXc=[1],WXc=function(a){_.T(this,a,0,-1,VXc,null)};_.O(WXc,_.M);WXc.prototype.Pv=function(){return _.G(this,2)};
var XXc={VDb:"wb",YOb:"xb",IJb:"yb",vXa:"zb"},YXc=function(a,b){return 0<=b?!a||a<=b:!0},ZXc=function(a,b){return 1<a?2==b:a==b},$Xc=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("xe");},vP=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=vP.prototype;_.g.clone=function(){return new vP(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.qc=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.bT=function(a){this.V=a};_.g.Rz=function(){return this.ha};_.g.equals=function(a){return this.H==a.qc()&&this.V==a.V&&this.ha==a.Rz()&&_.fl(this.W,a.getItem())};var aYc=function(a){_.P.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.N(aYc,_.P);
var wP=function(a,b,c){if(a.ha)throw Error("ye");c={Zm:_.dg(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)}},xP=function(a,b){if(!a.ha)throw Error("ze");if(!a.ka)throw Error("Ae`"+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.Zm[b];if(_.Xf(e.Zm))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};aYc.prototype.H=function(a){return!!this.ma[a]};aYc.prototype.start=function(){this.ha=!0};aYc.prototype.Ya=function(){_.P.prototype.Ya.call(this);delete this.V};_.iO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.GJc=function(a){this.H=a};bYc=function(){};cYc=function(a){this.H=a};_.HJc=function(a){this.H=a};FRc=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.px=f;this.ha=h;this.V=k};
_.kO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.PJc=function(a,b){this.request=a;this.pageToken=b||""};dYc=function(a){this.pageToken=a||""};eYc=function(){};_.SJc=function(a,b){this.request=a;this.pageToken=b||""};_.lO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.HMc=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.jO=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.ha=c||!1;this.H=void 0===d?0:d};fYc=function(a){_.jO.call(this,a,void 0,void 0,void 0);this.V=new _.Vn};_.N(fYc,_.jO);
var gYc=function(a,b){this.response=a;this.pageToken=b||""},OQc=function(){var a=_.q.Intl;return!(!a||!a.Collator)},hYc=function(a,b){return OQc()?(new _.q.Intl.Collator([a||"en-CA"],b||{})).compare:function(c,d){return c.localeCompare(d)}},iYc=function(a){return[].concat(_.Mc(new Set(a.map(function(b){return _.kIc.get(b)}).filter(function(b){return b})))).join(",")},yP=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Mc(b));b=iYc(b);var d=_.iM(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":
_.E(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";_.E(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.E(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},jYc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+yP(a,b,!1)+")"},zP=function(a){return a instanceof _.Nl?null!=a.getId()&&a.getId()==a.Zc():null!=a.Kc()&&a.Kc()==_.C(a,7)},kYc=function(a,b,c){c=void 0===c?[]:c;var d=_.gl(a),e=b.Fk();null!=e&&AQc(a,_.gl(e));if((e=b.getCapabilities())&&null!=_.H(e,13)){var f=a.getCapabilities()||new _.Il,h=_.H(e,13);_.B(f,13,h);a.Gn(f)}e&&
null!=_.H(e,18)&&(f=a.getCapabilities()||new _.Il,h=_.H(e,18),_.B(f,18,h),a.Gn(f));e&&null!=_.H(e,51)&&(f=a.getCapabilities()||new _.Il,e=_.H(e,51),_.B(f,51,e),a.Gn(f));IO(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,95,75,94,122,2]);d.Fk()&&IO(a,d,c)},lYc=function(a,b,c){c=void 0===c?[]:c;if(!b||!zP(a)&&!zP(b))return a;if(2==LO(a)){c=_.C(a,82);var d=_.gl(b);kYc(d,a);_.RKc(d,LO(b));_.wM(d,c);return d}a=_.gl(a);kYc(a,b,c);return a},mYc=function(a){return(a=a?a.Fk():
null)&&a.nm()||!1},nYc=/^[\x00-\x7F]*$/,oYc=function(){this.H=""},qYc=function(a){return pYc(a)&&0==_.Ad(a,40).length&&void 0==_.C(a,41)},pYc=function(a){var b=!0;_.al(a,_.Se,13).forEach(function(d){"me"!=d.kb()&&(b=!1)});var c=_.pH(a);c=!c||5!=c.getType();return 0==_.al(a,_.fm,5).length&&0==_.al(a,_.Se,14).length&&0==_.al(a,_.Se,15).length&&!_.Gk(a,58)&&!_.H(a,18)&&!_.H(a,34)&&0==_.al(a,_.JN,35).length&&0==_.al(a,_.JN,38).length&&c&&b&&0==_.Ad(a,39).length&&!_.C(a,42)&&0==_.al(a,_.am,44).length&&
!_.aN(a)&&!_.bN(a)&&!_.cN(a)&&0==_.al(a,_.bm,57).length&&rYc(a)&&!_.D(a,_.rna,59)&&null==_.H(a,60)},rYc=function(a){return _.al(a,_.gm,4).every(function(b){return nYc.test(b.kb())})};oYc.prototype.q1=function(a,b){var c=this;return b.filter(function(d){return sYc(c,a,d)})};
var sYc=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!zP(c);if(d){d=!0;var e=_.al(b,_.gm,4);if(rYc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.kb()){var k=_.E(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.kb().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,_.Mc(n.split(/\b/)));for(n=0;n<h.length&&d;n++)p=h[n],r=!0,0!=(0,_.Nf)(p).length&&(0==p.replace(/\./g,
"").length&&(r=!1),p=!!l.match(new RegExp((r?"(^|[^\\w]|_)":"")+_.Yg(p))),d=d&&(k?!p:p))}}}else d=!0}if(d){l=_.LN(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())n=h.value,n.kb()&&(h=_.E(n,2,!1),p=c.$b(),n=n.kb()==p,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.al(b,_.dm,7),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Hr(),d=d&&tYc(k,f);if(d)for(d=!0,e=_.al(b,_.dm,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Fz(),d=d&&tYc(k,f);d&&(d=b.ki(),e=(e=_.NN(b))&&
(2==e||3==e),d=null==d||d==!!c.ki()&&(!d||1==c.Qn()||e));d&&(d=null==_.H(b,10)||_.H(b,10)==!!c.Gz());d&&(d=null==b.nm()||b.nm()==!!c.nm());if(d)a:{d=_.MN(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.kb()&&(f="root"==e.kb()&&a.H||e.kb(),f=c.oj().includes(f),_.E(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.al(b,_.Se,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.kb()&&(e=1==c.Qn(),_.E(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.H(b,16)||(_.H(b,16)?null!=c.Xw():
!0));a&&(a=_.H(b,17),d=(d=_.NN(b))&&(2==d||3==d),a=null==a||a==!!c.pF()&&(!a||1==c.Qn()||d));a&&(a=QQc(c),a=null==_.H(b,19)||_.H(b,19)==!!a.Vq());a&&(a=!0);if(a=a&&uYc(b,c)&&vYc(b,c))a=_.Ad(b,33),a=!a.length||a.includes(c.Zc()||"");if(a=a&&wYc(b,c))_.C(b,41)?(a=_.D(c,_.GN,86),a=null!=a&&_.C(b,41)==_.C(a,3)):a=!0;if(a=a&&xYc(b,c))a=_.NN(b),1==a?(a=_.H(c,31),a=!!_.MN(b).length||!!_.al(b,_.JN,35).length||1==_.H(b,18)||_.aN(b)||_.bN(b)||_.cN(b)||!!_.C(b,54)||null==a||a):a=2==a?!!c.Zc():!0;a&&(a=_.aN(b)?
!!_.Xl(c)&&!c.ki():!0);a&&(a=_.bN(b)?!!_.Yl(c).length&&!c.ki():!0);a&&(a=_.cN(b)?!!_.al(c,_.Fl,117).length&&!c.ki():!0);a&&(a=_.Gk(b,50)?_.E(b,50,!1)?_.Gk(c,101)&&0!==_.C(c,101):!_.Gk(c,101):!0);a&&(a=_.C(b,54),a=!a||_.Ad(c,120).includes(a));a&&(c=_.D(c,_.AN,138),null==_.H(b,65)||null==c?a=!0:(c=2==_.C(c,1),a=_.H(b,65)==c));return a},tYc=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},uYc=function(a,b){var c=_.dg(_.Ad(b,56));a=_.al(a,_.KN,25);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},vYc=function(a,b){if(0==a.Sv().length)return!0;var c=_.dg(b.Sv().map(function(d){return _.C(d,1)}));a=_.dg(a.Sv().map(function(d){return _.C(d,1)}));return _.Tf(a,function(d,e){return c[e]})},wYc=function(a,b){var c=_.dg(_.Ad(b,50));a=_.al(a,_.em,37);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},xYc=function(a,b){if(_.Ad(a,40).length){if(b=
_.D(b,_.GN,86)){var c=_.dg(_.Ad(b,2));return _.Ad(a,40).some(function(d){return c[d]})}return!1}return!0},yYc=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}},zYc=function(a){var b=OQc(),c={};b&&(c.numeric=b);this.H=hYc(a,c)};
zYc.prototype.compare=function(a,b,c){b=AYc(b);c=AYc(c);a=_.pH(a);var d=yYc(a);if(a&&d){d=BYc(this,a);var e=4==a.getType()?this.H:_.Da;return CYc(a,d,e,b,c)}return _.Da(b.getId(),c.getId())};zYc.prototype.sort=function(a,b,c){a=_.pH(a);var d=yYc(a);a&&d&&(d=BYc(this,a),d=DYc(b,d),_.Fa(b,EYc(this,a,d)));c&&0<c&&_.ya(b,c,b.length-c)};
var AYc=function(a){return a instanceof _.Nl?a:a.getItem()},BYc=function(a,b){b=yYc(b);return _.v(a.V,a,b,_.Da)},DYc=function(a,b){var c={};a.forEach(function(d){d=AYc(d);var e=d.getId();c[e]=b(d)});return c},EYc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Da;d=AYc(d);e=AYc(e);return CYc(b,function(h){return c[h.getId()]},f,d,e)}},CYc=function(a,b,c,d,e){var f=1==a.hh()?1:-1;if(_.H(a,3)){a=KO(d,!0);var h=KO(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Da(d.getId(),
e.getId()))};zYc.prototype.V=function(a,b,c){for(var d=FYc(a[0],c),e=1;e<a.length;e++){var f=FYc(a[e],c);d=1==b(f,d)?f:d}return d};
var FYc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.$b()||"";case 4:return b.Gz()||!1;case 12:return b.Fz()||0;case 11:return b.KB()||0;case 10:return b.Hr()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Xw()||0;case 57:return _.C(b,62)||0;case 32:return b.ey()||0;case 9:return b.mD()||0;case 67:return b.mM()||0;case 98:return b.uD()||0;default:return""}},GYc=function(a){var b=new _.Hq;_.aO(b,"hidden",a.nm());a=_.H(a,6);null!=a&&_.aO(b,"canRemoveSecureLinkUpdateForAllFiles",
a);return b.toString()},HYc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.CM(_.gM(b));this.W="";a=_.sM(b);this.ka=!(!a||!_.E(a,1,!1))},AP=function(a,b,c){b=_.gl(b);"root"==b.getId()&&b.Wb(a.W);_.MN(b).filter(function(d){return"root"==d.kb()}).forEach(function(d){return d.Vb(a.W)});_.Ye(b,_.LN(b).map(function(d){d.Vb(d.kb().toLowerCase());return d}));c&&_.jm(b,a.V);b.Hi().sort();return b},BP=function(a,b,c){if(b instanceof _.Qe){b=AP(a,b);var d=_.hMc(b)}else if(b instanceof _.ap)d=b.om().sort().join(","),
_.E(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.$L)return d=GYc(b),d+"|tdList";if(b instanceof _.ip)return d=b.om().sort().join(","),b.Hi().length&&(d+="|"+iYc(b.Hi())),d+"|tdMap";throw Error("De");}return 3==c?d:d+"|"+IYc(a,b.Hi(),2==c)},IYc=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(_.Mc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&
(d=d+" - "+_.HM({fields:[].concat(_.Mc(f)),Tx:a.H}));e.size&&(d=d+" + "+_.HM({fields:[].concat(_.Mc(e)),Tx:a.H}));return d};HYc.prototype.equals=function(a,b,c){var d;c&&(d=3);return BP(this,a,d)==BP(this,b,d)};
var JYc=function(a){if(!a.om().every(function(b){return!_.bd(b)}))throw new _.Ob("Invalid ids for FindByIdsRequest");},LYc=function(a,b,c){if(_.bN(b))throw new _.Ob("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");KYc(a,b,c)},KYc=function(a,b,c){var d=_.DM(3);if(b.getId())throw new _.Ob("Use findByIds() for find by id queries.",d);if(!b.Yh()||0>=b.Yh())throw new _.Ob("A positive limit is required on an ItemQueryRequest.",d);_.Ad(b,33);a.ka&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),MYc(a,d,b.Hi()));if(c=(c=_.pH(b))&&yYc(c))d=b.Hi().length?b.Hi():a.V,MYc(a,d,c);if(_.aN(b)){if(a.H)throw new _.Ob("User must be authenticated for a Quick Access request.");if(!NYc(a)&&20<b.Yh())throw new _.Ob("Limit must be in the range [1, 20].");c=2==_.NN(b);d=_.Ad(b,33).length;if(c&&1!=d||d&&!c)throw new _.Ob("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.BM(_.Sk(_.Sk(_.Sk(_.AM(_.Sk(_.Tk(_.AM(b.clone(),1),30),32),33),
45),47),48),6);d=new _.Qe;if(!_.fl(c,d))throw new _.Ob("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: "+FUc(d,c));}if(_.cN(b)){if(a.H)throw new _.Ob("User must be authenticated for a DrivePriority request.");if(2==_.NN(b))throw new _.Ob("Team Drive corpora is not valid for a Drive Priority request.");a=_.Sk(_.Sk(_.Sk(_.Tk(_.AM(b.clone(),1),30),32),45),52);b=new _.Qe;if(!_.fl(a,
b))throw new _.Ob("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+FUc(b,a));}},OYc=function(a,b,c){if(!_.bN(b))throw new _.Ob("Expected a PeoplePredict request.");KYc(a,b,c);if(a.H)throw new _.Ob("User must be authenticated for a People Predict request.");if(2==_.NN(b))throw new _.Ob("Team Drive corpora is not valid for a People Predict request.");a=_.Sk(_.Sk(_.Sk(_.Tk(_.AM(b.clone(),1),30),
32),45),49);b=new _.Qe;if(!_.fl(a,b))throw new _.Ob("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+FUc(b,a));},MYc=function(a,b,c){var d=_.DM(3);if(!yQc(b,c,!0)){var e=_.HM({fields:c,Tx:a.H}),f=_.HM({fields:b,Tx:a.H});a=_.HM({fields:zQc(c,b),Tx:a.H});throw new _.Ob("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d);}},NYc=function(a){return 200<=
_.PN(a.ha)&&300>_.PN(a.ha)},PYc=function(a){var b=new Set;_.LN(a).forEach(function(c){switch(_.uSa(c.kb())){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(_.Mc(b))},QYc=function(a){switch(_.PN(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"}},RYc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;this.V={};this.ha=new Set},SYc=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]={}})},UYc=function(a,b,c){b.every(function(d){return zP(d)})?TYc(b,c,a.V,a.ha):b.every(function(d){return!zP(d)})&&TYc(b,c,a.H,a.W)},TYc=function(a,b,c,d){var e=_.tJc(b,[].concat(_.Mc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];k&&IO(f,k,[h])})})};
RYc.prototype.update=function(a,b,c){b&&zP(b)?VYc(a,b,this.V,this.ha,c):VYc(a,b,this.H,this.W,c)};var WYc=function(a,b){_.Qf(a.H,function(c,d){_.Yf(a.H[d],b)});_.Qf(a.V,function(c,d){_.Yf(a.V[d],b)})},VYc=function(a,b,c,d,e){_.Qf(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Yf(f,a);else if(b&&xQc(b,[h])){var k=new _.Nl;k.Wb(b.getId());IO(k,b,[h]);f[a]=k}});b&&tQc(b,[].concat(_.Mc(d)))};
RYc.prototype.clear=function(){var a=this;_.Qf(this.H,function(b,c){a.H[c]={}});_.Qf(this.V,function(b,c){a.V[c]={}})};var XYc=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})};XYc.prototype.query=function(a,b){var c=[];if(qYc(a)){for(var d=_.m(this.H.values()),e=d.next();!e.done;e=d.next())e=e.value,sYc(this.W,a,e.getItem())&&(void 0===b||ZXc(e.V,b))&&c.push(e);this.ha.sort(a,c)}return c};XYc.prototype.get=function(a){return this.H.get(a)};
XYc.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};XYc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,YYc(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 YYc=function(a,b){return 1<b.qc()||ZXc(b.V,2)||b.getItem().pF()||SQc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},ZYc=function(a){for(var b=_.m(a.H.values()),c=b.next();!c.done;c=b.next())c=c.value,YYc(a,c)&&(a.H.delete(c.getId()),c.H--)},$Yc=function(a,b,c,d){this.W=a;this.ka=b;this.V=c;this.ha=d},vRc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),UYc(a.ha,[b.getItem()],mUc(a.W)),b):null};$Yc.prototype.H=function(a){return(a=vRc(this,a))?a.getItem():null};
var aZc=function(a,b){var c={};b.forEach(function(d){var e=vRc(a,d);e&&(c[d]=e)});return c},bZc=function(a,b){return _.Sf(aZc(a,b),function(c){return c.getItem()})},cZc=function(a,b){b=AP(a.ka,b);return a.V.query(b).map(function(c){return c.clone()})};$Yc.prototype.query=function(a){return cZc(this,a).map(function(b){return b.getItem()})};
var dZc=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(_.Ol(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.rH(e));(d=c.Yp())&&b.add(d.getId()||_.rH(d));(d=c.eD())&&b.add(d.getId()||_.rH(d));(d=_.D(c,_.Cl,91))&&b.add(d.getId()||_.rH(d));(c=c.vD())&&b.add(c.getId()||_.rH(c))}return b.size},eZc=function(a){_.P.call(this);this.H=a};_.O(eZc,_.P);_.g=eZc.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.WJ=function(a){this.H.addCallback(function(b){b.WJ(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();eZc.ub.Ya.call(this)};var UQc=function(a){_.qA.call(this);this.H=a;this.W=_.Ud(this.H,"message",this.r2a,!1,this)};_.O(UQc,_.qA);_.g=UQc.prototype;_.g.ke=null;
_.g.send=function(a,b){var c=[];b=this.ooa(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.rIc&&(a=(0,_.qj)(a));this.H.postMessage(a,c)};_.g.r2a=function(a){a=a.Ze;var b=a.data;if(_.rIc)try{b=JSON.parse(b)}catch(e){return}if(_.Aa(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.tra(a.ports||[],b),d.nva),null!=b&&d.callback(b))}};
_.g.ooa=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)?_.gb(b,(0,_.v)(this.ooa,this,a)):b&&b.constructor==Object?_.Sf(b,function(c,d){c=this.ooa(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.tra=function(a,b){return Array.isArray(b)?_.gb(b,(0,_.v)(this.tra,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Sf(b,function(c,d){return this.tra(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.hj(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;UQc.ub.Ya.call(this)};
var fZc=function(a,b){if("*"==b)return new eZc(_.Ii(Error("Fe")));var c=new _.mj(50),d=_.Ta(_.Ec,c),e=new _.Bi(d);_.Di(e,d);c.start();_.Ud(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new UQc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new eZc(e)},gZc=function(a){_.P.call(this);this.H=new _.CGc(a);this.W={};this.V=_.EGc(this.H,
"private");this.ha=_.EGc(this.H,"public");this.V.registerService("mics",(0,_.v)(this.S_a,this),!0)};_.O(gZc,_.P);_.g=gZc.prototype;_.g.xob=0;_.g.Ya=function(){_.Ec(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.xob++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.S_a=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.R_a,this,b),!0)};
_.g.R_a=function(a,b){a=a(b.data);var c=b.signature;_.si(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var hZc=function(a,b){_.P.call(this);this.W=new _.CGc(a);this.Na(this.W);this.H=new gZc(_.EGc(this.W,"direct"));this.Na(this.H);a=_.EGc(this.W,"passthrough");this.ha=b?a:new gZc(a);this.Na(this.ha);this.V=b;this.ka=!1};_.N(hZc,_.P);hZc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
hZc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Af)};var CP=function(a,b,c){if(a.V)throw Error("Ge");a.ha.registerService(b,c,!0)},iZc=function(a,b,c,d){if(a.V)throw Error("He");a.ha.send(b,c||{},d||_.Af)};hZc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("Ie");};WQc=[];jZc={YBb:0,wCb:1,THb:3,wPb:5,AXa:6};
kZc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Td:a.c,kba:a.fi,E0:a.dti,PU:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Taa:b.ec}}):void 0}};_.BJc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.BJc,_.M);_.BJc.prototype.ue=function(){return _.D(this,_.ff,1)};lZc=function(){var a=new _.BJc,b=_.gf(new _.ff,301);return _.z(a,1,b)};_.QJc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.QJc,_.M);
var mZc=function(a){return _.D(a,_.jM,3)||_.D(a,_.uN,4)||_.D(a,_.mO,5)||_.D(a,_.pN,6)||_.D(a,_.UM,7)||_.D(a,_.NM,8)||_.D(a,_.RM,9)||_.D(a,_.tM,10)},nZc=function(a){_.T(this,a,0,-1,null,null)};_.O(nZc,_.M);nZc.prototype.getId=function(){return _.C(this,1)};nZc.prototype.Wb=function(a){return _.B(this,1,a)};nZc.prototype.Ww=function(){return _.C(this,3)};nZc.prototype.Ke=function(){return _.C(this,4)};var oZc=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
oZc.prototype.create=function(a,b){if(0!=tUc(b)){var c=this.V.V(106001);if(c){var d=tUc(b),e=YO(c);_.B(e,2,d);d=YO(c);e=null;if(b instanceof _.sH||b instanceof _.ap||b instanceof _.Qe||b instanceof _.eN||b instanceof _.ZD||b instanceof _.ip||b instanceof _.$L||b instanceof _.rN||"undefined"!=typeof _.sN&&b instanceof _.sN||b instanceof _.op)e=b.ue();e=e&&_.E(e,2,!1);_.B(d,7,"boolean"==typeof e?e:void 0);d=YO(c);b=b instanceof _.Qe?0<_.MN(b).length:void 0;_.B(d,8,b);this.H.set(a,c)}}};
var pZc=function(a,b,c){if(a=a.H.get(b))a=YO(a),_.B(a,5,c)},qZc=function(a,b,c,d,e){var f=a.H.get(b);f&&(YO(f).Bc(c),c=YO(f),_.B(c,1,d),null!=e&&(d=YO(f),_.B(d,6,e)),f.H(),a.H.delete(b))},rZc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Hb(c);c=uUc(c);if(1==e||2==c)e=_.eO(_.uIc,c),d=YO(d),d=3==e||8==e?!_.H(d,5):0!=e?_.QIc.has(e):null,qZc(a,b,1,e,d)}},sZc=function(a,b,c){var d=a.W.Hb(c);d=_.eO(_.tIc,d||22);var e=uUc(c);e=_.eO(_.uIc,e);qZc(a,b,d,e,"undefined"!=typeof _.iO&&c instanceof _.iO||"undefined"!=
typeof _.kO&&c instanceof _.kO||"undefined"!=typeof _.lO&&c instanceof _.lO?c.W:null)},DP=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(YO(d).Bc(c),d.H(),a.H.delete(b))},EP=function(a,b){_.aj.call(this,"Gb");this.error=a;this.AG=b};_.N(EP,_.aj);
var tZc=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(tZc,_.wGc);tZc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};tZc.prototype.update=function(a,b){this.V.update(a,b)};
tZc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};var uZc=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(uZc,_.wGc);uZc.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 vZc=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};
uZc.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;)vZc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){vZc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){vZc(this,e);f=0;break}}this.W=f;this.ha+=b}};
uZc.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;vZc(this,this.ma);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.V[c]>>d&255,++b;return a};var wZc=[2,4],FP=function(a){_.T(this,a,0,-1,wZc,null)};_.O(FP,_.M);FP.prototype.Hb=function(){return _.C(this,1)};FP.prototype.Bc=function(a){return _.B(this,1,a)};FP.prototype.Wj=function(){return _.C(this,3)};
var xZc=[4,9],yZc=function(a){_.T(this,a,0,-1,xZc,null)};_.O(yZc,_.M);_.g=yZc.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.DHa=function(){return _.C(this,2)};_.g.bFa=function(){return _.C(this,3)};_.g.e8a=function(){return _.al(this,_.mM,4)};var zZc={iPb:0,cKb:1,fKb:2,OTHER:3,dKb:4},lRc=function(a){_.T(this,a,0,-1,null,null)};_.O(lRc,_.M);lRc.prototype.getUrl=function(){return _.C(this,1)};var PO=function(a){_.T(this,a,0,-1,null,null)};_.O(PO,_.M);
var kRc=function(a,b){return _.B(a,1,b)};PO.prototype.getName=function(){return _.C(this,2)};PO.prototype.$c=function(a){return _.B(this,2,a)};PO.prototype.getEmail=function(){return _.C(this,3)};PO.prototype.Vv=function(){return _.Gk(this,3)};var AZc=[1],BZc=function(a){_.T(this,a,0,-1,AZc,null)};_.O(BZc,_.M);BZc.prototype.bq=function(){return _.al(this,PO,1)};var CZc=function(a,b){return _.hb(a,1,b)},DZc=function(a){_.T(this,a,0,-1,null,null)};_.O(DZc,_.M);_.g=DZc.prototype;
_.g.Kc=function(){return _.C(this,1)};_.g.Hb=function(){return _.C(this,2)};_.g.Bc=function(a){return _.B(this,2,a)};_.g.getError=function(){return _.D(this,_.Nb,3)};_.g.Me=function(a){return _.z(this,3,a)};_.g.yn=function(){return _.Gk(this,3)};var EZc=[2],GP=function(a){_.T(this,a,0,-1,EZc,null)};_.O(GP,_.M);GP.prototype.Hb=function(){return _.C(this,1)};GP.prototype.Bc=function(a){return _.B(this,1,a)};GP.prototype.Aj=function(){return _.al(this,_.iD,2)};var FZc=function(a,b){return _.hb(a,2,b)};
GP.prototype.Wj=function(){return _.C(this,3)};var GZc=function(a){_.T(this,a,0,-1,null,null)};_.O(GZc,_.M);var HZc=[1],IZc=function(a){_.T(this,a,0,-1,HZc,null)};_.O(IZc,_.M);var JZc=function(a,b){return _.B(a,1,b||[])},KZc=function(a,b){this.V=a|0;this.H=b|0};KZc.prototype.equals=function(a){return this===a?!0:a instanceof KZc?this.V===a.V&&this.H===a.H:!1};KZc.prototype.Dc=function(){return 31*this.V+17*this.H|0};
var LZc=function(a,b){return new KZc(a,b)},MZc=function(a,b){b=~b;a?a=~a+1:b+=1;return LZc(a,b)},NZc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?MZc:LZc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},OZc=function(){this.H=this.ha=this.V=this.W=null},PZc=function(a,b,c){this.id=a;this.V=b;this.H=c},QZc=function(a,b){return new PZc((a?a:b).getId(),a,b)},HP=function(a){return new PZc(a.getId(),null,a)},RZc=function(){_.Q.call(this);this.H=Date.now()};_.N(RZc,_.Q);
var SZc=function(a){a.H=Date.now();a.dispatchEvent("Hb")},TZc=function(a,b,c){_.Q.call(this);this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.Pj=this.ha=null;this.W=!1};_.N(TZc,_.Q);var VZc=function(a){if(a.ha)return a.ha;var b=_.yi();a.ha=b.promise;_.q.setTimeout(function(){a.ha=null},5E3);UZc(a,b);return b.promise};TZc.prototype.va=function(){1==this.H&&(WZc(this,"Became unauthenticated."),this.H=!1,this.W=!0,XZc(this))};
TZc.prototype.Ba=function(){0==this.H&&(WZc(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.Pj&&(_.q.clearTimeout(this.Pj),this.Pj=null),this.dispatchEvent(new NUc("xa")))};
var XZc=function(a){a.V||(a.V=new _.cNc(5E3),a.Pj=_.q.setTimeout(function(){return YZc(a)},a.V.kb()))},YZc=function(a){UZc(a);a.V&&(_.sI(a.V),a.Pj=_.q.setTimeout(function(){return YZc(a)},a.V.kb()))},UZc=function(a,b){_.si().then(function(){return ZZc(a,b)})},ZZc=function(a,b){WZc(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.RJc)});b?c.then(function(){var d=b.resolve;var e=new GZc;e=_.B(e,1,1);d.call(b,e)},function(d){var e=_.FM(d).Sg;d=0;_.EIc(e)?(WZc(a,"Checked authentication state: unauthenticated."),
d=2):(WZc(a,"Checked authentication state: error occurred."),_.Lr(e),_.B(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new GZc;_.B(e,1,d);b.resolve(e)}):c.then(null,function(d){d=_.FM(d);_.EIc(d.Sg)&&a.W&&(a.dispatchEvent(new NUc("ya")),a.W=!1)})},WZc=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},$Zc=function(a,b){this.ma=a;this.ta=b;this.W=!0;this.ha=!1;this.Ba=0},a_c=function(a){a.W=!1;a.cNa()};_.g=$Zc.prototype;
_.g.lIa=function(a,b){var c=this;if(5==this.bF(a))throw Error("Re");var d=[];_.Ha(this.WD(),function(e){sYc(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.Y4=function(){return this.WD().length};_.g.update=function(a){var b=this.iG(a.V),c=this.iG(a.H);if(!b&&!c)return!1;b&&this.H0(a.V);c&&this.xra(a.H);return!0};_.g.bF=function(a){return this.W&&this.ha?qYc(a)?1:5:5};_.g.NX=function(){this.ha=!0};_.g.iG=function(a){return!!a&&this.W};_.g.Ly=function(a){this.Ba=a};_.g.vf=function(){return this.Ba};
var IP=function(a,b,c,d,e,f){$Zc.call(this,a,b);this.Ha=c;this.Ub=AP(c,d,!0);this.H=[];this.ka={};this.V=!e;b_c(this,e);this.va=(0,_.v)(this.ta.compare,this.ta,this.Ub);this.Ea=f||""};_.N(IP,$Zc);_.g=IP.prototype;_.g.Ed=function(){return this.Ub};_.g.xra=function(a){var b=this.ka[a.getId()];b&&this.H0(b);oQc(this.H,a,this.va);this.ka[a.getId()]=a;a.H++;this.H.length>this.Ub.Yh()&&(this.H0(_.ca(this.H)),this.V=!1)};
_.g.H0=function(a){var b=this.H,c=_.Ea(b,a,this.va);0<=c&&_.pa(b,c);_.Yf(this.ka,a.getId());a.H--};_.g.cNa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.WD=function(){return this.H};_.g.bF=function(a){var b;if(b=this.Ha.equals(this.Ub,a,!0))a=a.Hi(),b=this.Ub.Hi(),b=yQc(b,a,!0);return b?this.V?1:6:5};_.g.lIa=function(a,b){if(5==this.bF(a))throw Error("Re");b=b?Math.min(b,this.H.length):this.H.length;return _.xa(this.H,0,b)};
_.g.iG=function(a){if(!$Zc.prototype.iG.call(this,a)||!sYc(this.ma,this.Ub,a.getItem()))return!1;if(this.V||_.E(this.Ub,48,!1))return!0;var b=_.ca(this.H);return!!b&&0>=this.va(a,b)};_.g.Z4=function(){return this.V?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};_.g.cC=function(a,b){var c=this,d=_.ca(this.H);!this.V&&d&&_.ha(a,function(e){return e.getId()==d.getId()})&&(b?(this.H0(d),b_c(this,_.ca(a))):this.V=!0);_.Ha(a,function(e){c.update(HP(e))})};
var b_c=function(a,b){b&&sYc(a.ma,a.Ub,b.getItem())&&a.xra(b)};IP.prototype.Pv=function(){return this.Ea};var JP=function(a,b){$Zc.call(this,a,b);this.V={}};_.N(JP,$Zc);JP.prototype.xra=function(a){this.V[a.getId()]=a;a.H++};JP.prototype.H0=function(a){_.Yf(this.V,a.getId());a.H--};JP.prototype.cNa=function(){_.Qf(this.V,function(a){a.H--});this.V={}};JP.prototype.WD=function(){return Object.values(this.V)};var KP=function(a,b,c,d,e){JP.call(this,a,b);var f=this;this.H=e;wP(c,["aU7Ts","BNEDtc"],function(){return f.NX()})};
_.N(KP,JP);KP.prototype.bF=function(a){var b=this,c=JP.prototype.bF.call(this,a);if(5==c)return c;if(0<_.Ad(a,33).length)return 5;a=_.MN(a);return 0<a.length&&!a.every(function(d){d=b.V[d.kb()];return null!=d&&!d.getItem().Zc()&&HQc(d.getItem())&&!_.H(d.getItem(),108)})?5:1};KP.prototype.iG=function(a){return JP.prototype.iG.call(this,a)&&c_c(this,a.getItem())};var c_c=function(a,b){if(_.H(b,31)||!a.ha)return!0;var c=a.H();return b.oj().some(function(d){var e=a.V[d];return d==c||null!=e&&HQc(e.getItem())})};
KP.prototype.NX=function(){var a=this;JP.prototype.NX.call(this);_.Qf(this.V,function(b){c_c(a,b.getItem())||(b.H--,_.Yf(a.V,b.getId()))})};KP.prototype.Ed=function(){return new _.Qe};KP.prototype.getType=function(){return"SubscribedCorpusCache"};KP.prototype.Z4=function(){return!1};var LP=function(a,b,c){JP.call(this,a,b);this.H=c};_.N(LP,JP);_.g=LP.prototype;
_.g.bF=function(a){var b=this,c=JP.prototype.bF.call(this,a);if(5==c)return c;c=_.MN(a);var d=c.every(function(e){var f=e.kb();return(null!=b.V[f]||b.H==f)&&!_.E(e,2,!1)});if(0<c.length&&d)return 1;a=_.Ad(a,33);return 0!=a.length&&a.includes(this.H)?1:5};_.g.iG=function(a){return JP.prototype.iG.call(this,a)&&!!a&&a.getItem().Zc()==this.H&&!zP(a.getItem())};_.g.Z4=function(){return!1};_.g.Ed=function(){var a=new _.Qe;_.DO(a,[this.H]);_.EO(a,2);return a};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.H};var d_c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.Qe;_.B(a,48,!0);var b=new _.xc;_.yc(b,11);_.zc(b,2);_.Re(a,b);this.ka=AP(this.ha,a,!0)};d_c.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)})};
d_c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof KP)b.H&&(a_c(b.H),b.H=null);else if(c instanceof IP){var d=_.fa(b.W,function(e){return b.ha.equals(e.Ed(),c.Ed())});0<=d&&(a_c(b.W[d]),_.pa(b.W,d))}else c instanceof LP&&(d=_.fa(b.V,function(e){return b.ha.equals(e.Ed(),c.Ed())}),0<=d&&(a_c(b.V[d]),_.pa(b.V,d)))})};
var e_c=function(a){var b=[];a.H&&b.push(a.H);_.wa(b,_.ta(a.W));_.wa(b,_.ta(a.V));return b},f_c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.gl(c.Ed()),_.Sk(c,32),_.BM(c,26),!_.fl(a.ka,c)):!0})},g_c=function(a,b){return _.If(a.V,function(c){return c.H==b})},h_c=function(a,b){return f_c(a).find(function(c){return a.ha.equals(c.Ed(),AP(a.ha,b,!0))})},i_c=function(a,b){_.aj.call(this,"Ib");this.V=a;this.H=b};_.N(i_c,_.aj);i_c.prototype.getError=function(){return this.H};
var j_c=function(a){_.aj.call(this,"Jb");this.H=a};_.N(j_c,_.aj);j_c.prototype.getPeople=function(){return this.H};var k_c=function(a){_.aj.call(this,"Kb");this.H=a};_.N(k_c,_.aj);k_c.prototype.getPeople=function(){return this.H};var l_c=function(a,b,c){this.ha=a;this.H=void 0===c?0:c;this.V=new Set(b?[b]:[]);this.W=null;1==this.H&&(this.W=Date.now())};l_c.prototype.rm=function(){return this.ha.clone()};l_c.prototype.vf=function(){return this.H};l_c.prototype.An=function(){return[1,4,2].includes(this.vf())};
var n_c=function(a,b,c,d){_.Q.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.YL(function(){return m_c(e)},100,this);this.H=[]};_.N(n_c,_.Q);
var m_c=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));o_c(a,b)}})},o_c=function(a,b){a.ha.then(function(c){return c.H(gUc(new _.iN,b))}).then(function(c){c=c.bq();a.dispatchEvent(new j_c(c))},function(c){c=_.FM(c);a.dispatchEvent(new i_c(b,c))})},r_c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.ka=new _.Ie(this);this.Na(this.ka);this.Ea=b;this.W=
d;this.Ba=e;this.V=!_.E(a,90,!1);(d=_.D(a,kTc,85))||(d=new kTc);this.va=_.Kk(d,1,864E5);this.ma=new n_c(a,b,c,f);this.H=new Map;this.ta=new _.qF(function(){var k=vUc(h.Ba,106015);if(k){var l=_.D(_.dO(k),bUc,11);if(!l){l=new bUc;var n=_.dO(k);_.z(n,11,l)}_.B(l,1,h.H.size);k.H()}},500,this);this.ka.listen(this.ma,"Jb",function(k){k=k.getPeople();p_c(h,k,1);h.ta.ze()});this.ka.listen(this.ma,"Ib",function(k){return q_c(h,k)});this.ha=new Map};_.N(r_c,_.Q);
r_c.prototype.get=function(a){var b=this.V?_.bh():"";this.V&&this.W.create(b,gUc(new _.iN,[a]));var c=this.H.get(a);if(c)return 4==c.vf()||s_c(this,c)?(this.V&&DP(this.W,b,s_c(this,c)?6:5),t_c(this,a)):this.V&&qZc(this.W,b,1,_.eO(_.uIc,10),null),c;this.V&&DP(this.W,b,5);return null};
var t_c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.iM(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.ze());c=new _.Vn;a.ha.set(b,c);return c.promise},v_c=function(a,b){var c=a.V?_.bh():"";a.V&&a.W.create(c,gUc(new _.iN,[b]));return u_c(a,b)?(a.V&&qZc(a.W,c,1,_.eO(_.uIc,10),null),Promise.resolve(a.H.get(b))):t_c(a,b).then(function(){a.V&&(u_c(a,b)?qZc(a.W,c,1,_.eO(_.uIc,1),null):DP(a.W,c,3));return a.H.get(b)})};
r_c.prototype.wc=function(){return 0==this.H.size};r_c.prototype.clear=function(){w_c(this,"Clearing the PeopleCache.");this.H.clear()};
var x_c=function(a){return[].concat(_.Mc(a.H.values())).filter(function(b){return b.An()&&4!=b.vf()}).map(function(b){return b.rm()})},y_c=function(a,b){return(a=a.H.get(b))?[].concat(_.Mc(a.V)):[]},z_c=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(_.Mc(e.V)).length&&a.H.delete(d))}},p_c=function(a,b,c){if(![1,2].includes(c))throw Error("Se");0!=b.length&&(w_c(a,"Importing "+b.length+" from "+(Object.keys(zZc)[c]+".")),A_c(a,
b,c))},C_c=function(a,b,c,d){0!=b.length&&B_c(a,b,c,void 0===d?0:d)},u_c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.An())||(c=4==b.vf()||s_c(a,b));return!c},B_c=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.rm(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.vf();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.fl(f.ha,h),f.ha=h.clone(),f.H=k,1==f.H&&(f.W=Date.now()),h=!l):h=!1}h&&
(e=!0);c&&f.V.add(c)}else 4!=d&&(e=!0,f=a,k=d,l=c,1!=k&&t_c(f,_.C(h,1)),k=new l_c(h,l,k),f.H.set(_.C(h,1),k))}return e},s_c=function(a,b){return 1==b.vf()&&Date.now()-Number(b.W)>a.va},w_c=function(a,b){a.Ea.log("drive.ds.sync.cache.PeopleCache",b,"info")},q_c=function(a,b){b=b.V.map(function(c){var d=a.H.get(c);return d?d.rm():kRc(new PO,c)});A_c(a,b,4)},A_c=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))}B_c(a,b,
void 0,c)&&a.dispatchEvent(new k_c(b))},D_c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.V=new _.Ie(this);this.Na(this.V);this.H=new r_c(a,b,c,d,e,f);this.V.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};_.N(D_c,_.Q);D_c.prototype.uO=function(a){if(a.H){var b=a.H.getItem(),c=E_c(this,[b]).map(function(d){return mRc(d)});C_c(this.H,c,a.H.getId(),F_c(_.C(b,82)))}a.V&&z_c(this.H,a.id,G_c(this,a))};
var F_c=function(a){return _.WIc.get(a)||0},G_c=function(a,b){var c=H_c(a,b.V),d=H_c(a,b.H);return c.filter(function(e){return!d.includes(e)})},H_c=function(a,b){return b?E_c(a,[b.getItem()]).map(function(c){return _.rH(c)}):[]},J_c=function(a,b){b=b.getUser();C_c(a.H,[mRc(b)],"ACCOUNT");I_c(a,b)},L_c=function(a,b){var c=_.al(b,_.VN,2).map(function(d){var e=_.D(d,_.Cl,9,1);return v_c(a.H,_.rH(e)).then(function(){return void K_c(a,[e])})});return Promise.all(c).then(function(){return b})},K_c=function(a,
b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.rH(c)&&I_c(a,c)},M_c=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.rH(f)&&(d.add(_.rH(f)),C_c(a.H,[mRc(f)],c));return Promise.all([].concat(_.Mc(d)).map(function(h){return v_c(a.H,h)})).then(function(){return K_c(a,b)})},O_c=function(a,b){return E_c(a,[b]).some(function(c){return!N_c(a,_.rH(c))})},N_c=function(a,b){return u_c(a.H,b)},E_c=function(a,b){return b.map(function(c){var d=c.Lw();d=d?[].concat(_.Mc(_.al(d,
_.Cl,2)),_.Mc(_.al(d,_.Cl,3))):[];var e=c.Uf();e=(e=e&&_.Gd(e))?E_c(a,[e]):[];return[].concat(_.Mc(_.Ol(c)),[c.Yp(),c.eD(),_.D(c,_.Cl,91),c.vD()],_.Mc(d),_.Mc(e))}).flat().filter(function(c){return c&&!!_.rH(c)})};D_c.prototype.getItems=function(a){return y_c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var P_c=function(a,b){return b.map(function(c){c=c.clone();var d=E_c(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Sk(e,3),_.Sk(e,8),_.Sk(e,5);return c})},I_c=function(a,b){var c=a.H.get(_.rH(b));if(c){a=c.rm();var d=_.fKc(b.$c(a.getName()),a.getEmail());c=_.VIc.get(c.H)||1;_.B(d,16,c);(a=_.D(a,lRc,4))&&b.Hn(a.getUrl())}},Q_c=function(){this.va=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};Q_c.prototype.getSessionId=function(){return this.ta};
Q_c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};Q_c.prototype.Df=function(){return this.va};Q_c.prototype.wc=function(){return this.H};
var R_c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},S_c=function(a,b){a=R_c(a);b=R_c(b);return!(!a||!b||a!=b)},T_c=function(a){return a.Kc()+"_"+R_c(a.getName())},U_c=function(a,b){var c=a.V().map(function(d,e){return b[Number(e)].value.V.promise});return Promise.allSettled(c).then(function(d){return a.V().map(function(e,f){e=e.toString();var h=new DZc;e=_.B(h,1,e);f=d[Number(f)];"fulfilled"==f.status?e.Bc(1):(e.Bc(3),e.Me(f.reason.Sg));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 X_c=function(a,b){a.H.add(b);V_c(a).then(function(){return W_c(a,b)})};MP.prototype.vf=function(){return this.ka};MP.prototype.Wta=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.mfa(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?Y_c(this):_.si([])};
var Y_c=function(a){for(var b=[],c=_.m(a.H.values()),d=c.next();!d.done;d=c.next())b.push(W_c(a,d.value));return _.wi(b)},Z_c=function(a,b){a.status=3;for(var c=[],d={},e=_.m(a.H.values()),f=e.next();!f.done;d={rja:d.rja},f=e.next())d.rja=f.value,c.push(a.ha.then(function(h){return function(k){k.Ea[h.rja]=b;k.V||(k.V=_.nj(k.ka,50,k))}}(d)));_.wi(c)},$_c=function(a){for(var b=[],c={},d=_.m(a.H.values()),e=d.next();!e.done;c={sja:c.sja},e=d.next())c.sja=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.sja])&&h.AM()}}(c)));_.wi(b).then(function(){var f=0==a.vf()?1:6;a.ka=f})},V_c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=a0c(b,d).Ed();c=Math.max(c,d.Yh?d.Yh()||0:0)});a.kfa(c)})},b0c=function(a,b){return b?a.ma.get(a.Tba(b)):null};MP.prototype.lfa=function(a,b){b=$Xc(b0c(this,a),b);this.ma.set(this.Tba(a),b)};MP.prototype.Tba=function(a){return a};MP.prototype.lba=function(){};
var W_c=function(a,b){return a.ha.then(function(c){var d=a.b5();c.Ba[b]=d;c.V||(c.V=_.nj(c.ka,50,c))})};MP.prototype.removeItem=function(){};var NP=function(a,b){_.Q.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.N(NP,_.Q);
var c0c=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&&c0c(a)?d0c(a):_.si()},d0c=function(a){a.ma=!0;a.V=!0;var b=a.Q$(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return e0c(a,c)},function(c){a.V=!1;c=_.qM(c);var d=new EP(c);a.fNa(d);a.dispatchEvent(d);return _.ti(c)})},e0c=function(a,b){a.V=!1;a.ha=a.hca(b);b=a.yba(b);b.forEach(function(c){return a.H.push(c)});a.c5(b);return a.H.length<a.W&&c0c(a)?_.wi([_.si(b),d0c(a)]).then(function(c){return c[0].concat(c[1])}):
_.si(b)};NP.prototype.c5=function(){};NP.prototype.fNa=function(){};var f0c=function(a,b,c){NP.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Xf(function(e){return _.GM(e)})});this.ka=b};_.N(f0c,NP);_.g=f0c.prototype;_.g.Q$=function(a,b,c){a=_.gl(a);a.Li(b);return new _.EJc(a,c)};_.g.hca=function(a){return a.pageToken||""};_.g.yba=function(a){return a.response.V()};_.g.c5=function(a){PP(this.ka,a,!1,1)};
_.g.fNa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&Z_c(b,a)};var g0c=function(a,b,c,d){MP.call(this,a,_.gl(d));this.V=[];this.W=null;this.va=b;this.ta=c};_.N(g0c,MP);g0c.prototype.refresh=function(){$_c(this);this.W=new f0c(this.va,this.ta,this.request);return OP(this.W,this.request.Yh()||100)};var h0c=function(a,b){return a.V.find(function(c){return S_c(c.getName(),b)})};_.g=g0c.prototype;
_.g.kfa=function(a){this.W&&a==this.request.Yh()||(this.request.Li(a),this.W?OP(this.W,a):this.refresh())};_.g.b5=function(){var a=this,b=JVc((new gP).Bc(this.status),this.V.filter(function(c){return a.ta.psa(c)}).map(function(c){return c.clone()}));return new _.jO(b,void 0,void 0,this.vf())};_.g.Wta=function(a,b,c){var d=this;a=a.filter(function(e){return e.Kc()==d.request.Kc()});return MP.prototype.Wta.call(this,a,b,c)};
_.g.mfa=function(a,b){b=void 0===b?1:b;if(!YXc(b0c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return S_c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.lfa(a.getName(),b);return!0};_.g.removeItem=function(a){_.ra(this.V,function(b){return S_c(b.getName(),a)})&&(this.ma.delete(this.Tba(a)),Y_c(this))};_.g.Tba=function(a){return R_c(a)};_.g.lfa=function(a,b){h0c(this,a)&&MP.prototype.lfa.call(this,a,b)};
_.g.lba=function(a){var b=this;return a instanceof _.nN&&a.Kc()!=this.request.Kc()?[]:a.sQ().map(function(c){return h0c(b,c.Nl())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var QP=function(){this.H=new Map},i0c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.T$(c),a.H.set(d,e));X_c(e,b);return f},j0c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Bma(c),a.H.set(d,e));X_c(e,b);return f},k0c=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)))},l0c=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.psa(f)});a.H.forEach(function(f){f.Wta(e,
c,d)})};QP.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};QP.prototype.lba=function(a){var b=Array.from(this.H.values()).map(function(c){return c.lba(a)});return[].concat.apply([],_.Mc(b))};var m0c=function(a,b){a.H.forEach(function(c){c.lfa(b,-2)})};QP.prototype.psa=function(){return!0};QP.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.T$(b),f.ka=c,this.H.set(e,f),PP(this,a,d))};
var n0c=function(){this.V=new Set;this.W=new Set;this.H=0},o0c=function(a,b){a.V.add(b)};n0c.prototype.ha=function(a){this.V.delete(a)};var p0c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};n0c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var q0c=function(a,b){return a.V.has(b)||a.W.has(b)};n0c.prototype.q1=function(a){var b=this;return a.filter(function(c){return!q0c(b,c.getId())})};var r0c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new n0c};
_.N(r0c,QP);var s0c=function(a,b){o0c(a.W,T_c(b));(a=l0c(a,b.Kc()))&&Y_c(a)};_.g=r0c.prototype;_.g.getKey=function(a){return a.Kc()};_.g.T$=function(a){return new g0c(this.ha,this.ka,this,a)};_.g.Bma=function(a){return new g0c(this.ha,this.ka,this,a)};_.g.Jjb=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=l0c(this,b.getId()))&&b.refresh()};_.g.psa=function(a){return!q0c(this.W,T_c(a))};
var t0c=function(a,b){this.V=a;this.H=b},u0c=function(a,b){b=_.zNb(b);var c=new f0c(a.V,a.H,b);new Promise(function(d,e){return OP(c,100).then(d,e)})},v0c=function(){this.H={}},RP=function(a,b){w0c(a,"subscribed");b&&w0c(a,b);return a.H[b||"subscribed"].aj.promise},w0c=function(a,b){a.H[b]||(a.H[b]={count:0,wLa:[],HQa:[],aj:_.yi()});a.H[b].count++},y0c=function(a,b){b&&!x0c(a,b)||x0c(a,"subscribed")},x0c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].aj.resolve({items:a.H[b].wLa,
Rtb:a.H[b].HQa}),_.Yf(a.H,b));return!0};v0c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=_.C(e,7);f&&f==e.Kc()&&c.H[f]&&c.H[f].HQa.push(e);c.H[d]&&c.H[d].wLa.push(e)})};var z0c=function(a,b,c){NP.call(this,a,c);this.ka=b};_.N(z0c,NP);z0c.prototype.Q$=function(a,b){return _.gl(a).Li(b)};z0c.prototype.hca=function(){return""};z0c.prototype.yba=function(a){return[a]};z0c.prototype.c5=function(a){this.ka(a)};
var A0c=function(a,b,c,d){MP.call(this,a,_.gl(d));this.ta=c;this.va=b;this.V=this.W=null};_.N(A0c,MP);A0c.prototype.refresh=function(){var a=this;$_c(this);this.V=new z0c(this.request,this.ta,function(b){return a.va.then(function(c){return c.H(b)})});return OP(this.V,this.request.Yh()||0)};A0c.prototype.kfa=function(a){1==this.status||this.V&&a==this.request.Yh()||(this.request.Li(a),this.V?OP(this.V,a):this.refresh())};
A0c.prototype.b5=function(){if(this.W)return this.W;var a=new jP;a.Bc(this.status);return a};A0c.prototype.mfa=function(a){this.W=a;return!0};var B0c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.N(B0c,QP);var C0c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};B0c.prototype.getKey=function(a){return a.toString()};B0c.prototype.T$=function(a){var b=this;return new A0c(this.W,this.ka,function(c){PP(b,c,!1)},a)};
B0c.prototype.Bma=function(){throw Error("Te");};B0c.prototype.V=function(a,b,c,d){var e=a[0].Aj();C0c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));QP.prototype.V.call(this,a,b,c,d)};var D0c=function(a,b,c,d){_.Q.call(this);this.request=a;this.Ha=b;this.Ba=c;this.Ea=d;this.ha=new Set;this.va=0;this.H=null};_.N(D0c,_.Q);
var E0c=function(a){if(a.H)return a.H.promise;a.H=_.yi();a.W(a.request).forEach(function(b,c){a.va++;a.Ha.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};D0c.prototype.Ma=function(a,b){this.ka(b);F0c(this,a)};var F0c=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")};
D0c.prototype.Ka=function(a,b){b=_.FM(b);var c=b.Sg;5==c.by()||4==c.xj()?(this.Ea.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),F0c(this,a)):(a=new EP(c,_.Kk(this.Ba.Hf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var G0c=function(a){var b=new _.iD;b.Wb(a);return b},H0c=function(a,b,c,d,e){D0c.call(this,_.gl(a),c,d,e);this.V=b};_.N(H0c,D0c);
H0c.prototype.W=function(a){var b=new Map;a.om().forEach(function(c){var d=_.gl(a).Qb([c]);b.set(c,d)});return b};H0c.prototype.ka=function(a){var b=[];a.UP().forEach(function(c){b.push(c)});this.V(b,!0)};H0c.prototype.ma=function(){this.V([],!1)};H0c.prototype.ta=function(a){this.V([G0c(a)],!0)};var I0c=function(a,b,c,d,e,f){MP.call(this,a,_.gl(f));this.va=e;this.Ea=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.N(I0c,MP);
I0c.prototype.refresh=function(){this.W=new H0c(this.request,this.va,this.Ea,this.ta,this.Ba);return E0c(this.W)};I0c.prototype.kfa=function(){this.W||this.refresh()};I0c.prototype.b5=function(){var a=new _.hO;a.Bc(this.status);_.Qf(this.V,function(b,c){a.UP().set(c,b||new _.iD)});dWc(a,this.vf());return a};I0c.prototype.mfa=function(a){var b=a.getId();if(_.fl(a,G0c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.om().indexOf(b))return this.V[b]=a,!0;return!1};
var J0c=function(a,b){a=a.getState();return null==a||b.getState()==a},K0c=function(a,b,c){NP.call(this,a,c);this.ka=b};_.N(K0c,NP);K0c.prototype.Q$=function(a,b,c){a=_.gl(a);a.Li(b);return new _.SJc(a,c)};K0c.prototype.hca=function(a){return a.pageToken||""};K0c.prototype.yba=function(a){return a.response.Aj()};K0c.prototype.c5=function(a){this.ka(a)};var L0c=function(a){this.W=hYc(a,{numeric:!0})};
L0c.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=_.Da(b.getId(),c.getId())*(a?1:-1);return f};L0c.prototype.V=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!=e?f=_.Da(d,e)*(a?1:-1):f=_.Da(b.getId(),c.getId())*(a?1:-1);return f};var M0c=function(a,b,c,d,e){MP.call(this,a,_.gl(e));this.va=d;this.Ba=b;this.W=[];this.V=null;a=new L0c(c);b=(c=_.D(this.request,_.jp,5))?c.getType():0;c=c?c.hh():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.N(M0c,MP);M0c.prototype.refresh=function(){var a=this;$_c(this);this.V=new K0c(this.request,this.va,function(b){return a.Ba.then(function(c){return c.H(b)})});return OP(this.V,this.request.Yh()||0)};M0c.prototype.kfa=function(a){1==this.status||this.V&&a==this.request.Yh()||(this.request.Li(a),this.V?OP(this.V,a):this.refresh())};M0c.prototype.b5=function(){var a=new GP;a.Bc(this.status);FZc(a,this.W.map(function(b){return _.gl(b)}));return new _.HMc(a,void 0,1!=this.status&&c0c(this.V),this.vf())};
M0c.prototype.mfa=function(a){var b=_.ra(this.W,function(c){return c.getId()==a.getId()});return a&&J0c(this.request,a)&&!_.fl(a,G0c(a.getId()))?oQc(this.W,a,this.ta):b};var N0c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.N(N0c,QP);var O0c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};N0c.prototype.getKey=function(a){return a.toString()};
N0c.prototype.T$=function(a){var b=this;return new M0c(this.ha,this.ma,WO(_.gM(this.W)),function(c){return PP(b,c,!1)},a)};N0c.prototype.Bma=function(a){var b=this;return new I0c(this.ha,this.ma,this.W,this.ka,function(c,d){return PP(b,c,d)},a)};N0c.prototype.V=function(a,b,c,d){O0c(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 P0c=function(a,b){b=void 0===b?!1:b;var c=a.$b();JO(a)&&(c=(c=a.Uf())?_.C(c,3):"");KO(a)&&(a.Ri()&&(c+="+"+String(a.Ri())),a.fj()&&(c+="+shared"));return _.aRa(c,b?"32":"16")},Q0c=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("&")},R0c=function(a,b){var c=_.H(a,44),d=a.Uf();if(d){if(1!=_.Jd(d))return null;c=(c=_.Gd(d))?_.H(c,44):!0}if(!c)return null;c={};d=a.getId();JO(a)&&(d=GQc(a));d=[_.G(b,
65,"https://lh3.google.com"),"u",_.rM(_.gM(b)),"d",d].join("/");d+="={size}";_.RN(b)&&a.PF()&&(c.resourcekey=_.$l(a));return d=Q0c(d,c)},S0c=function(a){this.H=a},U0c=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=P0c(b,_.E(a.H,75,!1));_.B(b,21,d)}c.includes(18)&&_.MKc(b,nRc(b,a.H));c.includes(19)&&(d=R0c(b,a.H),_.B(b,20,d));T0c(a,b,c);if(JO(b)){if(d=(d=b.Uf())&&_.Gd(d)){if(c.includes(20)&&c.includes(3)){var e=P0c(d,_.E(a.H,75,!1));_.B(d,21,e)}c.includes(18)&&_.MKc(d,nRc(d,a.H));c.includes(19)&&
(e=R0c(d,a.H),_.B(d,20,e));T0c(a,d,c)}_.QKc(b,!!b.Dv())}},T0c=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.$b();e&&(e=!KO(b)&&!JO(b)&&!_.kd(e)&&(!b.U0()||2!=b.Qn()),d&&_.B(b,40,e),e&&c&&(a=a.H,d=b.getId(),JO(b)&&(d=GQc(b)),c=new _.Pj(_.G(a,16,"")+"/uc"),_.dk(c,"id",d),_.dk(c,"authuser",_.rM(_.gM(a))),_.dk(c,"export","download"),_.RN(a)&&b.PF()&&_.dk(c,"resourcekey",_.$l(b)),_.B(b,41,c.toString())))}},V0c=function(a,b){this.W=b||new Date;this.V=a;this.H=qQc(this.V)};
V0c.prototype.clone=function(){return new V0c(this.V,this.W)};var W0c=function(){this.H=null;this.V=[]},X0c=function(a){return _.gb(a.V,function(b){return _.ag(b)})};
W0c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new OZc;e.W=NZc(d.H);var f=_.bh().substring(0,8);d=qQc(f);f=(new nZc).Wb(f);f=_.B(f,2,d);b=_.B(f,3,b);c=_.B(b,4,c);this.V.push(c);e.V=NZc(d);e.H=LZc(808464432,808464432);e.ha=41;c=String.fromCharCode;d=c.apply;b=new _.xk;if(e.W){f=e.W.V>>>0;var h=e.W.H>>>0;_.yk(b,1,1);var k=b.V;QRc(k,f);QRc(k,h)}e.V&&(f=e.V.V>>>0,h=e.V.H>>>0,_.yk(b,2,1),k=b.V,QRc(k,f),QRc(k,h));f=e.ha;null!=f&&(_.yk(b,3,5),QRc(b.V,f));
e.H&&(f=e.H.V>>>0,e=e.H.H>>>0,_.yk(b,4,1),h=b.V,QRc(h,f),QRc(h,e));e=_.zk(b);a["X-Google-DapperTraceInfo"]=_.q.btoa(d.call(c,null,e))}}};var Y0c=function(){this.Mb=[];this.V=this.H=0};Y0c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.Mb,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 Z0c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.Mb,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},$0c=function(a){this.W=a;this.V=new tZc(new uZc,_.$ka(a));this.H=new uZc};$0c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.ala(b);c=a1c(this,a);return b.concat(c,b1c(this,b,a,!0))};
var c1c=function(a,b){var c=b1c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=a1c(a,c);if(b!=a)throw Error("Ue");return c},a1c=function(a,b){a=a.V;b=_.nJc(b);a.reset();a.update(b);b=a.digest();return _.ala(b)},b1c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new Y0c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Mb,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=_.nJc(c.substring(8192*e,8192*(e+1))),Z0c(b,a),d+=_.ala(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;Z0c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("Ve");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=d1c(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=d1c(d,e++),b[a++]=
String.fromCharCode((f&31)<<6|h&63)):239<f&&365>f?(h=d1c(d,e++),k=d1c(d,e++),l=d1c(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=d1c(d,e++),k=d1c(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},d1c=function(a,b){return a[Math.floor(b/8192)][b%8192]},e1c=function(a,b,c){this.V=a;this.H=!1;this.ha=b;this.W=c};e1c.prototype.getData=function(){return this.V};
e1c.prototype.Un=function(){return this.ha};var f1c=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=_.ta(e);_.Fa(this.H);_.Ca(this.H);this.t4=f;this.ha=null;this.ta=this.va=!1;this.Ba=void 0};f1c.prototype.Yw=function(){return this.ma};f1c.prototype.Pe=function(){return this.ka};f1c.prototype.Tg=function(){return _.ta(this.H)};
var SP=function(a){if(!a.ha){var b=new _.ZL;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.sGc(b.digest())}return a.ha},g1c=function(a){return{versionKey:SP(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.t4}},h1c=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 f1c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:SP(a)!=d&&(a=null);return a},i1c=function(a,b,c){return[a.Yw(),a.Pe(),
b?"#":SP(a)].join(":")+":"+(c||"")},j1c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};j1c.prototype.getKey=function(){return this.H};j1c.prototype.kb=function(){return this.V};
var k1c=function(a,b){a=i1c(a,b);return NVc(a+"A",a+"z")},l1c=function(a,b){this.A8=a;this.z8=b},m1c=function(a){return a?new l1c(a.versionKey,a.versionChangeTimestamp):null},n1c=function(a,b){return a+":"+b},o1c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.FV=void 0===e?null:e},p1c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.FV}},q1c=function(a,b,c,d){a=SP(a)+"_"+b;3==b&&(a+="_"+d);return a+=_.ey(":%02d",c)},r1c=function(a,
b,c,d){c=q1c(a,b,void 0===c?0:c,d);a=SP(a)+"_"+b;3==b&&(a+="_"+d);return NVc(c,a+":a")},s1c=function(a){var b=SP(a)+"_";a=SP(a)+"_A";return NVc(b,a)},t1c=function(a){return a?new o1c(a.data,a.index,a.size,a.timestamp,a.e):null},u1c={APb:"Versions",fXa:"Metadata",pEb:"Data",vXa:"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.V=null;this.rb=a.then(function(f){e.V=f});this.$a=b;this.ma=c;this.Ea=d;this.H=null;this.Ka=!1;this.Ha=!0;this.ha=null;this.ta=
!1;this.W="";this.Bb=new _.Ie(this);this.Na(this.Bb);this.va=null};_.N(TP,_.P);TP.prototype.initialize=function(){return v1c(this)};
var v1c=function(a,b){a.ha||(a.ha=_.yi(),a.rb.then(function(){b?(a.Ha=!1,w1c(a,b),x1c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.va=a.ma.V(106004)),x1c(a,"Opening database GoogleDriveDs (version 2)"),_.kHc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).Sf(a.Wa.bind(a),a.Ba.bind(a)),_.pj(2E4).then(a.Sa.bind(a)))},function(c){a.ha.reject(new _.Ob("Database version error",void 0,_.hM(c)?c:void 0))}));return a.ha.promise},w1c=function(a,b){a.H=b;a.Bb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.Bb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};TP.prototype.Ma=function(a,b){x1c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Ha(b.H.objectStoreNames,function(c){return _.fLc(b,c)});_.Qf(u1c,function(c){var d=_.XIc.get(c);_.hHc(b,c,d?{keyPath:d}:void 0)})};
TP.prototype.Ba=function(a){var b;a&&a instanceof _.bM&&"InvalidStateError"==a.getName()&&_.kk.mu?b=Error("We"):_.hM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);y1c(this,!1)};TP.prototype.Wa=function(a){this.ta?a.dispose():(w1c(this,a),this.Na(this.H),this.Ea||z1c(this).Xf(function(){}),x1c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),y1c(this,!0))};
var y1c=function(a,b){if(a.va){var c=a.va,d=_.D(_.dO(c),ZTc,5);d||(d=new ZTc,c=_.dO(c),_.z(c,5,d));d=_.B(d,1,2);d=_.B(d,2,a.V.W);d=_.B(d,5,a.V.va);b=_.B(d,3,b);b=_.B(b,4,a.Ka);_.B(b,6,a.V.Ba);a.va.H();a.va=null}};TP.prototype.Sa=function(){this.H||this.Nf()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("Xe")))};TP.prototype.ka=function(a){x1c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ha&&this.H.close())};TP.prototype.Nf=function(){return this.ta};
var A1c=function(a){return a.ta?a.W:null},UP=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ea&&"readonly"!=c)return null;a=a.H;try{return _.iHc(a,[b],c)}catch(d){return null}},z1c=function(a){var b=UP(a,"Versions","readwrite");if(!b)return _.ti(Error("Ye"));_.bHc(b.objectStore("Versions"),g1c(a.V));return b.wait().then(function(){})},B1c=function(a){if(!a.H)return _.ti(Error("Ze"));if(a.Nf())return _.ti(Error(a.W));var b=UP(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(SP(a.V)).then():
_.ti(Error("$e"))},C1c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=t1c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("af")),0;a=d[0].timestamp;if(!a)return b.reject(Error("bf")),0;var e=d[0].size;if(!e)return b.reject(Error("cf")),0;if(e>d.length)return b.reject(Error("df`"+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("ef`"+e)),0;if(c&&a<c)return b.reject(Error("ff`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},E1c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.ti(Error("gf"));if(a.Nf())return _.ti(Error(a.W));var e=r1c(a.V,b,0,c),f=UP(a,"Data");if(!f)return _.ti(Error("hf"));e=f.objectStore("Data").getAll(e);var h=_.yi();e.Sf(function(k){k=C1c(k,h,d);a.Ea||null==k||D1c(a,b,c,k).Xf(function(){})},h.reject);return h.promise},G1c=function(a,b,c,d,e,f){if(a.H){if(a.Nf())return _.ti(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.ti(Error("jf"))}else return _.ti(Error("kf"));var h=Date.now(),k=b.length;b=b.map(function(p,r){return{key:q1c(a.V,c,r,d),data:new o1c(p.getData(),r,k,h,e),metadata:p}});var l=UP(a,"Data","readwrite");if(!l)return _.ti(Error("lf"));var n=l.objectStore("Data");b.forEach(function(p){var r=F1c(a,c,d,p.metadata,f);_.bHc(n,p1c(p.data),p.key).then(function(){if(r){var u=pUc(r);_.B(u,1,!0);r.H()}},function(u){u=u instanceof _.bM?u.code:_.JGc;if(r&&a.ma){var x=pUc(r);x=_.B(x,1,!1);u=_.eO(_.BIc,
u);_.B(x,2,u);r.H()}})});return l.wait().then(function(){})},F1c=function(a,b,c,d,e){if(a.ma){if(a=a.ma.V(106019,e))e=pUc(a),b=_.eO(_.AIc,b),b=_.B(e,3,b),c=_.eO(_.xIc,c),c=_.B(b,4,c),b=d.W,c=_.B(c,5,null==b?0:b?2:1),_.B(c,7,d.H),void 0!=d.Un()&&pUc(a).cz(d.Un());return a}return null},D1c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Nf())return _.ti(Error(a.W));if(3==b&&void 0==c)return _.ti(Error("mf"))}else return _.ti(Error("nf"));b=r1c(a.V,b,d,c);a=UP(a,"Data","readwrite");if(!a)return _.ti(Error("of"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},H1c=function(a){if(!a.H)return _.ti(Error("pf"));if(a.Nf())return _.ti(Error(a.W));var b=s1c(a.V);a=UP(a,"Data","readwrite");if(!a)return _.ti(Error("qf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
TP.prototype.getMetadata=function(a){if(this.H){if(this.Nf())return _.ti(Error(this.W));if(a&&0==a.length)return _.ti(Error("rf"))}else return _.ti(Error("sf"));var b=this.V,c=UP(this,"Metadata");if(!c)return _.ti(Error("tf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(i1c(b,h.global,h.key)).then())});a=_.wi(e)}else a=_.wi([d.getAll(k1c(b,!1)).then(),d.getAll(k1c(b,!0)).then()]).then(function(h){return nQc(h[0],h[1])});var f=_.yi();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.Yw()||l[1]!=String(b.Pe())?null:new j1c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var I1c=function(a,b){if(a.H){if(a.Nf())return _.ti(Error(a.W));if(0==b.length)return _.ti(Error("uf"))}else return _.ti(Error("vf"));var c=UP(a,"Metadata","readwrite");if(!c)return _.ti(Error("wf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){var h=e.push;f={k:i1c(a.V,f.global,f.H),v:f.V};h.call(e,_.bHc(d,f).then())});return _.wi(e).then(function(){})},J1c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Nf())return _.ti(Error(a.W))}else return _.ti(Error("yf"));var c=a.V;a=UP(a,"Metadata",
"readwrite");if(!a)return _.ti(Error("zf"));a=a.objectStore("Metadata");var d=[];d.push(a.remove(k1c(c,!1)).then());b&&d.push(a.remove(k1c(c,!0)).then());return _.wi(d).then(function(){})},K1c=function(a){if(!a.H)return _.ti(Error("Af"));if(a.Nf())return _.ti(Error(a.W));var b=n1c(a.V.Yw(),a.V.Pe());return(a=UP(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return m1c(c)}):_.ti(Error("Bf"))},L1c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.ti(Error("Cf"));if(a.Nf())return _.ti(Error(a.W));
var c=a.V,d=n1c(c.Yw(),c.Pe());b=new l1c(SP(c),b?Date.now():void 0);a=UP(a,"Offline","readwrite");if(!a)return _.ti(Error("Df"));_.bHc(a.objectStore("Offline"),{versionKey:b.A8,versionChangeTimestamp:b.z8},d);return a.wait().then(function(){})};
TP.prototype.Yl=function(a){var b=this;return this.H?this.Nf()?_.ti(Error(this.W)):K1c(this).then(function(c){var d=SP(b.V);if(c)if(a){if(!c.z8&&d==c.A8&&d!=SP(a))return L1c(b,!0);if(c.z8&&d==SP(a))return L1c(b)}else{if(d!=c.A8)return L1c(b)}else if(!a)return L1c(b)}):_.ti(Error("Ef"))};var M1c=function(a){if(!a.H)return _.ti(Error("Ff"));if(a.Nf())return _.ti(Error(a.W));var b=a.V,c=n1c(b.Yw(),b.Pe());return K1c(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.Nf()?_.ti(Error(this.W)):K1c(this).then(function(c){var d=c&&c.A8==SP(b.V);return d&&!a?!1:(c&&d?M1c(b):_.si()).then(function(){return _.wi([J1c(b,a),H1c(b),B1c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.ti(Error("Gf"))};TP.prototype.close=function(){this.ka("Closing database")};
var x1c=function(a,b){a.$a.info("drive.ds.sync.storage.VersionedDb",b)},N1c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.Oc(u1c).every(function(c){return b&&b.contains(c)})},O1c=function(){var a=_.yi();_.kHc("GoogleDriveDs").Sf(function(b){b?N1c(b)?a.resolve(b):(b.close(),_.zi(OVc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},P1c=function(a,b,c){var d=_.yi();a?_.iHc(a,["Versions"],"readonly").objectStore("Versions").getAll().Sf(function(e){e=
_.Oc(e).map(function(f){return h1c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Yw()==b)&&(!c||f.Pe()==c)}))},d.reject):d.resolve([]);return d.promise},Q1c=function(a,b,c){var d=_.yi();O1c().then(function(e){e?_.iHc(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return m1c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.z8&&(h=c+f.z8-Date.now());var k=_.iHc(e,["Versions"],"readonly");k.objectStore("Versions").get(f.A8).then(function(l){(l=
h1c(l))?(l.va=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.Di(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},R1c=function(a,b,c){var d=_.yi(),e=new TP(_.si(a),b);v1c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},S1c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=R1c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.wi(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)})},T1c=function(a,b,c){var d=Date.now()-12096E5,e=_.yi();O1c().then(function(f){f?(_.zi(e.promise,function(){return f.close()}),P1c(f,a,b).then(function(h){return h.filter(function(k){return k.t4<d})},function(){return[]}).then(function(h){S1c(h,c,f,e)})):e.resolve([])});return e.promise},U1c=function(a,b,c){var d=_.yi();O1c().then(function(e){e?
(_.zi(d.promise,function(){return e.close()}),P1c(e,a,b).then(function(f){S1c(f,c,e,d,!0)})):d.resolve([])});return d.promise},V1c=function(a,b,c,d){if(a.length){var e=a.shift(),f=q1c(e,3,0,1);try{_.iHc(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=t1c(h))&&(!h.FV||h.FV&&d.has(e.V))?b.resolve(e):V1c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},W1c=function(a,b,c,d,e,f,h){var k=_.yi();O1c().then(function(l){l?(_.zi(k.promise,
function(){return l.close()}),P1c(l,a,b).then(function(n){return n.filter(function(p){return(!h||h!=SP(p))&&p.W==c&&p.t4>=e&&FQc(d.filter(function(r){return!_.YIc.has(r)}),p.Tg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(p,r){return r.t4-p.t4}),V1c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},X1c=function(a,b,c,d){this.V=a;this.H=_.yi();this.va=!1;this.ha=_.G(b,7,"");this.ma=_.Kk(_.XO(b),6,2E7);this.ka=_.iM(b);this.ta=_.Kk(_.XO(b),12,0);this.Ba=
c;this.W=d||null};X1c.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 _.Hi(this.H.promise)};
var Y1c=function(a){if(a instanceof _.tD)return 0;if(a instanceof FP)return 1;if(a instanceof KUc)return 5;if(a instanceof uP)return 3;if(a instanceof BZc)return 6;throw new _.Ob("Unsupported dataShard in getDataType");},Z1c=function(a){if(0==a)return _.tD;if(1==a)return FP;if(5==a)return KUc;if(3==a)return uP;if(6==a)return BZc;throw new _.Ob("Unsupported dataType:"+a+" in getDataTypeCtor");},$1c=function(a){if(a instanceof uP)return _.Jk(a,13,0)},d2c=function(a,b,c,d){if(0==c.length)return _.si();
var e=Y1c(c[0]);c.forEach(function(){});var f=$1c(c[0]);3==e&&a2c(a,c);var h=!!b;return b2c(a,c).then(function(k){if(h){var l=a.W?a.W.V(106023,d):null,n=c2c(a,b,k.map(function(p){return p.getData()})).then(function(p){if(p.length!=k.length)return _.ti(Error("Hf"));p.forEach(function(r,u){u=k[u];u.V=r;u.H=!0});return k});l&&_.zi(n,function(){return void l.H()});return n}return k}).then(function(k){return a.H.promise.then(function(){return G1c(a.V,k,e,f,h,d)})})},b2c=function(a,b){return new _.ri(function(c,
d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.zc();if(n.length>a.ma)e=!0;else{var p=f.push;var r=l instanceof uP?l.Nd().length:void 0;l instanceof uP?(l=_.H(l,6),l=null!=l?l:void 0):l=void 0;p.call(f,new e1c(n,r,l))}}});if(e){var h=Error("If"),k=new _.Nb;_.oM(k,2);_.yM(k,23);_.B(k,21,h.message);_.Lr(k);a.Ba(k);d(h)}c(f)})},a2c=function(a,b){$1c(b[0]);b.forEach(function(){});a.ka||e2c(b);f2c(a,b)},VP=function(a,b,c,d,e,f){var h=_.yi();a.H.promise.then(function(){return E1c(a.V,c,d,e)}).then(function(k){var l=
k.map(function(r){return r.data}),n=new _.Bi;if(k[0]&&k[0].FV){var p=a.W?a.W.V(106022,f):null;p&&(k=function(){return void p.H()},n.Kl().then(k,k));g2c(a,n,b,l)}else n.callback(l);return n.then()}).then(function(k){var l=[];k.forEach(function(n){var p=Z1c(c);l.push(new p(JSON.parse(n)))});3==c&&(a.ka||h2c(l),i2c(l));h.resolve(l)}).Xf(h.reject,h);return h.promise},e2c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].jM().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Nd()||
[]).forEach(function(h){_.KKc(h,j2c(_.Ol(h),c,d));_.LKc(h,j2c([h.Yp()],c,d)[0]);var k=j2c([h.eD()],c,d)[0];_.z(h,47,k);k=j2c([_.D(h,_.Cl,91)],c,d)[0];_.z(h,91,k);k=j2c([h.vD()],c,d)[0];_.z(h,95,k);if(h=h.Lw())_.GKc(h,j2c(_.al(h,_.Cl,2),c,d)),_.HKc(h,j2c(_.al(h,_.Cl,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});_.hb(a[0],2,e)}},j2c=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)?_.fl(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,
e.clone()),e=new _.Cl,e.Wb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},h2c=function(a){var b=new Map,c=new Map;a[0]&&a[0].jM()&&a[0].jM().forEach(function(d){b.set(d.getId(),d);d=(new _.Cl).Wb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Nd()||[]).forEach(function(e){_.KKc(e,k2c(_.Ol(e),b,c));_.LKc(e,k2c([e.Yp()],b,c)[0]);var f=k2c([e.eD()],b,c)[0];_.z(e,47,f);f=k2c([_.D(e,_.Cl,91)],b,c)[0];_.z(e,91,f);f=k2c([e.vD()],b,c)[0];_.z(e,95,f);if(e=e.Lw())_.GKc(e,k2c(_.al(e,_.Cl,
2),b,c)),_.HKc(e,k2c(_.al(e,_.Cl,3),b,c))});_.BM(d,2)})},k2c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.fl(c.get(f),e)?d.push(_.gl(b.get(f))):d.push(e)}else d.push(e)});return d},f2c=function(a,b){if(a.ta){a=a.ta;for(var c=b.length-1;0<=c;c--)if(_.Jk(b[c],13,0)){for(var d=[],e=b[c].Nd();e.length>a;){var f=_.ya(e,a-1,a);f=NXc(new uP,f);d.push(f)}NXc(b[c],e);d.length&&_.Ta(_.ya,b,c+1,0).apply(null,d)}}},i2c=function(a){for(var b={},c=1;c<a.length;b=
{T8:b.T8},c++)if(!_.Jk(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.Jk(a[e],13,0);e++)d++;e=a[c-1];d=_.ya(a,c,d);b.T8=e.Nd();d.forEach(function(f){return function(h){_.wa(f.T8,h.Nd())}}(b));NXc(e,b.T8)}},c2c=function(a,b,c){if(!_.FIc()&&a.ha){var d=new Worker(_.iga(_.nA(a.ha)),void 0),e=new _.Bi;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Qd(Error(k))},!1);c=JZc(new IZc,c);d.postMessage({command:"encrypt",data:{request:c.zc(),
key:b}});return e}try{a=[];var f=new $0c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Gi(a)}catch(k){h=_.Ii(k)}return h},g2c=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(!_.FIc()&&a.ha){var f=new Worker(_.iga(_.nA(a.ha)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(k){f.terminate();throw Error(k);},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=
[];var h=new $0c(c);for(c=0;c<d.length;c++)a.push(c1c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},l2c={key:"rid",global:!0},m2c={key:"ooi",global:!0},n2c={key:"rtds",global:!1},o2c={key:"dct",global:!1},p2c={key:"pc",global:!1},q2c=function(a){this.H=new _.ri(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},r2c=function(a,b){return a.H.then(function(c){if(c&&!c.Nf())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.kb():void 0},function(){})})},
WP=function(a,b,c){return a.H.then(function(d){return d&&!d.Nf()?I1c(d,[new j1c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};q2c.prototype.uo=function(){return r2c(this,l2c).then(function(a){return a?a:null})};var s2c=function(a){return r2c(a,m2c).then(function(b){return"boolean"===typeof b?b:null})};q2c.prototype.DC=function(a){return WP(this,m2c,a)};
var t2c=function(a){return r2c(a,p2c).then(function(b){return"boolean"===typeof b?b:null})},u2c=function(a){return r2c(a,n2c).then(function(b){return Array.isArray(b)?b:null})},v2c=function(a){return r2c(a,o2c).then(function(b){return"number"===typeof b?b:null})},w2c=function(a){_.Df("drive.DebugUtil.printFindById",function(c){a.cQ(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Df("drive.DebugUtil.getLogs",function(){return _.PLc(a.ifa())});_.Df("drive.DebugUtil.printLogs",
function(){window.console.log(_.PLc(a.ifa()))});_.Df("drive.DebugUtil.printRequestHistory",function(){a.Sta().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.Df("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Oa();b&&_.E(b,1,!1)&&(_.Df("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Df("drive.DebugUtil.setOffline",function(c){return void a.Yl(c)}))},x2c=function(){this.Mq=[]};_.N(x2c,_.qO);
x2c.prototype.add=function(a,b){var c=a.nt.request;return c instanceof _.tN&&_.C(c.request,12)?_.qO.prototype.add.call(this,a,b):!1};x2c.prototype.H=function(a){return this.Mq.splice(0,Math.min(a,1))};var y2c=function(a,b){this.Mq=[];this.V=b};_.N(y2c,_.qO);y2c.prototype.add=function(a,b){return a.nt.request instanceof _.tN?!1:_.qO.prototype.add.call(this,a,b)};
y2c.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Mq.length&&b.length<a;f++){var h=this.Mq[f],k=h.nt.request;"undefined"!=typeof _.PM&&k instanceof _.PM||"undefined"!=typeof _.ZM&&k instanceof _.ZM||"undefined"!=typeof _.mN&&k instanceof _.mN?k="app|"+k.V():k instanceof _.KM||k instanceof _.LM||k instanceof _.RM||k instanceof _.tM?k="item|"+(k instanceof _.KM?k.Kc():k.getId()):"undefined"!=typeof _.SM&&k instanceof _.SM||"undefined"!=typeof _.$M&&k instanceof _.$M?k="item|"+k.Kc():
k instanceof _.TM||k instanceof _.oN?k="item|"+k.Kc():"undefined"!=typeof _.FE&&k instanceof _.FE||"undefined"!=typeof _.EE&&k instanceof _.EE?(k="undefined"!=typeof _.FE&&k instanceof _.FE?k.V().getKey():k.getKey(),k="pref|"+_.C(k,2)+"|"+_.fp(k)):k=k instanceof _.UM?"td|"+k.getId():null;var l=h.nt.request;if(l instanceof _.NM)l=!!_.H(l,8);else if(l instanceof _.LM){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.$b()&&_.h4a.has(l.$b()));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++)_.pa(this.Mq,c[a]);return b};z2c=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};A2c=function(a){var b={};return b.parentId=a.Xj(),b};B2c=function(a){var b={};_.bd(_.ah(a.getTitle()))||(b.title=a.getTitle());_.yPc(b,_.Ad(a,3));_.H(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};C2c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};
D2c=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
E2c=function(a){var b={},c={};_.bd(_.ah(a.getTitle()))||(b.title=a.getTitle());null!=a.zg()&&(b.description=a.zg());null!=_.H(a,4)&&(c.starred=_.H(a,4));null!=a.ki()&&(c.trashed=a.ki());_.bd(_.ah(a.$b()))||(b.mimeType=a.$b());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.cLc(_.ULc(_.C(a,7)||0)));null!=_.H(a,11)&&(c.restricted=_.H(a,11));_.Uf(c)&&(b.labels=c);null!=a.Ri()&&(b.folderColor=a.Ri());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,_.Kl,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)}_.yPc(b,_.Ad(a,8));return b};F2c=function(a){var b={};null!=_.H(a,3)&&(b.pinned=_.H(a,3));return b};
G2c=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,_.Zg)("0",6-c.length)+c);c=_.D(a,_.PTc,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};
H2c=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.BPc[a.getState()])&&(b.state=a);return b};_.I2c=function(a){_.T(this,a,0,-1,null,null)};_.O(_.I2c,_.M);_.I2c.prototype.V=function(){return _.C(this,1)};var J2c=function(a){_.T(this,a,0,-1,null,null)};_.O(J2c,_.M);J2c.prototype.V=function(){return _.H(this,1)};J2c.prototype.W=function(){return _.C(this,2)};_.K2c=function(a){_.T(this,a,0,-1,null,null)};_.O(_.K2c,_.M);_.g=_.K2c.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Wb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.Dna=function(){return _.C(this,3)};_.g.Kw=function(){return _.C(this,4)};_.g.W2=function(){return _.D(this,J2c,6)};_.g.H7a=function(){return _.D(this,_.I2c,7)};_.g.hHa=function(){return _.C(this,8)};_.g.Cna=function(){return _.H(this,9)};_.XP=function(a){_.T(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.Wb=function(a){return _.B(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.YEa=function(){return _.C(this,5)};_.g.setSize=function(a){return _.B(this,5,a)};_.g.l3a=function(){return _.C(this,6)};_.L2c=function(a,b){return _.B(a,6,b)};_.XP.prototype.zg=function(){return _.C(this,8)};_.XP.prototype.Xl=function(a){return _.B(this,8,a)};
_.XP.prototype.V=function(){return _.H(this,9)};var YP=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.Ba=a;this.Ma=b;this.Wa=c;this.Ub=e;this.$a=d;this.Sa=f;this.H=[];this.items=[];this.ta=6;this.Ea=oRc(new _.FO,[1]);this.va=!0;this.ha=e.Yh();this.W=!1;this.suggestionSessionId=this.ma=this.ka=null;this.V=0;_.Wd(this,function(){h.W=!1;h.H=[]})};_.N(YP,_.Q);_.g=YP.prototype;_.g.Ji=function(){return String(_.Ba(this))};_.g.xe=function(){return this.W};
_.g.activate=function(){this.W=!0;_.la(this.items)&&6==this.Hb()&&this.Yj()||M2c(this)};_.g.Ed=function(){return this.Ub};_.g.Yh=function(){return this.ha};_.g.Hb=function(){return this.ta};_.g.Cq=function(){return this.Ea};_.g.Yj=function(){return this.va};_.g.yq=function(){var a=_.BO(_.CO.Jb(),this.H,this.items),b=(new _.zGc).Bc(this.Hb());a=_.hb(b,2,a);this.H=this.items;return a};_.g.fq=function(a){this.W&&(this.ha+=a||50,this.$a(this.Ji(),this.ha))};
var N2c=function(a,b){return a.Hb()!=b.Hb()||ZO(_.CO.Jb(),a.items,b.Nd())},O2c=function(a,b){a.items=b.Nd();a.ta=b.Hb();_.iM(a.Sa)&&(a.Ea=pRc(a.ta,a.items));a.va=b.Gna();a.V=b.vf()};YP.prototype.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a query after "+a.AG+" retries.",a.error)))};YP.prototype.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};
YP.prototype.ks=function(a,b){var c=this;b+="\n\n\nQuery:\n"+BP(this.Ba,this.Ed());return _.Hi(this.Ma.then(function(d){return d.ka(a,b,c.Ed(),c.Yh(),c.items)}))};
var M2c=function(a){a.xe()&&(P2c(a,"Livelist "+a.Ji()+" returning "+a.items.length+". Status: "+(_.bg(MUc)[a.Hb()]+". Datasource: ")+(_.bg(yVc)[a.V]+". Query: ")+BP(a.Ba,a.Ub)),Q2c(a,a.items,a.Ub),a.dispatchEvent(new _.aj(_.Cc,a)))},Q2c=function(a,b,c){if(_.aN(c))c="quick access";else if(_.bN(c))c="people predict";else if(_.cN(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");P2c(a,"Livelist "+a.Ji()+" returning "+a.items.length+" for "+(c+": "+b))};
YP.prototype.refresh=function(){};var P2c=function(a,b){a.Wa.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.t("sy12t");
var R2c=function(a){_.T(this,a,0,-1,null,null)};_.O(R2c,_.M);
var ZP=function(a){_.T(this,a,0,-1,null,null)};_.O(ZP,_.M);ZP.prototype.getType=function(){return _.C(this,1)};var S2c=function(a){var b=new ZP;return _.B(b,1,a)};ZP.prototype.I2=function(){return _.D(this,_.Cl,2)};var T2c=function(a,b){return _.z(a,2,b)};ZP.prototype.Qv=function(){return _.C(this,3)};ZP.prototype.ww=function(a){return _.B(this,3,a)};ZP.prototype.Th=function(){return _.C(this,4)};ZP.prototype.setPosition=function(a){return _.B(this,4,a)};
var $P=function(a){_.T(this,a,0,-1,null,null)};_.O($P,_.M);$P.prototype.getType=function(){return _.C(this,1)};var U2c=function(a){var b=new $P;return _.B(b,1,a)};$P.prototype.Rl=function(){return _.D(this,iP,2)};var V2c=function(a,b){return _.z(a,2,b)};$P.prototype.Qv=function(){return _.C(this,3)};$P.prototype.ww=function(a){return _.B(this,3,a)};$P.prototype.Th=function(){return _.C(this,4)};$P.prototype.setPosition=function(a){return _.B(this,4,a)};
var aQ=function(a){_.T(this,a,0,-1,null,null)};_.O(aQ,_.M);aQ.prototype.getType=function(){return _.C(this,1)};var W2c=function(a){var b=new aQ;return _.B(b,1,a)};aQ.prototype.Rl=function(){return _.D(this,_.iD,2)};var X2c=function(a,b){return _.z(a,2,b)};aQ.prototype.Qv=function(){return _.C(this,3)};aQ.prototype.ww=function(a){return _.B(this,3,a)};aQ.prototype.Th=function(){return _.C(this,4)};aQ.prototype.setPosition=function(a){return _.B(this,4,a)};
var Y2c=function(a){_.T(this,a,0,-1,null,null)};_.O(Y2c,_.M);Y2c.prototype.Hb=function(){return _.C(this,1)};Y2c.prototype.Bc=function(a){return _.B(this,1,a)};
var $2c=function(a){_.T(this,a,0,-1,Z2c,null)};_.O($2c,_.M);var Z2c=[2];$2c.prototype.Hb=function(){return _.C(this,1)};$2c.prototype.Bc=function(a){return _.B(this,1,a)};$2c.prototype.Wj=function(){return _.C(this,3)};
var a3c=function(a){_.T(this,a,0,-1,null,null)};_.O(a3c,_.M);a3c.prototype.Sr=function(){return _.D(this,yUc,1)};a3c.prototype.Tn=function(){return _.C(this,2)};
var bQ=function(a){_.T(this,a,0,-1,null,null)};_.O(bQ,_.M);bQ.prototype.Hb=function(){return _.C(this,1)};bQ.prototype.Bc=function(a){return _.B(this,1,a)};bQ.prototype.Wj=function(){return _.C(this,3)};
var cQ=function(a){_.T(this,a,0,-1,null,null)};_.O(cQ,_.M);cQ.prototype.Hb=function(){return _.C(this,1)};cQ.prototype.Bc=function(a){return _.B(this,1,a)};cQ.prototype.I2=function(){return _.D(this,_.Cl,2)};cQ.prototype.Wj=function(){return _.C(this,3)};
var b3c=function(a){_.T(this,a,0,-1,null,null)};_.O(b3c,_.M);_.g=b3c.prototype;_.g.Hb=function(){return _.C(this,1)};_.g.Bc=function(a){return _.B(this,1,a)};_.g.Wj=function(){return _.C(this,2)};_.g.cFa=function(){return _.D(this,_.ep,3)};_.g.getKey=function(){return _.D(this,_.rb,4)};
var d3c=function(a){_.T(this,a,0,-1,null,c3c)};_.O(d3c,_.M);var f3c=function(a){_.T(this,a,0,-1,e3c,null)};_.O(f3c,_.M);var c3c=[[2,4,6,10],[3,5,7,8,9]];d3c.prototype.getKey=function(){return _.C(this,1)};var e3c=[1];
var g3c=function(a){_.T(this,a,0,-1,null,null)};_.O(g3c,_.M);
var dQ=function(a){_.T(this,a,0,-1,h3c,null)};_.O(dQ,_.M);var h3c=[2];dQ.prototype.Hb=function(){return _.C(this,1)};dQ.prototype.Bc=function(a){return _.B(this,1,a)};dQ.prototype.V=function(){return _.al(this,bP,2)};var i3c=function(a,b){return _.hb(a,2,b)};dQ.prototype.Wj=function(){return _.C(this,3)};
var j3c=function(a){_.T(this,a,0,-1,null,null)};_.O(j3c,_.M);j3c.prototype.Hb=function(){return _.C(this,1)};j3c.prototype.Bc=function(a){return _.B(this,1,a)};j3c.prototype.V=function(){return _.D(this,bP,2)};j3c.prototype.Wj=function(){return _.C(this,3)};
var k3c=function(a){_.T(this,a,0,-1,null,null)};_.O(k3c,_.M);k3c.prototype.Pv=function(){return _.C(this,2)};
var m3c=function(a){_.T(this,a,0,-1,l3c,null)};_.O(m3c,_.M);var l3c=[2];m3c.prototype.Hb=function(){return _.C(this,1)};m3c.prototype.Bc=function(a){return _.B(this,1,a)};m3c.prototype.dk=function(){return _.al(this,_.$Pc,2)};m3c.prototype.Op=function(a,b){return _.dl(this,2,a,_.$Pc,b)};
var o3c=function(a){_.T(this,a,0,-1,n3c,null)};_.O(o3c,_.M);var n3c=[2];o3c.prototype.Hb=function(){return _.C(this,1)};o3c.prototype.Bc=function(a){return _.B(this,1,a)};o3c.prototype.Aj=function(){return _.al(this,$P,2)};
_.eQ=function(a){_.T(this,a,0,-1,null,null)};_.O(_.eQ,_.M);_.eQ.prototype.Hb=function(){return _.C(this,1)};_.eQ.prototype.Bc=function(a){return _.B(this,1,a)};_.eQ.prototype.Gg=function(){return _.D(this,_.tD,2)};_.p3c=function(a,b){return _.z(a,2,b)};_.eQ.prototype.Wj=function(){return _.C(this,3)};
var q3c=function(a){_.T(this,a,0,-1,null,null)};_.O(q3c,_.M);q3c.prototype.Hb=function(){return _.C(this,1)};q3c.prototype.Bc=function(a){return _.B(this,1,a)};
var s3c=function(a){_.T(this,a,0,-1,r3c,null)};_.O(s3c,_.M);var r3c=[2];s3c.prototype.Hb=function(){return _.C(this,1)};s3c.prototype.Bc=function(a){return _.B(this,1,a)};s3c.prototype.Aj=function(){return _.al(this,aQ,2)};
var t3c=function(a){_.T(this,a,0,-1,null,null)};_.O(t3c,_.M);t3c.prototype.getType=function(){return _.C(this,1)};var u3c=function(a){var b=new t3c;return _.B(b,1,a)};t3c.prototype.Qv=function(){return _.C(this,3)};t3c.prototype.ww=function(a){return _.B(this,3,a)};t3c.prototype.Th=function(){return _.C(this,4)};t3c.prototype.setPosition=function(a){return _.B(this,4,a)};
var w3c=function(a){_.T(this,a,0,-1,v3c,null)};_.O(w3c,_.M);var v3c=[2];w3c.prototype.Hb=function(){return _.C(this,1)};w3c.prototype.Bc=function(a){return _.B(this,1,a)};w3c.prototype.Wj=function(){return _.C(this,3)};
var y3c=function(a){_.T(this,a,0,-1,x3c,null)};_.O(y3c,_.M);var x3c=[2,4];y3c.prototype.Hb=function(){return _.C(this,1)};y3c.prototype.Bc=function(a){return _.B(this,1,a)};y3c.prototype.Wj=function(){return _.C(this,3)};
_.fQ=function(a){_.T(this,a,0,-1,null,null)};_.O(_.fQ,_.M);_.fQ.prototype.getType=function(){return _.C(this,1)};var z3c=function(a){var b=new _.fQ;return _.B(b,1,a)};_.fQ.prototype.ly=function(){return _.D(this,_.K2c,2)};var A3c=function(a,b){return _.z(a,2,b)};_.fQ.prototype.Qv=function(){return _.C(this,3)};_.fQ.prototype.ww=function(a){return _.B(this,3,a)};_.fQ.prototype.Th=function(){return _.C(this,4)};_.fQ.prototype.setPosition=function(a){return _.B(this,4,a)};
_.ERc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.ERc,_.M);_.g=_.ERc.prototype;_.g.getItem=function(){return _.D(this,_.Nl,1)};_.g.setItem=function(a){return _.z(this,1,a)};_.g.getError=function(){return _.D(this,_.Nb,2)};_.g.Me=function(a){return _.z(this,2,a)};_.g.yn=function(){return _.Gk(this,2)};
var C3c=function(a){_.T(this,a,0,-1,B3c,null)};_.O(C3c,_.M);var B3c=[2,4];
var E3c=function(a){_.T(this,a,0,-1,D3c,null)};_.O(E3c,_.M);var D3c=[1];
var G3c=function(a){_.T(this,a,0,-1,F3c,null)};_.O(G3c,_.M);var F3c=[2];G3c.prototype.Hb=function(){return _.C(this,1)};G3c.prototype.Bc=function(a){return _.B(this,1,a)};G3c.prototype.Wj=function(){return _.C(this,3)};
var I3c=function(a){_.T(this,a,0,-1,H3c,null)};_.O(I3c,_.M);var H3c=[2];I3c.prototype.Hb=function(){return _.C(this,1)};I3c.prototype.Bc=function(a){return _.B(this,1,a)};I3c.prototype.Wj=function(){return _.C(this,3)};
var J3c=function(a){_.T(this,a,0,-1,null,null)};_.O(J3c,_.M);
var L3c=function(a){_.T(this,a,0,-1,K3c,null)};_.O(L3c,_.M);var K3c=[1];L3c.prototype.V=function(){return _.C(this,2)};var M3c=function(a,b){_.B(a,2,b)};
var N3c=function(a){_.aj.call(this,"Ob");this.dataType=a};_.N(N3c,_.aj);
var O3c=function(a,b){_.aj.call(this,"Pb");this.V=a;this.H=b};_.N(O3c,_.aj);
var P3c=function(){};_.g=P3c.prototype;_.g.SH=function(a,b){return FVc(EVc(1),a).setPosition(b)};_.g.QH=function(a,b){return FVc(EVc(2).setPosition(b),a)};_.g.fN=function(a,b,c){return FVc(EVc(3).ww(b).setPosition(c),a)};_.g.lL=function(a,b){return FVc(EVc(4),a).setPosition(b)};_.g.tI=function(a){return _.D(a,eP,2)};
var Q3c=function(){_.AO.call(this,new P3c,function(a){return a&&a.getName()})};_.N(Q3c,_.AO);
var gQ=function(a,b,c){_.Q.call(this);var d=this;this.ha=a;this.Hh=b;this.limit=c||50;this.Wd=new _.Ie(this);this.Na(this.Wd);this.active=!1;this.status=6;this.Ka=oRc(new _.FO,[1]);this.ta=this.H=!1;_.Wd(this,function(){d.active=!1;d.Wd.removeAll()})};_.N(gQ,_.Q);_.g=gQ.prototype;_.g.Ji=function(){return String(_.Ba(this))};_.g.$e=function(){return this.ha.$e()||this.Hh.$e()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Wd.listen(this.ha,"Ab",_.Ta(this.Fr)),this.Wd.listen(this.Hh,[].concat(_.Mc(Object.values(XXc))),_.Ta(this.Fr)),this.ha.$e()?this.Wd.od(this.ha,"Ab",function(b){b.$e()||(a.CD(),a.dispatchEvent(new _.aj(_.Rr)))}):this.Hh.$e()?this.Wd.od(this.Hh,["wb","yb"],function(){a.CD();a.dispatchEvent(new _.aj(_.Rr))}):(this.CD(),this.dispatchEvent(new _.aj(_.Rr))))};_.g.CD=function(){};
_.g.fq=function(a){var b=this;if(this.Yj()){var c=this.limit;this.limit+=a||50;this.qc()>c&&this.Fr();this.ha.$e()?this.Wd.od(this.ha,"Ab",function(d){d.$e()||b.yK()}):this.yK()}};_.g.tJ=function(){this.$e()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Hb=function(){return this.status};_.g.Cq=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.Pb(a))};_.g.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};_.g.Yj=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Wd.removeAll();this.activate()};_.g.yK=function(){};
var R3c=function(a,b,c,d,e){gQ.call(this,a,b,e.Yh()||void 0);this.Ub=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new Q3c;this.va=c};_.N(R3c,gQ);_.g=R3c.prototype;_.g.CD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.getData=function(){return JVc(new gP,this.V).Bc(this.status)};_.g.yq=function(){var a=_.BO(this.ma,this.ka,this.V);this.ka=this.V;var b=(new HVc).Bc(this.status);return _.hb(b,2,a)};_.g.yK=function(){this.Ba(this.Ji(),this.limit)};
_.g.Fr=function(){if(this.active){var a=this.status;this.tJ();if(this.W||a!=this.status)this.W=!1,S3c(this)}};_.g.qc=function(){return this.V.length};_.g.Ed=function(){return this.Ub};_.g.update=function(a){var b=a.response;if(this.status!=b.Hb()||ZO(0,this.V,b.V()))this.H=!0,this.status=b.Hb(),this.V=b.V(),this.ta=a.ha,S3c(this)};
var S3c=function(a){var b="Livelist "+a.Ji()+" returning "+a.V.length+" for "+(a.Ub.Kc()+". Status: ")+(_.bg(MUc)[a.Hb()]+".");a.va.info("drive.ds.sync.CategoryMetadataLiveList",b);a.dispatchEvent(new _.aj(_.Cc,a))};R3c.prototype.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a category metadata query after "+a.AG+" retries.",a.error)))};
var T3c=function(a,b,c,d,e,f){YP.call(this,a,b,c,e,f,d);this.Ka=null;this.Ha=void 0};_.N(T3c,YP);T3c.prototype.getData=function(){this.H=this.items;var a=sTc((new _.kD).Bc(this.Hb()).Cv(this.items),this.Yj());a=_.z(a,7,this.Ka);return _.dLc(a.TP(this.ka).setSessionId(this.ma).qL(this.suggestionSessionId).T0(this.V),this.Ha)};T3c.prototype.update=function(a){N2c(this,a)&&(O2c(this,a),this.Ka=a.S0(),this.ka=a.SP(),this.ma=a.getSessionId(),this.suggestionSessionId=a.Df(),this.Ha=a.Zba(),M2c(this))};
var U3c=function(a,b){var c={};a=_.Rf(a,function(d){return!!d});b=_.Rf(b,function(d){return!!d});_.Qf(a,function(d,e){var f=b[e];f?_.fl(d,f)||(d=X2c(W2c(4),f),c[e]=d):(d=X2c(W2c(2),d),c[e]=d)});_.Qf(b,function(d,e){a[e]||(d=X2c(W2c(1),d),c[e]=d)});return c},V3c=function(a,b){return _.Uf(a)!=_.Uf(b)||!_.Xf(U3c(a,b))};
var W3c=function(a,b){_.Q.call(this);this.Ub=b;this.je=!1;this.V=6;this.W={};this.H={}};_.N(W3c,_.Q);_.g=W3c.prototype;_.g.activate=function(){this.je||(this.je=!0,_.Xf(this.H)&&6==this.V||this.dispatchEvent(new _.aj(_.Cc,this)))};_.g.Hb=function(){return this.V};_.g.Cq=function(){return new _.FO};_.g.getData=function(){this.W=this.H;var a=(new _.hO).Bc(this.V);_.Qf(this.H,function(b,c){a.UP().set(c,b||new _.iD)});return a};
_.g.yq=function(){var a=U3c(this.W,this.H);this.W=this.H;var b=(new q3c).Bc(this.V);_.Qf(a,function(c,d){_.Qk(b,2,aQ).set(d,c)});return b};_.g.YX=function(){throw Error("Jf");};_.g.Ji=function(){return String(_.Ba(this))};_.g.Ed=function(){return this.Ub};_.g.update=function(a){var b={};a.UP().forEach(function(c,d){c||(c=G0c(d));b[d]=c});if(this.V!=a.Hb()||V3c(this.W,b))this.V=a.Hb(),this.H=b,this.je&&this.dispatchEvent(new _.aj(_.Cc,this))};
_.g.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a Workspace find by id after "+a.AG+" retries.",a.error)))};_.g.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};
var Y3c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.ka=a;this.va=b;this.Ub=f;this.Ba=d;this.Ea=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=oRc(new _.FO,[1]);this.ta=c;X3c(this,"Creating find by ids live map: "+this.Ub.om().join(", "));_.Wd(this,function(){h.ha=!1;h.W=[]})};_.N(Y3c,_.Q);_.g=Y3c.prototype;_.g.Ji=function(){return String(_.Ba(this))};_.g.activate=function(){this.ha=!0;_.Xf(this.H)&&6==this.V||Z3c(this)};_.g.Ed=function(){return this.Ub};
_.g.getData=function(){this.W=this.H;var a=new _.fO;_.iM(this.ka)?a.Bc(KQc(Object.values(this.H))?6:this.V):a.Bc(this.V);a.H=this.H;return a};_.g.yq=function(){var a=qRc(this.W,this.H),b=new CVc;b.Bc(this.V);b.H=a;this.W=this.H;return b};_.g.Hb=function(){return this.V};_.g.Cq=function(){return this.ma};_.g.YX=function(a){JYc(a);var b=this.Ub;this.Ub=a;this.Ea(this.Ji(),b,a)};
_.g.update=function(a){var b=this;0<=_.ia(this.Ed().om(),"root")?this.Ba.addCallback(function(c){var d=a.Js()[c];d&&(_.Yf(a.H,c),a.H.root=d);$3c(b,a)}):$3c(this,a)};var $3c=function(a,b){if(a.V!=b.Hb()||rRc(a.H,b.Js()))a.V=b.Hb(),a.H=b.Js(),_.iM(a.ka)&&(a.ma=pRc(a.V,Object.values(a.H))),Z3c(a)};Y3c.prototype.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a find-by-IDs query after "+a.AG+" retries.",a.error)))};Y3c.prototype.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};
var Z3c=function(a){a.ha&&(X3c(a,"Livelist "+a.Ji()+" returning "+(Object.values(a.H).length+". Status: ")+(_.bg(MUc)[a.Hb()]+". Query: ")+BP(a.va,a.Ub)),a.dispatchEvent(new _.aj(_.Cc,a)))},X3c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var a4c=function(a,b,c,d,e,f){YP.call(this,a,b,c,d,e,f);this.Ha=[]};_.N(a4c,YP);a4c.prototype.getData=function(){this.H=this.items;var a=(new _.gO).Bc(this.Hb()).Cv(this.items);var b=this.Yj();a=_.B(a,4,b);return HUc(a,this.Ha).TP(this.ka).setSessionId(this.ma).qL(this.suggestionSessionId).T0(this.V)};a4c.prototype.update=function(a){N2c(this,a)&&(O2c(this,a),this.Ha=_.al(a,_.Cl,6),this.ka=a.SP(),this.ma=a.getSessionId(),this.suggestionSessionId=a.Df(),M2c(this))};
var b4c=function(){};_.g=b4c.prototype;_.g.SH=function(a,b){return V2c(U2c(1),a).setPosition(b)};_.g.QH=function(a,b){return V2c(U2c(2).setPosition(b),a)};_.g.fN=function(a,b,c){return V2c(U2c(3).ww(b).setPosition(c),a)};_.g.lL=function(a,b){return V2c(U2c(4),a).setPosition(b)};_.g.tI=function(a){return a.Rl()};
var c4c=function(){_.AO.call(this,new b4c,function(a){return a&&a.V()})};_.N(c4c,_.AO);
var d4c=function(a,b,c){gQ.call(this,a.ka,a.Hh,b.Yh()||10);this.Ub=b;this.Ba=c;this.ka=[];this.V=[];this.W=!1;this.Ea=new c4c;this.va=this.ma=null};_.N(d4c,gQ);_.g=d4c.prototype;_.g.CD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.getData=function(){this.ka=this.V;return cWc(bWc((new jP).Bc(this.status),this.V.slice(0)).setSessionId(this.ma),this.va)};
_.g.yq=function(){var a=_.BO(this.Ea,this.ka,this.V);this.ka=this.V;var b=(new o3c).Bc(this.status);return _.hb(b,2,a)};_.g.yK=function(){};_.g.Fr=function(){var a=this.status;this.tJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.aj(_.Cc,this))};_.g.qc=function(){return this.V.length};_.g.Ed=function(){return this.Ub};_.g.update=function(a){if(this.status!=a.Hb()||ZO(0,this.V,a.Aj())){this.W=this.H=!0;this.V=a.Aj();var b=a.getSessionId();b&&(this.ma=b);if(a=a.Df())this.va=a;this.Fr()}};
_.g.refresh=function(){this.Ba()};_.g.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a Suggested Workspace query after "+(a.AG+" retries."),a.error)))};
var e4c=function(a,b,c){_.Q.call(this);var d=this;this.Ub=a;this.Ba=b;this.va=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.Yh();this.V=6;this.ta=oRc(new _.FO,[1]);this.W=!0;_.Wd(this,function(){d.ha=!1;d.ka=[]})};_.N(e4c,_.Q);_.g=e4c.prototype;_.g.Ji=function(){return String(_.Ba(this))};_.g.activate=function(){this.ha=!0;_.la(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.aj(_.Cc,this))};_.g.Ed=function(){return this.Ub};_.g.Hb=function(){return this.V};_.g.Cq=function(){return this.ta};
_.g.Yj=function(){return this.W};_.g.getData=function(){this.ka=this.H;return sTc((new _.kD).Bc(this.V).Cv(this.H),this.W)};_.g.yq=function(){var a=_.BO(_.CO.Jb(),this.ka,this.H),b=(new _.zGc).Bc(this.V);a=_.hb(b,2,a);this.ka=this.H;return a};_.g.fq=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.Ji(),this.ma))};
_.g.update=function(a){if(this.V!=a.Hb()||ZO(_.CO.Jb(),this.H,a.Nd()))this.H=a.Nd(),this.V=a.Hb(),_.iM(this.va)&&(this.ta=pRc(this.V,this.H)),this.W=a.Gna(),this.ha&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a Team Drive query after "+a.AG+" retries.",a.error)))};_.g.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};_.g.ks=function(){throw Error("Kf");};_.g.refresh=function(){};
var f4c=function(a,b,c){_.Q.call(this);var d=this;this.ka=a;this.Ub=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=oRc(new _.FO,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.Ub.om().join(", "));_.Wd(this,function(){d.ha=!1;d.W=[]})};_.N(f4c,_.Q);_.g=f4c.prototype;_.g.Ji=function(){return String(_.Ba(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.Ed=function(){return this.Ub};
_.g.getData=function(){this.W=this.H;var a=new _.fO;a.Bc(this.V);a.H=this.H;return a};_.g.yq=function(){var a=qRc(this.W,this.H),b=new CVc;b.Bc(this.V);b.H=a;this.W=this.H;return b};_.g.Hb=function(){return this.V};_.g.Cq=function(){return this.ma};_.g.YX=function(a){var b=this.Ub;this.Ub=a;this.ta.Ha(this.Ji(),b,a)};
_.g.update=function(a){if(this.V!=a.Hb()||rRc(this.H,a.Js()))this.V=a.Hb(),this.H=a.Js(),_.iM(this.ka.H)&&(this.ma=pRc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a team drive find-by-IDs query after "+a.AG+" retries.",a.error)))};_.g.AM=function(){this.dispatchEvent(new _.aj(_.XDa))};
var g4c=function(){};_.g=g4c.prototype;_.g.SH=function(a,b){return X2c(W2c(1),a).setPosition(b)};_.g.QH=function(a,b){return X2c(W2c(2).setPosition(b),a)};_.g.fN=function(a,b,c){return X2c(W2c(3).ww(b).setPosition(c),a)};_.g.lL=function(a,b){return X2c(W2c(4),a).setPosition(b)};_.g.tI=function(a){return a.Rl()};
var h4c=function(){_.AO.call(this,new g4c,function(a){return a&&a.getId()})};_.N(h4c,_.AO);
var i4c=function(a,b,c){gQ.call(this,a.ka,a.Hh,b.Yh()||10);this.Ub=b;this.va=c;this.W=[];this.V=[];this.ka=!1;this.ma=new h4c};_.N(i4c,gQ);_.g=i4c.prototype;_.g.CD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.aj(_.Cc,this))};_.g.getData=function(){this.W=this.V;return FZc((new GP).Bc(this.status),this.V.slice(0))};_.g.yq=function(){var a=_.BO(this.ma,this.W,this.V);this.W=this.V;var b=(new s3c).Bc(this.status);return _.hb(b,2,a)};_.g.yK=function(){this.va.W(this.Ji(),this.limit)};
_.g.Fr=function(){var a=this.status;this.tJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.aj(_.Cc,this))};_.g.qc=function(){return this.V.length};_.g.Ed=function(){return this.Ub};_.g.update=function(a){var b=a.response;if(this.status!=b.Hb()||ZO(0,this.V,b.Aj()))this.H=!0,this.status=b.Hb(),this.V=b.Aj(),this.ta=a.V,this.dispatchEvent(new _.aj(_.Cc,this))};
_.g.sJ=function(a){this.dispatchEvent(new _.Pb(new _.Ob("Error occurred running a Workspace query after "+a.AG+" retries.",a.error)))};
var j4c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Lj;this.Ka=this.H.Zd;this.ha={};this.Ba={};this.Ea={};this.V=null;this.va=b};_.g=j4c.prototype;_.g.Cma=function(a){var b=this,c=new T3c(this.H.ma,this.H.Qb,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.Fma=function(a){var b=this,c=new a4c(this.H.ma,this.H.Qb,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};
_.g.zma=function(a){var b=this,c=new Y3c(this.H.H,this.H.ma,this.H.W,this.H.xf,this.Ha.bind(this),a);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.Ima=function(a){var b=this,c=new e4c(a,this,this.H.H);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.Jma=function(a){var b=this,c=new f4c(this.H,this,a);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.Lma=function(a){var b=this,c=new i4c(this.H,a,this);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};
_.g.Gma=function(a){var b=this,c=new d4c(this.H,a,function(){if(a instanceof _.hp){var d=k4c(b.H);l0c(d,d.getKey(a)).refresh()}});hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.Mma=function(a){var b=this,c=new W3c(this.H,a);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};_.g.wma=function(a){var b=this,c=new R3c(this.H.ka,this.H.Hh,this.H.W,function(d,e){return b.W(d,e)},a);hQ(this,c);_.Wd(c,function(){return iQ(b,c)});return c};
var hQ=function(a,b){var c=b.Ji();a.ha[c]=b;a.va.create(c,b.Ed());b=b.Ed()instanceof _.op?i0c(a.ma,c,b.Ed()):"undefined"!=typeof _.sN&&b.Ed()instanceof _.sN?j0c(a.ma,c,b.Ed()):b.Ed()instanceof _.hp?i0c(k4c(a.H),c,b.Ed()):b.Ed()instanceof _.sH?i0c(a.Ka,c,b.Ed()):l4c(a.ta,c,b.Ed());"boolean"===typeof b&&pZc(a.va,c,b)},iQ=function(a,b){if(b.Ed()instanceof _.op)k0c(a.ma,b.Ji(),b.Ed());else if("undefined"!=typeof _.sN&&b.Ed()instanceof _.sN){var c=a.ma,d=b.Ji(),e=b.Ed(),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.Ed()instanceof _.hp?k0c(k4c(a.H),b.Ji(),b.Ed()):b.Ed()instanceof _.sH?k0c(a.Ka,b.Ji(),b.Ed()):m4c(a.ta,b.Ji(),b.Ed());DP(a.va,b.Ji(),4);delete a.ha[b.Ji()]};j4c.prototype.Ha=function(a,b,c){m4c(this.ta,a,b);l4c(this.ta,a,c)};
j4c.prototype.W=function(a,b){var c=a0c(this,a).Ed();c.Li(b);c instanceof _.op?i0c(this.ma,a,c):"undefined"!=typeof _.sN&&c instanceof _.sN?j0c(this.ma,a,c):c instanceof _.sH?i0c(this.Ka,a,c):l4c(this.ta,a,c)};
j4c.prototype.ka=function(){_.oj(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&&(rZc(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.sJ(c)};var a0c=function(a,b){if(!a.ha[b])throw Error("Lf`"+b);return a.ha[b]};
var jQ=function(a,b){_.Q.call(this);this.ka=a;this.Ub=b;this.W=_.yi();this.V=!1;this.H=""};_.N(jQ,_.Q);jQ.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.Ub)}).then(this.ta.bind(this)).Xf(this.ha.bind(this));return this.W.promise};jQ.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new O3c(0,this.H));n4c(this)};var n4c=function(a){_.q.setTimeout(function(){a.ka.then(function(b){return b.H(new _.HJc(a.H))}).then(a.va.bind(a)).Xf(a.ha.bind(a))},5E3)};
jQ.prototype.va=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new O3c(a.ka,this.H)),n4c(this);else{this.V=!0;if(4==a.status){var b=new C3c;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.px);b=_.B(b,8,a.ha);a=_.hb(b,4,a.V);this.W.resolve(a)}else a=_.pM(_.Kr(_.Jr(new _.Nb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};jQ.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.GJc(a.H))}).then(this.ma.bind(this)).Xf(this.ha.bind(this))};
jQ.prototype.ma=function(){if(!this.V){var a=new C3c;a=_.B(a,3,this.H);a=_.B(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};jQ.prototype.ha=function(a){this.V=!0;this.W.reject(_.EM(a));this.dispose()};
var o4c=function(){_.aj.call(this,"VbxEwf")};_.N(o4c,_.aj);
var p4c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=p4c.prototype;_.g.Oa=function(){return _.D(this.H.H,_.cJc,58)};_.g.getContext=function(){return this.H};_.g.XMa=function(){var a=this.H.Ma,b=this.W,c=_.Oc(a.H);a.V&&c.push(_.sNc("CacheSize",a.V.V.H.size));c.push(_.sNc("InitialViewDataLoaded",b));a=new jUc;_.hb(a,1,c);return _.Gi(a)};_.g.ifa=function(){return this.H.W};_.g.cQ=function(a){return _.Gi(this.H.V.V.H(a))};_.g.Sta=function(){return _.Gi(this.H.Ma.W.Ng())};
_.g.Eia=function(a,b,c){var d=new _.Bi;if(_.D(a,_.jM,3)||_.D(a,_.uN,4)||_.D(a,_.mO,5)||_.D(a,_.pN,6)||_.D(a,_.UM,7)||_.D(a,_.NM,8)||_.D(a,_.RM,9)||_.D(a,_.tM,10)){var e=mZc(a);this.H.ta().then(function(f){return f.H(e,{Xzb:b,Yzb:c})}).then(this.Mdb.bind(this,d),d.Qd,d);return d}throw Error("Mf");};
_.g.Mdb=function(a,b){var c=[],d="";if(b instanceof _.nO){c=b.Sr().Nd();var e=_.C(b,2);d=b.Tn()}else if(b instanceof _.wN)b.getItem()&&c.push(b.getItem()),e=b.VL();else throw Error("Nf");a.callback({items:c,AEa:e,pageToken:d})};_.g.cVa=function(){var a=this.H.H,b=a.Hf();a="email:"+_.gM(a).getEmail().replace(/@.*$/,"");_.B(b,13,a)};_.g.ODa=function(){this.H.va.CS();var a=this.H.H;U1c(_.ON(_.gM(a)),_.PN(a),this.H.W).Xf(function(){})};_.g.M1=function(){return _.KIc[_.Jk(this.H.H.Hf(),8,0)]};
_.g.oza=function(){this.H.Mc.H=new V0c(_.bh().substring(0,8))};_.g.jfa=function(){var a=this.H.Mc.H,b=null;a&&(b=X0c(this.H.Mc),b={traceId:a,spanRecs:b});a=this.H.Mc;a.H=null;a.V=[];return _.Gi(b)};_.g.YMa=function(){return _.Gi(this.H.Mc.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.vi();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.V.V.V.H.size;c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.Y4());b.cs_ch=f_c(c).length;b.cs_td=_.ta(c.V).length;(c=this.H.Jo)&&(b.t_cps=c.N8a().join(","));b.t_id=q4c(this.H);var e=[];r4c(this.H.Lb).forEach(function(f,
h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.uc?this.H.Hh.isConnected():this.H.Fc.H;b.n_o=this.H.uc?this.H.Hh.$e():this.H.ka.$e();b.n_csm=!!this.H.uc;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Gi(JSON.stringify(b))};_.g.eUa=function(){this.V&&(this.V.dispatchEvent(new o4c),this.V.X4())};_.g.Yl=function(a){var b=this.H.uc;b&&a!=b.H&&(b.H=a,_.iNc(b),a?b.Mb.update(3):_.kNc(b))};
var u4c=function(a,b){this.H=a;this.V=b;this.ha=_.tJc(mUc(this.V),s4c);this.W=_.tJc(mUc(this.V),t4c)},w4c=function(a,b){var c=a.H.rb.Gg().Gg(),d=(c=c?c.getUser():null)?c.getId():null,e={};b.forEach(function(h){_.xJc(h);var k=h.getId(),l=a.H.uo();_.RKc(h,3);_.wM(h,5);var n=QQc(h,!0);h.getCapabilities()||h.Gn(new _.Il);_.H(n,2)&&((n=h.oj())&&n.length?_.B(h,46,n[0]):(_.IN(h,[l]),_.B(h,46,l)),l=h.Hr(),_.B(h,12,l),l=new _.Cl,l.Wb(d),_.B(l,6,1),_.eKc(l,!0),_.LKc(h,l),_.KKc(h,[l]),_.nGc(h,1));e[k]=h});b=
Object.keys(e);c=a.H.V;var f=aZc(c.V,b);_.Qf(f,function(h,k){IO(h.getItem(),e[k],a.ha);(a.H.ka.$e()||a.H.Hh.$e()||3==LO(h.getItem()))&&IO(h.getItem(),e[k],a.W);_.Yf(e,k)});_.Qf(e,function(h){h.vn().Vq()&&(f[h.getId()]=new vP(h))});v4c(c,Object.values(f))},x4c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});w4c(a,c)},s4c=[50],t4c=[12,11,10,67,68];
var y4c=function(a){this.ka=a;this.H=null;this.ha=new u4c(a,a.Wa);this.V=!1};
y4c.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);z4c(this,"Querying all offline items.");this.H.H().Sf(a,b);this.V||(this.H.V((0,_.v)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.Qe;b.Yl(!0);b=cZc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==LO(f)){var h=new _.mM;_.nM(h,f.getId());_.xM(h);d.push(h)}else h=new _.Ll,_.HO(h,!1),_.B(h,2,!1),_.z(f,81,h),c.push(b[e])}v4c(a,c);a.ta(d)}};
y4c.prototype.va=function(a){z4c(this,"Processing all offline item(s): "+a.length);w4c(this.ha,a);xP(this.ka.ha,"GZTDpc")};y4c.prototype.ta=function(){z4c(this,"Error fetching offline items.")};y4c.prototype.ma=function(a){z4c(this,"Handling offline change(s): "+a.length);x4c(this.ha,a)};var z4c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
/*

Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var A4c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
var kQ=function(a){_.Q.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new y4c(a);this.context.Lf=b;this.Ma=new p4c(a,this);w2c(this.Ma);(b=_.D(a.H,_.cJc,58))&&_.E(b,1,!1);this.Wd=new _.Ie(this);this.Na(this.Wd);this.V=this.context.ha;this.ha=a.ol;this.W=new j4c(a,this.ha);a=this.context;b=this.W;a.Uh=b;a.ae.resolve(b);this.va=null;this.$a=this.Ba=!1;this.Sa=null;this.XDa()};_.N(kQ,_.Q);_.g=kQ.prototype;_.g.XDa=function(){};
_.g.initialize=function(){var a=this;if(!this.va){this.va=_.yi();this.Sa=this.context.Ql().V(106E3);var b=_.QN(this.context.H)?"(coldstart) ":"";this.context.W.info(this.Ka,"Initializing "+b+"with client build: "+this.context.H.vi());this.WMa();this.Wd.listen(this.context,_.Dc,this.v$a);this.Wd.listen(this.context.Fc,["xa","ya"],function(c){return void a.dispatchEvent(c)});this.Wd.listen(this.context.Hh,[].concat(_.Mc(Object.values(XXc))),function(c){return void a.dispatchEvent(c)});this.V.start();
xP(this.V,"NSockf")}return this.va.promise};_.g.XIa=function(){this.Sa&&this.Sa.H();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.va.resolve())};_.g.v$a=function(a){var b=a.error,c=b.Sg;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.va.reject(b)):this.dispatchEvent(a)};_.g.uZ=function(){throw lQ("teamDriveQuery");};_.g.uia=function(){throw lQ("teamDriveFindByIds");};_.g.Zza=function(){throw lQ("teamDriveMovePreflight");};
_.g.lwa=function(){throw lQ("peoplePredictQuery");};
_.g.query=function(a){LYc(this.context.ma,a,lUc(this.context.Wa));this.ZR();var b=_.gl(a);if(_.E(this.context.H,92,!1)&&b.ue()&&111==_.C(b.ue(),1)){for(var c=new iTc,d=Array(36),e=0,f,h=0;36>h;h++)8==h||13==h||18==h||23==h?d[h]="-":14==h?d[h]="4":(2>=e&&(e=33554432+16777216*Math.random()|0),f=e&15,e>>=4,d[h]=A4c[19==h?f&3|8:f]);c=_.B(c,1,d.join(""));_.z(b,64,c)}b=this.W.Cma(b);this.$a||(a=a.ue(),a&&121==_.C(a,1)||(this.$a=!0,this.Wd.listen(b,_.Cc,this.VMa)));return b};
_.g.VMa=function(a){a=a.currentTarget;1==a.Hb()&&(this.Ma.W=this.V.H("W6J7De"),this.Wd.Uc(a,_.Cc,this.VMa))};_.g.Jr=function(a){this.ZR();JYc(a);return this.W.zma(_.gl(a))};_.g.Rka=function(){throw lQ("activityQuery");};_.g.Ila=function(){throw lQ("backupsQuery");};_.g.dxa=function(){throw lQ("refreshBackups");};_.g.Kta=function(){throw lQ("getAndroidBackupItems");};_.g.hna=function(){throw lQ("deleteBackup");};_.g.pwa=function(){throw lQ("permissionQuery");};
_.g.wra=function(){throw lQ("insertPermission");};_.g.kna=function(){throw lQ("deletePermission");};_.g.yd=function(){throw lQ("mutate");};_.g.mS=function(){throw lQ("mutateWorkspace");};_.g.rB=function(){throw lQ("bulkMutate");};_.g.yma=function(){throw lQ("createFileUploader");};_.g.iEa=function(a){return new jQ(this.context.ta(),a)};_.g.XX=function(a){if(3==a.getType())return _.Hi(this.context.ta().then(function(b){return b.H(a)}).then(null,_.GM));throw lQ("getApps with type "+a.getType());};
_.g.Lta=function(){throw lQ("getApp");};_.g.yra=function(){throw lQ("installApp");};_.g.gna=function(){throw lQ("deleteApp");};_.g.hfa=function(){throw lQ("updateApp");};_.g.zW=function(){throw lQ("getUserAccount");};_.g.JI=function(){throw lQ("getUserPrefs");};_.g.Pta=function(){throw lQ("mutateUserPref");};_.g.Mta=function(){throw lQ("getRevisions");};_.g.Ota=function(){return!1};_.g.Yl=function(a){this.context.ka.Yl(a)};_.g.DC=function(){throw lQ("setOfflineOptIn");};
_.g.Rta=function(){throw lQ("setLocalItemService");};_.g.ZR=function(){};_.g.RMa=function(){B4c(this.context);this.context.Ql().H(106006)};_.g.b2=function(){return this.Ma};_.g.Qta=function(){};_.g.gfa=function(){return this.context.Fc.H};_.g.Jta=function(){return VZc(this.context.Fc)};_.g.isConnected=function(){return 1==this.context.uc.getState().get()};_.g.sync=function(){throw lQ("sync");};_.g.X4=function(){return C4c(this.context)};_.g.pva=function(){throw lQ("offlineDataLoaded");};_.g.bQa=function(a){return this.context.ta().then(function(b){return b.H(a)}).then(function(b){return b})};
_.g.bma=function(){throw lQ("categoryMetadataQuery");};_.g.ema=function(){throw lQ("changeCategoryLinks");};_.g.IZ=function(){throw lQ("updateCategoryMetadata");};_.g.Rwa=function(){throw lQ("publishedCategoriesQuery");};_.g.Rga=function(){throw lQ("publishedCategoryQuery");};_.g.nBa=function(){throw lQ("workspaceFindByIdsRequest");};_.g.bja=function(){throw lQ("workspaceQueryRequest");};_.g.Sza=function(){throw lQ("suggestedWorkspaceItemQueryRequest");};
_.g.nia=function(){throw lQ("suggestedWorkspaceQueryRequest");};_.g.Ita=function(){throw lQ("addCacheHint");};_.g.S$=function(){throw lQ("createUserFeedback");};_.g.Nta=function(){throw lQ("handleChanges");};var lQ=function(a){return new _.Ob(a+" is unsupported",_.DM(3))};
var MRc=function(a){kQ.call(this,a);D4c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.N(MRc,kQ);MRc.prototype.WMa=function(){wP(this.V,["NSockf"],this.XIa.bind(this))};
var E4c=new Set([1,2,4,5,6]),F4c=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};F4c.prototype.Gg=function(){var a=new _.eQ;a.Bc(this.V);this.H&&_.p3c(a,this.H?_.gl(this.H):null);return a};
var G4c=function(a,b,c,d){d=void 0===d?!1:d;var e=E4c.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.iM(a.W)){var h=(h=b&&b.getUser())&&_.rH(h);h=!(!h||!N_c(a.va,h));a.V=h&&e||d?1:6}f=!_.fl(a.H,b)||(_.iM(a.W)?a.V!=f:6==a.V&&e);a.H=_.gl(b);_.iM(a.W)||(a.V=e||d?1:6);c&&(xP(a.ta,"toquGd"),a.ma.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ka.update(0);return f};F4c.prototype.vf=function(){return this.ha};
var H4c=function(a){_.Q.call(this);this.va=a;this.ha=0};_.N(H4c,_.Q);var I4c=function(a){a=_.gl(a);var b=function(c){return c.toLowerCase()};UVc(a,_.Ad(a,4).map(b));VVc(a,_.Ad(a,5).map(b));return a};_.g=H4c.prototype;_.g.Vta=function(){};_.g.bNa=function(){};_.g.remove=function(){};_.g.Uta=function(){};_.g.kA=function(){return 0!=this.ha};_.g.vf=function(){return this.ha};
var J4c=new Set([1,2,4,5,6]),K4c=function(a,b,c){H4c.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.N(K4c,H4c);K4c.prototype.Vta=function(){var a=new FP;if(!_.Xf(this.H)){_.B(a,4,this.V||[]);var b=[];_.Qf(this.H,function(c){b.push(_.gl(c))});_.hb(a,2,b)}a.Bc(this.W);return a};K4c.prototype.bNa=function(a){this.H[a.getId()]=I4c(a);this.ka.update(1);this.dispatchEvent(new _.aj("Qb",this))};K4c.prototype.remove=function(a){_.Yf(this.H,a)&&this.ka.update(1)};
K4c.prototype.Uta=function(a,b,c){c=void 0===c?!1:c;var d=!J4c.has(b);1==this.W&&d||(this.ha=b,L4c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),xP(this.va,"nVUlO")))};
var L4c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.Ad(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.Ca(f);d=f.length!=a.V.length}a.V=e;var h=_.ag(a.H);_.RIc(a.H);b=_.al(b,_.hP,2);d||(d=b.length!=_.Uf(h));b.forEach(function(k){var l=I4c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.fl(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.aj("Qb",a))};
var mQ=function(a){_.P.call(this);this.context=a;this.Wd=new _.Ie(this);this.Na(this.Wd);this.ma=new Set;this.H=6;this.Sa=0};_.N(mQ,_.P);var N4c=function(a,b){a.ma.add(b);a.resize(!0);M4c(a,b)},O4c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.bLa()?a.resize(!1):a.dispose()};mQ.prototype.vf=function(){return this.Sa};mQ.prototype.Ly=function(a){this.Sa=a};mQ.prototype.refresh=function(){};mQ.prototype.a5=function(){};
var Q4c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.gl(f)});else{for(var d in c){var e=c[d];c[d]=e?_.gl(e):null}c=Object.values(c).filter(function(f){return null!=f})}P4c(a.context.V,c,b);d=c.filter(function(f){return!zP(f)});vQc(b,d);c.forEach(function(f){U0c(a.context.Mp,f,b);if(f.Zc()){var h=f.getCapabilities();zP(f)?h&&(_.qKc(h,_.H(h,13)),_.nKc(h,!1),_.uKc(h,!1)):KO(f)?(h&&_.B(h,3,!1),_.B(f,30,!1)):h&&(_.yKc(h,!1),_.zKc(h,!1))}f.getCapabilities()||f.Gn(new _.Il)})};
mQ.prototype.resize=function(){};mQ.prototype.Ed=function(){};mQ.prototype.cC=function(a,b){var c=this,d=!1;a.forEach(function(e){e=HP(e);d=c.$R(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&R4c(this)};var S4c=function(a,b){var c=!1;b.forEach(function(d){c=a.$R(d)||c});c&&R4c(a);return c};mQ.prototype.update=function(a){return S4c(this,[a])};mQ.prototype.$R=function(){};var R4c=function(a){a.Ea();a.ma.forEach(function(b){M4c(a,b)})};mQ.prototype.Ea=function(){};
var M4c=function(a,b){var c=nQ(a.context);c=a0c(c,b).Ed();a.Ha(c)||(c=a.a5(c),a=nQ(a.context),a.Ba[b]=c,a.V||(a.V=_.nj(a.ka,50,a)))},T4c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=nQ(a.context);d.Ea[c]=b;d.V||(d.V=_.nj(d.ka,50,d))})},U4c=function(a){a.ma.forEach(function(b){(b=nQ(a.context).ha[b])&&b.AM()});a.Ly(0==a.vf()?1:6)};mQ.prototype.bLa=function(){return!1};mQ.prototype.Ha=function(){return!1};
var V4c=function(a){_.aj.call(this,"Db");this.id=a};_.N(V4c,_.aj);
var W4c=function(a,b,c,d){d=void 0===d?!1:d;_.Q.call(this);this.Ub=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(W4c,_.Q);
var $4c=function(a){if(a.V)return a.V.promise;a.V=_.yi();a.Ub.om().forEach(function(b){var c=_.cp(_.gl(a.Ub),[b]),d;a.Ea&&(d={EBb:!0});a.H.ta().then(function(e){return e.H(c,d)}).then(function(e){return void X4c(a,e)},function(e){e=_.FM(e);if(5==e.Sg.by()||4==e.Sg.xj())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),Y4c(a);else{var f=new EP(e.Sg,_.Kk(a.H.H.Hf(),1,1));Z4c(a.H.V,a.Ub,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
X4c=function(a,b){b.Sr().Nd().forEach(function(c){_.wM(c,1);a.ta.push(c)});Y4c(a)},Y4c=function(a){a.W||(a.W=_.q.setTimeout(a.Ba.bind(a),10))};W4c.prototype.Ba=function(){_.q.clearTimeout(this.W);this.W=null;a5c(this);b5c(this);this.ha.size==this.Ub.om().length?(QO(this.H.V,[],1,this.va,!1),this.dispatchEvent("Fb"),this.V.resolve(this.ka)):this.dispatchEvent("Cb")};
var a5c=function(a){var b=a.ta;a.ta=[];b=a.H.we.q1(b);if(_.CM(_.gM(a.H.H))){var c=a.H.V.V;_.Ha(b,function(d){var e=c.H(d.getId());e&&_.IN(d,e.oj())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});QO(a.H.V,b,1,a.va,!0)},b5c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.xM(_.nM(new _.mM,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new V4c(c))})};
var c5c=function(a,b,c,d){mQ.call(this,a);this.ha=b;this.Ub=c;this.V={};this.W=_.sM(a.H)||new _.GIc;d&&this.cC(d,!0)};_.N(c5c,mQ);
c5c.prototype.refresh=function(){var a=this;this.H=6;if(_.E(this.Ub,5,!1))return this.H=1,_.si();var b=!yQc(_.cO(this.ha),this.Ub.Hi()),c=[],d=this.context.uo();this.Ub.om().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=LO(n)||b)n=n&&n.vn(),l=!(n&&_.H(n,2));l&&c.push(k)}});if(0==c.length)return this.cC([],!1),_.si();var e=this.Ub.clone();_.cp(e,c);var f=new W4c(e,this.context,this.Ub),h=_.yi();this.context.ka.$e()?(this.Wd.listen(this.context.ka,"Ab",function(k){k.$e()||
(a.Wd.Uc(a.context.ka,"Ab"),d5c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Hh.$e()&&(this.H=0<Object.values(this.V).length?1:2),d5c(this,f,h));return h.promise};var d5c=function(a,b,c){a.Wd.listen(b,"Db",function(d){a.V[d.id]=null});U4c(a);$4c(b).then(function(){c.resolve()},c.reject)};_.g=c5c.prototype;
_.g.B$=function(a){var b=this;return this.context.ma.equals(a,this.Ub)?_.E(this.W,5,!1)&&_.E(this.W,3,!1)?a.om().every(function(c){return(c=b.V[c])&&_.H(c.getItem(),31)}):yQc(_.cO(this.ha),a.Hi()):!1};_.g.a5=function(a){var b=new _.fO;_.iM(this.context.H)?b.Bc(LQc(Object.values(this.V))?6:this.H):b.Bc(this.H);zVc(b,this.vf());AVc(b,_.Sf(this.V,function(c){return c?c.getItem():null}));Q4c(this,a.Hi(),b.Js());return b};_.g.resize=function(){};_.g.Ed=function(){return this.Ub};
_.g.$R=function(a){var b=e5c(this,a.V),c=e5c(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 e5c=function(a,b){return!!b&&_.ja(a.Ub.om(),b.getId())};
var f5c=function(a,b){_.aj.call(this,a);this.changes=b};_.N(f5c,_.aj);
var g5c=function(a){var b=new Q_c;if(a.SP()){var c=a.SP();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.Df()&&(c=a.Df(),b.H=!1,b.va=c);a instanceof _.gO&&_.al(a,_.Cl,6).length?(a=_.al(a,_.Cl,6),b.H=!1,b.ha=a):a instanceof _.kD&&(a.S0()||a.Hna()||a.Zba().length)&&(c=a.S0(),b.H=!1,b.ma=c,c=a.Hna()||!1,b.H=!1,b.V=c,a=a.Zba(),b.H=!1,b.W=a);return b};
var oQ=function(a,b,c,d,e){e=void 0===e?"":e;_.Q.call(this);this.context=a;this.$a=a.W;this.request=b;this.nextPageToken=e;this.W=0;this.Ba=!1;this.V=[];this.ta=new Set;this.H=!1;this.ka=0;this.va=c||!1;this.Wa=d||!1;this.Sa=this.ma(b);this.ha=new Q_c};_.N(oQ,_.Q);var h5c=function(a){return!a.Ba||""!=a.nextPageToken},j5c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&h5c(a)?i5c(a):_.Gi()};oQ.prototype.qc=function(){return this.V.length};
var i5c=function(a){var b=a.W-a.V.length+a.ka;a.$a.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.Bi;d.addCallback(function(f){return void k5c(a,c,f)});var e=_.iJc(_.jJc(new _.jM,a.Sa),c);b=_.gJc(new _.eIc,b);a.Wa&&_.B(b,10,!0);_.hJc(e,b);a.Ba=!0;a.H=!0;a.context.ta().then(function(f){return f.H(e)}).then(a.Ka.bind(a,d),a.Ha.bind(a,d,b));return d};
oQ.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.gO)var c=b;else c=b.Sr(),this.nextPageToken=b.Tn()||"";this.ha=g5c(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Nd())};
oQ.prototype.Ha=function(a,b,c){c=_.FM(c);this.H=!1;if(5==c.Sg.by())a.callback([]);else{if(10==c.Sg.by()&&(_.gJc(b,Math.ceil(_.Kk(b,1,1E3)/2-2E-15)),1<_.Kk(b,1,1E3))){var d=_.hJc(_.iJc(_.jJc(new _.jM,this.Sa),this.nextPageToken),b);this.H=!0;this.context.ta().then(function(e){return e.H(d)}).then(this.Ka.bind(this,a),this.Ha.bind(this,a,b));return}b=new EP(c.Sg,_.Kk(this.context.H.Hf(),1,1));this.Ea(b);this.dispatchEvent(b);a.Qd(c)}};
var k5c=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: ")+(_.hMc(a.request)+" paginationToken: ")+b;b=_.Lr(_.Jr(_.pM(_.oM(new _.Nb,2),9),f));a.context.dispatchEvent(new _.Pb(new _.Ob(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.ta.has(h.getId());a.ta.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.wM(b.value,
a.va?2:1);c=[];b=_.m(a.Ma(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.nM(new _.mM,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new f5c("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return i5c(a);a.dispatchEvent("Fb")};oQ.prototype.Ma=function(a){return a};oQ.prototype.Ea=function(){};oQ.prototype.Ed=function(){return this.request};oQ.prototype.ma=function(a){a=_.gl(a);this.va&&_.B(a,46,!0);return a};
var l5c=function(a,b,c,d){oQ.call(this,a,b,void 0,c,d)};_.N(l5c,oQ);l5c.prototype.Ma=function(a){a=this.context.we.q1(a);QO(this.context.V,a,1,this.request,h5c(this));return a};l5c.prototype.Ea=function(a){Z4c(this.context.V,this.request,a)};l5c.prototype.ma=function(a){var b=a=oQ.prototype.ma.call(this,a),c=_.MN(b);0==_.Ad(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].kb()))&&(c=c.Zc())&&(_.DO(b,[c]),_.EO(b,2));m5c(this,a);return a};
var m5c=function(a,b){if(_.MN(b).some(function(d){return(d=a.context.V.V.H(d.kb()))&&_.H(d,108)})){var c=b.ue();c||(c=new _.ff,_.km(b,c));_.gf(c,937)}};
var n5c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.va=d;this.W=0},p5c=function(a){var b=_.Oc(a.ta);b=b.filter(function(d){return d instanceof c5c});var c=new Set;b.forEach(function(d){d.Ed().om().forEach(function(e){a.va.get(e)||c.add(e)})});b=_.gf(new _.ff,310);o5c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.Mc(c)),b)},r5c=function(a,b){var c=[];(a.V.V.Sa.H[b||"subscribed"]||[]).forEach(function(d){_.Qf(a.ta,function(e){_.fl(e.Ed(),d)&&c.push(e)})});_.Ca(c);0<c.length&&
(q5c(a),c.forEach(function(d){d=BP(a.V.ma,d.Ed(),3);o5c(a,"Refreshing "+b+" cache: "+d)}),_.zi(_.wi(c.map(function(d){return d.refresh().Xf(_.Af)})),a.ha.bind(a)))};n5c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.bd(e)});if(0==a.length)return _.si({});a=_.B(_.bp(_.cp(new _.ap,a),d||_.cO(this.ma)),7,!0);_.dp(a,b);q5c(this);b=new W4c(a,this.V,void 0,c);return _.zi($4c(b),this.ka.bind(this,b))};n5c.prototype.ka=function(a){a.dispose();this.ha()};
var q5c=function(a){a.W++;a.V.va.setActive(!1)};n5c.prototype.ha=function(){this.W--;0==this.W&&this.V.va.setActive(!0)};var o5c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)};
var s5c=function(a,b,c){_.P.call(this);this.ma=a;this.H=b;this.Ub=c;a=new _.ff;_.hf(a,!1);_.gf(a,305);_.km(this.Ub,a);this.ha=new _.Ie(this);this.Na(this.ha);this.W=this.V=null};_.N(s5c,_.P);var t5c=function(a){if(!a.V){a.V=_.yi();if(_.E(a.Ub,48,!1))return a.H.Ly(9),a.V.resolve(a.H),a.V.promise;a.W=new oQ(a.ma,a.Ub,!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));j5c(a.W,a.Ub.Yh())}return a.V.promise};
s5c.prototype.ka=function(a){var b=this;_.Ha(a.changes,function(c){c=c.getItem();b.H.update(HP(new vP(c)))})};s5c.prototype.ta=function(){this.H instanceof IP?this.H.V=!h5c(this.W):h5c(this.W)&&a_c(this.H);this.H.Ly(5);this.V.resolve(this.H)};
var v5c=function(a,b){_.aj.call(this,u5c);this.jd=a;this.H=b};_.N(v5c,_.aj);var u5c="Rb";
var w5c=function(a,b){return new _.ri(function(c,d){b.then(function(e){var f={};a.WD().forEach(function(h){var k=h.getId();RQc(h.getItem());f[k]=new vP(h.getItem())});e.items.forEach(function(h){var k=h.Kc();k=f[k];h.yj()?k&&a.update(new PZc(k.getId(),k,null)):(h=h.getItem(),RQc(h),a.update(QZc(k,new vP(h))))});a.NX();c(e.Rtb)},d)})};
var x5c=function(a,b){_.P.call(this);this.H=a;this.V=b};_.N(x5c,_.P);
var D5c=function(a){var b=_.q._DRIVE_ivd;y5c(a,"Running initial view populator (IVDP).");try{var c=new uP(JSON.parse(b))}catch(r){z5c(a,"Error parsing initial view dump.",r);return}b=_.gM(a.H.H);if(!_.CM(b)){var d=c.Gg();if(d){var e=d.getUser();e&&e.getId()==_.G(b,6,"")&&G4c(a.H.rb,d,4)}(b=c.uo())&&D4c(a.H,b,6)}var f=c.Rz()||void 0;f&&A5c(a.H,f,!0);if((b=c.oy())&&b.length){d=(d=a.H.H.Hf())&&_.Ad(d,30)||[];var h=new Set(d);b.forEach(function(r){(r=(r=r.getKey())&&_.fp(r))&&h.add(r)});B5c(a.H.Ka,b,
4,[].concat(_.Mc(h.values())))}b=c.Nd();b.forEach(function(r){_.xJc(r);_.wM(r,6)});if(d=_.al(c,tP,5)[0])if(c=a.H.ma,FQc(_.cO(a.V),d.getQuery().Hi(),_.PN(a.H.H)))if((e=_.pH(d.getQuery()))&&4==e.getType()&&!OQc())z5c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=AP(c,d.getQuery());var k=_.C(d,2)||void 0;e.Li(k);k=b.map(function(r){return new vP(r,void 0,1,f)});var l=_.D(d,_.Nl,3);if(l&&_.C(d,2)){var n=k[k.length-1];_.wM(l,6);if(!_.fl(l,n.getItem())){z5c(a,"Invalid last item in initial view data.");
return}}d=(l=_.sM(a.H.H))&&_.E(l,2,!1)&&d.Tn()||"";var p=new IP(a.H.Ha,a.H.Sa,a.H.ma,e,n,d);p.Ly(4);k.forEach(function(r){p.update(HP(r))});C5c(a.H.V,p);n=p.Ed();y5c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+BP(c,n));c=new _.jM;_.jJc(c,n);n=_.uNc(a.H.Ma,c,"IVDP");_.vNc(n,b);xP(a.H.ha,"W6J7De")}}else z5c(a,"Invalid initial view data, fields: "+IYc(c,d.getQuery().Hi()));else z5c(a,"No initial query found")},z5c=function(a,b,c){var d=
c?void 0:_.Lr(_.pM(_.oM(new _.Nb,2),6));c=new _.Ob(b,d,c);a.H.Ab(c.Sg);y5c(a,"Initial view dump population failed. Message: "+b);xP(a.H.ha,"DEJoH")},y5c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)};
var E5c=function(a){_.Q.call(this);this.context=a;this.W=new KP(a.Ha,a.Sa,a.ha,a.H,function(){return a.uo()});this.ta="drive.ds.sync.cache.CorpusCachePopulator";this.ha=0};_.N(E5c,_.Q);var F5c=function(a,b){var c=_.Kk(a.context.H,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?(a_c(a.W),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Ma.Vb("CachedCorpusType",b)};
E5c.prototype.log=function(a,b){this.context.W.log(this.ta,a,b||"info")};var G5c=function(a,b){0==a.ha&&(a.ha=b)};
var H5c=function(a,b){var c;if(c=!!b&&!!b.Fk())a=a.nm(),c=null==a||!!b.Fk().nm()==a;return c};
var I5c=function(a,b){_.Q.call(this);this.V=a;this.Ub=b;this.ka=[];this.H="";this.W=this.ha=!1};_.N(I5c,_.Q);var K5c=function(a){return a.W||a.ha&&""==a.H?_.Gi():J5c(a)};I5c.prototype.qc=function(){return this.ka.length};
var J5c=function(a){a.ha=!0;a.W=!0;var b=QTc(RTc(new _.uN,a.Ub),a.H),c=_.uNc(a.V.Ma,b);return _.Hi(a.V.ta().then(function(d){return d.H(b)}).then(function(d){var e=d.Sr().Nd();a.H=d.Tn()||"";L5c(a,c,e)},function(d){a.W=!1;d=new EP(_.qM(d),_.Kk(a.V.H.Hf(),1,1));a.dispatchEvent(d)}))},L5c=function(a,b,c){_.vNc(b,c);for(b=0;b<c.length;b++)_.wM(c[b],1);QO(a.V.V,c,1,a.Ub,!a.ha||""!=a.H);var d=[];_.Ha(c,function(e){this.ka.push(e.getId());e=_.nM(new _.mM,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new f5c("Cb",
d));a.H?J5c(a):(a.W=!1,a.dispatchEvent("Fb"))};I5c.prototype.Ed=function(){return this.Ub};
var M5c=function(a){this.H=hYc(a,{numeric:!0})};M5c.prototype.sort=function(a){_.Fa(a,this.V.bind(this))};M5c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Da(a.getId(),b.getId()):c};
var pQ=function(a,b,c,d){d=void 0===d?!1:d;mQ.call(this,a);this.ka=b;this.Ub=_.gl(c);this.ha=new I5c(a,this.Ub);this.va=new M5c(WO(_.gM(a.H)));this.ta=null!=_.H(this.Ub,6);this.W=[];_.Wd(this,this.B0a,this);this.V=null;d&&(this.V=_.yi(),this.V.resolve())};_.N(pQ,mQ);pQ.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return N5c(this)};
var N5c=function(a){if(a.V)return a.V.promise;a.V=_.yi();a.context.ka.$e()?a.Wd.listen(a.context.ka,"Ab",function(b){b.$e()||(a.Wd.Uc(a.context.ka,"Ab"),U4c(a),K5c(a.ha).Sf(a.V.resolve,a.V.reject,a.V))}):(U4c(a),K5c(a.ha).Sf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=pQ.prototype;_.g.resize=function(){};_.g.Ed=function(){return this.Ub};_.g.WD=function(){return this.W};_.g.B$=function(a){return this.context.ma.equals(a,this.Ub)};
_.g.a5=function(a){a=a.Yh();this.va.sort(this.W);var b=iRc(_.xa(this.W,0,Math.min(a,this.W.length)));Q4c(this,mUc(this.ka),b);var c=new _.kD;c.Cv(b);c.Bc(1==this.H||a<=this.W.length?1:this.context.ka.$e()||this.context.Hh.$e()?0<this.W.length?1:2:6);c.T0(this.vf());sTc(c,a<this.W.length||!(this.context.ka.$e()||this.context.Hh.$e())&&1!=this.H);return c};_.g.cC=function(a,b){this.V&&mQ.prototype.cC.call(this,a,b)};
_.g.$R=function(a,b){b=void 0===b?!1:b;if(!this.V)return!1;var c=a.id,d=_.ha(this.W,function(h){return h.getId()==c}),e=!!d;b=O5c(this,a.H,b);var f=a.V;d&&(f=d,e=!0);if(e||b)e?b?P5c(this,f,a.H):Q5c(this,f):R5c(this,a.H);else return!1;return!0};
var R5c=function(a,b){a.W.push(b);b.H++},Q5c=function(a,b){_.qa(a.W,b);b.H--},P5c=function(a,b,c){a.W[_.ia(a.W,b)]=c;c.H++;b.H--},O5c=function(a,b,c){c=void 0===c?!1:c;if(!b)return!1;if(a.ta&&null!=_.H(a.Ub,6)){if(c)return!0;var d=b.getId();c=!!a.W.find(function(e){return d==e.getId()},a);a=zP(b.getItem())&&H5c(a.Ub,b.getItem());return c&&a}return zP(b.getItem())&&H5c(a.Ub,b.getItem())};_.g=pQ.prototype;_.g.B0a=function(){this.W.forEach(function(a){a.H--})};_.g.bLa=function(){return!0};
_.g.getType=function(){return"TeamDriveViewCache"};_.g.Y4=function(){return this.W.length};_.g.NX=function(){this.H=1};
var S5c=function(a){this.H=a},U5c=function(a,b){return T5c(a,b,null,0,5)},T5c=function(a,b,c,d,e){if(0==e||null==b){var f=new k3c;_.B(f,2,b);_.B(f,1,d);return _.si(f)}var h=lZc();_.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.Pv();k=d+_.C(k,1);return T5c(a,l,c,k,e-1)})};
var V5c=function(a,b){E5c.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(V5c,E5c);V5c.prototype.handleError=function(){this.log("Local dump population failed.");xP(this.context.ha,"mrK8ic")};
V5c.prototype.va=function(){var a=this;if(this.Ba)return this.Ba;if(this.context.Gb){var b=new _.Bi;this.Ba=b;W5c(this).then(function(){var c=_.al(_.XO(a.H),VO,11);c=c[0]&&c[0].getKey()||"";return X5c(a,a.context.Gb,c,4)}).Xf(function(c){if(_.E(a.H,8,!0))return Y5c(a);throw c;}).then(function(){_.iM(a.H)||a.context.V.ma.H.clear();xP(a.context.ha,"zaOY7");b.callback()},function(c){G5c(a,8);a.handleError();b.Qd(c)});return b}this.handleError();return _.Ii(Error("Of"))};
var W5c=function(a){return a.context.Gb.initialize().then(function(){if(!_.QN(a.H)){var b=_.Kk(_.XO(a.H),7,432E6);b&&(a.ka=Date.now()-b);return new _.ri(function(c,d){t2c(a.context.Ea).then(function(e){e?c():d(Error("Pf"))})})}})},X5c=function(a,b,c,d){var e=a.ka;Z5c(a,b,c,e);$5c(a,b,c,e);a6c(a,b,c,e);return b6c(a,b,c,e).then(function(){return Promise.all([c6c(a,b,c,d,e),d6c(a,b,c,d,e),e6c(a,b,c,d,e),f6c(a,b,c,d,e)])})},Z5c=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]?G4c(a.context.rb,f[0],a.vf(),_.QN(a.H)):e()},function(){return e()})},$5c=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.vc.Uta(f[0],a.vf(),_.QN(a.H)):e()},function(){return e()})},a6c=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.oy();h.length&&B5c(a.context.Ka,
h,a.vf(),_.Ad(f,2),_.QN(a.H))}else e()},function(){return e()})},c6c=function(a,b,c,d,e){var f=new _.Vn;VP(b,c,3,1,e,a.V).then(function(h){return g6c(a,h[0])}).then(function(h){if(h){b!=a.context.Gb||FQc(h.Hi(),_.cO(a.ma),_.PN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.va.CS());var k=h.Rz();if(!k||0>k)throw Error("Sf");D4c(a.context,h.uo(),d);k=h.Rz();"number"===typeof k&&A5c(a.context,Number(k));_.QN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Ti());h6c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},d6c=function(a,b,c,d,e){var f=new _.Vn;VP(b,c,3,2,e,a.V).then(function(h){h[0]?(h6c(a,h[0],d),f.resolve()):f.reject(Error("Qf"))},f.reject,f);return f.promise},e6c=function(a,b,c,d,e){var f=new _.Vn;VP(b,c,3,4,e,a.V).then(function(h){h.forEach(function(k){h6c(a,k,d)});f.resolve()},f.reject,f);return f.promise},f6c=function(a,b,c,d,e){var f=new _.Vn;VP(b,c,3,3,e,a.V).then(function(h){h.length?
h.forEach(function(k){h6c(a,k,d)}):xP(a.context.ha,"rVezo");f.resolve()},f.reject,f);return f.promise},b6c=function(a,b,c,d){var e=new _.Vn;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.bq().length&&(a.log("Importing "+h.bq().length+" people into the PeopleCache."),h=h.bq(),p_c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},g6c=function(a,b){var c=b.Rz();return c&&!_.QN(a.H)?U5c(new S5c(a.context.ta()),c).then(function(d){return _.Gk(d,
2)?(a.log("Encrypted dump too stale."),a.context.Ql().H(106007),G5c(a,9),null):b},function(){return b}):_.si(b)},Y5c=function(a){var b=SP(a.context.$a.V),c=_.al(_.XO(a.H),VO,11).filter(function(d){return _.Gk(d,2)});return W1c(_.ON(_.gM(a.H)),_.PN(a.H),_.Kk(_.XO(a.H),10,0)||0,_.cO(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(_.si(d),a.context.W,null,!0),h=new X1c(f,a.H,function(k){a.context.Ab(k)});h.initialize();
a.Ea=!0;return X5c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([p2c])}).then(function(k){if(k[0])return k=k[0].kb(),WP(a.context.Ea,p2c,k)}).then(function(){f.close()})}return _.ti(Error("Rf"))})},l6c=function(a,b,c){switch(_.Jk(b,13,0)){case 1:return i6c(a,b,c);case 2:b=_.D(b,uRc,11);if(!b)throw Error("Tf");F5c(a,b);a.W.W?(a.W.Ly(a.vf()),a=[{cache:a.W,changes:RP(a.context.Ba,null)}]):a=[];return a;case 3:return j6c(a,b);case 4:return k6c(a,b);default:return null}},i6c=function(a,
b,c){var d=[];_.al(b,tP,5).forEach(function(e){var f=void 0,h=_.D(e,_.Nl,3);h&&(_.xJc(h),_.H(a.H,67)&&tQc(h,IQc),_.wM(h,c),f=new vP(h));var k=e.getQuery();if(!_.E(k,48,!1)||_.al(a.H,_.Qe,44).some(function(l){if(!_.E(l,48,!1))return!1;l=AP(a.context.ma,l,!0);return _.fl(l,k)}))e=new IP(a.context.Ha,a.context.Sa,a.context.ma,k,f),e.Ly(a.vf()),d.push({cache:e,changes:RP(a.context.Ba,null)})});return d},k6c=function(a,b){return _.al(b,tP,5).map(function(c){c=new pQ(a.context,a.ma,_.D(c,_.$L,5),!0);c.Ly(a.vf());
return{cache:c,changes:RP(a.context.Ba,null)}})},j6c=function(a,b){var c=_.Ad(_.al(b,tP,5)[0].getQuery(),33)[0],d=b.Rz()||void 0;b=RP(a.context.Ba,c);qQ(a.context).addCallback(function(f){f.ala(c,d)});var e=new LP(a.context.Ha,a.context.Sa,c);e.Ly(a.vf());return[{cache:e,changes:b}]},h6c=function(a,b,c){var d=l6c(a,b,c);d&&0!=d.length?(b.Nd().forEach(function(e){_.xJc(e);_.H(a.H,67)&&tQc(e,IQc);_.wM(e,c);if(!_.iM(a.H)&&!a.context.V.ma.H.wc()){var f=a.context.V.ma;K_c(f,E_c(f,[e]))}e=new vP(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 v5c(f,e.changes));a.log("Imported "+f.Y4()+" items into the "+f.getType());var h=null;f instanceof LP&&(h=f.H);a.context.Jd.promise.then(function(){y0c(a.context.Ba,h)})}),1==_.Jk(b,13,0)&&xP(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.Jk(b,13,0)+".")};V5c.prototype.vf=function(){return this.Ea?7:3};
var m6c=function(a){_.P.call(this);this.H=a};_.N(m6c,_.P);
var t6c=function(a,b){n6c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:o6c(a,b);break;case 4:p6c(a,b);break;case 6:q6c(a,b);break;case 2:r6c(a,b);break;case 7:s6c(a,b);break;case 5:_.al(_.D(b,f3c,7),d3c,1).forEach(function(c){return t6c(a,c)});break;default:u6c(a,"Unsupported prefetched request.")}},o6c=function(a,b){var c=_.D(b,_.Qe,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.jM;_.jJc(d,c);b=_.QOc(a.H.Lb.V,d,{headers:{},text:"",json:b}).Sr();v6c(a,
c,b)},q6c=function(a,b){v6c(a,_.D(b,_.Qe,2),_.D(b,_.kD,9))},v6c=function(a,b,c){for(var d=c.Nd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.wM(f.value,7);c=g5c(c);a=a.H.V;b=AP(a.H.ma,b);e=rQ(a,b);sQ(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new tQ(a.H,b),f.Ly(2),a.W[e]=f);c.wc()||f.Lqa(c);QO(a,d,1,b)},r6c=function(a,b){b=_.D(b,_.gp,5);var c=a.H.H.Hf();c=c&&_.Ad(c,30)||[];var d=new Set(c);b.oy().forEach(function(e){(e=(e=e.getKey())&&_.fp(e))&&d.add(e)});B5c(a.H.Ka,
b.oy(),2,[].concat(_.Mc(d.values())))},p6c=function(a,b){a.H.Lj.V(_.D(b,GP,8).Aj(),_.D(b,_.op,6),2,!1)},s6c=function(a,b){var c=_.D(b,_.hp,10);b=JSON.parse(_.C(b,3)||"{}");b=_.QOc(a.H.Lb.V,c,{headers:{},text:"",json:b});k4c(a.H).V([b],c,2,!1)},u6c=function(a,b,c){var d=c?void 0:_.Lr(_.pM(_.oM(new _.Nb,2),6));a.H.dispatchEvent(new _.Pb(new _.Ob(b,d,c)));n6c(a,"Prefetched request population failed.")},n6c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)};
var uQ=function(a){E5c.call(this,a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.Kk(a.H,31,2E4));this.ta="drive.ds.sync.cache.SdkCachePopulator"};_.N(uQ,E5c);uQ.prototype.va=function(){if(!_.E(this.context.H,45,!1))return G5c(this,5),this.V(),_.Ii(Error("Uf"));this.log("Drive SDK cache population initiated.");return this.context.Ln().addCallback(this.Ha,this).addCallback(this.Ea,this).Re(this.V,this)};
uQ.prototype.Ha=function(){var a=this;xP(this.context.ha,"L6uQWd");qQ(this.context).addCallback(function(b){b.m8()});if(_.E(this.context.H,46,!1))return tRc(this.context.ta(),this.context.W).addCallback(function(b){if(!b)throw G5c(a,4),Error("Vf");F5c(a,b)});this.log("Subscribed corpus cache population disabled.");a_c(this.W);return _.Gi()};
uQ.prototype.Ea=function(){var a=this;this.context.Ti();var b=new _.Bi;if(this.W.W){this.log("Starting subscribed corpus cache population.");var c=this.W.Ed();c.Li(this.Ba);this.W.Ly(5);w6c(this,this.W,c)}c=_.al(this.context.H,_.Qe,44);_.Ha(c,function(d){d=new IP(a.context.Ha,a.context.Sa,a.context.ma,d);d.Ly(5);w6c(a,d,d.Ed());d=BP(a.context.ma,d.Ed());a.log("Starting "+d+" cache hint corpus cache population.")});_.wi(this.ka).then(b.callback,this.ma.bind(this,b),b);return b};
var w6c=function(a,b,c){var d=RP(a.context.Ba,null);b=new s5c(a.context,b,c);a.H.push(b);b=_.zi(t5c(b).then(function(e){!e.W&&e instanceof KP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Ma.Vb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new v5c(e,d))}),function(){a.context.Jd.promise.then(function(){y0c(a.context.Ba,null)})});a.ka.push(b)};
uQ.prototype.ma=function(a,b){_.Ha(this.H,function(d){d.dispose()});G5c(this,7);var c=b;b instanceof EP?c=_.EM(b.error):_.hM(b)||(c=Error("Wf`"+b));a.Qd(c)};uQ.prototype.V=function(){this.log("Drive SDK cache population failed.");xP(this.context.ha,"Gv4zef")};uQ.prototype.vf=function(){return 5};
var x6c=function(a,b){_.P.call(this);this.H=a;this.ka=b;this.ma=new _.Ie(this);this.Na(this.ma);this.W=new V5c(this.H,this.H.Wa);this.Na(this.W);this.ha=new uQ(this.H);this.Na(this.ha);this.V=null;this.ta=[]};_.N(x6c,_.P);
var E6c=function(a){y6c(a,"Corpus cache population initiated.");a.V=a.H.Ql().V(106002);_.q._DRIVE_dsp&&z6c(a);_.q._DRIVE_dspc=function(c){return z6c(a,c)};RP(a.H.Ba,null);_.E(a.H.H,24,!1)&&!_.QN(a.H.H)&&(_.q._DRIVE_ivd||null===_.q._DRIVE_ivd?A6c(a):_.q._DRIVE_ivdc=function(){A6c(a)});var b=a.H.Gb;b?(a.ma.listen(a.W,u5c,a.va),a.ma.listen(a.ha,u5c,a.va),(!_.E(a.H.H,10,!1)&&_.H(a.H.H,69)?a.H.Rc.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){y6c(a,"Dump storage initialized.");
a.V&&(a.W.V=a.V);return a.W.va().Sf(function(){return B6c(a,a.W.vf())},function(){C6c(a,a.W.vf(),a.W.ha);if(_.QN(a.H.H))D6c(a,Error("Xf"));else return a.ha.va().then(function(){return B6c(a,a.ha.vf())},function(c){C6c(a,a.ha.vf(),a.ha.ha);return D6c(a,c)})})},function(c){D6c(a,_.hM(c)?c:void 0,!0)})})):D6c(a,void 0,!0)},z6c=function(a,b){var c=new m6c(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{t6c(c,new d3c(JSON.parse(d)))}catch(e){u6c(c,
"Error parsing prefetched request.",e)}});c.dispose()};x6c.prototype.va=function(a){var b=a.jd;y6c(this,"Cache populated: "+b.getType());this.ta.push(F6c(this,b,a.H))};
var B6c=function(a,b){y0c(a.H.Ba,null);xP(a.H.ha,"L6uQWd");qQ(a.H).addCallback(function(c){c.m8()});return Promise.all(a.ta).then(function(){return G6c(a,b)})},H6c=function(a){return(a=a.H.V.ka.H)&&a.W?1:2},G6c=function(a,b){if(!a.isDisposed()){_.QN(a.H.H)||I6c(a.ka,_.al(a.H.H,_.Qe,44));y6c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.va.dta():t2c(a.H.Ea).then(function(d){d&&a.H.va.dta()},function(){});xP(c,"rVezo");xP(c,"BNEDtc");a.V&&(b=_.eO(_.uIc,b),VTc(oUc(a.V),
b),UTc(oUc(a.V),!0),WTc(oUc(a.V),dZc(a.ka.V)),XTc(oUc(a.V),H6c(a)),a.V.H());a.dispose()}},C6c=function(a,b,c){a.V&&(b=_.eO(_.uIc,b),VTc(oUc(a.V),b),a=oUc(a.V),_.Zk(a,3,c,void 0))},D6c=function(a,b,c){c=void 0===c?!1:c;y0c(a.H.Ba,null);var d=a.H.ha;xP(d,"L6uQWd");qQ(a.H).addCallback(function(e){e.m8()});xP(d,"mrK8ic");xP(d,"Gv4zef");xP(d,"rVezo");xP(d,"BNEDtc");a.H.Ma.Vb("CachedCorpusType","partialCorpus");d=!!a.W.context.Gb||_.E(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",
_.hM(b)?(d=b,c+=d.message):c+=String(b),y6c(a,c),b=new _.Ob(c,void 0,d),d=b.Sg,_.oM(d,_.QN(a.H.H)?3:1),_.pM(d,6),_.Jr(d,c),_.Lr(d),a.H.dispatchEvent(new _.Pb(b))):y6c(a,"Corpus population skipped");a.V&&(UTc(oUc(a.V),!1),a.V.H());a.dispose()},F6c=function(a,b,c){return w5c(b,c).then(function(d){d.some(function(e){return b instanceof LP&&e.yj()&&e.Kc()==b.H})||C5c(a.ka,b,d)},function(){return D6c(a,Error("Yf"))})},A6c=function(a){if(_.q._DRIVE_ivd){var b=new x5c(a.H,a.H.Wa);a.Na(b);D5c(b)}else xP(a.H.ha,
"DEJoH")},y6c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)};
var J6c=function(){JP.apply(this,arguments)};_.N(J6c,JP);J6c.prototype.iG=function(a){var b;if(b=JP.prototype.iG.call(this,a))a=a&&a.getItem()&&a.getItem().vn(),b=!(!a||!_.H(a,3));return b};J6c.prototype.Ed=function(){};J6c.prototype.getType=function(){};J6c.prototype.Z4=function(){};
var K6c=function(a,b){this.V=a;this.W=b;this.H={}},M6c=function(a,b){if(!_.aN(b)){var c=_.Ad(b,33);if(1==c.length)L6c(a,c[0],b);else{c=_.MN(b);if(1==c.length&&!_.E(c[0],2,!1)){var d=c[0].kb();c=a.W.get(d);if(!c){c=a.V.V.va;var e=_.gf(new _.ff,310);c.H([d],e).then(function(f){if((f=f[d])&&f.Zc()){var h=f.getCapabilities();h&&_.Cd(h)&&(f=f.Zc(),L6c(a,f,b))}else L6c(a,null,b)});return}if(c.getItem().Zc()&&_.Cd(c.getItem().getCapabilities())){c=c.getItem().Zc();L6c(a,c,b);return}}L6c(a,null,b)}}},L6c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!zP(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(qQ(a.V).addCallback(function(e){e.ala(b)}),N6c(a.V.Dt,b))},O6c=function(a,b){if(!_.aN(b)){var c={},d;for(d in a.H){c.MO=d;for(var e=0;e<a.H[c.MO].length;e++)if(_.fl(b,a.H[c.MO][e])){_.pa(a.H[c.MO],e);"subscribed"!=c.MO&&qQ(a.V).addCallback(function(f){return function(h){h.uxa(f.MO,!1)}}(c));return}c={MO:c.MO}}}};
var P6c=function(){this.H=new Map;this.V=[];this.W=[]};
P6c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();JO(e)&&(a?(e=a.getItem().Uf())&&_.C(e,1)&&(1==_.Jd(e)||3==_.Jd(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&&!_.fl(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var Q6c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},R6c=function(a){a.V=[];a.W=[]};
var S6c=function(a,b){D0c.call(this,_.gl(a),b.ta(),b.H,b.W);this.V=b};_.N(S6c,D0c);S6c.prototype.W=function(a){var b=new Map;a.om().forEach(function(c){var d=_.Wua(_.gl(a),[c]);b.set(c,d)});return b};S6c.prototype.ka=function(a){a=a.Nd()[0];QO(this.V.V,[a],1,void 0,!0,this.request.Hi())};S6c.prototype.ma=function(a){QO(this.V.V,[],1,a,!1,this.request.Hi())};S6c.prototype.ta=function(a){a=_.xM(_.nM(new _.mM,a));this.V.V.ta([a])};
var T6c=function(a,b,c,d){mQ.call(this,a);this.W=b;this.Ub=c;this.V={};d&&this.cC(d,!0)};_.N(T6c,mQ);_.g=T6c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=yP(this.context.H)!=yP(this.context.H,this.Ub.Hi()),c=[];this.Ub.om().forEach(function(h){var k=a.V[h];k&&k.getItem().Fk()&&!b||c.push(h)});if(0==c.length)return this.cC([],!1),_.si();var d=_.gl(this.Ub);_.Wua(d,c);var e=new S6c(d,this.context),f=_.yi();this.context.ka.$e()?(this.Wd.listen(this.context.ka,"Ab",function(h){h.$e()||(a.Wd.Uc(a.context.ka,"Ab"),U4c(a),E0c(e).then(f.resolve,f.reject,f))}),this.H=0<_.Uf(this.V)?1:2):(this.context.Hh.$e()&&
(this.H=0<_.Uf(this.V)?1:2),U4c(this),E0c(e).then(f.resolve,f.reject,f));return f.promise};_.g.B$=function(a){return this.context.ma.equals(a,this.Ub)&&yQc(_.cO(this.W),a.Hi())};_.g.a5=function(a){var b=new _.fO;b.Bc(this.H);zVc(b,this.vf());AVc(b,_.Sf(this.V,function(c){return c?c.getItem():null}));Q4c(this,a.Hi(),b.Js());return b};_.g.resize=function(){};_.g.Ed=function(){return this.Ub};
_.g.$R=function(a){var b=U6c(this,a.V),c=U6c(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 U6c=function(a,b){return!!b&&a.Ub.om().includes(b.getId())};
var tQ=function(a,b,c,d,e){mQ.call(this,a);var f=this;this.Ub=_.gl(b);this.ha=new l5c(this.context,this.Ub,!1,e);this.va=0;b=_.pH(this.Ub)&&yYc(_.pH(this.Ub));e=this.context.Sa;this.ka=b?(0,_.v)(e.compare,e,this.Ub):null;this.vc=!b||!qYc(this.Ub)||_.CM(_.gM(a.H));this.uc=pYc(this.Ub);this.V=[];this.ta={};this.Ab=null;this.Wa=!1;this.$a=[];this.Ba=[];this.Lb=this.Gb=this.rb=null;this.W=0;c&&this.cC(c,!d);this.Qb=null;this.Ka=Date.now();this.Ma=_.Kk(a.H.Hf(),16,36E5);_.yN(this.Ub)&&this.Wd.listen(this.context.Yf,
"Hb",this.Fc);_.Wd(this,function(){_.Ec(f.ha);V6c(f)})};_.N(tQ,mQ);tQ.prototype.refresh=function(){return W6c(this,!1)};var W6c=function(a,b){a.H=6;if(_.E(a.Ub,48,!1))return a.H=1,_.si();if(_.yN(a.Ub)){var c=X6c,d=a.context.Yf.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return Y6c(a,b)};tQ.prototype.initialize=function(){return this.W>=this.Ub.Yh()||1==this.H?_.si():this.refresh()};
var V6c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},X6c=function(a,b){_.q.clearTimeout(a.Qb);a.Qb=_.q.setTimeout(function(){return W6c(a,!0)},b)};tQ.prototype.Fc=function(){Date.now()-this.Ka>this.Ma&&X6c(this,0)};
var Y6c=function(a,b){a.ha&&(a.Wd.Uc(a.ha,"Eb",a.Lqa),a.Wd.Uc(a.ha,"Fb",a.dNa),a.ha.dispose());var c=a.Ub.ue();c&&_.hf(c,!1);a.ha=new l5c(a.context,a.Ub,b);a.va=0;a.Wd.listen(a.ha,"Eb",function(){return a.Lqa(a.ha.ha)});a.Wd.listen(a.ha,"Fb",a.dNa);return Z6c(a)},Z6c=function(a){var b=_.yi();a.context.ka.$e()?a.Wd.listen(a.context.ka,"Ab",function(c){c.$e()||(a.Wd.Uc(a.context.ka,"Ab"),$6c(a,b))}):$6c(a,b);return b.promise},$6c=function(a,b){U4c(a);var c=a.Ub.Yh()+a.va;_.Pia(j5c(a.ha,c).Sf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=tQ.prototype;_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.Mc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=nQ(this.context);d=a0c(e,d).Ed();b=Math.max(b,d.Yh())}_.yN(this.Ub)?(this.Ub.Li(b),2!=this.vf()&&!this.ha.H&&(b>this.W||a)?this.refresh():a7c(this)):this.Ub.Yh()!=b&&(this.Ub.Li(b),b>this.W?Z6c(this):a7c(this))};_.g.Ed=function(){return this.Ub};_.g.B$=function(a){return this.context.ma.equals(a,this.Ub)};
_.g.a5=function(a){var b=a.Yh(),c,d=!1;if(_.bN(this.Ub)){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=_.Yl(k.getItem()).filter(function(l){return h.includes(l.rm().getId())});k=k.clone();CQc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Yl(l.getItem()).length})}d=LQc(e);c=new _.gO;_.B(c,4,!1);HUc(c,f)}else e=this.V.slice(0,b),c=new _.kD,sTc(c,b<this.V.length||!(this.context.ka.$e()||this.context.Hh.$e())&&
1!=this.H),_.z(c,7,this.Ab),_.B(c,8,this.Wa),_.dLc(c,this.$a),d=LQc(e);e=iRc(e);Q4c(this,a.Hi(),e);c.Cv(e);c.Bc(d?6:1==this.H||b<=this.W?1:this.context.ka.$e()||this.context.Hh.$e()?0<this.V.length?1:2:6);c.T0(this.vf());c.TP(this.rb);c.setSessionId(this.Gb);c.qL(this.Lb);return c};_.g.Lqa=function(a){this.Ab=a.ma;this.Wa=a.V;this.$a=a.W;this.Ba=a.ha;this.rb=a.ka;this.Gb=a.getSessionId();this.Lb=a.Df()};_.g.dNa=function(){var a=this.Ub.Yh()-this.W;0<a&&h5c(this.ha)&&(this.va+=a,Z6c(this))};
_.g.cC=function(a,b){_.yN(this.Ub)&&V6c(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=HP(d.value),c=this.$R(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.Da;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(b7c(this,"ViewCache unsorted after import"),this.context.Sa.sort(this.Ub,this.V));c&&R4c(this)};
_.g.$R=function(a,b){var c=this.ta[a.id],d=!!c,e=c7c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&b7c(this,"Updating different wrapper from the existing one"):b7c(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)?(d7c(this,b),e7c(this,a)):(c=this.V,d=this.ka?_.Ea(this.V,b,this.ka):_.ia(this.V,b),c[d]=a,a.H++,f7c(a)&&this.W++,b.H--,f7c(b)&&this.W--,_.Yf(this.ta,b.getId()),this.ta[a.getId()]=a)):(d7c(this,f),_.yN(this.Ub)&&X6c(this,0));
else{if(_.yN(this.Ub)&&!b)return!1;e7c(this,a.H)}else return!1;return!0};
var e7c=function(a,b){a.ka?oQc(a.V,b,a.ka):a.V.push(b);b.H++;f7c(b)&&a.W++;a.ta[b.getId()]=b},d7c=function(a,b){if(a.ka){var c=a.V,d=_.Ea(c,b,a.ka);0<=d&&_.pa(c,d)}else _.qa(a.V,b);b.H--;f7c(b)&&a.W--;_.Yf(a.ta,b.getId())},c7c=function(a,b,c){if(!b)return!1;if(a.vc&&!_.yN(a.Ub)){if(c)return!0;if(!a.uc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=sYc(a.context.Ha,a.Ub,b.getItem());return c&&a}}if(!sYc(a.context.Ha,a.Ub,b.getItem()))return!1;var e=1.2*a.Ub.Yh();if(1==a.H||!a.ka||
ZXc(b.V,2)||a.W<e||c||SQc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},a7c=function(a){if(1!=a.H&&!a.context.ka.$e()&&!a.context.Hh.$e()){var b=1.2*a.Ub.Yh();if(!(b>=a.W||a.ha&&b>=a.ha.qc())){b=a.W-a.Ub.Yh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];ZXc(d.V,2)||SQc(d.getItem())||(d.H--,f7c(d)&&a.W--,_.Yf(a.ta,d.getId()),_.pa(a.V,c),b--)}Y6c(a,!1)}}},b7c=function(a,b){var c=new _.Nb;_.oM(c,2);_.pM(c,6);_.Lr(c);a.context.dispatchEvent(new _.Pb(new _.Ob(b,
c)))},f7c=function(a){return!ZXc(a.V,2)&&3!=LO(a.getItem())};tQ.prototype.Ea=function(){a7c(this)};tQ.prototype.Ha=function(a){return 1!=this.H&&a.Yh()>this.W&&this.ha.H};
var i7c=function(a,b){_.P.call(this);var c=this;this.Wa=new _.Ie(this);this.Na(this.Wa);this.H=a;this.Ba=b;this.W={};this.ka=new d_c(a.ma);this.ha=new XYc(a.xf,a.Ha,a.Sa);this.Ha=new P6c;_.H(a.H,60)&&(this.Lb=new J6c(a.Ha,a.Sa));this.Ea=new RYc(a.W,_.cO(this.Ba));(b=_.sM(this.H.H))&&!_.E(b,1,!1)&&g7c(this,_.Ad(this.H.H,28));this.V=new $Yc(this.Ba,this.H.ma,this.ha,this.Ea);this.H.Ql().ha.H=this.V;this.va=new n5c(this.H,this.Ba,this.W,this.ha);this.Sa=new K6c(this.H,this.ha);this.Ka=new x6c(this.H,
this);_.Wd(this.Ka,function(){c.Ka=null});this.rb=_.tJc(mUc(this.Ba),h7c);wP(this.H.ha,["NSockf"],function(){return c.initialize()});wP(this.H.ha,["NSockf","jroI5d"],function(){var d=c.H.H;if(_.D(d,_.Nl,12))d=_.D(d,_.Nl,12);else{var e=_.eKc(_.gKc(new _.Cl,_.ON(_.gM(d))),!0);e=_.B(e,6,1);var f=_.G(_.gM(d),6,"");f&&e.Wb(f);e=_.nGc(_.KKc(_.LKc(_.XL((new _.Nl).Wb(c.H.uo()).setTitle(_.G(d,38,"My Drive")),"application/vnd.google-apps.folder").co(!1),e),[e]),1);e=_.B(e,29,!0);e=_.B(e,63,!0);f=e.Gn;d=_.hKc(new _.Il,
_.E(d,6,!0));d=_.B(d,2,!1);d=f.call(e,_.uKc(_.nKc(_.mKc(_.qKc(_.rKc(_.pKc(_.oKc(_.lKc(_.kKc(_.jKc(_.iKc(_.B(d,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}QO(c,[d],1);xP(c.H.ha,"hVFf7")});this.Ma=_.yi();wP(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new D_c(this.H.H,this.H.W,a.ta(),a.ol,this.H.Ql(),this.H.Rc.promise);_.iM(this.H.H)&&this.Wa.listen(this.ma,"Kb",this.Gb);this.Ab=new _.eNc(this.H.H,this.V)};_.N(i7c,_.P);
i7c.prototype.Gb=function(a){var b=this,c=a.getPeople();sQ(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.m(c);for(var e=c.next();!e.done;a={p9:a.p9},e=c.next())a.p9=e.value,this.ma.getItems(_.C(a.p9,1)).forEach(function(f){return function(h){var k=b.ha.get(h);k?d.set(h,k.getItem().clone()):sQ(b,"Unexpected missing wrapper for "+h+" with "+(_.C(f.p9,1)+" in the PeopleCache b/154479164."),"warning")}}(a));QO(this,[].concat(_.Mc(d.values())),1);this.H.va.update(6)};
i7c.prototype.initialize=function(){E6c(this.Ka)};
var l4c=function(a,b,c){if(c instanceof _.Qe)c=AP(a.H.ma,c),j7c(a,c.Hi()),M6c(a.Sa,c),a=k7c(a,c),N4c(a.cache,b);else if(c instanceof _.ap)c=l7c(a,c),j7c(a,c.Hi()),a=m7c(a,c),N4c(a.cache,b);else if(c instanceof _.$L){var d=rQ(a,c),e=a.W[d];e?(3==e.H?(sQ(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):sQ(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,Qt:!1}):(sQ(a,d+" | ItemQueryRequest backed by new cache"),e=new pQ(a.H,a.Ba,c),e.refresh().Xf(_.Af),
a.W[d]=e,a={cache:e,Qt:!0});N4c(a.cache,b)}else if(c instanceof _.ip)d=c.Hi(),e=a.Ea,SYc(e,e.V,e.ha,d),a=m7c(a,c),N4c(a.cache,b);else throw Error("Zf");return a.Qt},m4c=function(a,b,c){if(c instanceof _.Qe)c=AP(a.H.ma,c),O6c(a.Sa,c);else if(c instanceof _.ap)c=l7c(a,c);else if(!(c instanceof _.$L||c instanceof _.ip))throw Error("Zf");c=rQ(a,c);var d=a.W[c];d&&(O4c(d,b),d.isDisposed()&&delete a.W[c])},rQ=function(a,b){return BP(a.H.ma,b,2)},k7c=function(a,b){var c=rQ(a,b),d=a.W[c];if(d)return 3==d.H?
(sQ(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):sQ(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Qt:!1};d=[];for(var e=5,f,h,k=e_c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.bF(b);if(5!=e){f=1==e?void 0:b.Yh();d=n.lIa(b,f);f=n.vf();h=n instanceof IP?n.Pv():"";sQ(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.Y4()+" | initial "+d.length));break}}5==e&&sQ(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.$e()||a.H.Hh.$e())d=d.concat(a.ha.query(b,
1)),_.Ca(d,void 0,function(p){return p.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.bF(b)?e.bF(b):6,sQ(a,"Offline: Populate with "+d.length+" initial items(s)");d=new tQ(a.H,b,d,1==e,h);f&&d.Ly(f);d.cC(a.ha.query(b,2),1!=e);d.initialize().Xf(function(p){p=_.qM(p);_.Lr(p);a.H.dispatchEvent(new _.Pb(new _.Ob("Error during view cache init",p)))});a.W[c]=d;return{cache:d,Qt:!0}},m7c=function(a,b){var c=rQ(a,b),d=!1,e=a.W[c];if(e)e.B$(b)?sQ(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.om()),
b=n7c(a,b,d),d=!0,a.W[c]=b,o7c(e,b),e=b,sQ(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.om());e=n7c(a,b,f);d=!0;a.W[c]=e;sQ(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Qt:d}},n7c=function(a,b,c){var d;b instanceof _.ap?d=new c5c(a.H,a.Ba,b,c):d=new T6c(a.H,a.Ba,b,c);c.length&&d.Ly(8);d.refresh().Xf(_.Af);return d},p7c=function(a){return Object.values(a.W).filter(function(b){return b.Ed()instanceof _.$L})};
i7c.prototype.$a=function(a){for(var b=_.gf(new _.ff,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=IYc(this.H.ma,c,!0),sQ(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.va.H([a],b,!1,c))};
var P4c=function(a,b,c){c&&c.length&&UYc(a.Ea,b,c);_.iM(a.H.H)&&(a=a.ma,K_c(a,E_c(a,b)))},C5c=function(a,b,c){if(b instanceof pQ){var d=rQ(a,b.Ed());if(a.W[d]){sQ(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof $Zc&&a.ka.removeAll([b]);var e={},f=new Map;d=a.ha.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.WD().forEach(function(p){var r=p.getId(),u=a.ha.get(r);if(u){var x=LO(u.getItem());3==x||4==x?e[p.getId()]=p.getItem():
u!=p&&(x=l.push,u=new PZc(p.getId(),p,u),x.call(l,u));f.delete(r)}else r=HP(p),a.ha.update(r),a.Ha.update(r),_.iM(a.H.H)&&a.ma.uO(r);_.iM(a.H.H)&&q7c(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 pQ?(d=rQ(a,b.Ed()),a.W[d]=b):a.ka.addAll([b]);var n=[];_.Qf(e,function(p){var r=new _.mM;_.nM(r,p.getId());r.setItem(p);n.push(r)});a.ta(n);sQ(a,"Merged cache: "+b.getType());b instanceof LP&&
c.forEach(function(p){r7c(a.H.mj,p)});a.H.va.update(3)},o7c=function(a,b){(new Set([].concat(_.Mc(a.ma)))).forEach(function(c){N4c(b,c);O4c(a,c)})},QO=function(a,b,c,d,e,f){f||(f=d?[].concat(_.Mc(d.Hi().filter(function(A){return!_.cO(a.Ba).includes(A)}))):[]);d&&d instanceof _.Qe&&_.yN(d)&&s7c(a,b,d);for(var h=[],k=[],l=0;l<b.length;l++){var n=b[l],p=new vP(n,void 0,c),r=a.ha.get(n.getId()),u=r?r.getItem():null,x=t7c(a,r,p);if(null!=x)p.bT(x),u7c(a,u,n),RQc(n),n=lYc(n,u,f),p.setItem(n);else if(null!=
r)p=r,n=u;else continue;_.iM(a.H.H)&&q7c(a,n);!r||v7c(a,u,n,f)?(k.push(QZc(r,p)),h.push(p)):h.push(r)}b=null;d&&(b=rQ(a,d),b=a.W[b],d instanceof _.Qe&&(d=h_c(a.ka,d))&&d.cC(h,!!e),b&&b.cC(h,!!e));0<k.length&&(e=_.Oc(a.W),b&&_.qa(e,b),w7c(a,k,e,f),x7c(a,h));nQ(a.H).ka()},q7c=function(a,b){O_c(a.ma,b)||5!=LO(b)||_.RKc(b,1)},v7c=function(a,b,c,d){(b=b?_.Sk(b.clone(),82):null)&&P4c(a,[b],d);c=_.Sk(c.clone(),82);P4c(a,[c],[]);return!_.fl(b,c)},s7c=function(a,b,c){y7c(a,b,c);b.forEach(function(d,e){var f=
a.V.H(d.getId());f&&(IO(f,d,[1002]),IO(f,d,[1003]),IO(f,d,[1005]),b[e]=f);_.aN(c)&&0<_.Ad(c,33).length&&_.SKc(d,_.Ad(c,33)[0])})},y7c=function(a,b,c){var d;_.aN(c)?d="quick access":_.bN(c)?d="people predict":_.cN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");sQ(a,"Got "+b.length+" items for "+d+": "+c)},v4c=function(a,b){var c={};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.Qf(c,function(d,e){e=Number(e);QO(a,iRc(d),e)})};
i7c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.yj()?null:d.getItem(),f=d.Kc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new vP(e,void 0,void 0,d.Rz()||void 0);var l=t7c(this,f,k);if(null==l)continue;k.bT(l);u7c(this,h,e);_.E(d,5,!1)&&tQc(e,IQc);RQc(e);e=lYc(e,h);k.setItem(e);_.iM(this.H.H)&&q7c(this,e)}l=this.H.Dt;r7c(l.H.mj,d);if(zP(d)){var n=_.C(d,7);d.yj()?z7c(l,n):(d=d.getItem(),mYc(d)&&A7c(l,n))}(h&&!e||e&&v7c(this,h,e,[]))&&b.push(QZc(f,k))}w7c(this,
b,_.Oc(this.W),[])};
var u7c=function(a,b,c){b&&!c.vn()&&IO(c,b,a.rb);var d=b?b.Uf():null,e=c.Uf();e=e?_.Gd(e):null;d&&e&&u7c(a,_.Gd(d),e);b&&!_.Xl(c)&&IO(c,b,[1002]);b&&!_.Yl(c).length&&IO(c,b,[1003]);b&&!_.al(c,_.Fl,117).length&&IO(c,b,[1005]);b&&null==c.V()&&IO(c,b,[71]);b&&null==_.C(c,79)&&IO(c,b,[73]);b&&_.H(b,31)&&!_.H(c,31)&&(tQc(c,IQc),sQ(a,"Cleared Item Suggest data for "+b.getId()+"."))},Z4c=function(a,b,c){if(b instanceof _.Qe||b instanceof _.ap||b instanceof _.$L)b=rQ(a,b),(a=a.W[b])&&T4c(a,c);else throw Error("Zf");
},t7c=function(a,b,c){var d=c.getItem();if(q0c(a.H.we,d.getId()))return null;if(b){if(!YXc(b.V,c.V))return null;a=b.getItem();if(3!=LO(a)&&!zP(a)&&!zP(d)&&a.Zc()==d.Zc())if(_.C(a,75)&&_.C(d,75)){if(_.C(a,75)>_.C(d,75))return null}else if(b.Rz()&&c.Rz()){if(b.Rz()>c.Rz())return null}else if(a.Hr()>d.Hr())return null}return $Xc(b&&b.V,c.V)},B7c=function(a,b){(a=a.ha.get(b))&&a.bT($Xc(a.V,-2))},C7c=function(a,b,c){b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Ea.update(d.id,d.H?d.H.getItem():
null,c)},w7c=function(a,b,c,d){_.iM(a.H.H)&&b.forEach(function(k){return a.ma.uO(k)});C7c(a,b,d);c=_.m(c);for(d=c.next();!d.done;d=c.next())S4c(d.value,b);c=0;b=_.m(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=e_c(a.ka);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.ha.update(e);a.Ha.update(e);a.ha.get(e.id)||WYc(a.Ea,e.id)}0<c&&a.H.va.gNa(c);D7c(a)},D7c=function(a){var b=a.Ha.V.slice(0),c=Q6c(a.Ha);R6c(a.Ha);if(b.length){sQ(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.ff;_.gf(d,308);a.va.H(b,d,!0)}if(c.length){sQ(a,"Updating locally stale shortcuts: "+c.join(", "));b=aZc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Uf(),k=_.C(h,1);if(k=a.V.H(k))_.z(h,5,k),_.B(h,4,1),e.push(f)});v4c(a,e)}},l7c=function(a,b){_.Fa(b.Hi());var c=_.ia(b.om(),"root");if(0>c)return b;b=_.gl(b);b.om()[c]=a.H.uo();return b},g7c=function(a,b){b=nUc(a.Ba,b);a=a.Ea;SYc(a,a.H,a.W,b)},j7c=function(a,
b){var c=_.sM(a.H.H);c&&_.E(c,1,!1)&&g7c(a,b)},x7c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==LO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});sQ(a,"Refreshing "+c.length+" partial items. "+c);var d=_.gf(new _.ff,311);a.va.H(c,d)}})},I6c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!h_c(a.ka,c)){sQ(a,"Adding new cache hint for "+rQ(a,c));var d=new IP(a.H.Ha,a.H.Sa,a.H.ma,c);c=new s5c(a.H,d,c);var e=RP(a.H.Ba,null);_.zi(t5c(c).then(function(){w5c(d,
e).then(function(f){C5c(a,d,f)})}),function(){y0c(a.H.Ba,null)})}})})},sQ=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},h7c=[50];
var F7c=function(a){_.P.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.Sm;var c=_.yi();this.Ea=c.promise;u2c(this.H.Ea).then(function(d){b.V=d||[];c.resolve();E7c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;wP(this.H.ha,["rVezo"],(0,_.v)(this.ka,this))};_.N(F7c,_.P);
var N6c=function(a,b){_.E(a.H.H,46,!1)&&a.Ea.then(function(){if(a.V[0]!=b){_.qa(a.V,b);for(mYc(a.H.V.V.H(b))?vQ(a,b,"Hidden TD, not tracking in recency list"):_.ya(a.V,0,0,b);a.V.length>2*_.Kk(a.H.H,47,5);)a.V.pop();WP(a.H.Ea,n2c,a.V)}_.ta(a.H.V.ka.V).length+a.W.size<_.Kk(a.H.H,47,5)&&(E7c(a),a.ka())})},A7c=function(a,b){_.qa(a.V,b)&&WP(a.H.Ea,n2c,a.V)},z7c=function(a,b){A7c(a,b);a.ha.contains(b)&&a.ha.remove(b);var c=a.W.get(b);c&&c.dispose();a.W.delete(b);c=a.H.V.ka;for(var d=_.ta(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.H==b){vQ(a,b,"Cache removed");c.removeAll([f]);a.H.va.update(3);break}}qQ(a.H).addCallback(function(h){h.uxa(b,!0)});a.ka()};
F7c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;G7c(this);for(var b={};this.ha.qc()&&!(this.ma>=_.Kk(this.H.H,47,5));){var c=_.Tm(this.ha);this.ma++;g_c(a,c)||this.W.has(c)||(this.W.set(c,null),b.t9=new _.QJc,_.B(b.t9,1,c),this.H.ta().then(function(d){return function(e){return e.H(d.t9)}}(b)).then(this.Ba.bind(this,c),this.va.bind(this,c)));b={t9:b.t9}}}};
var E7c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},G7c=function(a){_.q.clearTimeout(a.ta);a.ta=_.q.setTimeout(function(){E7c(a);a.ka()},36E5)};F7c.prototype.Ba=function(a,b){var c=_.C(b,1);c&&c>_.Kk(this.H.H,48,1E3)?(vQ(this,a,"Too large to backfill: "+_.C(b,1)),H7c(this,a,!1)):I7c(this,a)};
F7c.prototype.va=function(a,b){(b=_.qM(b).xj())&&4==b?(vQ(this,a,"Non-existent or inaccessible, removing from cache"),a=_.xM(_.UIc(_.nM(new _.mM,a),a)),this.H.V.ta([a])):I7c(this,a)};
var I7c=function(a,b){var c=new LP(a.H.Ha,a.H.Sa,b),d=_.gl(c.Ed());d.Li(_.Kk(a.H.H,48,1E3));d=new s5c(a.H,c,d);a.W.set(b,d);vQ(a,b,"Backfill started");var e=RP(a.H.Ba,b);qQ(a.H).addCallback(function(f){f.ala(b)});_.zi(t5c(d).then(function(){J7c(a,b,c,e)},function(){vQ(a,b,"Backfill failed");a.ma--;H7c(a,b,!0)}),function(){y0c(a.H.Ba,b)})},J7c=function(a,b,c,d){c.W?(c.NX(),w5c(c,d).then(function(e){vQ(a,b,"Backfill complete, size: "+c.Y4());C5c(a.H.V,c,e);H7c(a,b,!1)},function(){vQ(a,b,"Backfill changes failed");
H7c(a,b,!0)})):(vQ(a,b,"Backfill exceeded size limit"),H7c(a,b,!0))},H7c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&qQ(a.H).addCallback(function(e){e.uxa(b,!1)});a.ka();0<a.W.size||_.ta(a.H.V.ka.V).map(function(e){return e.H}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return z7c(a,e)})},vQ=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)};
var K7c=function(){_.P.apply(this,arguments)};_.N(K7c,_.P);
var N7c=function(a,b){b=L7c(b);var c=a.getItem(),d=M7c(c.getCapabilities());b.BY.forEach(function(e){_.nGc(e.getItem(),c.Qn());e.getItem().Gn(d.clone())});return b},Q7c=function(a,b,c){var d=O7c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new vP(b),children:[]};P7c(a,d,c);return c},O7c=function(a){var b={};a.map(function(c){c.getItem().oj().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},P7c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(P7c(a,
b,{H:e,parent:c,children:[]}))});return c},S7c=function(a,b){var c=b.children.filter(function(h){return!_.Pl(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.nGc(f,a.Qn()),R7c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.Pl(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},T7c=function(a){var b=a.children.filter(function(f){return!_.Pl(f.H.getItem())});a=new Map;for(var c=[];b.length;){var d=b.pop(),
e=d.H.getItem();a.has(e.getId())||(c.push(_.xM(_.nM(new _.mM,e.getId()))),d.children.map(function(f){_.Pl(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},L7c=function(a){var b=[],c=[];a.forEach(function(d){_.Pl(d.getItem())||_.H(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{uV:c,BY:b}},M7c=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);_.AKc(a,b);_.B(a,30,c);_.vKc(a,b);_.BKc(a,c);_.wKc(a,c);_.xKc(a,b);_.iKc(a,b);
_.nKc(a,c);_.tKc(a,b);_.sKc(a,_.H(a,7));_.mKc(a,_.H(a,10)||_.H(a,11));_.uKc(a,_.Jl(a));_.Sk(a,18);_.Sk(a,13);_.Sk(a,10);_.yKc(a,_.H(a,42));_.zKc(a,_.H(a,43));_.CKc(a,_.H(a,48));return a},R7c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.H(d,30);_.B(e,30,f);_.vKc(e,_.H(d,31));_.BKc(e,_.H(d,47));_.wKc(e,_.H(d,32));_.xKc(e,_.H(d,33));_.iKc(e,_.H(d,4));_.nKc(e,_.H(d,9));_.uKc(e,_.H(d,21));_.tKc(e,_.H(d,20));_.sKc(e,_.H(d,17));_.hKc(e,_.Jl(d));_.lKc(e,_.H(d,7));_.oKc(e,_.H(d,10));
_.pKc(e,_.H(d,11));f=_.H(d,45);_.B(e,45,f);_.AKc(e,_.H(d,46));_.CKc(e,_.H(d,48));a=_.Pl(a);_.B(b,137,a);c&&(c=c.getCapabilities(),KO(b)?(_.mKc(e,_.H(c,43)),_.zKc(e,_.H(c,43)),_.yKc(e,_.H(c,42))):_.mKc(e,_.H(c,42)))};
var U7c=function(a){this.H=a;this.ha=new K7c;this.V=a.V;this.W=_.gf(new _.ff,306)},r7c=function(a,b){if(zP(b))if(b.yj())V7c(a,b);else{var c=b.Kc(),d=W7c(a,c),e=a.V.V.H(c);b=N7c(b,d);v4c(a.H.V,b.BY);a.V.va.H(b.uV,a.W);X7c(a,c,"SD update | Update "+b.BY.length+" item(s), "+b.uV.length+" divergent items");if(d=vUc(a.H.Ql(),106017)){var f=rUc(d);_.B(f,1,b.uV.length);_.B(f,2,b.BY.length);d.H()}e||(a=a.V.va,c&&(o5c(a,"Processing potential rejoin for TD: "+c),b=_.EO(_.jm(_.DO(new _.Qe,[c]),_.cO(a.ma)),1),
e=_.gf(new _.ff,306),_.km(b,e),q5c(a),b=new l5c(a.V,b),j5c(b,5E3).addCallback(a.ka.bind(a,b)),p5c(a),r5c(a,c)))}else if(_.E(a.H.H,86,!1)){c=b.Kc();e=a.V.V.H(c);if(e&&e.Zc()&&KO(b.getItem()||e)){if(d=!!_.Pl(e),!b.yj()){var h=b.getItem();f=_.Pl(e)!=_.Pl(h);h=h.Qn()!=e.Qn();d=f||d&&h}}else d=!1;if(d)if(b.yj()){if(b=W7c(a,e.Zc()),e=a.ha,d=(new _.Nl).Wb(c),b=(b=Q7c(e,d,b))?T7c(b):[],a.H.V.ta(b),X7c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=vUc(a.H.Ql(),106009))c=qUc(a),_.B(c,2,b.length),
a.H()}else if(c=b.getItem(),e=W7c(a,c.Zc()),d=a.ha,c=b.getItem(),c=(e=Q7c(d,c,e))?S7c(c,e):[],v4c(a.H.V,c),X7c(a,b.Kc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=vUc(a.H.Ql(),106010))b=qUc(a),_.B(b,1,c.length),a.H()}},V7c=function(a,b){var c=b.Kc();b=W7c(a,c);b=L7c(b);var d=_.gb(b.BY,function(e){return _.xM(_.nM(new _.mM,e.getId()))});a.H.V.ta(d);a.V.va.H(b.uV,a.W);X7c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.uV.length+" divergent items");if(a=vUc(a.H.Ql(),106016))c=rUc(a),
_.B(c,1,b.uV.length),_.B(c,2,b.BY.length),a.H()},W7c=function(a,b){var c=new _.Qe;_.DO(c,[b]);_.EO(c,2);return cZc(a.V.V,c)},X7c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)};
var Y7c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
Y7c.prototype.nP=function(a,b){var c=this;if(a.sQ().length){var d=l0c(this.H,a.Kc());if(d){var e=d?this.H.lba(a):[];for(var f={},h=_.m(a.sQ()),k=h.next();!k.done;f={lH:f.lH},k=h.next())if(k=k.value,f.lH=Z7c(e,k.Nl(),a.Kc()),_.H(k,3))s0c(this.H,f.lH),_.zi(b,function(r){return function(){c.H.W.ha(T_c(r.lH))}}(f));else{for(var l=_.m(_.al(k,_.nH,2)),n=l.next();!n.done;n=l.next())$7c(this,f.lH,n.value);k=_.m(_.Ad(k,4));for(l=k.next();!l.done;l=k.next())a8c(f.lH,l.value);PP(this.H,[f.lH],!1,-1);b.then(function(r){return function(){return m0c(c.H,
r.lH.getName())}}(f),function(r){return function(){return m0c(c.H,r.lH.getName())}}(f))}e=b8c(d.b5().response)}}e=e?e:b8c();var p=e.V;b.then(function(r){p.resolve(r)},function(r){p.reject(_.FM(r));var u=a.Kc();u0c(c.ha,u);r=_.qM(r);_.B(r,21,"Server error updating metadata after optimistic application.");c.W(r)});return e};
var b8c=function(a){a=void 0===a?new gP:a;return new fYc(a.Bc(1))},Z7c=function(a,b,c){var d=a.find(function(e){return S_c(e.getName(),b)});d||(d=xVc((new eP).$c(b),c),a.push(d));return d},$7c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new cP,d.Wb(c.getId()),wVc(b,b.V().concat([d])),c8c(d,c));if(1==dP(d))d.setBooleanValue(_.H(c,3));else if(12==dP(d))d.setDateStringValue(_.C(c,17));else if(2==dP(d))d.setTextValue(_.C(c,4));else if(3==dP(d))_.Ad(c,6).length?d.Iha(_.Ad(c,
6)):_.Ad(c,5).length&&(a=_.Ad(d,7).concat(_.Ad(c,5)),d.Iha(a));else if(4==dP(d))d.setLongTextValue(_.C(c,7));else if(5==dP(d))d.setSelectionValue(_.C(c,8));else if(6==dP(d))_.Ad(c,10).length?d.Eha(_.Ad(c,10)):_.Ad(c,9).length&&(a=d.ZEa().concat(_.Ad(c,9)),d.Eha(a));else if(7==dP(d))d.setIntegerValue(_.C(c,11));else if(8==dP(d))_.Ad(c,13).length?d.xha(_.Ad(c,13)):_.Ad(c,12).length&&(a=_.Ad(d,12).concat(_.Ad(c,12)),d.xha(a));else if(10==dP(d))d.setUserValue(a.V(_.C(c,14)));else if(11==dP(d))_.Ad(c,
16).length?tVc(d,_.Ad(c,16).map(a.V)):_.Ad(c,15).length&&tVc(d,d.fIa().concat(_.Ad(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(dP(d)+"."),new _.Ob(d,new _.Nb);},a8c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==dP(a))_.Sk(a,5);else if(12==dP(a))_.Sk(a,17);else if(2==dP(a))_.Sk(a,6);else if(3==dP(a))_.AM(a,7);else if(4==dP(a))_.Sk(a,8);else if(5==dP(a))_.Sk(a,9);else if(6==dP(a))_.AM(a,10);else if(7==dP(a))_.Sk(a,11);else if(8==dP(a))_.AM(a,
12);else if(10==dP(a))_.Tk(a,15);else if(11==dP(a))_.BM(a,16);else throw a="Optimistic Applier: Unsupported value type "+(dP(a)+"."),new _.Ob(a,new _.Nb);},c8c=function(a,b){_.Gk(b,3)?a.ay(1):_.Gk(b,17)?a.ay(12):_.Gk(b,4)?a.ay(2):_.Ad(b,6).length||_.Ad(b,5).length?a.ay(3):_.Gk(b,7)?a.ay(4):_.Gk(b,8)?a.ay(5):_.Ad(b,10).length||_.Ad(b,9).length?a.ay(6):_.Gk(b,11)?a.ay(7):_.Ad(b,13).length||_.Ad(b,12).length?a.ay(8):_.Gk(b,14)?a.ay(10):(_.Ad(b,16).length||_.Ad(b,15).length)&&a.ay(11)};
Y7c.prototype.V=function(a){return _.fKc(_.dKc(1),a)};
var d8c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ba=e;this.va=f;this.W=k;this.Ea=h;this.ha=0};d8c.prototype.apply=function(a,b){var c=this;if(!_.xN(a))return b;var d;a instanceof _.RM?d=e8c(this,a,b):a instanceof _.XM?d=f8c(this,b):a instanceof _.tM?d=g8c(this,a,b):a instanceof _.MM?d=h8c(this,a,b):a instanceof _.nN&&(d=this.ta.nP(a,b));d&&(this.ha++,this.ka.setActive(!1),_.zi(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.si(d):b};
var e8c=function(a,b,c){o0c(a.V,b.getId());var d=a.H.V.H(b.getId());_.zi(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.qM(e);_.B(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.wN).Bc(1)},f8c=function(a,b){var c=(new _.Qe).co(!0);c=a.H.V.query(c).map(function(d){return d.getId()});p0c(a.V,c);_.zi(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.qM(d);_.B(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.wN).Bc(1)},h8c=function(a,b,c){var d=_.C(b,1),e=a.H.V.H(d);if(!e)return null;e=_.gl(e);P4c(a.H,[e],[157]);var f=e.Fk();i8c(f,_.al(b,_.Ml,2));j8c(f,_.al(b,_.Ml,3));QO(a.H,[e],-1,void 0,void 0,[157]);_.zi(c,function(){B7c(a.H,d)}).then(function(h){QO(a.H,[h.Q2()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.qM(h);_.B(h,21,"Server error updating item after optimistic application.");a.W(h)});return LVc(new KVc,e).Bc(1)},i8c=function(a,b){var c={};b=_.m(b);for(var d=
b.next();!d.done;c={j9:c.j9},d=b.next())c.j9=d.value,_.al(a,_.Ml,8).some(function(e){return function(f){return f.Nl()==e.j9.Nl()}}(c))||_.dl(a,8,c.j9,_.Ml,void 0)},j8c=function(a,b){var c=b.map(function(d){return d.Nl()});b=_.al(a,_.Ml,8).filter(function(d){return!c.includes(d.Nl())});BQc(a,b)},g8c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.Zc()&&0==b.ki())return null;var e=_.Ad(b,10),f=_.Ad(b,9);if(0<e.length&&0<f.length&&(e=Object.values(bZc(a.H.V,e.concat(f))).map(function(k){return k.Zc()||
"root"}),_.Ca(e),1<e.length))return null;var h=_.gl(d);k8c(a,b,h);QO(a.H,[h],-1,void 0,void 0,lUc(a.va));c.then(function(){return B7c(a.H,b.getId())},function(){B7c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.qM(k);if(63==k.xj()){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 _.rLc((new _.wN).setItem(h),h.getId()).Bc(1)},k8c=function(a,b,c){null!=b.zg()&&c.Xl(b.zg());null!=b.Ri()&&_.PKc(c,b.Ri());null!=
b.$b()&&_.XL(c,b.$b());null!=_.C(b,7)&&_.mGc(c,_.C(b,7));null!=_.H(b,11)&&_.JKc(c,_.H(b,11));null!=_.H(b,4)&&c.qt(_.H(b,4));null!=_.H(b,16)&&_.OKc(c,_.H(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.ki()&&(c.co(b.ki()),_.NKc(c,b.ki()));null!=b.Vq()&&_.HO(QQc(c,!0),b.Vq());_.Ad(b,8).length&&_.IN(c,_.Ad(b,8));if(_.Ad(b,9).length){var d=new Set(c.oj());_.Ad(b,9).forEach(function(n){return d.add(n)});_.IN(c,[].concat(_.Mc(d)))}if(_.Ad(b,10).length){var e=new Set(c.oj());_.Ad(b,10).forEach(function(n){return e.delete(n)});
_.IN(c,[].concat(_.Mc(e)));var f=c.Pr();f&&_.Ad(b,10).includes(f)&&_.Sk(c,46)}if(!c.Pr()){var h=a.Ea();f=c.oj().find(function(n){var p=a.H.V.H(n);return p&&!!p.Pr()||n==h});_.B(c,46,f||void 0)}c.oj().length&&(f=a.H.V.H(c.oj()[0]))&&_.SKc(c,f.Zc());if(f=_.D(b,_.Kl,25)){var k=_.D(c,_.Kl,111)||new _.Kl;null!=_.H(f,1)&&_.DKc(k,_.H(f,1));null!=_.C(f,2)&&_.EKc(k,_.C(f,2));_.z(c,111,k)}var l=_.Ad(c,120);_.Ad(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.Ad(b,32).forEach(function(n){_.qa(l,n)});
_.B(c,120,l||[])};d8c.prototype.ma=function(a,b){var c=this,d=_.cp(new _.ap,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.Sr().Nd()[0];QO(c.H,[_.gl(e)],1)},function(){b&&QO(c.H,[_.gl(b)],1)})};
var xRc=function(a,b){return[l8c,m8c,n8c,o8c].reduce(function(c,d){var e;0!=c?e=c:e=_.Da(d(a),d(b));return e},0)},l8c=function(a){return p8c[a.Bg()]},m8c=function(a){return q8c[a.getType()]},n8c=function(a){return a.getName()||""},o8c=function(a){return a.getId()||""},wQ={},p8c=(wQ[5]=0,wQ[7]=1,wQ[1]=2,wQ[3]=3,wQ[4]=4,wQ[2]=5,wQ[6]=6,wQ),r8c={},q8c=(r8c[1]=0,r8c[2]=1,r8c[3]=2,r8c[4]=3,r8c);
var s8c=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};
s8c.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.wN&&8==b.Hb()))if(a instanceof _.LM||a instanceof _.NM||a instanceof _.FJc||a instanceof _.tM||a instanceof _.pN||a instanceof _.OJc||a instanceof _.tN){var d=_.wM(_.gl(b.getItem()),9);QO(this.H,[d],1);U0c(this.Ba,b.getItem(),_.cO(this.ta))}else a instanceof _.RM?(b=_.xM(_.nM(new _.mM,a.getId())),this.H.ta([b])):a instanceof _.UM?(b=_.xM(_.UIc(_.nM(new _.mM,a.getId()),a.getId())),this.H.ta([b]),r7c(this.va,b)):a instanceof _.XM?(b=(new _.Qe).co(!0),
b=this.H.V.query(b).map(function(e){return _.xM(_.nM(new _.mM,e.getId()))}),this.H.ta(b)):"undefined"!=typeof _.PM&&a instanceof _.PM?this.V.remove(a.V()):"undefined"!=typeof _.ZM&&a instanceof _.ZM||"undefined"!=typeof _.mN&&a instanceof _.mN?this.V.bNa(_.D(b,_.hP,2)):"undefined"!=typeof _.SM&&a instanceof _.SM?wRc(this.H,a):"undefined"!=typeof _.EE&&a instanceof _.EE?this.ha.remove(a.getKey()):"undefined"!=typeof _.$M&&a instanceof _.$M?yRc(this.H,a,b.I2()):"undefined"!=typeof _.FE&&a instanceof
_.FE?t8c(this.ha,b.cFa()):a instanceof _.OM||a instanceof _.qN?PP(this.ka,[b.Rl()],!1):a instanceof _.VM?PP(this.ka,[G0c(a.getId())],!1):a instanceof _.EJc?PP(this.W,b.response.V(),!1,1):a instanceof _.nN?(a.sQ().filter(function(e){return _.H(e,3)}).forEach(function(e){return c.W.removeItem(e.Nl()||"",a.Kc())}),u0c(this.ma,a.Kc()),this.H.$a(a.Kc())):"undefined"!=typeof _.bO&&a instanceof _.bO&&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.Kc())){var f=new _.mM;f=_.B(f,5,!0);e=_.nM(f,e.getId()).setItem(_.gl(e));c.H.ta([e])}}}})};
var u8c=function(a){this.H=a};
u8c.prototype.V=function(a){if(a instanceof _.jN){var b=this.H.H(a.getId());if(!b)return new _.Nb;var c=(new _.tM).Wb(a.getId());if(b.Zc()){var d=b.getCapabilities();_.Cd(d)||_.H(d,9)?c.co(!0):_.uM(c,!1)}else d=a.getParent(),1==b.Qn()?c.co(!0):d?(b=this.H.H(d),!b||_.H(b.getCapabilities(),7)?MTc(c,[d]):_.uM(c,!1)):_.uM(c,!1);return c}if("undefined"!=typeof _.kN&&a instanceof _.kN)return OTc(NTc(MTc(LTc((new _.tM).Wb(a.getId()),a.M3a()),a.N3a()),a.O3a()),a.L3a());if(a instanceof _.CJc){b=this.H.H(a.getId());
if(!b)return new _.Nb;c=(new _.tM).Wb(a.getId());b.Zc()?(d=b.getCapabilities(),_.Cd(d)||_.H(d,9)?c.co(!1):_.uM(c,!0)):(d=a.getParent(),1==b.Qn()?c.co(!1):d?(b=this.H.H(d),!b||_.Jl(b.getCapabilities())?LTc(c,[d]):_.uM(c,!0)):_.uM(c,!0));return c}return a instanceof _.mO?new _.FJc(a):"undefined"!=typeof _.xQ&&a instanceof _.xQ?a.V().map(function(e){var f=new _.nN;e=_.B(f,1,e);f=a.sQ();e=_.hb(e,2,f);f=a.ue();return _.z(e,3,f)}):a};
var v8c=function(){};v8c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.dN&&a instanceof _.dN?(a=a.getId()||"",_.bd(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.QM&&a instanceof _.QM&&(a=a.getId()||"",_.bd(a)&&(b="Tried to delete backup with no id."));return b?_.qM(b):null};
var w8c=function(a,b){this.V=a;this.H=b},z8c=function(a,b){_.uO(["drive#about"],b);var c=new _.eQ,d=new _.tD;if(b.user){var e=_.wO(a.V,b.user);_.z(d,1,e)}a=x8c(a,b);a=HTc(GTc(_.FTc(new _.Fmb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.JTc(a,_.CTc(_.BTc((new _.sD).Bc(y8c[e.status]),Number(e.trialMillisRemaining)),_.vO(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.KTc(a,_.ETc(_.DTc(new _.Emb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&ITc(a,b.importFormats.map(function(f){var h=new _.ATc;h=_.B(h,1,f.source);return _.B(h,2,f.targets||[])}));_.z(d,3,a);_.p3c(c,d);b=b.largestChangeId;null!=b&&_.B(c,4,Number(b));return c},x8c=function(a,b){var c=new _.Dmb;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=_.uTc(_.tTc(c,ARc(b.quotaBytesByService||[])),A8c[b.quotaType]);if(_.E(a.H,5,!1)){a=
_.wTc(_.vTc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-CRc(b);a=_.B(a,9,d);a=_.xTc(a,Number(b.quotaBytesUsedAggregate));a=_.B(a,11,Number(b.quotaBytesUsedInTrash));a=_.B(a,13,_.MQc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.yTc(a,B8c[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.endDate&&(a=new _.Cmb,d=_.xWa(new Date(b.graceQuotaInfo.endDate)),
a=_.z(a,1,d),b=_.B(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),_.z(c,12,b));b=c}else b=c;return b},B8c={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},BRc={POOLED_STORAGE:0,FAMILY:1},y8c={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},zRc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},A8c={LIMITED:1,UNLIMITED:2,POOLED:3};
var C8c={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},D8c={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},E8c={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},F8c={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},G8c={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},H8c={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},I8c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},
J8c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},K8c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},L8c={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},M8c={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},N8c={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},O8c={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},P8c={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Q8c={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},R8c={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},S8c={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},T8c={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},U8c={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},V8c={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},W8c={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},X8c={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},d9c=function(a){return a.map(function(b){var c=new _.sP;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=Y8c(e);_.z(c,2,d);break;case "actors":d=Z8c(e);_.hb(c,3,d);break;case "actions":d=$8c(e);_.hb(c,
4,d);break;case "targets":d=a9c(e);_.hb(c,5,d);break;case "timestamp":c.V(b9c(e));break;case "timeRange":d=c9c(e),_.cl(c,7,IXc[0],d)}}return c})},$8c=function(a){return a.map(function(b){var c=new _.GXc;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=Y8c(e);_.z(c,1,d);break;case "source":d=new zXc;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":_.Yk(d,2,C8c[h]);break;case "appId":_.Xk(d,1,h)}}_.z(c,2,d);break;case "actor":d=e9c(e);_.z(c,3,d);break;case "target":d=f9c(e);_.z(c,4,d);break;case "timestamp":c.V(b9c(e));break;case "timeRange":d=c9c(e),_.cl(c,6,FXc[0],d)}}return c})},a9c=function(a){return a.map(function(b){return f9c(b)})},h9c=function(a){return a.map(function(b){return g9c(b)})},f9c=function(a){var b=new _.EXc;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=i9c(d);_.cl(b,1,_.DXc[0],c);break;case "drive":c=new _.AXc;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.$c(f);break;case "title":c.setTitle(f);break;case "root":e=i9c(f),_.z(c,3,e)}}_.cl(b,5,_.DXc[0],c);break;case "fileComment":c=new _.BXc;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":_.Xk(c,
1,f);break;case "legacyDiscussionId":_.Xk(c,2,f);break;case "linkToDiscussion":_.Xk(c,3,f);break;case "parent":c.Qg(i9c(f))}_.cl(b,3,_.DXc[0],c)}}return b},g9c=function(a){var b=new _.QWc;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 _.mP;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.$c(f);break;case "title":c.setTitle(f);
break;case "driveFile":e=c;f=new KWc;_.cl(e,8,OWc[0],f);break;case "driveFolder":e=j9c(f);_.cl(c,9,OWc[0],e);break;case "driveShortcut":e=k9c(f),_.cl(c,10,OWc[0],e)}}_.cl(b,1,PWc[0],c);break;case "drive":c=l9c(d),_.cl(b,3,PWc[0],c)}}return b},i9c=function(a){var b=new _.NWc;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.$c(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Xk(b,6,d);break;case "version":_.Vk(b,
5,d);break;case "owner":c=new IWc;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=m9c(f);_.z(c,3,e);break;case "user":e=yQ(f);_.cl(c,1,HWc[0],e);break;case "drive":e=l9c(f),_.cl(c,4,HWc[0],e)}}_.z(b,7,c);break;case "driveFile":c=new KWc;_.cl(b,8,JWc[0],c);break;case "driveFolder":c=j9c(d);_.cl(b,9,JWc[0],c);break;case "driveShortcut":c=k9c(d),_.cl(b,10,JWc[0],c)}}return b},l9c=function(a){var b=new FWc;
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.$c(d);break;case "title":b.setTitle(d)}}return b},j9c=function(a){var b=new _.LWc;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":_.Yk(b,6,D8c[d])}}return b},k9c=function(a){var b=new _.MWc;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":_.Xk(b,1,d);break;case "targetMimeType":_.Xk(b,2,d)}}return b},Z8c=function(a){return a.map(function(b){return e9c(b)})},e9c=function(a){var b=new _.yXc;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=yQ(d);_.cl(b,1,_.xXc[0],c);break;case "anonymous":c=new uXc;_.cl(b,2,_.xXc[0],c);break;case "impersonation":c=new _.vXc;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=yQ(f),_.z(c,1,e)}}_.cl(b,3,_.xXc[0],c);break;case "system":c=new _.wXc;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":_.Yk(c,1,E8c[f])}_.cl(b,4,_.xXc[0],c);break;case "administrator":c=new _.tXc,_.cl(b,5,_.xXc[0],c)}}return b},n9c=function(a){return a.map(function(b){return yQ(b)})},yQ=function(a){var b=
new _.mWc;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 _.kP;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":_.Xk(c,1,f);break;case "isCurrentUser":_.Wk(c,2,f);break;case "displayName":_.Xk(c,3,f);break;case "photoUrl":c.Hn(f)}}_.cl(b,2,_.kWc[0],c);break;case "unknownUser":c=new nWc;_.cl(b,4,_.kWc[0],
c);break;case "deletedUser":c=new _.lWc,_.cl(b,3,_.kWc[0],c)}}return b},b9c=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.wWa((new _.cy).setSeconds(a),b)},c9c=function(a){var b=new _.rP;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.aT(b9c(d));break;case "endTime":b.AC(b9c(d))}}return b},m9c=function(a){var b=new _.EWc;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.$c(d);break;case "legacyId":_.Xk(b,3,d);break;case "audienceDisplayName":_.Xk(b,4,d)}}return b},Y8c=function(a){for(var b=new _.sXc,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 _.VWc,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 x=
k,A=new SWc;_.cl(x,1,_.RWc[0],A);break;case "upload":var F=k,J=new TWc;_.cl(F,2,_.RWc[0],J);break;case "copy":for(var I=u,R=new _.UWc,S=_.m(Object.entries(I)),ea=S.next();!ea.done;ea=S.next()){var ba=_.m(ea.value),ua=ba.next().value,oa=ba.next().value;switch(ua){case "originalObject":var ka=g9c(oa);_.z(R,1,ka)}}_.cl(k,3,_.RWc[0],R)}}_.cl(b,1,_.qP[0],k);break;case "edit":var za=new $Wc;_.cl(b,2,_.qP[0],za);break;case "move":for(var Pa=new _.eXc,ub=_.m(Object.entries(h)),Za=ub.next();!Za.done;Za=ub.next()){var Ub=
_.m(Za.value),ad=Ub.next().value,Rd=Ub.next().value;switch(ad){case "addedParents":var Ue=h9c(Rd);_.hb(Pa,1,Ue);break;case "removedParents":var Ne=h9c(Rd);_.hb(Pa,2,Ne);break;case "fromOwnershipTransfer":_.Wk(Pa,3,Rd);break;case "reparents":var Ve=Rd.map(o9c);_.hb(Pa,4,Ve)}}_.cl(b,3,_.qP[0],Pa);break;case "rename":for(var Oe=new _.kXc,Kh=_.m(Object.entries(h)),md=Kh.next();!md.done;md=Kh.next()){var Lh=_.m(md.value),Gg=Lh.next().value,wf=Lh.next().value;switch(Gg){case "oldTitle":_.Xk(Oe,1,wf);break;
case "newTitle":_.Xk(Oe,2,wf)}}_.cl(b,4,_.qP[0],Oe);break;case "delete":for(var Gb=new _.YWc,gh=_.m(Object.entries(h)),jj=gh.next();!jj.done;jj=gh.next()){var Ji=_.m(jj.value),rn=Ji.next().value,po=Ji.next().value;switch(rn){case "type":_.Yk(Gb,1,F8c[po])}}_.cl(b,5,_.qP[0],Gb);break;case "restore":for(var rg=new _.lXc,$f=_.m(Object.entries(h)),hh=$f.next();!hh.done;hh=$f.next()){var Lk=_.m(hh.value),kj=Lk.next().value,sn=Lk.next().value;switch(kj){case "type":_.Yk(rg,1,G8c[sn])}}_.cl(b,6,_.qP[0],
rg);break;case "permissionChange":for(var Yj=new _.hXc,Zj=_.m(Object.entries(h)),ak=Zj.next();!ak.done;ak=Zj.next()){var Vi=_.m(ak.value),ph=Vi.next().value,Mh=Vi.next().value;switch(ph){case "addedPermissions":var Ql=p9c(Mh);_.hb(Yj,1,Ql);break;case "removedPermissions":var Wi=p9c(Mh);_.hb(Yj,2,Wi);break;case "resharedPermissions":var Xi=p9c(Mh);_.hb(Yj,3,Xi);break;case "otherActivePermissions":var Sg=p9c(Mh);_.hb(Yj,4,Sg)}}_.cl(b,7,_.qP[0],Yj);break;case "comment":for(var Nh=new _.DWc,Ki=_.m(Object.entries(h)),
Rl=Ki.next();!Rl.done;Rl=Ki.next()){var Sl=_.m(Rl.value),qh=Sl.next().value,Oh=Sl.next().value;switch(qh){case "post":for(var jq=Oh,Mk=new _.AWc,Yi=_.m(Object.entries(jq)),qo=Yi.next();!qo.done;qo=Yi.next()){var nd=_.m(qo.value),ol=nd.next().value,Cj=nd.next().value;switch(ol){case "subtype":_.Yk(Mk,1,I8c[Cj])}}_.cl(Nh,1,_.zWc[0],Mk);break;case "assignment":for(var Lf=Oh,ih=new _.BWc,Tl=_.m(Object.entries(Lf)),Fm=Tl.next();!Fm.done;Fm=Tl.next()){var vi=_.m(Fm.value),ii=vi.next().value,Gm=vi.next().value;
switch(ii){case "subtype":_.Yk(ih,1,J8c[Gm]);break;case "assignedUser":var Dj=yQ(Gm);_.z(ih,7,Dj)}}_.cl(Nh,2,_.zWc[0],ih);break;case "suggestion":for(var Hm=Oh,pl=new _.CWc,ro=_.m(Object.entries(Hm)),Hg=ro.next();!Hg.done;Hg=ro.next()){var so=_.m(Hg.value),kq=so.next().value,Im=so.next().value;switch(kq){case "subtype":_.Yk(pl,1,K8c[Im])}}_.cl(Nh,3,_.zWc[0],pl);break;case "mentionedUsers":var to=n9c(Oh);_.hb(Nh,7,to)}}_.cl(b,8,_.qP[0],Nh);break;case "dlpChange":for(var kp=new _.XWc,bk=_.m(Object.entries(h)),
Mf=bk.next();!Mf.done;Mf=bk.next()){var lp=_.m(Mf.value),kr=lp.next().value,lq=lp.next().value;switch(kr){case "type":_.Yk(kp,1,L8c[lq])}}_.cl(b,9,_.qP[0],kp);break;case "view":for(var ck=new rXc,tn=_.m(Object.entries(h)),mq=tn.next();!mq.done;mq=tn.next()){var uo=_.m(mq.value),Nk=uo.next().value,lj=uo.next().value;switch(Nk){case "type":_.Yk(ck,1,M8c[lj]);break;case "viewHistoryVisibility":for(var Su=lj,mp=new qXc,np=_.m(Object.entries(Su)),zt=np.next();!zt.done;zt=np.next()){var Px=_.m(zt.value),
mf=Px.next().value,At=Px.next().value;switch(mf){case "domainPolicyVisibilityState":_.Yk(mp,1,N8c[At]);break;case "namedPartyState":_.Yk(mp,2,O8c[At])}}_.z(ck,2,mp)}}_.cl(b,10,_.qP[0],ck);break;case "download":for(var Tu=new ZWc,Lz=_.m(Object.entries(h)),Ul=Lz.next();!Ul.done;Ul=Lz.next()){var lr=_.m(Ul.value),jJ=lr.next().value,gw=lr.next().value;switch(jJ){case "type":_.Yk(Tu,1,P8c[gw])}}_.cl(b,11,_.qP[0],Tu);break;case "reference":for(var Qx=new _.fWc,Rx=_.m(Object.entries(h)),jF=Rx.next();!jF.done;jF=
Rx.next()){var BN=_.m(jF.value),B$=BN.next().value,Mz=BN.next().value;switch(B$){case "type":_.Yk(Qx,1,Q8c[Mz]);break;case "context":for(var CN=Qx,C$=CN.Nj,lT=Mz,DN=new eWc,fC=_.m(Object.entries(lT)),D$=fC.next();!D$.done;D$=fC.next()){var mT=_.m(D$.value),toa=mT.next().value,gC=mT.next().value;switch(toa){case "description":DN.Xl(gC);break;case "url":_.Xk(DN,2,gC)}}C$.call(CN,DN)}}_.cl(b,12,_.qP[0],Qx);break;case "settingsChange":for(var I0=new _.oXc,J0=_.m(Object.entries(h)),E$=J0.next();!E$.done;E$=
J0.next()){var uoa=_.m(E$.value),PLa=uoa.next().value,QLa=uoa.next().value;switch(PLa){case "restrictionChanges":var RLa=q9c(QLa);_.hb(I0,1,RLa)}}_.cl(b,13,_.qP[0],I0);break;case "approvalChange":for(var Uu=new _.sWc,Sx=_.m(Object.entries(h)),F$=Sx.next();!F$.done;F$=Sx.next()){var nT=_.m(F$.value),K0=nT.next().value,Vl=nT.next().value;switch(K0){case "approvalName":_.Xk(Uu,2,Vl);break;case "approvalEventNames":_.B(Uu,3,Vl||[]);break;case "initiator":var voa=yQ(Vl);_.z(Uu,4,voa);break;case "reviewers":var SLa=
n9c(Vl);_.hb(Uu,5,SLa);break;case "status":Uu.Bc(T8c[Vl]);break;case "dueTime":var woa=b9c(Vl);_.z(Uu,7,woa);break;case "approvalRequested":var TLa=Uu,G$=new pWc;_.cl(TLa,8,_.lP[0],G$);break;case "approvalCancelled":var H$=Uu,I$=new qWc;_.cl(H$,9,_.lP[0],I$);break;case "reviewerResponded":for(var L0=Vl,M0=new _.rWc,J$=_.m(Object.entries(L0)),K$=J$.next();!K$.done;K$=J$.next()){var L$=_.m(K$.value),ULa=L$.next().value,M$=L$.next().value;switch(ULa){case "reviewerDecision":_.Yk(M0,1,U8c[M$])}}_.cl(Uu,
10,_.lP[0],M0);break;case "commentAdded":var VLa=Uu,N$=new tWc;_.cl(VLa,11,_.lP[0],N$);break;case "reviewersChanged":for(var O$=Vl,P$=new vWc,oT=_.m(Object.entries(O$)),Q$=oT.next();!Q$.done;Q$=oT.next()){var xoa=_.m(Q$.value),WLa=xoa.next().value,XLa=xoa.next().value;switch(WLa){case "reviewerChanges":var YLa=r9c(XLa);_.hb(P$,1,YLa)}}_.cl(Uu,12,_.lP[0],P$);break;case "dueTimeChanged":for(var I1b=Vl,ZLa=new xWc,Egb=_.m(Object.entries(I1b)),$La=Egb.next();!$La.done;$La=Egb.next()){var fWd=_.m($La.value),
nfg=fWd.next().value,ofg=fWd.next().value;switch(nfg){case "oldDueTime":var pfg=b9c(ofg);_.z(ZLa,1,pfg)}}_.cl(Uu,13,_.lP[0],ZLa)}}_.cl(b,18,_.qP[0],Uu);break;case "lock":var qfg=new bXc;_.cl(b,15,_.qP[0],qfg);break;case "unlock":var rfg=new pXc;_.cl(b,16,_.qP[0],rfg);break;case "appliedLabelChange":for(var gWd=new _.jWc,hWd=_.m(Object.entries(h)),Yic=hWd.next();!Yic.done;Yic=hWd.next()){var iWd=_.m(Yic.value),sfg=iWd.next().value,tfg=iWd.next().value;switch(sfg){case "changes":var vfg=s9c(tfg);_.hb(gWd,
1,vfg)}}_.cl(b,19,_.qP[0],gWd);break;case "publishChange":for(var Zic=new iXc,jWd=_.m(Object.entries(h)),$ic=jWd.next();!$ic.done;$ic=jWd.next()){var kWd=_.m($ic.value),wfg=kWd.next().value,lWd=kWd.next().value;switch(wfg){case "oldPublishState":var xfg=t9c(lWd);_.z(Zic,1,xfg);break;case "newPublishState":var yfg=t9c(lWd);_.z(Zic,2,yfg)}}_.cl(b,20,_.qP[0],Zic);break;case "linkShareMetadataChange":for(var nWd=new aXc,oWd=_.m(Object.entries(h)),ajc=oWd.next();!ajc.done;ajc=oWd.next()){var pWd=_.m(ajc.value),
zfg=pWd.next().value,Afg=pWd.next().value;switch(zfg){case "securityUpdateEnabled":_.Wk(nWd,1,Afg)}}_.cl(b,21,_.qP[0],nWd)}}return b},o9c=function(a){var b=new _.dXc;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":_.Yk(b,1,X8c[d])}}return b},p9c=function(a){return a.map(function(b){var c=new _.pP;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":_.Yk(c,1,H8c[e]);break;case "user":d=yQ(e);_.cl(c,2,_.oP[0],d);break;case "group":d=new _.nP;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":_.Xk(d,1,h);break;case "title":d.setTitle(h)}}_.cl(c,3,_.oP[0],d);break;case "domain":d=m9c(e);_.cl(c,4,_.oP[0],d);break;case "anyone":d=new fXc;_.cl(c,5,_.oP[0],d);break;case "allowDiscovery":_.Wk(c,6,e)}}return c})},q9c=function(a){return a.map(function(b){var c=
new _.nXc;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":_.Yk(c,1,R8c[e]);break;case "newRestriction":_.Yk(c,2,S8c[e])}}return c})},r9c=function(a){return a.map(function(b){var c=new wWc;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=yQ(e);_.z(c,3,d);break;case "addedReviewer":d=yQ(e),_.z(c,4,d)}}return c})},
s9c=function(a){return a.map(function(b){var c=new _.iWc;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Gd(e);break;case "types":d=u9c(e),_.B(c,2,d||[])}}return c})},u9c=function(a){return a.map(function(b){return V8c[b]})},t9c=function(a){var b=new jXc;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":_.Yk(b,
1,W8c[d]);break;case "signinRequired":_.Wk(b,2,d);break;case "publishedTime":c=b9c(d),_.z(b,3,c)}}return b};
var w9c=function(a,b){var c=new bQ;b=_.B(c,4,b);a&&"drive#app"==a.kind&&(a=v9c(a),_.z(b,2,a));return b},v9c=function(a){_.uO(["drive#app"],a);var b=(new _.hP).Wb(a.id);b=_.B(b,3,a.useByDefault).$c(a.name);b=_.B(b,7,a.openUrlTemplate);b=VVc(UVc(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,x9c[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 _.PVc;l=_.B(l,3,k.iconUrl).setSize(k.size);k.category&&_.B(l,1,y9c[k.category]);h.call(f,l)}_.hb(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 _.SVc;d=c.absoluteScore;null!=d&&_.B(a,1,Number(d));d=z9c(c.mimeTypeScores||[]);_.hb(a,2,d);c=z9c(c.fileExtensionScores||
[]);_.hb(a,3,c);_.z(b,29,a);return b},z9c=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.QVc;d=_.B(d,1,a[c].type);d=_.B(d,2,Number(a[c].score));b.push(d)}return b},x9c={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},y9c={application:1,document:2,documentShared:3};
var B9c=function(a){var b=new I3c;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.K2c).Wb(c.id).setTitle(c.title);d=_.B(d,3,_.vO(c.updateTime));d=_.B(d,4,A9c[c.backupSource]);d=_.B(d,5,c.iconUri);d=_.B(d,8,_.vO(c.expiryTime));d=_.B(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.Kw()){var e=new J2c;e=_.B(e,1,c.whatsappOngoingBackupEnabled);c=_.B(e,2,c.whatsappPhoneNumber);_.z(d,6,c)}else 2==d.Kw()&&(e=new _.I2c,e=_.B(e,1,c.deviceName),e=_.B(e,2,c.deviceModelName),
e=_.B(e,3,c.shouldIncludeSpecialSyncItems),c=_.B(e,4,c.deviceAndroidId),_.z(d,7,c));return d});_.hb(b,2,a);return b},D9c=function(a){var b=new E3c;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.XP).Wb(c.id);d=_.B(d,1,C9c[c.type]).setTitle(c.title);d=_.B(d,4,c.iconUri);d=_.L2c(d.setSize(c.size),_.vO(c.updateTime));d=_.B(d,7,c.hasCustomBehavior).Xl(c.description);return _.B(d,9,c.ongoingSyncEnabled)});_.hb(b,1,a);return b},A9c={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},C9c={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 E9c=function(a,b){this.H=a;this.V=b};
var F9c={read:2,write:3,comment:4},G9c=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.XL((new _.Nl).Wb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.Gn(_.TOc(c.userCapabilities));_.cO(b).includes(19)&&_.QKc(d,!0);U0c(a,d,_.cO(b));_.RKc(d,4);return d},J9c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Sma;f=_.B(f,2,e.predictionReason);e=G9c(a,b,e);e=_.z(e,100,f);d.push(e)}});c=(new _.kD).Cv(d).TP(H9c(c)).setSessionId(I9c(c)).qL(c.suggestionSessionId);
return _.wNc(new _.nO,c)},L9c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=K9c(f.person).Wb(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=G9c(a,b,l),d.push(p));l=hTc(gTc(fTc(new _.Pma,k.clone()),l.predictionReason),l.url);_.dl(p,107,l,_.Pma,void 0)})}});return HUc((new _.gO).Cv(d),e).TP(H9c(c)).setSessionId(I9c(c)).qL(c.suggestionSessionId)},
K9c=function(a){return _.fKc((new _.Cl).Wb(a.id).$c(a.displayName),a.emailAddress).Hn(a.photoUrl)},N9c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=G9c(a,b,e);e=M9c(e);f=_.hb(f,117,e);d.push(f)}});c=(new _.kD).Cv(d).TP(H9c(c)).setSessionId(I9c(c)).qL(c.suggestionSessionId);return _.wNc(new _.nO,c)},M9c=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Fl,e=O9c(c);e&&_.cl(d,2,_.El[0],e);(e=P9c(c))&&GSc(d,e);(e=Q9c(c))&&_.cl(d,4,_.El[0],e);(e=R9c(c))&&
_.cl(d,5,_.El[0],e);(e=S9c(c))&&_.cl(d,6,_.El[0],e);(e=T9c(c))&&_.cl(d,7,_.El[0],e);(e=U9c(c))&&_.cl(d,8,_.El[0],e);(e=V9c(c))&&_.cl(d,9,_.El[0],e);(e=W9c(c))&&_.cl(d,10,_.El[0],e);(c=X9c(c))&&_.cl(d,11,_.El[0],c);return d}):(a=zQ(a),a=WSc([a]),[GSc(new _.Fl,a)])},Z9c=function(a){return(a.justification||[]).map(function(b){return Y9c(b)})},zQ=function(a){return(a=a.justification)?Y9c(a):null},Y9c=function(a){var b=VRc(new _.Dl,$9c(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=K9c(c),_.cl(b,
3,_.tma[0],c),WRc(b,[c])):d?(c=(d.person||[]).map(function(e){return K9c(e)}),d=URc(c),_.cl(b,4,_.tma[0],d),WRc(b,c)):(c=(a.person||[]).map(function(e){return K9c(e)}),c.length&&(d=URc(c),_.cl(b,4,_.tma[0],d),WRc(b,c)));_.B(b,5,_.vO(a.eventTime));XRc(b,$9c(a.justificationDescription));return b},$9c=function(a){if(!a)return null;a=a.textSegment||[];return RRc(new _.Bl,a.map(function(b){var c=(new _.qma).ah(b.text),d=b.link;if(d){var e=new _.rma;d=_.B(e,1,d.url)}else d=null;c=_.z(c,2,d);c=_.B(c,3,b.bold);
return _.B(c,4,b.italic)}))},O9c=function(a){a=a.documentDocosAction;if(!a)return null;var b=OSc(new _.Bma,zQ(a));NSc(b,(a.subAction||[]).map(function(c){var d=new _.Cma;c.reply?(c=new _.vma,_.cl(d,1,_.Gl[0],c)):c.resolve?(c=new dSc,_.cl(d,2,_.Gl[0],c)):c.reassign?(c=new bSc,_.cl(d,3,_.Gl[0],c)):c.acceptSuggestion?(c=new YRc,_.cl(d,4,_.Gl[0],c)):c.rejectSuggestion?(c=new cSc,_.cl(d,5,_.Gl[0],c)):c.openThread&&(c=new _.uma,_.cl(d,6,_.Gl[0],c));return d}));_.B(b,2,a.discussionId);_.B(b,3,a.postId);
PSc(b,$9c(a.anchorText));return b},Q9c=function(a){a=a.documentShareAction;if(!a)return null;var b=SSc(new _.Ema,zQ(a));RSc(b,(a.subAction||[]).map(function(c){var d=new pSc;c.suggestedShare?(c=new hSc,_.cl(d,1,oSc[0],c)):c.responseToRequest&&(c=new eSc,_.cl(d,2,oSc[0],c));return d}));QSc(b,(a.sharee||[]).map(function(c){return K9c(c)}));_.B(b,3,F9c[a.shareeRole]);return b},P9c=function(a){a=a.documentViewAction;if(!a)return null;var b=WSc(Z9c(a));VSc(b,(a.subAction||[]).map(function(c){var d=new tSc;
c.open?d.Dg(new UO):c.reviewEdits&&(c=new fSc,_.cl(d,2,sSc[0],c));return d}));return b},R9c=function(a){a=a.emailViewAction;if(!a)return null;var b=aTc(new zSc,zQ(a));$Sc(b,(a.subAction||[]).map(function(c){var d=new BSc;c.openEmail&&d.Dg(new $Rc);return d}));return b},S9c=function(a){a=a.calendarEventAction;if(!a)return null;var b=KSc(JSc(ISc(new _.xma,a.eventId),zQ(a)),a.guestCount);HSc(b,(a.subAction||[]).map(function(c){var d=new lSc;if(c.viewCalendarEvent){var e=new iSc;_.cl(d,1,kSc[0],e)}c.shareWithAttendees&&
(e=new gSc,_.cl(d,2,kSc[0],e));c.present&&(e=new aSc,_.cl(d,3,kSc[0],e));c.openDocument&&(c=new UO,_.cl(d,4,kSc[0],c));return d}));return b},T9c=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=ZSc(YSc(new vSc,a.workspaceId),zQ(a));XSc(b,(a.subAction||[]).map(function(c){var d=new xSc;c.addToWorkspace&&(c=new ZRc,_.cl(d,1,wSc[0],c));return d}));return b},U9c=function(a){a=a.documentTopicAction;if(!a)return null;var b=USc(new _.Gma,zQ(a));TSc(b,(a.subAction||[]).map(function(c){var d=
new rSc;c.openDocument&&(c=new UO,_.cl(d,1,qSc[0],c));return d}));return b},V9c=function(a){a=a.popularDocumentAction;if(!a)return null;var b=eTc(new _.Mma,zQ(a));dTc(b,(a.subAction||[]).map(function(c){var d=new FSc;c.openDocument&&(c=new UO,_.cl(d,1,ESc[0],c));return d}));return b},W9c=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=MSc(new _.zma,zQ(a));LSc(b,(a.subAction||[]).map(function(c){var d=new nSc;c.openDocument&&(c=new UO,_.cl(d,1,mSc[0],c));return d}));return b},X9c=
function(a){a=a.formResponseAction;if(!a)return null;var b=cTc(new _.Kma,Z9c(a));bTc(b,(a.subAction||[]).map(function(c){var d=new DSc;c.openDocument?(c=new UO,_.cl(d,1,CSc[0],c)):c.viewResponses&&(c=new jSc,_.cl(d,2,CSc[0],c));return d}));return b},H9c=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;a=qTc(pTc(oTc(new _.Opa,a.timeUsec),a.serverIp),a.processId);var b=new _.mlb;return _.z(b,1,a)},I9c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||
[];a=rTc(new _.Zm,a.map(function(c){return a$c[c]||0}));if(b=b.eventId)b=qTc(pTc(oTc(new _.Opa,b.timeUsec),b.serverIp),b.processId),_.z(a,2,b);return a},a$c={UNSPECIFIED_CLIENT:0,DEFAULT_CLIENT:102,QUICK_ACCESS_CLIENT:110,DRIVE_ZERO_STATE_SEARCH_CLIENT:113,DRIVE_PRIORITY:116,DRIVE_WORKSPACES_CLIENT:117,DRIVE_PEOPLE_CLIENT:118,DRIVE_PEOPLE_WITH_ACTIONS_CLIENT:119,DRIVE_WORKING_SET_CLIENT:122,SMART_TASKS_CLIENT:123};
var b$c=function(a,b){this.H=a;this.V=b},d$c=function(a,b,c){_.uO(["drive#categoryMetadataList"],c);var d=new gP,e=Object.values(c.categoryMetadata||{});JVc(d,e.map(function(f){return c$c(a,f,b.Kc())}));d.Bc(1);return new _.jO(d,z2c(c))},f$c=function(a,b){var c=new dQ;i3c(c,(b.categories||[]).map(function(d){return e$c(a,d)}));c.Bc(1);return new gYc(c,z2c(b))},c$c=function(a,b,c){_.uO(["drive#categoryMetadata"],b);c=xVc((new eP).$c(b.categoryName),c);b=Object.values(b.attributeValues||[]);wVc(c,b.map(function(d){return g$c(a,
d)}).filter(function(d){return d}));return c},e$c=function(a,b){var c=kVc(jVc((new bP).$c(b.name),b.categoryName),b.latestName).setTitle(b.title).Xl(b.description);lVc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new gVc).Wb(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=h$c(d.attributeDisplayHints);_.z(f,5,h)}if(d.capabilities){h=f.Gn;var k=d.capabilities;var l=new QUc;l=_.B(l,1,k.canSearch);k=_.B(l,2,k.canWrite);h.call(f,
k)}_.B(f,7,i$c[e]);d=d[j$c(e)+"Options"];return k$c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&mVc(c,l$c(b.createdBy));b.updatedBy&&nVc(c,l$c(b.updatedBy));b.publishedBy&&oVc(c,l$c(b.publishedBy));_.B(c,9,_.vO(b.createTime));_.B(c,10,_.vO(b.updateTime));_.B(c,11,_.vO(b.publishTime));b.displayHints&&pVc(c,h$c(b.displayHints));b.capabilities&&c.Gn(m$c(b.capabilities));return c},g$c=function(a,b){_.uO(["drive#categoryAttributeValue"],b);var c=(new cP).Wb(b.id);if(b.userScoped)b=Object.values(b.userScoped),
uVc(c,b.map(function(d){_.uO(["drive#userScopedAttributeValue"],d);var e=new rVc,f=_.wO(a.H,d.scopedUser);e=_.z(e,1,f);return n$c(a,e,d)?e:null}).filter(function(d){return d})),c.ay(9);else if(!n$c(a,c,b))return null;return c},h$c=function(a){var b=(new PUc).Uk(a.disabled);b=_.B(b,2,a.hidden);b=_.B(b,3,a.activatedInAllDrives);return _.B(b,4,!!a.required)},m$c=function(a){var b=new iVc;b=_.B(b,1,a.canSearch);b=_.B(b,2,a.canApply);b=_.B(b,4,a.canRemove);return _.B(b,3,a.canManageSharedDriveActivation)},
k$c=function(a,b,c,d){return o$c(a,function(){p$c(a)[c](b,d)},c,b)},q$c=function(a){a=void 0===a?{}:a;var b=new YUc;b=_.B(b,1,a.minSize);return _.B(b,2,a.maxSize)},r$c=function(a){var b=new VUc;WUc(b,(a.choices||[]).map(function(c){var d=(new UUc).Gd(c.label).Vb(c.value);if(c.capabilities){var e=d.Gn;var f=c.capabilities;var h=new TUc;h=_.B(h,1,f.canSearch);f=_.B(h,2,f.canSelect);e.call(d,f)}c.displayHints&&(c=h$c(c.displayHints),_.z(d,4,c));return d}));return b},s$c=function(a){var b=new aVc;b=_.B(b,
1,a.showThousandsSeparator);b=_.B(b,2,a.minValue);return _.B(b,3,a.maxValue)},t$c=function(a){var b=(new _.Yma).setYear(a.year).setMonth(a.month);return _.B(b,3,a.day)},n$c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.ay(i$c[d]);return o$c(a,function(){u$c(a)[d](b,c[c.valueType])},c.valueType)},o$c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof cVc))return kUc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+
c+"."),!1;throw e;}return!0},l$c=function(a){return _.dKc(1).Wb(a.personName.split("/")[1])},j$c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},p$c=function(a){return{BOOLEAN:function(b,c){var d=b.BSa;var e=new RUc;e=_.B(e,1,c.trueLabel);c=_.B(e,2,c.falseLabel);return d.call(b,c)},TEXT:function(b,c){return b.u7(q$c(c))},TEXT_LIST:function(b,c){var d=b.rTa;var e=new ZUc;e=_.B(e,1,c.maxEntries);c=q$c(c.options);c=_.z(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,
c){var d=new $Uc;d=_.B(d,1,c.minSize);c=_.B(d,2,c.maxSize);return _.cl(b,10,$O[0],c)},SELECTION:function(b,c){return b.fTa(r$c(c))},SELECTION_LIST:function(b,c){var d=b.eTa;var e=new XUc;e=_.B(e,1,c.maxEntries);c=r$c(c.options);c=_.z(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.OSa(s$c(c))},INTEGER_LIST:function(b,c){var d=b.NSa;var e=new bVc;e=_.B(e,1,c.maxEntries);c=s$c(c.options);c=_.z(e,2,c);return d.call(b,c)},USER:function(b){return b.wTa(new dVc)},USER_LIST:function(b,c){var d=
b.Lha,e=new eVc;c=_.B(e,1,c.maxEntries);e=new dVc;c=_.z(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.tha;var e=new fVc;e=_.B(e,4,c.dateFormat);var f=t$c(c.minValue);e=_.z(e,2,f);c=t$c(c.maxValue);c=_.z(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new cVc;d=_.B(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.B(d,2,i$c[e]);c=c[j$c(e)+"Options"];k$c(a,d,e,c);return _.cl(b,16,$O[0],d)}}},u$c=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.Iha(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.Eha(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.xha(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return b.setUserValue(_.wO(a.H,c))},USER_LIST:function(b,c){tVc(b,c.map(function(d){return _.wO(a.H,d)}))},DATE_STRING:function(b,
c){return b.setDateStringValue(c)}}},i$c={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 v$c=function(a){a=a.personResponse;return CZc(new BZc,a.map(function(b){var c=b.person;b=kRc(new PO,b.personId);var d=b.$c,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 lRc;c=_.B(d,1,c&&!c.isDefault?c.url:null);return _.z(b,4,c)}))};
var w$c=function(a){this.H=a},y$c=function(a,b){_.uO(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return x$c(a,c)})},x$c=function(a,b){_.uO(["drive#teamDrive","drive#drive"],b);var c=new _.Vma,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);(d=b.categoryReferences)&&BQc(c,d.map(function(e){_.uO(["drive#driveCategoryReference"],
e);var f=new _.Ml;return _.B(f,1,e.category)}));c=_.VKc(_.UKc(_.RKc(_.SKc(AQc(_.XL((new _.Nl).Wb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.rKc(_.TOc(b.capabilities),!0),c.Gn(d));b.permissionsSummary&&_.TKc(c,_.iPc(a.H,b.permissionsSummary));b.restrictions&&DQc(c,z$c(b.restrictions));return c},z$c=function(a){var b=new _.Tma;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 A$c={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10,PROJECTOR:11,UPLOADER:12,FEATURE_SWITCH:8},HRc=_.bg(A$c);
var B$c=function(a){_.uO(["drive#setting"],a);var b=new _.rb;b=_.B(b,2,a.key);b=_.B(b,1,A$c[a.namespace]);return _.Sua(new _.ep,b).Vb(a.value)};
var D$c=function(a){_.uO(["drive#workspaceList"],a);var b=a.items||[];b=FZc(new GP,b.map(function(c){return C$c(c)}));return new _.HMc(b,z2c(a))},C$c=function(a){_.uO(["drive#workspace"],a);var b=(new _.iD).Wb(a.id).setTitle(a.title);b=_.B(b,3,_.vO(a.createdDate));return _.B(b,4,_.vO(a.modifiedDate)).Od(E$c[a.state])},F$c=function(a,b,c){var d=c.item||[];return _.iQc(_.hQc(new _.GO,d.map(function(e){return G9c(a,b,e)})).setSessionId(I9c(c)),c.suggestionSessionId)},H$c=function(a,b,c){var d=c.item||
[];return cWc(bWc(new jP,d.map(function(e){return G$c(a,b,e)})).setSessionId(I9c(c)),c.suggestionSessionId)},G$c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return $Vc(YVc(ZVc(XVc(new iP,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return G9c(a,b,f)})),zQ(c))},I$c=function(a){var b=new OUc;a.kind&&(a=C$c(a),_.z(b,2,a));b.Bc(1);return b},E$c={active:1,archived:2};
var DRc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var J$c=function(a,b,c,d){_.rPc.call(this,b);this.H=a;this.Ba=c;this.W=d;this.ta=new w8c(this.ka,b);this.V=new w$c(this.nC);this.va=new E9c(this.nC,this.V);this.ha=null};_.N(J$c,_.rPc);var K$c=function(a){a.ha||(a.ha=new b$c(a.ka,a.Ba));return a.ha};
J$c.prototype.ma=function(a,b){if(a instanceof _.IM)return _.aPc(_.vPc(a));if(a instanceof _.JM)return _.tPc(this,a,b);if(a instanceof _.EJc)return L$c(this,a.request,b);if(a instanceof _.KM)return _.tPc(this,a,b);if(a instanceof _.MM){if(!b.json)throw _.xO();return LVc((new KVc).Bc(1),x$c(this.V,b.json))}if(a instanceof _.LM)return _.tPc(this,a,b);if("undefined"!=typeof _.bO&&a instanceof _.bO)return new IUc;if(a instanceof _.OM)return M$c(a,b);if("undefined"!=typeof _.PM&&a instanceof _.PM)return w9c(void 0,
a.V());if("undefined"!=typeof _.QM&&a instanceof _.QM)return new J3c;if(a instanceof _.RM)return _.aPc(_.vPc(a));if("undefined"!=typeof _.SM&&a instanceof _.SM)return new cQ;if(a instanceof _.TM)return _.aPc(_.vPc(a));if(a instanceof _.UM)return _.aPc(_.vPc(a));if("undefined"!=typeof _.EE&&a instanceof _.EE)return b=new b3c,a=a.getKey(),_.z(b,4,a);if(a instanceof _.VM)return M$c(a,b);if(a instanceof _.XM)return _.aPc(_.vPc(a));if(a instanceof _.AJc){if(!b.json)throw _.xO();return new cYc(b.json.exportJob.id)}if("undefined"!=
typeof _.YM&&a instanceof _.YM){if(!b.json)throw _.xO();a=b.json;b=new Y2c;a=v9c(a);return _.z(b,2,a).Bc(1)}if("undefined"!=typeof _.ZM&&a instanceof _.ZM)return N$c(a,b);if("undefined"!=typeof _.$M&&a instanceof _.$M){if(!b.json)throw _.xO();a=(new cQ).Bc(1);b=_.bPc(this.nC,b.json);return _.z(a,2,b)}if(a instanceof _.jM){a:{if(!b.json)throw _.xO();if(a instanceof _.jM){if((a=a.Ed())&&_.aN(a)){b=J9c(this.W,this.H,b.json);break a}if(a&&_.bN(a)){b=L9c(this.W,this.H,b.json);break a}if(a&&_.cN(a)){b=
N9c(this.W,this.H,b.json);break a}}b=_.YOc(this.nC,b.json,b.headers)}return b}if("undefined"!=typeof _.dN&&a instanceof _.dN){if(!b.json)throw _.xO();return D9c(b.json)}if(a instanceof _.eN){if(!b.json)throw _.xO();b=b.json;_.uO(["drive#appList"],b);a=new FP;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(v9c(d[e]));a=_.hb(a,2,c);return _.B(a,4,b.defaultAppIds||[]).Bc(1)}if("undefined"!=typeof _.fN&&a instanceof _.fN){if(!b.json)throw _.xO();return B9c(b.json)}if(a instanceof _.vM)return O$c(this,
b);if(a instanceof _.gN){if(!b.json)throw _.xO();a=new a3c;d=this.nC;e=b.json;c=new yUc;d=_.cPc(d,e,"items");c=_.hb(c,2,d);a=_.z(a,1,c);return _.B(a,2,z2c(b.json))}if("undefined"!=typeof _.hN&&a instanceof _.hN){if(!b.json)throw _.xO();a=this.nC;d=b.json;b=new AUc;_.uO(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.ZOc(a,d[e]);c.push(f)}return _.hb(b,2,c)}if("undefined"!=typeof _.tO&&a instanceof _.tO)return P$c(a,b);if(a instanceof _.iN){if(!b.json)throw _.xO();return v$c(b.json)}if(a instanceof
_.LJc){if(!b.json)throw _.xO();return f$c(K$c(this),b.json)}if(a instanceof _.mH){if(!b.json)throw _.xO();a=K$c(this);c=b.json;b=new j3c;a=e$c(a,c);return _.z(b,2,a).Bc(1)}if(a instanceof _.BJc){if(!b.json)throw _.xO();b=b.json;_.uO(["drive#remainingCount"],b);a=new k3c;c=b.nextPageToken;null!=c&&_.B(a,2,Number(c));_.B(a,1,Number(b.remainingCount));return a}if(a instanceof _.ip){if(!b.json)throw _.xO();return(new _.kD).Cv([x$c(this.V,b.json)])}if(a instanceof _.uN){if(!b.json)throw _.xO();a=(new _.kD).Cv(y$c(this.V,
b.json));a=_.wNc(new _.nO,a);return _.B(a,3,z2c(b.json))}if("undefined"!=typeof _.mN&&a instanceof _.mN)return N$c(a,b);if(a instanceof _.nN)return L$c(this,a,b);if(a instanceof _.tM)return _.tPc(this,a,b);if(a instanceof _.oN)return _.tPc(this,a,b);if(a instanceof _.pN)return Q$c(this,b);if("undefined"!=typeof _.FE&&a instanceof _.FE){if(!b.json)throw _.xO();b=B$c(b.json);a=new b3c;a=_.z(a,3,b);b=b.getKey();return _.z(a,4,b)}if(a instanceof _.qN)return M$c(a,b);if(a instanceof _.rN){if(!b.json)throw _.xO();
return z8c(this.ta,b.json)}if("undefined"!=typeof _.sN&&a instanceof _.sN){if(!b.json)throw _.xO();b=C$c(b.json);a=new _.hO;a.UP().set(b.getId(),b);return a}if(a instanceof _.DJc){if(!b.json)throw _.xO();a=b.json;b=new WXc;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":_.Xk(b,2,d);break;case "activities":c=d9c(d),_.hb(b,1,c)}return b}if(a instanceof _.FJc)return Q$c(this,b);if("undefined"!=typeof _.JJc&&a instanceof
_.JJc)return O$c(this,b);if(a instanceof _.GJc){if(!b.json)throw _.xO();return new bYc}if(a instanceof _.HJc){if(!b.json)throw _.xO();return GRc(b)}if(a instanceof _.KJc){if(!b.json)throw _.xO();c=b.json;b=new _.gp;_.uO(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=B$c(c[d]))&&a.push(e);return _.Uua(b,a)}if(a instanceof _.hp){if(!b.json)throw _.xO();return H$c(this.W,this.H,b.json).Bc(1)}if("undefined"!=typeof _.lN&&a instanceof _.lN){if(!b.json)throw _.xO();return F$c(this.W,
this.H,b.json)}if(a instanceof _.QJc){if(!b.json)throw _.xO();a=b.json;_.uO(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new R2c;a=_.B(c,1,a);return _.B(a,2,b)}if(a instanceof _.PJc)return new dYc(z2c(b.json?b.json:{}));if(a instanceof _.RJc)return new eYc;if(a instanceof _.SJc){if(!b.json)throw _.xO();return D$c(b.json)}};
var M$c=function(a,b){if(!b.json){if(a instanceof _.VM)return I$c({});throw _.xO();}return I$c(b.json)},Q$c=function(a,b){if(!b.json)throw _.xO();a=x$c(a.V,b.json);return(new _.wN).Bc(1).setItem(a)},L$c=function(a,b,c){if(!c.json)throw _.xO();return d$c(K$c(a),b,c.json)},N$c=function(a,b){if(!b.json)throw _.xO();return w9c(b.json,a.V())},O$c=function(a,b){if(!b.json)throw _.xO();a=a.va;var c=b.json;_.uO(["drive#about","drive#changeList"],c);b=new yZc;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){_.uO(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.uO(["drive#change"],h);var k=new _.mM;k=_.B(k,1,Number(h.id));h.teamDriveId?(_.UIc(k,h.teamDriveId),_.nM(k,h.teamDriveId)):_.nM(k,h.fileId);h.file?k.setItem(_.VOc(f.H,h.file)):h.teamDrive&&k.setItem(x$c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.xM(k);d.push(k)}_.hb(b,4,d)}return b},P$c=function(a,b){var c=new L3c;if(a.V().length){var d=
[];NQc(a.V(),b.headers).forEach(function(e,f){var h=new _.iGc;e=_.B(h,1,f).Vb(e);d.push(e)});_.hb(c,1,d)}M3c(c,b.json?JSON.stringify(b.json):b.text);return c};
var S$c=function(a){var b=new _.Hq;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(R$c[a]);_.ZN(b,c.join(" "))}return b.toString()},T$c={},R$c=(T$c[1]="active",T$c[2]="archived",T$c);
var U$c=function(a,b,c,d){_.HPc.call(this,b,c,a.Ab,d);this.ma=a;this.ta=new HYc(_.cO(c),b)};_.N(U$c,_.HPc);
U$c.prototype.W=function(a,b,c){var d=this;try{return _.HPc.prototype.W.call(this,a,b,c)}catch(S){}var e=0,f={},h="GET",k={},l=!1,n=!1;if(a instanceof _.JM){h="POST";var p="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var r=A2c(a);f["content-type"]="application/json";l=n=!0}else if(a instanceof _.KM){h="POST";p="files/"+a.Kc()+"/authorize";k.appId=_.C(a,1);_.H(a,3)&&(k.propagate=!0);var u=a.ue();n=!0;_.XN(k);_.RN(this.H)&&_.yO(this,[a.Kc()],
f)}else if("undefined"!=typeof _.NO&&a instanceof _.NO)p="drives/"+a.tW(),h="PUT",r={},r=(r.enableSecurityUpdate=a.V(),r),f["content-type"]="application/json",k.fields=yP(this.H),u=a.ue(),n=!0;else if(a instanceof _.FJc)h="POST",p="teamdrives/"+a.requestId,k.fields=yP(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.ue(),n=!0;else if(a instanceof _.OM)h="POST",p="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",r=C2c(a),f["content-type"]=
"application/json",u=a.ue(),n=!0;else if(a instanceof _.LM)h="POST",p="files/"+a.getId()+"/copy",k.fields=_.sJc({fields:this.Tg(c),Tx:_.CM(_.gM(this.H)),vL:_.iM(this.H)}),k.convert=_.E(a,4,!1),r=B2c(a),f["content-type"]="application/json",u=a.ue(),_.RN(this.H)&&(a=_.Ad(a,3).concat([a.getId()]),_.yO(this,a,f)),n=!0,_.XN(k),_.IPc(this.H,k);else if("undefined"!=typeof _.PM&&a instanceof _.PM)h="DELETE",p="apps/"+a.V(),k.appId=a.V(),k.deleteAppData=!!a.W(),u=a.ue(),n=!0;else if("undefined"!=typeof _.QM&&
a instanceof _.QM)h="DELETE",p="backups/"+a.getId(),e=9;else if(a instanceof _.RM)h="DELETE",p="files/"+a.getId(),u=a.ue(),n=!0,_.XN(k),_.IPc(this.H,k),_.RN(this.H)&&_.yO(this,[a.getId()],f);else if("undefined"!=typeof _.SM&&a instanceof _.SM)h="DELETE",p="files/"+a.Kc()+"/permissions/"+a.V(),u=a.ue(),n=!0,_.XN(k);else if(a instanceof _.TM)h="DELETE",p="files/"+a.Kc()+"/revisions/"+_.C(a,2),u=a.ue(),n=!0,_.RN(this.H)&&_.yO(this,[a.Kc()],f);else if(a instanceof _.UM)h="DELETE",p="teamdrives/"+a.getId(),
u=a.ue(),n=!0;else if("undefined"!=typeof _.EE&&a instanceof _.EE)h="DELETE",u=a.getKey(),p="settings/"+_.C(u,2),_.fp(u)&&(k.namespace=HRc[_.fp(u)]),u=a.ue(),n=!0;else if(a instanceof _.VM)h="DELETE",p="workspaces/"+a.getId(),u=a.ue(),n=!0;else if(a instanceof _.XM)h="DELETE",p="files/trash",u=a.ue(),n=!0,_.IPc(this.H,k);else if("undefined"!=typeof _.YM&&a instanceof _.YM)p="apps/"+a.V(),u=a.ue(),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 _.dN&&a instanceof _.dN)p="backups/"+a.getId()+"/items",e=9,k.languageCode=WO(_.gM(this.H));else if("undefined"!=typeof _.ZM&&a instanceof _.ZM)h="POST",p="apps",k.appId=a.V(),u=a.ue(),n=!0;else if("undefined"!=typeof _.$M&&a instanceof _.$M)h="POST",p="files/"+a.Kc()+"/permissions",k.fields=_.iM(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.W7a()||"",k.sendNotificationEmail=!a.K8a(),r={},1==a.Bg()?r.role="owner":3==a.Bg()?r.role="writer":4==a.Bg()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Bg()&&(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.kb()&&(r.value=a.kb()),r.withLink=!a.d8a(),f["content-type"]="application/json",u=a.ue(),n=!0,_.XN(k);else if(a instanceof _.AJc)e=8,h="POST",
p="/v1/exports",f["content-type"]="application/json",r=_.Ad(a,1).map(function(S){if(_.RN(d.H)){var ea=_.fNc(d.ka,S);if(null!==ea)return{id:S,resource_key:{resource_key:ea}}}return{id:S}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.jM||"undefined"!=typeof _.bO&&a instanceof _.bO||a instanceof _.hp||"undefined"!=typeof _.lN&&a instanceof _.lN)if(b=a instanceof _.jM?a.Ed():a,_.yN(b)){e=10;h="POST";p="/v1/items";f["content-type"]="application/json";
r={};var x=9==_.PN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",A={};A.applicationType=QYc(this.H);A.platformType=x;A.languageCode=WO(_.gM(this.H));A.timeZone=(new _.tw).R2();A.requestType="LIVE_REQUEST";a instanceof _.jM&&(x=a.getOptions())&&_.E(x,10,!1)&&(A.requestType="BACKGROUND_REQUEST");b instanceof _.Qe?_.aN(b)?(NYc(this.ta)?A.scenarioType="ONE_PICK":A.scenarioType="QUICK_ACCESS",2==_.NN(b)&&(r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Ad(b,33)[0]}),_.LN(b).length&&(r.itemType=PYc(b))):
_.bN(b)?A.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.cN(b)&&(A.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.bO&&b instanceof _.bO?(p="/v1/userfeedback",r.userFeedback=b.V().map(function(S){var ea=S.V(),ba={},ua={};ua.feedbackType=MVc[ea.getType()];ba.item=ua;ba.clientInfo=A;switch(S.getFeature()){case 1:A.scenarioType="DRIVE_PRIORITY";ua.itemId=ea.Kc();break;case 3:A.scenarioType="QUICK_ACCESS";ua.itemId=ea.Kc();break;case 2:A.scenarioType="DRIVE_WORKSPACES",ua.itemId=ea.Kc(),ua.childItem=
ea.V().map(function(oa){var ka={};ka.itemId=oa.Kc();return ka})}return ba})):b instanceof _.hp?A.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.lN&&b instanceof _.lN?(A.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.MPc(a);"undefined"!=typeof _.bO&&b instanceof _.bO||(r.maxSuggestions=b.Yh(),r.clientInfo=A)}else{u=b.ue();n=!0;p=
"files";k.q=_.gMc(b);x=[];var F;(F=_.sM(this.H))&&_.E(F,4,!1)?(F=_.sa(this.Tg(c),this.Tg(c,b.Hi())),_.Ca(F)):F=_.ta(this.Tg(c));var J=void 0,I=!1;0<_.al(b,_.fm,5).length&&(J=_.C(this.H.Hf(),50),I=!0);k.fields=sQc({fields:F,Tx:_.CM(_.gM(this.H)),E_:J||void 0,vL:_.iM(this.H),ifb:I});k.appDataFilter="NO_APP_DATA";0<_.al(b,_.KN,25).length&&(k.sources=_.$Lc(b));0<b.Sv().length&&(k.spaces=_.aMc(b));a.Tn()&&(k.pageToken=a.Tn());(a=a.getOptions())&&_.Kk(a,1,1E3)&&(k.maxResults=_.Kk(a,1,1E3));_.E(b,36,!1)&&
(k.includeUnsubscribed=!0);_.C(b,43)&&(k.rawUserQuery=_.C(b,43));_.XN(k);k.includeItemsFromAllDrives=_.E(b,66,!0);0<_.Ad(b,33).length&&2==_.NN(b)&&(a=_.Ad(b,33)[0],k.teamDriveId=a,x.push(a));k.corpora=_.HLc[_.NN(b)];_.H(b,18)&&(_.Yf(k,"corpora"),k.corpus="DOMAIN");_.RN(this.H)&&(a=_.al(b,_.hm,63),0<a.length?_.JPc(a,f):(a=_.MN(b),F=_.al(b,_.JN,35),J=_.al(b,_.JN,38),x=x.concat(a.filter(function(S){return!_.E(S,2,!1)}).map(function(S){return S.kb()})).concat(F.map(function(S){return S.kb()})).concat(J.map(function(S){return S.kb()})),
_.yO(this,x,f)));PQc(k,_.pH(b));_.KPc(this.H,k);_.LPc(this.H,k);_.D(b,iTc,64)&&(a=jTc(_.D(b,iTc,64)),a=_.lk(a,4),k.searchSessionData=a)}else if(a instanceof _.eN){p="apps";switch(a.getType()){case 1:k.fields=V$c;break;case 2:k.fields=W$c;break;case 4:k.fields=X$c;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.ex=!0}k.languageCode=WO(_.gM(this.H));0<_.Ad(a,3).length&&(k.appFilterExtensions=_.Ad(a,3).join(","));0<_.Ad(a,4).length&&(k.appFilterMimeTypes=_.Ad(a,4).join(","));u=a.ue();n=!0}else if("undefined"!=typeof _.fN&&a instanceof _.fN)p="backups",e=9,k.languageCode=WO(_.gM(this.H));else if(a instanceof _.vM)p="changes",k.includeDeleted=_.E(a,3,!0),k.includeSubscribed=_.E(a,4,!0),k.maxResults=_.Kk(a,2,100),k.startChangeId=_.C(a,1),k.fields=rQc({fields:this.Tg(c),E_:yP(this.H,a.Hi()),Tx:_.CM(_.gM(this.H)),
vL:_.iM(this.H)}),k.appDataFilter="NO_APP_DATA",_.C(a,8)||(k.filters="DRIVE_DATASERVICE"),u=_.Ad(this.H.Hf(),31),u.length&&(k.spaces=_.gb(u,function(S){return _.kGc[S]}).join(",")),_.XN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,_.C(a,8)&&(k.teamDriveId=_.C(a,8)),u=a.ue(),n=!0;else if(a instanceof _.gN)b=a.Ed(),p="files/"+b.getId()+"/permissions",k.fields=_.iM(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.Tn()&&(k.pageToken=a.Tn()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.ue(),n=!0,_.XN(k),_.KPc(this.H,k),_.LPc(this.H,k),_.RN(this.H)&&_.yO(this,[b.getId()],f);else if("undefined"!=typeof _.hN&&a instanceof _.hN)k.fields=_.iM(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.Yh(),p="files/"+a.Kc()+"/revisions",u=a.ue(),n=!0,_.RN(this.H)&&_.yO(this,[a.Kc()],f);else if(a instanceof _.ip)p="teamdrives/"+a.om()[0],k.fields=yP(this.H,a.Hi()),u=a.ue(),n=!0;else if(a instanceof _.PJc)h="POST",p="admin/files/migrateToTeamDrivePreFlight",r=D2c(a),f["content-type"]="application/json",n=l=!0,_.RN(this.H)&&_.yO(this,
a.request.V(),f);else if(a instanceof _.uN)u=a.Ed(),p="teamdrives",k.fields=jYc(this.H,u.Hi()),k.q=GYc(u),a.Tn()&&(k.pageToken=a.Tn()),(u=(u=a.getOptions())&&_.Kk(u,1,1E3))&&(k.maxResults=u),u=a.Ed().ue(),n=!0;else if(a instanceof _.QJc)p="teamdrives/"+_.C(a,1),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",n=l=!0;else if("undefined"!=typeof _.mN&&a instanceof _.mN)h="PUT",p="apps/"+a.V(),k.appId=a.V(),r={},r.useByDefault=a.ma(),a.W()&&(r.hasAppData=!1),f["content-type"]="application/json",
u=a.ue(),n=!0;else if(a instanceof _.tM)h="PUT",p="files/"+a.getId(),k.fields=_.sJc({fields:this.Tg(c),Tx:_.CM(_.gM(this.H)),vL:_.iM(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.H(a,15),k.fileId=a.getId(),_.Ad(a,9).length&&(k.addParents=_.Ad(a,9).join(",")),_.Ad(a,10).length&&(k.removeParents=_.Ad(a,10).join(",")),_.Ad(a,31).length&&(k.addWorkspaces=_.Ad(a,31).join(",")),_.Ad(a,32).length&&(k.removeWorkspaces=_.Ad(a,32).join(",")),null!=_.H(a,24)&&(k.confirmed=_.H(a,24)),k.languageCode=
WO(_.gM(this.H)),r=E2c(a),f["content-type"]="application/json",u=a.ue(),n=!0,_.XN(k),this.V(a.getId(),k),_.H(a,36)?k.bypassMultiparentingCheck=!0:_.IPc(this.H,k),_.RN(this.H)&&(b=_.al(a,_.hm,38),b.length?_.JPc(b,f):(b=_.Ad(a,9).concat(_.Ad(a,10)),b.push(a.getId()),_.yO(this,b,f)));else if(a instanceof _.oN)h="PUT",p="files/"+a.Kc()+"/revisions/"+_.C(a,2),r=F2c(a),f["content-type"]="application/json",u=a.ue(),_.RN(this.H)&&_.yO(this,[a.Kc()],f);else if(a instanceof _.pN)p="teamdrives/"+a.getId(),null!=
a.nm()?(h="POST",p+="/"+(a.nm()?"hide":"unhide")):(h="PUT",r=G2c(a),f["content-type"]="application/json"),k.fields=yP(this.H),u=a.ue(),n=!0;else if(a instanceof _.qN)h="PUT",p="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=H2c(a),f["content-type"]="application/json",u=a.ue(),n=!0;else if("undefined"!=typeof _.FE&&a instanceof _.FE)h="PUT",r=a.V(),u=r.getKey(),p="settings/"+_.C(u,2),(u=_.fp(u))&&(k.namespace=HRc[u]),r=IRc(r),f["content-type"]="application/json",u=
a.ue(),n=!0;else if(a instanceof _.rN)p="about",k.fields=_.iM(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=KRc(k.fields,this.H),u=a.ue(),n=!0;else if("undefined"!=typeof _.tO&&a instanceof _.tO){e=11;h=a.Ww();p=a.getUrl();var R=a.ta()||"";a.Ba().forEach(function(S){f[S.getKey()]=S.kb()});a.Ea().forEach(function(S){k[S.getKey()]=S.kb()});a.Ha()&&(b.Wsb=!0);a.ma()&&(b.ex=!0);a.W()&&(b.Tfa=!0)}else a instanceof _.EJc?(b=a.request.Kc(),p="files/"+b+"/listCategoryMetadata",u=a.request.ue(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Yh()&&(k.maxResults=a.request.Yh()),k.fields="kind,nextPageToken,categoryMetadata",
_.RN(this.H)&&_.yO(this,[b],f)):a instanceof _.nN?(f["content-type"]="application/json",h="POST",b=a.Kc(),p="files/"+b+"/updateCategoryMetadata",u=a.ue(),r={categoryMetadata:a.sQ().map(function(S){var ea=_.al(S,_.nH,2).map(function(ua){return{id:ua.getId(),userId:ua.Yw(),setBooleanValue:_.H(ua,3),setTextValue:_.C(ua,4),setTextValues:_.Ad(ua,6),addTextValues:_.Ad(ua,5),setLongTextValue:_.C(ua,7),setSelectionValue:_.C(ua,8),setSelectionValues:_.Ad(ua,10),addSelectionValues:_.Ad(ua,9),setIntegerValue:_.C(ua,
11),setIntegerValues:_.Ad(ua,13),addIntegerValues:_.Ad(ua,12),setUserValue:_.C(ua,14),setUserValues:_.Ad(ua,16),addUserValues:_.Ad(ua,15),setDateStringValue:_.C(ua,17)}}),ba={categoryName:S.Nl()};ea.length?ba.categoryAttributeValueDeltas=ea:_.Ad(S,4).length?ba.revertAttributeIds=_.Ad(S,4):_.H(S,3)&&(ba.removeCategory=_.H(S,3));return ba})},_.RN(this.H)&&_.yO(this,[b],f)):a instanceof _.iN?(e=13,p=_.CM(_.gM(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.om(),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"],_.CM(_.gM(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.LJc?(e=12,p="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Yh()&&(k.maxResults=a.request.Yh()),k.$outputDefaults=!0,k.languageCode=WO(_.gM(this.H))):
a instanceof _.mH?(e=12,p="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=WO(_.gM(this.H))):a instanceof _.MM?(f["content-type"]="application/json",h="POST",p="drives/"+_.C(a,1)+"/changeCategoryReferences",u=a.ue(),n=!0,k.fields=yP(this.H,[157],!0),r={},b=_.al(a,_.Ml,2),b.length&&(r.addCategoryReferences=b.map(function(S){return{category:S.Nl()}})),a=_.al(a,_.Ml,3),a.length&&(r.removeCategoryReferences=a.map(function(S){return S.Nl()}))):"undefined"!=typeof _.sN&&
a instanceof _.sN?(p="workspaces/"+a.om()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.ue(),n=!0):a instanceof _.DJc?(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.C8a()?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}}):a instanceof _.GJc?(e=8,h="POST",p="/v1/exports/"+a.H+":cancel"):a instanceof _.HJc?(e=8,p="/v1/exports/"+a.H):"undefined"!=
typeof _.JJc&&a instanceof _.JJc?(p="changes",k.fields="kind,largestChangeId",_.XN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,n=!0):a instanceof _.KJc?(p="settings",k.namespace=JRc(a.H),u=a.request.ue(),n=!0):a instanceof _.SJc?(p="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Yh()&&(k.maxResults=a.request.Yh()),k.q=S$c(a.request),(u=_.D(a.request,_.jp,5))&&1==
u.getType()&&(k.orderBy="title"),u=a.request.ue(),n=!0):a instanceof _.BJc?(p="changes/getRemainingCount",k.pageToken=_.C(a,2),_.Gk(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=_.C(a,3)),u=a.ue()):a instanceof _.IM?(f["content-type"]="application/json",h="POST",p="files/"+a.Kc()+"/sendAccessRequest",r={},l=!0):_.MPc(a);n&&_.NPc(c,k);0!=e||l||u&&_.C(u,1)||_.PMc(this.ke,74438989);return _.OPc(e,p,k,f,h,u,r,R)};
U$c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.oj().join(","):[]};
var Y$c=function(a){return"kind,defaultAppIds,items("+a+")"},V$c=Y$c("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"),W$c=
Y$c("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"),
X$c=Y$c("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 Z$c=function(a,b,c,d,e,f,h,k,l,n,p,r,u,x,A,F,J,I,R,S,ea,ba,ua){this.kha=_.yi();var oa=new u8c(b.V);c=new d8c(b,f,new Y7c(d,e,c),h,this.kha.promise,k,l,c);d=new s8c(b,n,p,r,u,d,e,F,k);this.W=new _.UMc;this.ka=new _.XMc(a,x);x=new U$c(b,a,k,ba);this.V=new J$c(k,a,A,F);k=new _.OOc(this.ka,this.W,x,this.V,J,I,R);b=b.V;J=this.W;x=this.kha.promise;R=R||void 0;F=a.Hf();J=new _.hOc(x,J,A,_.Kk(F,32,1073741824),_.Kk(F,21,1E3));J=new _.iOc(J);x=new _.DNc(_.Kk(F,59,2E3),_.Kk(F,60,2E4),_.Kk(F,61,6));ba={};
ba[1]=_.kOc(k,A);ba[2]=_.lOc(k,F,S,I,x,A,R);ba[3]=_.mOc(k,F,S,I,x,A,R,"batch");e=_.Kk(F,10,50);R?(n=new _.MNc(R.getState()),p=new _.JNc(R)):(n=new _.CNc(S,I),p=new _.BNc(I));b=new _.sO(A,k,[n,new _.HNc(e,_.Kk(F,11,100)),new _.rO(e),new _.ENc(x,A)],[new y2c(F,b),new x2c,new _.qO],[p,new _.RNc(F,x,R?R.getState():S,A)],"mutation");this.ha=(ba[4]=b,ba[5]=_.nOc(J,F,A),ba[6]=_.mOc(k,F,S,I,x,A,R,"find_by_ids_batch"),ba[7]=_.mOc(k,F,S,I,x,A,R,"xd4_batch"),ba[8]=_.mOc(k,F,S,I,x,A,R,"xd4_immediate_batch",1),
ba);this.kha.resolve(ua?ua:new _.oOc(new v8c,oa,this.ha,c,d,a,this.H.bind(this),ea))};Z$c.prototype.H=function(){return _.Tf(this.ha,function(a){return DUc(a)})};var r4c=function(a){var b=new Map,c=Date.now();_.Qf(a.ha,function(d,e){d=EUc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var aad=function(a,b){var c=this;this.H=a;this.Ka=a.Ql();this.Sa=b;this.va=null;this.ka=0;this.CJ=this.je=!1;this.ha=_.yi();this.Ba=null;this.W=a.H;b=_.XO(this.W);this.Ha=new _.cNc(_.Kk(b,2,37500),_.Kk(b,3,6E5));this.V=null;this.ta=a.Gb;this.ma={};_.Qf(jZc,function(d){c.ma[d]=[]});this.Ma=this.Ea=!1;wP(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){AQ(c,"Initializing: loaded from local dump");$$c(c)});wP(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){AQ(c,"Initializing: loaded from sdk backfill");$$c(c)});
wP(a.ha,["mrK8ic","BNEDtc"],function(){AQ(c,"Updating: sdk backfill complete");c.d5().Xf(_.Af)})},$$c=function(a){a.Ea||(a.Ea=!0,qQ(a.H).addCallback(function(b){a.ta.initialize().Sf(function(){a.va=b;a.setActive(!0)},function(c){c&&kUc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.EM(c));AQ(a,"Error initializing dump storage");a.CS()})}))};_.g=aad.prototype;_.g.gNa=function(a){this.je&&(this.ka+=a,this.ka>_.Kk(_.XO(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.va||this.CJ)&&this.je!=a){var b=this.H;a&&(b.Lb.H()||0<b.V.va.W||b.ka.$e()||b.Hh.$e())||((this.je=a)?(this.ha.resolve(),this.V||this.d5().Xf(_.Af)):(this.ha=_.yi(),_.q.clearTimeout(this.Ba)))}};_.g.CS=function(){this.CJ=!0};_.g.eIa=function(){return this.V?this.V.promise:_.si()};
_.g.d5=function(){var a=this;if(this.V)return this.V.promise;this.V=_.yi();_.zi(this.V.promise,function(){a.V=null});var b=this.Ka.V(106021)||void 0;this.ha.promise.then(function(){return s2c(a.H.Ea)}).then(function(c){var d=!c;return a.CJ?d:_.wi([bad(a,3,d,void 0,void 0,b),bad(a,0,d,void 0,!0,b),bad(a,1,d,void 0,!0,b),bad(a,5,d,void 0,!0,b),bad(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Ob("Failed to update dump",void 0,_.EM(e));return _.ti(e)})},function(){return _.ti(Error("$f"))}).then(function(c){a.V.resolve(c);
b&&(c=sUc(b),_.B(c,2,!0),b.H())},function(c){a.V.reject(c);b&&(c=sUc(b),_.B(c,2,!1),b.H())});return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.Bi,e=this.Ka.V(106021)||void 0;e&&(eUc(sUc(e),_.eO(_.AIc,a)),d.then(function(){var f=sUc(e);_.B(f,2,!0);e.H()},function(){var f=sUc(e);_.B(f,2,!1);e.H()}));this.ha.promise.then(function(){return s2c(c.H.Ea)}).then(function(f){f=!f;c.CJ?d.callback():_.Ei(bad(c,a,f,b,void 0,e),d)});return d};
var bad=function(a,b,c,d,e,f){var h=_.ca(a.ma[b]);if(h){if(h.encrypt==c&&1<a.ma[b].length)return h.Lg.Kl();var k=new _.Bi;_.Di(h.Lg,function(){_.Ei(cad(a,b,c,d,e,f),k)})}else k=cad(a,b,c,d,e,f);var l={encrypt:c,Lg:k};a.ma[b].push(l);_.Di(k,function(){_.ra(a.ma[b],function(n){return l==n})});k.Re(function(n){a.ta.V.Nf()?a.CS():n instanceof _.Ob&&(n=n.V||null,n instanceof _.bM&&"InvalidStateError"==n.getName()&&n.message&&-1<n.message.indexOf("The database connection is closing.")&&a.CS());return null});
return k},cad=function(a,b,c,d,e,f){var h=new _.Bi;a.ha.promise.then(function(){if(3==b)_.Ei(dad(a,d||!1,c,f),h);else{switch(b){case 0:var k=a.H.rb;k=k.H?_.gl(k.H):null;break;case 1:k=a.H.vc.Vta();break;case 5:k=ead(a.H.Ka);break;case 6:k=a.H.V.ma;k=CZc(new BZc,x_c(k.H));break;default:h.Qd("Invalid data type to write to storage.");return}if(k){var l=_.al(_.XO(a.W),VO,11)[0].getKey();!l&&c?(AQ(a,"Skipping dump update, encrypted and no key"),h.callback()):d2c(a.ta,c?l:null,[k],f).then(h.callback,h.Qd,
h)}else e?(AQ(a,"Skipping dump update: "+b),h.callback()):h.Qd("Failed to get data to write to dump.")}});return h},dad=function(a,b,c,d){_.q.clearTimeout(a.Ba);a.Ba=_.q.setTimeout((0,_.v)(a.Wa,a),a.Ha.kb());if(b&&0==a.ka)return _.Gi();a.ka=0;var e=_.al(_.XO(a.W),VO,11)[0].getKey();if(!e&&c)return AQ(a,"Skipping dump update, encrypted and no key"),_.Gi();var f=[];_.Qf(UXc,function(k){0<k&&(k=fad(a,k),k.length&&f.push(d2c(a.ta,c?e:null,k,d)))});var h=new _.Bi;_.wi(f).then(function(){a.Ma&&WP(a.H.Ea,
p2c,!0);h.callback()},h.Qd,h);return h};aad.prototype.Wa=function(){_.sI(this.Ha);this.update(3,!0)};
var fad=function(a,b){switch(b){case 1:return[gad(a)];case 2:var c=(b=a.H.V.ka.H)?b.WD():[];c=had(a,_.Oc(jRc(c)));AQ(a,"Exporting "+c.length+" secondary dump items.");c.length>_.Kk(_.XO(a.W),5,2E4)&&(b&&a_c(b),c=[]);c=NXc(new uP,iad(c));var d=a.H.V.ka;a=new uRc;(d=d.H)&&d.W&&(d=d.WD(),_.B(a,3,d.length));c=_.z(c,11,a);c=TXc(c,2);b&&RXc(c,b.Z4());return[c];case 3:return jad(a);case 4:return kad(a);default:throw new _.Ob("Unsupported CacheType");}},gad=function(a){for(var b={},c=[],d=f_c(a.H.V.ka,!0),
e=!0,f=0;f<d.length;f++){var h=d[f],k=h.WD(),l=had(a,iRc(k));k=l.length;var n=0<k?l[k-1]:null;_.Ha(l,function(p){b[p.getId()]=p});if(0<k||h.V)l=KXc(new tP,h.Ed()),h.V||(_.B(l,2,k),_.z(l,3,n),e=!1),c.push(l)}d=_.Oc(b);AQ(a,"Exporting "+d.length+" initial dump items.");return RXc(TXc(QXc(NXc(OXc(SXc(PXc(new uP,a.H.uo()),_.cO(a.Sa)),a.va.eNa(null)),iad(d)),c),1),!e)},jad=function(a){var b=[],c=a.va;_.ta(a.H.V.ka.V).forEach(function(d){var e=c.eNa(d.H);if(e){var f=had(a,iRc(d.WD()));AQ(a,"Exporting "+
f.length+" TD dump items for: "+d.H);e=RXc(TXc(OXc(NXc(new uP,iad(f)),e),3),d.Z4(d.Ed()));d=KXc(new tP,d.Ed());QXc(e,[d]);b.push(e)}});return b},kad=function(a){var b={},c=[];p7c(a.H.V).forEach(function(d){1==d.H&&(iRc(d.WD()).forEach(function(e){b[e.getId()]=e}),d=LXc(KXc(new tP,new _.Qe),d.Ed()),c.push(d))});return[RXc(TXc(QXc(NXc(new uP,iad(Object.values(b))),c),4),!1)]},had=function(a,b){b=TQc(b);_.H(a.W,67)&&(b=lad(b));_.iM(a.W)&&(b=P_c(a.H.V.ma,b));return b.filter(function(c){return 4!=LO(c)})},
lad=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,JQc(c)?(c=c.clone(),tQc(c,IQc),b.push(c)):b.push(c);return b},iad=function(a){return a.map(function(b){return _.gl(b)})},AQ=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};aad.prototype.dta=function(){this.Ma=!0};
var mad=function(){};_.g=mad.prototype;_.g.setActive=function(){};_.g.CS=function(){};_.g.update=function(){return _.Gi()};_.g.eIa=function(){return _.si()};_.g.d5=function(){return _.si()};_.g.gNa=function(){};_.g.dta=function(){};
var RO=function(a,b,c,d){_.Q.call(this);var e=this;this.W=d||new _.MLc;this.Af=a;this.H=b.clone();this.Wa=new _.iMc(this.H);this.ma=new HYc(_.cO(this.Wa),this.H);nad(this);this.Rc=new _.Vn;this.sv=_.q.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Rc.resolve();e.Ql().H(106020)},1E4);this.lk=null;this.xf=new _.Bi;this.qq=!0;this.ka=new _.xMc(_.QN(this.H),_.E(this.H.Hf(),52,!1));this.Hh=new _.oMc(_.QN(this.H)?3:1,!_.E(this.H.Hf(),52,!1));this.Ue=_.QMc(this.H,
this.ka,this.Hh,this.W,this.Rc.promise,c);this.Lf=null;this.ol=new oZc(this.Ue);this.Qb=new _.Bi;this.eg=[];oad(this)};_.N(RO,_.Q);
var B4c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.q.clearTimeout(a.sv);a.Rc.resolve()},oad=function(a){var b=function(){C4c(a).Xf(_.Af)},c=a.Af;(c=c&&_.Jb(c,_.ul))?_.ge(c,"A",b):_.FIc()||_.ge(_.q,"unload",b)},C4c=function(a){a.Ue.H(106005);wUc(a.Ue);var b=a.eg.map(function(c){return c()});_.ma(a.eg);return _.xi(b).then()},pad=function(a,b){a.eg.push(b)},D4c=function(a,b,c){"string"===typeof b&&null===a.lk&&(a.lk=b,a.xf.callback(b),b.length&&a.Ar(b,c||null))};
RO.prototype.Ar=function(){};RO.prototype.uo=function(){return this.lk};RO.prototype.Ql=function(){return this.Ue};var qad=function(a){if(!a.Lf)throw Error("ag");return a.Lf},rad=function(a,b){a.Lf=b};RO.prototype.pq=function(){return this.qq||this.Hh.isConnected()};RO.prototype.tv=function(a){this.Qb.callback(a)};
var nad=function(a){var b=a.H.Hf();0==_.Ad(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.B(b,19,3));if(!_.G(b,37,""))throw Error("bg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.B(b,57,"https://clients6.google.com"));if(_.E(_.XO(a.H),9,!1))if(b=_.al(_.XO(a.H),VO,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.QN(a.H)&&!_.E(a.H,10,!1))throw Error("cg");}else _.B(_.XO(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.E(_.XO(a.H),9,!1)&&(_.QN(a.H)||_.E(a.H,10,!1)))throw Error("dg");var c=_.gM(a.H);b=!(!c||!_.CM(c));c=c&&_.ON(c)||"";if(!b&&!c)throw Error("eg");b&&_.BM(a.H,44);_.al(a.H,_.Qe,44).forEach(function(d){try{LYc(a.ma,d)}catch(e){if(e instanceof _.Ob&&(d=e.Sg)&&3==d.by())throw Error("fg");throw e;}})};RO.prototype.Ab=function(a){this.dispatchEvent(new _.Pb(new _.Ob(void 0,a)))};RO.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var sad=function(a,b){this.H=a;this.V=b};
var tad=new Set([5,4,1,6,2]),uad=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),vad=function(a,b,c){_.Q.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(vad,_.Q);
var B5c=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())&&_.fp(p))&&f.add(p)});[].concat(_.Mc(f.values())).forEach(function(p){return void d.push(p)})}if(d.length){var h=tad.has(c),k=new Map;d.forEach(function(p){k.set(p,new Map)});b.forEach(function(p){var r=p.getKey(),u=r&&_.fp(r);r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,wad(p))});var l=0,n=0;[].concat(_.Mc(k.keys())).forEach(function(p){var r=k.get(p),u=a.H.get(p);u?h&&(r.forEach(function(x){var A=
x.getKey();(A=u.get(A&&_.C(A,2)))&&_.fl(x,A)||l++}),[].concat(_.Mc(u.values())).forEach(function(x){x=x.getKey();r.has(_.C(x,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,xP(a.ka,"px2C2c");xP(a.ka,"rkYxSd")}(l||n)&&xad(a,!h)}};vad.prototype.kA=function(){return 0<this.H.size};
var xad=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 _.aj("WPi0i"))},t8c=function(a,b){var c=b.getKey(),d=c&&_.fp(c);c=c&&_.C(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=wad(b);e&&_.fl(b,e)||(d.set(c,b),xad(a))}};vad.prototype.remove=function(a){var b=a&&_.fp(a);a=a&&_.C(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&xad(this)};
var ead=function(a,b){var c=[];(b||[].concat(_.Mc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.Mc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.Mc(a.H.keys()));var d=new KUc;_.hb(d,1,c);_.B(d,2,b||[]);return d};
vad.prototype.JI=function(a){var b=this,c=ead(this,a),d=new _.gp;d.Bc(this.ha);_.Uua(d,c.oy());_.z(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);uad.has(f)&&Infinity>uad.get(f)&&(e=f)});return new sad(d,e)};var wad=function(a){a=a.clone();a.Cg()||a.Vb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var yad=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},Aad=function(a,b){return zad(a[b])+(zad(a[b+1])<<8)+(zad(a[b+2])<<16)+(zad(a[b+3])<<24)},zad=function(a){return 127<a?a-256:a};
var TO=function(a,b,c,d,e,f){RO.call(this,a,b,c,d);var h=this;this.Bb=new _.Ie;this.Na(this.Bb);this.Pq=_.yi();this.ha=e?e:new aYc(this.W);this.Ql().ha.V=this.ha;this.$a=_.E(_.XO(b),9,!1)&&(_.q.indexedDB||_.q.mozIndexedDB||_.q.webkitIndexedDB||_.q.moz_indexedDB)?Bad(this,b):null;this.Sa=new zYc(WO(_.gM(b)));this.Ha=new oYc;this.Uh=null;this.ae=_.yi();this.Ea=Cad(this,this.$a);this.Gb=Dad(this,this.$a,b);this.va=Ead(this);this.V=new i7c(this,this.Wa);this.rb=new F4c(this.H,this.V.ma,this.ha,this.W,
this.va);this.vc=new K4c(this.W,this.ha,this.va);this.Ka=new vad(this.W,this.ha,this.va);this.hn=new _.Bi;this.Jo=null;this.Fc=new TZc(this.ta(),this.W,function(k){return void h.Ab(k)});this.uc=_.E(this.H.Hf(),52,!1)?new _.hNc(this.Hh,this.ta(),this.W):null;this.we=new n0c;this.Yc=null;this.Qq=_.yi();wP(this.ha,["mrK8ic"],function(){h.Qq.promise.then(function(){A5c(h,h.Yc)})});this.sh=new _.Bi;this.Mp=new S0c(this.H);this.Ma=new _.rNc(this.H,this.V.V);this.mj=new U7c(this);this.Zd=new r0c(this.ae.promise,
this.ta());this.rv=new t0c(this.ta(),this.Zd);this.Mc=new W0c;this.Lj=new N0c(this.ae.promise,this.ta(),this.W,this.H);this.Lb=new Z$c(this.H,this.V,this.Ab.bind(this),this.Zd,this.rv,this.va,this.we,this.Wa,this.uo.bind(this),this.mj,this.vc,this.Ka,this.Lj,this.Mc,this.W,this.Mp,this.Ma,this.Fc,this.uc,this.ka,this.ou.bind(this),this.Ql(),f);this.Pq.resolve(this.Lb);this.Ba=new v0c;this.Dt=new F7c(this);this.Yf=new RZc;this.Jd=_.yi();this.eo=!1;this.ho=_.yi();wP(this.ha,["BNEDtc"],function(){return h.ho.resolve()});
this.Rm=null;pad(this,function(){h.va.CS();return _.si()})};_.N(TO,RO);
var Bad=function(a,b){var c=_.ON(_.gM(b)),d=_.PN(b),e=function(){},f=_.al(_.XO(b),VO,11);f=f[0]&&_.C(f[0],1);var h=new f1c(c,d,_.Kk(_.XO(b),10,0)||0,f||"",_.cO(a.Wa));_.QN(b)?c=Q1c(c,d).then(function(l){return l?l:h}):_.E(b,10,!1)&&0<_.Kk(_.XO(b),8,432E6)?(b=Fad(a,c),c=Q1c(c,d,b).then(function(l){return l&&(e=function(n){return n.Yl(h).Xf(function(){return null})},!l.ta)?l:h})):c=_.si(h);var k=new TP(c,a.W,a.Ql());k.initialize().then(function(){return e(k)},function(){return null});return k},Fad=
function(a,b){var c=_.Kk(_.XO(a.H),8,432E6);if(!_.QN(a.H)&&0<c){a=Math;var d=a.abs;b=_.$ka(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+=Aad(b,e),h.b+=Aad(b,e+4),h.c+=Aad(b,e+8),yad(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+=Aad(b,e+4);h.a+=Aad(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+=Aad(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=yad(h);return d.call(a,b)%c}};TO.prototype.DC=function(a){var b=this;return this.$a?this.$a.Nf()?_.ti(Error("gg`"+A1c(this.$a))):s2c(this.Ea).then(function(c){var d=b.$a,e=[];e.push(b.va.eIa());e.push(a?d.Yl():M1c(d));if(a===c)return _.wi(e).then(function(){return!1});!1===a&&(e.push(z1c(d)),(c=b.uo())&&e.push(WP(b.Ea,l2c,c)));return _.wi(e).then(function(){return b.Ea.DC(a)},function(){return!1})}):_.ti(Error("hg"))};
var Dad=function(a,b,c){var d=null;b&&(d=new X1c(b,c,function(e){a.Ab(e)},a.Ql()),d.initialize());return d},Cad=function(a,b){var c=new q2c(b||void 0);c.uo().then(function(d){d&&D4c(a,d,5)});b&&(s2c(c).then(function(d){a.ka.DC(d)}),_.wi([b.initialize(),a.Rc.promise]).then(function(){Gad(a,c)},function(){}));return c},Gad=function(a,b){v2c(b).then(function(c){(!c||c<Date.now()-864E5)&&T1c(_.ON(_.gM(a.H)),_.PN(a.H),a.W).then(function(d){d&&(d=Date.now(),WP(b,o2c,d))},function(){})})},Ead=function(a){if(!a.Gb)return new mad;
var b=new aad(a,a.Wa);a.Bb.listen(a.ka,"Ab",function(c){return void b.setActive(!c.$e())});a.Bb.listen(a.Hh,[].concat(_.Mc(Object.values(XXc))),function(){return void b.setActive(a.Hh.isConnected())});return b};TO.prototype.ru=function(a){this.Jo=a;this.hn.callback(a)};var qQ=function(a){return a.hn.Kl()},q4c=function(a){return a.$a?a.$a.Nf():null},Had=function(a,b){a.ha.H("NSockf")?xP(a.ha,b):wP(a.ha,["NSockf"],function(){xP(a.ha,b)})};
TO.prototype.Ar=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ha.H=a||"",this.ma.W=a||"",6!=b&&1!=b||WP(this.Ea,l2c,a),Had(this,"jroI5d"))};TO.prototype.Ln=function(){return this.sh.Kl()};var A5c=function(a,b,c){0>b||((void 0===c?0:c)?a.Yc?a.Yc=Math.max(a.Yc,b):(a.Yc=b,a.Qq.resolve()):a.sh.wf()||(a.sh.callback(b),Had(a,"T8oKm")))},nQ=function(a){if(!a.Uh)throw Error("ig");return a.Uh};TO.prototype.ta=function(){return this.Pq.promise.then(function(a){return a.kha.promise})};
TO.prototype.Ti=function(){this.eo||(this.eo=!0,this.Jd.resolve(),xP(this.ha,"aU7Ts"))};TO.prototype.pq=function(){throw Error("jg");};TO.prototype.ou=function(){this.Lb.H()||this.dispatchEvent("Sb")};var k4c=function(a){a.Rm||(a.Rm=new B0c(a.ae.promise,a.ta(),a.W));return a.Rm};
var Iad=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.Ba(this))},Jad=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},Kad=function(a){return new Jad(a.id,a.d,a.err||void 0)};
var BQ=function(a,b,c){_.Q.call(this);var d=this;this.bo=a;this.Mc=b;this.Ba=new _.Bi;this.$a={};this.Wa=this.Ma=this.uc=null;c.then(function(e){d.uc=e.clientId;d.Ma=e.channel;d.Wa=e.H;CP(d.Ma,d.bo,(0,_.v)(d.Kjb,d));CP(d.Ma,d.bo+"_update",(0,_.v)(d.Ljb,d));d.log("Service initialized.");d.Ba.callback()})};_.N(BQ,_.Q);_.g=BQ.prototype;
_.g.Kjb=function(a){a=Kad(a);var b=this.$a[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.Nb(JSON.parse(a.error));else c=new _.Nb,_.oM(c,2),_.pM(c,6),_.B(c,21,"An invalid response was received");b.reject(new _.Ob(void 0,c))}delete this.$a[a.id]}};_.g.Ljb=function(a){a=Kad(a);this.cda(a.id,a.data,a.error)};_.g.cda=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Bi;this.Ba.addCallback(function(){var h=e.Ma,k=new Iad(e.uc,a,b,d),l=_.yi();e.$a[k.H]=l;l.promise.then(function(n){f.callback((c||_.Af)(n))},function(n){n=n.Sg;var p=_.C(n,21)||"";_.B(n,21,"Worker"+("An invalid response was received"==p?"["+a+"]: ":": ")+p);f.Qd(new _.Ob(void 0,n))});iZc(h,e.bo,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Wa&&this.Wa.info(this.Mc,a)};
var Lad=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var CQ=function(a,b,c){BQ.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.N(CQ,BQ);CQ.prototype.Cma=function(a){var b=this;a=new T3c(this.H.ma,this.H.Qb,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);Mad(this,a);return a};CQ.prototype.Fma=function(a){var b=this;a=new a4c(this.H.ma,this.H.Qb,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);Mad(this,a);return a};
var Mad=function(a,b){DQ(a,b);_.Wd(b,function(){EQ(a,b);a.send("4.3",[b.Ji(),b.Ed().zc()])});a.send("4.1",[b.Ji(),b.Ed().zc()])};_.g=CQ.prototype;_.g.zma=function(a){var b=this,c=new Y3c(this.H.H,this.H.ma,this.H.W,this.H.xf,this.Ha.bind(this),a);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.4",[c.Ji(),c.Ed().zc()])});this.send("4.2",[c.Ji(),c.Ed().zc()]);return c};
_.g.Ima=function(a){var b=this,c=new e4c(a,this,this.H.H);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.11",[c.Ji(),c.Ed().zc()])});this.send("4.9",[c.Ji(),c.Ed().zc()]);return c};_.g.Jma=function(a){var b=this,c=new f4c(this.H,this,a);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.12",[c.Ji(),c.Ed().zc()])});this.send("4.10",[c.Ji(),c.Ed().zc()]);return c};
_.g.Lma=function(a){var b=this,c=new i4c(this.H,a,this);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.15",[c.Ji(),c.Ed().zc()])});this.send("4.13",[c.Ji(),c.Ed().zc()]);return c};_.g.Mma=function(a){var b=this,c=new W3c(this.H,a);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.16",[c.Ji(),c.Ed().zc()])});this.send("4.14",[c.Ji(),c.Ed().zc()]);return c};
_.g.Gma=function(a){var b=this,c=new d4c(this.H,a,function(){b.send("4.21",[c.Ji()])});DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.23",[c.Ji(),c.Ed().zc()])});this.send("4.22",[c.Ji(),c.Ed().zc()]);return c};_.g.wma=function(a){var b=this,c=new R3c(this.H.ka,this.H.Hh,this.H.W,function(d,e){return b.W(d,e)},a);DQ(this,c);_.Wd(c,function(){EQ(b,c);b.send("4.19",[c.Ji(),c.Ed().zc()])});this.send("4.18",[c.Ji(),c.Ed().zc()]);return c};
var DQ=function(a,b){a.V.create(b.Ji(),b.Ed());a.ha[b.Ji()]=b},EQ=function(a,b){DP(a.V,b.Ji(),4);delete a.ha[b.Ji()]};CQ.prototype.Ha=function(a,b,c){if(b instanceof _.ap&&c instanceof _.ap)this.send("4.5",[a,b.zc(),c.zc()]);else if(b instanceof _.ip&&c instanceof _.ip)this.send("4.6",[a,b.zc(),c.zc()]);else throw Error("kg");};
CQ.prototype.W=function(a,b){if(!this.ha[a])throw Error("Lf`"+a);var c=this.ha[a];if(c.Ed()instanceof _.Qe)var d="4.7";else if(c.Ed()instanceof _.$L)d="4.8";else if(c.Ed()instanceof _.sH)d="4.20";else if(c.Ed()instanceof _.op)d="4.17";else throw Error("lg");c.Ed().Li(b);this.send(d,[a,b])};
CQ.prototype.cda=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.Nb(JSON.parse(c)),c=new EP(c,c.R0()),a.sJ(c),DP(this.V,a.Ji(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.AM();return}c=a.Ed();if(c instanceof _.Qe||c instanceof _.$L)f=JSON.parse(f),c instanceof _.Qe&&_.bN(c)?d=new _.gO(f):d=new _.kD(f);else if(c instanceof _.ap||c instanceof _.ip)d=new _.fO,BVc(d,function(h){return new _.Nl(JSON.parse(h))},f);else if(c instanceof _.sH)d=new _.jO(new gP(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.op)d=new _.HMc(new GP(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.sN&&c instanceof _.sN)d=new _.hO(JSON.parse(f));else if(c instanceof _.hp)d=new jP(JSON.parse(f));else throw Error("mg");}d&&("boolean"===typeof b[e]&&pZc(this.V,a.Ji(),!!b[e]),rZc(this.V,a.Ji(),d),a.update(d))}};
var Nad=function(a,b){BQ.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.N(Nad,BQ);_.g=Nad.prototype;_.g.Oa=function(){return _.D(this.H.H,_.cJc,58)};_.g.getContext=function(){return this.H};_.g.XMa=function(){return this.send("5.4",[this.V],function(a){return new jUc(JSON.parse(a[0]))})};_.g.ifa=function(){return this.H.W};_.g.cQ=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Nl(b)})};
_.g.Sta=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 _.fIc(a[c]));return b})};_.g.Eia=function(a,b,c){return this.send("5.8",[a.zc(),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 _.Nl(e[k]));return{items:h,AEa:f,pageToken:d}})};_.g.cVa=function(){this.send("5.9",[])};_.g.ODa=function(){this.send("5.1",[])};_.g.M1=function(){return _.KIc[_.Jk(this.H.H.Hf(),8,0)]};
_.g.oza=function(){this.send("5.6",[])};_.g.jfa=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 nZc(a[e]));return{traceId:new V0c(b,c),spanRecs:d}})};_.g.YMa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new V0c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.eUa=function(){this.send("5.11",[])};
_.g.Yl=function(a){this.send("5.13",[a])};
var Oad=function(a,b){BQ.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.Ub=b;this.Oc=String(_.Ba(this));this.H=null};_.N(Oad,BQ);Oad.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.Ub.zc()],function(b){return new C3c(JSON.parse(b[0]))},this.Oc).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};Oad.prototype.cancel=function(){this.send("9.2",[this.Ub.zc()],void 0,this.Oc)};
Oad.prototype.cda=function(a,b){this.dispatchEvent(new O3c(b[0],b[1]))};
var Pad=function(a){BQ.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.N(Pad,BQ);Pad.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().Sf(a,b);this.H.V((0,_.v)(this.ka,this))}else this.send("6.3",[])};Pad.prototype.ha=function(a){var b=[];_.Ha(a,function(c){b.push(c.zc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};Pad.prototype.V=function(){this.log("Error fetching offline items.")};
Pad.prototype.ka=function(a){var b=[];_.Ha(a,function(c){b.push(c.zc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var Qad=function(a,b){NP.call(this,a,b)};_.N(Qad,NP);Qad.prototype.Q$=function(a,b,c){return new _.LJc(a,c)};Qad.prototype.hca=function(a){return a.pageToken||""};Qad.prototype.yba=function(a){return a.response.V()};Qad.prototype.c5=function(){};
var Rad=function(a,b,c){gQ.call(this,a.ka,a.Hh,b.Yh()||void 0);this.Ub=b;this.W=[];this.V=!1;this.ma=c;this.ka=new Qad(this.Ub,this.ma)};_.N(Rad,gQ);_.g=Rad.prototype;_.g.CD=function(){OP(this.ka).then(this.Gjb.bind(this),this.handleError.bind(this))};_.g.getData=function(){return i3c(new dQ,this.W).Bc(this.status)};_.g.yq=function(){return new g3c};_.g.Yj=function(){return!this.$e()&&(!this.H||c0c(this.ka))};_.g.Gjb=function(a){this.V=this.H=!0;this.W=a;this.Fr()};
_.g.Fr=function(){if(this.active){var a=this.status;this.tJ();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.aj(_.Cc,this))}};_.g.qc=function(){return this.W.length};
var Sad=function(a,b,c){gQ.call(this,a.ka,a.Hh,b.Yh()||10);this.Ub=b;this.Ba=c;this.ka=[];this.V=[];this.W=!1;this.Ea=new _.CO;this.va=this.ma=null};_.N(Sad,gQ);_.g=Sad.prototype;_.g.CD=function(){var a=this;this.Ba(this.Ub).then(function(b){a.H=!0;a.W=!0;a.V=b.dk();var c=b.getSessionId();c&&(a.ma=c);if(b=b.Df())a.va=b;a.Fr()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.iQc(_.hQc((new _.GO).Bc(this.status),this.V.slice(0)).setSessionId(this.ma),this.va)};
_.g.yq=function(){var a=_.BO(this.Ea,this.ka,this.V);this.ka=this.V;var b=(new m3c).Bc(this.status);return _.hb(b,2,a)};_.g.yK=function(){};_.g.Fr=function(){var a=this.status;this.tJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.aj(_.Cc,this))};_.g.qc=function(){return this.V.length};
var Tad=function(){};_.g=Tad.prototype;_.g.SH=function(a,b){b=u3c(1).setPosition(b);_.z(b,2,a);return b};_.g.QH=function(a,b){b=u3c(2).setPosition(b);_.z(b,2,a);return b};_.g.fN=function(a,b,c){b=u3c(3).ww(b).setPosition(c);_.z(b,2,a);return b};_.g.lL=function(a,b){b=u3c(4).setPosition(b);_.z(b,2,a);return b};_.g.tI=function(a){return _.D(a,_.sP,2)};
var Vad=function(){_.AO.call(this,new Tad,function(a){return Uad(a)})};_.N(Vad,_.AO);var Uad=function(a){switch(_.Fk(a,IXc[0])){case 6:return _.dy(_.D(a,_.cy,6)).getTime().toString();case 7:var b=_.D(a,_.rP,7);a=_.D(b,_.cy,1);b=b.$p();return a&&b?(a=_.dy(a).getTime(),_.dy(b).getTime()+"--"+a):"";default:return""}};_.Bf(Vad);
var FQ=function(a,b,c,d){gQ.call(this,b.ka,b.Hh,d);this.Ub=a;this.W=!1;this.va=[];this.V=[];this.ma="";this.Ba=new _.cNc(_.Kk(b.H.Hf(),6,1E3));this.ka=!1;this.Ea=c};_.N(FQ,gQ);_.g=FQ.prototype;_.g.activate=function(){gQ.prototype.activate.call(this);this.Fr()};_.g.CD=function(){this.Ub.GHa()?Wad(this):this.Ha()};_.g.fq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;gQ.prototype.fq.call(this,a)};
_.g.getData=function(){var a=(new y3c).Bc(this.status);_.hb(a,2,this.V.slice(0,this.limit));this.va=_.ta(this.V);return a};_.g.yq=function(){var a=_.BO(Vad.Jb(),this.va,this.V),b=new w3c;a=_.hb(b,2,a).Bc(this.status);this.va=_.ta(this.V);return a};_.g.Yj=function(){return!this.$e()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.Ed=function(){return this.Ub};_.g.$Ma=function(a){this.dispatchEvent(new _.Pb(a));this.W=!1};
_.g.Ybb=function(a,b){this.H=!0;var c=_.al(b,_.sP,1);this.V=this.V.concat(c);this.ma=b.Pv()||"";0<c.length&&(this.ka=!0);this.Fr();Wad(this,a)};_.g.mcb=function(a){Vad.Jb();this.H=!0;var b=_.al(a,_.sP,1);ZO(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.Pv()||"",this.ka=!0,this.Fr(),Wad(this)):(this.W=!1,Xad(this))};var Wad=function(a,b){a.active?(a.W=!0,a.Yj()&&a.V.length<a.limit?a.Ea(a.Ub,a.limit-a.V.length,a.ma).Sf(_.Ta(a.Ybb,b),a.$Ma,a):(a.W=!1,b&&b.callback(),Xad(a))):a.W=!1};
FQ.prototype.Ha=function(){this.active&&(this.W=!0,this.Ea(this.Ub,this.limit).Sf(this.mcb,this.$Ma,this))};FQ.prototype.Fr=function(){if(this.active){var a=this.status;this.tJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.aj(_.Cc,this))}};FQ.prototype.tJ=function(){this.$e()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};FQ.prototype.yK=function(){this.active&&this.Yj()&&!this.W&&Wad(this,new _.Bi)};
var Xad=function(a){a.Ub.GHa()||(_.sI(a.Ba),_.q.setTimeout((0,_.v)(a.Ha,a),a.Ba.kb()))};FQ.prototype.qc=function(){return this.V.length};
var Yad=function(){};_.g=Yad.prototype;_.g.SH=function(a,b){return A3c(z3c(1),a).setPosition(b)};_.g.QH=function(a,b){return A3c(z3c(2).setPosition(b),a)};_.g.fN=function(a,b,c){return A3c(z3c(3).ww(b).setPosition(c),a)};_.g.lL=function(a,b){return A3c(z3c(4),a).setPosition(b)};_.g.tI=function(a){return a.ly()};
var Zad=function(){_.AO.call(this,new Yad,function(a){return a.getId()})};_.N(Zad,_.AO);_.Bf(Zad);
var $ad=function(a,b,c){gQ.call(this,b.ka,b.Hh);this.Ub=a;this.ma=[];this.V=[];this.W=new _.cNc(_.Kk(b.H.Hf(),54,1E3));this.ka=!1;this.va=c};_.N($ad,gQ);_.g=$ad.prototype;_.g.activate=function(){gQ.prototype.activate.call(this);this.Fr()};_.g.CD=function(){this.poll()};_.g.getData=function(){var a=new I3c;a=_.hb(a,2,this.V).Bc(this.status);this.ma=_.ta(this.V);return a};_.g.yq=function(){var a=_.BO(Zad.Jb(),this.ma,this.V),b=new G3c;a=_.hb(b,2,a).Bc(this.status);this.ma=_.ta(this.V);return a};
_.g.Yj=function(){return!this.$e()&&!this.H};_.g.poll=function(){var a=new _.Bi;this.va(this.Ub).Sf(_.Ta(this.Ijb,a),_.Ta(this.Hjb,a),this);return a};_.g.Hjb=function(a,b){this.dispatchEvent(new _.Pb(b));a.Qd(b);abd(this)};_.g.Ijb=function(a,b){this.H=!0;b=_.al(b,_.K2c,2);ZO(Zad.Jb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.Fr();a.callback();abd(this)};_.g.Fr=function(){if(this.active){var a=this.status;this.tJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.aj(_.Cc,this))}};
_.g.yK=function(){};var abd=function(a){a.active&&(_.q.setTimeout((0,_.v)(a.poll,a),a.W.kb()),_.sI(a.W))};$ad.prototype.qc=function(){return this.V.length};
var bbd=function(){};_.g=bbd.prototype;_.g.SH=function(a,b){return T2c(S2c(1),a).setPosition(b)};_.g.QH=function(a,b){return T2c(S2c(2).setPosition(b),a)};_.g.fN=function(a,b,c){return T2c(S2c(3).ww(b).setPosition(c),a)};_.g.lL=function(a,b){return T2c(S2c(4),a).setPosition(b)};_.g.tI=function(a){return a.I2()};
var cbd=function(){_.AO.call(this,new bbd,function(a){return a.getId()})};_.N(cbd,_.AO);_.Bf(cbd);
var dbd=function(a,b,c){_.Q.call(this);this.ma=a;this.Ub=b;this.H="";this.V=this.W=!1;this.ha=0;this.Su=[];this.ta=c};_.N(dbd,_.Q);dbd.prototype.Li=function(a){this.ha=a};var fbd=function(a){return a.V||a.W&&""==a.H?Promise.resolve():ebd(a)};dbd.prototype.jca=function(){return this.Su};var ebd=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.Su.length,100);var c=new _.gN;c=_.z(c,3,a.Ub);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))};
dbd.prototype.ka=function(a){this.V=!1;this.H=a.Tn()||"";a=a.Sr().jM();this.Su=_.sa(this.Su,a);a.length&&this.dispatchEvent("Cb");if(this.H&&this.Su.length<this.ha)return ebd(this);this.dispatchEvent("Fb")};dbd.prototype.va=function(a){this.V=!1;a=new EP(_.qM(a),_.Kk(this.ma.H.Hf(),1,1));this.dispatchEvent(a)};
var gbd=function(a,b,c,d){gQ.call(this,b.ka,b.Hh,d||100);var e=this;this.va=b;this.Ub=a;this.ma=[];this.Su=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new dbd(b,this.Ub,this.Ba);_.Wd(this,function(){e.W&&(_.q.clearTimeout(e.W),e.W=null)})};_.N(gbd,gQ);_.g=gbd.prototype;_.g.activate=function(){gQ.prototype.activate.call(this);this.Fr()};_.g.CD=function(){this.aNa()};_.g.fq=function(a){gQ.prototype.fq.call(this,a||100)};
_.g.getData=function(){var a=new yUc;a=_.hb(a,2,this.Su.slice(0,this.limit)).Bc(this.status);this.ma=_.ta(this.Su);return a};_.g.yq=function(){var a=_.BO(cbd.Jb(),this.ma,this.Su),b=new $2c;a=_.hb(b,2,a).Bc(this.status);this.ma=_.ta(this.Su);return a};_.g.Yj=function(){var a;(a=!this.$e())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.Ed=function(){return this.Ub};
_.g.aNa=function(){var a=this;this.V=new dbd(this.va,this.Ub,this.Ba);this.V.Li(this.limit);return fbd(this.V).then(function(){return hbd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){gQ.prototype.handleError.call(this,a);ibd(this)};var hbd=function(a){a.H=!0;var b=a.V.jca();ZO(cbd.Jb(),a.Su,b)&&(a.ka=!0,a.Su=b);a.Fr();ibd(a)};gbd.prototype.Fr=function(){if(this.active){var a=this.status;this.tJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.aj(_.Cc,this))}};
gbd.prototype.yK=function(){var a=this;this.V.Li(this.limit);fbd(this.V).then(function(){return hbd(a)},function(b){return a.handleError(b)})};var ibd=function(a){if(a.active){var b=a.va.H.Hf();a.W=_.q.setTimeout((0,_.v)(a.aNa,a),Math.ceil(_.Kk(b,7,9E5)*Math.random())+_.Kk(b,15,36E5))}};gbd.prototype.qc=function(){return this.Su.length};var jbd=function(a){6!=a.status&&_.q.setTimeout(function(){a.dispatchEvent(new _.aj(_.Cc,a))},0)};
var kbd=function(a,b){BQ.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.Ub=b;this.Oc=String(_.Ba(this));this.H=null};_.N(kbd,BQ);kbd.prototype.ha=function(){var a=this;this.H||(this.H=_.yi(),this.send("10.1",[this.Ub.zc()],function(b){a.H.resolve(b[0])},this.Oc).Re(function(b){a.H.reject(b)}));return this.H.promise};kbd.prototype.cancel=function(){this.send("10.2",[this.Ub.zc()],void 0,this.Oc)};
var lbd=function(a,b,c,d,e,f,h){_.zO.call(this,a,b,c,d,f,h);this.V=e;this.ke=null};_.N(lbd,_.zO);lbd.prototype.Zta=function(a,b){var c=this;return _.Hi(this.V.then(function(d){return d.V(mQc(c.W,c.Sa,a,b,c.H,c.ta))},null))};lbd.prototype.Ea=function(a,b){var c=this.Ed(a);if(c){var d=0;if(c.file){var e=c.request&&_.D(c.request,_.hLc,15);e&&(d=_.C(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.xNc(a,b,d))}};
var mbd=function(a,b){BQ.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Oc=String(_.Ba(this));this.H={};this.V={};_.Wd(this,(0,_.v)(this.V2a,this))};_.N(mbd,BQ);_.g=mbd.prototype;_.g.jV=function(){return _.ch()};
_.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 _.hLc;_.B(d,1,b.size);_.z(a,15,d);d=_.ch();this.V[_.UN(a)]=b}return this.send("7.1",[this.Oc,a.zc(),c],function(e){return new _.wN(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Oc,a])};_.g.hNa=function(){this.send("7.3",[this.Oc])};
_.g.$ta=function(a){var b={};_.Ha(a,function(d){b[d]=new _.Bi});var c=this.jV();this.H[c]=b;this.send("7.4",[this.Oc,c,a]);return _.Oc(b)};_.g.Zta=function(a,b){var c=this;return this.send("7.5",[this.Oc,a,b],function(d){return kZc(d[0])}).addCallback(function(d){return _.Hi(c.W.then(function(e){return e.V(d)}))})};_.g.V2a=function(){this.send("7.6",[this.Oc])};
_.g.cda=function(a,b){if(b)switch(_.dh(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,_.oJc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.wN(JSON.parse(b[2]));nbd(this,b[0],b[1],a);break;case 1:a=new _.Ob(void 0,new _.Nb(JSON.parse(b[2])));nbd(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.xNc(b[0],b[1],b[2]));break;default:throw Error("ng");}};
var nbd=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.wN?e.callback(d):e.Qd(d);delete a.H[b][c];_.Xf(a.H[b])&&delete a.H[b]}};
var obd=function(a,b){if(0==a.length)throw new _.Ob("mutateUserPref requires a namespace.",_.DM(3));if("undefined"!=typeof _.FE&&b instanceof _.FE)var c=(b=(b=b.V())&&b.getKey())&&_.fp(b)||null;else"undefined"!=typeof _.EE&&b instanceof _.EE&&(c=(b=b.getKey())&&_.fp(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.Ob("mutateUserPref unsupported for namespace: "+c,_.DM(3));};
var pbd=function(a){this.H=a};
var SO=function(a,b){var c=_.yi();BQ.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.va=c;this.H=a;rad(this.H,new Pad(c.promise));this.Ea=b;nUc(this.Ea,_.Ad(this.H.H,28));this.vc=XQc(_.cO(this.Ea));this.V=a.ol;this.W=new CQ(c.promise,a,this.V);this.Sa=new Nad(c.promise,a);w2c(this.Sa);this.Gb=!1;this.Ha=_.si(this.Ba);this.ta=this.Lb=!1;this.Ka=new _.Ie(this);this.Na(this.Ka);this.Ab=!1;this.Qb=_.yi();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Hh,[].concat(_.Mc(Object.values(XXc))),
function(e){return void d.dispatchEvent(e)})};_.N(SO,BQ);SO.prototype.initialize=function(){var a=this,b=_.D(this.H.H,lTc,66);if(this.Gb)return this.Ha;if(!b||!_.C(b,1))return b=new _.Ob("Dataservice URL not provided."),this.Ba.Qd(b),this.Ha;var c=this.H.Ql().V(106E3);this.Gb=!0;var d=_.QN(this.H.H)?"(coldstart) ":"";this.H.W.info("drive.ds.sync.ItemServiceProxy","Initializing "+d+"with client build: "+this.H.H.vi());qbd(this,b);this.Ha.then(function(){c.H();a.uQa()});return this.Ha};
var qbd=function(a,b){var c=rbd(a),d=!0,e=_.C(b,5)||"";if(_.TIc(window.location.href,c.toString())&&e){d=!1;c=VQc(e,sbd(a),a.vc,_.C(b,6));var f=new hZc(c,!1)}else b=tbd(c.toString()),c=_.oGc(c.V,void 0,c.H,c.ha),f=new hZc(fZc(window.frames[b],c.toString()),!1);ubd(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();pad(a.H,function(){return vbd(f)})},vbd=function(a){return _.ui([new _.ri(function(b){a.isDisposed()||iZc(a,"8.1",void 0,function(){a.dispose();b()})}),
_.pj(1E4)])},rbd=function(a){var b=new _.Pj(_.C(_.D(a.H.H,lTc,66),1));var c=new _.Pj(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.mk(d,3);_.dk(b,"co",c);c=b.Ke();!_.QN(a.H.H)&&0<_.rM(_.gM(a.H.H))&&(a=_.rM(_.gM(a.H.H)),c+="u/"+a+"/");_.Tj(b,c+"_/dataservice/cacheproxy");return b},tbd=function(a){var b="cpiframe_"+_.ch();a=_.Ph("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.wg(_.SIc(_.kg("display: none;")));document.body.appendChild(a);return b},ubd=function(a,b,c){if(c)b.registerService("2.0",
(0,_.v)(a.Fc,a));else{var d=function(){var e=new _.Wcb(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.vi(),ufds:a.vc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}iZc(b,"8.4",{dsc:a.H.H.zc()});wbd(b);xbd(a,b);CP(b,"2.1",function(){return{dsc:a.H.H.zc()}});CP(b,"2.2",function(e){"number"===typeof e.id?(a.va.resolve(new Lad(e.id,b,a.H.W,e.clients)),e.dsp&&wbd(b),e.ivd&&xbd(a,b)):
(e=new _.Nb(JSON.parse(e.err)),a.Ba.Qd(new _.Ob("Unable to initialize dataservice.",e)))});CP(b,"2.15",function(e){a.dispatchEvent(new N3c(e.dt))});CP(b,"2.5",function(e){D4c(a.H,e.id)});CP(b,"2.6",function(e){a.H.ka.Yl(e.os)});CP(b,"2.18",function(e){a.H.ka.DC(e.oois)});CP(b,"2.7",function(){a.ta=!1});CP(b,"2.8",function(e){a.H.qq=e.au;a.dispatchEvent(new NUc(e.au?"xa":"ya"))});CP(b,"2.19",function(e){a.H.Hh.update(e.cs)});CP(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.ey("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.WN(a.H.W,f,e,"fine");break;case "finer":_.WN(a.H.W,f,e,"finer");break;case "finest":_.WN(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":kUc(a.H.W,f,e);break;default:kUc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),kUc(a.H.W,f,e)}});CP(b,"2.10",function(e){a.dispatchEvent(new _.Pb(new _.Ob(void 0,new _.Nb(JSON.parse(e.p)))))});CP(b,"2.12",function(){a.rb=!0;GQ(a)});
CP(b,"2.14",function(){return a.Qb.resolve()});CP(b,"2.16",function(){return a.Lb=!0});CP(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},wbd=function(a){_.q._DRIVE_dsp&&iZc(a,"8.3",{dsp:ybd(_.q._DRIVE_dsp)});_.q._DRIVE_dspc=function(b){if(_.q._DRIVE_dsp){var c=[];c[b]=_.q._DRIVE_dsp[b];iZc(a,"8.3",{dsp:ybd(c)})}}},xbd=function(a,b){_.E(a.H.H,24,!1)&&(_.q._DRIVE_ivd?iZc(b,"8.2",{ivd:_.q._DRIVE_ivd}):void 0===_.q._DRIVE_ivd&&(_.q._DRIVE_ivdc=
function(){_.q._DRIVE_ivd&&iZc(b,"8.2",{ivd:_.q._DRIVE_ivd})}))};SO.prototype.Fc=function(){return{uid:sbd(this),fds:_.cO(this.Ea)}};var sbd=function(a){a=_.BM(_.BM(_.AM(_.gl(a.H.H),28),44),91);var b=new _.ZL;b.update(_.ON(_.gM(a)));b.update(String(_.rM(_.gM(a))));b.update(a.zc());return _.sGc(b.digest())},ybd=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=SO.prototype;
_.g.query=function(a){GQ(this);LYc(this.H.ma,a,lUc(this.Ea));this.ZR();var b=this.W.Cma(a);this.Ab||(a=a.ue(),a&&121==_.C(a,1)||(this.Ab=!0,this.Ka.listen(b,_.Cc,this.ZMa)));return b};_.g.ZMa=function(a){a=a.currentTarget;1==a.Hb()&&(this.Sa.V=this.Lb,this.Ka.Uc(a,_.Cc,this.ZMa))};_.g.Jr=function(a){GQ(this);JYc(a);this.ZR();return this.W.zma(a)};
_.g.Rka=function(a,b){var c=this;GQ(this);if(this.ma&&_.fl(this.ma.Ed(),a))return this.ma;var d=(0,_.v)(SO.prototype.N6a,this);this.ma=new FQ(_.gl(a),this.H,d,b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.N6a=function(a,b,c){return this.send("3.17",[a.zc(),b,c],function(d){return new WXc(JSON.parse(d[0]))})};
_.g.pwa=function(a,b){var c=this;GQ(this);if(this.ka&&_.fl(this.ka.Ed(),a))return jbd(this.ka),this.ka;var d=(0,_.v)(SO.prototype.P6a,this);this.ka=new gbd(a,this.H,d,b);_.q.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.P6a=function(a){return this.send("3.18",[a.zc()],function(b){return new a3c(JSON.parse(b[0]))})};_.g.wra=function(a){GQ(this);return this.send("3.14",[a.zc()],function(b){return new cQ(JSON.parse(b[0]))})};_.g.kna=function(a){GQ(this);return this.send("3.15",[a.zc()],function(b){return new cQ(JSON.parse(b[0]))})};
_.g.yd=function(a){GQ(this);!this.ta&&_.xN(a)&&(this.ta=!0);a=ZQc(a);return this.send("3.3",[a.zc()],function(b){if(!_.bd(b))return new _.wN(JSON.parse(b[0]))})};_.g.mS=function(a){GQ(this);a=hRc(a);return this.send("3.35",[a.zc()],function(b){return new OUc(JSON.parse(b[0]))}).then()};
_.g.rB=function(a){GQ(this);for(var b=0;b<a.length;b++)!this.ta&&_.xN(a[b])&&(this.ta=!0);a=bRc(a);return this.send("3.4",[a.zc()],function(c){var d={};c=JSON.parse(c[0]);_.Qf(c[0],function(e,f){d[f]=new _.wN(JSON.parse(e))});_.Qf(c[1],function(e,f){e=new _.Nb(JSON.parse(e));d[f]=_.EM(e)});return d})};_.g.yma=function(){GQ(this);return new mbd(this.va.promise,this.H.Qb)};_.g.iEa=function(a){GQ(this);return new Oad(this.va.promise,a)};
_.g.XX=function(a,b){var c=this;GQ(this);var d=_.bh();this.V.create(d,a);return this.send("3.5",[a.zc(),!!b],function(e){e=JSON.parse(e);var f=new FP(JSON.parse(e[0]));return new _.iO(f,e[1],e[2])}).addCallback(function(e){sZc(c.V,d,e);return e.response}).Re(function(e){DP(c.V,d);return e})};_.g.Lta=function(a){GQ(this);return this.send("3.10",[a.zc()],function(b){return new Y2c(JSON.parse(b[0]))})};_.g.yra=function(a){GQ(this);return this.send("3.11",[a.zc()],function(b){return new bQ(JSON.parse(b[0]))})};
_.g.gna=function(a){GQ(this);return this.send("3.12",[a.zc()],function(b){return new bQ(JSON.parse(b[0]))})};_.g.hfa=function(a){GQ(this);return this.send("3.13",[a.zc()],function(b){return new bQ(JSON.parse(b[0]))})};
_.g.zW=function(a,b){var c=this;GQ(this);var d=_.bh();this.V.create(d,a);return this.send("3.1",[a.zc(),!!b],function(e){e=JSON.parse(e);var f=new _.eQ(JSON.parse(e[0]));return new _.lO(f,e[1],e[2])}).addCallback(function(e){sZc(c.V,d,e);return e.response}).Re(function(e){DP(c.V,d);return e})};
_.g.JI=function(a,b){var c=this,d=_.Ad(this.H.H.Hf(),30);if(!d||0==d.length)return _.Ii(new _.Ob("getUserPrefs requires a namespace.",_.DM(3)));GQ(this);var e=_.bh();this.V.create(e,a);return this.send("3.2",[a.zc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.gp(JSON.parse(f[0]));return new _.kO(h,f[1],f[2])}).addCallback(function(f){sZc(c.V,e,f);return f.response}).Re(function(f){DP(c.V,e);return f})};
_.g.Pta=function(a){GQ(this);obd(_.Ad(this.H.H.Hf(),30),a);a=eRc(a);return this.send("3.6",[a.zc()],function(b){return new b3c(JSON.parse(b[0]))})};_.g.Mta=function(a){GQ(this);return this.send("3.16",[a.zc()],function(b){return new AUc(JSON.parse(b[0]))})};_.g.Ota=function(){return this.ta};_.g.Yl=function(a){GQ(this);this.send("3.8",[a])};_.g.DC=function(a){GQ(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.Rta=function(a){GQ(this);qad(this.H).W(a);this.DC(!!a)};
_.g.ZR=function(){GQ(this);this.send("3.9",[])};_.g.RMa=function(){GQ(this);this.send("3.41",[]);B4c(this.H);var a=vUc(this.H.Ql(),106006);a&&this.va.promise.then(function(b){var c=_.D(_.dO(a),$Tc,6);if(!c){c=new $Tc;var d=_.dO(a);_.z(d,6,c)}c=_.B(c,1,b.clientId);_.B(c,2,b.V);a.H()},function(){})};_.g.gfa=function(){GQ(this);return this.H.pq()};_.g.Jta=function(){GQ(this);return zbd(this.send("3.19",[],function(a){return new GZc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Hh.isConnected()};
_.g.b2=function(){return this.Sa};_.g.sync=function(){GQ(this);return this.send("3.28",[]).then()};_.g.X4=function(){return C4c(this.H)};_.g.Qta=function(){};_.g.uia=function(a){GQ(this);return this.W.Jma(a)};_.g.uZ=function(a){GQ(this);return this.W.Ima(a)};_.g.lwa=function(a){GQ(this);OYc(this.H.ma,a,lUc(this.Ea));return this.W.Fma(a)};_.g.Zza=function(a){GQ(this);return new kbd(this.va.promise,a)};
_.g.Ila=function(a){GQ(this);if(!this.ha||this.ha.isDisposed()){var b=SO.prototype.O6a.bind(this);this.ha=new $ad(a,this.H,b)}return this.ha};_.g.O6a=function(a){return this.send("3.20",[a.zc()],function(b){return new I3c(JSON.parse(b[0]))})};_.g.dxa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.si()};_.g.Kta=function(a){GQ(this);return this.send("3.25",[a.zc()],function(b){return new E3c(JSON.parse(b[0]))})};_.g.hna=function(a){GQ(this);return this.send("3.22",[a.zc()],function(){return new J3c})};
_.g.pva=function(){return this.Qb.promise};_.g.bQa=function(a){var b=_.yi();this.send("3.30",[a.zc()],function(c){c[0]?b.resolve(new L3c(JSON.parse(c[0]))):b.reject(new _.Nb(JSON.parse(c[1])))}).Re(function(c){return b.reject(c)});return b.promise};_.g.bma=function(a){GQ(this);return this.W.wma(a)};_.g.ema=function(a){GQ(this);return this.send("3.42",[a.zc()],function(b){return new KVc(JSON.parse(b[0]))}).then()};
_.g.IZ=function(a){GQ(this);var b=new _.Vn;this.send("3.39",[a.zc()],function(c){return JSON.parse(c).map(function(d){return new DZc(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new pbd(b.promise))};_.g.Rwa=function(a){var b=this;GQ(this);return new Rad(this.H,a,function(c){return b.send("3.37",[c.request.zc(),c.pageToken],function(d){d=JSON.parse(d);return new gYc(new dQ(JSON.parse(d[0])),d[1])}).then()})};
_.g.Rga=function(a){GQ(this);return this.send("3.38",[a.zc()],function(b){return new j3c(JSON.parse(b[0]))}).then()};_.g.nBa=function(a){GQ(this);return this.W.Mma(a)};_.g.bja=function(a){GQ(this);return this.W.Lma(a)};_.g.Sza=function(a){var b=this;GQ(this);return new Sad(this.H,a,function(){return b.send("3.40",[a.zc()],function(c){return new _.GO(JSON.parse(c[0]))}).then()})};_.g.nia=function(a){GQ(this);return this.W.Gma(a)};_.g.Ita=function(a){GQ(this);this.send("3.43",[a.zc()])};
_.g.S$=function(a){GQ(this);return this.send("3.44",[a.zc()],function(){return new IUc}).then()};_.g.Nta=function(a){GQ(this);if(1!=_.PN(this.H.H))return Promise.reject(Error("og"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Kc())return Promise.reject(Error("pg"));if(!c.yj()&&!c.getItem())return Promise.reject(Error("qg"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.zc()})]))};
_.g.uQa=function(){var a=this,b=[_.pj(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.ui(b).then(function(c){c?_.nj(a.uQa.bind(a),6E4):(a.rb=!0,GQ(a))})};var GQ=function(a){a.rb&&a.dispatchEvent(new o4c)},LRc=function(a){if(_.E(a,61,!1)&&_.q.SharedWorker)if(_.D(a,lTc,66)){if(_.CM(_.gM(a))||_.QN(a)&&!_.E(a,52,!1))return!1}else return!1;else return!1;return!0},zbd=function(a){var b=_.yi();a.Sf(b.resolve,b.reject,b);return b.promise};
var HQ=function(){_.Q.call(this);this.ha=new _.Sm;this.va=this.je=this.Ka=!1};_.N(HQ,_.Q);HQ.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};HQ.prototype.ma=function(){};HQ.prototype.setActive=function(a){this.je=a;Abd(this)};var Abd=function(a){if(a.je&&!a.va){var b=_.Tm(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.Tm(a.ha))}else a.va=!0,_.zi(a.Sa(b),function(){a.va=!1;Abd(a)})}};HQ.prototype.Ba=function(){};HQ.prototype.Sa=function(){};HQ.prototype.Ma=function(){return!0};
HQ.prototype.enqueue=function(a){try{var b=new _.Bi;this.ha.enqueue(new Bbd(a,b));Abd(this);return b}catch(c){return _.Ii(_.EM(c))}};var Bbd=function(a,b){this.V=a;this.H=b};Bbd.prototype.getCommand=function(){return this.V};
var Dbd=function(a){HQ.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.iM(this.H.H)&&(this.W=new _.Ie(this),this.Na(this.W),this.W.listen(this.V,"Kb",this.ka));var c=a.ha;wP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!=_.Jk(a.H.Hf(),17,1)&&(d.push("iuEtc"),wP(c,["mrK8ic"],function(){xP(c,"iuEtc")}));wP(c,d,function(){return Cbd(b)})};_.N(Dbd,HQ);Dbd.prototype.ma=function(){Ebd(this)};
var Cbd=function(a){if(1==a.H.rb.Gg().Hb())return Promise.resolve();var b=new _.ff;_.hf(b,!0);_.gf(b,301);var c=new _.rN;_.hUc(c,b);return Fbd(a,c).then(null,function(d){d=_.qM(d);_.B(d,21,"Initial account request failed.");a.H.Ab(d)})},Fbd=function(a,b,c){return a.H.ta().then(function(d){return d.H(b,c)}).then(function(d){var e=d.Gg(),f=e.getUser();if(f&&0==_.H(f,7))d=_.rM(_.gM(a.H.H)),d=Error("rg`"+d+"`"+_.rH(f)),_.Qa(d),_.PMc(a.H.Ql(),73301807),d=Promise.reject(d);else{f=a.H.rb;var h=0==f.vf()?
1:6;_.iM(a.H.H)&&J_c(a.V,e);h=G4c(f,e,h);(e=e.getMetadata())&&D4c(a.H,_.C(e,2),1);(d=_.C(d,4))&&A5c(a.H,d,!0);h&&a.dispatchEvent(new _.aj("WPi0i"));d=Promise.resolve(new _.lO(f.Gg(),f.vf(),!1))}return d}).then(function(d){return d},function(d){d=_.qM(d);_.B(d,5,1);return Promise.reject(new _.Ob("Error fetching account from server.",d))})};
Dbd.prototype.Ba=function(a){var b=a.getCommand();if(b.u7a){var c={};b.AS&&(c.vga=b.AS);Fbd(this,b.Ub,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Qd(e)})}else if(b=this.H.rb,c=b.Gg(),_.iM(this.H.H)){c=c.Gg();var d=c.getUser();d=N_c(this.V,_.rH(d));J_c(this.V,c);G4c(b,c,b.vf())&&this.dispatchEvent(new _.aj("WPi0i"));a.H.callback(new _.lO(b.Gg(),b.vf(),d))}else c.Hb(),b=new _.lO(c,b.vf(),!0),a.H.callback(b)};
var Ebd=function(a){var b=a.H.H.Hf();_.q.setTimeout(function(){var c=new _.rN,d=new _.ff;_.gf(d,306);_.hUc(c,d);Fbd(a,c).then(function(){return Ebd(a)},function(){return Ebd(a)})},Math.ceil(_.Kk(b,7,9E5)*Math.random())+_.Kk(b,3,72E5))};Dbd.prototype.ka=function(a){var b=this.H.rb,c=b.Gg().Gg();c&&a.getPeople().find(function(d){return _.C(d,1)==_.rH(c.getUser())})&&(J_c(this.V,c),G4c(b,c,b.vf())&&this.dispatchEvent(new _.aj("WPi0i")))};var Gbd=function(a,b){this.Ub=a;this.u7a=!!b;this.AS=null};
var Ibd=function(a){HQ.call(this);this.H=a;this.Wd=new _.Ie(this);this.Na(this.Wd);this.Wd.listen(this.H.vc,"Qb",_.Ta(this.dispatchEvent,new _.aj("Qb",this)));this.Ha=this.ka=!1;this.W=null;this.V=1;this.Ea=0;this.ta=null;Hbd(this)};_.N(Ibd,HQ);
var Hbd=function(a){var b=a.H.ha;wP(b,["nVUlO"],function(){a.Ha=!0;a.setActive(!0)});if(!_.QN(a.H.H)){var c=_.Jk(a.H.H.Hf(),18,1);wP(b,["NSockf"],function(){1==c?Jbd(a):a.setActive(!0)});2==c&&wP(b,["mrK8ic"],function(){a.ka||Jbd(a)})}},Jbd=function(a){var b=new _.ff;_.hf(b,!0);_.gf(b,301);var c=new _.eN;_.fUc(c,b);_.B(c,1,1);Kbd(a,c).Xf(function(){return null})},Kbd=function(a,b,c){_.q.clearTimeout(a.Ea);a.Ea=0;var d=_.yi();a.W=d.promise;_.zi(a.W,function(){a.W=null;Lbd(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.eN;_.B(h,1,a.V);_.fUc(h,b.ue());a.H.ta().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.vc;l.Uta(k,l.kA()?6:1);d.resolve()},function(k){a.V=e;k=_.FM(k);var l=k.Sg;_.B(l,5,2);f?(_.oM(l,1),k.message="Initial app settings refresh failed.",_.B(k.Sg,21,"Initial app settings refresh failed."),a.H.Ab(l),a.setActive(!0)):(_.oM(l,2),k.message="Error occurred while loading the latest set of apps.",_.B(k.Sg,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};Ibd.prototype.Ma=function(){return!1};
Ibd.prototype.Sa=function(a){var b=this,c=a.getCommand(),d=c.Ub,e=c.iba,f=c.AS?{vga:c.AS}:void 0;if(!Mbd(d))return this.H.ta().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.iO(l,1,!1))},function(l){a.H.Qd(_.EM(l))}),_.si();c=_.si();var h=!1;this.W?Nbd(this,d.getType())?e=this.W:c=e=new _.ri(function(l,n){b.W.then(function(){Kbd(b,d,f).then(function(){return l()},n)})}):!e&&this.Ha&&Nbd(this,d.getType())&&!this.ta?(h=!0,e=_.si()):e=Kbd(this,d,f);var k=a.H;e.then(function(){var l=
b.H.vc;k.callback(new _.iO(l.Vta(),l.vf(),h))},function(l){k.Qd(l)});return c.then()};
var Mbd=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.Ad(a,4),a=_.Ad(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Nbd=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},Lbd=function(a){var b=a.H.H.Hf(),c=new _.ff;_.gf(c,306);var d=new _.eN;_.B(d,1,1);_.fUc(d,c);a.Ea=_.q.setTimeout(function(){return void Kbd(a,d)},Math.ceil(_.Kk(b,7,9E5)*Math.random())+_.Kk(b,4,72E5))},Obd=function(a,b){this.Ub=a;this.iba=!!b;this.AS=null};
var Pbd=function(a,b){this.ta=b;this.Ub=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.yi();this.W="";this.ka=this.ma=!1};Pbd.prototype.ha=function(){this.ma||(this.ma=!0,Qbd(this));return this.V.promise};var Qbd=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.PJc(a.Ub,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.va.bind(a))}};Pbd.prototype.Ba=function(a){(this.W=a.pageToken)?Qbd(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
Pbd.prototype.va=function(a){a=_.FM(a);var b=a.Sg.xj();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)};Pbd.prototype.cancel=function(){this.ka=!0};
var Sbd=function(a){HQ.call(this);var b=this;this.H=a;this.ka=new _.Ie(this);this.Na(this.ka);this.ka.listen(this.H.Ka,"WPi0i",function(){return b.dispatchEvent(new _.aj("WPi0i"))});this.V=null;this.W=_.yi();this.ta=_.Ad(this.H.H.Hf(),30);Rbd(this)};_.N(Sbd,HQ);
var Rbd=function(a){var b=a.H.ha;wP(b,["rkYxSd"],function(){return a.initialize()});wP(b,["px2C2c"],function(){a.H.W.info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.W.resolve();a.W=null});var c=["NSockf"],d=_.Jk(a.H.H.Hf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&wP(b,["mrK8ic"],function(){xP(b,"OZvrNc")}));!_.E(a.H.H,11,!1)&&_.E(a.H.H,24,!1)&&(c.push("DEJoH"),_.q.setTimeout(function(){0<ead(a.H.Ka).oy().length||(b.H("NSockf")?xP(b,"DEJoH"):wP(b,["NSockf"],function(){xP(b,"DEJoH")}))},
12E3));wP(b,c,function(){if(!b.H("px2C2c")){var e=new _.ZD,f=new _.ff;_.hf(f,!0);_.gf(f,301);_.z(e,1,f);Tbd(a,e,Ubd(a)).Xf(function(){a.initialize()})}})};Sbd.prototype.ma=function(){var a="User prefs detected: "+ead(this.H.Ka).oy().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);Vbd(this)};
var Tbd=function(a,b,c,d){var e=new _.KJc(b,c),f=d?{vga:d}:void 0;return a.H.ta().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ka;B5c(k,h.oy(),k.kA()?6:1,c)}).then(null,function(h){h=_.FM(h);_.B(h.Sg,5,4);0<a.ha.qc()||a.H.Ab(h.Sg);a.V=h;throw h;})};
Sbd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.Mc(this.H.Ka.H.keys())));c.Pfa.find(function(f){return!e.has(f)})&&(c.iba=!0);this.V?d.Qd(this.V):c.iba?_.zi(this.W?this.W.promise:Tbd(this,c.Ub,Ubd(this,c.Pfa),c.AS||void 0),function(){return Wbd(b,d,c.Pfa,!1)}):Wbd(this,d,c.Pfa,!0)};
var Ubd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Mc(a.ta),_.Mc([].concat(_.Mc(a.H.Ka.H.keys()))),_.Mc(b)));return[].concat(_.Mc(a.values()))},Wbd=function(a,b,c,d){a=a.H.Ka.JI(c);b.callback(new _.kO(a.H,a.V,d))},Vbd=function(a){var b=a.H.H.Hf();_.q.setTimeout(function(){var c=new _.ZD,d=new _.ff;_.gf(d,306);_.z(c,1,d);_.zi(Tbd(a,c,Ubd(a)).Xf(_.Af),function(){return Vbd(a)})},Math.ceil(_.Kk(b,7,9E5)*Math.random())+_.Kk(b,5,72E5))},Xbd=function(a,b,c){this.Ub=a;this.Pfa=b;this.iba=!!c;
this.AS=null};
var NRc=function(a){kQ.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.yi();this.H=a.ta()};_.N(NRc,kQ);_.g=NRc.prototype;_.g.XDa=function(){this.Ea=new Dbd(this.context);this.Na(this.Ea);this.Ha=new Ibd(this.context);this.Na(this.Ha);this.Wa=new Sbd(this.context);this.Na(this.Wa)};
_.g.WMa=function(){var a=this,b=["hVFf7"];_.QN(this.context.H)&&b.push("BNEDtc");wP(this.V,b,(0,_.v)(this.XIa,this));wP(this.V,["T8oKm","ZA9qG"],(0,_.v)(this.XRa,this));wP(this.V,["T8oKm","mrK8ic"],(0,_.v)(this.XRa,this));this.Wd.listen(this.Ea,"WPi0i",this.Tta.bind(this,1));this.Wd.listen(this.Ha,"Qb",this.Tta.bind(this,2));this.Wd.listen(this.Wa,"WPi0i",this.Tta.bind(this,4));wP(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.XRa=function(){qQ(this.context).addCallback(function(a){a.start()})};
_.g.Tta=function(a){_.ja(LUc,a)&&this.dispatchEvent(new N3c(a))};_.g.uZ=function(a){return this.W.Ima(_.gl(a))};_.g.lwa=function(a){OYc(this.context.ma,a,lUc(this.context.Wa));return this.W.Fma(_.gl(a))};_.g.uia=function(a){return this.W.Jma(_.gl(a))};_.g.Zza=function(a){return new Pbd(a,this.context.ta())};_.g.Rka=function(a,b){var c=this;if(this.ta&&_.fl(this.ta.Ed(),a))return this.ta;this.ta=new FQ(_.gl(a),this.context,this.CYa.bind(this),b);_.q.setTimeout(function(){c.ta=null},3E3);return this.ta};
_.g.CYa=function(a,b,c){var d=new _.DJc(a,b,c);return _.Hi(this.H.then(function(e){return e.H(d)}).Xf(function(e){return _.GM(e)}))};_.g.Ila=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new $ad(a,this.context,this.VZa.bind(this));return this.ka};_.g.VZa=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).Xf(function(b){return _.GM(b)}))};_.g.dxa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.si()};_.g.Kta=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}))};
_.g.hna=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}))};_.g.pwa=function(a,b){var c=this;if(this.ma&&_.fl(this.ma.Ed(),a))return jbd(this.ma),this.ma;this.ma=new gbd(_.gl(a),this.context,this.ftb.bind(this),b);_.q.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.ftb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.iM(b.context.H)?M_c(b.context.V.ma,c.Sr().jM(),a.Ed().getId()).then(function(){return c}):c},_.GM)};
_.g.wra=function(a){var b=this;return _.Hi(this.H.then(function(c){return c.H(a)}).then(function(c){return _.iM(b.context.H)?M_c(b.context.V.ma,[c.I2()],a.Kc()).then(function(){return c}):c},_.GM))};_.g.kna=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};_.g.bma=function(a){return this.W.wma(_.gl(a))};_.g.ema=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.GM)};
_.g.IZ=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){var c=new _.Vn;U_c(a,b).then(function(d){return c.resolve(d)});return new pbd(c.promise)},function(b){return void _.GM(b)})};_.g.Rwa=function(a){var b=this;return new Rad(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Xf(function(d){return _.GM(d)})})};_.g.Rga=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.GM)};
_.g.yd=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};_.g.mS=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.GM)};_.g.rB=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.yd(a[d])),b.push(a[d].getId());a=new _.dq(c);c=new _.Bi;a.addCallback(this.i0a.bind(this,c,b));return c};_.g.yma=function(){return new lbd(this.context.H,this.context.Ma,this.context.Lb.W,this.context.ta(),this.context.Qb,this.context.W,this.context.Ql())};
_.g.XX=function(a,b){var c=this,d=_.bh();this.ha.create(d,a);3==a.getType()?a=kQ.prototype.XX.call(this,a).addCallback(function(e){return new _.iO(e,1,!1)}):(xP(this.V,"Qubz4b"),a=this.Ha.enqueue(new Obd(a,b)));return a.addCallback(function(e){sZc(c.ha,d,e);return e.response}).Re(function(){DP(c.ha,d)})};_.g.Lta=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};_.g.yra=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};
_.g.gna=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};_.g.hfa=function(a){return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};_.g.zW=function(a,b){var c=this;xP(this.V,"iuEtc");var d=_.bh();this.ha.create(d,a);return this.Ea.enqueue(new Gbd(a,b)).addCallback(function(e){sZc(c.ha,d,e);return e.response}).Re(function(){DP(c.ha,d)})};
_.g.JI=function(a,b){var c=this,d=_.Ad(this.context.H.Hf(),30);if(!d||0==d.length)return _.Ii(new _.Ob("getUserPrefs requires a namespace.",_.DM(3)));var e=_.bh();this.ha.create(e,a);xP(this.V,"OZvrNc");return this.Wa.enqueue(new Xbd(a,d,b)).addCallback(function(f){sZc(c.ha,e,f);return f.response}).Re(function(){DP(c.ha,e)})};_.g.Pta=function(a){obd(_.Ad(this.context.H.Hf(),30),a);return _.Hi(this.H.then(function(b){return b.H(a)}).then(null,_.GM))};
_.g.Mta=function(a){var b=this;return _.Hi(this.H.then(function(c){return c.H(a)}).then(function(c){return _.iM(b.context.H)?L_c(b.context.V.ma,c):c},_.GM))};_.g.nBa=function(a){return this.W.Mma(_.gl(a))};_.g.bja=function(a){return this.W.Lma(_.gl(a))};_.g.Sza=function(a){var b=this;return new Sad(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Xf(function(d){return _.GM(d)})})};_.g.nia=function(a){return this.W.Gma(_.gl(a))};_.g.Ita=function(a){I6c(this.context.V,[a])};
_.g.S$=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.GM)};_.g.Nta=function(a){if(1!=_.PN(this.context.H))return Promise.reject(Error("og"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Kc())return Promise.reject(Error("pg"));if(!c.yj()&&!c.getItem())return Promise.reject(Error("qg"))}this.context.V.ta(a);a=this.context.V;nQ(a.H).ka();ZYc(a.ha);return Promise.resolve()};_.g.Ota=function(){return this.context.Lb.H()};
_.g.DC=function(a){var b=this;return this.context.DC(a).then(function(c){return c?(b.context.ka.DC(a),b.context.va.d5()):_.si(!a)})};_.g.Rta=function(a){qad(this.context).W(a);this.DC(!!a)};_.g.ZR=function(){qQ(this.context).addCallback(function(a){a&&a.Mjb()});SZc(this.context.Yf)};_.g.Qta=function(a){a.Nj(this.context)};_.g.i0a=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;nQ(b.H).ka();ZYc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.wi([this.context.Jd.promise,this.context.ho.promise]).then(function(){return a.context.va.d5()}).then()};_.g.X4=function(){qQ(this.context).addCallback(function(a){a&&a.dispose()});return kQ.prototype.X4.call(this)};_.g.pva=function(){return this.rb.promise};
var Ybd=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>")};
_.sp({id:_.wl,callback:function(a){var b=_.jQc(a),c=PRc(a),d=_.D(a.get(_.tm),_.sba,10);_.bLc(d,b);_.B(d,28,c||[]);b=ORc(a,d);a.registerService(_.xl,b.b2());_.ge(b,"VbxEwf",function(){var e={};_.Zb(_.ly.getService(a),new _.Tr(new _.Sr(Ybd,{}),"d",(e.reload=function(){_.q.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
var $bd,ecd,gcd;_.Zbd=function(a,b){return _.z(a,17,b)};$bd=[3];_.IQ=function(a){_.T(this,a,0,-1,$bd,null)};_.O(_.IQ,_.M);_.IQ.prototype.getType=function(){return _.C(this,1)};_.IQ.prototype.Kc=function(){return _.C(this,2)};_.acd=function(a,b){return _.B(a,2,b)};_.IQ.prototype.V=function(){return _.al(this,_.IQ,3)};_.bcd=function(a){_.T(this,a,0,-1,null,null)};_.O(_.bcd,_.M);_.bcd.prototype.getFeature=function(){return _.C(this,1)};_.ccd=function(a,b){return _.B(a,1,b)};
_.bcd.prototype.V=function(){return _.D(this,_.IQ,2)};_.dcd=function(a,b){return _.z(a,2,b)};ecd=[1];_.bO=function(a){_.T(this,a,0,-1,ecd,null)};_.O(_.bO,_.M);_.bO.prototype.V=function(){return _.al(this,_.bcd,1)};_.fcd=function(a,b){return _.hb(a,1,b)};gcd=[1,2];_.xQ=function(a){_.T(this,a,0,-1,gcd,null)};_.O(_.xQ,_.M);_.xQ.prototype.V=function(){return _.Ad(this,1)};_.hcd=function(a,b){return _.B(a,1,b||[])};_.xQ.prototype.sQ=function(){return _.al(this,_.FMb,2)};
_.icd=function(a,b){return _.hb(a,2,b)};_.xQ.prototype.ue=function(){return _.D(this,_.ff,3)};_.jcd=function(a,b){return _.z(a,3,b)};_.t("RsR2Mc");


_.w();

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