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

_.W("a","block",1,function(a){a=a||{};return(0,_.G)('<svg class="'+(a.ob?_.E("a-s-fa-Ha-pa"):"")+'" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>')});

_.u();

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


_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var wvb,zvb;wvb=[4,5,6,7];_.BB=function(a){_.J.call(this,a)};_.K(_.BB,_.J);_.BB.prototype.Bb=function(){return _.y(this,1)};_.BB.prototype.Dc=function(a){return _.w(this,1,a)};_.BB.prototype.i$=function(){return _.y(this,2)};_.BB.prototype.Wb="JmcaR";_.xvb=function(a){_.J.call(this,a)};_.K(_.xvb,_.J);_.xvb.prototype.O=function(){return _.Q(this,1)};_.xvb.prototype.Wb="dvhrqe";_.yvb=function(a){_.J.call(this,a)};_.K(_.yvb,_.J);_.yvb.prototype.bp=function(){return _.y(this,2)};
_.yvb.prototype.E1=function(){return _.y(this,3)};zvb=[5];_.Avb=function(a){_.J.call(this,a)};_.K(_.Avb,_.J);_.Avb.prototype.O=function(){return _.Q(this,4)};_.Avb.prototype.setActive=function(a){return _.w(this,4,a)};_.Bvb=function(a){_.J.call(this,a,-1,zvb)};_.K(_.Bvb,_.J);_.g=_.Bvb.prototype;_.g.CZ=function(){return _.y(this,1)};_.g.GT=function(){return _.y(this,3)};_.g.XJ=function(){return _.Qj(this,_.yvb,5)};_.g.Gl=function(){return _.y(this,6)};_.g.Cq=function(){return _.y(this,7)};
_.g.PM=function(){return _.y(this,9)};_.g.Zs=function(){return _.y(this,10)};_.g.HJ=function(){return _.B(this,_.Avb,12)};_.g.Sk=function(){return _.y(this,13)};_.g.Qz=function(){return _.y(this,16)};_.g.hzb=function(){return _.P(this,16)};_.g.Rz=function(){return _.y(this,17)};_.g.Wb="dzR11e";_.Cvb=function(a){_.J.call(this,a,-1,wvb)};_.K(_.Cvb,_.J);_.Cvb.prototype.O=function(){return _.B(this,_.Bvb,1)};_.Cvb.prototype.aN=function(){return _.B(this,_.BB,8)};
_.Cvb.prototype.V=function(){return _.B(this,_.xvb,9)};_.t("sy139");
_.CB=function(a){_.J.call(this,a,-1,Dvb)};_.K(_.CB,_.J);_.CB.prototype.getUser=function(){return _.B(this,_.Kk,1)};_.CB.prototype.getMetadata=function(){return _.B(this,_.Cvb,3)};_.CB.prototype.xo=function(){return _.P(this,3)};var Dvb=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.rc=function(a){_.ri.call(this,_.Bc);this.error=a};_.K(_.rc,_.ri);_.t("sy13a");
var hob;_.yA=function(a){_.J.call(this,a,-1,hob)};_.K(_.yA,_.J);_.yA.prototype.O=function(){return _.Td(this,1)};_.zA=function(a,b){return _.Kj(a,1,b)};_.yA.prototype.jn=function(){return _.Td(this,2)};_.AA=function(a,b){return _.Kj(a,2,b)};_.yA.prototype.ve=function(){return _.B(this,_.wf,3)};_.BA=function(a,b){return _.I(a,3,b)};_.iob=function(a,b){return _.w(a,5,b)};hob=[1,2,6,11];

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.DB=function(a){return a instanceof _.qc?a:a instanceof _.oc?new _.qc(void 0,a):a instanceof Error?new _.qc(a.message,void 0,a):new _.qc("Not an Error",void 0,Error("sb`"+JSON.stringify(a)))};_.Evb=function(a){return a instanceof Error?_.DB(a).Qg:a instanceof _.qc?a.Qg:a};_.t("sy13c");

_.u();

}catch(e){_._DumpException(e)}
try{
_.Fvb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Un("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Nr:e,size:f,Xd:h},a))};_.t("sy13d");

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy13e");
_.EB={CL:"jb",Dga:"kb",hU:"lb",gU:"mb"};_.Gvb=new Map([[_.EB.CL,1],[_.EB.Dga,2],[_.EB.hU,2],[_.EB.gU,3]]);

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.kzb=function(a){a=parseInt(_.y(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.mzb=function(a,b,c,d){var e=_.Pe.getService(a);a=e.qg(a,c);_.lzb(a.H.qk,b,d);e.dg(a)};_.lzb=function(a,b,c){var d=new _.nzb;b.CU&&_.w(d,2,b.CU);b.fG&&0<=b.fG&&_.w(d,1,b.fG);b.quotaType&&_.w(d,3,b.quotaType);_.ozb(a,d);c&&(b=new _.pzb,_.w(b,1,c),_.qzb(a,b))};_.rzb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.szb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.ozb=function(a,b){b&&(a=a.Vc(),_.I(a,29,b))};_.qzb=function(a,b){b&&(a=a.Vc(),_.I(a,38,b))};_.nzb=function(a){_.J.call(this,a)};_.K(_.nzb,_.J);_.pzb=function(a){_.J.call(this,a)};_.K(_.pzb,_.J);_.pzb.prototype.Th=function(){return _.y(this,1)};_.t("sy16u");
_.uzb=function(a,b,c){var d=_.C(a.get(_.JDa),1,""),e=_.kzb(b);d=new _.ij(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.rj(_.tj(_.tj(_.tj(_.tj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.tzb(a,e,c)),-1!=parseInt(String(_.B(b,_.fy,2)),10)?"upgrade":"")};
_.tzb=function(a,b,c){switch(c){case "settings":return"settings";case "upload_dialog":return"upload_dialog_oos";case "widget":switch(b){case "over":return"widget_oos";case "near":return"widget_near_quota";default:return"widget_normal"}default:switch(b){case "near":case "over":return"upsell";default:return"manage"}}};
_.vzb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.y(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
var mAb;_.lAb=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")};mAb=function(a){var b=_.paa(_.TEa,function(c){return a==c});if(void 0===b)throw Error("qb`"+a);return b};_.nAb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.TEa[a.name]):(this.code=a=a.code,this.name=mAb(a));_.fa.call(this,_.lAb("%s %s",this.name,b))};_.Sf(_.nAb,_.fa);var oAb=function(a,b){_.ri.call(this,a.type,b)};
_.Sf(oAb,_.ri);_.t("sy175");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.pAb=function(){_.zi.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.M)(this.i0,this);this.H.onprogress=(0,_.M)(this.i0,this);this.H.onload=(0,_.M)(this.i0,this);this.H.onabort=(0,_.M)(this.i0,this);this.H.onerror=(0,_.M)(this.i0,this);this.H.onloadend=(0,_.M)(this.i0,this)};_.Sf(_.pAb,_.zi);_.g=_.pAb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.nAb(a,"aborting read");}};_.g.Yj=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.nAb(this.H.error,"reading file")};_.g.i0=function(a){this.dispatchEvent(new oAb(a,this))};_.g.Ya=function(){_.pAb.wb.Ya.call(this);delete this.H};

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy18l");
_.aD=function(a){_.J.call(this,a)};_.K(_.aD,_.J);_.aD.prototype.ha=function(){return _.Ej(this,1)};_.aD.prototype.V=function(){return _.Ej(this,2)};_.aD.prototype.O=function(){return _.Ej(this,3)};

_.u();

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

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.dub=function(a){_.J.call(this,a)};_.K(_.dub,_.J);_.dub.prototype.O=function(){return _.y(this,1)};_.dub.prototype.Bb=function(){return _.y(this,2)};_.dub.prototype.Dc=function(a){return _.w(this,2,a)};_.dub.prototype.V=function(){return _.y(this,3)};_.t("sy19e");
_.fub=function(a){_.J.call(this,a,-1,eub)};_.K(_.fub,_.J);_.fub.prototype.O=function(){return _.Td(this,1)};var eub=[1];
_.hub=function(a){_.J.call(this,a,-1,gub)};_.K(_.hub,_.J);_.hub.prototype.O=function(){return _.Qj(this,_.dub,1)};var gub=[1];
_.jub=function(a){_.J.call(this,a,-1,iub)};_.K(_.jub,_.J);_.jub.prototype.O=function(){return _.Qj(this,_.hub,1)};var iub=[1];
_.kub=function(a){_.J.call(this,a)};_.K(_.kub,_.J);_.kub.prototype.V=function(){return _.B(this,_.jub,1)};_.kub.prototype.O=function(){return _.B(this,_.fub,2)};
_.rB=function(a){_.J.call(this,a,-1,lub)};_.K(_.rB,_.J);_.g=_.rB.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Qj(this,_.el,2)};_.g.Uw=function(a){return _.Mj(this,2,a)};_.g.oh=function(a,b){return _.Sj(this,2,a,_.el,b)};_.g.Xj=function(){return _.y(this,3)};_.g.ol=function(){return _.S(this,5,!0)};_.g.R5=function(){return _.B(this,_.kub,7)};_.g.Wra=function(){return _.Q(this,8)};_.g.Zf=function(){return _.y(this,17)};
_.g.sP=function(a){return _.w(this,17,a)};_.g.Ze=function(){return _.y(this,12)};_.g.Li=function(a){return _.w(this,12,a)};_.g.Xn=function(){return _.y(this,15)};_.g.Xja=function(){return _.Td(this,18)};var lub=[2,14,18];

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ak");
_.KD=function(a){_.J.call(this,a)};_.K(_.KD,_.J);_.KD.prototype.getKey=function(){return _.B(this,_.Tb,1)};_.KD.prototype.lt=function(){return _.P(this,1)};_.KD.prototype.ve=function(){return _.B(this,_.wf,2)};
_.LD=function(a){_.J.call(this,a)};_.K(_.LD,_.J);_.LD.prototype.ve=function(){return _.B(this,_.wf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1al");
_.JD=function(a){_.J.call(this,a,-1,gEb)};_.K(_.JD,_.J);_.JD.prototype.ve=function(){return _.B(this,_.wf,1)};var gEb=[3];

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.$D=function(a,b,c){_.N.call(this);this.Hn=null!=c?(0,_.M)(a,c):a;this.ka=b;this.Jg=(0,_.M)(this.f9a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Sf(_.$D,_.N);_.g=_.$D.prototype;_.g.qe=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Qf()+this.ka:this.H=_.Ci(this.Jg,this.ka)};_.g.stop=function(){this.H&&(_.Di(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Hn.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.$D.wb.Ya.call(this)};_.g.f9a=function(){this.H&&(_.Di(this.H),this.H=null);this.W?(this.H=_.Ci(this.Jg,this.W-_.Qf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Hn.apply(null,this.ha))};

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1d8");
_.oG=function(a){_.J.call(this,a)};_.K(_.oG,_.J);_.oG.prototype.getName=function(){return _.y(this,1)};_.oG.prototype.hd=function(a){return _.w(this,1,a)};_.oG.prototype.ve=function(){return _.B(this,_.wf,2)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1db");
_.pG=function(a){_.J.call(this,a)};_.K(_.pG,_.J);_.g=_.pG.prototype;_.g.Ei=function(){return _.y(this,1)};_.g.ui=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.g.Jp=function(){return _.y(this,4)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1dc");
var DWb;_.qG=function(a){_.J.call(this,a,-1,DWb)};_.K(_.qG,_.J);_.qG.prototype.O=function(){return _.Td(this,1)};_.qG.prototype.jn=function(){return _.Td(this,2)};_.EWb=function(a,b){return _.Kj(a,2,b)};_.qG.prototype.ve=function(){return _.B(this,_.wf,3)};_.FWb=function(a,b){return _.I(a,3,b)};DWb=[1,2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.rG=function(a){_.J.call(this,a)};_.K(_.rG,_.J);_.g=_.rG.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,5)};_.g.Kd=function(a){return _.w(this,5,a)};_.g.nt=function(){return _.P(this,5)};_.t("sy1dd");
_.sG=function(a){_.J.call(this,a,-1,GWb)};_.K(_.sG,_.J);_.sG.prototype.jn=function(){return _.Td(this,1)};_.HWb=function(a,b){return _.Kj(a,1,b)};_.sG.prototype.ve=function(){return _.B(this,_.wf,2)};var GWb=[1,3];

_.u();

}catch(e){_._DumpException(e)}
try{
_.tG=function(a,b){return _.w(a,4,b)};_.IWb=function(a,b){_.w(a,11,b)};_.JWb=function(a,b){return _.w(a,25,b)};_.t("sy1de");

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1di");
_.AG=function(a){_.J.call(this,a)};_.K(_.AG,_.J);_.AG.prototype.Cc=function(){return _.y(this,1)};_.GXb=function(a){var b=new _.AG;return _.w(b,1,a)};_.AG.prototype.Ei=function(){return _.y(this,2)};_.AG.prototype.ui=function(a){return _.w(this,2,a)};_.AG.prototype.ve=function(){return _.B(this,_.wf,3)};

_.u();

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

_.u();

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

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sdc=function(a,b){return _.rdc()?(new _.n.Intl.Collator([a||"en-CA"],b||{})).compare:function(c,d){return c.localeCompare(d)}};_.rdc=function(){var a=_.n.Intl;return!(!a||!a.Collator)};

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.tdc=function(a,b,c){_.gj(a.url,function(d){d=d.target;d.wv()?b(d.Fl()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.udc=function(a,b,c,d){return _.C(a,1).split("/").pop()==d?(d=_.y(a,2),Array.isArray(d)?new b(d):c(_.ob(a.Za()))):null};_.t("sy1j4");
_.wdc=function(a){_.J.call(this,a,-1,vdc)};_.K(_.wdc,_.J);var vdc=[2];
_.xdc=function(a){_.J.call(this,a)};_.K(_.xdc,_.J);var ydc=function(){var a=new _.xdc,b=document.documentElement.getAttribute("lang");return _.w(a,5,b)};_.xdc.prototype.Wi=function(){return _.y(this,7)};
_.zdc=function(a){_.J.call(this,a)};_.K(_.zdc,_.J);
var Adc;_.dI=function(a){_.J.call(this,a,31,Adc)};_.K(_.dI,_.J);_.eI=function(a,b){return _.w(a,8,b)};Adc=[3,20,27];
var Cdc=function(a){_.J.call(this,a,17,Bdc)};_.K(Cdc,_.J);var Ddc=function(a){var b=Date.now().toString();return _.w(a,4,b)},Edc=function(a,b){return _.Mj(a,3,b)},Fdc=function(a,b){return _.w(a,14,b)},Bdc=[3,5];
var Hdc=function(a){_.J.call(this,a,6,Gdc)};_.K(Hdc,_.J);var Gdc=[5];
var Idc=function(a){_.J.call(this,a)};_.K(Idc,_.J);
var Jdc=new _.xk(175237375,Idc);
_.fI=function(a,b,c,d,e,f,h,k,l,p,q){_.zi.call(this);var r=this;this.Ka="";this.O=[];this.Ic="";this.Gb=this.Nb=this.ha=!1;this.Qc=this.rb=-1;this.Rb=!1;this.Fa=this.V=null;this.va=0;this.le=1;this.timeoutMillis=0;this.kb=!1;_.zi.call(this);this.Tc=a;this.oc=b||_.Of;this.ka=new Cdc;this.Bd=d;this.Ab=q;this.ne=_.Db(_.bja,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Od=null;this.withCredentials=!k;this.zc=f||!1;this.Qd=!this.zc&&(_.zj.Nn&&_.Fb(65)||_.zj.Mu&&_.Fb(45)||_.zj.Vx&&
_.Fb(12)||_.Xg()&&0<=_.ng(_.Fia(),12))&&!!_.uf()&&!!_.uf().navigator&&!!_.uf().navigator.sendBeacon;a=_.w(new _.zdc,1,1);f||(f=ydc(),_.I(a,11,f));_.I(this.ka,1,a);_.w(this.ka,2,this.Tc);this.ma=new _.bI(1E4,3E5,.1);this.H=new _.Bi(this.ma.Za());this.Ma(this.H);_.Ce(this.H,"tick",_.sga(Kdc(this,p)),!1,this);this.Qa=new _.Bi(6E5);this.Ma(this.Qa);_.Ce(this.Qa,"tick",_.sga(Kdc(this,p)),!1,this);this.Ta||this.Qa.start();this.zc||(_.Ce(_.uf(),"beforeunload",this.ta,!1,this),_.Ce(_.uf(),"unload",this.ta,
!1,this),_.Ce(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.Ce(document,"pagehide",this.ta,!1,this))};_.K(_.fI,_.zi);var Kdc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.fI.prototype.Ya=function(){this.ta();_.zi.prototype.Ya.call(this)};var Ldc=function(a){a.Ba||(a.Ba=.01>a.ne()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.fI.prototype.W=function(a){a instanceof _.dI?this.log(a):(a=_.eI(new _.dI,a.Lc()),this.log(a))};_.Mdc=function(a,b){b?(a.V||(a.V=new _.wdc),b=b.Lc(),_.w(a.V,4,b)):a.V&&_.qb(a.V,4)};_.Ndc=function(a){a.Nb=a.Qd};_.Odc=function(a,b){a.ma=new _.bI(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Za())};
_.fI.prototype.log=function(a){a=a.clone();var b=this.le++;_.w(a,21,b);this.Ka&&_.w(a,26,this.Ka);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.P(a,15)||_.w(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.I(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Pdc(a));this.Ta||this.H.enabled||this.H.start()};
_.fI.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.kb)Qdc(this);else{var d=Date.now();if(this.Qc>d&&this.rb<d)b&&b("throttled");else{var e=Fdc(Edc(Ddc(this.ka.clone()),this.O),this.va);d={};var f=this.oc();f&&(d.Authorization=f);var h=Ldc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.aj(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.aj(h,"pageId",this.$a));if(f&&this.Ic===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.Lc(),l;this.Fa&&this.Fa.uu(k.length)&&(l=this.Fa.M7b(k));var p={url:h,body:k,Skb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Za());if(z){var A=null;try{var D=JSON.parse(z.replace(")]}'\n",""));A=new Hdc(D)}catch(F){}A&&(z=Number(_.Rma(A,1,"-1")),0<z&&(c.rb=Date.now(),c.Qc=c.rb+z),A=_.sb(A,Jdc))&&(A=_.Vj(A,1,-1),-1!=A&&(c.Rb||_.Odc(c,A)))}a&&a()},r=
function(z){var A=_.Qj(e,_.dI,3);_.cI(c.ma);c.H.setInterval(c.ma.Za());401===z&&f&&(c.Ic=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Ta||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.Ab?c.Ab.send(p,q,r):c.Bd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Skb=2;v()},function(){v()}):v()}}}};_.fI.prototype.ta=function(){this.ha||(this.Nb&&Qdc(this),this.Gb&&Rdc(this),this.flush())};
var Qdc=function(a){Sdc(a,32,10,function(b,c){b=_.aj(b,"format","json");b=_.uf().navigator.sendBeacon(b,c.Lc());a.kb&&!b&&(a.kb=!1);return b})},Rdc=function(a){Sdc(a,6,5,function(b,c){b=_.Xi(b,"format","base64json","p",_.Aj(c.Lc(),3));_.Fg(new Image,b);return!0})},Sdc=function(a,b,c,d){if(0!==a.O.length){var e=_.Vla(Ldc(a),"format");e=_.Xi(e,"auth",a.oc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Edc(Ddc(a.ka.clone()),h);0===f&&Fdc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Pdc=function(){_.ri.call(this,"event-logged",void 0)};_.K(Pdc,_.ri);

_.u();

}catch(e){_._DumpException(e)}
try{
var Tdc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],D=e[2],F=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=F^A&(D^F);var O=1518500249}else L=A^D^F,O=1859775393;else 60>z?(L=A&D|F&(A|D),O=2400959708):(L=A^D^F,O=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+O+v[z]&4294967295;H=F;F=D;D=(A<<30|A>>>2)&4294967295;A=r;r=L}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+F&4294967295;e[4]=e[4]+H&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,D=r.length;A<D;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}};_.t("sy1jb");
var Udc=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("Ne`"+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("Oe`"+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 Wdc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Vdc(Udc(d),a,c||null)].join(" "):null},Vdc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ia(d,function(k){e.push(k)}),Xdc(e.join(" "));var f=[],h=[];_.Ia(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.pa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ia(d,function(k){e.push(k)});a=Xdc(e.join(" "));a=[c,a];_.pa(h)||a.push(h.join(""));return a.join("_")},Xdc=function(a){var b=
Tdc();b.update(a);return b.digestString().toLowerCase()};
var Ydc={};
var Zdc,aec;Zdc=function(a){return!!Ydc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.$dc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Zdc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.aQa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Zdc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};aec=function(a,b,c,d){(a=_.n[a])||(a=(new _.aQa(document)).get(b));return a?Wdc(a,c,d):null};
_.bec=function(a,b){b=void 0===b?!1:b;var c=Udc(String(_.n.location.href)),d=[];if(_.$dc(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.n.__SAPISID:_.n.__APISID;e||(e=new _.aQa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Wdc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Zdc(b)&&((b=aec("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=aec("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.u();

}catch(e){_._DumpException(e)}
try{
_.gI=function(a,b){a.H=b;a.ka=0};_.hI=function(a,b){return _.w(a,b,_.lb([]))};_.t("sy1je");
_.iI=function(a,b,c,d,e,f,h){_.fI.call(this,a,_.bec,b,_.tdc,c,d,e,void 0,f,h)};_.K(_.iI,_.fI);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k7");
_.cec=function(a){_.J.call(this,a)};_.K(_.cec,_.J);_.g=_.cec.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.lt=function(){return _.P(this,1)};_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};
_.jI=function(a){_.J.call(this,a,-1,dec)};_.K(_.jI,_.J);_.jI.prototype.Wz=function(){return _.y(this,1)};_.jI.prototype.getUrl=function(){return _.y(this,3)};var dec=[2,4,6];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k8");
_.eec={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.fec=_.Za(_.eec);

_.u();

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

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.kI=function(a,b){a.V.remove(b);return a};_.lI=function(){return"goog_"+_.wia++};_.iec=function(a,b,c,d,e,f){var h=new _.ij(null,void 0);a&&_.jj(h,a);b&&_.lma(h,b);c&&_.oj(h,c);d&&_.pj(h,d);e&&h.Mi(e);f&&_.qj(h,f);return h};_.mI=function(a){return new _.Vh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{Y8:!0,value:p}:{Y8:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Rja(h,_.Db(e,f,!0),_.Db(e,f,!1));else b(d)})};
_.oI=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new _.Dq(c,e,d-c,a-e)}return null};_.pI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.pI.prototype.clone=function(){return new _.pI(this.start,this.end)};_.qI=function(a){return a.end-a.start};_.t("sy1mn");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rI=function(a,b,c){_.N.call(this);this.Hn=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};_.K(_.rI,_.N);_.g=_.rI.prototype;_.g.qe=function(a){this.W=arguments;this.H||this.V?this.O=!0:jec(this)};_.g.stop=function(){this.H&&(_.Di(this.H),this.H=null,this.O=!1,this.W=null)};_.g.pause=function(){this.V++};_.g.resume=function(){this.V--;this.V||!this.O||this.H||(this.O=!1,jec(this))};_.g.Ya=function(){_.N.prototype.Ya.call(this);this.stop()};
var jec=function(a){a.H=_.Ci(function(){a.H=null;a.O&&!a.V&&(a.O=!1,jec(a))},a.ha);var b=a.W;a.W=null;a.Hn.apply(null,b)};

_.u();

}catch(e){_._DumpException(e)}
try{
var kec,nec;kec=[3,42];_.lec=function(a){_.J.call(this,a,-1,kec)};_.K(_.lec,_.J);_.lec.prototype.getMimeType=function(){return _.y(this,27)};_.mec=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};nec=function(a,b){if(b&&a in b)return a;var c=_.OFa();return c?(c=c.toLowerCase(),a=c+_.Aia(a),void 0===b||a in b?a:null):null};_.t("sy1mo");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var oec=function(a){_.ri.call(this,"visibilitychange");this.hidden=a};_.K(oec,_.ri);
_.pec=function(a){_.zi.call(this);this.Zc=a||_.mh();if(this.Jz=this.wrb())this.H=_.Ce(this.Zc.Vb(),this.Jz,(0,_.M)(this.T9a,this))};_.Sf(_.pec,_.zi);_.g=_.pec.prototype;_.g.wrb=_.kda(function(){var a=this.uu(),b="hidden"!=this.Oza();if(a){var c;b?c=((_.OFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Oza=_.kda(function(){return nec("hidden",this.Zc.Vb())});_.g.atb=_.kda(function(){return nec("visibilityState",this.Zc.Vb())});_.g.uu=function(){return!!this.Oza()};
_.g.IB=function(){return!!this.Zc.Vb()[this.Oza()]};_.g.T9a=function(){var a=this.uu()?this.Zc.Vb()[this.atb()]:null;a=new oec(this.IB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.xi(this.H);_.pec.wb.Ya.call(this)};

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sI=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Sf(_.sI,_.hec);_.sI.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.V=this.O=0};
var qec=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.H[0];c=a.H[1];e=a.H[2];var f=a.H[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.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.H[2]=a.H[2]+e&4294967295;a.H[3]=a.H[3]+f&4294967295};
_.sI.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.W,e=this.O,f=0;f<b;){if(0==e)for(;f<=c;)qec(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){qec(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){qec(this,d);e=0;break}}this.O=e;this.V+=b};
_.sI.prototype.digest=function(){var a=Array((56>this.O?this.blockSize:2*this.blockSize)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.V;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.H[b]>>>d&255;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
var rec;rec=[2];_.tI=function(a){_.J.call(this,a,-1,rec)};_.K(_.tI,_.J);_.tI.prototype.Bb=function(){return _.y(this,1)};_.tI.prototype.Dc=function(a){return _.w(this,1,a)};_.tI.prototype.RUa=function(){return _.Qj(this,_.N7a,2)};_.tI.prototype.Xj=function(){return _.y(this,3)};_.t("sy1nj");
var sec;_.uI=function(a){_.J.call(this,a,-1,sec)};_.K(_.uI,_.J);_.uI.prototype.O=function(){return _.Td(this,1)};_.uI.prototype.ve=function(){return _.B(this,_.wf,2)};_.tec=function(a,b){return _.I(a,2,b)};_.uI.prototype.Ei=function(){return _.Vj(this,3,20)};_.uI.prototype.ui=function(a){return _.w(this,3,a)};_.uec=function(a,b){return _.w(a,4,b)};sec=[1];

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vec=function(a){_.N.call(this);this.O=a;this.H={};this.O.rO((0,_.M)(this.V,this))};_.Sf(_.vec,_.N);_.xec=function(a,b){if(-1!=b.indexOf(":"))throw Error("Pe`"+b);if(b in a.H)throw Error("Qe`"+b);var c=new wec(a,b);return a.H[b]=c};_.vec.prototype.V=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.O&&c.O(a,b)}};_.vec.prototype.Ya=function(){_.La(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var wec=function(a,b){_.N.call(this);this.Ng=a;this.H=b};_.Sf(wec,_.N);_.g=wec.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ng.O.registerService(this.H+":"+a,(0,_.M)(this.aTa,this,b),c)};_.g.rO=function(a){this.O=(0,_.M)(this.aTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Re");this.Ng.O.send(this.H+":"+a,b)};_.g.aTa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.Ng=this.Ng.H[this.H]=null};

_.u();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var zec,xI,Bec,Aec;_.wI=function(a,b,c){if("number"===typeof a)var d={name:Aec(a)};else d=a,a=Bec(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.fa.call(this,b)};_.Sf(_.wI,_.fa);_.wI.prototype.getName=function(){return this.O.name||""};xI={Fib:1,Phb:2,NOT_FOUND_ERR:3,Y7a:4,c8a:5,Rhb:6,Aib:7,ABORT_ERR:8,dib:9,W5b:10,TIMEOUT_ERR:11,aib:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.Cec=(_.n.nI||_.n.rL||xI).Fib;_.Dec=(_.n.nI||_.n.rL||xI).Phb;_.Eec=(_.n.nI||_.n.rL||xI).NOT_FOUND_ERR;
_.Fec=(_.n.nI||_.n.rL||xI).Y7a;_.Gec=(_.n.nI||_.n.rL||xI).c8a;_.Hec=(_.n.nI||_.n.rL||xI).Rhb;_.Iec=(_.n.nI||_.n.rL||xI).Aib;_.Jec=(_.n.nI||_.n.rL||xI).ABORT_ERR;_.Kec=(_.n.nI||_.n.rL||xI).dib;_.Lec=(_.n.nI||_.n.rL||xI).TIMEOUT_ERR;_.Mec=(_.n.nI||_.n.rL||xI).aib;_.Nec=(_.n.DOMException||xI).INVALID_ACCESS_ERR;_.Oec=(_.n.DOMException||xI).INVALID_STATE_ERR;
Bec=function(a){switch(a){case "UnknownError":return _.Cec;case "NotFoundError":return _.Eec;case "ConstraintError":return _.Fec;case "DataError":return _.Gec;case "TransactionInactiveError":return _.Iec;case "AbortError":return _.Jec;case "ReadOnlyError":return _.Kec;case "TimeoutError":return _.Lec;case "QuotaExceededError":return _.Mec;case "InvalidAccessError":return _.Nec;case "InvalidStateError":return _.Oec;default:return _.Cec}};
Aec=function(a){switch(a){case _.Cec:return"UnknownError";case _.Eec:return"NotFoundError";case _.Fec:return"ConstraintError";case _.Gec:return"DataError";case _.Iec:return"TransactionInactiveError";case _.Jec:return"AbortError";case _.Kec:return"ReadOnlyError";case _.Lec:return"TimeoutError";case _.Mec:return"QuotaExceededError";case _.Nec:return"InvalidAccessError";case _.Oec:return"InvalidStateError";default:return"UnknownError"}};
_.yI=function(a,b){return"error"in a?new _.wI(a.error,b):new _.wI({name:"UnknownError"},b)};_.zI=function(a,b){if("name"in a)return b=b+": "+a.message,new _.wI(a,b);if("code"in a){var c=Aec(a.code);b=b+": "+a.message;return new _.wI({name:c},b)}return new _.wI({name:"UnknownError"},b)};
_.Pec=function(a){this.H=a};_.Qec=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.Pec.prototype.range=function(){return this.H};
var Rec=function(a){this.H=a};Rec.prototype.getName=function(){return this.H.name};var Sec=function(a,b,c,d){var e=new _.ai;try{var f=a.H[b](d)}catch(h){return c+=" with key "+vI(d),e.Id(_.zI(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+vI(d);e.Id(_.yI(h.target,c))};return e};Rec.prototype.get=function(a){return Sec(this,"get","getting from index "+this.getName(),a)};
Rec.prototype.getKey=function(a){return Sec(this,"getKey","getting key from index "+this.getName(),a)};Rec.prototype.getAll=function(a,b){return _.Tec(this,"getAll","getting all from index "+this.getName(),a,b)};
_.Tec=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.Pec?d.range():(new _.Pec(_.Qec.only(d))).range();var h=new _.ai;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?vI(f):"<all>"),h.Id(_.zI(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?vI(f):"<all>");h.Id(_.yI(l.target,c))};return h};
var Uec=function(a){this.H=a};Uec.prototype.getName=function(){return this.H.name};var Vec=function(a,b,c,d,e){var f=new _.ai;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=vI(d),e&&(c+=", with key "+vI(e)),f.Id(_.zI(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=vI(d);e&&(c+=", with key "+vI(e));f.Id(_.yI(k.target,c))};return f};_.g=Uec.prototype;_.g.put=function(a,b){return Vec(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return Vec(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.ai;try{var c=this.H["delete"](a instanceof _.Pec?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+vI(a),b.Id(_.zI(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+vI(a);b.Id(_.yI(e.target,f))};return b};
_.g.get=function(a){var b=new _.ai;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+vI(a),b.Id(_.zI(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 "+vI(a);b.Id(_.yI(e.target,f))};return b};_.g.getAll=function(a,b){return Wec(this,"getting all from index "+this.getName(),a,b)};
var Wec=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.Pec?c.range():(new _.Pec(_.Qec.only(c))).range();var f=new _.ai;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?vI(e):"<all>"),f.Id(_.zI(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?vI(e):"<all>");f.Id(_.yI(k.target,b))};return f};
Uec.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.ai;try{var c=this.H.clear()}catch(d){return b.Id(_.zI(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Id(_.yI(d.target,a))};return b};Uec.prototype.getIndex=function(a){try{return new Rec(this.H.index(a))}catch(b){throw _.zI(b,"getting index "+a);}};
Uec.prototype.count=function(a){var b=new _.ai;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Id(_.yI(e.target,d.getName()))}}catch(e){b.Id(_.zI(e,this.getName()))}return b};
var Xec=function(a,b){_.zi.call(this);this.H=a;this.O=b;this.Eb=new _.Ne(this);this.Eb.listen(this.H,"complete",(0,_.M)(this.dispatchEvent,this,"complete"));this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.U9a)};_.Sf(Xec,_.zi);_.g=Xec.prototype;_.g.U9a=function(a){a.target instanceof _.wI?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.yI(a.target,"in transaction")})};_.g.Rg=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new Uec(this.H.objectStore(a))}catch(b){throw _.zI(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.zI(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.ai;_.Te(this,"complete",(0,_.M)(a.callback,a));var b=_.Te(this,"abort",function(){_.xi(c);a.Id(new _.wI(_.Jec,"waiting for transaction to complete"))});var c=_.Te(this,"error",function(e){_.xi(b);a.Id(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){Xec.wb.Ya.call(this);this.Eb.dispose()};
var Yec=function(a){_.zi.call(this);this.H=a;this.Eb=new _.Ne(this);this.Eb.listen(this.H,"abort",(0,_.M)(this.dispatchEvent,this,"abort"));this.Eb.listen(this.H,"error",this.V9a);this.Eb.listen(this.H,"versionchange",this.Lob);this.Eb.listen(this.H,"close",(0,_.M)(this.dispatchEvent,this,"close"))};_.Sf(Yec,_.zi);_.g=Yec.prototype;_.g.fsa=!0;_.g.V9a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Lob=function(a){this.dispatchEvent(new Zec(a.oldVersion,a.newVersion))};_.g.close=function(){this.fsa&&(this.H.close(),this.fsa=!1)};_.g.kh=function(){return this.fsa};_.g.getName=function(){return this.H.name};_.g.hj=function(){return Number(this.H.version)};_.$ec=function(a,b,c){try{return new Uec(a.H.createObjectStore(b,c))}catch(d){throw _.zI(d,"creating object store "+b);}};
_.afc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new Xec(d,a)}catch(e){throw _.zI(e,"creating transaction");}};Yec.prototype.Ya=function(){Yec.wb.Ya.call(this);this.Eb.dispose()};var Zec=function(a,b){_.ri.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Sf(Zec,_.ri);
_.bfc=function(){void 0==zec&&(zec=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return zec};
_.cfc=function(a,b,c,d){var e=new _.ai;b=b?_.bfc().open(a,b):_.bfc().open(a);b.onsuccess=function(f){f=new Yec(f.target.result);e.callback(f)};b.onerror=function(f){e.Id(_.yI(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new Yec(f.target.result);c(new Zec(f.oldVersion,f.newVersion),h,new Xec(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new Zec(f.oldVersion,f.newVersion))};return e};

_.u();

}catch(e){_._DumpException(e)}
try{
_.dfc=function(a,b){this.ka=a;this.va=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.tdc;this.H=""};_.t("sy1ny");
_.dfc.prototype.build=function(){var a=new _.fI(this.ka,this.Ka?this.Ka:_.bec,this.va,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.y(b,1)||_.w(b,1,1);_.I(a.ka,1,b)}if(this.O){b=this.O;var c=_.B(a.ka,_.zdc,1),d=_.B(c,_.xdc,11);d||(d=new _.xdc);_.w(d,7,b);_.I(c,11,d);_.y(c,1)||_.w(c,1,1);_.I(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ka=this.H);this.Ba&&_.Mdc(a,this.Ba);this.Qa&&(b=this.Qa,a.V||(a.V=new _.wdc),_.Kj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Rb=!0,_.Odc(a,b));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.efc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1nz");
_.ffc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.ffc.prototype.BA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.eI(new _.dI,a.Lc());b(a);return new _.Vh(function(d){c(d,function(){d()})}.bind(this))};
_.gfc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Ndc(this.O)};_.gfc.prototype.BA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.eI(new _.dI,a.Lc());b(a);c()};

_.u();

}catch(e){_._DumpException(e)}
try{
var hfc=function(a){_.J.call(this,a)};_.K(hfc,_.J);hfc.prototype.getEmail=function(){return _.C(this,3,"")};hfc.prototype.lp=function(){return _.P(this,3)};_.AI=function(a){return _.B(a,hfc,36,1)};_.t("sy1nl");

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1nk");
_.BI=function(a){_.J.call(this,a)};_.K(_.BI,_.J);_.BI.prototype.ve=function(){return _.B(this,_.wf,1)};_.CI=function(a,b){return _.I(a,1,b)};_.BI.prototype.Lg=function(){return _.y(this,4)};_.BI.prototype.voa=function(a){return _.w(this,4,a)};

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var ifc=function(a){_.J.call(this,a)},nfc;_.K(ifc,_.J);var jfc=function(a){_.J.call(this,a)};_.K(jfc,_.J);_.DI=function(a){_.J.call(this,a)};_.K(_.DI,_.J);_.DI.prototype.u4=function(a){_.w(this,3,a)};_.DI.prototype.Ml=function(a){return _.I(this,5,a)};_.DI.prototype.getMimeType=function(){return _.y(this,7)};var kfc=[2],lfc=function(a){_.J.call(this,a,-1,kfc)};_.K(lfc,_.J);var mfc=function(a){_.J.call(this,a)};_.K(mfc,_.J);nfc=function(a){this.H=a};_.ofc=function(a){this.Cd=a};
_.ofc.prototype.getId=function(){return this.Cd};var pfc=function(a){_.J.call(this,a)};_.K(pfc,_.J);pfc.prototype.hj=function(){return _.y(this,1)};var qfc=function(a){_.J.call(this,a)};_.K(qfc,_.J);
var sfc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.$Aa.length;a++){var b=_.$Aa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;rfc(this,b);break}}},rfc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.O=!0;a.H.onDisconnect.addListener(function(){a.O=!1});document.addEventListener("mousemove",function(c){a.V=c.clientX;a.W=c.clientY})};
sfc.prototype.BA=function(a){if(this.ha&&this.O){var b=_.B(a,_.Pb,2)||new _.Pb,c=_.B(a,_.$o,5)||new _.$o,d=_.B(a,_.DI,3)||new _.DI;a=_.Qj(a,_.Zya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Lc(),session_info:b.Lc(),session_invariants:c.Lc(),client_info:d.Lc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy1np");
var tfc=function(){_.So.call(this)};_.K(tfc,_.So);tfc.prototype.vv=function(){return 1==_.y(_.B(this.H,ifc,7),1)};var ufc=new _.Oo("high_frequency_builder");
var vfc=function(a,b,c){a=new _.Bi(a);c.Ma(a);var d=new _.Ne(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var wfc=function(){_.So.call(this)};_.K(wfc,_.So);var xfc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.Do;var e=new _.yya;e=_.w(e,1,d);_.I(b,1,e);_.w(b,3,1);_.I(a.H,8,b);_.w(a.H,12,c);_.w(a.H,13,c);_.w(a.H,4,d);_.w(a.H,3,c)}else 1==b&&(b=new _.Do,e=new _.zya,d=_.w(e,1,d),_.I(b,2,d),_.w(b,3,2),_.I(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},yfc=new _.Oo("system_builder");
var zfc=function(a,b){_.N.call(this);this.O=a;this.H=new _.pec(b);this.Ma(this.H);this.Eb=new _.Ne(this);this.Ma(this.Eb);this.H.uu()&&this.Eb.listen(this.H,"visibilitychange",this.V)};_.K(zfc,_.N);zfc.prototype.V=function(){if(this.O.vP()){var a=this.H.IB()?102001:102E3;a=this.O.OF(a,0);this.O.Qp(a)}};
var Afc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.K(Afc,_.N);_.g=Afc.prototype;_.g.Qp=function(a){var b=this.H;_.w(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.$b()&&b.O.qe();return new nfc(a)};_.g.OF=function(a,b){a=xfc(Bfc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.GL=function(){return this.H.O};
_.g.iw=function(a){var b=this.H,c=_.To(a,yfc),d=b.ha++,e=_.B(_.B(c.H,_.Do,8),_.zya,2),f=1E3*Date.now();_.w(e,2,f);_.w(c.H,13,d);b.ka.remove(_.y(a.H,12))};_.g.DZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=Cfc(a.H,691).build();b=Dfc(a.H,[b]);a.ka.BA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.EZ=function(){var a=this.H,b=Cfc(a,716);Efc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.qe();this.W&&(this.V=new zfc(this))};_.g.Zia=function(){this.O.W();return _.mI(Array.from(this.O.V)).then()};
_.g.vP=function(){var a=this.H;return a.va&&a.ma&&!0};
var Ffc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.rI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.K(Ffc,_.N);Ffc.prototype.initialize=function(){vfc(this.ma,this.O.qe,this.O);vfc(36E5,this.va,this)};Ffc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=Gfc(this.H),c=this.ta.BA(b);c&&(_.$h(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
Ffc.prototype.va=function(){var a=this.H,b=Cfc(a,1153).build();a.H.add(b);this.O.qe()};
var Hfc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.K(Hfc,_.N);_.g=Hfc.prototype;_.g.Qp=function(a){a=this.H.Qp(a);this.Zia();return a};_.g.OF=function(a,b){return this.H.OF(a,b)};_.g.GL=function(){return this.H.GL()};_.g.iw=function(a){return this.H.iw(a)};_.g.DZ=function(){return this.H.DZ()};_.g.EZ=function(){return this.H.EZ()};_.g.Zia=function(){return this.H.Zia()};_.g.vP=function(){return this.H.vP()};
var Ifc=function(){};Ifc.prototype.KQ=function(){return new tfc};
var Jfc=function(){this.H=[]};Jfc.prototype.add=function(a){this.H.push(a)};Jfc.prototype.$b=function(){return this.H.length};
var Kfc=function(){this.H={}};Kfc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};Kfc.prototype.remove=function(a){delete this.H[a]};
var Lfc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new Kfc;this.H=new Jfc;this.ma=this.va=this.V=!1},Bfc=function(a,b){a=_.To((new _.So).initialize(new _.Zya,a.Ba),yfc);_.w(a.H,10,b);return a},Gfc=function(a){var b=a.H,c=b.H;b.H=[];return Dfc(a,c)},Dfc=function(a,b){var c=new _.oAa;var d=a.O.W.clone();c=_.I(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.I(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.B(b[h],_.Mo,5);if(k&&_.B(k,_.lec,1)){k=_.B(k,_.lec,1);_.P(k,12)&&
void 0===e&&(e=_.Q(k,12));k=_.B(k,jfc,20);if(void 0!==k&&void 0===f){f=new qfc;var l=_.Q(k,2);void 0!==l&&_.w(f,2,l);k=_.Q(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.DI),void 0!==e&&_.w(d,6,e),void 0!==f&&_.I(d,13,f);(e=d)&&_.I(c,3,e);a=a.O.ha.clone();_.I(c,4,a);_.Mj(c,1,b);return c},Cfc=function(a,b){var c=xfc(Bfc(a,b),0,a.ha++);var d=a.ka;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],p=new mfc;k=_.w(p,1,k);l=_.y(l.H,10);l=_.w(k,2,l);f.push(l)}d=f}716!=b&&(b=a.ta,_.w(c.H,6,a.W),e=new lfc,b=_.w(e,1,b),d&&_.Mj(b,2,d),d=_.Uo(c),_.I(d,3,b));Efc(a,c);return c},Efc=function(a,b){a.W=_.y(b.H,12);a.ta=_.y(_.B(_.B(b.H,_.Do,8),_.yya,1),1)};
var Mfc=function(){};Mfc.prototype.KQ=function(){return new wfc};
var Nfc=function(){this.H=this.O=null};Nfc.prototype.build=function(){null==this.H&&(this.H=new _.Iza);_.Xo(this.H,yfc,new Mfc);_.Xo(this.H,ufc,new Ifc);var a=this.H;var b=this.O;if(!_.P(_.Ofc(b),1)){var c=_.Ofc(b),d=new _.$za;_.I(c,1,d)}b=_.B(_.Ofc(b),_.$za,1);a.H=b;b=_.Qa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new Lfc(this.O,this.H)};
var Pfc=function(){this.W=new _.Pb;this.O=null;this.ha=new pfc;_.w(this.ha,1,6);this.H=this.V=null};Pfc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Qfc=function(a,b){_.w(a.W,2,b);return a};_.Rfc=function(a,b){if(null==a.V){a.V=new _.mAa;var c=_.Ofc(a);_.I(c,2,a.V)}_.w(a.V,1,b)};_.Ofc=function(a){null==a.O&&(a.O=new _.$o);return a.O};_.Sfc=function(a){null==a.H&&(a.H=new _.DI);return a.H};
_.Tfc=function(){this.H=this.ha=null;this.W=new Pfc;this.V=null;this.ka=this.ma=!1;this.O=null};_.Ufc=function(a,b){a.ha=b;return a};_.Vfc=function(a,b){a.H=b;return a};_.Wfc=function(a,b){a.V=b;return a};_.Tfc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Xfc=function(a,b){_.w(a.W.W,6,b);return a};
_.Tfc.prototype.build=function(){var a=new Nfc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new sfc;this.H=this.ha=b}b=new Ffc(a,this.ha,this.H,this.ma,this.O);a=new Afc(a,b,!1);this.ka&&(a=new Hfc(a));return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.EI=function(a){return a instanceof Error};_.FI=function(a){return _.S(a,84,!1)};_.t("sy1nd");
_.Yfc=function(a){_.J.call(this,a)};_.K(_.Yfc,_.J);
_.GI=function(a){_.J.call(this,a)};_.K(_.GI,_.J);_.GI.prototype.getOptions=function(){return _.B(this,_.Yfc,1)};_.GI.prototype.Xn=function(){return _.y(this,2)};_.GI.prototype.qd=function(){return _.B(this,_.hf,3)};
_.Zfc=function(a){_.J.call(this,a,-1,void 0,_.HI)};_.K(_.Zfc,_.J);_.HI=[[3,4,5,6,7,8,9,10]];
var II,agc;II={};_.$fc=(II[1]="modifiedDate",II[2]="modifiedByMeDate",II[3]="quotaBytesUsed",II[4]="title",II[6]="lastViewedByMeDate",II[10]="createdDate",II[7]="sharedWithMeDate",II[9]="starred",II[11]="recency",II[5]="relevance",II[12]="trashedDate",II[13]="lastViewedByMeDate",II);agc={};_.bgc=(agc[1]="asc",agc[2]="desc",agc);
_.cgc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dgc=function(a,b,c,d,e,f,h){a="number"===typeof a?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():_.Qf();this.date=new Date(a)};_.Sf(_.dgc,_.Lt);_.g=_.dgc.prototype;_.g.clone=function(){var a=new _.dgc(this.date);a.yG=this.yG;a.hV=this.hV;return a};_.g.add=function(a){(a.W||a.V)&&_.Kt.prototype.add.call(this,new _.Jt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.ew))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Lt.prototype.getUTCFullYear;
_.g.getMonth=_.Lt.prototype.getUTCMonth;_.g.getDate=_.Lt.prototype.getUTCDate;_.g.getHours=_.Lt.prototype.getUTCHours;_.g.getMinutes=_.Lt.prototype.getUTCMinutes;_.g.getSeconds=_.Lt.prototype.O8a;_.g.getMilliseconds=_.Lt.prototype.N8a;_.g.getDay=_.Lt.prototype.getUTCDay;_.g.setFullYear=_.Lt.prototype.setUTCFullYear;_.g.setMonth=_.Lt.prototype.setUTCMonth;_.g.setDate=_.Lt.prototype.setUTCDate;_.g.setHours=_.Lt.prototype.yLa;_.g.setMinutes=_.Lt.prototype.zLa;_.g.setSeconds=_.Lt.prototype.ALa;
_.g.setMilliseconds=_.Lt.prototype.P8a;
var egc,ggc;egc={};_.fgc=(egc[1]="0",egc[2]="1",egc[3]="2",egc);ggc={};_.hgc=(ggc[1]="asc",ggc[2]="desc",ggc);
_.igc=new _.Oo("drive_dataservice_builder");
_.jgc=_.bh&&0>_.ng(_.eh,"533");
_.kgc=new _.ofc("drive_dataservice_invariants");
_.lgc=new Map([[[1],1],[[6],7],[[2],2]]);_.mgc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.ngc=new Map([[12,function(a){return _.Q(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.FI(a)}],[13,function(a){return _.Q(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.ogc=new Map([[36,function(a){return _.S(a,11,!1)}],[34,function(a){return _.S(a,9,!1)}],[25,function(a){return _.S(a,1,!1)}],[33,function(a){return _.S(a,8,!1)}],[26,function(a){return _.S(a,2,!1)}],[27,function(a){return _.S(a,3,!1)}],[29,function(a){return _.S(a,4,!1)}],[32,function(a){return _.S(a,7,!1)}],[40,function(a){return _.S(a,15,!1)}],[43,function(a){return _.S(a,18,!1)}],[42,function(a){return _.S(a,17,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,
function(a){return _.S(a,10,!1)}],[38,function(a){return _.S(a,13,!1)}],[39,function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.pgc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.qgc=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],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252],[[253],253],[[254],254]]);_.rgc=new Map([[[2],3],[[1],2],[[0],1]]);_.sgc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.tgc=new Map([[[_.Dec],1],[[_.Eec],2],[[_.Fec],3],[[_.Gec],4],[[_.Hec],5],[[_.Iec],6],[[_.Jec],7],[[_.Kec],8],[[_.Lec],10],[[_.Mec],11],[[_.Nec],12],[[_.Oec],13]]);_.ugc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ni");
_.JI=function(a){_.J.call(this,a,-1,vgc)};_.K(_.JI,_.J);_.JI.prototype.Cc=function(){return _.y(this,2)};_.KI=function(a,b){return _.w(a,2,b)};_.g=_.JI.prototype;_.g.uk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.B(this,_.el,4)};_.g.setItem=function(a){return _.I(this,4,a)};_.g.yc=function(){return _.y(this,7)};_.g.O9=function(){return _.y(this,13)};_.g.PHa=function(a){_.w(this,13,a)};var vgc=[8,17];

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ng");
_.mG=function(a){_.J.call(this,a,-1,wWb)};_.K(_.mG,_.J);_.mG.prototype.getId=function(){return _.y(this,1)};_.mG.prototype.Pb=function(a){return _.w(this,1,a)};_.mG.prototype.ts=function(){return _.y(this,2)};_.mG.prototype.dK=function(){return _.P(this,2)};var wWb=[5,6,9,10,12,13,15,16];
var xWb;_.nG=function(a){_.J.call(this,a,-1,xWb)};_.K(_.nG,_.J);_.nG.prototype.Lm=function(){return _.y(this,1)};_.yWb=function(a,b){return _.w(a,1,b)};xWb=[2,4];

_.u();

}catch(e){_._DumpException(e)}
try{
var zgc;_.NI=function(a){if(a instanceof _.oc)return a;if(_.EI(a)){if(a=_.Evb(a))return a}else a="string"===typeof a?_.JEa(a):_.JEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.LI(a,2);_.MI(a,6);return a};_.wgc=function(a){var b=a.rk();a=a.YF();return 15===b||32===b||33===b||401===a};_.xgc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.ygc=function(a){_.J.call(this,a)};_.K(_.ygc,_.J);
_.OI=function(a){return _.Vj(a,1,0)};_.PI=function(a){return _.B(a,_.ygc,4)};_.LI=function(a,b){return _.w(a,1,b)};_.MI=function(a,b){return _.w(a,2,b)};zgc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.QI=function(a){_.J.call(this,a,-1,zgc)};_.K(_.QI,_.J);_.g=_.QI.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Te=function(){return _.y(this,3)};
_.g.Wl=function(a){return _.w(this,3,a)};_.g.Hv=function(a){return _.w(this,4,a)};_.g.Xh=function(){return _.Q(this,5)};_.g.Kn=function(a){return _.w(this,5,a)};_.g.getMimeType=function(){return _.y(this,6)};_.g.yE=function(a,b){_.Oj(this,8,a,b)};_.g.Yi=function(){return _.y(this,12)};_.g.ve=function(){return _.B(this,_.wf,17)};_.g.hj=function(){return _.y(this,20)};_.g.yc=function(){return _.y(this,21)};_.RI=function(a,b){return _.w(a,16,b)};_.t("sy1nh");
_.SI=function(a){_.J.call(this,a,-1,Agc)};_.K(_.SI,_.J);_.SI.prototype.RQ=function(){return _.Vj(this,2,100)};_.SI.prototype.KO=function(a){return _.w(this,2,a)};_.SI.prototype.ve=function(){return _.B(this,_.wf,6)};_.SI.prototype.yc=function(){return _.y(this,8)};var Agc=[5];
var Bgc;Bgc={};_.Cgc=(Bgc[0]="/drive/v2internal",Bgc[1]="/drive/v2internal.corp",Bgc[2]="/drive/v2internal.scary",Bgc[4]="/drive/v2internal.scary",Bgc[5]="/drive/v2beta",Bgc[6]="/drive/v2.1beta",Bgc);
_.Dgc=new Set([0,1,2,3]);
_.Egc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.Fgc=_.w(new _.QI,15,!0);_.Ggc=_.RI(new _.QI,!0);_.Hgc=_.RI(new _.QI,!1);
_.Igc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (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."]]);

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.Kgc=function(a){a=_.fb(a);return 0===a.length?_.Rha:new _.rg(a,_.Pha)};_.t("sy1o0");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Lgc=function(a,b,c){this.blockSize=-1;this.H=a;this.blockSize=c||a.blockSize||16;this.V=Array(this.blockSize);this.O=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.H.update(a),a=this.H.digest(),this.H.reset());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.V[c]=b^92,this.O[c]=b^54;this.H.update(this.O)};_.Sf(_.Lgc,_.hec);_.Lgc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.Lgc.prototype.update=function(a,b){this.H.update(a,b)};
_.Lgc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.Mgc=function(a,b){a.reset();a.update(b);return a.digest()};
_.Ngc=function(){this.blockSize=-1;this.blockSize=64;this.H=[];this.ha=[];this.ka=[];this.W=[];this.W[0]=128;for(var a=1;a<this.blockSize;++a)this.W[a]=0;this.V=this.O=0;this.reset()};_.Sf(_.Ngc,_.hec);_.Ngc.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.H[4]=3285377520;this.V=this.O=0};
var Ogc=function(a,b,c){c||(c=0);var d=a.ka;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.H[0];c=a.H[1];var h=a.H[2],k=a.H[3],l=a.H[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var p=1518500249}else f=c^h^k,p=1859775393;else 60>e?(f=c&h|k&(c|h),p=2400959708):
(f=c^h^k,p=3395469782);f=(b<<5|b>>>27)+f+l+p+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+c&4294967295;a.H[2]=a.H[2]+h&4294967295;a.H[3]=a.H[3]+k&4294967295;a.H[4]=a.H[4]+l&4294967295};
_.Ngc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.ha,f=this.O;d<b;){if(0==f)for(;d<=c;)Ogc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){Ogc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){Ogc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.Ngc.prototype.digest=function(){var a=[],b=8*this.V;56>this.O?this.update(this.W,56-this.O):this.update(this.W,this.blockSize-(this.O-56));for(var c=this.blockSize-1;56<=c;c--)this.ha[c]=b&255,b/=256;Ogc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.u();

}catch(e){_._DumpException(e)}
try{
_.TI=function(a,b){return _.w(a,82,b)};_.UI=function(a){return _.w(a,3,!0)};_.Pgc=function(a,b){return _.w(a,7,b)};_.t("sy1ne");
_.Qgc=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VI={k_:"Versions",P6:"Metadata",D5:"Data",gU:"Offline"};_.Rgc=new Map([[_.VI.k_,"versionKey"],[_.VI.P6,"k"]]);_.Sgc=new Set([1004]);

_.u();

}catch(e){_._DumpException(e)}
try{
var Wgc;_.Tgc=function(a){var b={};_.La(a,function(c,d){b[d.toLowerCase()]=c});return b};_.Ugc=function(a){return(a=a&&_.Tgc(a))&&a["x-guploader-uploadid"]};_.Vgc=function(a){return(a=a&&_.Tgc(a))&&a["x-google-trace"]};Wgc=[6];_.WI=function(a){_.J.call(this,a,-1,Wgc)};_.K(_.WI,_.J);_.XI=function(a,b){return _.w(a,14,b)};_.t("sy1o2");
var Xgc,Zgc;
_.Ygc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200===a||204===a||308===a||206===a)return null;e=Xgc(e)||new _.oc;_.w(e,8,!0);k&&(k=_.qj(new _.ij(k),void 0).toString(),_.w(e,19,k));e.YF()||_.w(e,15,a||f);e.getMessage()||_.gq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.hq(e,d);e.rk()||(5===f?_.XI(e,7):0!==a||d?403===a?_.XI(e,22):503===a||429===a?_.XI(e,24):(_.qb(e,14),_.w(e,10,1),_.w(e,8,!0)):l||_.XI(e,2));e.Cca(_.Ugc(c));e.tca(_.Vgc(c));
return e};Xgc=function(a){if(!_.Ba(a))return null;var b=new _.oc,c=a.error;if(!c)return _.hq(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.gq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=Zgc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.hq(b,a);return b};
Zgc={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,expiredMoveValidationToken:66,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,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69};

_.u();

}catch(e){_._DumpException(e)}
try{
_.$gc=function(a,b){return _.w(a,1,b)};_.ahc=function(a,b){return _.I(a,1,b)};_.bhc=function(a,b){return _.w(a,2,b)};_.chc=function(a,b){return _.I(a,3,b)};_.t("sy1o3");

_.u();

}catch(e){_._DumpException(e)}
try{
_.dhc=function(a){for(var b in a)delete a[b]};_.YI=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ola)(a)};_.ZI=function(a){return _.S(a,5,!1)};_.ehc=function(a,b){var c=_.B(a.H,_.Aya,9);null==c&&(c=new _.Aya);var d=_.y(b.H,10);d=_.w(c,5,d);b=_.y(b.H,12);_.w(d,2,b);_.I(a.H,9,c)};_.fhc=function(a,b){a=_.Oi(a);b=_.Oi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.ghc=function(a){var b=_.wla(a);if("undefined"==typeof b)throw Error("X");var c=new _.sj(null,void 0);a=_.vla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.uma(c,e,f):c.add(e,f)}return c};_.t("sy1o4");

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
_.hhc=function(a,b,c){c&&(a=_.Ng(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Mg(a));return a};_.ihc=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("sy1od");
/*

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

_.u();

}catch(e){_._DumpException(e)}
try{
var khc,lhc,phc,thc,uhc,vhc,Nhc,WJ,Ohc,Phc,Whc,rhc,Dic,qhc,Wic,Xic,djc,fjc,hjc,jjc,kjc,ljc,njc,Djc,Ejc,Hjc,Ijc,Jjc,Ljc,Mjc,Ojc,Rjc,Ujc,uK,wK,Wjc,Yjc,akc,bkc,ckc,dkc,ekc,fkc,ikc,kkc,lkc,nkc,okc,Dkc,Ckc,Gkc,Ikc,Jkc,Kkc,Pkc,Skc,Ukc,Vkc,alc,$kc,Zkc,Xkc,Ykc,Ghc,Hhc,Xhc,ilc,jlc,elc,klc,flc,Qhc,llc,Rhc,Shc,Thc,Uhc,Vhc,mlc,olc;_.$I=function(a,b,c){var d=new _.oc,e=_.rka(_.$I);_.w(d,20,e);_.MI(d,a);_.LI(d,b?b:2);c&&_.XI(d,c);return d};
_.aJ=function(a){var b;a instanceof _.oc?b=new _.qc(null,a):_.EI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("rb`"+a);b.stack||(b.stack=_.rka(_.aJ));return b};_.bJ=function(a){throw _.DB(a);};khc=function(a){return 7===a.rk()||24===a.Ep()&&(a=a.YF(),503===a||429===a)?!0:!1};lhc=function(a,b){return b?b+"("+a+")":a};
_.cJ=function(a,b,c){var d={},e=[];b&&e.push("kind");a.cAb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.mhc.includes(p)){var q=_.leb.get(p);if(q){var r=_.oeb[p];a.KE&&r&&(q=r);a.xq&&(a.KE?(p=_.neb[p])&&(q=p):(p=_.meb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.Bia(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={w5:f.w5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.w5=[];l.forEach(function(p){return function(q){p.w5.push(q)}}(f));"owners"==k&&b&&f.w5.push("kind");e.push(lhc(f.w5.join(","),k))}return lhc(e.join(","),c)};_.nhc=function(a){var b=new _.Wo;b.append(_.cJ(a,!0));return b.toString()};_.ohc=function(a,b){return a.filter(function(c){return b.includes(c)})};phc=function(a){a=a.filter(function(b){return!_.leb.has(b)});if(a.length)throw Error("Tc`"+a.join(", "));};
_.shc=function(a){if(a){var b=a.getMimeType();b&&_.tG(a,b.toLowerCase());qhc(a,_.Qj(a,rhc,58).map(function(c){var d=c.getMimeType();d&&_.w(c,1,d.toLowerCase());return c}))}};thc=function(a){if(_.Ta(a))return"\r\n";var b="";_.La(a,function(c,d){b+=d+": "+c+"\r\n"});return b};uhc=function(a,b){b&&(_.tj(a,"openDrive",!!_.S(b,2,!1)),_.tj(a,"reason",_.y(b,1)||0),_.tj(a,"syncType",_.y(b,3)||0),_.tj(a,"errorRecovery",!!_.S(b,4,!1)))};
vhc=function(a){a=_.gq(_.XI(_.LI(new _.oc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.DB(a);};
Nhc=function(a){if(a instanceof _.dJ)return"request access";if(a instanceof _.eJ)return"admin migrate to TD";if(a instanceof _.fJ)return"authorize app";if(a instanceof _.gJ)return"copy item";if(a instanceof _.hJ)return"change category links";if(a instanceof _.iJ)return"create item";if(a instanceof _.jJ)return"create ws";if("undefined"!=typeof _.kJ&&a instanceof _.kJ)return"delete app";if("undefined"!=typeof _.lJ&&a instanceof _.lJ)return"delete backup";if(a instanceof _.mJ)return"delete item";if("undefined"!=
typeof _.nJ&&a instanceof _.nJ)return"delete permission";if(a instanceof _.oJ)return"delete revision";if(a instanceof _.pJ)return"delete TD";if(a instanceof _.KD)return"delete pref";if(a instanceof _.qJ)return"delete ws";if(a instanceof _.rJ)return"download item";if(a instanceof _.sJ||a instanceof _.tJ)return"empty trash";if(a instanceof _.uJ)return"find by ID";if(a instanceof _.yA)return"find by IDs";if(a instanceof _.whc)return"item export start";if("undefined"!=typeof _.vJ&&a instanceof _.vJ)return"get app";
if("undefined"!=typeof _.wJ&&a instanceof _.wJ)return"insert app";if("undefined"!=typeof _.xJ&&a instanceof _.xJ)return"insert permission";if(a instanceof _.GI)return a=a.qd(),_.yJ(a)?"quick access item query":_.zJ(a)?"people predict item query":_.AJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.BJ&&a instanceof _.BJ)return"list android backup items request";if(a instanceof _.CJ){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 _.xhc&&a instanceof _.xhc?"list backups":a instanceof _.SI?"list changes":a instanceof _.DJ?"list permissions":"undefined"!=typeof _.EJ&&a instanceof _.EJ?"list revisions":a instanceof _.FJ?"migrate to shared drive":a instanceof _.GJ?"partial download item":a instanceof _.HJ?"people api":a instanceof _.oG?"get published category":"undefined"!=typeof _.IJ&&a instanceof _.IJ?"get remaining changes":
a instanceof _.JJ?"remove item":"undefined"!=typeof _.KJ&&a instanceof _.KJ?"reparent item":a instanceof _.LJ?"restore item":a instanceof _.pG?"list suggested workspace items":a instanceof _.dA?"list suggested workspaces":"undefined"!=typeof _.MJ&&a instanceof _.MJ?"update app":a instanceof _.NJ?"update category metadata":a instanceof _.QI?"update item":a instanceof _.OJ?"update revision":a instanceof _.PJ?"update TD":a instanceof _.LD?"update pref":a instanceof _.QJ?"update ws":a instanceof _.BI?
"get account":a instanceof _.sG?"get workspace":a instanceof _.yhc?"list activity":a instanceof _.zhc?"list category metadata":a instanceof _.Ahc?"create TD":"undefined"!=typeof _.Bhc&&a instanceof _.Bhc?"item export cancel":"undefined"!=typeof _.Chc&&a instanceof _.Chc?"item export status":"undefined"!=typeof _.Dhc&&a instanceof _.Dhc?"generate cse token":"undefined"!=typeof _.Ehc&&a instanceof _.Ehc?"get largest change ID":a instanceof _.JD?"list prefs":a instanceof _.UJ?"multipart upload":a instanceof
_.Fhc?"list published categories":a instanceof Ghc?"init resumable upload":a instanceof Hhc?"resumable upload chunk":a instanceof _.Ihc?"resumable upload":a instanceof _.qG?"get TD":"undefined"!=typeof _.Jhc&&a instanceof _.Jhc?"move TD preflight":a instanceof _.VJ?"list TDs":"undefined"!=typeof _.Khc&&a instanceof _.Khc?"get TD stats":a instanceof _.Lhc?"test connection":"undefined"!=typeof _.Mhc&&a instanceof _.Mhc?"list workspaces":"unknown"};
WJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};Ohc=function(a){if(a instanceof _.iJ||a instanceof _.UJ||a instanceof _.Ihc||a instanceof Ghc||a instanceof Hhc)return(new _.XJ).Dc(8);throw Error("ef");};Phc=function(a){if(a instanceof _.QI){var b=_.Lj(_.qb(a.clone(),1),17);b=_.Uj(b,_.Fgc)}else b=!1;b||(a instanceof _.QI?(a=_.Lj(_.qb(a.clone(),1),17),b=_.Uj(a,_.Ggc)||_.Uj(a,_.Hgc)):b=!1);return b?!1:!0};
_.YJ=function(a){return Qhc.includes(a.constructor)?Phc(a):!1};Whc=function(a,b){if(Rhc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&Shc.includes(a.constructor))return!0;var c=_.PI(b);if(c&&!_.S(c,7,!1)&&Thc.includes(a.constructor)&&!_.ZJ(a)||_.S(b,56,!1)&&_.ZJ(a)||_.S(b,57,!1)&&Uhc.includes(a.constructor)||!(!_.S(b,53,!1)||Shc.includes(a.constructor)||Thc.includes(a.constructor)||_.ZJ(a)||Uhc.includes(a.constructor)||Vhc.includes(a.constructor)))return!0}return!1};
_.bK=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(Xhc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.y(d,2)&&vhc(h):(a.set(h,_.y(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.oA(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.Yhc=function(a){var b=new _.Kk;return _.w(b,1,a)};_.Zhc=function(a,b){return _.w(a,7,b)};_.$hc=function(a,b){return _.w(a,8,b)};
_.aic=function(a,b){return _.w(a,11,b)};_.bic=function(a,b){return _.w(a,1,b)};_.cic=function(a,b){return _.w(a,4,b)};_.dic=function(a,b){return _.w(a,5,b)};_.eic=function(a,b){return _.w(a,6,b)};_.fic=function(a,b){return _.w(a,7,b)};_.gic=function(a,b){return _.w(a,8,b)};_.hic=function(a,b){return _.w(a,9,b)};_.iic=function(a,b){return _.w(a,10,b)};_.jic=function(a,b){return _.w(a,11,b)};_.kic=function(a,b){return _.w(a,12,b)};_.lic=function(a,b){return _.w(a,16,b)};
_.mic=function(a,b){return _.w(a,17,b)};_.nic=function(a,b){return _.w(a,20,b)};_.oic=function(a,b){return _.w(a,21,b)};_.pic=function(a,b){return _.w(a,31,b)};_.qic=function(a,b){return _.w(a,32,b)};_.ric=function(a,b){return _.w(a,33,b)};_.sic=function(a,b){return _.w(a,42,b)};_.tic=function(a,b){return _.w(a,43,b)};_.uic=function(a,b){return _.w(a,46,b)};_.vic=function(a,b){return _.w(a,47,b)};_.wic=function(a,b){return _.w(a,48,b)};_.cK=function(a){_.J.call(this,a)};_.K(_.cK,_.J);
_.xic=function(a){_.J.call(this,a)};_.K(_.xic,_.J);_.yic=function(a,b){return _.w(a,1,b)};_.zic=function(a,b){return _.w(a,2,b)};rhc=function(a){_.J.call(this,a)};_.K(rhc,_.J);rhc.prototype.getMimeType=function(){return _.y(this,1)};rhc.prototype.getUrl=function(){return _.y(this,2)};_.dK=function(a){_.J.call(this,a)};_.K(_.dK,_.J);_.dK.prototype.Fe=function(){return _.y(this,2)};_.dK.prototype.zh=function(a){return _.w(this,2,a)};_.dK.prototype.yh=function(a){return _.w(this,3,a)};
_.Aic=function(a,b){return _.w(a,1,b)};_.Bic=function(a,b){return _.Mj(a,2,b)};_.Cic=function(a,b){return _.Mj(a,3,b)};Dic=[2];_.eK=function(a){_.J.call(this,a,-1,Dic)};_.K(_.eK,_.J);_.eK.prototype.Te=function(){return _.y(this,1)};_.eK.prototype.Wl=function(a){return _.w(this,1,a)};_.eK.prototype.Tua=function(a,b){return _.Oj(this,2,a,b)};_.fK=function(a){_.J.call(this,a)};_.K(_.fK,_.J);_.fK.prototype.Fe=function(){return _.y(this,1)};_.fK.prototype.zh=function(a){return _.w(this,1,a)};
_.fK.prototype.yh=function(a){return _.w(this,2,a)};_.gK=function(a,b){return _.Kj(a,2,b)};_.Eic=function(a,b){_.w(a,8,b)};_.Fic=function(a,b){return _.Mj(a,15,b)};_.Gic=function(a,b){return _.I(a,17,b)};_.Hic=function(a,b){return _.w(a,19,b)};_.Iic=function(a,b){_.w(a,26,b)};_.Jic=function(a,b){_.w(a,31,b)};_.Kic=function(a,b){_.w(a,34,b)};_.Lic=function(a,b){return _.w(a,44,b)};_.Mic=function(a,b){_.I(a,47,b)};_.Nic=function(a,b){return _.w(a,52,b)};qhc=function(a,b){_.Mj(a,58,b)};
_.Oic=function(a,b){return _.w(a,72,b)};_.hK=function(a,b){return _.I(a,84,b)};_.Pic=function(a,b){_.I(a,85,b)};_.Qic=function(a,b){_.I(a,91,b)};_.Ric=function(a,b){return _.w(a,92,b)};_.Sic=function(a,b){return _.w(a,93,b)};_.Tic=function(a,b){_.I(a,95,b)};_.Uic=function(a,b){return _.w(a,136,b)};_.Vic=function(a){_.J.call(this,a)};_.K(_.Vic,_.J);_.iK=function(a){return _.S(a,2,!1)};Wic=[3];Xic=function(a){_.J.call(this,a,-1,Wic)};_.K(Xic,_.J);
Xic.prototype.Fi=function(){var a=_.y(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}_.jb(this)&&_.kb(a);return a};var Yic=[3],Zic=function(a){_.J.call(this,a,-1,Yic)};_.K(Zic,_.J);Zic.prototype.Fi=function(){return _.Td(this,3)};var $ic=[3],ajc=function(a){_.J.call(this,a,-1,$ic)};_.K(ajc,_.J);ajc.prototype.Fi=function(){return _.Td(this,3)};_.jK=function(a){_.J.call(this,a)};_.K(_.jK,_.J);_.jK.prototype.Za=function(){return _.y(this,1)};
_.jK.prototype.Jb=function(a){return _.w(this,1,a)};_.jK.prototype.Ti=function(){return _.qb(this,1)};_.jK.prototype.jh=function(){return _.P(this,1)};_.kK=function(a){return _.Dj(a,45,1)};_.yJ=function(a){return _.S(a,47,!1)};_.zJ=function(a){return _.S(a,49,!1)};_.AJ=function(a){return _.S(a,52,!1)};_.lK=function(a){return _.C(a,2,"")};_.bjc=function(a,b){return _.Kj(a,27,b)};_.mK=function(a){return _.Dj(a,39,0)};_.nK=function(a){return _.S(a,40,!1)};
_.cjc=function(a){return _.Kt.prototype.UO.call(a,!0)+"T"+_.Rg(a.getHours(),2)+":"+_.Rg(a.getMinutes(),2)+":"+_.Rg(a.getSeconds(),2)+a.f$()};djc=function(a,b){return _.Tec(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.ejc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.zI(c,"deleting object store "+b);}};fjc=function(){var a=new _.Tfc;a.O=12E4;a.ma=!0;return a};_.gjc=function(a){_.J.call(this,a)};_.K(_.gjc,_.J);hjc=[3,4,10,18,19,28];
_.iJ=function(a){_.J.call(this,a,-1,hjc)};_.K(_.iJ,_.J);_.g=_.iJ.prototype;_.g.getMimeType=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.yE=function(a,b){_.Oj(this,3,a,b)};_.g.ve=function(){return _.B(this,_.wf,7)};_.g.fj=function(){return _.y(this,9)};_.g.yc=function(){return _.y(this,14)};_.g.Nz=function(){return _.B(this,_.gjc,15)};_.g.I1=function(){return _.y(this,21)};_.g.Cc=function(){return _.y(this,23)};
_.g.nl=function(){return _.y(this,33)};_.oK=function(a,b){return _.w(a,1,b)};_.pK=function(a,b){return _.Kj(a,3,b)};_.ijc=function(a,b){return _.w(a,12,b)};_.mJ=function(a){_.J.call(this,a)};_.K(_.mJ,_.J);_.mJ.prototype.getId=function(){return _.y(this,1)};_.mJ.prototype.Pb=function(a){return _.w(this,1,a)};_.mJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.pJ=function(a){_.J.call(this,a)};_.K(_.pJ,_.J);_.pJ.prototype.getId=function(){return _.y(this,1)};
_.pJ.prototype.Pb=function(a){return _.w(this,1,a)};_.pJ.prototype.ve=function(){return _.B(this,_.wf,2)};jjc=[7,8];_.PJ=function(a){_.J.call(this,a,-1,jjc)};_.K(_.PJ,_.J);_.g=_.PJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,4)};_.VJ=function(a){_.J.call(this,a)};_.K(_.VJ,_.J);
_.VJ.prototype.getOptions=function(){return _.B(this,_.Yfc,1)};_.VJ.prototype.Xn=function(){return _.y(this,2)};_.VJ.prototype.qd=function(){return _.B(this,_.uI,3)};kjc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};ljc=null;_.mjc=function(a){if(_.Dma)return _.n.atob(a);var b="";_.Fma(a,function(c){b+=String.fromCharCode(c)});return b};njc=function(){this.O=0;this.H=[]};_.g=njc.prototype;_.g.add=function(a){var b=this.H[this.O];this.H[this.O]=a;this.O=(this.O+1)%40;return b};
_.g.get=function(a){a=ojc(this,a);return this.H[a]};_.g.set=function(a,b){a=ojc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};_.g.vc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.ih=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.Lf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.jf=function(a){return a<this.$b()};
_.g.zq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var ojc=function(a,b){if(b>=a.H.length)throw Error("ha");return 40>a.H.length?b:(a.O+Number(b))%40},pjc=function(a){_.J.call(this,a)};_.K(pjc,_.J);_.qjc=function(a){_.J.call(this,a)};_.K(_.qjc,_.J);_.qjc.prototype.Ze=function(){return _.y(this,1)};_.qjc.prototype.Li=function(a){return _.w(this,1,a)};_.qjc.prototype.Bb=function(){return _.y(this,4)};_.qjc.prototype.Dc=function(a){return _.w(this,4,a)};
var rjc=function(a){_.J.call(this,a)};_.K(rjc,_.J);rjc.prototype.Wn=function(){return _.y(this,5)};var sjc=function(a,b){_.w(a,6,b)},tjc=function(a){_.J.call(this,a)};_.K(tjc,_.J);_.g=tjc.prototype;_.g.Mgb=function(a){_.w(this,1,a)};_.g.YNb=function(a){_.w(this,2,a)};_.g.wy=function(){return _.Q(this,3)};_.g.Ngb=function(a){_.w(this,3,a)};_.g.ENb=function(a){_.w(this,4,a)};var ujc=function(a){_.J.call(this,a)};_.K(ujc,_.J);ujc.prototype.wy=function(){return _.Q(this,2)};
var vjc=function(a,b){return _.w(a,2,b)},wjc=function(a,b){_.w(a,3,b)};ujc.prototype.xB=function(){return _.y(this,6)};var xjc=function(a,b){return _.w(a,8,b)},yjc=function(a){_.J.call(this,a)};_.K(yjc,_.J);var zjc=function(a){_.J.call(this,a)};_.K(zjc,_.J);var Ajc=function(a,b){_.w(a,4,b)},Bjc=function(a){_.J.call(this,a)};_.K(Bjc,_.J);Bjc.prototype.qd=function(){return _.B(this,_.qjc,1)};Bjc.prototype.getState=function(){return _.B(this,rjc,2)};Bjc.prototype.Kd=function(a){return _.I(this,2,a)};
Bjc.prototype.nt=function(){return _.P(this,2)};var Cjc=function(a){_.J.call(this,a)};_.K(Cjc,_.J);Cjc.prototype.getEnvironment=function(){return _.y(this,2)};Cjc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.mhc=[42,1005,20,50,18,1003,1002];Djc=[73,71];_.qK=function(a){_.J.call(this,a)};_.K(_.qK,_.J);_.qK.prototype.getId=function(){return _.y(this,1)};_.qK.prototype.Pb=function(a){return _.w(this,1,a)};_.qK.prototype.getMimeType=function(){return _.y(this,2)};
_.qK.prototype.TF=function(){return _.y(this,8)};Ejc=[22];_.XJ=function(a){_.J.call(this,a,-1,Ejc)};_.K(_.XJ,_.J);_.g=_.XJ.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.B(this,_.el,2)};_.g.setItem=function(a){return _.I(this,2,a)};_.g.Xj=function(){return _.y(this,3)};_.g.Cc=function(){return _.y(this,5)};_.Fjc=function(a,b){return _.w(a,5,b)};_.g=_.XJ.prototype;_.g.UJ=function(){return _.y(this,7)};
_.g.Cca=function(a){return _.w(this,7,a)};_.g.cfa=function(a){_.w(this,9,a)};_.g.XLa=function(a){_.w(this,10,a)};_.g.UM=function(){return _.y(this,16)};_.g.tca=function(a){return _.w(this,16,a)};var Gjc=function(a){_.ri.call(this,a);this.connectionState=_.Gvb.get(a)};_.K(Gjc,_.ri);Hjc=function(a){var b=new _.ai;a.listen("loadend",_.Db(function(c,d){var e=d.Yj(),f=d.getError();null==e||f?c.Id(f):c.callback(e);d.dispose()},b,a));return b};_.dJ=function(a){_.J.call(this,a)};_.K(_.dJ,_.J);
_.dJ.prototype.Cc=function(){return _.y(this,1)};_.eJ=function(a){_.J.call(this,a)};_.K(_.eJ,_.J);_.eJ.prototype.getId=function(){return _.y(this,1)};_.eJ.prototype.Pb=function(a){return _.w(this,1,a)};_.eJ.prototype.wk=function(){return _.y(this,2)};_.eJ.prototype.O=function(a){_.w(this,4,a)};_.fJ=function(a){_.J.call(this,a)};_.K(_.fJ,_.J);_.fJ.prototype.Bh=function(){return _.y(this,1)};_.fJ.prototype.Cc=function(){return _.y(this,2)};_.fJ.prototype.ve=function(){return _.B(this,_.wf,4)};
Ijc=[3,7];_.gJ=function(a){_.J.call(this,a,-1,Ijc)};_.K(_.gJ,_.J);_.g=_.gJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.yE=function(a,b){_.Oj(this,3,a,b)};_.g.ve=function(){return _.B(this,_.wf,5)};_.jJ=function(a){_.J.call(this,a)};_.K(_.jJ,_.J);_.jJ.prototype.getTitle=function(){return _.y(this,1)};_.jJ.prototype.setTitle=function(a){return _.w(this,1,a)};
_.jJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.oJ=function(a){_.J.call(this,a)};_.K(_.oJ,_.J);_.oJ.prototype.Cc=function(){return _.y(this,1)};_.oJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.qJ=function(a){_.J.call(this,a)};_.K(_.qJ,_.J);_.qJ.prototype.getId=function(){return _.y(this,1)};_.qJ.prototype.Pb=function(a){return _.w(this,1,a)};_.qJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.sJ=function(a){_.J.call(this,a)};_.K(_.sJ,_.J);
_.sJ.prototype.ve=function(){return _.B(this,_.wf,1)};_.JJ=function(a){_.J.call(this,a)};_.K(_.JJ,_.J);_.g=_.JJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Dg=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.LJ=function(a){_.J.call(this,a)};_.K(_.LJ,_.J);_.g=_.LJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};
_.g.getParent=function(){return _.y(this,2)};_.g.Dg=function(a){return _.w(this,2,a)};_.g.ve=function(){return _.B(this,_.wf,3)};_.OJ=function(a){_.J.call(this,a)};_.K(_.OJ,_.J);_.OJ.prototype.Cc=function(){return _.y(this,1)};_.OJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.QJ=function(a){_.J.call(this,a)};_.K(_.QJ,_.J);_.g=_.QJ.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.y(this,3)};_.g.Kd=function(a){return _.w(this,3,a)};_.g.nt=function(){return _.P(this,3)};_.g.ve=function(){return _.B(this,_.wf,5)};Jjc=[2,3];_.hJ=function(a){_.J.call(this,a,-1,Jjc)};_.K(_.hJ,_.J);_.hJ.prototype.yc=function(){return _.y(this,1)};_.hJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.Kjc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};Ljc=[3,4];_.CJ=function(a){_.J.call(this,a,-1,Ljc)};
_.K(_.CJ,_.J);_.CJ.prototype.getType=function(){return _.y(this,1)};_.CJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.FJ=function(a){_.J.call(this,a)};_.K(_.FJ,_.J);_.FJ.prototype.O=function(a){_.w(this,4,a)};Mjc=[1];_.HJ=function(a){_.J.call(this,a,-1,Mjc)};_.K(_.HJ,_.J);_.HJ.prototype.jn=function(){return _.Td(this,1)};_.Njc=function(a){_.J.call(this,a)};_.K(_.Njc,_.J);_.g=_.Njc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.lt=function(){return _.P(this,1)};
_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};_.g.Te=function(){return _.y(this,3)};_.g.Wl=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.y(this,4)};Ojc=[1];_.Pjc=function(a){_.J.call(this,a,-1,Ojc)};_.K(_.Pjc,_.J);_.Qjc=function(){var a=void 0===a?1E3:a;this.O=new _.ol;this.H=new _.ol;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};
_.Sjc=function(a){var b=a.O.ih();a.V&&b.push(Rjc("...","...","...","..."));_.ya(b,a.H.ih());return b};_.Tjc=function(a){var b=[];a=_.Sjc(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")};_.Qjc.prototype.info=function(a,b){_.rK(this,a,b,"info")};_.Qjc.prototype.config=function(a,b){_.rK(this,a,b,"config")};
_.Qjc.prototype.log=function(a,b,c){if(!ljc){ljc={};for(var d=0,e;e=_.wka[d];d++)ljc[e.value]=e,ljc[e.name]=e}_.rK(this,a,b,c)};_.rK=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=Rjc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};Rjc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};Ujc=function(a){_.ri.call(this,"Fb");this.H=a};_.K(Ujc,_.ri);Ujc.prototype.Ue=function(){return this.H};
_.sK=function(a){a.supportsTeamDrives=!0};_.Vjc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Td(a,27)));this.initialize(a)};_.Vjc.prototype.initialize=function(a){var b=_.ohc(this.H,_.Td(a,28));if(0<b.length)throw Error("Te`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.ZI(_.AI(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));_.Da(this.H);this.H.sort();phc(this.H)};
_.tK=function(a){return[].concat(_.nd(a.H))};uK=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.vK=function(a,b,c){0!==b.length&&(a.HI.length&&a.append(" "+(c||"and")+" "),a.append(b))};wK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(uK(c));e.push("in");e.push(b);_.vK(a,e.join(" "))}};_.xK=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());_.vK(a,e.join(" "),d)}};
Wjc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.vK(a,d.join(""))}};_.Xjc=function(a){var b=new _.dgc;b.setTime(a);return b};Yjc=function(a,b){b=_.Td(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(uK(b));_.vK(a,c.join(" "))}};_.Zjc=function(a){a=_.Qj(a,_.jK,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Za());return b.join(",")};
_.$jc=function(a){a=a.zB();return null==a||0==a.length?"":a.map(function(b){b=_.y(b,1);if(0==b)throw Error("Ue");return _.fec[b]}).join(",")};akc=function(a,b){if(a.length){var c=new _.Wo;a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(uK(d.Za()));_.vK(c,e.join(" "),"or")}return c.toString()}return""};
bkc=function(a,b,c){if(a.length){var d=[];b&&d.push("not");d.push(c?"shortcutDetails.targetMimeType":"mimeType");d.push("in");a=a.map(function(e){return uK(e.Za())});d.push(a.join(", "));return d.join(" ")}return""};ckc=function(a){if(_.Q(a,2))return"any";switch(a.Za()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};dkc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
ekc=function(a,b,c){if(null!=_.y(c,2)){var d=dkc(_.y(c,1));c=uK(_.cjc(_.Xjc(_.y(c,2)||0)));_.vK(a,[b,d,c].join(" "))}};fkc=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""};
_.gkc=function(a){for(var b=new _.Wo,c=_.Qj(a,_.Bl,4),d=0;d<c.length;d++){var e=c[d],f=e.Za();if(f){var h=_.y(e,1),k=_.S(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(uK(f));_.vK(b,l.join(" "))}}for(var p=_.Qj(a,_.Al,5),q=0;q<p.length;q++){var r=p[q],v=r.Za();if(v){var z=[];_.S(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(uK(v));_.vK(b,z.join(" "))}}var A=_.Fl(a);if(A&&0!=A.length){for(var D=[],F=[],H=[],L=[],O=[],R=[],X=0;X<A.length;X++){var la=
A[X];la.Za()&&(1===_.Dj(la,3,0)?_.Q(la,4)?F.push(la):D.push(la):_.Q(la,4)?_.S(la,2,!1)?R.push(la):O.push(la):_.S(la,2,!1)?L.push(la):H.push(la))}var ha=akc(D,!1),ta=akc(F,!0),ea=bkc(H,!1,!1),Ua=bkc(L,!0,!1),Ja=bkc(O,!1,!0),nb=bkc(R,!0,!0),$a=new _.Wo;if(ea||Ja||ha||ta)_.vK($a,ea,"or"),_.vK($a,Ja,"or"),_.vK($a,ha,"or"),_.vK($a,ta,"or");$a.HI.length&&_.vK(b,"("+$a.toString()+")","and");var yb=new _.Wo;if(Ua||nb)_.vK(yb,Ua,"and"),_.vK(yb,nb,"and");yb.HI.length&&_.vK(b,"("+yb.toString()+")","and")}for(var Zb=
_.Qj(a,_.yl,7),Gc=0;Gc<Zb.length;Gc++)ekc(b,"modifiedDate",Zb[Gc]);for(var ke=_.Qj(a,_.yl,8),Rd=0;Rd<ke.length;Rd++)ekc(b,"lastViewedByMeDate",ke[Rd]);_.xK(b,"trashed",a.Xh());_.xK(b,"explicitlyTrashed",_.Q(a,17));_.xK(b,"starred",_.Q(a,10));_.xK(b,"hidden",_.Q(a,11));for(var Gd=_.Gl(a),sf=0;sf<Gd.length;sf++){var pd=Gd[sf];wK(b,"parents",pd.Za(),_.S(pd,2,!1))}for(var Bb=_.Qj(a,_.kf,13),le=0;le<Bb.length;le++){var lg=Bb[le];wK(b,"owners",lg.Za(),_.S(lg,2,!1))}for(var Ee=_.Qj(a,_.kf,14),ei=0;ei<Ee.length;ei++){var $e=
Ee[ei];wK(b,"writers",$e.Za(),_.S($e,2,!1))}for(var Ai=_.Qj(a,_.kf,15),ah=0;ah<Ai.length;ah++){var pm=Ai[ah];wK(b,"readers",pm.Za(),_.S(pm,2,!1))}_.Q(a,16)&&_.vK(b,"sharedWithMe");_.xK(b,"unparented",_.Q(a,34));for(var gf=_.Qj(a,_.vl,35)||[],ve=_.m(gf),Tf=ve.next();!Tf.done;Tf=ve.next())wK(b,"ancestors",Tf.value.Za(),!1);for(var qi=_.Qj(a,_.vl,38)||[],Wj=_.m(qi),qm=Wj.next();!qm.done;qm=Wj.next())wK(b,"descendants",qm.value.Za(),!1);for(var Fo=_.Qj(a,_.zl,37)||[],rm=_.m(Fo),Fh=rm.next();!Fh.done;Fh=
rm.next())wK(b,"folderFeatures",Fh.value.Za(),!1);for(var Pl=_.Td(a,39),Gj=_.m(Pl),Tg=Gj.next();!Tg.done;Tg=Gj.next()){var kj=Tg.value,Hj=[];Hj.push("templateData.description");Hj.push("contains");Hj.push(uK(kj));_.vK(b,Hj.join(" "))}for(var Xj=_.Td(a,40),Ph=0;Ph<Xj.length;Ph++){var Zi=[];0==Ph&&Zi.push("(");Zi.push(uK(Xj[Ph]));Zi.push("in");Zi.push("templateData.categories");Ph==Xj.length-1&&Zi.push(")");_.vK(b,Zi.join(" "),0==Ph?"and":"or")}var Ij=_.y(a,41);if(null!=Ij){var $i=[];$i.push("templateData.galleryState");
$i.push("=");$i.push(uK(_.fgc[Ij]||""));_.vK(b,$i.join(" "))}var Yj=_.y(a,42);if(null!=Yj){var Qh=[];Qh.push("visibility");Qh.push("=");Qh.push(uK(fkc(Yj)));_.vK(b,Qh.join(" "))}for(var sm=_.Qj(a,_.ul,44),lj=0;lj<sm.length;++lj){var ok=sm[lj];wK(b,"actionItems",ckc(ok),_.S(ok,3,!1))}if(_.P(a,50)){var Ql=[];Ql.push("pairedDocType");var pk=_.S(a,50,!1)?"!=":"=";Ql.push(pk);Ql.push(uK("NONE"));_.vK(b,Ql.join(" "))}wK(b,"workspaceIds",a.Jp(),!1);for(var nn=_.Qj(a,_.wl,57),Ok=0;Ok<nn.length;Ok++){var qk=
[];0==Ok&&qk.push("(");qk.push(uK(nn[Ok].Za()));qk.push("in");qk.push("approvals");Ok==nn.length-1&&qk.push(")");_.vK(b,qk.join(" "),0==Ok?"and":"or")}if(_.P(a,58)){var tf=a.Fq(),Jj=tf.Za(),Rl=_.S(tf,2,!1);if(Jj){var Pk=[];Rl&&Pk.push("not");Pk.push("creator");Pk.push("=");Pk.push(uK(Jj));_.vK(b,Pk.join(" "))}}var Sl=_.B(a,_.Hoa,59);if(Sl)for(var pc=_.m(_.Qj(Sl,_.Eoa,1)),mj=pc.next();!mj.done;mj=pc.next()){var Gh=mj.value;wK(b,"categoryMetadata",Gh.Lm());for(var rk=_.m(Gh.Hk()),Rh=rk.next();!Rh.done;Rh=
rk.next()){var fi=Rh.value,bg=_.y(fi,1),sk=_.Bj(fi,_.xl[0]);if(10==sk){_.B(fi,_.voa,10);var xp=_.Q(fi,15);(void 0===xp?0:xp)?_.vK(b,bg+" is null"):_.vK(b,"not ("+bg+" is null)")}else{var Hh=new _.Wo,Ih=void 0;switch(sk){case 3:Ih=_.B(fi,Xic,3);for(var on=_.m(Ih.Fi()),nj=on.next();!nj.done;nj=on.next())_.xK(Hh,bg,nj.value,"or");break;case 14:for(var pn=Ih=_.B(fi,_.ooa,14),Tl=new Map([[1,"="],[2,">"],[3,"<"]]),tk=_.m(pn.Fi()),tm=tk.next();!tm.done;tm=tk.next()){var Go=tm.value,Pn=Tl.get(_.y(pn,2));
if(!Pn)throw Error("Ve");var nq=[bg,Pn,uK(Go.getYear()+"-"+Go.getMonth()+"-"+Go.getDay())];_.vK(Hh,nq.join(" "),"or")}break;case 8:for(var $l=Ih=_.B(fi,_.uoa,8),am=new Map([[1,"="],[2,">"],[3,"<"]]),Ck=_.m($l.Fi()),Vo=Ck.next();!Vo.done;Vo=Ck.next()){var Gq=Vo.value,Hq=am.get(_.y($l,2));if(!Hq)throw Error("Ve");_.vK(Hh,[bg,Hq,Gq].join(" "),"or")}break;case 9:for(var Iq=Ih=_.B(fi,Zic,9),Cv=new Map([[1,"in"]]),Cr=_.m(Iq.Fi()),bu=Cr.next();!bu.done;bu=Cr.next()){var bB=bu.value,cB=Cv.get(_.y(Iq,2));
if(!cB)throw Error("Ve");_.vK(Hh,[bB,cB,bg].join(" "),"or")}break;case 6:for(var Cy=Ih=_.B(fi,_.zoa,6),Ns=new Map([[1,"="]]),Jp=_.m(Cy.Fi()),Jq=Jp.next();!Jq.done;Jq=Jp.next()){var dB=Jq.value,BD=Ns.get(_.y(Cy,2));if(!BD)throw Error("Ve");_.vK(Hh,[bg,BD,uK(dB)].join(" "),"or")}break;case 7:for(var bx=Ih=_.B(fi,_.xoa,7),cx=new Map([[1,"in"]]),dx=_.m(bx.Fi()),Dy=dx.next();!Dy.done;Dy=dx.next()){var Ey=Dy.value,Dv=cx.get(_.y(bx,2));if(!Dv)throw Error("Ve");_.vK(Hh,[uK(Ey),Dv,bg].join(" "),"or")}break;
case 4:for(var Os=Ih=_.B(fi,_.Boa,4),Vk=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Dr=_.m(Os.Fi()),Xm=Dr.next();!Xm.done;Xm=Dr.next()){var lO=Xm.value,RJ=Vk.get(_.y(Os,2));if(!RJ)throw Error("Ve");_.vK(Hh,[bg,RJ,uK(lO)].join(" "),"or")}break;case 5:for(var CD=Ih=_.B(fi,ajc,5),cj=new Map([[1,"in"]]),DD=_.m(CD.Fi()),cu=DD.next();!cu.done;cu=DD.next()){var Ps=cu.value,SS=cj.get(_.y(CD,2));if(!SS)throw Error("Ve");_.vK(Hh,[uK(Ps),SS,bg].join(" "),"or")}break;case 12:for(var E7=Ih=_.B(fi,_.soa,
12),SJ=new Map([[1,"="]]),Jg=_.m(E7.Fi()),TS=Jg.next();!TS.done;TS=Jg.next()){var ex=TS.value,bm=SJ.get(_.y(E7,2));if(!bm)throw Error("Ve");_.vK(Hh,[bg,bm,uK(ex)].join(" "),"or")}break;case 11:for(var eB=Ih=_.B(fi,_.qoa,11),US=new Map([[1,"in"]]),mO=_.m(eB.Fi()),co=mO.next();!co.done;co=mO.next()){var PZ=co.value,nO=US.get(_.y(eB,2));if(!nO)throw Error("Ve");_.vK(Hh,[uK(PZ),nO,bg].join(" "),"or")}}_.Q(fi,15)?_.vK(b,"not ("+Hh+")"):_.vK(b,1<Ih.Fi().length?"("+Hh+")":""+Hh)}}}null!=_.Q(a,60)&&_.xK(b,
"linkShareMetadata.securityUpdateEligible",_.Q(a,60));var du=_.Q(a,65);if(null!=du){var ED=[];ED.push("clientEncryptionDetails.encryptionState");ED.push("=");ED.push(uK(du?"encrypted":"unencrypted"));_.vK(b,ED.join(" "))}var Fy=_.Qj(a,_.kf,68);if(Fy.length){for(var VS=[],F7=[],QZ=_.m(Fy),Gy=QZ.next();!Gy.done;Gy=QZ.next()){var fx=Gy.value,TJ="sharedFrom = "+uK(fx.Za());_.S(fx,2,!1)?F7.push(TJ):VS.push(TJ)}Wjc(b,VS,!1);Wjc(b,F7,!0)}var G7=_.Qj(a,_.kf,67);if(G7.length){for(var WS=[],oO=[],RZ=_.m(G7),
fB=RZ.next();!fB.done;fB=RZ.next()){var SZ=fB.value,TZ="sharedTo = "+uK(SZ.Za());_.S(SZ,2,!1)?oO.push(TZ):WS.push(TZ)}Wjc(b,WS,!1);Wjc(b,oO,!0)}null!=_.Q(a,69)&&_.xK(b,"linkShareMetadata.securityUpdateEnabled",_.Q(a,69));null!=_.Q(a,72)&&_.xK(b,"canAcceptOwnership",_.Q(a,72));if(_.Q(a,73)){var UZ=(new _.mf).Jb("application/vnd.google-apps.shortcut");_.xK(b,"impactedByMultiparentingMigration",!0);_.vK(b,bkc([UZ],!1,!1))}1==_.kK(a)&&Yjc(b,a);return b.toString()};
_.hkc=function(a){var b=new _.Wo(_.gkc(a));_.S(a,74,!1)?_.vK(b,"isQuickAccessForSharedFilesRequest"):_.yJ(a)?_.vK(b,"isQuickAccessRequest"):_.zJ(a)?_.vK(b,"isPeoplePredictRequest"):_.AJ(a)&&_.vK(b,"isDrivePriorityRequest");var c=a.wc();if(c){var d=[];d.push("sortBy");d.push(_.$fc[c.getType()]);d.push(_.hgc[c.qf()]);_.Q(c,3)&&d.push("foldersFirst");_.vK(b,d.join(" "))}_.xK(b,"domainSearch",_.Q(a,18));_.xK(b,"offline",_.Q(a,19));_.Qj(a,_.jK,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.Zjc(a)),
_.vK(b,c.join(" ")));a.zB().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.$jc(a)),_.vK(b,c.join(" ")));if(c=_.kK(a))d=[],d.push("corpora"),d.push("="),d.push(uK(_.Kjc[c])),_.vK(b,d.join(" "));_.S(a,66,!0)||_.xK(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.kK(a)&&Yjc(b,a);_.S(a,48,!1)&&_.vK(b,"cachedOnly");return b.toString()};
_.ZJ=function(a){if(a instanceof _.GI)a=a.qd();else if(!a)return!1;return a instanceof _.dA||a instanceof _.pG||"undefined"!=typeof _.yK&&a instanceof _.yK||a instanceof _.hf&&(_.yJ(a)||_.zJ(a)||_.AJ(a))};ikc=function(){_.So.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.K(ikc,_.So);_.jkc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};kkc=function(a,b){a.V||(a.V=b)};ikc.prototype.yj=function(){_.jkc(this);(0,this.ha)()};lkc=function(a,b){a.ha||(a.ha=b)};
_.zK=function(a){if(!a.O){a.O=new Bjc;var b=_.Uo(a);_.I(b,56,a.O)}return a.O};ikc.prototype.getState=function(){var a=_.zK(this).getState();a||(a=new rjc,_.zK(this).Kd(a));return a};var mkc=function(a,b){var c=new pjc;_.w(c,1,b);a=_.Uo(a);_.I(a,12,c)};ikc.prototype.ma=function(){var a=_.B(_.zK(this),tjc,4);if(!a){a=new tjc;var b=_.zK(this);_.I(b,4,a)}return a};nkc=function(a){var b=_.B(_.zK(a),ujc,8);b||(b=new ujc,a=_.zK(a),_.I(a,8,b));return b};
okc=function(a){var b=_.B(_.zK(a),zjc,19);b||(b=new zjc,a=_.zK(a),_.I(a,19,b));return b};_.pkc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.zi.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.K(_.pkc,_.zi);_.g=_.pkc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Xk=function(){return 1===this.connectionState||2===this.connectionState};_.g.Ue=function(){return 3===this.connectionState};_.g.get=function(){return this.connectionState};
_.g.update=function(a){if(this.V)return!1;if(this.connectionState!==a||this.H&&1===a){if(2===a)var b=3===this.connectionState?_.EB.hU:_.EB.Dga;else 1===a?(b=_.EB.CL,this.O=!0):3===a&&(b=_.EB.gU);if(b)return b=new Gjc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var qkc=function(a,b){this.userId=a;this.H=b;this.db=null},skc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return rkc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ye"))},function(d){return a.handleError(d)})},"readwrite")};qkc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.aAb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var tkc=function(a){return new _.Vh(function(b){var c=new Map;rkc(a,function(d){return djc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Lqa:f.Lqa},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Lqa=k;l.then(function(p){return function(q){q&&c.set(p.Lqa,new _.oAa(q.aAb))}}(f))}return _.mI([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},ukc=function(a,b){return rkc(a,
function(c){return c.remove(b)},"readwrite")},rkc=function(a,b,c){c=void 0===c?"readonly":c;return vkc(a).then(function(d){try{var e=_.afc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.aJ(f):void 0)}},function(d){return a.handleError(d)})},vkc=function(a){return a.db?_.Wh(a.db):_.cfc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.ejc(c,"OfflineImpressions");b=_.$ec(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.zI(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ze"))}).then(function(b){return a.db=b},function(b){return _.Xh(_.aJ(b))})};qkc.prototype.handleError=function(a){a||(a=Error("$e"));_.rK(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Wh()};
_.wkc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.zi.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.K(_.wkc,_.zi);_.wkc.prototype.Ue=function(){return this.H};_.wkc.prototype.Ml=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new Ujc(a)))};_.wkc.prototype.Wy=function(a){this.O=a};
var ykc=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.Ne(this);this.Ib.listen(b,"Fb",function(k){k.Ue()||xkc(h)});this.Ib.listen(c,[_.EB.CL,_.EB.hU],function(){return void xkc(h)});this.W=e;f.then(function(){return xkc(h)})};_.K(ykc,_.zi);ykc.prototype.BA=function(a){return(this.H.Ue()||this.connectionState.Ue())&&this.H.O?skc(this.O,a):this.V.BA(a)};
var xkc=function(a){return a.H.O?tkc(a.O).then(function(b){b.forEach(function(c,d){a.V.BA(c).then(function(){return zkc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},zkc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Gb");return ukc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
ykc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var Akc=function(){};Akc.prototype.KQ=function(){return new ikc};var Bkc=function(){this.H=new Cjc};Bkc.prototype.O=function(a){_.I(a,13,this.H)};Bkc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
Dkc=function(a,b,c,d){this.W=b;this.connectionState=c;this.jw=d;this.O=this.H=this.V=null;this.client=_.AK(_.qgc,_.mK(a));this.ha=_.y(a,94);this.ma=_.AK(_.ugc,_.Dj(a.eg(),8,0));this.Lwa=_.AK(_.rgc,_.Dj(a.eg(),9,2));this.ta=_.S(a,10,!1);this.ru=_.ZI(_.AI(a));this.$Ba=_.nK(a);this.ka=Ckc(a);this.buildLabel=a.Wi()};Ckc=function(a){var b=[].concat(_.nd(_.ngc.keys())),c=[].concat(_.nd(_.ogc.keys())),d=_.PI(a);return b.filter(function(e){return _.ngc.get(e)(a)}).concat(c.filter(function(e){return d&&_.ogc.get(e)(d)}))};
_.AK=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};Dkc.prototype.Wn=function(a){return null==a?0:a?2:1};var Ekc=function(a){if(a.O)return a.O.H("aU7Ts")};
Dkc.prototype.Bb=function(a){return a instanceof _.rB||"undefined"!=typeof _.BK&&a instanceof _.BK||"undefined"!=typeof _.CK&&a instanceof _.CK||"undefined"!=typeof _.DK&&a instanceof _.DK?a.Bb():"undefined"!=typeof _.EK&&a instanceof _.EK||"undefined"!=typeof _.FK&&a instanceof _.FK||"undefined"!=typeof _.GK&&a instanceof _.GK||"undefined"!=typeof _.HK&&a instanceof _.HK||"undefined"!=typeof _.IK&&a instanceof _.IK?a.response?a.response.Bb():null:null};Dkc.prototype.Wi=function(){return this.buildLabel};
var Fkc=function(a){return a.W.Ue()||a.connectionState.Ue()?2:1};Dkc.prototype.getEnvironment=function(){return this.jw};Gkc=function(a,b){this.H=a;var c=new _.Nya;_.Oya(c,b.ka);a=this.H.GL();var d=_.Sfc(a);_.I(d,10,c);(c=b.Wi())&&_.Rfc(a,c);this.H.EZ();this.O=b};
_.Hkc=function(a,b,c){var d=_.To(a.H.OF(b,c),_.igc);mkc(d,Fkc(a.O));b=Ekc(a.O);"boolean"===typeof b&&sjc(d.getState(),b);1===c&&kkc(d,function(){return void a.H.iw(d)});lkc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.Ed();e=d.getState();_.w(e,1,f);var h,k;f=null===(k=null===(h=a.O.H)||void 0===h?void 0:h.H)||void 0===k?void 0:k.Ed();h=d.getState();_.w(h,2,f);var l,p;h=null===(p=null===(l=a.O.H)||void 0===l?void 0:l.O)||void 0===p?void 0:p.Ed();l=d.getState();_.w(l,7,h);a.H.Qp(d)});
return d};Ikc=function(a){var b=new _.Iza,c=new Bkc;_.w(c.H,1,a.client);_.w(c.H,8,a.ha);_.w(c.H,3,a.ma);_.w(c.H,4,a.Lwa);_.w(c.H,5,a.ta);_.w(c.H,6,a.ru);_.w(c.H,7,a.$Ba);a=c.setEnvironment(a.getEnvironment());_.efc(b,_.kgc,a);_.Xo(b,_.igc,new Akc);return b};
Jkc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.iI(906,b,void 0,_.xgc());l.ha=!1;var p=new _.ffc(l);b=new Date;l=_.Xfc(_.Wfc(_.Vfc(fjc(),new _.gfc(l)),Ikc(c)),109).setSessionId(b.getTime()+"_"+_.Ug());if(k){a=new ykc(p,d,e,new qkc(a,f),f,h);_.Ufc(l,a);d=l.build();_.Qfc(d.GL(),1E3*b.getTime());var q=new Gkc(d,c);(new _.Ne).listen(a,"Gb",function(){_.Hkc(q,106008,0).yj()});return q}_.Ufc(l,p);a=l.build();_.Qfc(a.GL(),1E3*b.getTime());return new Gkc(a,c)};
Kkc=function(a,b){this.V=a;this.W=b};Kkc.prototype.O=function(a,b){this.V&&_.Lkc(this)&&(a=_.Hkc(this.V,a,0),b&&_.ehc(a,b),a.yj())};_.JK=function(a,b){if(a.V&&_.Lkc(a)){a=_.Hkc(a.V,106018,0);var c=_.B(_.zK(a),yjc,15);if(!c){c=new yjc;var d=_.zK(a);_.I(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.yj()}};Kkc.prototype.H=function(a,b){return this.V&&_.Lkc(this)?(a=_.Hkc(this.V,a,1),b&&_.ehc(a,b),a):null};_.Lkc=function(a){return!(!a.V||!a.V.H.vP())};
_.Mkc=function(a,b,c,d,e,f){var h=_.Q(a,59),k=_.OI(_.AI(a)).toString(),l=_.lK(_.AI(a));f=new Dkc(a,b,c,f);a=h?Jkc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new Kkc(a,f)};_.uJ=function(a){_.J.call(this,a)};_.K(_.uJ,_.J);_.Nkc=function(a){_.J.call(this,a)};_.K(_.Nkc,_.J);_.Nkc.prototype.getId=function(){return _.y(this,1)};_.Nkc.prototype.Pb=function(a){return _.w(this,1,a)};_.Nkc.prototype.ve=function(){return _.B(this,_.wf,2)};_.DJ=function(a){_.J.call(this,a)};_.K(_.DJ,_.J);
_.DJ.prototype.Xn=function(){return _.y(this,2)};_.DJ.prototype.qd=function(){return _.B(this,_.Nkc,3)};_.tJ=function(a){_.J.call(this,a)};_.K(_.tJ,_.J);_.tJ.prototype.qd=function(){return _.B(this,_.sJ,1)};_.tJ.prototype.Ica=function(a){return _.w(this,2,a)};_.rJ=function(a){_.J.call(this,a)};_.K(_.rJ,_.J);_.rJ.prototype.getId=function(){return _.y(this,1)};_.rJ.prototype.Pb=function(a){return _.w(this,1,a)};_.Okc=function(a,b){return _.w(a,2,b)};_.GJ=function(a){_.J.call(this,a)};_.K(_.GJ,_.J);
_.GJ.prototype.qd=function(){return _.B(this,_.rJ,1)};Pkc=[2];_.NJ=function(a){_.J.call(this,a,-1,Pkc)};_.K(_.NJ,_.J);_.NJ.prototype.Cc=function(){return _.y(this,1)};_.NJ.prototype.zV=function(){return _.Qj(this,_.nG,2)};_.NJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.Qkc=function(a){_.J.call(this,a)};_.K(_.Qkc,_.J);_.Qkc.prototype.tk=function(){return _.y(this,1)};_.Rkc=function(a){var b=new _.Qkc;return _.w(b,1,a)};Skc=[1];_.whc=function(a){_.J.call(this,a,-1,Skc)};_.K(_.whc,_.J);
_.Tkc=function(){this.H={}};Ukc=function(a,b,c){if(a.H[b])throw Error("af");a.H[b]=c};_.Tkc.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){_.n.setTimeout(function(){throw d;},0)}};Vkc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.Wkc=function(a,b){this.H=a;this.V=b;this.O=_.Cgc[_.Dj(a.eg(),8,0)];this.W=_.Cgc[_.Dj(a.eg(),51,5)];this.nonce=_.Ug()};
_.Wkc.prototype.lc=function(a,b){if(b.HN)Xkc(this,a,b),Ykc(this,a,b);else if(11===a.Xm){if(b.MJb){var c=b.FD||_.C(this.H.eg(),37,"");_.tj(a.uri,"key",c)}Xkc(this,a,b);Zkc(this,a,b)}else switch(a.uri=$kc(this,a.Xm,a.uri),a.Xm){case 1:Zkc(this,a,b);Xkc(this,a,b);break;case 0:b.ru||_.ZI(_.AI(this.H))||(b.vjb?_.tj(a.uri,"dsNonce",_.Ug()):_.S(this.H,83,!1)&&_.tj(a.uri,"dsNonce",this.nonce));Zkc(this,a,b);Ykc(this,a,b);Xkc(this,a,b);break;case 2:case 3:case 4:case 5:Zkc(this,a,b);Ykc(this,a,b);Xkc(this,
a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:Zkc(this,a,b);Ykc(this,a,b);break;default:throw Error("bf`"+a.Xm);}};alc=function(a,b){var c=$kc(a,b,new _.ij);if(!c.H)throw Error("df");return _.pj(_.oj(_.jj(new _.ij,c.O),c.H),c.W).Mi(_.Dgc.has(b)?"/batch"+a.O:"/batch")};
$kc=function(a,b,c){var d=_.y(a.H.eg(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.C(a.H.eg(),62,"");break;case 8:a=_.y(a.H.eg(),53);break;case 9:a=_.y(a.H.eg(),56);break;case 10:a=_.y(a.H.eg(),22);break;case 13:a=_.y(a.H.eg(),55);break;case 12:a=_.y(a.H.eg(),43);break;default:throw Error("bf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.ij(a);
_.Hd(c,"/")&&(c=c.slice(1));return new _.ij(a+"/"+c)};Zkc=function(a,b,c){a=_.AI(a.H);c.ru||_.ZI(a)||(c=[{key:"u",value:_.lK(a)}],b.headers.authorization=_.bec(c)||"",c=_.OI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
Xkc=function(a,b,c){var d=_.AI(a.H),e=a.H.eg(),f=c.i6a||!!_.y(e,13);c=c.j6a||_.S(e,14,!1);var h=11===b.Xm;f&&((f=_.y(e,13))&&_.Hd(f,"email:")?_.tj(b.uri,"trace",f):f&&"trace:true"===f?_.tj(b.uri,"$trace","true"):f?_.tj(b.uri,"trace","token:"+f):_.tj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.tj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Dj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
Ykc=function(a,b,c){c.ru||_.ZI(_.AI(a.H))?_.tj(b.uri,"key",_.C(a.H.eg(),36,"")):(a=c.FD||_.C(a.H.eg(),37,""),_.tj(b.uri,"key",a))};_.yhc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.zhc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Fhc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Lhc=function(){this.H=_.xf(new _.wf,312)};_.Ahc=function(a){this.request=a;this.requestId=_.Ug()};
_.Ihc=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};Ghc=function(a,b){this.request=a;this.metadata=b};Hhc=function(a,b,c,d,e,f,h){this.W=a;this.blob=b;this.H=c;this.O=d;this.V=e;this.contentType=f;this.revisionId=h};_.UJ=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};_.blc=function(a,b){_.bI.call(this,a?a:500,b?b:6E5)};_.K(_.blc,_.bI);_.clc=function(a,b){this.O=b;this.H=new Map;this.gla(_.Qj(a,_.Cl,91))};
_.clc.prototype.gla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.y(c,2);if(!b||!c)break;var d=_.dlc(this,b);if(d){d!==c&&vhc(b);break}this.H.set(b,c)}};Xhc=function(a,b){return[].concat(_.nd(new Set(b))).map(function(c){var d=(new _.Cl).Pb(c);a.H.has(c)?_.Dl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Dl(d,_.ll(c));return d}).filter(function(c){return _.P(c,2)})};_.dlc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.P(a,140)?_.ll(a):null};
_.KK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Od=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.KK.prototype.getState=function(){return this.state};
_.KK.prototype.oM=function(a){var b=this;if(this.W)return this.W;var c=_.Zh();this.W=c.promise.then(function(){return _.Rkc(1)},function(d){d=_.DB(d).Qg;var e=0;2===d.Ep()?e=3:_.wgc(d)&&(e=2);return _.Rkc(e)});a&&this.W.then(function(d){3===d.tk()&&_.JK(b.Od,186469046)});this.H&&(a=_.y(okc(this.H),4)||0,Ajc(okc(this.H),a+1));setTimeout(function(){b.W=null},5E3);elc(this,c);return this.W};_.hlc=function(a,b){flc(a,3)&&_.glc(a,b)};_.KK.prototype.reset=function(){this.O=null;ilc(this)};
ilc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.glc=function(a,b){if(!a.O&&!a.V){a.H=a.Od.H(106025);if(a.H){var c=okc(a.H);var d=!(!a.state.isConnected()&&a.state.Xk());c=_.w(c,1,d);c=_.w(c,2,a.state.O);_.w(c,5,!!b)}a.O=new _.blc(5E3,6E4);jlc(a)}};jlc=function(a){ilc(a);elc(a);a.O&&(a.timeout=setTimeout(function(){return void jlc(a)},a.O.Za()),_.cI(a.O))};
elc=function(a,b){_.$h((a.ha?a.ha():_.Wh()).then(null,function(){return null}),function(){if(a.H){var c=_.y(okc(a.H),3)||0,d=okc(a.H);_.w(d,3,c+1)}klc(a,b)})};klc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Re(new _.Lhc)}).then(null,function(d){d=_.DB(d);_.wgc(d.Qg)&&flc(a,2);return _.Xh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.KK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
flc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.Egc.get(b)),!0):!1};Qhc=[_.dJ,_.fJ,_.eJ,_.hJ,_.gJ,_.iJ,_.jJ,_.mJ,_.oJ,_.pJ,_.qJ,_.sJ,_.tJ,_.FJ,_.JJ,_.LJ,_.NJ,_.QI,_.OJ,_.PJ,_.QJ,_.Ahc,_.UJ];llc=[_.SI];Rhc=[_.oG,_.Fhc];Shc=[_.DJ,_.BI,_.JD,_.VJ];Thc=[_.GI,_.uJ,_.yA,_.SI,_.zhc];Uhc=[_.VJ,_.qG];Vhc=[_.rJ,_.whc,_.CJ,_.GJ,_.HJ,_.yhc,_.UJ,Hhc,Ghc];
mlc=function(a){return a instanceof _.GI||a instanceof _.VJ||"undefined"!=typeof _.LK&&a instanceof _.LK||a instanceof _.PJ||a instanceof _.pJ||a instanceof _.iJ||a instanceof _.mJ||a instanceof _.QI&&_.YJ(a)};_.nlc=function(a,b){this.H=b;this.Z3={};this.kj=new njc;b=_.cJ({fields:_.Td(a,28),xq:_.ZI(_.AI(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.nlc.prototype.Jb=function(a,b){this.Z3[a]=olc(a,b)};
var plc=function(a,b){var c=a.Z3[b];c||(c=olc(b,0,2),a.Z3[b]=c);c.Jb(String(Number(c.Za())+1))};_.nlc.prototype.Nz=function(a){var b=_.Qa(this.Z3);this.H&&b.push(olc("CacheSize",this.H.Ed()));b.push(olc("InitialViewDataLoaded",a));a=new _.Pjc;_.Mj(a,1,b);return _.hi(a)};olc=function(a,b,c){var d=new _.Njc;_.w(d,1,a);_.w(d,4,c||1);d.Jb(String(b));d.Wl(_.Igc.get(a));return d};
_.qlc=function(a,b,c){var d=new _.Zfc;_.w(d,2,"Pending...");b instanceof _.GI?_.Rj(d,3,_.HI[0],b):b instanceof _.VJ?_.Rj(d,4,_.HI[0],b):"undefined"!=typeof _.LK&&b instanceof _.LK?_.Rj(d,5,_.HI[0],b):b instanceof _.PJ?_.Rj(d,6,_.HI[0],b):b instanceof _.pJ?_.Rj(d,7,_.HI[0],b):b instanceof _.iJ?_.Rj(d,8,_.HI[0],b):b instanceof _.mJ?_.Rj(d,9,_.HI[0],b):b instanceof _.QI&&_.Rj(d,10,_.HI[0],b);var e=Nhc(b),f=[];if(b instanceof _.eJ)WJ(f,"ID",b.getId()),WJ(f,"Parent ID",b.wk());else if(b instanceof _.pJ)WJ(f,
"TD ID",b.getId());else if(b instanceof _.GI)b=_.hkc(b.qd()),WJ(f,"Query",b);else if(b instanceof _.VJ)WJ(f,"Query","All");else if(b instanceof _.PJ)WJ(f,"TD ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.iJ)WJ(f,"MimeType",b.getMimeType()),WJ(f,"Title",b.getTitle()),WJ(f,"Parents",_.Td(b,3)),WJ(f,"Convert",_.Q(b,8)),WJ(f,"Request ID",b.fj()),WJ(f,"Parent Request IDs",_.Td(b,10)),WJ(f,"Revision Item ID",_.y(b,12)),WJ(f,"Pinned",_.Q(b,8));else if(b instanceof
_.jJ)WJ(f,"Title",b.getTitle());else if(b instanceof _.mJ)WJ(f,"ID",b.getId());else if(b instanceof _.qJ)WJ(f,"WS ID",b.getId());else if(b instanceof _.FJ)WJ(f,"Source ID",_.y(b,1)),WJ(f,"Destination Parent ID",_.y(b,2)),WJ(f,"validation token",_.y(b,4));else if(b instanceof _.QI){if(WJ(f,"ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"Description",b.Te()),WJ(f,"Starred",_.Q(b,4)),WJ(f,"Trashed",b.Xh()),WJ(f,"MimeType",b.getMimeType()),WJ(f,"Parents",_.Td(b,8)),WJ(f,"Parents to add",_.Td(b,9)),WJ(f,
"Parents to remove",_.Td(b,10)),WJ(f,"Restricted",_.Q(b,11)),WJ(f,"Folder Color",b.Yi()),WJ(f,"Update Last Viewed",_.Q(b,15)),WJ(f,"Subscribed",_.Q(b,16)),WJ(f,"Available Offline",_.Q(b,18)),WJ(f,"Wksp to add",_.Td(b,31)),WJ(f,"Wksp to remove",_.Td(b,32)),b=_.B(b,_.al,25))WJ(f,"Read Only",_.Q(b,1)),WJ(f,"Reason",_.y(b,2))}else b instanceof _.QJ?(WJ(f,"WS ID",b.getId()),WJ(f,"Title",b.getTitle()),WJ(f,"State",b.getState())):b instanceof _.Ahc&&WJ(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+
e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.kj.add(d);return d};_.rlc=function(a,b){for(var c=new _.Wo,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.hhc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};_.nlc.prototype.bR=function(){return this.kj.ih()};_.t("sy1o7");
_.MK=function(a){_.J.call(this,a)};_.K(_.MK,_.J);_.MK.prototype.jd=function(){return _.B(this,_.rB,1)};_.slc=function(a,b){return _.I(a,1,b)};_.MK.prototype.Xn=function(){return _.y(this,3)};
_.tlc=function(a,b,c){_.ri.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.tlc,_.ri);
_.ulc=function(a,b){this.O=a;this.V=b;this.H=null};
var NK=function(a){_.zi.call(this);this.name=a};_.K(NK,_.zi);_.g=NK.prototype;_.g.O3=function(){};_.g.AEa=function(){};_.g.q0a=function(){};_.g.WLa=function(){};_.g.p0a=function(){};_.g.PF=function(){this.dispatchEvent(new _.ri("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var vlc=function(a,b){NK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.O,"Fb",function(d){d.Ue()||c.PF()});this.Sc.listen(this.H,"nb",this.PF)};_.K(vlc,NK);vlc.prototype.max=function(){var a=this.O.Ue(),b=this.H.HB();return!a&&b?Infinity:0};vlc.prototype.O3=function(){this.PF()};
var wlc=function(a){NK.call(this,"Online");var b=this;this.connectionState=a;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.connectionState,[_.EB.CL,_.EB.Dga,_.EB.hU],function(){return b.PF()})};_.K(wlc,NK);wlc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};wlc.prototype.O3=function(){this.PF()};
_.xlc=function(a,b){this.H=a;this.O=b};_.ylc=function(a){return a.H instanceof _.KK?new wlc(a.H.getState()):new vlc(a.O,a.H)};_.xlc.prototype.Jj=function(){return this.H instanceof _.KK?this.H.getState():this.O};
var Alc;_.zlc=function(a,b,c){this.yK=c;this.O=!0;this.V=0;this.H=new _.bI(a,b,.5)};Alc=function(a){return a.H.O+a.V};
_.OK=function(a,b){NK.call(this,"Backoff");this.H=a;this.O=b};_.K(_.OK,NK);_.OK.prototype.max=function(){return this.H.O?Infinity:0};_.OK.prototype.WLa=function(){var a=this.H;a.V=0;a.H.reset()};_.OK.prototype.p0a=function(a){var b=this;Blc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Za(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.PF()},a),_.cI(this.H.H))};
var Blc=function(a){var b;return(a=null===(b=_.ia(a.KD))||void 0===b?void 0:b.response)?khc(_.Evb(a)):!1};_.OK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.Clc=function(a,b){NK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.K(_.Clc,NK);_.Clc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.Clc.prototype.O3=function(a){a>=this.O?this.PF():null==this.H&&Dlc(this)};_.Clc.prototype.AEa=function(a,b){0<b?Dlc(this):this.H=null};var Dlc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.PF.bind(a),a.V)};
_.PK=function(){this.kj=[]};_.g=_.PK.prototype;_.g.add=function(a,b){b?this.kj.unshift(a):this.kj.push(a);return!0};_.g.gsa=function(a){return _.Aa(this.kj,0,a)};_.g.Ed=function(){return this.kj.length};_.g.cancel=function(a){return _.va(this.kj,function(b){return b.Bv.config.requestId===a?(b.ke.resolve(Ohc(b.Bv.Kw)),!0):!1})};_.g.cK=function(){return _.jg(this.kj,function(a){return _.YJ(a.Bv.Kw)})};
var Elc=function(){NK.call(this,"Immediate")};_.K(Elc,NK);Elc.prototype.max=function(){return Infinity};Elc.prototype.O3=function(){this.PF()};
var Flc=function(){NK.call(this,"One Request")};_.K(Flc,NK);Flc.prototype.max=function(){return 1};
_.QK=function(a){NK.call(this,"Parallel");this.limit=a;this.H=0};_.K(_.QK,NK);_.QK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.QK.prototype.O3=function(){this.H<this.limit&&this.PF()};_.QK.prototype.AEa=function(a){this.H+=a.length};_.QK.prototype.q0a=function(a){this.H-=a.length;this.H<this.limit&&this.PF()};
var Glc=function(){_.zi.apply(this,arguments)};_.K(Glc,_.zi);var Ilc=function(a,b){a.dispatchEvent(new Hlc(b))};Glc.prototype.O=function(){};var Hlc=function(a){_.ri.call(this,"Nb");this.request=a};_.K(Hlc,_.ri);
_.RK=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ma=0;this.W=new Map;this.Sc=new _.Ne(this);this.Ma(this.Sc);for(a=0;a<this.H.length;a++)this.Sc.listen(this.H[a],"Mb",this.p_a);for(a=0;a<this.O.length;a++)this.Sc.listen(this.O[a],"Nb",function(k){Jlc(h,!0,k.request)});this.ka=_.zt("drive.ds.network.queue.Queue [%s]",f)};_.K(_.RK,_.zi);_.RK.prototype.add=function(a){return Jlc(this,!1,{Bv:a,ke:_.Zh(),KD:[]})};
_.RK.prototype.cancel=function(a){var b=this.V.cancel(a),c=this.buckets.some(function(d){return d.cancel(a)});b?this.log("Canceled ID "+a+" during execution."):c&&this.log("Canceled ID "+a+" inside bucket.");return b||c};_.RK.prototype.cK=function(){return this.V.cK()?!0:this.buckets.some(function(a){return a.cK()})};
var Jlc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.gq(new _.oc,"No queue bucket accepted request."),_.Xh(_.DB(a));for(var d=Klc(a),e=0;e<a.H.length;e++)a.H[e].O3(d);return c.ke.promise};_.g=_.RK.prototype;
_.g.p_a=function(){var a=Klc(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.buckets.length&&0===c.length;d++)c=this.buckets[d].gsa(b);0<c.length&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),this.execute(c))}};
_.g.execute=function(a){var b=this,c=String(this.ma++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.cvb.bind(this,a[e]),this.bvb.bind(this,a[e]));e=Klc(this);for(var f=0;f<this.H.length;f++)this.H[f].AEa(a,e);_.$h(_.mI(d).then(this.avb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.p_a.bind(this),0)};
_.g.cvb=function(a,b){var c=a.Bv.config;this.log(Nhc(a.Bv.Kw)+" request completed successfully. xd4: "+!(!c||!c.HN));this.H.forEach(function(d){return d.WLa()});this.O.forEach(function(d){return d.O(a)});a.ke.resolve(b)};
_.g.bvb=function(a,b){b=_.DB(b);this.log(Nhc(a.Bv.Kw)+(" request failed with error: "+b.ha+"."));a.KD.push({response:b,CQb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].p0a(a);a.Bv.config.wEa||!this.O.some(function(d){return d.intercept(a)})?a.ke.reject(b):this.log(Nhc(a.Bv.Kw)+" encountered an error, but was intercepted to be retried.")};_.g.avb=function(a){Klc(this);for(var b=0;b<this.H.length;b++)this.H[b].q0a(a)};
var Klc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ed()){b=a.buckets[c].Ed();break}return b};_.RK.prototype.log=function(a){this.ha.info(this.ka,a)};
_.Llc=function(a,b,c,d){Glc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Vj(a,21,1E3);this.ta=_.Vj(a,1,1);this.ma=function(){return new _.zlc(_.Vj(a,63,1E3),_.Vj(a,64,3E5),_.Vj(a,65,10))}};_.K(_.Llc,Glc);
_.Llc.prototype.intercept=function(a){var b=a.KD.length,c=0<b&&_.ia(a.KD).response||null;if(c){c=_.NI(c);if(2===c.Ep())return Mlc(this,a);if(_.wgc(c))return 2>=b?(Ilc(this,a),a=!0):a=!1,a;var d=c.rk();if(3===d||31===d||13===d||9===d)return Nlc(this,a,b);if(khc(c))return b=Alc(this.V),c=this.V,Alc(c)<c.yK?(this.log("Backoff number "+b+" for a User Rate Limit error."),Ilc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var Mlc=function(a,b){var c=Olc(a,b),d=Alc(c);if(Alc(c)<c.yK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Ue()?(d=c.H.Za(),_.n.setTimeout(function(){return Ilc(a,b)},d),_.cI(c.H)):(_.n.setTimeout(function(){return Ilc(a,b)}),c.V++),!0;a.H.delete(b);return!1},Olc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},Nlc=function(a,b,c){var d=a.ta;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return Ilc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.Llc.prototype.O=function(a){this.H.delete(a)};_.Llc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var Plc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.xgc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.pAb,d=Hjc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.nAb(_.aJ(e),"reading data"))}},Qlc=function(a){return Plc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var Rlc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ka=c;this.W=d;this.Qa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.va=this.ha=null;this.ke=_.Zh();this.finished=!1;this.Ba=this.Au=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Nz();a=_.xgc()&&a?_.y(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.mO="progress_"+this.requestId;h.mO=this.mO;this.ma=!!f.metadata};
Rlc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};Rlc.prototype.start=function(){var a=this,b=new Ghc(this.request.request,this.request.metadata),c=Slc(this);this.Ha.then(function(d){return d.Re(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;Tlc(a)},function(d){return void a.ke.reject(d)});return _.$h(this.ke.promise.then(function(d){Ulc(a,d);return d},function(d){d=_.DB(d);Ulc(a,d.Qg);return _.Xh(d)}),function(){Vkc(a.H,[a.mO])})};
var Slc=function(a){var b=_.Ya(a.config);Ukc(a.H,a.mO,kjc(function(){return void a.H.notify([a.requestId],0)}));return b};Rlc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ke.resolve(Ohc(this.request)),!0)};
var Tlc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),Vlc(a,4))},Vlc=function(a,b){Wlc(a).then(function(c){if(c){var d=Xlc(a,c.blob.size);a.Ha.then(function(f){return f.Re(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.UJ()&&(a.va=f.UJ());f.UM()&&(a.Fa=f.UM());a.progress<a.fileSize?Tlc(a):a.ke.resolve(f)},function(f){if(d.wEa)a.cancel();else{var h=_.NI(f);h.uBa()||h.Xka()||a.ma?Ylc(a,b,h,!1):Qlc(c.blob).then(function(k){k=k?_.UEa.get(k)||
25:38;_.XI(h,k);k=38===h.Ep();var l=38!==h.Ep()&&25!==h.Ep();Ylc(a,b,h,k,l)},function(){})}})}else{var e=_.DB(_.XI(_.gq(new _.oc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ke.reject(e)}})},Ylc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.cfa(f);!e&&0<b?(a.Au++,d&&(a.W=Math.max(262144*Math.floor(a.W/262144/2),8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.W+" bytes "):
"")+"for ")+(a.ha+"."));Vlc(a,b)},a.Qa*Math.pow(1.5,f))):a.ke.reject(_.DB(c))},Wlc=function(a,b){return a.ma&&a.V?_.Wh(a.V):Zlc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return Wlc(a,Math.min(2*a.O,a.fileSize-a.progress));a.ka&&(c=new Blob([a.ka,c]),a.ka=null);var d=c.size%262144;a.finished=a.progress+a.O===a.fileSize;0<d&&!a.finished&&(a.ka=c.slice(-1*d),c=c.slice(0,-1*d));a.V=new Hhc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.y(a.request.request,
12)||void 0);return a.V})},Zlc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.jQ?a.request.jQ(b,a.O):_.Wh(_.jhc(a.request.file,b,b+a.O))},Xlc=function(a,b){var c=_.Ya(a.config);c.ZQa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;Vkc(a.H,[a.mO]);Ukc(a.H,a.mO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},Ulc=function(a,b){b.XLa(3);b.cfa(a.Au);b.UJ()||b.Cca(a.va);b.UM()||b.tca(a.Fa)};
_.$lc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.$lc.prototype.create=function(a,b){return new Rlc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.amc=function(a){this.O=a;this.H={}};_.amc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Bv.Kw instanceof _.Ihc)b.push(bmc(this,a[c].Bv));else{var d=_.gq(new _.oc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.DB(d)))}return b};_.amc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.amc.prototype.cK=function(){return!_.Ta(this.H)};
var bmc=function(a,b){var c=a.O.create(b.Kw,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.$h(d,function(){delete a.H[e]})};
_.cmc=function(a,b){return new _.RK(b,a,[new Elc],[new _.PK],[],"immediate")};_.dmc=function(a,b,c,d,e){return new _.RK(e,a,[_.ylc(d),new _.OK(c,e),new Flc],[new _.PK],[new _.Llc(b,c,d.Jj(),e)],"connected")};_.emc=function(a,b,c,d,e,f,h){h=void 0===h?_.Vj(b,10,50):h;return new _.RK(e,a,[_.ylc(d),new _.Clc(h,_.Vj(b,12,10)),new _.QK(3*h),new _.OK(c,e)],[new _.PK],[new _.Llc(b,c,d.Jj(),e)],f)};_.fmc=function(a,b,c){b=_.Vj(b,46,1);return new _.RK(c,a,[new _.QK(b)],[new _.PK],[],"resumable_upload")};
_.gmc=function(a,b,c,d,e,f,h,k){this.dI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.gmc.prototype.Re=function(a,b){return hmc(this,a,b).then(null,function(c){c=_.DB(c);var d=c.Qg;Phc(a)||_.iq(d);return _.Xh(c)})};
var hmc=function(a,b,c){c=void 0===c?{}:c;var d=a.dI.validate(b);if(d)return _.Xh(_.DB(d));var e=a.ma.translate(b);e instanceof _.oc?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.V.execute(a,f,c)}).filter(function(f){return!!f}),d=0<d.length?Promise.all(d):void 0):d=a.V.execute(a,e,c)||void 0;return _.Wh(d).then(function(){if(e instanceof _.oc)return _.Xh(_.DB(e));if(Array.isArray(e)){var f=e.map(function(h){return imc(a,b,h,c)});return _.mI(f)}return imc(a,b,e,c)},function(f){return _.Xh(_.DB(f))})},
imc=function(a,b,c,d){var e=jmc(a,c);if(!e)return b=_.XI(_.gq(new _.oc,"Failed to choose a queue for server request."),18),_.Xh(_.DB(b));if(b instanceof _.rJ||b instanceof _.GJ)d.vjb=!0;if(e===a.H[7]||e===a.H[8])d.HN=!0;d=e.add({Kw:c,config:d});(_.YJ(b)||_.YJ(c))&&_.$h(d,function(){var f=a.W;f.O()||(f.H&&(f.H.resolve(),f.H=null),f.V())});b=a.ha.apply(c,d);d.then(function(f){a.ka.apply(c,f)},function(){});return b};_.gmc.prototype.cancel=function(a){return _.Oa(this.H,function(b){return b.cancel(a)})};
var jmc=function(a,b){var c,d=!1;b instanceof _.uJ?d=!(null===(c=_.B(b,_.yA,2))||void 0===c||!_.Q(c,7)):b instanceof _.yA?d=!!_.Q(b,7):b instanceof _.GI&&(d=(d=b.qd())&&!!_.Q(d,46));return(b instanceof _.Lhc||b instanceof _.jI&&_.Q(b,9))&&a.H[1]?a.H[1]:b instanceof _.Ihc&&a.H[5]?a.H[5]:d&&Whc(b,a.O)&&a.H[7]?a.H[7]:Whc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.uJ||b instanceof _.yA)&&a.H[6]?a.H[6]:(d||llc.includes(b.constructor))&&a.H[3]?a.H[3]:Qhc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var kmc=function(a){this.H=a};kmc.prototype.build=function(a,b){var c="====="+_.Ug()+"=====",d=a[0].Xm,e=b.every(function(l){return l.HN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=alc(this.H,a[0].Xm);_.tj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=lmc[d],h=mmc[d]||{},h["content-type"]=_.zt('multipart/mixed; boundary="%s"',c),d=nmc[d],k=new _.ij("");a=omc(this,a,b,c,e);return{Xm:f,body:a,headers:h,method:d,uri:k}};
var omc=function(a,b,c,d,e){for(var f=thc(pmc[b[0].Xm]||{}),h="",k=0;k<b.length;k++){e&&Zkc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=$kc(p,q.Xm,q.uri);switch(q.Xm){case 0:case 5:Ykc(p,q,r);Xkc(p,q,r);break;case 2:Zkc(p,q,r);Ykc(p,q,r);var v=q,z=_.y(p.H.eg(),57);v.headers.host=_.xj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;Xkc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("cf`"+q.Xm);default:throw Error("bf`"+
q.Xm);}p=l;q=p.uri.clone();_.jj(q,"");_.oj(q,"");_.pj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+thc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},qmc={},lmc=(qmc[0]=1,qmc[2]=3,qmc),rmc={},nmc=(rmc[0]="POST",rmc[2]="PUT",rmc[12]="POST",rmc),smc={},tmc={},mmc=(tmc[2]=(smc["x-goog-upload-protocol"]="batch",smc),tmc),umc={},vmc={},wmc={},xmc={},pmc=(xmc[0]=(umc["content-type"]="application/http",umc["content-transfer-encoding"]="binary",umc),xmc[12]=
(vmc["content-type"]="application/http",vmc["content-transfer-encoding"]="binary",vmc),xmc[2]=(wmc["content-type"]="application/http",wmc),xmc);
var ymc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,zmc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Amc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.kj=new Map};Amc.prototype.add=function(a,b){var c="DEFAULT";b.HN&&(c=alc(this.V,a.Xm).toString());this.kj.has(c)||this.kj.set(c,[]);c=this.kj.get(c);if(1<=c.length&&!b.HN&&!lmc[a.Xm])return a=_.gq(new _.oc,"Unsupported batch API: "+a.Xm),_.Xh(_.DB(a));var d=_.Zh();c.push({request:a,config:b,ke:d});return d.promise};
Amc.prototype.send=function(){for(var a={},b=_.m(this.kj.entries()),c=b.next();!c.done;a={Uqa:a.Uqa},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{Bmc(this,d)}catch(f){var e=_.aJ(f);e=_.hq(_.gq(new _.oc,"Error executing XHR: "+e.message),e.stack);a.Uqa=_.DB(e);d.forEach(function(h){return function(k){k.ke.reject(h.Uqa)}}(a));this.kj.delete(c)}}};
var Bmc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.XBa&&!c.config.HN){var d=!1;if(lmc[c.request.Xm]){var e={Xm:c.request.Xm,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.lc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){Cmc(a,c);return}}}Dmc(a,b)},Cmc=function(a,b){var c=b.ke;a.W.$g(b.request,b.config).then(function(d){c.resolve(d);Emc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},Dmc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.$g(a.ha.build(c,d),{XBa:!0,HN:d.every(function(e){return e.HN})}).then(function(e){e.headers=_.Tgc(e.headers);var f=zmc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.qc("Could not extract batch boundary.",_.XI(_.hq(new _.oc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Hd(_.ria(h[0]),f)&&_.ie(h[1]))h=_.ria(h[0]).substring(f.length);else throw new _.qc("Could not parse batch response; did not begin and end with boundary.",
_.XI(_.hq(new _.oc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,D=f[l],F=p&&p.uri,H=D.split("\r\n\r\n");if(2>H.length)v=new _.qc("Individual batch response contained too few parts.",_.XI(_.hq(new _.oc,D),17));else{var L=H[1].split("\r\n");if(z=ymc.exec(L[0])){p=_.Wg(z[1]);z=z[2];L.shift();A=_.Ya(A);for(var O=Object,R=O.assign,X={},la=0;la<L.length;la++){var ha=_.Bia(L[la],":",1);ha&&2===
ha.length&&(X[(0,_.mg)(ha[0])]=(0,_.mg)(ha[1]))}L=_.Tgc(X);R.call(O,A,L);try{v=_.ie(_.Sg(H[2]))?void 0:JSON.parse(H[2])}catch(ta){}v=(p=_.Ygc(p,z,A,D,v,void 0,void 0,F&&F.toString()))?_.DB(p):{headers:A,text:D,json:v||void 0}}else v=new _.qc("Could not extract HTTP status code and text.",_.XI(_.hq(new _.oc,D),16))}r.call(q,v)}return k}).then(null,function(e){e=_.DB(e);return _.gec(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ke,l=e[h];l instanceof _.oc||l instanceof _.qc?
(l=_.DB(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||Emc(a,b[0])})},Emc=function(a,b){var c=b.request.Xm;b=!b.config.ru&&_.oa(Fmc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=flc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.yj(),a.H=null)}else a.O&&b&&a.O.va()};
Amc.prototype.handleError=function(a,b){a=_.Evb(b);if(2===a.Ep()){if(this.H)return _.hlc(this.H),!0}else if(_.wgc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.glc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var Fmc=[0,2,4,7,8];
var Gmc=function(){_.fj.apply(this,arguments)};_.K(Gmc,_.fj);Gmc.prototype.getAllResponseHeaders=function(){return _.ria(_.fj.prototype.getAllResponseHeaders.call(this))};
var Hmc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
Hmc.prototype.$g=function(a,b){var c=this;try{this.W.lc(a,b);var d=new Gmc;d.wC=!0;var e=b.requestId||"",f=_.Zh();d.listen("complete",function(){var h=b.XBa,k=4===a.Xm;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.ima(d),text:d.Fl()};if(!h)try{l.json=_.YI(d)}catch(p){}h=_.Ygc(d.Bb(),_.fma(d),l.headers,l.text,l.json,d.O,_.jma(d),String(d.ta),k);d.dispose();h?f.reject(_.DB(h)):f.resolve(l)});e&&b.mO&&!b.HN&&(this.O[e]=d,this.H[e]=b,d.Gb=!0,d.listen("uploadprogress",
function(h){h.lengthComputable&&c.V.notify([b.mO],b.ZQa?h.loaded/h.total:h.loaded/h.total/2)}),b.ZQa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.mO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Xh(_.DB(h))}};Hmc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.wEa=!0,b.abort(),!0):!1};
_.Imc=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new kmc(this.O);this.W=new Hmc(this.O,this.va)};_.g=_.Imc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Bv;this.V.push(e);b.push(this.Ba.EE(e,a[d].KD));c.push(mlc(e.Kw)?_.qlc(this.ma,e.Kw):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.DB(_.Ygc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Amc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={Bqa:e.Bqa},k++){e.Bqa=a[k].Bv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Bqa)}}(e));d.push(l)}Promise.allSettled(b).then(function(){h.send()});
b=[];for(e=0;e<a.length;e++)k=a[e].Bv,l=d[e].then(this.bnb.bind(this,k.Kw,c[e],a[e].KD)).then(null,function(p){return Promise.reject(_.DB(p))}),l.then(this.YLa.bind(this,k),this.YLa.bind(this,k)),b.push(l);return b};_.g.bnb=function(a,b,c,d){a=this.ta.EE(a,d,c);b&&(c=a.wd?a.wd():[],_.rlc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.cK=function(){return this.V.some(function(a){return _.YJ(a.Kw)})};_.g.YLa=function(a){_.ua(this.V,a)};
_.Jmc=function(){};_.Jmc.prototype.execute=function(){return null};
var Kmc=function(){};
var Lmc=function(a,b){this.H=a;this.O=b};
_.Mmc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};
var Nmc=function(a){return"drive#fileList"===a.kind};
var Omc;Omc=function(a){this.H=a};_.SK=function(a,b){if(!_.Ba(b))throw new _.qc("Expected an object, but got a "+_.iga(b)+".",_.$I(11,void 0,8));var c=b.kind;if(!c)throw new _.qc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.$I(11,void 0,21));if(!a.includes(c))throw new _.qc("Expected "+a.join(" or ")+" but got a "+c+".",_.$I(11,void 0,9));};_.TK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.Pmc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.bic(new _.Zk,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);c=_.w(c,2,a.canComment);c=_.w(c,3,a.canCopy);b=_.kic(_.fic(_.lic(_.mic(_.nic(_.jic(_.iic(_.eic(_.dic(_.cic(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.w(b,13,a.canRenameTeamDrive);b=_.oic(_.hic(_.gic(b,a.canShare),
a.canTrash),a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.ric(_.qic(_.pic(_.w(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);b=_.w(b,49,a.canSetMissingRequiredFields);
b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.tic(_.sic(b,a.canShareChildFiles),a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.wic(_.vic(_.uic(_.w(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);b=_.w(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.w(b,52,a.canCreateDecryptedCopy);b=_.w(b,53,a.canCreateEncryptedCopy);b=_.w(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.w(b,55,a.canBlockOwner)};_.UK=function(a,b){_.SK(["drive#user"],b);var c=_.$hc(_.aic(_.Yhc(1).Pb(b.permissionId),b.id).hd(b.displayName),b.emailAddress);b.picture&&c.Jn(b.picture.url);_.FI(a.H)&&_.$hc(c,b.emailAddressFromAccount||b.emailAddress);_.Zhc(c,a.Tf(b.id));_.w(c,9,b.domain);return c};Omc.prototype.Tf=function(a){if(a)return _.lK(_.AI(this.H))==a};
var Qmc,Vmc,cnc,inc,Ymc,Xmc,$mc,bnc,dnc,Smc,fnc,enc,gnc,hnc,knc,lnc,jnc,anc;Qmc=function(a,b){this.H=a;this.O=b};
_.Tmc=function(a,b,c){var d=new _.MK,e=new _.rB,f=e.Uw;_.SK(["drive#fileList","drive#file"],b);var h=[];if("drive#file"===b.kind)(a=_.Rmc(a,b))&&h.push(a);else if(Nmc(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.Rmc(a,k[l]);h.push(p)}e=f.call(e,h);if(Nmc(b)){_.w(e,8,b.incompleteSearch);_.SK(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=_.m(h.spellCorrections);for(a=q.next();!a.done;a=q.next()){h=[];a=_.m(a.value.spellFragments);for(k=a.next();!k.done;k=a.next())k=k.value,l=(new _.dub).Dc(Smc.get(k.status)),
l=_.w(l,1,k.original),k=_.w(l,3,k.correction),h.push(k);a=new _.hub;h=_.Mj(a,1,h);f.push(h)}q=new _.jub;_.Mj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.fub;_.Kj(r,1,f)}q||r?(f=new _.kub,q&&_.I(f,1,q),r&&_.I(f,2,r),r=f):r=null;_.I(e,7,r);_.SK(["drive#fileList"],b);r=[];f=_.m(b.items||[]);for(q=f.next();!q.done;q=f.next())q=q.value,h=q.id,!h||"1"!=q.searchResultSource&&"3"!=q.searchResultSource||r.push(h);_.Kj(e,18,r)}d=_.slc(d,e);c=_.Vgc(c);c=_.w(d,2,c);Nmc(b)&&b.nextPageToken&&_.w(c,
3,b.nextPageToken);return c};
Vmc=function(a,b,c,d,e){_.SK(["drive#adminFile","drive#file","drive#revision"],b);var f=_.Fjc(new _.XJ,c);"drive#adminFile"===b.kind?(_.SK(["drive#adminFile"],b),c=(new _.el).Pb(b.id),b.parentId&&_.gK(c,[b.parentId]),_.Oic(c,b.teamDriveId),f.setItem(c),_.Fjc(f,c.getId())):"drive#file"===b.kind?(b=_.Rmc(a,b),f.setItem(b),c||_.Fjc(f,b.getId())):"drive#revision"===b.kind&&(b=_.Umc(a,b),_.I(f,4,b));f.Cca(_.Ugc(d));f.tca(_.Vgc(d));(d=(d=d&&_.Tgc(d))&&d["x-server-object-version"])&&e&&(e=(new _.qK).Pb(d),
_.I(f,4,e));f.Dc(1);return f};_.Wmc=function(a,b){return _.Fjc(new _.XJ,a).Dc(1).Cca(_.Ugc(b)).tca(_.Vgc(b))};
_.Zmc=function(a,b){_.SK(["drive#permission"],b);var c=_.Zhc(_.aic(_.Yhc(Xmc.get(b.type)).Pb(b.id),b.userId),a.H.Tf(b.userId));c=_.w(c,4,b.withLink);c=_.$hc(c.hd(b.name).Jn(b.photoLink),b.emailAddress);c=_.w(c,9,b.domain);c=_.w(c,10,b.deleted);c=_.w(c,12,b.audienceId);c=_.w(c,13,b.customerId);_.FI(a.O)&&c.hd(b.nameIfNotUser);b.role&&(a=Ymc.get(b.role),2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6),_.w(c,6,a));return c};
_.Rmc=function(a,b){_.SK(["drive#file"],b);var c=b.title,d=(new _.el).Pb(b.id),e=[];if(b&&b.parents)for(var f=_.m(b.parents),h=f.next();!h.done;h=f.next())e.push(h.value.id);c=_.Lic(_.Hic(_.tG(_.gK(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.Wl(b.description);_.Iic(c,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,14,Number(b.fileSize));
_.w(c,30,b.copyable);b.labels&&(d=b.labels,c.Hv(d.starred),_.w(c,6,d.hidden),c.Kn(d.trashed),_.Eic(c,d.restricted),_.w(c,9,d.viewed));_.w(c,10,_.TK(b.createdDate));_.w(c,69,_.TK(b.serverCreatedDate));_.IWb(c,_.TK(b.modifiedDate));_.w(c,12,_.TK(b.modifiedByMeDate));_.w(c,13,_.TK(b.lastViewedByMeDate));_.w(c,23,_.TK(b.sharedWithMeDate));_.w(c,62,_.TK(b.I$b));_.w(c,70,_.TK(b.recency));b.recencyReason&&(d=$mc.get(b.recencyReason)||0,_.w(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=
_.UK(a.H,e[f]))&&d.push(h);_.Fic(c,d);b.lastModifyingUser&&(d=_.UK(a.H,b.lastModifyingUser),_.Gic(c,d));b.userPermission&&(d=Ymc.get(b.userPermission.role),_.JWb(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.dK).zh(e.width).yh(e.height),d=_.w(d,4,e.rotation),e.date&&(e=e.date,f=new _.dgc,f.setMilliseconds(0),anc.parse(e,f),_.w(d,1,f.getTime())),_.I(c,27,d));null!=b.folderColor&&_.Kic(c,Number(b.folderColor));_.Jic(c,b.subscribed);_.w(c,45,b.fileExtension);_.Kj(c,50,b.folderFeatures);
_.w(c,36,b.flaggedForAbuse);_.w(c,53,b.gplusMedia);_.w(c,46,b.primarySyncParentId||void 0);_.w(c,35,b.hasChildFolders);b.source&&(_.w(c,42,b.source.client_service_id),_.w(c,43,b.source.value));b.sharingUser&&(d=_.UK(a.H,b.sharingUser),_.Mic(c,d));b.sources?_.Kj(c,56,b.sources):b.gplusMedia&&_.Kj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.eec[h]&&(h=_.df(new _.cf,_.eec[h]),e.push(h));c.GA(e)}_.w(c,63,b.ownedByMe);_.w(c,29,b.shareable);b.sourceAppId&&_.w(c,
61,b.sourceAppId);_.w(c,74,b.changed);null!=b.recursiveFileSize&&_.w(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.w(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++){var k=d[f];k.id&&k.type&&(h=(new _.Nna).Pb(k.id),k=bnc.get(k.type),h=_.w(h,2,k),e.push(h))}_.Mj(c,83,e)}b.capabilities&&_.hK(c,_.Pmc(b.capabilities));b.permissionsSummary&&_.Pic(c,cnc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);b.templateData&&
(d=b.templateData,e=(new _.eK).Wl(d.description),f=dnc.get(d.galleryState),e=_.w(e,3,f),d=_.Kj(e,2,d.category),_.I(c,86,d));_.Oic(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.UK(a.H,b.creator),_.Qic(c,d));_.Ric(c,b.primaryDomainName);_.Sic(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&_.Tic(c,_.UK(a.H,b.trashingUser));c.Ica(_.TK(b.trashedDate));b.version&&_.w(c,75,Number(b.version));_.w(c,98,b.hasVisitorPermissions);
_.w(c,102,b.hasAppsScriptAddOn);if(d=b.pairedDocType)d=enc.get(d),_.w(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.fK).zh(d.width).yh(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.I(c,103,e));_.Kj(c,104,b.detectors);_.w(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=_.zic(_.yic(new _.al,f.readOnly),f.reason),d.push(f);_.Mj(c,125,d)}if(d=b.publishingInfo)_.w(c,118,d.published),
_.w(c,119,d.publishedUrl);_.Kj(c,120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.w(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 _.Pna).Pb(f.approvalId).Dc(fnc.get(f.status)),d.push(f);_.Mj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Zna,e=_.w(e,1,d.targetId),e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),
d.targetLookupStatus&&(f=gnc.get(d.targetLookupStatus)||0,_.w(e,4,f)),d.targetFile&&(d=_.Rmc(a,d.targetFile),_.I(e,5,d)),_.I(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.cK,f=hnc.get(d.encryptionState),e=_.w(e,1,f),d.decryptionMetadata&&(d=inc(d.decryptionMetadata),_.I(e,2,d)),_.I(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Qna,e=_.w(e,2,d.securityUpdateEligible),e=_.w(e,3,d.securityUpdateEnabled),d=_.w(e,5,d.securityUpdateExplicitlySet),_.I(c,139,d));
_.w(c,140,b.resourceKey);_.Kj(c,135,b.authorizedAppIds);_.Uic(c,b.customerId);_.w(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=jnc.get(b.abuseNoticeReason),_.w(c,145,b));_.shc(c);_.FI(a.O)&&_.Nic(c,5);return c};
_.Umc=function(a,b){_.SK(["drive#revision"],b);var c=(new _.qK).Pb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.TK(b.modifiedDate));c=_.w(c,4,b.pinned);c=_.w(c,5,b.downloadUrl);c=_.w(c,7,b.originalFilename);null!=b.fileSize&&_.w(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.UK(a.H,b.lastModifyingUser),_.I(c,9,a));b.decryptionMetadata&&(b=inc(b.decryptionMetadata),_.I(c,10,b));return c};
cnc=function(a,b){return _.Cic(_.Bic(_.Aic(new _.Una,b.entryCount),(b.visibility||[]).map(function(c){var d=_.Yhc(Xmc.get(c.type));d=_.w(d,9,c.domain);d=_.w(d,4,c.withLink).Pb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=Ymc.get(c.role);2==e&&c.additionalRoles&&"commenter"==c.additionalRoles[0]&&(e=4);_.w(d,6,e)}return d})),(b.selectPermissions||[]).map(function(c){return _.Zmc(a,c)}))};
inc=function(a){var b=a.wrappedKey;var c=new _.xic;b=b?_.mjc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);b=knc.get(a.aes256GcmChunkSize);c=_.w(c,3,b);b=lnc.get(a.keyFormat);c=_.w(c,6,b);return _.w(c,4,a.jwt)};Ymc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);Xmc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);$mc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
bnc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);dnc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);Smc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);fnc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);enc=new Map([["docs",1],["sheets",2],["slides",3]]);gnc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);hnc=new Map([["unencrypted",1],["encrypted",2]]);knc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
lnc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);jnc=new Map([["REASON_UNSPECIFIED",0],["ACCESSIBLE_ONLY_TO_OWNER",1],["ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER",2],["SUSPICIOUS_OTHER",3],["SUSPICIOUS_PHISHING",4],["SUSPICIOUS_MALWARE",5]]);anc=new _.vWa("yyyy:MM:dd HH:mm:ss");
var mnc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var pnc;_.nnc=function(a){this.V=new Omc(a);this.qF=new Qmc(this.V,a)};_.nnc.prototype.EE=function(a,b,c){c=void 0===c?[]:c;try{return onc(this,a,b,c)}catch(d){_.bJ(d)}};
var onc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.iJ)return _.VK(a,b,c);if(b instanceof _.rJ)return pnc(0,c,d);if(b instanceof _.yA||b instanceof _.uJ){if(!c.json)throw _.WK();return _.Tmc(a.qF,c.json,c.headers)}if(b instanceof _.UJ)return _.VK(a,b,c);if("undefined"!=typeof _.Dhc&&b instanceof _.Dhc){if(!c.json)throw _.WK();a=c.json;return new _.Mmc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.qnc&&b instanceof _.qnc){if(!c.json)throw _.WK();
return _.Umc(a.qF,c.json)}if(b instanceof _.GJ)return pnc(b.qd(),c,d);if(b instanceof Hhc){if(b.V){if(!c.json)throw _.WK();a=Vmc(a.qF,c.json,null,c.headers,!!b.revisionId)}else a=_.Wmc(null,c.headers);return a}if(b instanceof Ghc){a=_.Tgc(c.headers);b=a.location;if(!b)throw a=_.XI(new _.oc,10),new _.qc("No upload session URI included.",a);return new mnc(b,_.Ugc(a),_.Vgc(a))}if(b instanceof _.Lhc)return new Kmc;throw new _.qc("FromXhrConverter: Unsupported request type.",new _.oc);};
_.nnc.prototype.ha=function(){return null};pnc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new Lmc(_.Naa(b.text),c.length):new Lmc(new Uint8Array(_.yma(b.text)),c.length)};_.VK=function(a,b,c){if(!c.json){if(b instanceof _.QI)return _.Wmc(_.rnc(b));throw _.WK();}var d=!1;b instanceof _.UJ&&(d=!!_.y(b.request,12));return Vmc(a.qF,c.json,_.rnc(b),c.headers,d)};_.WK=function(){var a=_.XI(new _.oc,11);return new _.qc("FromXhrConverter: JSON required, but none found",a)};
_.rnc=function(a){return a.getId?a.getId():a.Cc?a.Cc():null};
var vnc,wnc,ync,snc,znc,tnc;
vnc=function(a,b){var c={};_.ie(_.Sg(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Cc()&&_.jfa(a.getMimeType())&&b)){var d=b.g$(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Aj(b.V()),h.kaclsId=b.ha(),h.aes256GcmChunkSize=snc[d?d.O():0],h.keyFormat=tnc[e?e.O():0],h);c.clientEncryptionDetails=f}_.unc(c,_.Td(a,3));(b=a.Cc())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));a.I1()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.I1());"number"===typeof _.y(a,26)&&(c.modifiedDate=_.cjc(_.Xjc(_.y(a,26)||0)));return c};_.unc=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)}}};wnc={};_.xnc=(wnc[1]="active",wnc[2]="archived",wnc);ync={};snc=(ync[0]="unset",ync[1]="default",ync[2]="small",ync[3]="size16kb",ync);znc={};tnc=(znc[0]="unsetKeyFormat",znc[1]="tinkKeyset",znc[2]="tinkAesGcmKey",znc);
var Cnc=function(a,b,c){return(a.jQ?a.jQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return Plc(d)}).then(function(d){return Anc(a,b,d,c)},Bnc)},Anc=function(a,b,c,d){var e=!!_.y(a.request,12),f="files";e&&(f+="/"+_.y(a.request,12));f=new _.ij(f);_.tj(f,"uploadType","multipart");_.tj(f,"supportsTeamDrives",!0);_.tj(f,"pinned",!!_.S(a.request,13,!1));null!=_.Q(a.request,8)&&_.tj(f,"convert",_.Q(a.request,8));_.tj(f,"fields",_.nhc({fields:_.tK(b).filter(function(q){return 194!=q}),xq:!1}));
uhc(f,a.request.ve());var h=vnc(a.request,a.metadata),k=_.Ug();b={};b=(b["content-type"]=_.zt('multipart/related; boundary="%s"',k),b);var l=c.indexOf(",");c=0<=l?c.substring(l+1):"";h=JSON.stringify(h);l={};l=(l["content-type"]="application/json; charset=UTF-8",l);var p={};p=(p["content-transfer-encoding"]="base64",p);a.request.getMimeType()&&(p["content-type"]=a.request.getMimeType());_.bK(d,_.Qj(a.request,_.Cl,28),[],null,b);a="--"+k;a=a+"\r\n"+thc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+thc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Xm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},Bnc=function(a){if(a instanceof _.nAb){var b=new _.oc;_.gq(b,"fs.Error: "+a.message);a=(a=a.name)?_.UEa.get(a)||25:38;_.XI(b,a);b=_.DB(b)}else b=_.aJ(a);return Promise.reject(b)};
_.XK=function(a,b,c,d){this.H=a;this.Kg=b;this.O=c;this.Od=d;this.ka=_.PI(a)||new _.ygc};_.XK.prototype.EE=function(a,b){try{return a.Kw instanceof _.UJ?Cnc(a.Kw,this.Kg,this.H):Promise.resolve(this.V(a.Kw,a.config,b))}catch(c){return c instanceof _.qc?a=c.Qg:(a=new _.oc,_.gq(a,"Error converting XHR: "+c.message),_.hq(a,c.stack),_.XI(a,4)),Promise.reject(a)}};
_.XK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.iJ){h=(e=!!_.y(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.y(a,12),k.pinned=!!_.S(a,13,!1));null!=_.Q(a,8)&&(k.convert=_.Q(a,8));k.fields=_.nhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)});e=vnc(a);f["content-type"]="application/json";var r=a.ve();p=!0;_.sK(k);_.Dnc(this.H,k);_.bK(this.H,_.Qj(a,_.Cl,28),_.Td(a,3).concat([_.y(a,16),a.I1(),a.Cc()]),this.O,f)}else if(a instanceof _.rJ||a instanceof
_.GJ)a instanceof _.GJ?(l=a.qd(),_.P(a,2)&&(q="bytes="+_.y(a,2)+"-",_.P(a,3)&&(q+=_.y(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.y(l,2)&&(k.revisionId=_.y(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.bK(this.H,[_.Dl((new _.Cl).Pb(l.getId()),_.y(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.uJ||a instanceof _.yA){if(a instanceof _.uJ)q=_.y(a,1),a=_.B(a,_.yA,2);else if(a instanceof _.yA)q=0,_.JK(this.Od,190196159);else throw Error("ag");p=a.jn()[q];q="files/"+
p;r=_.wa(this.Lg(c),this.Lg(c,a.O()));_.Da(r);k.fields=_.nhc({fields:r,xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)});_.sK(k);_.Enc(this.H,k);_.Fnc(this.H,k);this.W(p,k);r=a.ve();p=!0;_.Q(a,7)&&(b.XBa=!0);_.bK(this.H,_.Qj(a,_.Cl,11),a.jn(),this.O,f)}else if("undefined"!=typeof _.Dhc&&a instanceof _.Dhc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.qnc&&a instanceof _.qnc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",
q="files/"+a.id+"/revisions/"+a.revisionId,p=l=!0;else if(a instanceof Hhc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var v=a.H;b=a.O;f["content-range"]=a.V?_.zt("bytes %d-%d/%d",v,b,b+1):_.zt("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof Ghc?(d=2,h=(e=!!_.y(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.y(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.Q(a.request,8)&&(k.convert=_.Q(a.request,8)),k.fields=_.nhc({fields:this.Lg(c).filter(function(z){return 194!=
z}),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)}),_.sK(k),e=vnc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.bK(this.H,[],_.Td(a.request,3),this.O,f),r=a.request.ve(),p=!0):a instanceof _.Lhc?(q="about",k.fields="kind",r=a.H,p=!0):_.Gnc(a);p&&_.Hnc(c,k);0!=d||l||r&&_.y(r,1)||_.JK(this.Od,74438989);return _.Inc(this,d,q,k,f,h,r,e,v)};
_.Inc=function(a,b,c,d,e,f,h,k,l){c=new _.ij(c);[10,12,13].includes(b)||uhc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Wi())&&(e["X-Goog-Drive-Client-Version"]=a);d=_.m(Object.entries(d));for(a=d.next();!a.done;a=d.next())h=_.m(a.value),a=h.next().value,h=h.next().value,_.uj(c,a,h);return{Xm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.Enc=function(a,b){_.S(a.eg(),23,!1)&&(b.includePermissionsForView="published")};_.XK.prototype.W=function(){};
_.Fnc=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.Dnc=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.Hnc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ia(a).CQb):b.retryCount=0};_.XK.prototype.Lg=function(a,b){b||(b=_.tK(this.Kg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return Djc.includes(c)}));return b};_.Gnc=function(a){var b=_.XI(new _.oc,4);throw new _.qc("ToXhrConverter: Unsupported request type: "+Nhc(a),b);};
_.YK=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.ta=f;this.kj={};this.ha={};this.Od=null;_.Fe(this,function(){h.gG()})};_.K(_.YK,_.zi);_.YK.prototype.oQ=function(){return _.lI()};
_.YK.prototype.upload=function(a,b,c,d){plc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.kj[e])throw new _.qc("Upload requested with a duplicate request ID.");var f=_.Td(a,10);if(f&&f.length){if(1!==f.length)throw new _.qc("Multi-parented uploads are not supported.");var h=this.kj[f[0]];if(!h)throw new _.qc("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);e||(e=this.oQ(),_.w(a,9,e));a=a.clone();f=Jnc(this,e);this.kj[e]={request:a,
file:b,If:f,GM:!1,Au:0,success:!1,DE:!1,children:[],metadata:c,hla:void 0,jQ:d};h?Knc(this,e,h):this.ka(e);return f.Ym()};
var Jnc=function(a,b){var c=new _.ai;c.jg(_.Db(a.Fa,b),_.Db(a.Ha,b),a);return c},Knc=function(a,b,c,d){var e=a.kj[b];c.children.push(b);_.Da(c.children);c.If.then(function(f){if(1===f.Bb()&&(f=f.Cc(),_.Td(e.request,3).push(f),_.hI(e.request,10),!c.DE||d)){a.ka(b);return}a.log('[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.If.Id(_.EI(f)?f:Error(f))})};
_.YK.prototype.Fa=function(a,b){plc(this.V,"UploadSuccessCount");a=this.kj[a];a.success=1===b.Bb();(b=a.hla)&&!a.DE&&(vjc(xjc(nkc(b),a.Au),!0),b.yj())};_.YK.prototype.Ha=function(a,b){var c=_.B(this.O,_.WI,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);plc(this.V,"UploadFailureCount");c=this.kj[a];(a=c.hla)&&!c.DE&&(vjc(xjc(nkc(a),c.Au),!1),b=(c=b&&b.Qg)&&c.rk(),c=c&&c.Ep(),b?wjc(nkc(a),Lnc.get(b)||13):c&&wjc(nkc(a),Mnc.get(c)||0),a.yj())};
_.YK.prototype.ka=function(a){var b=this.kj[a];if(!b.GM){b.GM=!0;a=this.kj[a];var c=a.request,d=_.B(this.O,_.WI,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(Nnc))&&(!d[1]||a.Au<Number(d[1].substr(1)))&&(c=c.clone(),_.ra(_.Td(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Nz())?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.eg();d=_.Vj(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.ta&&3!==d){var f=this.ta.H(106012);if(f){b.hla=f;f=nkc(f);f=_.w(f,1,2===d?2:1);f=_.w(f,4,!!b.metadata);
var h=!!_.y(a,12);f=_.w(f,5,h);e=_.w(f,6,e);c=_.Vj(c,32,1073741824);_.w(e,7,c)}}switch(d){case 2:b.file&&Onc(this,new _.Ihc(a,b.file,b.jQ,b.metadata),b.If,a.fj());break;case 1:b.file&&(c=b.If,d=b.file,e=b.metadata,b=b.jQ,f=_.B(this.O,_.Vic,2),Onc(this,new _.UJ(a,d,b,f&&_.iK(f)?e:void 0),c,a.fj()));break;case 3:Onc(this,a,b.If,a.fj());break;default:throw new _.qc("Upload type ${uploadType} not supported.");}}};
var Onc=function(a,b,c,d){Ukc(a.Ba,d,a.ma.bind(a,d));_.$h(a.W.then(function(e){return e.Re(b,{requestId:d})}).then(null,function(e){return Pnc(a,b,e)}),function(){Vkc(a.Ba,[d])}).then(c.callback,c.Id,c)},Pnc=function(a,b,c){var d=_.DB(c),e=b instanceof _.UJ&&b.request.Cc()||"";c=d.Qg;if(e&&8===c.rk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.AA(new _.yA,[e]);return _.ii(a.W.then(function(h){return h.Re(f)}).then(function(h){h=h.jd().wd()[0];var k=b.request;if(h&&!h.Xh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.Fjc((new _.XJ).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Xh(d)}))}return _.ji(d)};_.g=_.YK.prototype;
_.g.cancel=function(a){var b=this,c=this.kj[a];if(c&&(!c.DE||0!==c.children.length))if(c.DE=!0,c.If.hg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ia(c.children,this.cancel,this);else{var d=c.hla;d&&(wjc(vjc(xjc(nkc(d),c.Au),!1),2),d.yj());var e=_.Zh();c.GM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.GM=!0,c.If.callback(Ohc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.gG=function(){var a=this;_.La(this.kj,function(b,c){a.cancel(c)})};
_.g.retry=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.kj[f]){var h=[];do{h.push(f);var k=(_.Td(b.kj[f].request,10)||[])[0];if(k){var l=b.kj[k];if(l.success||!l.If.hg()||e[k])break;else if(!c.has(k)){e[f]=new _.qc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ja(h,function(p){var q=b.kj[p];q.Au++;if(!e[p])if(!q.If.hg()||q.success)e[p]=new _.qc("Unable to retry request.");else{var r=(_.Td(q.request,10)||[])[0];e[r]instanceof _.qc?
e[p]=e[r]:(q.If=Jnc(b,p),q.GM=!1,q.DE=!1,(r=r?b.kj[r]:null)?Knc(b,p,r,!0):d.push(p),e[p]=q.If.Ym())}})}else e[f]=new _.qc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.ai?f:_.ji(f)});_.Ia(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.qd=function(a){return this.kj[a]};var Nnc=/^uploadTestFailMe(\.[1-9])?$/,Mnc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),Lnc=new Map([[3,14]]);

_.u();

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

_.u();

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

_.u();

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

_.u();

}catch(e){_._DumpException(e)}
try{
var Qnc;Qnc=[1];_.ZK=function(a){_.J.call(this,a,-1,Qnc)};_.K(_.ZK,_.J);_.ZK.prototype.O=function(){return _.Td(this,1)};_.t("sy1o9");
var Rnc;_.$K=function(a){_.J.call(this,a,-1,Rnc)};_.K(_.$K,_.J);_.$K.prototype.Bb=function(){return _.y(this,1)};_.$K.prototype.Dc=function(a){return _.w(this,1,a)};_.$K.prototype.Di=function(){return _.Qj(this,_.el,2)};_.Snc=function(a,b){return _.Mj(a,2,b)};_.$K.prototype.wq=function(a,b){return _.Sj(this,2,a,_.el,b)};_.$K.prototype.Zf=function(){return _.y(this,4)};_.Tnc=function(a,b){return _.w(a,4,b)};Rnc=[2];

_.u();

}catch(e){_._DumpException(e)}
try{
_.t("sy1o8");
_.KWb=function(a){_.J.call(this,a)};_.K(_.KWb,_.J);_.KWb.prototype.Ei=function(){return _.y(this,3)};_.KWb.prototype.ui=function(a){return _.w(this,3,a)};_.KWb.prototype.ve=function(){return _.B(this,_.wf,5)};_.KWb.prototype.getCustomer=function(){return _.y(this,6)};

_.u();

}catch(e){_._DumpException(e)}
try{
_.aL=function(a,b){_.w(a,1,b)};_.t("sy1oe");

_.u();

}catch(e){_._DumpException(e)}
try{
_.Vnc=function(a){return _.we(a).Lg(_.S(a.get(_.fp),19,!1)?Unc:_.te)};_.t("sy1og");
var Unc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,210,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.u();

}catch(e){_._DumpException(e)}
try{
var Wnc,Xnc,Ync,Znc,$nc,boc,coc,doc,eoc,foc,hoc,ioc,joc,koc,loc,dL,qoc,roc,eL,fL,soc,toc,voc,woc,xoc,yoc,zoc,Boc,Coc,Doc,Eoc,Foc,Goc,Hoc,Joc,Loc,Soc,Uoc,Xoc,Yoc,apc,dpc,jL,epc,fpc,gpc,hpc,ipc,jpc,kpc,lpc,mpc,ppc,opc,spc,upc,wpc,ypc,Cpc,Epc,Fpc,Gpc,Hpc,Ipc,Jpc,Npc,Ppc,Qpc,Rpc,bL,Spc,Tpc,noc,moc,ooc,poc,rrc,nL,pL,xrc,Irc,Lrc,Mrc,Nrc,Qrc,npc,ssc,tsc,usc,vsc,xsc,ysc,zsc,Asc,qL,Bsc,sL,Csc,Dsc,Esc,Fsc,Gsc,Hsc,tL,Isc,Jsc,Ksc,Lsc,Msc,Nsc,uL,Ysc,gtc,euc,fuc,huc,iuc,tuc,uuc,vuc,wuc,zuc,Buc,Luc,Zuc,$uc,avc,
bvc,OL,cvc,PL,dvc,evc,fvc,gvc,hvc,jvc,ivc,Wvc,Ooc,Xvc,$vc,awc,sAc,tAc,AAc,KAc,aBc,gBc,nBc,pBc,uBc,ABc;Wnc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Td(a,3),Convert:_.Q(a,8),ID:a.fj()};var b=[];_.La(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
Xnc=function(a){var b=[];b.push(Wnc(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.Au&&b.push("# of retries by client: "+a.Au);var d="";a.GM?a.If.hg()?a.If.jg(function(){d="Completed successfully."},function(e){d=e instanceof _.bi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
Ync=function(a,b,c,d,e,f){var h=_.zt("Drive Upload Report: %d/%d failed",_.Pa(f),_.Pa(e));a=a.eg();d.push("Batch query interval: "+_.Vj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Vj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Vj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Vj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Vj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.La(e,function(p){l.push(Xnc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.Tjc(b)});_.La(f,function(p,q){var r=k.push;q=e[q].request;q=_.zt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var v=p.Qg;v=v?_.y(v,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+v})});return{title:h,description:d,XP:k,od:152391,V8:c,c0:361003}};Znc=function(a){return Array.prototype.concat.apply([],arguments)};$nc=function(a,b,c){c=_.Fa(a,b,c);return 0>c?(_.Aa(a,-(c+1),0,b),!0):!1};
boc=function(a,b){var c=new _.ZK,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.M7a.get(b.qv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}aoc(c,[].concat(_.nd(d)));return c};
coc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={Aea:c.Aea},d=a.next())if(d=d.value){c.Aea=new Map;[].concat(_.nd(_.fl(d)),[d.wm(),d.Tt(),d.Fq()]).forEach(function(p){return function(q){q&&p.Aea.set(bL(q),q)}}(c));for(var e=[],f=_.m(c.Aea.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(bL(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Mk(h))}b.push(d.getId()+","+d.qv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};doc=function(a){var b=new _.Wo;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.cJ(a,!0,"file"));a.a7&&(b.append(",teamDriveId,teamDrive("),b.append(a.a7),b.append(")"));b.append(")");return b.toString()};eoc=function(a){var b=new _.Wo;b.append("kind,nextPageToken,items(");b.append(_.cJ(a,!0));b.append("),incompleteSearch");a.a7&&(b.append(","),b.append(a.a7));return b.toString()};
foc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.B(d,_.cK,138),k=_.B(d,_.al,111),l=_.B(d,_.dK,27),p=_.kl(d),q=d.Hf(),r=d.wg(),v=_.B(d,_.fK,103);switch(e){case 227:_.qb(d,144);break;case 228:_.qb(d,145);break;case 74:_.Nj(d,83);break;case 188:_.qb(d,137);break;case 149:_.hI(d,128);break;case 148:_.Nj(d,127);break;case 138:_.qb(d,126);break;case 184:_.hI(d,135);break;case 76:f&&_.qb(f,1);break;case 223:f&&_.qb(f,54);break;case 208:f&&_.qb(f,48);break;case 185:f&&
_.qb(f,40);break;case 224:f&&_.qb(f,55);break;case 213:f&&_.qb(f,50);break;case 156:f&&_.qb(f,39);break;case 61:f&&_.qb(f,2);break;case 216:f&&_.qb(f,52);break;case 217:f&&_.qb(f,53);break;case 77:f&&_.qb(f,4);break;case 134:f&&_.qb(f,34);break;case 147:f&&_.qb(f,38);break;case 81:f&&_.qb(f,10);break;case 82:f&&_.qb(f,11);break;case 114:f&&_.qb(f,27);break;case 133:f&&_.qb(f,33);break;case 202:f&&_.qb(f,47);break;case 132:f&&_.qb(f,32);break;case 101:f&&_.qb(f,20);break;case 201:f&&_.qb(f,46);break;
case 131:f&&_.qb(f,31);break;case 200:f&&_.qb(f,45);break;case 130:f&&_.qb(f,30);break;case 93:f&&_.qb(f,17);break;case 191:f&&_.qb(f,44);break;case 146:f&&_.qb(f,37);break;case 90:f&&_.qb(f,16);break;case 78:f&&_.qb(f,7);break;case 186:f&&_.qb(f,41);break;case 222:f&&_.qb(f,51);break;case 85:f&&_.qb(f,12);break;case 137:f&&_.qb(f,36);break;case 209:f&&_.qb(f,49);break;case 79:f&&_.qb(f,8);break;case 189:f&&_.qb(f,42);break;case 190:f&&_.qb(f,43);break;case 80:f&&_.qb(f,9);break;case 135:f&&_.qb(f,
35);break;case 102:f&&_.qb(f,21);break;case 69:_.qb(d,74);break;case 194:h&&_.Lj(h,2);break;case 193:h&&_.qb(h,1);break;case 1004:_.qb(d,108);break;case 136:_.Nj(d,125);break;case 115:k&&_.qb(k,1);break;case 116:k&&_.qb(k,2);break;case 34:_.qb(d,30);f&&_.qb(f,3);break;case 9:_.qb(d,10);break;case 91:_.Lj(d,91);break;case 43:_.qb(d,42);_.qb(d,43);break;case 187:_.qb(d,136);break;case 26:_.qb(d,24);break;case 108:_.hI(d,104);break;case 41:_.qb(d,40);f&&_.qb(f,5);break;case 42:_.qb(d,41);break;case 1005:_.Nj(d,
117);break;case 59:f&&_.qb(f,6);break;case 28:_.qb(d,26);break;case 44:_.qb(d,45);break;case 13:_.qb(d,14);break;case 48:_.qb(d,36);break;case 38:_.qb(d,34);break;case 49:_.hI(d,50);break;case 51:_.qb(d,53);break;case 104:_.qb(d,102);break;case 39:_.qb(d,35);break;case 87:_.qb(d,76);break;case 100:_.qb(d,98);break;case 72:_.qb(d,78);break;case 5:_.qb(d,6);break;case 20:_.qb(d,21);break;case 21:break;case 29:l&&_.qb(l,1);break;case 31:l&&_.qb(l,3);break;case 92:l&&_.qb(l,4);break;case 30:l&&_.qb(l,
2);break;case 16:_.Lj(d,17);break;case 12:_.qb(d,13);break;case 211:p&&_.qb(p,2);break;case 212:p&&_.qb(p,3);break;case 220:p&&_.qb(p,5);break;case 157:r&&_.Nj(r,8);break;case 3:_.qb(d,4);break;case 11:_.qb(d,12);break;case 10:_.qb(d,11);break;case 50:_.qb(d,49);_.qb(d,51);_.Lj(d,81);break;case 18:_.qb(d,19);break;case 95:_.qb(d,93);break;case 58:_.qb(d,63);break;case 14:_.Nj(d,15);break;case 103:_.qb(d,101);break;case 1:_.hI(d,2);break;case 96:_.qb(d,94);break;case 1003:_.Nj(d,107);break;case 75:_.Lj(d,
85);break;case 94:_.qb(d,92);break;case 45:_.qb(d,46);break;case 124:_.qb(d,118);break;case 125:_.qb(d,119);break;case 1002:_.Lj(d,100);break;case 32:_.qb(d,28);break;case 67:_.qb(d,70);break;case 68:_.qb(d,71);break;case 73:_.qb(d,79);break;case 71:_.qb(d,77);break;case 221:r&&_.qb(r,9);break;case 210:_.qb(d,140);break;case 7:_.qb(d,8);break;case 122:_.Lj(d,109);break;case 66:_.qb(d,69);break;case 33:_.qb(d,29);break;case 24:_.qb(d,22);break;case 25:_.qb(d,23);break;case 46:_.Lj(d,47);break;case 192:q&&
_.qb(q,6);break;case 159:q&&_.Lj(q,5);break;case 154:q&&_.qb(q,1);break;case 158:q&&_.qb(q,4);break;case 155:q&&_.qb(q,3);break;case 52:_.hI(d,56);break;case 56:_.qb(d,61);break;case 55:_.Nj(d,60);break;case 4:_.qb(d,5);break;case 35:_.qb(d,31);break;case 57:_.qb(d,62);break;case 83:_.qb(d,72);break;case 84:_.Lj(d,86);break;case 19:_.qb(d,20);_.qb(d,44);_.qb(d,90);break;case 2:_.qb(d,3);break;case 6:_.qb(d,7);break;case 98:_.qb(d,96);break;case 97:_.Lj(d,95);break;case 27:_.qb(d,25);break;case 70:_.qb(d,
75);break;case 107:v&&_.qb(v,3);break;case 106:v&&_.qb(v,2);break;case 105:v&&_.qb(v,1);break;case 8:_.qb(d,9);break;case 126:_.hI(d,120);break;default:throw Error("Qc`"+e);}}};hoc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(goc)));a=[].concat(_.nd(_.leb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)foc(b[d],a)}};
ioc=function(a,b){var c=a.getCapabilities()||new _.Zk,d=_.B(a,_.cK,138),e=_.B(a,_.al,111),f=_.B(a,_.dK,27),h=_.kl(a),k=a.Hf(),l=a.wg(),p=_.B(a,_.fK,103);switch(b){case 227:return null!=_.Q(a,144);case 228:return null!=_.y(a,145);case 74:return 0<a.eu().length;case 188:return null!=_.Q(a,137);case 149:return 0<_.Td(a,128).length;case 148:return 0<a.dza().length;case 138:return null!=a.d9();case 184:return 0<_.Td(a,135).length;case 76:return null!=_.$k(c);case 223:return null!=_.Q(c,54);case 208:return null!=
_.Q(c,48);case 185:return null!=_.Q(c,40);case 224:return null!=_.Q(c,55);case 213:return null!=_.Q(c,50);case 156:return null!=_.Q(c,39);case 61:return null!=_.Q(c,2);case 216:return null!=_.Q(c,52);case 217:return null!=_.Q(c,53);case 77:return null!=_.Q(c,4);case 134:return null!=_.Q(c,34);case 147:return null!=_.Q(c,38);case 81:return null!=_.Q(c,10);case 82:return null!=_.Q(c,11);case 114:return null!=_.Q(c,27);case 133:return null!=_.Q(c,33);case 202:return null!=_.Q(c,47);case 132:return null!=
_.Q(c,32);case 101:return null!=_.Q(c,20);case 201:return null!=_.Q(c,46);case 131:return null!=_.Q(c,31);case 200:return null!=_.Q(c,45);case 130:return null!=_.Q(c,30);case 93:return null!=_.Q(c,17);case 191:return null!=_.Q(c,44);case 146:return null!=_.Q(c,37);case 90:return null!=_.re(c);case 78:return null!=_.Q(c,7);case 186:return null!=_.Q(c,41);case 222:return null!=_.Q(c,51);case 85:return null!=_.Q(c,12);case 137:return null!=_.Q(c,36);case 209:return null!=_.Q(c,49);case 79:return null!=
_.Q(c,8);case 189:return null!=_.Q(c,42);case 190:return null!=_.Q(c,43);case 80:return null!=_.Q(c,9);case 135:return null!=_.Q(c,35);case 102:return null!=_.Q(c,21);case 69:return null!=_.Q(a,74);case 194:return null!=d&&null!=_.B(d,_.xic,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.Q(a,108);case 136:return 0<a.U0().length;case 115:return null!=e&&null!=_.Q(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.Q(a,30)||null!=_.Q(c,3);case 9:return null!=a.YC();
case 91:return null!=a.Fq();case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=a.nl();case 26:return null!=a.Te();case 108:return 0<_.Td(a,104).length;case 41:return null!=_.Q(c,5);case 42:return null!=_.y(a,41);case 1005:return 0<_.jl(a).length;case 59:return null!=_.Q(c,6);case 28:return null!=a.GI();case 44:return null!=_.y(a,45);case 13:return null!=a.TF();case 48:return null!=_.Q(a,36);case 38:return null!=a.Yi();case 49:return 0<_.Td(a,50).length;case 51:return null!=_.Q(a,
53);case 104:return null!=_.Q(a,102);case 39:return null!=a.Nja();case 87:return null!=_.gl(a);case 100:return null!=_.Q(a,98);case 72:return null!=_.y(a,78);case 5:return null!=_.Q(a,6);case 20:return null!=a.sf();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==_.y(f,3));case 92:return!(!f||null==_.y(f,4));case 30:return!(!f||null==f.Fe());case 16:return null!=a.wm();case 12:return null!=a.nz();case 211:return null!=h&&null!=_.Q(h,2);case 212:return null!=
h&&null!=_.Q(h,3);case 220:return null!=h&&null!=_.Q(h,5);case 157:return!(!l||!_.Qj(l,_.dl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.rB();case 10:return null!=a.vq();case 50:return null!=_.Q(a,49)||null!=_.Q(a,51)||null!=a.Om();case 18:return null!=a.Gp();case 14:return 0<_.fl(a).length;case 95:return null!=a.Sl();case 58:return null!=_.Q(a,63);case 103:return null!=_.y(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.Q(a,94);case 1003:return 0<_.il(a).length;case 75:return null!=
a.Yv();case 94:return null!=a.hN();case 45:return null!=a.Cw();case 124:return null!=_.Q(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.hl(a);case 32:return null!=a.Su();case 67:return null!=a.RJ();case 68:return null!=_.y(a,71);case 73:return null!=_.y(a,79);case 71:return null!=a.z1();case 221:return null!=l&&null!=_.Q(l,9);case 210:return null!=_.ll(a);case 7:return null!=a.L6();case 122:return null!=_.cL(a);case 66:return null!=_.y(a,69);case 33:return null!=_.Q(a,29);case 24:return null!=
a.Gj();case 25:return null!=a.vy();case 46:return null!=a.Tt();case 192:return null!=k&&null!=_.Q(k,6);case 159:return null!=k&&null!=_.Yd(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.$d(k);case 155:return null!=k&&null!=_.y(k,3);case 52:return 0<_.Td(a,56).length;case 55:return 0<a.zB().length;case 56:return null!=_.y(a,61);case 4:return null!=a.bB();case 35:return null!=_.Q(a,31);case 57:return null!=_.y(a,62);case 83:return null!=a.yc();case 84:return null!=_.B(a,
_.eK,86);case 2:return null!=a.getTitle();case 19:return null!=a.Sx()||null!=_.Q(a,44)||null!=_.y(a,90);case 6:return null!=a.Xh();case 98:return null!=a.Zv();case 97:return null!=a.lD();case 27:return null!=a.Yo();case 70:return null!=a.hj();case 107:return null!=p&&null!=_.y(p,3);case 106:return null!=p&&null!=_.y(p,2);case 105:return null!=p&&null!=p.Fe();case 8:return null!=_.Q(a,9);case 126:return 0<_.Td(a,120).length;default:throw Error("Rc`"+b);}};
joc=function(a,b){return b.every(function(c){return ioc(a,c)})};koc=function(a,b,c){c=void 0===c?[]:c;var d=a.concat(c);return b.every(function(e){return(new Set(d)).has(e)})};loc=function(a,b){var c=new Set(b.concat(_.mhc));return a.filter(function(d){return!c.has(d)})};
dL=function(a,b,c){var d,e;b=b.clone();for(var f=b.getCapabilities(),h=_.m(c),k=h.next();!k.done;k=h.next()){var l=k.value;if(ioc(b,l))if(_.peb.has(l)){if(f){var p=a.getCapabilities()||new _.Zk;_.hK(a,p);switch(l){case 76:_.bic(p,_.$k(f));break;case 223:var q=_.Q(f,54);_.w(p,54,q);break;case 208:_.wic(p,_.Q(f,48));break;case 185:var r=_.Q(f,40);_.w(p,40,r);break;case 224:var v=_.Q(f,55);_.w(p,55,v);break;case 213:var z=_.Q(f,50);_.w(p,50,z);break;case 156:var A=_.Q(f,39);_.w(p,39,A);break;case 61:var D=
_.Q(f,2);_.w(p,2,D);break;case 216:var F=_.Q(f,52);_.w(p,52,F);break;case 217:var H=_.Q(f,53);_.w(p,53,H);break;case 77:_.cic(p,_.Q(f,4));break;case 134:var L=_.Q(f,34);_.w(p,34,L);break;case 147:var O=_.Q(f,38);_.w(p,38,O);break;case 81:_.iic(p,_.Q(f,10));break;case 82:_.jic(p,_.Q(f,11));break;case 114:var R=_.Q(f,27);_.w(p,27,R);break;case 133:_.ric(p,_.Q(f,33));break;case 202:_.vic(p,_.Q(f,47));_.qic(p,_.Q(f,32));break;case 132:_.qic(p,_.Q(f,32));break;case 101:_.nic(p,_.Q(f,20));break;case 201:_.uic(p,
_.Q(f,46));break;case 131:_.pic(p,_.Q(f,31));break;case 200:var X=_.Q(f,45);_.w(p,45,X);break;case 130:var la=_.Q(f,30);_.w(p,30,la);break;case 93:_.mic(p,_.Q(f,17));break;case 191:var ha=_.Q(f,44);_.w(p,44,ha);break;case 146:var ta=_.Q(f,37);_.w(p,37,ta);break;case 90:_.lic(p,_.re(f));break;case 78:_.fic(p,_.Q(f,7));break;case 186:var ea=_.Q(f,41);_.w(p,41,ea);break;case 222:var Ua=_.Q(f,51);_.w(p,51,Ua);break;case 85:_.kic(p,_.Q(f,12));break;case 137:var Ja=_.Q(f,36);_.w(p,36,Ja);break;case 209:var nb=
_.Q(f,49);_.w(p,49,nb);break;case 79:_.gic(p,_.Q(f,8));break;case 189:_.sic(p,_.Q(f,42));break;case 190:_.tic(p,_.Q(f,43));break;case 80:_.hic(p,_.Q(f,9));break;case 135:var $a=_.Q(f,35);_.w(p,35,$a);break;case 102:_.oic(p,_.Q(f,21));break;case 34:var yb=_.Q(b,30);_.w(a,30,yb);var Zb=_.Q(f,3);_.w(p,3,Zb);break;case 41:var Gc=_.Q(b,40);_.w(a,40,Gc);_.dic(p,_.Q(f,5));break;case 59:_.eic(p,_.Q(f,6))}}}else if(_.qeb.has(l)){var ke=_.B(b,_.cK,138);if(ke){var Rd=_.B(a,_.cK,138)||new _.cK;_.I(a,138,Rd);
switch(l){case 194:var Gd=_.B(ke,_.xic,2);_.I(Rd,2,Gd);break;case 193:var sf=_.y(ke,1);_.w(Rd,1,sf)}}}else if(_.reb.has(l)){var pd=_.B(b,_.al,111);if(pd){var Bb=_.B(a,_.al,111)||new _.al;_.I(a,111,Bb);switch(l){case 115:_.yic(Bb,_.Q(pd,1));break;case 116:_.zic(Bb,_.y(pd,2))}}}else if(_.seb.has(l)){var le=_.B(b,_.dK,27);if(le){var lg=_.B(a,_.dK,27)||new _.dK;_.I(a,27,lg);switch(l){case 29:var Ee=_.y(le,1);_.w(lg,1,Ee);break;case 31:lg.yh(_.y(le,3));break;case 92:var ei=_.y(le,4);_.w(lg,4,ei);break;
case 30:lg.zh(le.Fe())}}}else if(_.teb.has(l)){var $e=_.kl(b);if($e){var Ai=_.kl(a)||new _.Qna;_.I(a,139,Ai);switch(l){case 211:var ah=_.Q($e,2);_.w(Ai,2,ah);break;case 212:var pm=_.Q($e,3);_.w(Ai,3,pm);break;case 220:var gf=_.Q($e,5);_.w(Ai,5,gf)}}}else if(_.ueb.has(l)){var ve=b.Hf();if(ve){var Tf=a.Hf()||new _.Zna;_.I(a,132,Tf);switch(l){case 192:var qi=_.Q(ve,6);_.w(Tf,6,qi);break;case 159:var Wj=_.Yd(ve);_.I(Tf,5,Wj);break;case 154:var qm=_.y(ve,1);_.w(Tf,1,qm);break;case 158:var Fo=_.$d(ve);
_.w(Tf,4,Fo);break;case 155:var rm=_.y(ve,3);_.w(Tf,3,rm)}}}else if(_.veb.has(l)){var Fh=b.wg();switch(l){case 157:if(Fh){var Pl=a.wg()||new _.Xna;moc(a,Pl);noc(Pl,_.Qj(Fh,_.dl,8))}break;case 221:if(Fh){var Gj=a.wg()||new _.Xna;moc(a,Gj);var Tg=_.Q(Fh,9);_.w(Gj,9,Tg)}}}else if(_.web.has(l)){var kj=_.B(b,_.fK,103);if(kj){var Hj=_.B(a,_.fK,103)||new _.fK;_.I(a,103,Hj);switch(l){case 107:var Xj=_.y(kj,3);_.w(Hj,3,Xj);break;case 106:Hj.yh(_.y(kj,2));break;case 105:Hj.zh(kj.Fe())}}}else switch(l){case 227:var Ph=
_.Q(b,144);_.w(a,144,Ph);break;case 228:var Zi=_.y(b,145);_.w(a,145,Zi);break;case 74:var Ij=b.eu();_.Mj(a,83,Ij);break;case 188:var $i=_.Q(b,137);_.w(a,137,$i);break;case 149:var Yj=_.Td(b,128);_.Kj(a,128,Yj);break;case 148:var Qh=b.dza();_.Mj(a,127,Qh);break;case 138:var sm=b.d9();_.w(a,126,sm);break;case 184:var lj=_.Td(b,135);_.Kj(a,135,lj);break;case 69:var ok=_.Q(b,74);_.w(a,74,ok);break;case 1004:var Ql=_.Q(b,108);_.w(a,108,Ql);break;case 136:var pk=b.U0();_.Mj(a,125,pk);break;case 9:var nn=
b.YC();_.w(a,10,nn);break;case 91:_.Qic(a,b.Fq());break;case 43:var Ok=_.y(b,42);_.w(a,42,Ok);var qk=_.y(b,43);_.w(a,43,qk);break;case 187:_.Uic(a,b.nl());break;case 26:a.Wl(b.Te());break;case 108:var tf=_.Td(b,104);_.Kj(a,104,tf);break;case 42:var Jj=_.y(b,41);_.w(a,41,Jj);break;case 1005:var Rl=_.jl(b);_.Mj(a,117,Rl);break;case 28:_.Iic(a,b.GI());break;case 44:var Pk=_.y(b,45);_.w(a,45,Pk);break;case 13:var Sl=b.TF();_.w(a,14,Sl);break;case 48:var pc=_.Q(b,36);_.w(a,36,pc);break;case 38:_.Kic(a,
b.Yi());break;case 49:var mj=_.Td(b,50);_.Kj(a,50,mj);break;case 51:var Gh=_.Q(b,53);_.w(a,53,Gh);break;case 104:var rk=_.Q(b,102);_.w(a,102,rk);break;case 39:var Rh=b.Nja();_.w(a,35,Rh);break;case 87:var fi=_.gl(b);_.w(a,76,fi);break;case 100:var bg=_.Q(b,98);_.w(a,98,bg);break;case 72:var sk=_.y(b,78);_.w(a,78,sk);break;case 5:var xp=_.Q(b,6);_.w(a,6,xp);break;case 20:var Hh=b.sf();_.w(a,21,Hh);break;case 21:a.Pb(b.getId());break;case 16:_.Gic(a,b.wm());break;case 12:var Ih=b.nz();_.w(a,13,Ih);
break;case 3:_.tG(a,b.getMimeType());break;case 11:var on=b.rB();_.w(a,12,on);break;case 10:_.IWb(a,b.vq());break;case 50:var nj=_.Q(b,49);_.w(a,49,nj);var pn=_.Q(b,51);_.w(a,51,pn);var Tl=b.Om();_.I(a,81,Tl);break;case 95:_.Sic(a,b.Sl());break;case 18:_.Hic(a,b.Gp());break;case 58:var tk=_.Q(b,63);_.w(a,63,tk);break;case 14:_.Fic(a,_.fl(b));break;case 1:_.gK(a,b.mk());break;case 96:var tm=_.Q(b,94);_.w(a,94,tm);break;case 103:var Go=_.y(b,101);_.w(a,101,Go);break;case 1003:ooc(a,_.il(b));break;case 75:_.Pic(a,
b.Yv());break;case 94:_.Ric(a,b.hN());break;case 45:var Pn=b.Cw();_.w(a,46,Pn);break;case 124:var nq=_.Q(b,118);_.w(a,118,nq);break;case 125:var $l=_.y(b,119);_.w(a,119,$l);break;case 1002:var am=_.hl(b).clone();(null===(d=_.hl(a))||void 0===d?0:_.Q(d,3))&&_.w(am,3,!0);(null===(e=_.hl(a))||void 0===e?0:_.Q(e,4))&&_.w(am,4,!0);_.I(a,100,am);break;case 32:var Ck=b.Su();_.w(a,28,Ck);break;case 67:var Vo=b.RJ();_.w(a,70,Vo);break;case 68:var Gq=_.y(b,71);_.w(a,71,Gq);break;case 73:var Hq=_.y(b,79);_.w(a,
79,Hq);break;case 71:var Iq=b.z1();_.w(a,77,Iq);break;case 210:var Cv=_.ll(b);_.w(a,140,Cv);break;case 7:_.Eic(a,b.L6());break;case 122:poc(a,_.cL(b));break;case 66:var Cr=_.y(b,69);_.w(a,69,Cr);break;case 33:var bu=_.Q(b,29);_.w(a,29,bu);break;case 24:var bB=b.Gj();_.w(a,22,bB);break;case 25:var cB=b.vy();_.w(a,23,cB);break;case 46:_.Mic(a,b.Tt());break;case 52:var Cy=_.Td(b,56);_.Kj(a,56,Cy);break;case 56:var Ns=_.y(b,61);_.w(a,61,Ns);break;case 55:a.GA(b.zB());break;case 4:a.Hv(b.bB());break;case 35:_.Jic(a,
_.Q(b,31));break;case 57:var Jp=_.y(b,62);_.w(a,62,Jp);break;case 83:_.Oic(a,b.yc());break;case 84:var Jq=_.B(b,_.eK,86);_.I(a,86,Jq);break;case 98:a.Ica(b.Zv());break;case 97:_.Tic(a,b.lD());break;case 19:var dB=b.Sx();_.w(a,20,dB);_.Lic(a,_.Q(b,44));var BD=_.y(b,90);_.w(a,90,BD);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Kn(b.Xh());break;case 27:_.JWb(a,b.Yo());break;case 70:var bx=b.hj();_.w(a,75,bx);break;case 8:var cx=_.Q(b,9);_.w(a,9,cx);break;case 126:var dx=_.Td(b,120);_.Kj(a,120,
dx);break;default:throw Error("Sc`"+l);}}};qoc=function(a,b){var c=_.Cz[a];return b.filter(function(d){return!c||!c.has(d)})};roc=function(a,b,c){a=qoc(c,a);return koc(b,a,_.mhc)};eL=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};fL=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&eL(a)?(a=a.Hf(),!!a&&"application/vnd.google-apps.folder"===_.y(a,3)):"application/vnd.google-apps.folder"===c};
soc=function(a){var b=a&&a.getId()||null;a&&eL(a)&&(a=(a=a.Hf())&&_.y(a,1))&&(b=a);return b};toc=function(a){return!!_.Q(a,31)&&!_.Q(a,94)};voc=function(a){return uoc.some(function(b){return ioc(a,b)})};woc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(b.qv())})};xoc=function(a){return woc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
yoc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=_.O7a(4).setItem(f),c[e]=d):(d=_.O7a(2).setItem(d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=_.O7a(1).setItem(d),c[e]=d)});return c};zoc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ta(yoc(a,b))};_.Aoc=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};
Boc=function(a,b){var c=_.Tgc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};Coc=function(a,b){return 0<=b?!a||a<=b:!0};Doc=function(a,b){if(b){var c=[];_.Q(b,3)&&c.push("folder");var d=_.rdc()&&4===b.getType()?"title_natural":_.$fc[b.getType()];b=_.bgc[b.qf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};Eoc=function(a,b){var c=a.Om();c||(c=new _.Rna,b&&_.I(a,81,c));return c};
Foc=function(a){if(fL(a))_.aL(Eoc(a,!0),!0);else if(fL(a,!0)){var b=a.Hf();if(b=b&&_.Yd(b))_.aL(Eoc(b,!0),!0),_.aL(Eoc(a,!0),!0)}};Goc=function(a){return!!a.Om()&&!fL(a)};Hoc=function(a){var b=[];_.Ia(a,function(c){if(3!=c.qv()){var d=c;if(null!=_.Q(d,49)||null!=_.Q(d,51)||null!=d.Om())c=c.clone(),_.qb(c,49),_.qb(c,51),_.Lj(c,81);b.push(c)}});return b};
Joc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.J?a[b]=c.Lc():c&&c instanceof _.BK?a[b]=c.Lc(function(d){return d?d.Lc():null}):c&&c instanceof Ioc&&(a[b]=c.Lc())}};Loc=function(a){var b=a.slice(0),c=new Set(b);Koc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
Soc=function(a,b,c){var d=_.B(a,Moc,66);if(d){var e=_.y(d,1),f=_.nK(a);a=_.OI(_.AI(a));e=new _.ij(e);var h=new _.ij(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.Aj(k,3);_.tj(e,"co",h);h=e.Le();!f&&0<a&&(h+="u/"+a+"/");e.Mi(h+"_/dataservice/cacheproxy");f=_.y(d,5)||"";if(_.fhc(window.location.href,e.toString())&&f)return e=Loc(c),c=_.y(d,6),b="#"+b+"_",d=new _.sI,d.update(e.join(",")),b+=_.mec(d.digest()),c&&(b+="&jobset="+c),b=_.Py(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.Xga(b),
void 0),b=new Noc(c.port),c.port.start()):b=new Noc(new Worker(_.Xga(b),void 0)),new Ooc(new Poc(b,!0),1,f,e);c=e.toString();b="cpiframe_"+_.lI();c=_.th("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Qha(_.Kgc(_.Zf("display: none;")));document.body.appendChild(c);c=_.iec(e.O,void 0,e.H,e.W).toString();return new Ooc(new Poc(Qoc(window.frames[b],c),!0),0,e.toString())}b=new Roc;return new Ooc(new Poc(b.O,!1),2,"inline",c,new Poc(b.H,!1))};
Uoc=function(a){var b=new Toc;if(a instanceof _.dJ)_.Rj(b,16,gL[0],a);else if(a instanceof _.eJ)_.Rj(b,1,gL[0],a);else if(a instanceof _.fJ)_.Rj(b,2,gL[0],a);else if(a instanceof _.hL)_.Rj(b,17,gL[0],a);else if(a instanceof _.iJ)_.Rj(b,3,gL[0],a);else if(a instanceof _.LK)_.Rj(b,4,gL[0],a);else if(a instanceof _.gJ)_.Rj(b,5,gL[0],a);else if(a instanceof _.mJ)_.Rj(b,6,gL[0],a);else if(a instanceof _.oJ)_.Rj(b,7,gL[0],a);else if(a instanceof _.pJ)_.Rj(b,8,gL[0],a);else if(a instanceof _.sJ)_.Rj(b,9,
gL[0],a);else if(a instanceof _.FJ)_.Rj(b,18,gL[0],a);else if(a instanceof _.JJ)_.Rj(b,10,gL[0],a);else if(a instanceof _.KJ)_.Rj(b,11,gL[0],a);else if(a instanceof _.LJ)_.Rj(b,12,gL[0],a);else if(a instanceof _.QI)_.Rj(b,13,gL[0],a);else if(a instanceof _.OJ)_.Rj(b,14,gL[0],a);else if(a instanceof _.PJ)_.Rj(b,15,gL[0],a);else throw new _.qc("Unsupported request type");return b};
Xoc=function(a){a=a.map(function(c){var d=new Voc;if(c instanceof _.dJ)_.Rj(d,6,iL[0],c);else if(c instanceof _.hL)_.Rj(d,7,iL[0],c);else if(c instanceof _.mJ)_.Rj(d,1,iL[0],c);else if(c instanceof _.JJ)_.Rj(d,2,iL[0],c);else if(c instanceof _.KJ)_.Rj(d,3,iL[0],c);else if(c instanceof _.QI)_.Rj(d,4,iL[0],c);else if(c instanceof _.PJ)_.Rj(d,5,iL[0],c);else throw new _.qc("Unsupported request type");return d});var b=new Woc;_.Mj(b,1,a);return b};
Yoc=function(a){return _.Qj(a,Voc,1).map(function(b){return _.B(b,_.dJ,6)||_.B(b,_.mJ,1)||_.B(b,_.JJ,2)||_.B(b,_.KJ,3)||_.B(b,_.QI,4)||_.B(b,_.PJ,5)||_.B(b,_.hL,7)})};apc=function(a){var b=new Zoc;if(a instanceof _.KD)_.Rj(b,1,$oc[0],a);else if(a instanceof _.LD)_.Rj(b,2,$oc[0],a);else throw new _.qc("Unsupported request type");return b};
dpc=function(a){var b=new bpc;if(a instanceof _.jJ)_.Rj(b,1,cpc[0],a);else if(a instanceof _.qJ)_.Rj(b,2,cpc[0],a);else if(a instanceof _.QJ)_.Rj(b,3,cpc[0],a);else throw new _.qc("Unsupported request type");return b};jL=function(a,b,c){return b?new c(JSON.parse(a)):a};epc=function(a){a={t:a.title,d:a.description,c:a.od,fi:a.V8,dti:a.c0,a:a.XP?a.XP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.D8})}):void 0};return JSON.stringify(a)};
fpc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,od:a.c,V8:a.fi,c0:a.dti,XP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,D8:b.ec}}):void 0}};gpc=function(a,b,c){a=a?1:2;a=_.dd(_.cd(new _.bd,12),a);var d=(new _.hf).Kn(!0);d=_.w(d,17,!0);a=_.jf(d,a);c&&_.Hl(a,c);c=new _.Yfc;b&&_.$gc(c,b);return _.ahc(_.chc(new _.GI,a),c)};hpc=function(a){return a.map(function(b){return b.getItem()})};
ipc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};jpc=function(a,b){var c=new _.ij(_.C(b,16,"")+"/open"),d=a.getId();eL(a)&&(d=soc(a));_.tj(c,"id",d);_.tj(c,"authuser",_.OI(_.AI(b)));_.S(b,89,!1)&&_.P(a,140)&&_.tj(c,"resourcekey",_.ll(a));return c.toString()};kpc=function(a){return String.fromCharCode(10>a?48+a:87+a)};lpc=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]=kpc(d>>4);b[2*c+3]=kpc(d&15)}return b.join("")};
mpc=function(a){_.Rf("drive.DebugUtil.printFindById",function(c){a.KM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.Rf("drive.DebugUtil.getLogs",function(){return _.Tjc(a.Rf())});_.Rf("drive.DebugUtil.printLogs",function(){window.console.log(_.Tjc(a.Rf()))});_.Rf("drive.DebugUtil.printRequestHistory",function(){a.bR().then(function(c){c.forEach(function(d){window.console.log(_.y(d,1));window.console.log(_.y(d,2))})})});_.Rf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.Rf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Rf("drive.DebugUtil.setOffline",function(c){return void a.Ml(c)}))};ppc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.wf;_.xf(b,305);_.yf(b,!0);_.w(b,3,2);var c=new _.JD;_.I(c,1,b);npc(c,[7]);a=a.then(function(d){return d.Re(c)}).then(opc);return _.ii(a)};
opc=function(a){a=_.Qj(a,_.np,3);var b=new qpc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.y(d,2))&&(c=_.Wg(c.Za()),_.w(b,3,c))});return"number"===typeof _.y(b,3)?b:null};spc=function(a,b){var c=rpc(a.rm,b.Cc());if(c){var d=c.getItem(),e=d.Yv();if(e){var f=e.eR(),h=_.va(f,function(k){return k.getId()===_.y(b,2)});_.Bic(e,f);h||(f=_.Qj(e,_.Kk,3),_.va(f,function(k){return k.getId()===_.y(b,2)}),_.Cic(e,f));_.Aic(e,(_.y(e,1)||1)-1);a.tl([d],c.V)}}};
upc=function(a,b,c){if(b=rpc(a.rm,b.Cc())){var d=b.getItem(),e=d.Yv();if(e){if(1===c.getType()||2===c.getType()){var f=_.Qj(e,_.Kk,3);f.push(c);_.Ga(f,tpc);_.Cic(e,f)}else f=e.eR(),f.push(c),_.Ga(f,tpc),_.Bic(e,f);_.Aic(e,(_.y(e,1)||0)+1);a.tl([d],b.V)}}};wpc=function(a){return a.map(function(b){var c=new _.yvb;c=_.w(c,3,vpc[b.serviceName]);return _.w(c,2,Number(b.bytesUsed))})};
ypc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return xpc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
Cpc=function(a){var b=a.json.exportJob,c=zpc[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=_.ef(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.ef(b.failedItemInfos||[],function(l){var p=_.tG((new _.el).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.Apc).setItem(p);p=_.w(p,3,l.relativePath);return _.w(p,4,l.cause)});return new Bpc(c,d,k,f,h,e,a,b)};
Epc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.Za();(a=c&&_.op(c))&&(b.namespace=Dpc[a]);return b};Fpc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Dpc[a[c]]);return b};Gpc=function(a){return"kind,defaultAppIds,items("+a+")"};Hpc=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};Ipc=function(a,b){var c;return(null===(c=_.PI(b))||void 0===c?0:_.S(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
Jpc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
Npc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.PI(b))||void 0===c?0:_.S(c,18,!1))||(null===(d=_.PI(b))||void 0===d?0:_.S(d,17,!1)))null===(e=_.PI(b))||void 0===e?void 0:_.w(e,15,!0);_.w(b,75,1<_.n.devicePixelRatio);var f=b;var h=_.S(f,61,!1),k=_.PI(f),l=!!k&&_.S(k,10,!1);if(_.ZI(_.AI(f))||!h&&!l)_.w(f,61,!1),_.Lj(f,66),k&&_.w(k,10,!1),f=!1;else{if(h){_.n.SharedWorker||(h=!1);var p=_.B(f,Moc,66);p&&_.y(p,1)||(h=!1);_.nK(f)&&!_.S(f,52,!1)&&(h=!1)}h?k&&_.w(k,10,!1):(_.w(f,61,!1),_.Lj(f,66));
f=h||l}if(f)return f=_.S(b,61,!1)?3:5,a=new kL(a,b,f),new Kpc(a);f=_.ZI(_.AI(b))?2:1;a=new lL(a,b,f,void 0,void 0,void 0);return _.ZI(_.AI(b))?new Lpc(a):new Mpc(a)};Ppc=function(a){return _.we(a).Lg(_.S(a.get(_.fp),19,!1)?Opc:_.GVa)};Qpc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};Rpc=function(a,b){return _.Mj(a,1,b)};bL=function(a){return _.y(a,11)};Spc=[1];Tpc=function(a){_.J.call(this,a,-1,Spc)};_.K(Tpc,_.J);
Tpc.prototype.Uga=function(a){_.Sj(this,1,a,_.Kk,void 0)};var Upc=function(a){var b=new Tpc;return _.Mj(b,1,a)},Vpc=function(a,b){return _.I(a,1,b)},Zpc=function(a,b){_.Mj(a,2,b)},$pc=function(a,b){_.I(a,6,b)},aqc=function(a,b){_.I(a,7,b)},bqc=function(a,b){return _.Rj(a,3,_.Qk[0],b)},cqc=function(a){_.J.call(this,a)};_.K(cqc,_.J);var dqc=function(a){_.J.call(this,a)};_.K(dqc,_.J);var eqc=function(a){_.J.call(this,a)};_.K(eqc,_.J);var fqc=function(a){_.J.call(this,a)};_.K(fqc,_.J);
var gqc=function(a){_.J.call(this,a)};_.K(gqc,_.J);var hqc=function(a){_.J.call(this,a)};_.K(hqc,_.J);var iqc=function(a){_.J.call(this,a)};_.K(iqc,_.J);var jqc=function(a){_.J.call(this,a)};_.K(jqc,_.J);var kqc=function(a){_.J.call(this,a)};_.K(kqc,_.J);var lqc=function(a){_.J.call(this,a)};_.K(lqc,_.J);var mqc=function(a){_.J.call(this,a)};_.K(mqc,_.J);var nqc=function(a){_.J.call(this,a)};_.K(nqc,_.J);var oqc=function(a){_.J.call(this,a)};_.K(oqc,_.J);var pqc=function(a){_.J.call(this,a)};
_.K(pqc,_.J);var qqc=function(a,b){_.Mj(a,1,b)},rqc=function(a,b){return _.w(a,2,b)},sqc=function(a,b){return _.I(a,3,b)},tqc=function(a,b){return _.w(a,4,b)},uqc=[[1,2,3,4]],vqc=function(a){_.J.call(this,a,-1,void 0,uqc)};_.K(vqc,_.J);var wqc=function(a,b){_.Mj(a,1,b)},xqc=function(a,b){return _.I(a,2,b)},yqc=[[1]],zqc=function(a){_.J.call(this,a,-1,void 0,yqc)};_.K(zqc,_.J);
var Aqc=function(a,b){_.Mj(a,1,b)},Bqc=function(a,b){return _.I(a,4,b)},Cqc=function(a,b){_.I(a,5,b)},Dqc=function(a,b){_.Mj(a,2,b)},Eqc=function(a,b){_.Mj(a,4,b)},Fqc=function(a,b){return _.I(a,5,b)},Gqc=[[1,2]],Hqc=function(a){_.J.call(this,a,-1,void 0,Gqc)};_.K(Hqc,_.J);var Iqc=function(a,b){_.Mj(a,1,b)},Jqc=function(a,b){return _.I(a,2,b)},Kqc=[[1]],Lqc=function(a){_.J.call(this,a,-1,void 0,Kqc)};_.K(Lqc,_.J);
var Mqc=function(a,b){_.Mj(a,2,b)},Nqc=function(a){var b=new _.Wk;return _.Mj(b,3,a)},Oqc=[[1,2]],Pqc=function(a){_.J.call(this,a,-1,void 0,Oqc)};_.K(Pqc,_.J);Pqc.prototype.Ag=function(a){return _.Rj(this,1,Oqc[0],a)};var Qqc=[1],Rqc=function(a){_.J.call(this,a,-1,Qqc)};_.K(Rqc,_.J);Rqc.prototype.Jp=function(){return _.y(this,2)};var Sqc=function(a,b){_.Mj(a,1,b)},Tqc=function(a,b){return _.w(a,2,b)},Uqc=function(a,b){return _.I(a,3,b)},Vqc=[[1]],Wqc=function(a){_.J.call(this,a,-1,void 0,Vqc)};
_.K(Wqc,_.J);var Xqc=[2],Yqc=function(a){_.J.call(this,a,-1,Xqc)};_.K(Yqc,_.J);var Zqc=function(a,b){_.Mj(a,2,b)},$qc=function(a,b){return _.I(a,3,b)},arc=[[1]],brc=function(a){_.J.call(this,a,-1,void 0,arc)};_.K(brc,_.J);brc.prototype.Ag=function(a){return _.Rj(this,1,arc[0],a)};var crc=function(a,b){_.Mj(a,1,b)},drc=function(a,b){return _.Mj(a,2,b)},erc=[[1,2]],frc=function(a){_.J.call(this,a,-1,void 0,erc)};_.K(frc,_.J);
var grc=function(a,b){_.Mj(a,1,b)},hrc=function(a,b){return _.I(a,2,b)},irc=[[1]],jrc=function(a){_.J.call(this,a,-1,void 0,irc)};_.K(jrc,_.J);var krc=function(a,b){return _.I(a,1,b)},lrc=function(a,b){return _.w(a,2,b)},mrc=function(a,b){return _.w(a,3,b)},nrc=function(a,b){return _.w(a,4,b)},orc=function(a,b){return _.w(a,5,b)},prc=function(a,b){return _.w(a,6,b)},qrc=function(a){_.J.call(this,a)};_.K(qrc,_.J);noc=function(a,b){_.Mj(a,8,b)};moc=function(a,b){return _.I(a,73,b)};
ooc=function(a,b){_.Mj(a,107,b)};_.cL=function(a){return _.B(a,qrc,109)};poc=function(a,b){_.I(a,109,b)};rrc=function(a){_.J.call(this,a)};_.K(rrc,_.J);var src=function(a){_.J.call(this,a)};_.K(src,_.J);var trc=function(a){var b=new _.kk;_.vk(b,1,_.y(a,1));_.vk(b,2,_.y(a,2));return _.mk(b)},urc=function(a){_.J.call(this,a)};_.K(urc,_.J);var Moc=function(a){_.J.call(this,a)};_.K(Moc,_.J);var vrc=[11],wrc=function(a){_.J.call(this,a,-1,vrc)};_.K(wrc,_.J);var mL=function(a){_.J.call(this,a)};
_.K(mL,_.J);mL.prototype.getKey=function(){return _.y(this,2)};mL.prototype.lt=function(){return _.P(this,2)};nL=function(a){return _.C(a,4,"en")};_.oL=function(a){return _.B(a,wrc,34,1)};pL=function(a,b,c){if(b.length!=c.length)return!0;for(var d=0;d<b.length;d++)if(!a.O(b[d]||void 0,c[d]||void 0))return!0;return!1};xrc=function(a,b){return _.w(a,5,b)};_.yrc=function(a,b){return _.w(a,2,b)};_.zrc=function(a,b){return _.w(a,3,b)};_.Arc=function(a,b){return _.w(a,1,b)};
_.Brc=function(a,b){return _.w(a,2,b)};_.Crc=function(a,b){return _.Mj(a,5,b)};_.Drc=function(a,b){return _.w(a,6,b)};_.Erc=function(a,b){return _.w(a,7,b)};_.Frc=function(a,b){return _.w(a,8,b)};_.Grc=function(a,b){return _.w(a,10,b)};_.Hrc=function(a,b){return _.w(a,15,b)};Irc=[2];_.Jrc=function(a){_.J.call(this,a,-1,Irc)};_.K(_.Jrc,_.J);_.Jrc.prototype.Th=function(){return _.y(this,1)};_.Krc=function(a,b){return _.I(a,1,b)};Lrc=function(a,b){return _.w(a,2,b)};
Mrc=function(a,b){return _.w(a,3,b)};Nrc=function(a,b){_.Mj(a,4,b)};_.Orc=function(a,b){_.I(a,8,b)};_.Prc=function(a,b){_.I(a,9,b)};Qrc=function(a){_.J.call(this,a)};_.K(Qrc,_.J);Qrc.prototype.Za=function(){return _.Ej(this,1)};Qrc.prototype.Jb=function(a){return _.rb(this,1,a,0)};npc=function(a,b){_.Kj(a,3,b)};_.Rrc=function(a){_.J.call(this,a)};_.K(_.Rrc,_.J);_.Rrc.prototype.getId=function(){return _.y(this,1)};_.Rrc.prototype.Pb=function(a){return _.w(this,1,a)};
_.Rrc.prototype.Fe=function(){return _.y(this,4)};_.Rrc.prototype.zh=function(a){return _.w(this,4,a)};_.LK=function(a){_.J.call(this,a)};_.K(_.LK,_.J);_.LK.prototype.getTitle=function(){return _.y(this,1)};_.LK.prototype.setTitle=function(a){return _.w(this,1,a)};_.LK.prototype.ve=function(){return _.B(this,_.wf,2)};
var Src=function(a,b){return _.Kj(a,9,b)},Trc=function(a,b){return _.Kj(a,10,b)},Urc=function(a,b){return _.w(a,36,b)},Vrc=function(a,b){return _.Mj(a,38,b)},Wrc=function(a,b){return _.w(a,2,b)},Xrc=function(a,b){return _.I(a,3,b)},Yrc=function(){var a=new _.JI;return _.w(a,5,!0)},Zrc=function(a){_.J.call(this,a)};_.K(Zrc,_.J);var $rc=function(a){_.J.call(this,a)};_.K($rc,_.J);var asc=function(a){_.J.call(this,a)};_.K(asc,_.J);var bsc=function(a){_.J.call(this,a)};_.K(bsc,_.J);
var csc=function(a){_.J.call(this,a)};_.K(csc,_.J);var dsc=function(a){_.J.call(this,a)};_.K(dsc,_.J);dsc.prototype.wy=function(){return _.Q(this,1)};dsc.prototype.Wn=function(){return _.y(this,5)};dsc.prototype.Nm=function(){return _.y(this,6)};dsc.prototype.Dt=function(a){return _.w(this,6,a)};var esc=function(a,b){return _.w(a,1,b)},fsc=function(a,b){return _.w(a,3,b)},gsc=function(a,b){return _.w(a,4,b)},hsc=function(a,b){_.w(a,7,b)},isc=function(a){_.J.call(this,a)};_.K(isc,_.J);
isc.prototype.wy=function(){return _.Q(this,2)};var jsc=function(a,b){_.w(a,1,b)},ksc=function(a){_.J.call(this,a)};_.K(ksc,_.J);ksc.prototype.Nm=function(){return _.y(this,3)};ksc.prototype.Dt=function(a){return _.w(this,3,a)};ksc.prototype.Wn=function(){return _.y(this,4)};var lsc=function(a){_.J.call(this,a)};_.K(lsc,_.J);var msc=function(a){_.J.call(this,a)};_.K(msc,_.J);
var nsc=function(a,b){return _.w(a,1,b)},osc=function(a,b){return _.w(a,2,b)},psc=function(a,b){_.w(a,3,b)},qsc=[1,3,5],rsc=function(a){_.J.call(this,a,-1,qsc)};_.K(rsc,_.J);rsc.prototype.UE=function(){return _.Td(this,1)};rsc.prototype.wy=function(){return _.Q(this,2)};rsc.prototype.Wn=function(){return _.y(this,7)};ssc=function(a,b){_.w(a,2,b)};tsc=function(a,b){_.Oj(a,5,b,void 0)};usc=function(a,b){_.w(a,6,b)};vsc=function(a,b){_.w(a,7,b)};_.wsc=function(a,b){_.I(a,2,b)};
xsc=function(a,b,c){_.rK(a,b,c,"warning")};ysc=function(a){return[].concat(_.nd(a.O))};zsc=function(a){return a.H.concat([].concat(_.nd(a.O)))};Asc=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.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.nd(c))};qL=function(a){var b=_.zK(a).qd();b||(b=new _.qjc,a=_.zK(a),_.I(a,1,b));return b};Bsc=function(a){var b=_.B(_.zK(a),rsc,3);b||(b=new rsc,a=_.zK(a),_.I(a,3,b));return b};
sL=function(a){var b=_.B(_.zK(a),dsc,16);b||(b=new dsc,a=_.zK(a),_.I(a,16,b));return b};Csc=function(a){var b=_.B(_.zK(a),asc,7);b||(b=new asc,a=_.zK(a),_.I(a,7,b));return b};Dsc=function(a){var b=_.B(_.zK(a),csc,12);b||(b=new csc,a=_.zK(a),_.I(a,12,b));return b};Esc=function(a){var b=_.B(_.zK(a),isc,17);b||(b=new isc,a=_.zK(a),_.I(a,17,b));return b};Fsc=function(a){var b=_.B(_.zK(a),msc,21);b||(b=new msc,a=_.zK(a),_.I(a,21,b));return b};
Gsc=function(a){if(a instanceof _.uI)return 2;if(a instanceof _.qG)return 10;if(a instanceof _.hf)return _.yJ(a)?3:_.zJ(a)?7:_.AJ(a)?8:1;if(a instanceof _.yA)return 9;if(a instanceof _.AG)return 11;if(a instanceof _.HJ)return 15;if(a instanceof _.BI)return 6;if(a instanceof _.CJ){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 _.JD)return 4;if(a instanceof _.fA)return 12;if(a instanceof _.sG)return 13}return 0};
Hsc=function(a){var b=null;a instanceof _.rB||"undefined"!=typeof _.BK&&a instanceof _.BK||"undefined"!=typeof _.CK&&a instanceof _.CK?b=a.Ze()||0:"undefined"!=typeof _.EK&&a instanceof _.EK||"undefined"!=typeof _.FK&&a instanceof _.FK||"undefined"!=typeof _.GK&&a instanceof _.GK||"undefined"!=typeof _.HK&&a instanceof _.HK||"undefined"!=typeof _.IK&&a instanceof _.IK?b=a.Ke:"undefined"!=typeof _.DK&&a instanceof _.DK&&(b=a.Ze());return b||0};
tL=function(a,b,c){return a.V&&_.Lkc(a)?(a=_.Hkc(a.V,b,0),c&&_.ehc(a,c),a):null};Isc=function(a){a.V&&_.Lkc(a)&&(a=a.V,a.H.vP()&&a.H.DZ())};Jsc=function(a){var b=new _.uJ;return _.w(b,1,a)};Ksc=function(a,b){return _.I(a,2,b)};Lsc=function(a,b){return _.I(a,1,b)};Msc=function(a,b){a.ha=b};Nsc=[2];uL=function(a){_.J.call(this,a,-1,Nsc)};_.K(uL,_.J);uL.prototype.Bb=function(){return _.y(this,1)};uL.prototype.Dc=function(a){return _.w(this,1,a)};uL.prototype.Uga=function(a){_.Sj(this,2,a,_.Kk,void 0)};
uL.prototype.Xj=function(){return _.y(this,3)};var Osc=function(a,b){return _.Mj(a,2,b)},Psc=[2],Qsc=function(a){_.J.call(this,a,-1,Psc)};_.K(Qsc,_.J);Qsc.prototype.Bb=function(){return _.y(this,1)};Qsc.prototype.Dc=function(a){return _.w(this,1,a)};Qsc.prototype.Xj=function(){return _.y(this,3)};
var Rsc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.En,a.H.promise):null},Ssc=function(a){for(var b=[],c=_.m(a.W),d=c.next();!d.done;d=c.next()){d=_.m(d.value);d.next();d=d.next().value;d=_.m(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Bv.config.timestamp)&&b.push(e)}a=_.m(a.buckets);for(d=a.next();!d.done;d=a.next()){c=[];d=_.m(d.value.kj);for(e=d.next();!e.done;e=d.next())(e=e.value.Bv.config.timestamp)&&c.push(e);_.ya(b,c)}return b},Tsc=function(a,b){_.SK(["drive#permissionList"],
b);return Osc(new uL,(b.items||[]).map(function(c){return _.Zmc(a,c)}))},Usc=function(a,b){return prc(orc(nrc(_.Cic(_.Aic(new _.Una,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.Zmc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},aoc=function(a,b){return _.Kj(a,1,b)},Vsc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},Wsc=function(a,
b){if(!(a instanceof b.constructor))throw Error("aa");var c=a.fr(!1);b=b.fr(!1);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.Oaa(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)},Xsc={SUCCESS:1,f6b:2,jYb:3,STb:4,s6b:5,L0b:6,B0b:7,CUb:8,d5b:9,s5b:10,e6b:11,dWb:12,IVb:13,iZb:14,DXb:15,MVb:16,LVb:17,RVb:18,OVb:19,PVb:20,J5b:21,o6b:22,d1b:23,k0b:24,uUb:25,PERMISSION_DENIED:26,A_b:27,HUb:28,GUb:29,INTERRUPTED:30,D1b:31,
X1b:32,sWb:33,yWb:34,k5b:35,FWb:36,EXb:37,xWb:38,A0b:39,kVb:40,y1b:41,Z1b:42,b5b:43,XUb:44,jVb:45,BXb:46,v_b:47,y0b:48,V0b:49,z1b:50,V4b:51,JVb:52,c5b:53,a5b:54,cVb:55,$Ub:56,QWb:57,T_b:58,A1b:59,VZb:60,o3b:61,c4b:62,J4b:63,xZb:64,m0b:65,v6b:66,HWb:67,FXb:68,d6b:69,CZb:70,FUb:71,SUb:72,k4b:73,K4b:74,G4b:75,E4b:76,Z3b:190,D4b:191,l4b:192,r4b:126,n4b:128,o4b:129,p4b:130,q4b:131,s4b:132,t4b:133,x3b:127,u3b:134,v3b:135,z3b:136,A3b:137,B3b:138,w3b:194,y3b:195,C3b:196,t3b:197,b4b:189,n3b:139,p3b:140,D3b:141,
E3b:142,Q3b:143,T3b:144,U3b:145,V3b:146,W3b:147,X3b:148,Y3b:149,a4b:150,g4b:151,i4b:152,j4b:153,m4b:154,u4b:155,w4b:156,x4b:157,y4b:158,z4b:159,A4b:160,B4b:161,F4b:162,I4b:163,L4b:164,q3b:165,r3b:166,s3b:167,l3b:168,m3b:169,H3b:170,F3b:171,G3b:172,I3b:173,J3b:174,K3b:175,L3b:176,M3b:177,N3b:178,O3b:179,P3b:180,R3b:181,S3b:182,$3b:106,h4b:183,v4b:184,C4b:185,d4b:186,e4b:187,f4b:188,H4b:244,x1b:77,i6b:78,n6b:79,H_b:80,nZb:81,pZb:82,PWb:83,AXb:84,B_b:85,C5b:86,wWb:87,EZb:88,DZb:89,O4b:90,M4b:91,N4b:92,
j6b:93,yVb:94,xVb:95,uVb:96,wVb:97,vVb:98,u6b:99,X2b:100,UVb:101,NVb:102,SVb:103,QVb:104,TVb:105,GXb:107,p5b:108,R2b:109,Y5b:110,JXb:111,IXb:112,$Zb:113,a_b:114,c2b:115,dVb:116,h_b:117,ZWb:118,k6b:119,G0b:120,H0b:121,jZb:193,KVb:122,mWb:123,mZb:124,f0b:125,FZb:198,I1b:199,uZb:200,vTb:201,AZb:202,yZb:203,IUb:204,T6b:205,o_b:206,rVb:207,D0b:208,Y1b:209,T2b:210,WTb:211,YZb:212,e_b:213,f5b:214,e5b:215,wZb:216,hZb:217,vZb:218,JWb:219,t5b:220,KWb:221,WZb:222,m5b:223,E6b:224,q0b:225,l5b:226,oWb:227,n_b:228,
OWb:229,mVb:230,A5b:231,h0b:232,FILE_TOO_LARGE:233,BZb:234,IWb:235,xXb:236,U1b:237,n0b:238,gTb:239,nVb:240,u0b:241,d3b:242,uWb:243,tTb:245,qZb:246,X0b:247,oZb:248,G_b:249,l0b:250,CXb:251,qYb:252,ZZb:253,aVb:254,HXb:255,t6b:256,cYb:257,Q_b:258,j2b:259,H1b:260,MZb:261,ZVb:262,vWb:263,tUb:264,z_b:265,r6b:266,kTb:267,jUb:268,iUb:269,z0b:270,eTb:271,fTb:272,wUb:273,qVb:274,lUb:275,kUb:276},vL=function(a,b){_.ri.call(this,"Ea");this.error=a;this.H=b};_.K(vL,_.ri);
Ysc={l6b:0,R_b:1,f1b:2,T0b:3,HZb:4,TTb:5,S_b:6,U0b:7,PYb:8,sUb:9,R0b:10};_.wL=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.V=a;this.va=b;this.Fa=c;this.request=e;this.Ba=f;this.H=[];this.items=[];this.ha=!0;this.O=!1;this.suggestionSessionId=null;this.Ha=d;this.status=6;this.ka=aoc(new _.ZK,[1]);this.limit=e.Ei();this.Ke=0;_.Fe(this,function(){h.O=!1;h.H=[]});_.X7a++};_.K(_.wL,_.zi);_.g=_.wL.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.pa(this.items)&&6===this.Bb()&&this.Rj()||Zsc(this)};_.g.qd=function(){return this.request};_.g.Ei=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.ka};_.g.Rj=function(){return this.ha};_.g.zr=function(){var a=_.W7a().my(this.H,this.items),b=(new _.tI).Dc(this.Bb());a=_.Mj(b,2,a);this.H=this.items;return a};_.g.Ir=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Ai(),this.limit))};
var $sc=function(a,b){return a.Bb()!==b.Bb()||pL(_.W7a(),a.items,b.wd())},atc=function(a,b){a.items=b.wd();a.status=b.Bb();_.FI(a.Ba)&&(a.ka=boc(a.status,a.items));a.ha=b.ol();a.Ke=b.Ze()};_.wL.prototype.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.wL.prototype.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
_.wL.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+xL(this.V,this.qd());return _.ii(this.va.then(function(d){return d.ILb(a,b,c.qd(),c.Ei(),c.items)}))};
var Zsc=function(a){a.isActive()&&(a.log("Livelist "+a.Ai()+" returning "+a.items.length+". Status: "+(_.Za(Xsc)[a.Bb()]+". Datasource: ")+(_.Za(Ysc)[a.Ke]+". Query: ")+(xL(a.V,a.request)+" ")+coc(a.items)),btc(a,a.items,a.request),a.dispatchEvent(new _.ri(_.Cc,a)))},btc=function(a,b,c){if(_.yJ(c))c="quick access";else if(_.zJ(c))c="people predict";else if(_.AJ(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Ai()+" returning "+a.items.length+
" for "+(c+": "+b))};_.wL.prototype.refresh=function(){};_.wL.prototype.log=function(a){this.Fa.info(this.W,a)};_.wL.prototype.Ya=function(){_.Y7a++;_.zi.prototype.Ya.call(this)};var ctc=function(){this.map={};this.status=6;this.Ke=null};_.g=ctc.prototype;_.g.Bb=function(){return this.status};_.g.Dc=function(a){this.status=a};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};_.g.eq=function(){return this.map};var dtc=function(a,b){a.map=b};
ctc.prototype.Lc=function(a){var b=[];_.La(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Ke,me:b})};var etc=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.Li(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},ftc=function(){ctc.apply(this,arguments)};_.K(ftc,ctc);_.BK=function(){ctc.apply(this,arguments)};_.K(_.BK,ctc);gtc=[2,6];_.CK=function(a){_.J.call(this,a,-1,gtc)};_.K(_.CK,_.J);_.g=_.CK.prototype;
_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.wd=function(){return _.Qj(this,_.el,2)};_.g.Uw=function(a){return _.Mj(this,2,a)};_.g.oh=function(a,b){return _.Sj(this,2,a,_.el,b)};_.g.Xj=function(){return _.y(this,3)};_.g.ol=function(){return _.S(this,4,!0)};var htc=function(a,b){return _.Mj(a,6,b)};_.CK.prototype.Zf=function(){return _.y(this,10)};_.CK.prototype.sP=function(a){return _.w(this,10,a)};_.CK.prototype.Ze=function(){return _.y(this,9)};
_.CK.prototype.Li=function(a){return _.w(this,9,a)};var goc=[1004,1005,1002,1003],uoc=[1002,1003,1005],yL=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.ta=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=aoc(new _.ZK,[1]);this.log("Creating find by ids live map: "+this.request.jn().join(", "));_.Fe(this,function(){h.O=!1;h.H=[]});_.Zkb++};_.K(yL,_.zi);_.g=yL.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.O=!0;_.Ta(this.items)&&6===this.status||itc(this)};_.g.qd=function(){return this.request};_.g.getData=function(){this.H=this.items;var a=new _.BK;_.FI(this.V)?a.Dc(woc(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.zr=function(){var a=yoc(this.H,this.items),b=new ftc;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.W};
_.g.cT=function(a){jtc(a);var b=this.request;this.request=a;this.ta(this.Ai(),b,a)};_.g.update=function(a){var b=this;0<=_.na(this.qd().jn(),"root")?this.ma.addCallback(function(c){var d=a.eq()[c];d&&(_.Va(a.map,c),a.map.root=d);ktc(b,a)}):ktc(this,a)};var ktc=function(a,b){if(a.status!==b.Bb()||zoc(a.items,b.eq()))a.status=b.Bb(),a.items=b.eq(),_.FI(a.V)&&(a.W=boc(a.status,Object.values(a.items))),itc(a)};
yL.prototype.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};yL.prototype.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};var itc=function(a){a.O&&(a.log("Livelist "+a.Ai()+" returning "+(Object.values(a.items).length+". Status: ")+(_.Za(Xsc)[a.Bb()]+". Query: ")+(xL(a.ka,a.request)+" ")+coc(Object.values(a.items))),a.dispatchEvent(new _.ri(_.Cc,a)))};
yL.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};yL.prototype.Ya=function(){_.$kb++;_.zi.prototype.Ya.call(this)};var ltc=[1,2],mtc=function(a){_.J.call(this,a,-1,ltc)};_.K(mtc,_.J);_.ntc=function(a){_.J.call(this,a)};_.K(_.ntc,_.J);_.ntc.prototype.Bb=function(){return _.y(this,1)};_.ntc.prototype.Dc=function(a){return _.w(this,1,a)};_.ntc.prototype.ln=function(){return _.B(this,_.rG,2)};var otc=function(a){_.ri.call(this,a)};_.K(otc,_.ri);
var ptc=[5,7,9],qtc=function(a){_.J.call(this,a,-1,ptc)};_.K(qtc,_.J);_.g=qtc.prototype;_.g.getUser=function(){return _.B(this,_.Kk,1)};_.g.VA=function(a){_.w(this,2,a)};_.g.setBooleanValue=function(a){return _.w(this,3,a)};_.g.setTextValue=function(a){return _.w(this,4,a)};_.g.Ioa=function(a){return _.Kj(this,5,a)};_.g.addTextValues=function(a,b){return _.Oj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.w(this,6,a)};_.g.Eoa=function(a){return _.Kj(this,7,a)};
_.g.addSelectionValues=function(a,b){return _.Oj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.woa=function(a){return _.Kj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Oj(this,9,a,b)};var rtc=[7,10,12,16,13,3],zL=function(a){_.J.call(this,a,-1,rtc)};_.K(zL,_.J);var AL=function(a){return _.y(a,4)};_.g=zL.prototype;_.g.VA=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};_.g.q9a=function(){return _.y(this,6)};
_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.Ioa=function(a){return _.Kj(this,7,a)};_.g.addTextValues=function(a,b){return _.Oj(this,7,a,b)};_.g.o9a=function(){return _.y(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.p9a=function(){return _.y(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};_.g.QLa=function(){return _.Td(this,10)};_.g.Eoa=function(a){return _.Kj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Oj(this,10,a,b)};
_.g.n9a=function(){return _.y(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.woa=function(a){return _.Kj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Oj(this,12,a,b)};_.g.r9a=function(){return _.B(this,_.Kk,15)};_.g.setUserValue=function(a){return _.I(this,15,a)};_.g.pWa=function(){return _.Qj(this,_.Kk,16)};var stc=function(a,b){_.Mj(a,16,b)};zL.prototype.addUserValues=function(a,b){return _.Sj(this,16,a,_.Kk,b)};zL.prototype.O=function(){return _.y(this,17)};
zL.prototype.setDateStringValue=function(a){return _.w(this,17,a)};zL.prototype.V=function(){return _.P(this,17)};var ttc=function(a,b){_.Mj(a,13,b)};zL.prototype.getId=function(){return _.y(this,14)};zL.prototype.Pb=function(a){return _.w(this,14,a)};zL.prototype.getName=function(){return _.y(this,1)};zL.prototype.hd=function(a){return _.w(this,1,a)};var utc=[2],BL=function(a){_.J.call(this,a,-1,utc)};_.K(BL,_.J);BL.prototype.getName=function(){return _.y(this,1)};
BL.prototype.hd=function(a){return _.w(this,1,a)};BL.prototype.O=function(){return _.Qj(this,zL,2)};var vtc=function(a,b){_.Mj(a,2,b)};BL.prototype.Cc=function(){return _.y(this,3)};var wtc=function(a,b){return _.w(a,3,b)},xtc=function(a){_.J.call(this,a)};_.K(xtc,_.J);xtc.prototype.O=function(){return _.B(this,_.aD,1)};xtc.prototype.V=function(){return _.B(this,_.aD,2)};xtc.prototype.ha=function(){return _.B(this,_.aD,3)};var ytc=function(a){_.J.call(this,a)};_.K(ytc,_.J);
ytc.prototype.V=function(){return _.Q(this,1)};ytc.prototype.O=function(){return _.Q(this,3)};ytc.prototype.ha=function(){return _.Q(this,4)};var CL=[[13,19,12,11,10,15,14,9,8,18,17,16]],ztc=function(a){_.J.call(this,a)};_.K(ztc,_.J);ztc.prototype.O=function(){return _.Q(this,1)};ztc.prototype.V=function(){return _.Q(this,2)};var Atc=function(a){_.J.call(this,a)};_.K(Atc,_.J);Atc.prototype.O=function(){return _.y(this,4)};var Btc=function(a){_.J.call(this,a)};_.K(Btc,_.J);
Btc.prototype.V=function(){return _.y(this,1)};Btc.prototype.O=function(){return _.y(this,2)};var Ctc=function(a){_.J.call(this,a)};_.K(Ctc,_.J);Ctc.prototype.V=function(){return _.y(this,1)};Ctc.prototype.O=function(){return _.y(this,2)};var Dtc=function(a){_.J.call(this,a)};_.K(Dtc,_.J);var Etc=[1],Ftc=function(a){_.J.call(this,a)};_.K(Ftc,_.J);Ftc.prototype.O=function(){return _.Q(this,1)};Ftc.prototype.V=function(){return _.Q(this,2)};var Gtc=function(a){_.J.call(this,a)};_.K(Gtc,_.J);_.g=Gtc.prototype;
_.g.F9a=function(){return _.Q(this,1)};_.g.G9a=function(){return _.Q(this,2)};_.g.C9a=function(){return _.B(this,xtc,3)};_.g.H9a=function(){return _.P(this,3)};_.g.E9a=function(){return _.B(this,xtc,4)};_.g.J9a=function(){return _.P(this,4)};_.g.D9a=function(){return _.y(this,5)};_.g.I9a=function(){return _.P(this,5)};var Htc=function(a){_.J.call(this,a)};_.K(Htc,_.J);_.g=Htc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Mp=function(){return _.P(this,1)};
_.g.Za=function(){return _.y(this,2)};_.g.Jb=function(a){return _.w(this,2,a)};_.g.Ti=function(){return _.qb(this,2)};_.g.jh=function(){return _.P(this,2)};_.g.Te=function(){return _.y(this,5)};_.g.Wl=function(a){return _.w(this,5,a)};_.g.B9a=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.B(this,Ftc,3)};_.g.A9a=function(){return _.B(this,Gtc,4)};var Itc=function(a){_.J.call(this,a,-1,Etc)};_.K(Itc,_.J);Itc.prototype.O=function(){return _.Qj(this,Htc,1)};
var Jtc=function(a,b){_.Mj(a,1,b)},Ktc=function(a){_.J.call(this,a)};_.K(Ktc,_.J);Ktc.prototype.O=function(){return _.y(this,1)};Ktc.prototype.fW=function(){return _.P(this,1)};Ktc.prototype.getOptions=function(){return _.B(this,Itc,2)};var Ltc=function(a){_.J.call(this,a)};_.K(Ltc,_.J);Ltc.prototype.fW=function(){return _.P(this,1)};Ltc.prototype.getOptions=function(){return _.B(this,Ctc,2)};var Mtc=function(a){_.J.call(this,a)};_.K(Mtc,_.J);var Ntc=function(a){_.J.call(this,a)};_.K(Ntc,_.J);
Ntc.prototype.fW=function(){return _.P(this,1)};Ntc.prototype.getOptions=function(){return _.B(this,Mtc,2)};var DL=[[3,4,5,6,7,8,9,10,11,12]],Otc=function(a){_.J.call(this,a,-1,void 0,DL)};_.K(Otc,_.J);_.g=Otc.prototype;_.g.Gca=function(a){return _.Rj(this,3,DL[0],a)};_.g.w4a=function(a){return _.Rj(this,4,DL[0],a)};_.g.L3a=function(a){return _.Rj(this,5,DL[0],a)};_.g.K3a=function(a){return _.Rj(this,6,DL[0],a)};_.g.y3a=function(a){return _.Rj(this,7,DL[0],a)};
_.g.j4a=function(a){return _.Rj(this,8,DL[0],a)};_.g.i4a=function(a){return _.Rj(this,9,DL[0],a)};_.g.B4a=function(a){return _.Rj(this,10,DL[0],a)};_.g.Koa=function(a){return _.Rj(this,11,DL[0],a)};_.g.soa=function(a){return _.Rj(this,12,DL[0],a)};var Ptc=function(a){_.J.call(this,a)};_.K(Ptc,_.J);var Qtc=function(a){_.J.call(this,a)};_.K(Qtc,_.J);Qtc.prototype.O=function(){return _.y(this,1)};Qtc.prototype.fW=function(){return _.P(this,1)};
Qtc.prototype.getOptions=function(){return _.B(this,Ptc,2)};var Rtc=function(a){_.J.call(this,a,-1,void 0,CL)};_.K(Rtc,_.J);_.g=Rtc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.u9a=function(){return _.y(this,2)};_.g.se=function(){return _.y(this,4)};_.g.t9a=function(){return _.B(this,ytc,5)};_.g.getCapabilities=function(){return _.B(this,ztc,6)};_.g.z9a=function(){return _.y(this,7)};_.g.y3a=function(a){return _.Rj(this,13,CL[0],a)};
_.g.s9a=function(){return _.B(this,Atc,19)};_.g.soa=function(a){return _.Rj(this,19,CL[0],a)};_.g.K3a=function(a){return _.Rj(this,12,CL[0],a)};_.g.L3a=function(a){return _.Rj(this,11,CL[0],a)};_.g.ksb=function(){return _.B(this,Btc,10)};_.g.v9a=function(){return _.B(this,Ktc,15)};_.g.i4a=function(a){return _.Rj(this,15,CL[0],a)};_.g.w9a=function(){return _.B(this,Itc,14)};_.g.j4a=function(a){return _.Rj(this,14,CL[0],a)};_.g.w4a=function(a){return _.Rj(this,9,CL[0],a)};
_.g.x9a=function(){return _.B(this,Ctc,8)};_.g.Gca=function(a){return _.Rj(this,8,CL[0],a)};_.g.y9a=function(){return _.B(this,Qtc,18)};_.g.Koa=function(a){return _.Rj(this,18,CL[0],a)};_.g.B4a=function(a){return _.Rj(this,17,CL[0],a)};var Stc=[5],Ttc=function(a){_.J.call(this,a)};_.K(Ttc,_.J);Ttc.prototype.ha=function(){return _.Q(this,1)};Ttc.prototype.O=function(){return _.Q(this,2)};Ttc.prototype.ka=function(){return _.Q(this,3)};Ttc.prototype.V=function(){return _.Q(this,4)};
var EL=function(a){_.J.call(this,a,-1,Stc)};_.K(EL,_.J);EL.prototype.getName=function(){return _.y(this,1)};EL.prototype.hd=function(a){return _.w(this,1,a)};EL.prototype.Lm=function(){return _.y(this,2)};var Utc=function(a,b){return _.w(a,2,b)};EL.prototype.V=function(){return _.y(this,14)};var Vtc=function(a,b){return _.w(a,14,b)};_.g=EL.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Te=function(){return _.y(this,4)};
_.g.Wl=function(a){return _.w(this,4,a)};_.g.K9a=function(){return _.y(this,15)};_.g.Hk=function(){return _.Qj(this,Rtc,5)};var Wtc=function(a,b){return _.Mj(a,5,b)},Xtc=function(a,b){_.I(a,6,b)},Ytc=function(a,b){_.I(a,7,b)},Ztc=function(a,b){_.I(a,8,b)},$tc=function(a,b){return _.w(a,9,b)},auc=function(a,b){return _.w(a,10,b)},buc=function(a,b){return _.w(a,11,b)};EL.prototype.O=function(){return _.B(this,ytc,12)};var cuc=function(a,b){_.I(a,12,b)};
EL.prototype.getCapabilities=function(){return _.B(this,Ttc,13)};var duc=function(a,b){_.I(a,13,b)};EL.prototype.getCustomer=function(){return _.y(this,16)};euc=function(a,b){return _.w(a,16,b)};fuc=[3];_.FL=function(a){_.J.call(this,a,-1,fuc)};_.K(_.FL,_.J);_.FL.prototype.getType=function(){return _.y(this,1)};_.FL.prototype.Cc=function(){return _.y(this,2)};_.hL=function(a){_.J.call(this,a)};_.K(_.hL,_.J);_.hL.prototype.getId=function(){return _.y(this,1)};
_.hL.prototype.Pb=function(a){return _.w(this,1,a)};_.hL.prototype.ve=function(){return _.B(this,_.wf,3)};_.guc=function(a){_.J.call(this,a)};_.K(_.guc,_.J);_.guc.prototype.getFeature=function(){return _.y(this,1)};huc=[1];_.yK=function(a){_.J.call(this,a,-1,huc)};_.K(_.yK,_.J);iuc=[2,3,8];_.KJ=function(a){_.J.call(this,a,-1,iuc)};_.K(_.KJ,_.J);_.KJ.prototype.getId=function(){return _.y(this,1)};_.KJ.prototype.Pb=function(a){return _.w(this,1,a)};
_.KJ.prototype.ve=function(){return _.B(this,_.wf,4)};_.KJ.prototype.yc=function(){return _.y(this,5)};var juc=function(a){_.J.call(this,a)};_.K(juc,_.J);var kuc=[1,2,4],luc=function(a){_.J.call(this,a)};_.K(luc,_.J);luc.prototype.getType=function(){return _.y(this,1)};var muc=function(a){var b=new luc;return _.w(b,1,a)},nuc=function(a,b){return _.I(a,2,b)};luc.prototype.sy=function(){return _.y(this,3)};luc.prototype.Xy=function(a){return _.w(this,3,a)};
luc.prototype.Pi=function(){return _.y(this,4)};luc.prototype.setPosition=function(a){return _.w(this,4,a)};var ouc=[2],puc=function(a){_.J.call(this,a,-1,ouc)};_.K(puc,_.J);puc.prototype.Bb=function(){return _.y(this,1)};puc.prototype.Dc=function(a){return _.w(this,1,a)};var quc=[2],GL=function(a){_.J.call(this,a,-1,quc)};_.K(GL,_.J);GL.prototype.Bb=function(){return _.y(this,1)};GL.prototype.Dc=function(a){return _.w(this,1,a)};GL.prototype.O=function(){return _.Qj(this,BL,2)};
var ruc=function(a,b){return _.Mj(a,2,b)};GL.prototype.Xj=function(){return _.y(this,3)};var suc=function(a){_.J.call(this,a)};_.K(suc,_.J);suc.prototype.Bb=function(){return _.y(this,1)};suc.prototype.Dc=function(a){return _.w(this,1,a)};tuc=function(a,b){return _.I(a,2,b)};uuc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};vuc=function(a,b){return new _.Pec(_.Qec.bound(a,b,void 0,void 0))};
wuc=function(){var a=new _.ai,b=_.bfc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Id(_.yI(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.xuc=function(a){_.J.call(this,a)};_.K(_.xuc,_.J);_.xuc.prototype.Dp=function(){return _.y(this,1)};_.xuc.prototype.Ed=function(){return _.y(this,2)};_.xuc.prototype.setSize=function(a){return _.w(this,2,a)};_.xuc.prototype.getUrl=function(){return _.y(this,3)};
_.yuc=function(a){_.J.call(this,a)};_.K(_.yuc,_.J);_.yuc.prototype.getType=function(){return _.y(this,1)};zuc=[2,3];_.Auc=function(a){_.J.call(this,a,-1,zuc)};_.K(_.Auc,_.J);Buc=[4,5,6,17,18,24];_.HL=function(a){_.J.call(this,a,-1,Buc)};_.K(_.HL,_.J);_.HL.prototype.getId=function(){return _.y(this,1)};_.HL.prototype.Pb=function(a){return _.w(this,1,a)};_.HL.prototype.getName=function(){return _.y(this,2)};_.HL.prototype.hd=function(a){return _.w(this,2,a)};
var Cuc=function(a,b){return _.Kj(a,4,b)},Duc=function(a,b){return _.Kj(a,5,b)};_.HL.prototype.MQ=function(){return _.y(this,8)};_.HL.prototype.getType=function(){return _.y(this,23)};var qpc=function(a){_.J.call(this,a)};_.K(qpc,_.J);var Euc=[3],IL=function(a){_.J.call(this,a,-1,Euc)};_.K(IL,_.J);IL.prototype.fq=function(){return _.y(this,1)};var Fuc=function(a,b){return _.w(a,1,b)};IL.prototype.getTitle=function(){return _.y(this,2)};IL.prototype.setTitle=function(a){return _.w(this,2,a)};
IL.prototype.wd=function(){return _.Qj(this,_.el,3)};var Guc=function(a,b){return _.Mj(a,3,b)};IL.prototype.oh=function(a,b){return _.Sj(this,3,a,_.el,b)};IL.prototype.V=function(){return _.y(this,4)};var Huc=function(a,b){return _.w(a,4,b)};IL.prototype.O=function(){return _.B(this,_.Nk,5)};var Iuc=function(a,b){return _.I(a,5,b)},Juc=[2],JL=function(a){_.J.call(this,a,-1,Juc)};_.K(JL,_.J);JL.prototype.Bb=function(){return _.y(this,1)};JL.prototype.Dc=function(a){return _.w(this,1,a)};
JL.prototype.ql=function(){return _.Qj(this,IL,2)};var Kuc=function(a,b){return _.Mj(a,2,b)};JL.prototype.Zf=function(){return _.y(this,4)};Luc=function(a,b){return _.w(a,4,b)};_.DK=function(a){_.J.call(this,a)};_.K(_.DK,_.J);_.g=_.DK.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.HT=function(){return _.Fj(this,2,void 0,_.rG)};_.g.Xj=function(){return _.y(this,3)};_.g.Ze=function(){return _.y(this,5)};_.g.Li=function(a){return _.w(this,5,a)};
var Muc=[1],iL=[[1,2,3,4,5,6,7]],Voc=function(a){_.J.call(this,a,-1,void 0,iL)};_.K(Voc,_.J);var Woc=function(a){_.J.call(this,a,-1,Muc)};_.K(Woc,_.J);var KL=function(a){_.J.call(this,a)};_.K(KL,_.J);KL.prototype.getQuery=function(){return _.B(this,_.hf,1,1)};var Nuc=function(a,b){return _.I(a,1,b)};KL.prototype.Xn=function(){return _.y(this,4)};var Ouc=function(a,b){return _.I(a,5,b)},Puc=[1,2,5,7,9,10,12,14],LL=function(a){_.J.call(this,a,-1,Puc)};_.K(LL,_.J);
LL.prototype.wd=function(){return _.Qj(this,_.el,1)};var Quc=function(a,b){return _.Mj(a,1,b)};LL.prototype.oh=function(a,b){return _.Sj(this,1,a,_.el,b)};LL.prototype.Uga=function(a){_.Sj(this,2,a,_.Kk,void 0)};var Ruc=function(a,b){return _.w(a,3,b)};LL.prototype.Zn=function(){return _.y(this,4)};LL.prototype.Eu=function(a){return _.w(this,4,a)};var Suc=function(a,b){return _.Mj(a,5,b)};LL.prototype.qv=function(){return _.Q(this,6)};var Tuc=function(a,b){return _.w(a,6,b)};
LL.prototype.kf=function(){return _.B(this,_.CB,8)};var Uuc=function(a,b){return _.Kj(a,12,b)};LL.prototype.Wn=function(){return _.Dj(this,13,0)};var Vuc=function(a,b){return _.w(a,13,b)},Wuc={xUb:0,vUb:1,g_b:2,n5b:3,q5b:4},gL=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]],Toc=function(a){_.J.call(this,a,-1,void 0,gL)};_.K(Toc,_.J);var $oc=[[1,2]],Zoc=function(a){_.J.call(this,a,-1,void 0,$oc)};_.K(Zoc,_.J);var cpc=[[1,2,3]],bpc=function(a){_.J.call(this,a,-1,void 0,cpc)};_.K(bpc,_.J);
var Xuc=function(a,b){return 1<a?2===b:a===b},Yuc=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("Se");},NL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.V=void 0===c?1:c;this.O=d;this.H=e};_.g=NL.prototype;_.g.clone=function(){return new NL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.Zy=function(a){this.V=a};_.g.equals=function(a){return this.count===a.$b()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Uj(this.item,a.getItem())};Zuc=function(a,b){a.H=b;return a};_.EK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.J_=void 0===c?null:c};_.FK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};
$uc=function(a){_.FK.call(this,a,void 0,void 0,void 0);this.u3a=new _.En};_.K($uc,_.FK);avc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.HK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.J_=void 0===c?null:c};_.GK=function(a,b,c){this.response=a;this.Ke=void 0===b?0:b;this.J_=void 0===c?null:c};_.IK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ke=void 0===d?0:d};bvc=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.cgc.get(b)}).filter(function(b){return b})))).join(",")};
OL=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=bvc(b);var d=_.FI(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,customerId":
_.S(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,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
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";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"};cvc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+OL(a,b,!1)+")"};PL=function(a){return a instanceof _.el?null!=a.getId()&&a.getId()==a.yc():null!=a.Cc()&&a.Cc()==a.yc()};
dvc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.wg();null!=e&&moc(a,e.clone());if((e=b.getCapabilities())&&null!=_.Q(e,13)){var f=a.getCapabilities()||new _.Zk,h=_.Q(e,13);_.w(f,13,h);_.hK(a,f)}e&&null!=_.Q(e,18)&&(f=a.getCapabilities()||new _.Zk,e=_.Q(e,18),_.w(f,18,e),_.hK(a,f));dL(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,34,91,41,59,95,75,94,221,122,2]);d.wg()&&dL(a,d,c)};
evc=function(a,b,c){c=void 0===c?[]:c;if(!b||!PL(a)&&!PL(b))return a;if(2==a.qv()){c=_.y(a,82);var d=b.clone();dvc(d,a);_.Nic(d,b.qv());_.TI(d,c);return d}a=a.clone();dvc(a,b,c);return a};fvc=function(a){return(a=a?a.wg():null)&&_.Q(a,7)||!1};gvc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)};
hvc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.W.has(e)&&!c.has(e)}))).forEach(function(e){a.log("Creating field cache for field: "+e);c.add(e);b[e]={}})};jvc=function(a,b,c){b.every(function(d){return PL(d)})?ivc(b,c,a.H,a.O):b.every(function(d){return!PL(d)})&&ivc(b,c,a.items,a.fields)};
ivc=function(a,b,c,d){b=_.ohc(b,[].concat(_.nd(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Hf();e=e?_.Yd(e):null;for(var f=_.m(b),h=f.next();!h.done;h=f.next()){h=h.value;var k=c[h][d.getId()];k&&dL(d,k,[h]);e&&(k=c[h][e.getId()])&&dL(e,k,[h])}}};gvc.prototype.update=function(a,b,c){b&&PL(b)?kvc(a,b,this.H,this.O,c):kvc(a,b,this.items,this.fields,c)};
gvc.prototype.rJ=function(a){var b=this;_.La(this.items,function(c,d){_.Va(b.items[d],a)});_.La(this.H,function(c,d){_.Va(b.H[d],a)})};var kvc=function(a,b,c,d,e){_.La(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.Va(f,a):b&&joc(b,[h])&&(f[a]=lvc(b,h)),b)){var k=b.Hf();(k=k?_.Yd(k):null)&&joc(k,[h])&&(f[k.getId()]=lvc(k,h))}});b&&foc(b,[].concat(_.nd(d)))},lvc=function(a,b){var c=new _.el;c.Pb(a.getId());dL(c,a,[b]);return c};
gvc.prototype.clear=function(){var a=this;_.La(this.items,function(b,c){a.items[c]={}});_.La(this.H,function(b,c){a.H[c]={}})};gvc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var mvc=function(a,b,c){var d=this;this.vt=b;this.xv=c;this.Hd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=mvc.prototype;_.g.ly=function(){return this.Hd};
_.g.Zj=function(a){var b=new Map;a=_.m(a.jn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Hd.has(c)&&b.set(c,this.Hd.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(nvc(a)){for(var d=_.m(this.Hd.values()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&(void 0===b||Xuc(e.V,b))&&c.push(e);this.xv.sort(a,c)}return c};_.g.get=function(a){return this.Hd.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Hd.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,ovc(this,a.H)?(this.Hd.delete(a.id),a.H.count--):this.Hd.set(a.id,a.H)):(this.Hd.delete(a.id),a.O.count--)};var ovc=function(a,b){return 1<b.$b()||Xuc(b.V,2)||b.getItem().GI()||Goc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
mvc.prototype.rJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b=b.value,ovc(this,b)&&(this.Hd.delete(b.getId()),b.count--)};var pvc=function(a,b,c,d){this.Kg=a;this.W=b;this.O=c;this.V=d},rpc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),jvc(a.V,[b.getItem()],zsc(a.Kg)),b):null};pvc.prototype.H=function(a){return(a=rpc(this,a))?a.getItem():null};
var qvc=function(a,b){var c={};b.forEach(function(d){var e=rpc(a,d);e&&(c[d]=e)});return c},rvc=function(a,b){return _.Na(qvc(a,b),function(c){return c.getItem()})},svc=function(a,b){b=RL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};pvc.prototype.query=function(a){return svc(this,a).map(function(b){return b.getItem()})};pvc.prototype.Ed=function(){return this.O.ly().size};
var tvc=function(a){var b=new Set;a=_.m(a.O.ly().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.fl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||bL(e));(d=c.wm())&&b.add(d.getId()||bL(d));(d=c.Tt())&&b.add(d.getId()||bL(d));(d=c.Fq())&&b.add(d.getId()||bL(d));(c=c.lD())&&b.add(c.getId()||bL(c))}return b.size},uvc=function(a){var b=new _.Wo;_.xK(b,"hidden",_.Q(a,4));a=_.Q(a,6);null!=a&&_.xK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
vvc=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}},wvc=function(a){var b=_.rdc(),c={};b&&(c.numeric=b);this.H=_.sdc(a,c)};wvc.prototype.compare=function(a,b,c){b=xvc(b);c=xvc(c);a=a.wc();var d=vvc(a);if(a&&d){d=yvc(this,a);var e=4===a.getType()?this.H:_.Ea;return zvc(a,d,e,b,c)}return _.Ea(b.getId(),c.getId())};
wvc.prototype.sort=function(a,b,c){a=a.wc();var d=vvc(a);a&&d&&(d=yvc(this,a),d=Avc(b,d),_.Ga(b,Bvc(this,a,d)));c&&0<c&&_.Aa(b,c,b.length-c)};
var xvc=function(a){return a instanceof _.el?a:a.getItem()},yvc=function(a,b){b=vvc(b);return _.M(a.O,a,b,_.Ea)},Avc=function(a,b){var c={};a.forEach(function(d){d=xvc(d);var e=d.getId();c[e]=b(d)});return c},Bvc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ea;d=xvc(d);e=xvc(e);return zvc(b,function(h){return c[h.getId()]},f,d,e)}},zvc=function(a,b,c,d,e){var f=1===a.qf()?1:-1;if(_.Q(a,3)){a=fL(d,!0);var h=fL(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ea(d.getId(),
e.getId()))};wvc.prototype.O=function(a,b,c){for(var d=Cvc(a[0],c),e=1;e<a.length;e++){var f=Cvc(a[e],c);d=1===b(f,d)?f:d}return d};
var Cvc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.bB()||!1;case 12:return b.nz()||0;case 11:return b.rB()||0;case 10:return b.vq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.vy()||0;case 57:return _.y(b,62)||0;case 32:return b.Su()||0;case 9:return b.YC()||0;case 67:return b.RJ()||0;case 98:return b.Zv()||0;default:return""}},Dvc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.xq=_.ZI(_.AI(b));
a=_.PI(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};Dvc.prototype.Eu=function(a){this.rootId=a||""};
var RL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Gl(b).filter(function(d){return"root"===d.Za()}).forEach(function(d){return d.Jb(a.rootId)});_.of(b,_.Fl(b).map(function(d){d.Jb(d.Za().toLowerCase());return d}));c&&_.El(b,a.fields);b.O().sort();return b},xL=function(a,b,c){if(b instanceof _.hf){b=RL(a,b);var d=_.hkc(b)}else if(b instanceof _.yA)d=b.jn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.uI)return d=uvc(b),d+"|tdList";if(b instanceof _.qG)return d=
b.jn().sort().join(","),b.O().length&&(d+="|"+bvc(b.O())),d+"|tdMap";throw Error("We");}return 3===c?d:d+"|"+Evc(a,b.O(),2===c)},Evc=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.nd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.cJ({fields:[].concat(_.nd(f)),xq:a.xq}));e.size&&(d=d+" + "+_.cJ({fields:[].concat(_.nd(e)),xq:a.xq}));
return d};Dvc.prototype.equals=function(a,b,c){var d;c&&(d=3);return xL(this,a,d)===xL(this,b,d)};
var jtc=function(a){if(!a.jn().every(function(b){return!_.ie(b)}))throw new _.qc("Invalid ids for FindByIdsRequest");},Gvc=function(a,b,c){if(_.zJ(b))throw new _.qc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");Fvc(a,b,c)},Fvc=function(a,b,c){var d;a.O||(d=_.$I(3));if(b.getId())throw new _.qc("Use findByIds() for find by id queries.",d?d:_.$I(3));if(!b.Ei()||0>=b.Ei())throw new _.qc("A positive limit is required on an ItemQueryRequest.",d?d:_.$I(3));
_.Td(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),Hvc(a,d,b.O()));if(c=(c=b.wc())&&vvc(c))d=b.O().length?b.O():a.fields,Hvc(a,d,c);if(_.yJ(b)){if(a.xq)throw new _.qc("User must be authenticated for a Quick Access request.");if(!Ivc(a)&&20<b.Ei())throw new _.qc("Limit must be in the range [1, 20].");c=2===_.kK(b);d=_.Td(b,33).length;if(c&&1!==d||d&&!c)throw new _.qc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Nj(_.qb(_.Lj(_.qb(_.qb(_.qb(_.hI(_.qb(_.Lj(_.hI(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.hf;if(!_.Uj(c,d))throw new _.qc("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: "+Wsc(d,c));}else if(_.S(b,74,!1))throw new _.qc("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.AJ(b)){if(a.xq)throw new _.qc("User must be authenticated for a DrivePriority request.");if(2===
_.kK(b))throw new _.qc("Team Drive corpora is not valid for a Drive Priority request.");a=_.qb(_.qb(_.qb(_.Lj(_.hI(b.clone(),1),30),32),45),52);b=new _.hf;if(!_.Uj(a,b))throw new _.qc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+Wsc(b,a));}},Jvc=function(a,b,c){if(!_.zJ(b))throw new _.qc("Expected a PeoplePredict request.");Fvc(a,b,c);if(a.xq)throw new _.qc("User must be authenticated for a People Predict request.");
if(2===_.kK(b))throw new _.qc("Team Drive corpora is not valid for a People Predict request.");a=_.qb(_.qb(_.qb(_.Lj(_.hI(b.clone(),1),30),32),45),49);b=new _.hf;if(!_.Uj(a,b))throw new _.qc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+Wsc(b,a));},Hvc=function(a,b,c){var d;a.O||(d=_.$I(3));if(!koc(b,c,_.mhc)){var e=_.cJ({fields:c,xq:a.xq}),f=_.cJ({fields:b,xq:a.xq});a=_.cJ({fields:loc(c,
b),xq:a.xq});throw new _.qc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.$I(3));}},Ivc=function(a){return 200<=_.mK(a.H)&&300>_.mK(a.H)},Kvc=function(a){var b=new Set;a=_.m(_.Fl(a));for(var c=a.next();!c.done;c=a.next())switch(_.BOa(c.value.Za())){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("DRIVE_FORM")}return[].concat(_.nd(b))},Lvc=function(a){switch(_.mK(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"}},Mvc=function(a){_.N.call(this);this.H=a};_.Sf(Mvc,_.N);_.g=Mvc.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.rO=function(a){this.H.addCallback(function(b){b.rO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();Mvc.wb.Ya.call(this)};
var Noc=function(a){_.Wy.call(this);this.H=a;this.V=_.Ce(this.H,"message",this.job,!1,this)};_.Sf(Noc,_.Wy);_.g=Noc.prototype;_.g.Od=null;_.g.send=function(a,b){var c=[];b=this.yya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.jgc&&(a=(0,_.Fi)(a));this.H.postMessage(a,c)};
_.g.job=function(a){a=a.Be;var b=a.data;if(_.jgc)try{b=JSON.parse(b)}catch(e){return}if(_.Ba(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.RBa(a.ports||[],b),d.GEa),null!=b&&d.callback(b))}};
_.g.yya=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)?b.map((0,_.M)(this.yya,this,a)):b&&b.constructor==Object?_.Na(b,function(c,d){c=this.yya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.RBa=function(a,b){return Array.isArray(b)?b.map((0,_.M)(this.RBa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Na(b,function(c,d){return this.RBa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.xi(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;Noc.wb.Ya.call(this)};
var Qoc=function(a,b){if("*"==b)return new Mvc(_.ji(Error("Xe")));var c=new _.Bi(50),d=_.Db(_.aa,c),e=new _.ai(d);_.ci(e,d);c.start();_.Ce(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new Noc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new Mvc(e)},Nvc=function(a){_.N.call(this);this.H=new _.vec(a);this.V={};this.O=_.xec(this.H,
"private");this.W=_.xec(this.H,"public");this.O.registerService("mics",(0,_.M)(this.Dlb,this),!0)};_.Sf(Nvc,_.N);_.g=Nvc.prototype;_.g.bFb=0;_.g.Ya=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.bFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Dlb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.M)(this.Clb,this,b),!0)};
_.g.Clb=function(a,b){a=a(b.data);var c=b.signature;_.Wh(a).then((0,_.M)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var Ovc=function(a,b){_.N.call(this);this.W=b;this.started=!1;this.V=new _.vec(a);this.Ma(this.V);this.H=new Nvc(_.xec(this.V,"direct"));this.Ma(this.H)};_.K(Ovc,_.N);Ovc.prototype.registerService=function(a,b){this.H.registerService(a,b)};Ovc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.Of)(d)})};
var Poc=function(a,b){Ovc.call(this,a,b);this.O=new Nvc(_.xec(this.V,"passthrough"));this.Ma(this.O)};_.K(Poc,Ovc);var SL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},TL=function(a,b,c,d){a.O.send(b,c||{},d||_.Of)};Poc.prototype.start=function(){this.started||(this.started=!0)};var Koc=[],Pvc=function(){_.Wy.call(this);this.H=null};_.K(Pvc,_.Wy);Pvc.prototype.send=function(a,b){_.T8a(this.H,a,b)};
var Roc=function(){this.O=new Pvc;this.H=new Pvc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},Qvc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},Rvc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&Joc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},Svc=function(a){var b=new Qvc(a.c,a.m,a.a,a.req);b.H=a.s;return b},Tvc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},Uvc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&Joc(a.data);return{d:a.data,err:a.error&&b?a.error.Lc():a.error,uid:a.O,s:b}},Vvc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.oc(JSON.parse(a.err)):c;a=new Tvc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},Ioc=function(a,b){this.H=a;this.KD=b};Ioc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.KD[b];return a};
Ioc.prototype.Lc=function(){for(var a={},b={},c=0;c<this.KD.length;c++){var d=this.KD[c],e=this.H[c];d instanceof Error?b[e]=_.NI(d).Lc():a[e]=d.Lc()}return{r:a,e:b}};Wvc=function(a,b){if(b){var c=[],d=[];_.La(a.r,function(e,f){c.push(f);d.push(new _.XJ(JSON.parse(e)))});_.La(a.e,function(e,f){c.push(f);e=new _.oc(JSON.parse(e));d.push(_.aJ(e))});return new Ioc(c,d)}return a};Ooc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
Xvc={dTb:0,zTb:1,sZb:3,F6b:5,Yhb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.kJ=function(a){_.J.call(this,a)};_.K(_.kJ,_.J);_.kJ.prototype.Bh=function(){return _.y(this,1)};_.kJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.nJ=function(a){_.J.call(this,a)};_.K(_.nJ,_.J);_.nJ.prototype.Cc=function(){return _.y(this,1)};_.nJ.prototype.ve=function(){return _.B(this,_.wf,3)};_.vJ=function(a){_.J.call(this,a)};_.K(_.vJ,_.J);_.vJ.prototype.Bh=function(){return _.y(this,1)};
_.vJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.wJ=function(a){_.J.call(this,a)};_.K(_.wJ,_.J);_.wJ.prototype.Bh=function(){return _.y(this,1)};_.wJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.xJ=function(a){_.J.call(this,a)};_.K(_.xJ,_.J);_.g=_.xJ.prototype;_.g.Cc=function(){return _.y(this,1)};_.g.zf=function(){return _.y(this,2)};_.g.getType=function(){return _.y(this,3)};_.g.Za=function(){return _.y(this,4)};_.g.Jb=function(a){return _.w(this,4,a)};
_.g.Ti=function(){return _.qb(this,4)};_.g.jh=function(){return _.P(this,4)};_.g.ve=function(){return _.B(this,_.wf,7)};_.EJ=function(a){_.J.call(this,a)};_.K(_.EJ,_.J);_.EJ.prototype.Cc=function(){return _.y(this,1)};_.EJ.prototype.ve=function(){return _.B(this,_.wf,2)};_.EJ.prototype.Ei=function(){return _.Vj(this,3,1E3)};_.EJ.prototype.ui=function(a){return _.w(this,3,a)};_.IJ=function(a){_.J.call(this,a)};_.K(_.IJ,_.J);_.IJ.prototype.ve=function(){return _.B(this,_.wf,1)};
var Yvc=function(){var a=new _.IJ,b=_.xf(new _.wf,301);return _.I(a,1,b)};_.IJ.prototype.yc=function(){return _.y(this,3)};_.Khc=function(a){_.J.call(this,a)};_.K(_.Khc,_.J);_.Khc.prototype.yc=function(){return _.y(this,1)};_.MJ=function(a){_.J.call(this,a)};_.K(_.MJ,_.J);_.MJ.prototype.Bh=function(){return _.y(this,1)};_.MJ.prototype.ve=function(){return _.B(this,_.wf,4)};var Zvc=function(a){_.J.call(this,a)};_.K(Zvc,_.J);$vc=function(a,b){return _.w(a,1,b)};_.lJ=function(a){_.J.call(this,a)};
_.K(_.lJ,_.J);_.lJ.prototype.getId=function(){return _.y(this,1)};_.lJ.prototype.Pb=function(a){return _.w(this,1,a)};_.BJ=function(a){_.J.call(this,a)};_.K(_.BJ,_.J);_.BJ.prototype.getId=function(){return _.y(this,1)};_.BJ.prototype.Pb=function(a){return _.w(this,1,a)};_.xhc=function(a){_.J.call(this,a)};_.K(_.xhc,_.J);_.Bhc=function(a){this.H=a;this.type=1};_.Chc=function(a){this.H=a;this.type=0};_.Jhc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.Mhc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};awc=function(a,b,c){_.zi.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.K(awc,_.zi);awc.prototype.HB=function(){return this.O};awc.prototype.hQ=function(){var a=this;if(this.W)return this.W;var b=_.Zh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);bwc(this,b);return b.promise};
awc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,cwc(this))};awc.prototype.va=function(){!1===this.O&&(this.log("Became authenticated."),this.O=!0,this.H=null,this.V=!1,this.timeout&&(_.n.clearTimeout(this.timeout),this.timeout=null),this.dispatchEvent(new otc("nb")))};
var dwc=function(a,b){a.ha=b},cwc=function(a){a.H||(a.H=new _.blc(5E3),a.timeout=_.n.setTimeout(function(){return ewc(a)},a.H.Za()))},ewc=function(a){bwc(a);a.H&&(_.cI(a.H),a.timeout=_.n.setTimeout(function(){return ewc(a)},a.H.Za()))},bwc=function(a,b){var c=_.Wh();a.ha&&(c=a.ha());c.then(function(){return fwc(a,b)})},fwc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Re(new _.Lhc)});b?c.then(function(){b.resolve($vc(new Zvc,1))},function(d){var e=_.DB(d).Qg;
d=0;_.wgc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.iq(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new Zvc;$vc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.DB(d);_.wgc(d.Qg)&&a.V&&(a.dispatchEvent(new otc("ob")),a.V=!1)})};awc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var gwc=function(a){return _.B(a,_.GI,3)||_.B(a,_.VJ,4)||_.B(a,_.LK,5)||_.B(a,_.PJ,6)||_.B(a,_.pJ,7)||_.B(a,_.iJ,8)||_.B(a,_.mJ,9)||_.B(a,_.QI,10)},hwc=function(a){_.J.call(this,a)};_.K(hwc,_.J);_.g=hwc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.Wz=function(){return _.y(this,3)};_.g.Le=function(){return _.y(this,4)};_.g.Mi=function(a){return _.w(this,4,a)};var iwc=function(a){this.Od=a;this.H=new Map;this.O=this.Od.W};
iwc.prototype.create=function(a,b){if(0!=Gsc(b)){var c=this.Od.H(106001);if(c){var d=Gsc(b),e=qL(c);_.w(e,2,d);d=qL(c);e=null;if(b instanceof _.AG||b instanceof _.yA||b instanceof _.hf||b instanceof _.CJ||b instanceof _.JD||b instanceof _.qG||b instanceof _.uI||b instanceof _.BI||b instanceof _.sG||b instanceof _.fA)e=b.ve();e=e&&_.S(e,2,!1);_.w(d,7,"boolean"==typeof e?e:void 0);d=qL(c);b=b instanceof _.hf?0<_.Gl(b).length:void 0;_.w(d,8,b);this.H.set(a,c)}}};
var jwc=function(a,b,c){if(a=a.H.get(b))a=qL(a),_.w(a,5,c)},kwc=function(a,b,c){(a=a.H.get(b))&&_.Q(qL(a),8)&&(a=qL(a),_.w(a,9,c))},lwc=function(a,b,c,d,e){var f=a.H.get(b);f&&(qL(f).Dc(c),qL(f).Li(d),null!=e&&(c=qL(f),_.w(c,6,e)),f.yj(),a.H.delete(b))},mwc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=Hsc(c);if(1==e||2==c)e=_.AK(_.mgc,c),d=qL(d),d=3==e||8==e?!_.Q(d,5):0!=e?_.Jgc.has(e):null,lwc(a,b,1,e,d)}},nwc=function(a,b,c){var d=a.O.Bb(c);d=_.AK(_.lgc,d||22);var e=Hsc(c);e=_.AK(_.mgc,
e);lwc(a,b,d,e,"undefined"!=typeof _.EK&&c instanceof _.EK||"undefined"!=typeof _.GK&&c instanceof _.GK||"undefined"!=typeof _.HK&&c instanceof _.HK?c.J_:null)},UL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(qL(d).Dc(c),d.yj(),a.H.delete(b))},owc=[2,4],VL=function(a){_.J.call(this,a,-1,owc)};_.K(VL,_.J);VL.prototype.Bb=function(){return _.y(this,1)};VL.prototype.Dc=function(a){return _.w(this,1,a)};VL.prototype.Xj=function(){return _.y(this,3)};
var pwc=[4,9],qwc=function(a){_.J.call(this,a,-1,pwc)};_.K(qwc,_.J);_.g=qwc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.GVa=function(){return _.y(this,2)};_.g.TLa=function(){return _.y(this,3)};_.g.$rb=function(){return _.Qj(this,_.JI,4)};var rwc={m6b:0,P0b:1,S0b:2,Q0b:4,zZb:5,NWb:6,GZb:7,e1b:8},swc=function(a){_.J.call(this,a)};_.K(swc,_.J);swc.prototype.getUrl=function(){return _.y(this,1)};var WL=function(a){_.J.call(this,a)};_.K(WL,_.J);
var twc=function(a,b){return _.w(a,1,b)};WL.prototype.getName=function(){return _.y(this,2)};WL.prototype.hd=function(a){return _.w(this,2,a)};WL.prototype.getEmail=function(){return _.y(this,3)};var uwc=function(a,b){return _.w(a,3,b)};WL.prototype.lp=function(){return _.P(this,3)};var vwc=[1],wwc=function(a){_.J.call(this,a,-1,vwc)};_.K(wwc,_.J);var xwc=function(a,b){return _.Mj(a,1,b)},ywc=function(a){_.J.call(this,a)};_.K(ywc,_.J);_.g=ywc.prototype;_.g.Cc=function(){return _.y(this,1)};
_.g.Bb=function(){return _.y(this,2)};_.g.Dc=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.B(this,_.oc,3)};_.g.Je=function(a){return _.I(this,3,a)};_.g.ao=function(){return _.P(this,3)};var zwc=[2],XL=function(a){_.J.call(this,a,-1,zwc)};_.K(XL,_.J);XL.prototype.Bb=function(){return _.y(this,1)};XL.prototype.Dc=function(a){return _.w(this,1,a)};XL.prototype.ql=function(){return _.Qj(this,_.rG,2)};var Awc=function(a,b){return _.Mj(a,2,b)};
XL.prototype.Xj=function(){return _.y(this,3)};var Bwc=[1],Cwc=function(a){_.J.call(this,a,-1,Bwc)};_.K(Cwc,_.J);var Dwc=function(a,b){return _.Kj(a,1,b)},Ewc=function(a,b){this.O=a|0;this.H=b|0};Ewc.prototype.equals=function(a){return this===a?!0:a instanceof Ewc?this.O===a.O&&this.H===a.H:!1};Ewc.prototype.Ec=function(){return 31*this.O+17*this.H|0};
var Fwc=function(a,b){return new Ewc(a,b)},Gwc=function(a,b){b=~b;a?a=~a+1:b+=1;return Fwc(a,b)},Hwc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?Gwc:Fwc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},Iwc=function(){this.H=this.W=this.O=this.V=null},Jwc=function(a,b,c){this.id=a;this.O=b;this.H=c},Kwc=function(a,b){return new Jwc((a?a:b).getId(),a,b)},YL=function(a){return new Jwc(a.getId(),null,a)},Lwc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},ZL=function(a,b,c){if(a.started)throw Error("ff");c={Do:new Set(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.O.get(d)||[];e.push(c);a.O.set(d,e)}},$L=function(a,b){if(!a.started)throw Error("gf");if(!a.enabled)throw Error("hf`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.Do.delete(b);if(0===e.Do.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.aJ(f):null,f;}}}};Lwc.prototype.H=function(a){return this.V.has(a)};Lwc.prototype.start=function(){this.started=!0};Lwc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var Mwc=function(){_.zi.call(this);this.H=Date.now()};_.K(Mwc,_.zi);Mwc.prototype.lF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var Nwc=function(a,b){this.vt=a;this.xv=b;this.WG=!0;this.V7=!1;this.Ke=0},aM=function(a,b){(a.WG=b)||a.rJ()};_.g=Nwc.prototype;
_.g.Aka=function(a,b){if(5===this.BE(a))throw Error("jf");for(var c=[],d=_.m(this.ly()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&c.push(e);this.xv.sort(a,c,b);return c};_.g.Ed=function(){return this.ly().length};_.g.Zj=function(a,b){b=this.Aka(a,b);b=hpc(b);var c=new _.rB;c.Uw(b);c.Dc(this.FN(a)?6:1);return c};_.g.update=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(!b&&!c)return!1;b&&this.iJ(a.O);c&&this.rR(a.H);return!0};
_.g.BE=function(a){return this.WG&&this.V7?nvc(a)?1:5:5};_.g.WW=function(){this.V7=!0};_.g.xs=function(a){return!!a&&this.WG};_.g.Li=function(a){this.Ke=a};_.g.Ze=function(){return this.Ke};var bM=function(a,b,c,d,e,f){f=void 0===f?"":f;Nwc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Hd=[];this.O={};this.request=RL(c,d,!0);this.W=xL(c,d);this.H=!e;Owc(this,e);this.V=function(k,l){return h.xv.compare(h.request,k,l)}};_.K(bM,Nwc);_.g=bM.prototype;_.g.qd=function(){return this.request};
_.g.QM=function(){return this.W};_.g.rR=function(a){var b=this.O[a.getId()];b&&this.iJ(b);$nc(this.Hd,a,this.V);this.O[a.getId()]=a;a.count++;this.Hd.length>this.request.Ei()&&(this.iJ(_.ia(this.Hd)),this.H=!1)};_.g.iJ=function(a){var b=this.Hd,c=_.Fa(b,a,this.V);0<=c&&_.sa(b,c);_.Va(this.O,a.getId());a.count--};_.g.rJ=function(){this.Hd.forEach(function(a){a.count--});this.Hd=[];this.O={}};_.g.ly=function(){return this.Hd};
_.g.BE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=koc(b,a,_.mhc);return b?this.H?1:6:5};_.g.Aka=function(a,b){if(5===this.BE(a))throw Error("jf");b=b?Math.min(b,this.Hd.length):this.Hd.length;return _.za(this.Hd,0,b)};_.g.xs=function(a){if(!Nwc.prototype.xs.call(this,a)||!QL(this.vt,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.ia(this.Hd);return!!b&&0>=this.V(a,b)};_.g.FN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.tl=function(a,b){var c=this,d=_.ia(this.Hd);!this.H&&d&&_.ma(a,function(e){return e.getId()===d.getId()})&&(b?(this.iJ(d),Owc(this,_.ia(a))):this.H=!0);_.Ia(a,function(e){c.update(YL(e))})};var Owc=function(a,b){b&&QL(a.vt,a.request,b.getItem())&&a.rR(b)};bM.prototype.qy=function(){return this.nextPageToken};var cM=function(a,b){Nwc.call(this,a,b);this.Hd=new Map};_.K(cM,Nwc);cM.prototype.rR=function(a){this.Hd.set(a.getId(),a);a.count++};
cM.prototype.iJ=function(a){this.Hd.delete(a.getId());a.count--};cM.prototype.rJ=function(){for(var a=_.m(this.Hd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Hd=new Map};cM.prototype.ly=function(){return Array.from(this.Hd.values())};var dM=function(a,b){cM.call(this,a,b);this.WW()};_.K(dM,cM);_.g=dM.prototype;
_.g.BE=function(a){var b=this,c=cM.prototype.BE.call(this,a);if(5===c)return c;if(0<_.Td(a,33).length)return 5;a=_.Gl(a);return 0<a.length?a.every(function(d){return(d=b.Hd.get(d.Za()))&&!d.getItem().yc()&&d.H})?1:5:5};_.g.xs=function(a){return cM.prototype.xs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().yc())};_.g.Aka=function(a,b){for(var c=[],d=_.m(this.ly()),e=d.next();!e.done;e=d.next())e=e.value,QL(this.vt,a,e.getItem())&&c.push(e);this.xv.sort(a,c,b);return c};_.g.qd=function(){return new _.hf};
_.g.QM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.FN=function(){return!1};var Pwc=function(a){return[].concat(_.nd(a.Hd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},eM=function(a,b,c,d){cM.call(this,a,b);var e=this;this.H=d;ZL(c,["aU7Ts","BNEDtc"],function(){return e.WW()})};_.K(eM,cM);
eM.prototype.BE=function(a){var b=this,c=cM.prototype.BE.call(this,a);if(5==c)return c;if(0<_.Td(a,33).length)return 5;a=_.Gl(a);return 0<a.length&&!a.every(function(d){d=b.Hd.get(d.Za());return null!=d&&!d.getItem().yc()&&toc(d.getItem())&&!_.Q(d.getItem(),108)})?5:1};eM.prototype.xs=function(a){return cM.prototype.xs.call(this,a)&&Qwc(this,a.getItem())};var Qwc=function(a,b){if(_.Q(b,31)||!a.V7)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Hd.get(d);return d==c||null!=e&&toc(e.getItem())})};
_.g=eM.prototype;_.g.WW=function(){cM.prototype.WW.call(this);for(var a=_.m(this.Hd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;Qwc(this,c.getItem())||(c.count--,this.Hd.delete(b))}};_.g.qd=function(){return new _.hf};_.g.QM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.FN=function(){return!1};
var Rwc=/^[\x00-\x7F]*$/,fM=function(){this.H=[this.W,this.O,this.V,this.ha,this.cEb,this.ZDb,this.PDb,this.SDb,this.RDb,this.WDb,this.NDb,this.QDb,this.XDb,this.YDb,this.$Db,this.ODb,this.bEb,this.aEb,this.KDb,this.UDb,this.TDb,this.LDb,this.VDb,this.dEb,this.MDb];this.rootId=""};fM.prototype.Eu=function(a){this.rootId=a||""};
var nvc=function(a){return Swc(a)&&0==_.Td(a,40).length&&void 0==_.y(a,41)},Swc=function(a){var b=!0;_.Qj(a,_.kf,13).forEach(function(d){"me"!=d.Za()&&(b=!1)});var c=a.wc();c=!c||5!=c.getType();return 0==_.Qj(a,_.Al,5).length&&0==_.Qj(a,_.kf,14).length&&0==_.Qj(a,_.kf,15).length&&!_.P(a,58)&&!_.Q(a,18)&&!_.Q(a,34)&&0==_.Qj(a,_.vl,35).length&&0==_.Qj(a,_.vl,38).length&&c&&b&&0==_.Td(a,39).length&&!_.y(a,42)&&0==_.Qj(a,_.ul,44).length&&!_.yJ(a)&&!_.zJ(a)&&!_.AJ(a)&&0==_.Qj(a,_.wl,57).length&&Twc(a)&&
!_.B(a,_.Hoa,59)&&null==_.Q(a,60)&&0==_.Qj(a,_.kf,68).length&&0==_.Qj(a,_.kf,67).length&&null==_.Q(a,69)&&!_.Q(a,73)},Twc=function(a){return _.Qj(a,_.Bl,4).every(function(b){b=b.Za();return!b||!b.includes("*")&&Rwc.test(b)})};fM.prototype.N8=function(a,b){var c=this;return b.filter(function(d){return QL(c,a,d)})};var QL=function(a,b,c){return!!c&&Uwc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},Uwc=function(a,b){return b.getId()!=a.rootId&&!PL(b)};
fM.prototype.W=function(a,b){var c=!0,d=_.Qj(a,_.Bl,4);if(!Twc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Za()){var f=_.S(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Za().toLowerCase();if(2==_.y(e,1))h=k==h,c=c&&(f?!h:h);else{e=[];if(0<=k.indexOf("-"))for(var l=RegExp("\\w*-[\\w-]*"),p=_.m(k.match(l)||[]),q=p.next();!q.done;q=p.next())e.push(q.value),k=k.replace(l,"");e.push.apply(e,_.nd(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.mg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.Pg(l)+"($|[^\\w])|(^|[ ])"+_.Pg(l)):new RegExp(_.Pg(l))),c=c&&(f?!l:l))}}}return c};
fM.prototype.O=function(a,b){var c=_.Fl(a),d=0,e=0,f=!1,h=!1;c=_.m(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.Za()){var l=b.getMimeType()||"";if(_.Q(k,4)){var p=b.Hf();l=p&&_.y(p,3)||""}p=_.S(k,2,!1);var q=k.Za();_.ZJ(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.Dj(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
fM.prototype.V=function(a,b){var c=!0;a=_.Qj(a,_.yl,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.vq();c=c&&Vwc(e,d)}return c};fM.prototype.ha=function(a,b){var c=!0;a=_.Qj(a,_.yl,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.nz();c=c&&Vwc(e,d)}return c};var Vwc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0};
_.g=fM.prototype;_.g.cEb=function(a,b){var c=a.Xh();a=(a=_.kK(a))&&(2==a||3==a);return null==c||c==!!b.Xh()&&(!c||1==b.Yo()||!!a)};_.g.ZDb=function(a,b){return null==_.Q(a,10)||_.Q(a,10)==!!b.bB()};_.g.PDb=function(a,b){return null==_.Q(a,11)||_.Q(a,11)==!!_.Q(b,6)};_.g.SDb=function(a,b){a=_.Gl(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Za()){var d="root"==c.Za()&&this.rootId||c.Za();d=b.mk().includes(d);if(_.S(c,2,!1)?d:!d)return!1}return!0};
_.g.RDb=function(a,b){a=_.Qj(a,_.kf,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Za()){var d=1==b.Yo();if(_.S(c,2,!1)?d:!d)return!1}return!0};_.g.WDb=function(a,b){return null==_.Q(a,16)||(_.Q(a,16)?null!=b.vy():!0)};_.g.NDb=function(a,b){var c=_.Q(a,17);a=(a=_.kK(a))&&(2==a||3==a);return null==c||c==!!b.GI()&&(!c||1==b.Yo()||!!a)};_.g.QDb=function(a,b){b=Eoc(b);return null==_.Q(a,19)||_.Q(a,19)==!!_.bl(b)};
_.g.XDb=function(a,b){var c=_.bb(_.Td(b,56));a=_.Qj(a,_.jK,25);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};_.g.YDb=function(a,b){if(0==a.zB().length)return!0;var c=_.bb(b.zB().map(function(d){return _.y(d,1)}));a=_.bb(a.zB().map(function(d){return _.y(d,1)}));return _.Oa(a,function(d,e){return c[e]})};_.g.$Db=function(a,b){a=_.Td(a,33);return!a.length||a.includes(b.yc()||"")};_.g.ODb=function(a,b){var c=_.bb(_.Td(b,50));a=_.Qj(a,_.zl,37);return 0==a.length?!0:a.every(function(d){return c[d.Za()]})};
_.g.bEb=function(a,b){return _.y(a,41)?(b=_.B(b,_.eK,86),null!=b&&_.y(a,41)==_.y(b,3)):!0};_.g.aEb=function(a,b){if(_.Td(a,40).length){if(b=_.B(b,_.eK,86)){var c=_.bb(_.Td(b,2));return _.Td(a,40).some(function(d){return c[d]})}return!1}return!0};_.g.KDb=function(a,b){var c=_.kK(a);return 1==c?(b=_.Q(b,31),!!_.Gl(a).length||!!_.Qj(a,_.vl,35).length||1==_.Q(a,18)||_.yJ(a)||_.zJ(a)||_.AJ(a)||!!a.Jp()||null==b||b):2==c?!!b.yc():!0};
_.g.UDb=function(a,b){return _.yJ(a)?!_.P(b,100)||b.Xh()?!1:_.S(a,74,!1)?!!_.Q(_.hl(b),4):!!_.Q(_.hl(b),3):!0};_.g.TDb=function(a,b){return _.zJ(a)?!!_.il(b).length&&!b.Xh():!0};_.g.LDb=function(a,b){return _.AJ(a)?!!_.jl(b).length&&!b.Xh():!0};_.g.VDb=function(a,b){return _.P(a,50)?_.S(a,50,!1)?_.P(b,101)&&0!==_.y(b,101):!_.P(b,101):!0};_.g.dEb=function(a,b){a=a.Jp();return!a||_.Td(b,120).includes(a)};
_.g.MDb=function(a,b){b=_.B(b,_.cK,138);if(null==_.Q(a,65)||null==b)return!0;b=2==_.y(b,1);return _.Q(a,65)==b};var gM=function(a,b,c,d){d=void 0===d?5E3:d;cM.call(this,a,b);this.teamDriveId=c;this.limit=d};_.K(gM,cM);_.g=gM.prototype;
_.g.BE=function(a){var b=this,c=cM.prototype.BE.call(this,a);if(5==c)return c;c=_.Gl(a);var d=c.every(function(e){var f=e.Za();return(null!=b.Hd.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Td(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.xs=function(a){return cM.prototype.xs.call(this,a)&&!!a&&a.getItem().yc()==this.teamDriveId&&!PL(a.getItem())};_.g.FN=function(){return!1};_.g.qd=function(){var a=new _.hf;_.Il(a,[this.teamDriveId]);_.Jl(a,2);return a};
_.g.QM=function(){return null};_.g.yc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Wwc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.hf;_.w(a,48,!0);b=new _.bd;_.cd(b,11);_.dd(b,2);_.jf(a,b);this.ma=RL(this.W,a,!0)};
Wwc.prototype.add=function(a){a instanceof eM?this.H=a:a instanceof dM?this.O=a:a instanceof bM?(this.log("Adding new cache hint for "+xL(this.W,a.qd(),2)),this.ha.push(a)):a instanceof gM&&this.V.push(a)};
Wwc.prototype.remove=function(a){var b=this;if(a instanceof eM)this.H&&(aM(this.H,!1),this.H=null);else if(a instanceof dM)this.O&&(aM(this.O,!1),this.O=null);else if(a instanceof bM){var c=_.ka(this.ha,function(d){return b.W.equals(d.qd(),a.qd())});0<=c&&(aM(this.ha[c],!1),_.sa(this.ha,c))}else a instanceof gM&&(c=_.ka(this.V,function(d){return b.W.equals(d.qd(),a.qd())}),0<=c&&(aM(this.V[c],!1),_.sa(this.V,c)))};
var Xwc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.ya(b,_.xa(a.ha));_.ya(b,_.xa(a.V));return b},Ywc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.qd().clone(),_.qb(c,32),_.Nj(c,26),!_.Uj(a.ma,c)):!0})};Wwc.prototype.VV=function(){return _.xa(this.V)};var Zwc=function(a,b){return _.jg(a.V,function(c){return c.yc()===b})},$wc=function(a,b){return Ywc(a).find(function(c){return a.W.equals(c.qd(),RL(a.W,b,!0))})};
Wwc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var axc=function(a,b){_.ri.call(this,"Ib");this.ids=a;this.error=b};_.K(axc,_.ri);axc.prototype.getError=function(){return this.error};axc.prototype.H=function(){return this.ids};var bxc=function(a){_.ri.call(this,"Jb");this.people=a};_.K(bxc,_.ri);bxc.prototype.getPeople=function(){return this.people};var cxc=function(a){_.ri.call(this,"Kb");this.people=a};_.K(cxc,_.ri);
cxc.prototype.getPeople=function(){return this.people};var exc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Ke=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);dxc(this)};exc.prototype.Ze=function(){return this.Ke};
var fxc=function(a){return 0===a.Ke?1:2===a.Ke||(1===a.Ke||4===a.Ke)&&(a.person.lp()||a.O)?3:2},gxc=function(a,b,c){if(_.y(b,1)!==_.y(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=fxc(a),e=a.Ze();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=uwc(b.clone(),a.getEmail(b)),e=!_.Uj(a.person,b),a.person=b,a.Ke=c,dxc(a),e||d!==fxc(a);if(4===c)return a.Ke=c,dxc(a),d!==fxc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(uwc(a.person,a.getEmail(b)),!0):!1};
exc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var dxc=function(a){1===a.Ke?(a.W=Date.now(),a.V=null):4===a.Ke&&(a.V=Date.now())},ixc=function(a,b,c,d){_.zi.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.rI(function(){return hxc(e)},100,this)};_.K(ixc,_.zi);ixc.prototype.$g=function(a){a&&_.FI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.qe())};
var hxc=function(a){a.ha.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};ixc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Re;var e=new _.HJ;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Qj(c,WL,1);b.dispatchEvent(new bxc(c))},function(c){c=_.DB(c);b.dispatchEvent(new axc(a,c))})};
ixc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var lxc=function(a,b,c,d,e){_.zi.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.ka=b;this.ha=d;this.ta=_.Vj(_.B(a,urc,85)||new urc,1,864E5);this.W=new ixc(a,b,c,e);this.ma=new _.$D(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:tL(h,106015);if(k){h=_.B(_.zK(k),bsc,11);if(!h){h=new bsc;var l=_.zK(k);_.I(l,11,h)}h=_.w(h,1,f.H.size);_.w(h,2,f.O.size);k.yj()}},500,this);this.Sc.listen(this.W,"Jb",function(h){h=h.getPeople();jxc(f,
h,1);f.ma.qe()});this.Sc.listen(this.W,"Ib",function(h){kxc(f,h)})};_.K(lxc,_.zi);lxc.prototype.get=function(a){var b=this.H.get(a);return b?(mxc(this,b)&&nxc(this,a),b):null};var nxc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.$g(b);var c=new _.En;a.V.set(b,c);return c.promise};lxc.prototype.Sb=function(a){var b=this;return oxc(this,a)?Promise.resolve(this.H.get(a)):nxc(this,a).then(function(){return b.H.get(a)})};
lxc.prototype.vc=function(){return 0===this.H.size};lxc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var pxc=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return 3===fxc(b)&&4!==b.Ze()}).map(function(b){return b.person.clone()})},qxc=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},rxc=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.H.delete(b),0===[].concat(_.nd(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},jxc=function(a,b,c){if(![1,2].includes(c))throw Error("kf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(rwc)[c]+".")),sxc(a,b,c))},uxc=function(a,b,c,d){0!==b.length&&txc(a,b,c,void 0===d?0:d)},oxc=function(a,b){b=a.H.get(b);return!(!b||3!==fxc(b)||mxc(a,b))},txc=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.y(f,1),k=a.H.get(h);if(k)gxc(k,f,d)&&(e=!0),c&&k.H.add(c);else if(4!==d){e=!0;k=a;var l=d,p=c;1!==l&&nxc(k,_.y(f,1));l=new exc(f,p,l);k.H.set(_.y(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},mxc=function(a,
b){switch(b.Ze()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};lxc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var kxc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():twc(new WL,c)});sxc(a,b,4)},sxc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}txc(a,b,void 0,c)&&a.dispatchEvent(new cxc(b))},vxc=function(a,b,c,d,e,f){_.zi.call(this);var h=this;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.H=new lxc(a,b,c,e,f);this.O=_.PI(a)||new _.ygc;this.Sc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.K(vxc,_.zi);vxc.prototype.$O=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=wxc(this,[c]).map(function(e){return xxc(b,e)});uxc(this.H,d,a.H.getId(),this.Ze(_.y(c,82)))}a.O&&rxc(this.H,a.id,yxc(this,a))};vxc.prototype.Ze=function(a){return _.Qgc.get(a)||0};
var yxc=function(a,b){var c=zxc(a,b.O),d=zxc(a,b.H);return c.filter(function(e){return!d.includes(e)})},zxc=function(a,b){return b?Axc(a,[b.getItem()]):[]},Cxc=function(a,b){b=b.getUser();uxc(a.H,[xxc(a,b)],"ACCOUNT");Bxc(a,b)},Exc=function(a,b){var c=_.Qj(b,_.qK,2).map(function(d){var e=_.B(d,_.Kk,9,1);return a.H.Sb(bL(e)).then(function(){return void Dxc(a,[e])})});return Promise.all(c).then(function(){return b})},Fxc=function(a,b){Dxc(a,wxc(a,b))},Dxc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,bL(c)&&Bxc(a,c)},Gxc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,bL(f)&&(d.add(bL(f)),uxc(a.H,[xxc(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Sb(h)})).then(function(){return Dxc(a,b)})},Ixc=function(a,b){return Axc(a,[b]).some(function(c){return!Hxc(a,c)})},Hxc=function(a,b){return oxc(a.H,b)},Axc=function(a,b){var c=new Set;a=wxc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=bL(b.value))&&c.add(b);return[].concat(_.nd(c))},
wxc=function(a,b){return b.map(function(c){var d=c.Yv();d=d?[].concat(_.nd(d.eR()),_.nd(_.Qj(d,_.Kk,3))):[];var e=c.Hf();e=(e=e&&_.Yd(e))?wxc(a,[e]):[];return[].concat(_.nd(_.fl(c)),[c.wm(),c.Tt(),c.Fq(),c.lD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!bL(c)})};vxc.prototype.Gd=function(a){return qxc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Jxc=function(a){return xwc(new wwc,pxc(a.H))},Kxc=function(a,b){return b.map(function(c){c=c.clone();var d=wxc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.qb(e,3),_.qb(e,8),_.qb(e,5);return c})},Mxc=function(a,b){return b.some(function(c){return Lxc(a,c)})},Lxc=function(a,b){return wxc(a,[b]).some(function(c){return _.P(c,3)||c.lp()||_.P(c,5)})},Bxc=function(a,b){var c=a.H.get(bL(b));if(c){a=c.person.clone();var d=_.$hc(b.hd(a.getName()),a.getEmail());c=fxc(c);_.w(d,16,c);
(a=_.B(a,swc,4))&&b.Jn(a.getUrl())}},xxc=function(a,b){var c=bL(b);c=uwc(twc(new WL,c).hd(b.getName()),b.getEmail());var d=new swc;var e=_.y(b,5);d=_.w(d,1,e);c=_.I(c,4,d);_.S(a.O,9,!1)&&(_.qb(b,3),_.qb(b,8),_.qb(b,5));return c},Nxc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Nxc.prototype.Zf=function(){return this.suggestionSessionId};Nxc.prototype.$za=function(){return this.O};Nxc.prototype.vc=function(){return this.H};
var Oxc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Pxc=function(a,b){a=Oxc(a);b=Oxc(b);return!(!a||!b||a!==b)},Qxc=function(a){return a.Cc()+"_"+Oxc(a.getName())},Rxc=function(a,b){var c=_.Td(a,1).map(function(d,e){return b[Number(e)].value.u3a.promise});return Promise.allSettled(c).then(function(d){return _.Td(a,1).map(function(e,f){e=e.toString();var h=new ywc;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Je(f.reason.Qg));return e})})},hM=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Gy=new Set;this.status=6;this.V=new Map;this.Ke=0};_.K(hM,_.N);_.g=hM.prototype;_.g.ki=function(a){var b=this;this.Gy.add(a);return this.resize().then(function(){return b.oO(a)})};_.g.fk=function(a){this.Gy.delete(a);0===this.Gy.size&&this.dispose()};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};
_.g.qD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Lu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.EX():_.Wh([])};_.g.EX=function(){for(var a=[],b=_.m(this.Gy.values()),c=b.next();!c.done;c=b.next())a.push(this.oO(c.value));return _.Yh(a)};
_.g.DX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Fqa:c.Fqa},e=d.next())c.Fqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.DX(f.Fqa,a)}}(c)));return _.Yh(b)};_.g.rA=function(){for(var a=this,b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Gqa:c.Gqa},e=d.next())c.Gqa=e.value,b.push(this.O.then(function(f){return function(h){return void h.rA(f.Gqa)}}(c)));return _.Yh(b).then(function(){a.Li(0===a.Ze()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Gy.forEach(function(d){d=b.lka(d);c=Math.max(c,d.Ei?d.Ei()||0:0)});a.bfa(c)})};var Sxc=function(a,b){return b?a.V.get(a.Rja(b))||null:null};_.g=hM.prototype;_.g.UH=function(a,b){var c=Sxc(this,a);b=Yuc(c,b);this.V.set(this.Rja(a),b)};_.g.Rja=function(a){return a};_.g.ULa=function(){return[]};_.g.oO=function(a){var b=this;return this.O.then(function(c){return void c.oO(a,b.Zj())})};_.g.removeItem=function(){};
var iM=function(a,b){_.zi.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.K(iM,_.zi);var Txc=function(a){return!a.O||""!==a.pageToken};iM.prototype.$g=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Txc(this)?Uxc(this):_.Wh()};
var Uxc=function(a){a.O=!0;a.H=!0;var b=a.Sha(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Vxc(a,c)},function(c){return a.handleError(c)})},Vxc=function(a,b){a.H=!1;a.pageToken=a.fka(b);b=a.uja(b);b.forEach(function(c){return a.data.push(c)});a.T5(b);return a.data.length<a.limit&&Txc(a)?_.Yh([_.Wh(b),Uxc(a)]).then(function(c){return c[0].concat(c[1])}):_.Wh(b)};
iM.prototype.handleError=function(a){this.H=!1;a=_.NI(a);var b=new vL(a);this.VLa(b);this.dispatchEvent(b);return _.Xh(a)};iM.prototype.T5=function(){};iM.prototype.VLa=function(){};var Wxc=function(a,b,c){iM.call(this,c,function(d){return a.then(function(e){return e.Re(d)}).Gg(function(e){return void _.bJ(e)})});this.V=b};_.K(Wxc,iM);_.g=Wxc.prototype;_.g.Sha=function(a,b,c){a=a.clone();a.ui(b);return new _.zhc(a,c)};_.g.fka=function(a){return a.pageToken||""};_.g.uja=function(a){return a.response.O()};
_.g.T5=function(a){this.V.qD(a,!1,1)};_.g.VLa=function(a){this.V.BB(this.request,a)};var Xxc=function(a,b,c,d){hM.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.K(Xxc,hM);_.g=Xxc.prototype;_.g.refresh=function(){this.rA();this.H=new Wxc(this.ha,this.W,this.request);return this.H.$g(this.request.Ei()||100)};_.g.Dp=function(a){return this.data.find(function(b){return Pxc(b.getName(),a)})};
_.g.bfa=function(a){this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};_.g.Zj=function(){var a=this,b=ruc((new GL).Dc(this.status),this.data.filter(function(c){return a.W.SCa(c)}).map(function(c){return c.clone()}));return new _.FK(b,void 0,void 0,this.Ze())};_.g.qD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Cc()===d.request.Cc()});return hM.prototype.qD.call(this,a,b,c)};
_.g.Lu=function(a,b){b=void 0===b?1:b;if(!Coc(Sxc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Pxc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.UH(a.getName(),b);return!0};_.g.removeItem=function(a){_.va(this.data,function(b){return Pxc(b.getName(),a)})&&(this.V.delete(this.Rja(a)),this.EX())};_.g.Rja=function(a){return Oxc(a)};_.g.UH=function(a,b){this.Dp(a)&&hM.prototype.UH.call(this,a,b)};
_.g.ULa=function(a){var b=this;return a instanceof _.NJ&&a.Cc()===this.request.Cc()?a.zV().map(function(c){return b.Dp(c.Lm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var jM=function(){this.H=new Map};jM.prototype.ki=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Uha(b),this.H.set(c,d));d.ki(a);return e};var Yxc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Uwa(c),a.H.set(d,e));e.ki(b);return f};
jM.prototype.fk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.fk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Zxc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.fk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},$xc=function(a,b){return a.H.get(b)};jM.prototype.qD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.SCa(f)});this.H.forEach(function(f){f.qD(e,b,c)})};jM.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var ayc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.ULa(b)});return[].concat.apply([],_.nd(a))};jM.prototype.UH=function(a,b){this.H.forEach(function(c){c.UH(a,b)})};jM.prototype.SCa=function(){return!0};jM.prototype.BB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.DX(b)};jM.prototype.w2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Uha(b),f.Li(c),this.H.set(e,f),this.qD(a,d))};var byc=function(){this.V=new Set;this.O=0;this.H=[]},cyc=function(a,b){a.V.add(b)};
byc.prototype.W=function(a){this.V.delete(a)};var dyc=function(a,b){var c;if(c=b instanceof _.el)c=b.Zv(),c=!!(b.Xh()&&c&&c<=Math.max.apply(Math,_.nd([a.O].concat(_.nd(a.H)))));if(c)return!0;b=b instanceof _.el?b.getId():b;return a.V.has(b)},eyc=function(a,b){return _.va(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};byc.prototype.N8=function(a){var b=this;return a.filter(function(c){return!dyc(b,c)})};var fyc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new byc};_.K(fyc,jM);
var gyc=function(a,b){cyc(a.O,Qxc(b));(a=$xc(a,b.Cc()))&&a.EX()};_.g=fyc.prototype;_.g.getKey=function(a){return a.Cc()};_.g.Uha=function(a){return new Xxc(this.V,this.W,this,a)};_.g.Uwa=function(a){return new Xxc(this.V,this.W,this,a)};_.g.Po=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=$xc(this,b.getId()))&&b.refresh()};_.g.SCa=function(a){return!dyc(this.O,Qxc(a))};
var hyc=function(a,b){this.O=a;this.H=b},iyc=function(a,b){b=_.GXb(b);var c=new Wxc(a.O,a.H,b);new Promise(function(d,e){return c.$g(100).then(d,e)})},jyc=function(){this.Hd={}},kM=function(a,b){kyc(a,"subscribed");b&&kyc(a,b);return a.Hd[b||"subscribed"].ke.promise},kyc=function(a,b){a.Hd[b]||(a.Hd[b]={count:0,yR:[],z1a:[],ke:_.Zh()});a.Hd[b].count++},myc=function(a,b){b&&!lyc(a,b)||lyc(a,"subscribed")},lyc=function(a,b){if(!a.Hd[b])return!1;a.Hd[b].count--;0===a.Hd[b].count&&(a.Hd[b].ke.resolve({items:a.Hd[b].yR,
FKb:a.Hd[b].z1a}),_.Va(a.Hd,b));return!0};jyc.prototype.Po=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.yc();f&&f===e.Cc()&&c.Hd[f]&&c.Hd[f].z1a.push(e);c.Hd[d]&&c.Hd[d].yR.push(e)})};var nyc=function(a,b,c){iM.call(this,a,c);this.V=b};_.K(nyc,iM);nyc.prototype.Sha=function(a,b){return a.clone().ui(b)};nyc.prototype.fka=function(){return""};nyc.prototype.uja=function(a){return[a]};nyc.prototype.T5=function(a){this.V(a)};
var oyc=function(a,b,c,d){hM.call(this,a,d.clone());this.ha=b;this.H=this.OS=null;this.W=c};_.K(oyc,hM);oyc.prototype.refresh=function(){var a=this;this.rA();this.H=new nyc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Ei()||0)};oyc.prototype.bfa=function(a){1===this.status||this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};
oyc.prototype.Zj=function(){if(this.OS)return this.OS;var a=new JL;a.Dc(this.status);return a};oyc.prototype.Lu=function(a){this.OS=a;return!0};var pyc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.K(pyc,jM);_.g=pyc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Uha=function(a){var b=this;return new oyc(this.O,this.W,function(c){b.qD(c,!1)},a)};_.g.Uwa=function(){throw Error("lf");};
_.g.w2=function(a,b,c,d){var e=a[0].ql();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.fq()}).join(", "));jM.prototype.w2.call(this,a,b,c,d)};var qyc=function(a,b,c,d){_.zi.call(this);this.request=a;this.Ba=b;this.ta=c;this.va=d;this.ma=0;this.ke=null;this.O=new Set};_.K(qyc,_.zi);
qyc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Zh();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={Vqa:b.Vqa,iea:b.iea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.iea=d;b.Vqa=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Re(f.Vqa)}}(b)).then(function(f){return function(h){var k=f.iea;a.V(h);ryc(a,k)}}(b),function(f){return function(h){return void a.handleError(f.iea,h)}}(b))}return this.ke.promise};
var ryc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Da"),a.ke.resolve()):a.dispatchEvent("Aa")};qyc.prototype.handleError=function(a,b){b=_.DB(b);var c=b.Qg;5===c.$s()||4===c.rk()?(this.va.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),ryc(this,a)):(a=new vL(c,_.Vj(this.ta.eg(),1,1)),this.dispatchEvent(a),this.ke.reject(b))};
var syc=function(a){var b=new _.rG;b.Pb(a);return b},tyc=function(a,b,c,d,e){qyc.call(this,a.clone(),c,d,e);this.H=b};_.K(tyc,qyc);tyc.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.HWb(a.clone(),[c]);b.set(c,d)});return b};tyc.prototype.V=function(a){var b=[];a.HT().forEach(function(c){b.push(c)});this.H(b,!0)};tyc.prototype.ha=function(){this.H([],!1)};tyc.prototype.ka=function(a){this.H([syc(a)],!0)};
var uyc=function(a,b,c,d,e,f){hM.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.$k={};this.H=null};_.K(uyc,hM);uyc.prototype.refresh=function(){this.H=new tyc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.$g()};uyc.prototype.bfa=function(){this.H||this.refresh()};uyc.prototype.Zj=function(){var a=new _.DK;a.Dc(this.status);_.La(this.$k,function(b,c){a.HT().set(c,b||new _.rG)});a.Li(this.Ze());return a};
uyc.prototype.Lu=function(a){var b=a.getId();if(_.Uj(a,syc(a.getId()))){if(this.$k[b])return delete this.$k[b],!0}else if(0<=this.request.jn().indexOf(b))return this.$k[b]=a,!0;return!1};var vyc=function(a,b){a=a.getState();return null==a||b.getState()==a},wyc=function(a,b,c){iM.call(this,a,c);this.V=b};_.K(wyc,iM);wyc.prototype.Sha=function(a,b,c){a=a.clone();a.ui(b);return new _.Mhc(a,c)};wyc.prototype.fka=function(a){return a.pageToken||""};wyc.prototype.uja=function(a){return a.response.ql()};
wyc.prototype.T5=function(a){this.V(a)};var xyc=function(a){this.H=_.sdc(a,{numeric:!0})};xyc.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};xyc.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!==e?f=_.Ea(d,e)*(a?1:-1):f=_.Ea(b.getId(),c.getId())*(a?1:-1);return f};
var yyc=function(a,b,c,d,e){hM.call(this,a,e.clone());this.ha=b;this.$k=[];this.H=null;this.W=d;a=new xyc(c);b=(c=this.request.Dw())?c.getType():0;c=c?c.qf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};_.K(yyc,hM);yyc.prototype.refresh=function(){var a=this;this.rA();this.H=new wyc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Re(b)})});return this.H.$g(this.request.Ei()||0)};
yyc.prototype.bfa=function(a){1===this.status||this.H&&a===this.request.Ei()||(this.request.ui(a),this.H?this.H.$g(a):this.refresh())};yyc.prototype.Zj=function(){var a=new XL;a.Dc(this.status);Awc(a,this.$k.map(function(b){return b.clone()}));return new _.IK(a,void 0,1!==this.status&&Txc(this.H),this.Ze())};yyc.prototype.Lu=function(a){var b=_.va(this.$k,function(c){return c.getId()===a.getId()});return a&&vyc(this.request,a)&&!_.Uj(a,syc(a.getId()))?$nc(this.$k,a,this.ka):b};
var zyc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.K(zyc,jM);_.g=zyc.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Uha=function(a){var b=this;return new yyc(this.V,this.ha,nL(_.AI(this.O)),function(c){return void b.qD(c,!1)},a)};_.g.Uwa=function(a){var b=this;return new uyc(this.V,this.ha,this.O,this.W,function(c,d){return b.qD(c,d)},a)};
_.g.w2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));jM.prototype.w2.call(this,a,b,c,d)};
var Ayc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();eL(a)&&(c=(c=a.Hf())?_.y(c,3):"");fL(a)&&(a.Yi()&&(c+="+"+String(a.Yi())),a.Gj()&&(c+="+shared"));return _.WTa(c,b?"32":"16")},Byc=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("&")},Cyc=function(a,b){var c=_.Q(a,44),d=a.Hf();if(d){if(1!==_.$d(d))return null;c=(c=_.Yd(d))?_.Q(c,44):!0}if(!c)return null;c={};d=a.getId();eL(a)&&(d=soc(a));
d=[_.C(b,65,"https://lh3.google.com"),"u",_.OI(_.AI(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.ll(a));return d=Byc(d,c)},Dyc=function(a){this.H=a},Fyc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=Ayc(b,_.S(a.H,75,!1));_.w(b,21,d)}c.includes(18)&&_.Hic(b,jpc(b,a.H));c.includes(19)&&(d=Cyc(b,a.H),_.w(b,20,d));Eyc(a,b,c);if(eL(b)){if(d=(d=b.Hf())&&_.Yd(d)){if(c.includes(20)&&c.includes(3)){var e=Ayc(d,_.S(a.H,75,!1));_.w(d,21,e)}c.includes(18)&&_.Hic(d,jpc(d,
a.H));c.includes(19)&&(e=Cyc(d,a.H),_.w(d,20,e));Eyc(a,d,c)}_.Lic(b,!!b.Sx())}},Eyc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!fL(b)&&!eL(b)&&!_.Fd(e)&&(!b.L6()||2!==b.Yo()),d&&_.w(b,40,e),e&&c&&(a=a.H,d=b.getId(),eL(b)&&(d=soc(b)),c=new _.ij(_.C(a,16,"")+"/uc"),_.tj(c,"id",d),_.tj(c,"authuser",_.OI(_.AI(a))),_.tj(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.tj(c,"resourcekey",_.ll(b)),_.w(b,41,c.toString())))}},Gyc=function(a,b){this.cia="";
this.startTime=b||new Date;this.H=a;this.H$=lpc(a)};Gyc.prototype.clone=function(){return new Gyc(this.H,this.startTime)};var Hyc=function(){this.H=null;this.wY=[]},Iyc=function(a){return _.ef(a.wY,function(b){return _.Ya(b)})};Hyc.prototype.lN=function(){return this.H};
Hyc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new Iwc;e.V=Hwc(d.H$);var f=_.Ug().substring(0,8);d=lpc(f);f=(new hwc).Pb(f);f=_.w(f,2,d);b=_.w(f,3,b).Mi(c);this.wY.push(b);e.O=Hwc(d);e.H=Fwc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.kk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.lk(d,1,1);var k=d.O;Qpc(k,f);Qpc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.lk(d,2,1),k=d.O,Qpc(k,f),Qpc(k,h));f=e.W;null!=f&&(_.lk(d,3,5),Qpc(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.lk(d,4,1),h=d.O,Qpc(h,f),Qpc(h,e));e=_.mk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Jyc=function(){this.Db=[];this.O=this.H=0};Jyc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Db,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.O=c};
var Kyc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Db,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.O=e},Lyc=function(a){this.key=a;this.H=new _.Ngc;this.O=new _.Lgc(new _.Ngc,_.yma(a))};Lyc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=Vsc(b);c=Myc(this,a);return b.concat(c,Nyc(this,b,a,!0))};
var Oyc=function(a,b){var c=Nyc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Myc(a,c);if(b!==a)throw Error("mf");return c},Myc=function(a,b){a=_.Mgc(a.O,_.ihc(b));return Vsc(a)},Nyc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Jyc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Db,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.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.ihc(c.substring(8192*
e,8192*(e+1))),Kyc(b,a),d+=Vsc(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.n.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;Kyc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("nf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=Pyc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Pyc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=Pyc(d,e++),k=Pyc(d,e++),l=Pyc(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=Pyc(d,e++),k=Pyc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Pyc=function(a,b){return a[Math.floor(b/8192)][b%8192]},Qyc=function(a,b,c){this.data=a;this.qZa=b;this.H=c;this.isEncrypted=!1};Qyc.prototype.getData=function(){return this.data};
Qyc.prototype.Nm=function(){return this.qZa};var Ryc=function(a,b,c,d){this.O=a;this.H=_.Zh();this.np=!1;this.V=_.C(b,7,"");this.W=_.Vj(_.oL(b),6,2E7);this.KE=_.FI(b);this.ha=_.Vj(_.oL(b),12,0);this.ka=c;this.Od=d||null};Ryc.prototype.initialize=function(){var a=this;this.np||(this.np=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.ii(this.H.promise)};
Ryc.prototype.nB=function(a){if(a instanceof _.CB)return 0;if(a instanceof VL)return 1;if(a instanceof mtc)return 5;if(a instanceof LL)return 3;if(a instanceof wwc)return 6;throw new _.qc("Unsupported dataShard in getDataType");};var Syc=function(a){if(0==a)return _.CB;if(1==a)return VL;if(5==a)return mtc;if(3==a)return LL;if(6==a)return wwc;throw new _.qc("Unsupported dataType:"+a+" in getDataTypeCtor");};Ryc.prototype.Wn=function(a){if(a instanceof LL)return a.Wn()};
Ryc.prototype.Nm=function(a){if(a instanceof LL)return a.wd().length};Ryc.prototype.qv=function(a){if(a instanceof LL)return a=a.qv(),null!=a?a:void 0};
var Xyc=function(a,b,c,d){if(0==c.length)return _.Wh();for(var e=a.nB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.nB(h.value);var k=a.Wn(c[0]),l=0;3==e&&Tyc(a,c);var p=!!b;return Uyc(a,c).then(function(q){if(p){var r=a.Od?a.Od.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Nm())&&(z+=A);return z},0);var v=Vyc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Xh(Error("of"));z=_.m(z.entries());for(var A=z.next();!A.done;A=z.next()){var D=_.m(A.value);A=
D.next().value;D=D.next().value;A=q[A];A.data=D;A.isEncrypted=!0}return q});r&&(hsc(gsc(fsc(sL(r),_.AK(_.sgc,e)),_.AK(_.pgc,k)),!0),v.then(function(){var z=l;esc(sL(r),!0).Dt(z);r.yj()},function(){var z=l;esc(sL(r),!1).Dt(z);r.yj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return Wyc(a.O,q,e,k,p,d)})})},Uyc=function(a,b){return new _.Vh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Lc();p.length>a.W?e=!0:f.push(new Qyc(p,a.Nm(l),a.qv(l)))}});if(e){var h=
Error("pf"),k=new _.oc;_.LI(k,2);_.XI(k,23);_.w(k,21,h.message);_.iq(k);a.ka(k);d(h)}c(f)})},Tyc=function(a,b){a.Wn(b[0]);for(var c=_.m(b),d=c.next();!d.done;d=c.next())a.Wn(d.value);a.KE||Yyc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Wn()){d=[];for(var e=b[c].wd();e.length>a;){var f=_.Aa(e,a-1,a);f=Quc(new LL,f);d.push(f)}Quc(b[c],e);d.length&&_.Db(_.Aa,b,c+1,0).apply(null,d)}},lM=function(a,b,c,d,e,f){var h=_.Zh(),k;_.$h(a.H.promise.then(function(){return Zyc(a.O,c,d,e)}).then(function(l){var p=
l.map(function(r){return r.data}),q=new _.ai;if(l[0]&&l[0].y0){if(k=a.Od?a.Od.H(106022,f):null)hsc(gsc(fsc(sL(k),_.AK(_.sgc,c)),_.AK(_.pgc,d)),!0),q.Ym().then(function(r){var v=k;r=void 0!=r;esc(sL(v),r);_.jkc(v)});$yc(a,q,b,p)}else q.callback(p);return _.Wh(q)},function(){}).then(function(l){var p=[];if(l){var q=0;l=_.m(l);for(var r=l.next();!r.done;r=l.next())r=r.value,r=new (Syc(c))(JSON.parse(r)),q+=a.Nm(r),p.push(r);3==c&&(a.KE||azc(p),bzc(p));k&&sL(k).Dt(q)}h.resolve(p)}),function(){k&&k.yj()}).Gg(h.reject,
h);return h.promise},Yyc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Qj(a[b],_.Kk,2).length)return;b=new Map;for(var c=new Map,d=_.m(a),e=d.next();!e.done;e=d.next()){e=e.value.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Fic(f,czc(_.fl(f),b,c)),_.Gic(f,czc([f.wm()],b,c)[0]),_.Mic(f,czc([f.Tt()],b,c)[0]),_.Qic(f,czc([f.Fq()],b,c)[0]),_.Tic(f,czc([f.lD()],b,c)[0]),f=f.Yv())_.Bic(f,czc(f.eR(),b,c)),_.Cic(f,czc(_.Qj(f,_.Kk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});
_.Mj(a[0],2,h)}},czc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;f&&f.getId()?(e=f.getId(),b.has(e)?_.Uj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.Kk,f.Pb(e),c.set(e,f),d.push(f))):d.push(f)}return d},azc=function(a){var b=new Map,c=new Map;a[0]&&_.Qj(a[0],_.Kk,2)&&_.Qj(a[0],_.Kk,2).forEach(function(h){b.set(h.getId(),h);h=(new _.Kk).Pb(h.getId());c.set(h.getId(),h)});if(b.size){a=_.m(a);for(var d=a.next();!d.done;d=
a.next()){d=d.value;var e=d.wd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Fic(f,dzc(_.fl(f),b,c)),_.Gic(f,dzc([f.wm()],b,c)[0]),_.Mic(f,dzc([f.Tt()],b,c)[0]),_.Qic(f,dzc([f.Fq()],b,c)[0]),_.Tic(f,dzc([f.lD()],b,c)[0]),f=f.Yv())_.Bic(f,dzc(f.eR(),b,c)),_.Cic(f,dzc(_.Qj(f,_.Kk,3),b,c));_.Nj(d,2)}}},dzc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&e.getId()){var f=e.getId();_.Uj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);
return d},bzc=function(a){for(var b={},c=1;c<a.length;b={Rda:b.Rda},c++)if(!a[c].Wn()){for(var d=0,e=c;e<a.length&&!a[e].Wn();e++)d++;e=a[c-1];d=_.Aa(a,c,d);b.Rda=e.wd();d.forEach(function(f){return function(h){_.ya(f.Rda,h.wd())}}(b));Quc(e,b.Rda)}},Vyc=function(a,b,c){if(!_.xgc()&&a.V){var d=new Worker(_.Xga(_.Py(a.V)),void 0),e=new _.ai;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Id(Error(String(k)))},!1);
c=Dwc(new Cwc,c);d.postMessage({command:"encrypt",data:{request:c.Lc(),key:b}});return e}try{a=[];var f=new Lyc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.hi(a)}catch(k){h=_.ji(k)}return h},$yc=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.W){b.callback(void 0);return}if(!_.xgc()&&a.V){var f=new Worker(_.Xga(_.Py(a.V)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},
!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new Lyc(c);for(c=0;c<d.length;c++)a.push(Oyc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},ezc=/^[\w]+$/,fzc=function(a,b,c){return[a.ts(),a.clientId,b?"#":mM(a)].join(":")+":"+(c||"")},gzc=function(a,b,c){this.global=void 0===c?!1:c;a.match(ezc);this.key=a;this.value=b};gzc.prototype.getKey=function(){return this.key};gzc.prototype.Za=function(){return this.value};
var hzc=function(a,b){return{k:fzc(b,a.global,a.key),v:a.value}},izc=function(a,b){a=fzc(a,b);return vuc(a+"A",a+"z")},jzc=function(a,b){this.H=a;this.O=b},kzc=function(a){return a?new jzc(a.versionKey,a.versionChangeTimestamp):null},lzc=function(a,b){return a+":"+b},mzc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.y0=void 0===e?null:e},nzc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.y0}},ozc=function(a,b,c,d){a=mM(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.zt(":%02d",c)},pzc=function(a,b,c,d){c=ozc(a,b,void 0===c?0:c,d);a=mM(a)+"_"+b;3===b&&(a+="_"+d);return vuc(c,a+":a")},qzc=function(a){var b=mM(a)+"_";a=mM(a)+"_A";return vuc(b,a)},rzc=function(a){return a?new mzc(a.data,a.index,a.size,a.timestamp,a.e):null},szc=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.xa(e);_.Ga(this.fields);_.Da(this.fields);this.H=f};
szc.prototype.ts=function(){return this.userId};szc.prototype.Lg=function(){return _.xa(this.fields)};
var mM=function(a){if(!a.O){var b=new _.sI;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.mec(b.digest())}return a.O},tzc=function(a){return{versionKey:mM(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},uzc=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 szc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:mM(a)!==d&&(a=null);return a},nM=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Od=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Qa=a.then(function(f){e.version=f});this.Ib=new _.Ne(this);this.Ma(this.Ib)};_.K(nM,_.N);nM.prototype.initialize=function(){return vzc(this)};
var vzc=function(a,b){a.V||(a.V=_.Zh(),a.Qa.then(function(){b?(a.va=!1,wzc(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.ma=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.cfc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).jg(a.Ka.bind(a),a.ta.bind(a)),_.Ei(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.qc("Database version error",void 0,_.EI(c)?c:void 0))}));return a.V.promise},wzc=function(a,b){a.H=b;a.Ib.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Ib.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};nM.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ia(b.H.objectStoreNames,function(c){return _.ejc(b,c)});_.La(_.VI,function(c){var d=_.Rgc.get(c);_.$ec(b,c,d?{keyPath:d}:void 0)})};
nM.prototype.ta=function(a){var b;a&&a instanceof _.wI&&"InvalidStateError"==a.getName()&&_.zj.Mu?b=Error("qf"):_.EI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);xzc(this,!1)};nM.prototype.Ka=function(a){this.ka?a.dispose():(wzc(this,a),this.Ma(this.H),this.readOnly||yzc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),xzc(this,!0))};
var xzc=function(a,b){if(a.ma){var c=a.ma,d=_.B(_.zK(c),Zrc,5);d||(d=new Zrc,c=_.zK(c),_.I(c,5,d));d=_.w(d,1,2);c=a.hj().W;d=_.w(d,2,c);c=a.hj().ka;d=_.w(d,5,c);b=_.w(d,3,b);b=_.w(b,4,a.Ba);d=a.hj().ma;_.w(b,6,d);a.ma.yj();a.ma=null}};nM.prototype.Ha=function(){this.H||this.Sf()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("rf")))};nM.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};nM.prototype.Sf=function(){return this.ka};
var zzc=function(a){return a.ka?a.O:null};nM.prototype.hj=function(){return this.version};
var oM=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.afc(a,[b],c)}catch(d){return null}},yzc=function(a){var b=_.VI.k_,c=oM(a,b,"readwrite");if(!c)return _.Xh(Error("sf"));c.objectStore(b).put(tzc(a.hj()));return _.Wh(c.wait()).then(function(){})},Azc=function(a){if(!a.H)return _.Xh(Error("tf"));if(a.Sf())return _.Xh(Error(a.O));var b=_.VI.k_,c=oM(a,b,"readwrite");if(!c)return _.Xh(Error("uf"));b=c.objectStore(b);return _.Wh(b.remove(mM(a.hj())))},
Bzc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())(e=rzc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("vf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("wf")),0;e=d[0].size;if(!e)return b.reject(Error("xf")),0;if(e>d.length)return b.reject(Error("yf`"+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("zf`"+e)),0;if(c&&a<c)return b.reject(Error("Af`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},Zyc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Xh(Error("Bf"));if(a.Sf())return _.Xh(Error(a.O));var e=pzc(a.hj(),b,0,c),f=_.VI.D5,h=oM(a,f);if(!h)return _.Xh(Error("Cf"));e=h.objectStore(f).getAll(e);var k=_.Zh();e.jg(function(l){l=Bzc(l,k,d);a.readOnly||null==l||Czc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},Wyc=function(a,b,c,d,e,f){if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Xh(Error("Df"))}else return _.Xh(Error("Ef"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:ozc(a.hj(),c,z,d),data:new mzc(v.getData(),z,k,h,e),metadata:v}}),p=_.VI.D5;b=oM(a,p,"readwrite");if(!b)return _.Xh(Error("Ff"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={jea:q.jea},r=l.next())r=r.value,q.jea=Dzc(a,c,d,r.metadata,f),p.put(nzc(r.data),r.key).then(function(v){return function(){var z=v.jea;z&&(esc(sL(z),!0),z.yj())}}(q),function(v){return function(z){var A=
v.jea,D=z instanceof _.wI?z.code:_.Cec;A&&a.W&&(z=esc(sL(A),!1),D=_.AK(_.tgc,D),_.w(z,2,D),A.yj())}}(q));return _.Wh(b.wait()).then(function(){})},Dzc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=gsc(fsc(sL(a),_.AK(_.sgc,b)),_.AK(_.pgc,c)),f=f.Wn(d.H),f=_.w(b,5,f),hsc(f,d.isEncrypted),void 0!=d.Nm()&&sL(a).Dt(d.Nm());return a}return null},Czc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(3==b&&void 0==c)return _.Xh(Error("Gf"))}else return _.Xh(Error("Hf"));
b=pzc(a.hj(),b,d,c);c=_.VI.D5;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("If"));a.objectStore(c).remove(b);return _.Wh(a.wait()).then(function(){})},Ezc=function(a){if(!a.H)return _.Xh(Error("Jf"));if(a.Sf())return _.Xh(Error(a.O));var b=qzc(a.hj()),c=_.VI.D5;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("Kf"));a.objectStore(c).remove(b);return _.Wh(a.wait()).then(function(){})};
nM.prototype.getMetadata=function(a){if(this.H){if(this.Sf())return _.Xh(Error(this.O));if(a&&0==a.length)return _.Xh(Error("Lf"))}else return _.Xh(Error("Mf"));var b=this.hj(),c=_.VI.P6,d=oM(this,c);if(!d)return _.Xh(Error("Nf"));c=d.objectStore(c);if(a){d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.Wh(c.get(fzc(b,e.global,e.key))));c=_.Yh(d)}else c=_.Yh([c.getAll(izc(b,!1)).then(),c.getAll(izc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return Znc(f,h)});return c.then(function(f){return f.map(function(h){a:{if(h){var k=h.k.split(":"),l="#"===k[2];if(4===k.length&&(l||k[2]===mM(b))){h=k[0]!==b.ts()||k[1]!==String(b.clientId)?void 0:new gzc(k[3],h.v,l);break a}}h=void 0}return h})})};
var Fzc=function(a,b){if(a.H){if(a.Sf())return _.Xh(Error(a.O));if(0==b.length)return _.Xh(Error("Of"))}else return _.Xh(Error("Pf"));var c=_.VI.P6,d=oM(a,c,"readwrite");if(!d)return _.Xh(Error("Qf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(hzc(e.value,a.hj())).then());return _.Yh(d).then(function(){})},Gzc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Sf())return _.Xh(Error(a.O))}else return _.Xh(Error("Sf"));var c=a.hj(),d=_.VI.P6;a=oM(a,d,"readwrite");
if(!a)return _.Xh(Error("Tf"));d=a.objectStore(d);a=[];a.push(d.remove(izc(c,!1)).then());b&&a.push(d.remove(izc(c,!0)).then());return _.Yh(a).then(function(){})},Hzc=function(a){if(!a.H)return _.Xh(Error("Uf"));if(a.Sf())return _.Xh(Error(a.O));var b=lzc(a.hj().ts(),a.hj().clientId),c=_.VI.gU;a=oM(a,c);if(!a)return _.Xh(Error("Vf"));c=a.objectStore(c);return _.Wh(c.get(b)).then(function(d){return kzc(d)})},Izc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Xh(Error("Wf"));if(a.Sf())return _.Xh(Error(a.O));
var c=a.hj(),d=lzc(c.ts(),c.clientId);b=new jzc(mM(c),b?Date.now():void 0);c=_.VI.gU;a=oM(a,c,"readwrite");if(!a)return _.Xh(Error("Xf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Wh(a.wait())};nM.prototype.Ml=function(a){var b=this;return this.H?this.Sf()?_.Xh(Error(this.O)):Hzc(this).then(function(c){var d=mM(b.hj());if(c)if(a){if(!c.O&&d==c.H&&d!=mM(a))return Izc(b,!0);if(c.O&&d==mM(a))return Izc(b)}else{if(d!=c.H)return Izc(b)}else if(!a)return Izc(b)}):_.Xh(Error("Yf"))};
var Jzc=function(a){if(!a.H)return _.Xh(Error("Zf"));if(a.Sf())return _.Xh(Error(a.O));var b=a.hj(),c=lzc(b.ts(),b.clientId);return Hzc(a).then(function(d){if(d){d=_.VI.gU;var e=oM(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
nM.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Sf()?_.Xh(Error(this.O)):Hzc(this).then(function(c){var d=c&&c.H==mM(b.hj());return d&&!a?!1:(c&&d?Jzc(b):_.Wh()).then(function(){return _.Yh([Gzc(b,a),Ezc(b),Azc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Xh(Error("$f"))};nM.prototype.close=function(){this.ha("Closing database")};nM.prototype.log=function(a){this.Od.info("drive.ds.sync.storage.VersionedDb",a)};
var Kzc=function(a){if(1>=a.hj())return!1;var b=a.H.objectStoreNames;return _.Qa(_.VI).every(function(c){return b&&b.contains(c)})},Lzc=function(){var a=_.Zh();_.cfc("GoogleDriveDs").jg(function(b){b?Kzc(b)?a.resolve(b):(b.close(),_.Wh(wuc()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},Mzc=function(a,b,c){var d=_.Zh();a?_.afc(a,[_.VI.k_],"readonly").objectStore(_.VI.k_).getAll().jg(function(e){e=
_.Qa(e).map(function(f){return uzc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ts()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Nzc=function(a,b,c){var d=_.Zh();Lzc().then(function(e){if(e){var f=_.VI.gU;_.afc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return kzc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.VI.k_,p=_.afc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
uzc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.ci(p.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(h){d.reject(h);e.close()})}else d.resolve(null)},d.reject);return d.promise},Ozc=function(a,b,c){var d=_.Zh(),e=new nM(_.Wh(a),b);vzc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Pzc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Ozc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Yh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+mM(l)))});d.resolve(k)})},Qzc=function(a,b,c){var d=Date.now()-12096E5,e=_.Zh();Lzc().then(function(f){f?(_.$h(e.promise,function(){f.close()}),Mzc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Pzc(h,c,f,e)})):e.resolve([])});return e.promise},Rzc=function(a,b,c){var d=_.Zh();Lzc().then(function(e){e?
(_.$h(d.promise,function(){e.close()}),Mzc(e,a,b).then(function(f){Pzc(f,c,e,d,!0)})):d.resolve([])});return d.promise},Szc=function(a,b,c,d){if(a.length){var e=_.VI.D5,f=a.shift(),h=ozc(f,3,0,1);try{_.afc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=rzc(k))&&(!k.y0||k.y0&&d.has(f.V))?b.resolve(f):Szc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Tzc=function(a,b,c,d,e,f,h){var k=_.Zh();Lzc().then(function(l){l?(_.$h(k.promise,function(){l.close()}),
Mzc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=mM(q))&&q.W==c&&q.H>=e&&roc(d.filter(function(r){return!_.Sgc.has(r)}),q.Lg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Szc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Uzc={key:"rid",global:!0},Vzc={key:"ooi",global:!0},Wzc={key:"rtds",global:!1},Xzc={key:"dct",global:!1},Yzc={key:"pc",global:!1},Zzc=function(a){this.H=new _.Vh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};Zzc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Sf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Za():void 0},function(){})})};Zzc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Sf()?Fzc(c,[new gzc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Zzc.prototype.Zn=function(){return this.get(Uzc).then(function(a){return a?a:null})};
Zzc.prototype.Eu=function(a){return this.set(Uzc,a)};var $zc=function(a){return a.get(Vzc).then(function(b){return"boolean"===typeof b?b:null})};Zzc.prototype.Wy=function(a){return this.set(Vzc,a)};var aAc=function(a){return a.get(Yzc).then(function(b){return"boolean"===typeof b?b:null})},bAc=function(a){return a.get(Wzc).then(function(b){return Array.isArray(b)?b:null})},cAc=function(a){return a.get(Xzc).then(function(b){return"number"===typeof b?b:null})},dAc=function(){this.kj=[]};_.K(dAc,_.PK);
dAc.prototype.add=function(a,b){var c=a.Bv.Kw;return c instanceof _.UJ&&_.y(c.request,12)?_.PK.prototype.add.call(this,a,b):!1};dAc.prototype.gsa=function(a){return this.kj.splice(0,Math.min(a,1))};var eAc=function(a,b){this.kj=[];this.H=b};_.K(eAc,_.PK);eAc.prototype.add=function(a,b){return a.Bv.Kw instanceof _.UJ?!1:_.PK.prototype.add.call(this,a,b)};
eAc.prototype.gsa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.kj.length&&b.length<a;f++){var h=this.kj[f],k=h.Bv.Kw;k instanceof _.kJ||k instanceof _.wJ||k instanceof _.MJ?k="app|"+k.Bh():k instanceof _.fJ||k instanceof _.gJ||k instanceof _.mJ||k instanceof _.QI?k="item|"+(k instanceof _.fJ?k.Cc():k.getId()):k instanceof _.nJ||k instanceof _.xJ?k="item|"+k.Cc():k instanceof _.oJ||k instanceof _.OJ?k="item|"+k.Cc():k instanceof _.LD||k instanceof _.KD?(k=k instanceof _.LD?_.B(k,_.np,1).getKey():
k.getKey(),k="pref|"+_.y(k,2)+"|"+_.op(k)):k=k instanceof _.pJ?"td|"+k.getId():null;var l=h.Bv.Kw;if(l instanceof _.iJ)l=!!_.Q(l,8);else if(l instanceof _.gJ){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.xeb.has(l.getMimeType()));l=p}else l=!1;if(k&&d[k]||l&&5===e)break;b.push(h);c.unshift(f);k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.sa(this.kj,c[a]);return b};
var fAc=function(a,b,c,d,e,f,h,k,l){a=a.eg();h=new _.$lc(k,h,d,_.Vj(a,32,1073741824),_.Vj(a,21,1E3));h=new _.amc(h);k=new _.zlc(_.Vj(a,59,2E3),_.Vj(a,60,2E4),_.Vj(a,61,6));c=new _.xlc(l?l:c,l?void 0:e);e={};e[1]=_.cmc(b,d);e[2]=_.dmc(b,a,k,c,d);e[3]=_.emc(b,a,k,c,d,"batch");l=_.Vj(a,10,50);f=new _.RK(d,b,[_.ylc(c),new _.Clc(l,_.Vj(a,11,100)),new _.QK(l),new _.OK(k,d)],[new eAc(a,f),new dAc,new _.PK],[new _.Llc(a,k,c.Jj(),d)],"mutation");return e[4]=f,e[5]=_.fmc(h,a,d),e[6]=_.emc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.emc(b,a,k,c,d,"xd4_batch"),e[8]=_.emc(b,a,k,c,d,"xd4_batch_one",1),e},gAc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},hAc=function(a){var b={};return b.parentId=a.wk(),b},iAc=function(a){var b={};_.unc(b,[_.y(a,2)||""]);return b},jAc=function(a){var b={};_.ie(_.Sg(a.getTitle()))||(b.title=a.getTitle());_.unc(b,_.Td(a,3));_.Q(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b},kAc=function(a){var b={};null!=a.getTitle()&&(b.title=
a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b},lAc=function(a){var b={};b.sourceIds=_.Td(a.request,1);b.destinationFolderId=_.y(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b},mAc=function(a){var b={},c={};_.ie(_.Sg(a.getTitle()))||(b.title=a.getTitle());null!=a.Te()&&(b.description=a.Te());null!=_.Q(a,4)&&(c.starred=_.Q(a,4));null!=a.Xh()&&(c.trashed=a.Xh());_.ie(_.Sg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.y(a,7)&&(b.modifiedDate=
_.cjc(_.Xjc(_.y(a,7)||0)));null!=_.Q(a,11)&&(c.restricted=_.Q(a,11));_.Pa(c)&&(b.labels=c);null!=a.Yi()&&(b.folderColor=a.Yi());null!=_.Q(a,16)&&(b.subscribed=_.Q(a,16));null!=_.Q(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=_.Q(a,40),c));if(c=_.B(a,_.al,25)){b.contentRestrictions=[];var d={};null!=_.Q(c,1)&&(d.readOnly=_.Q(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.unc(b,_.Td(a,8));return b},nAc=function(a){var b={};null!=_.Q(a,3)&&(b.pinned=_.Q(a,3));
return b},oAc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Qg)("0",6-c.length)+c);c=_.B(a,_.Rrc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Fe())&&(a.width=c);b.backgroundImageFile=a}}return b},pAc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());
null!=a.getState()&&(a=_.xnc[a.getState()])&&(b.state=a);return b},qAc=function(a){_.J.call(this,a)};_.K(qAc,_.J);qAc.prototype.Te=function(){return _.C(this,1)};qAc.prototype.Wl=function(a){return _.bk(this,1,a)};qAc.prototype.getUrl=function(){return _.C(this,2)};_.rAc=function(a){_.J.call(this,a)};_.K(_.rAc,_.J);_.rAc.prototype.getType=function(){return _.Dj(this,1,0)};_.rAc.prototype.getContext=function(){return _.B(this,qAc,2)};sAc=[1];tAc=[2,4];_.uAc=function(a){_.J.call(this,a,-1,tAc)};
_.K(_.uAc,_.J);_.uAc.prototype.getLabel=function(){return _.C(this,1)};_.uAc.prototype.getTitle=function(){return _.C(this,3)};_.uAc.prototype.setTitle=function(a){return _.bk(this,3,a)};_.vAc=function(a){_.J.call(this,a,-1,sAc)};_.K(_.vAc,_.J);_.wAc=[[2,3,4]];_.pM=function(a){_.J.call(this,a)};_.K(_.pM,_.J);_.pM.prototype.se=function(){return _.C(this,3)};_.pM.prototype.Jn=function(a){return _.bk(this,4,a)};_.xAc=function(a){_.J.call(this,a)};_.K(_.xAc,_.J);
_.yAc=function(a){_.J.call(this,a,-1,void 0,_.wAc)};_.K(_.yAc,_.J);var zAc=function(a){_.J.call(this,a)};_.K(zAc,_.J);AAc=[3,5];_.qM=[[8,9,10,11,12,13,14]];_.BAc=function(a){_.J.call(this,a)};_.K(_.BAc,_.J);_.CAc=function(a){_.J.call(this,a,-1,AAc,_.qM)};_.K(_.CAc,_.J);_.CAc.prototype.Bb=function(){return _.Dj(this,6,0)};_.CAc.prototype.Dc=function(a){return _.ck(this,6,a)};var DAc=function(a){_.J.call(this,a)};_.K(DAc,_.J);var EAc=function(a){_.J.call(this,a)};_.K(EAc,_.J);
var FAc=function(a){_.J.call(this,a)};_.K(FAc,_.J);var GAc=[1],HAc=function(a){_.J.call(this,a,-1,GAc)};_.K(HAc,_.J);var IAc=function(a){_.J.call(this,a)};_.K(IAc,_.J);var JAc=function(a){_.J.call(this,a)};_.K(JAc,_.J);KAc=[7];_.LAc=[[1,2,3]];_.MAc=function(a){_.J.call(this,a)};_.K(_.MAc,_.J);_.NAc=function(a){_.J.call(this,a)};_.K(_.NAc,_.J);_.OAc=function(a){_.J.call(this,a)};_.K(_.OAc,_.J);_.PAc=function(a){_.J.call(this,a,-1,KAc,_.LAc)};_.K(_.PAc,_.J);_.QAc=function(a){_.J.call(this,a)};
_.K(_.QAc,_.J);_.QAc.prototype.getName=function(){return _.C(this,1)};_.QAc.prototype.hd=function(a){return _.bk(this,1,a)};var RAc=function(a){_.J.call(this,a)};_.K(RAc,_.J);RAc.prototype.getName=function(){return _.C(this,1)};RAc.prototype.hd=function(a){return _.bk(this,1,a)};RAc.prototype.getTitle=function(){return _.C(this,2)};RAc.prototype.setTitle=function(a){return _.bk(this,2,a)};var SAc=[[1,4]],TAc=function(a){_.J.call(this,a,-1,void 0,SAc)};_.K(TAc,_.J);
TAc.prototype.getUser=function(){return _.B(this,_.yAc,1)};var UAc=[[8,9,10]],VAc=function(a){_.J.call(this,a)};_.K(VAc,_.J);VAc.prototype.getType=function(){return _.Dj(this,6,0)};var WAc=function(a){_.J.call(this,a)};_.K(WAc,_.J);_.XAc=function(a){_.J.call(this,a,-1,void 0,UAc)};_.K(_.XAc,_.J);_.g=_.XAc.prototype;_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.bk(this,2,a)};
_.g.Cja=function(){return _.B(this,VAc,9)};_.g.YUa=function(){return _.B(this,WAc,10)};_.g.hj=function(){return _.Vj(this,5)};_.g.getMimeType=function(){return _.C(this,6)};_.g.dD=function(){return _.B(this,TAc,7)};var YAc=function(a){_.J.call(this,a)};_.K(YAc,_.J);var ZAc=[[8,9,10]],$Ac=function(a){_.J.call(this,a,-1,void 0,ZAc)};_.K($Ac,_.J);_.g=$Ac.prototype;_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};
_.g.setTitle=function(a){return _.bk(this,2,a)};_.g.Cja=function(){return _.B(this,VAc,9)};_.g.YUa=function(){return _.B(this,WAc,10)};aBc=[[1,3]];_.rM=function(a){_.J.call(this,a,-1,void 0,aBc)};_.K(_.rM,_.J);_.rM.prototype.Gh=function(){return _.B(this,$Ac,1)};_.bBc=[[1,2,3]];_.cBc=function(a){_.J.call(this,a)};_.K(_.cBc,_.J);_.dBc=function(a){_.J.call(this,a,-1,void 0,_.bBc)};_.K(_.dBc,_.J);var eBc=function(a){_.J.call(this,a)};_.K(eBc,_.J);var fBc=function(a){_.J.call(this,a)};_.K(fBc,_.J);
gBc=[2,3];_.hBc=function(a){_.J.call(this,a,-1,gBc)};_.K(_.hBc,_.J);_.hBc.prototype.getType=function(){return _.Dj(this,1,0)};_.iBc=function(a){_.J.call(this,a)};_.K(_.iBc,_.J);_.iBc.prototype.getType=function(){return _.Dj(this,1,0)};var jBc=function(a){_.J.call(this,a)};_.K(jBc,_.J);jBc.prototype.getType=function(){return _.Dj(this,1,0)};var kBc=function(a){_.J.call(this,a)};_.K(kBc,_.J);_.lBc=function(a){_.J.call(this,a)};_.K(_.lBc,_.J);_.lBc.prototype.O=function(){return _.S(this,1)};
var mBc=function(a){_.J.call(this,a)};_.K(mBc,_.J);nBc=[1,2,4];_.oBc=function(a){_.J.call(this,a)};_.K(_.oBc,_.J);pBc=[1,2];_.qBc=function(a){_.J.call(this,a)};_.K(_.qBc,_.J);_.qBc.prototype.getParent=function(){return _.B(this,_.rM,1)};_.qBc.prototype.Dg=function(a){return _.I(this,1,a)};_.rBc=function(a){_.J.call(this,a,-1,pBc)};_.K(_.rBc,_.J);_.sBc=function(a){_.J.call(this,a,-1,nBc)};_.K(_.sBc,_.J);_.sM=function(a){_.J.call(this,a)};_.K(_.sM,_.J);
_.sM.prototype.getEmail=function(){return _.C(this,1)};_.sM.prototype.getTitle=function(){return _.C(this,2)};_.sM.prototype.setTitle=function(a){return _.bk(this,2,a)};_.tM=[[2,3,4,5]];_.uM=function(a){_.J.call(this,a,-1,void 0,_.tM)};_.K(_.uM,_.J);_.uM.prototype.zf=function(){return _.Dj(this,1,0)};_.uM.prototype.getUser=function(){return _.B(this,_.yAc,2)};var tBc=function(a){_.J.call(this,a)};_.K(tBc,_.J);uBc=[1,2,3,4];_.vBc=function(a){_.J.call(this,a,-1,uBc)};_.K(_.vBc,_.J);
_.wBc=function(a){_.J.call(this,a)};_.K(_.wBc,_.J);_.xBc=function(a){_.J.call(this,a)};_.K(_.xBc,_.J);_.yBc=function(a){_.J.call(this,a)};_.K(_.yBc,_.J);_.zBc=function(a){_.J.call(this,a)};_.K(_.zBc,_.J);_.zBc.prototype.getType=function(){return _.Dj(this,1,0)};ABc=[1];_.BBc=function(a){_.J.call(this,a)};_.K(_.BBc,_.J);_.BBc.prototype.getFeature=function(){return _.Dj(this,1,0)};_.CBc=function(a){_.J.call(this,a,-1,ABc)};_.K(_.CBc,_.J);var DBc=function(a){_.J.call(this,a)};_.K(DBc,_.J);
var EBc=function(a){_.J.call(this,a)};_.K(EBc,_.J);var FBc=function(a){_.J.call(this,a)};_.K(FBc,_.J);FBc.prototype.getType=function(){return _.Dj(this,1,0)};_.vM=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.wM=function(a){_.J.call(this,a,-1,void 0,_.vM)};_.K(_.wM,_.J);_.wM.prototype.$z=function(){return _.B(this,FBc,10)};_.GBc=function(a){_.J.call(this,a)};_.K(_.GBc,_.J);var HBc=function(a){_.J.call(this,a)};_.K(HBc,_.J);_.IBc=function(a){_.J.call(this,a)};_.K(_.IBc,_.J);
_.JBc=function(a){_.J.call(this,a)};_.K(_.JBc,_.J);_.JBc.prototype.getType=function(){return _.Dj(this,1,0)};_.KBc=[[1,2,3,4,5]];_.LBc=function(a){_.J.call(this,a,-1,void 0,_.KBc)};_.K(_.LBc,_.J);_.LBc.prototype.getUser=function(){return _.B(this,_.yAc,1)};var MBc=function(a){_.J.call(this,a)};_.K(MBc,_.J);MBc.prototype.getType=function(){return _.Dj(this,2,0)};MBc.prototype.Bh=function(){return _.C(this,1)};_.NBc=function(a){_.J.call(this,a)};_.K(_.NBc,_.J);_.g=_.NBc.prototype;
_.g.getName=function(){return _.C(this,1)};_.g.hd=function(a){return _.bk(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.bk(this,2,a)};_.g.Na=function(){return _.B(this,_.XAc,3)};_.OBc=function(a){_.J.call(this,a)};_.K(_.OBc,_.J);_.OBc.prototype.getParent=function(){return _.B(this,_.XAc,4)};_.OBc.prototype.Dg=function(a){return _.I(this,4,a)};_.PBc=[[1,5,3]];_.QBc=function(a){_.J.call(this,a,-1,void 0,_.PBc)};_.K(_.QBc,_.J);
_.QBc.prototype.Gh=function(){return _.B(this,_.XAc,1)};_.RBc=function(a){_.J.call(this,a)};_.K(_.RBc,_.J);_.RBc.prototype.O=function(){return _.y(this,1)};var SBc=function(a){_.J.call(this,a)};_.K(SBc,_.J);SBc.prototype.O=function(){return _.Q(this,1)};SBc.prototype.V=function(){return _.y(this,2)};_.xM=function(a){_.J.call(this,a)};_.K(_.xM,_.J);_.g=_.xM.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Pb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.isa=function(){return _.y(this,3)};_.g.iz=function(){return _.y(this,4)};_.g.l$=function(){return _.B(this,SBc,6)};_.g.srb=function(){return _.B(this,_.RBc,7)};_.g.cVa=function(){return _.y(this,8)};_.g.hsa=function(){return _.Q(this,9)};_.yM=function(a){_.J.call(this,a)};_.K(_.yM,_.J);_.g=_.yM.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.Pb=function(a){return _.w(this,2,a)};
_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.Ed=function(){return _.y(this,5)};_.g.setSize=function(a){return _.w(this,5,a)};_.g.W9a=function(){return _.y(this,6)};_.TBc=function(a,b){return _.w(a,6,b)};_.yM.prototype.Te=function(){return _.y(this,8)};_.yM.prototype.Wl=function(a){return _.w(this,8,a)};_.yM.prototype.O=function(){return _.Q(this,9)};var Opc=[90,59,75];_.t("sy1o6");
var UBc=function(a){_.J.call(this,a)};_.K(UBc,_.J);
var VBc=function(a){_.J.call(this,a)};_.K(VBc,_.J);VBc.prototype.getType=function(){return _.y(this,1)};var WBc=function(a){var b=new VBc;return _.w(b,1,a)},XBc=function(a,b){return _.I(a,2,b)};VBc.prototype.sy=function(){return _.y(this,3)};VBc.prototype.Xy=function(a){return _.w(this,3,a)};VBc.prototype.Pi=function(){return _.y(this,4)};VBc.prototype.setPosition=function(a){return _.w(this,4,a)};
var zM=function(a){_.J.call(this,a)};_.K(zM,_.J);zM.prototype.getType=function(){return _.y(this,1)};var YBc=function(a){var b=new zM;return _.w(b,1,a)};zM.prototype.ln=function(){return _.B(this,IL,2)};var ZBc=function(a,b){return _.I(a,2,b)};zM.prototype.sy=function(){return _.y(this,3)};zM.prototype.Xy=function(a){return _.w(this,3,a)};zM.prototype.Pi=function(){return _.y(this,4)};zM.prototype.setPosition=function(a){return _.w(this,4,a)};
var AM=function(a){_.J.call(this,a)};_.K(AM,_.J);AM.prototype.getType=function(){return _.y(this,1)};var $Bc=function(a){var b=new AM;return _.w(b,1,a)};AM.prototype.ln=function(){return _.B(this,_.rG,2)};var aCc=function(a,b){return _.I(a,2,b)};AM.prototype.sy=function(){return _.y(this,3)};AM.prototype.Xy=function(a){return _.w(this,3,a)};AM.prototype.Pi=function(){return _.y(this,4)};AM.prototype.setPosition=function(a){return _.w(this,4,a)};
var bCc=function(a){_.J.call(this,a)};_.K(bCc,_.J);bCc.prototype.Bb=function(){return _.y(this,1)};bCc.prototype.Dc=function(a){return _.w(this,1,a)};bCc.prototype.xr=function(){return _.B(this,_.HL,2)};
var dCc=function(a){_.J.call(this,a,-1,cCc)};_.K(dCc,_.J);dCc.prototype.Bb=function(){return _.y(this,1)};dCc.prototype.Dc=function(a){return _.w(this,1,a)};dCc.prototype.Xj=function(){return _.y(this,3)};var cCc=[2];
var eCc=function(a){_.J.call(this,a)};_.K(eCc,_.J);eCc.prototype.jd=function(){return _.B(this,uL,1)};eCc.prototype.Xn=function(){return _.y(this,2)};
var fCc=function(a){_.J.call(this,a)};_.K(fCc,_.J);_.g=fCc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.xr=function(){return _.B(this,_.HL,2)};_.g.Xj=function(){return _.y(this,3)};_.g.Bh=function(){return _.y(this,4)};
var BM=function(a){_.J.call(this,a)};_.K(BM,_.J);BM.prototype.Bb=function(){return _.y(this,1)};BM.prototype.Dc=function(a){return _.w(this,1,a)};BM.prototype.Xj=function(){return _.y(this,3)};
var gCc=function(a){_.J.call(this,a)};_.K(gCc,_.J);_.g=gCc.prototype;_.g.Bb=function(){return _.y(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Xj=function(){return _.y(this,2)};_.g.ZLa=function(){return _.B(this,_.np,3)};_.g.getKey=function(){return _.B(this,_.Tb,4)};_.g.lt=function(){return _.P(this,4)};
var iCc=function(a){_.J.call(this,a,-1,void 0,hCc)};_.K(iCc,_.J);iCc.prototype.getKey=function(){return _.y(this,1)};iCc.prototype.lt=function(){return _.P(this,1)};var kCc=function(a){_.J.call(this,a,-1,jCc)};_.K(kCc,_.J);var hCc=[[2,4,6,10],[3,5,7,8,9]],jCc=[1];
var lCc=function(a){_.J.call(this,a)};_.K(lCc,_.J);
var CM=function(a){_.J.call(this,a,-1,mCc)};_.K(CM,_.J);CM.prototype.Bb=function(){return _.y(this,1)};CM.prototype.Dc=function(a){return _.w(this,1,a)};CM.prototype.O=function(){return _.Qj(this,EL,2)};var nCc=function(a,b){return _.Mj(a,2,b)};CM.prototype.Xj=function(){return _.y(this,3)};var mCc=[2];
var oCc=function(a){_.J.call(this,a)};_.K(oCc,_.J);oCc.prototype.Bb=function(){return _.y(this,1)};oCc.prototype.Dc=function(a){return _.w(this,1,a)};oCc.prototype.O=function(){return _.B(this,EL,2)};oCc.prototype.Xj=function(){return _.y(this,3)};
var pCc=function(a){_.J.call(this,a)};_.K(pCc,_.J);pCc.prototype.qy=function(){return _.y(this,2)};
var rCc=function(a){_.J.call(this,a,-1,qCc)};_.K(rCc,_.J);rCc.prototype.Bb=function(){return _.y(this,1)};rCc.prototype.Dc=function(a){return _.w(this,1,a)};rCc.prototype.Di=function(){return _.Qj(this,_.N7a,2)};rCc.prototype.wq=function(a,b){return _.Sj(this,2,a,_.N7a,b)};var qCc=[2];
var tCc=function(a){_.J.call(this,a,-1,sCc)};_.K(tCc,_.J);tCc.prototype.Bb=function(){return _.y(this,1)};tCc.prototype.Dc=function(a){return _.w(this,1,a)};tCc.prototype.ql=function(){return _.Qj(this,zM,2)};var sCc=[2];
_.vCc=function(a){_.J.call(this,a,-1,uCc)};_.K(_.vCc,_.J);var uCc=[1];
var DM=function(a){_.J.call(this,a,-1,wCc)},zCc,ACc;_.K(DM,_.J);DM.prototype.Xn=function(){return _.y(this,1)};var xCc=function(a,b){return _.w(a,1,b)},yCc=function(a,b){return _.w(a,2,b)};DM.prototype.Bb=function(){return _.y(this,3)};DM.prototype.Dc=function(a){return _.w(this,3,a)};zCc=function(a,b){return _.w(a,4,b)};ACc=function(a,b){return _.Mj(a,5,b)};_.BCc=function(a){_.J.call(this,a)};_.K(_.BCc,_.J);_.BCc.prototype.$b=function(){return _.y(this,2)};_.DCc=function(a){_.J.call(this,a,-1,CCc)};
_.K(_.DCc,_.J);var ECc=function(a,b){return _.w(a,1,b)},FCc=function(a,b){return _.w(a,2,b)},GCc=function(a,b){return _.Mj(a,3,b)},wCc=[5],CCc=[3];
_.EM=function(a){_.J.call(this,a,-1,HCc)};_.K(_.EM,_.J);_.EM.prototype.zV=function(){return _.Qj(this,_.nG,2)};_.EM.prototype.ve=function(){return _.B(this,_.wf,3)};var HCc=[1,2];
_.FM=function(a){_.J.call(this,a)};_.K(_.FM,_.J);_.FM.prototype.Bb=function(){return _.y(this,1)};_.FM.prototype.Dc=function(a){return _.w(this,1,a)};_.FM.prototype.kf=function(){return _.B(this,_.CB,2)};_.ICc=function(a,b){return _.I(a,2,b)};_.FM.prototype.Xj=function(){return _.y(this,3)};
var JCc=function(a){_.J.call(this,a)};_.K(JCc,_.J);JCc.prototype.Bb=function(){return _.y(this,1)};JCc.prototype.Dc=function(a){return _.w(this,1,a)};
var LCc=function(a){_.J.call(this,a,-1,KCc)};_.K(LCc,_.J);LCc.prototype.Bb=function(){return _.y(this,1)};LCc.prototype.Dc=function(a){return _.w(this,1,a)};LCc.prototype.ql=function(){return _.Qj(this,AM,2)};var KCc=[2];
_.GM=function(a){_.J.call(this,a)};_.K(_.GM,_.J);_.GM.prototype.kY=function(a){_.I(this,1,a)};_.GM.prototype.kv=function(){return _.B(this,_.dy,2)};_.GM.prototype.GO=function(a){_.I(this,2,a)};
_.NCc=function(a){_.J.call(this,a,-1,void 0,MCc)};_.K(_.NCc,_.J);_.NCc.prototype.Th=function(){return _.B(this,MBc,2)};_.NCc.prototype.O=function(a){_.Rj(this,5,MCc[0],a)};var MCc=[[5,6]];
_.QCc=function(a){_.J.call(this,a,-1,OCc,PCc)};_.K(_.QCc,_.J);_.QCc.prototype.O=function(a){_.Rj(this,6,PCc[0],a)};var OCc=[3,4,5],PCc=[[6,7]];
var RCc=function(a){_.J.call(this,a)};_.K(RCc,_.J);RCc.prototype.getType=function(){return _.y(this,1)};var SCc=function(a){var b=new RCc;return _.w(b,1,a)};RCc.prototype.sy=function(){return _.y(this,3)};RCc.prototype.Xy=function(a){return _.w(this,3,a)};RCc.prototype.Pi=function(){return _.y(this,4)};RCc.prototype.setPosition=function(a){return _.w(this,4,a)};
var UCc=function(a){_.J.call(this,a,-1,TCc)};_.K(UCc,_.J);UCc.prototype.Bb=function(){return _.y(this,1)};UCc.prototype.Dc=function(a){return _.w(this,1,a)};UCc.prototype.Xj=function(){return _.y(this,3)};var TCc=[2];
_.VCc=function(a){_.J.call(this,a)};_.K(_.VCc,_.J);_.VCc.prototype.getId=function(){return _.y(this,1)};_.VCc.prototype.Pb=function(a){return _.w(this,1,a)};_.VCc.prototype.ve=function(){return _.B(this,_.wf,4)};
var XCc=function(a){_.J.call(this,a,-1,WCc)};_.K(XCc,_.J);XCc.prototype.Bb=function(){return _.y(this,1)};XCc.prototype.Dc=function(a){return _.w(this,1,a)};XCc.prototype.Xj=function(){return _.y(this,3)};var WCc=[2];
_.HM=function(a){_.J.call(this,a)};_.K(_.HM,_.J);_.HM.prototype.getType=function(){return _.y(this,1)};var YCc=function(a){var b=new _.HM;return _.w(b,1,a)},ZCc=function(a,b){return _.I(a,2,b)};_.HM.prototype.sy=function(){return _.y(this,3)};_.HM.prototype.Xy=function(a){return _.w(this,3,a)};_.HM.prototype.Pi=function(){return _.y(this,4)};_.HM.prototype.setPosition=function(a){return _.w(this,4,a)};
_.Apc=function(a){_.J.call(this,a)};_.K(_.Apc,_.J);_.g=_.Apc.prototype;_.g.getItem=function(){return _.B(this,_.el,1)};_.g.setItem=function(a){return _.I(this,1,a)};_.g.getError=function(){return _.B(this,_.oc,2)};_.g.Je=function(a){return _.I(this,2,a)};_.g.ao=function(){return _.P(this,2)};_.g.$s=function(){return _.y(this,4)};
var aDc=function(a){_.J.call(this,a,-1,$Cc)};_.K(aDc,_.J);var $Cc=[2,4];
var cDc=function(a){_.J.call(this,a,-1,bDc)};_.K(cDc,_.J);var bDc=[1];
var eDc=function(a){_.J.call(this,a,-1,dDc)};_.K(eDc,_.J);eDc.prototype.Bb=function(){return _.y(this,1)};eDc.prototype.Dc=function(a){return _.w(this,1,a)};eDc.prototype.Xj=function(){return _.y(this,3)};var dDc=[2];
var gDc=function(a){_.J.call(this,a,-1,fDc)};_.K(gDc,_.J);gDc.prototype.Bb=function(){return _.y(this,1)};gDc.prototype.Dc=function(a){return _.w(this,1,a)};gDc.prototype.Xj=function(){return _.y(this,3)};var fDc=[2];
var hDc=function(a){_.J.call(this,a)};_.K(hDc,_.J);
var jDc=function(a){_.J.call(this,a,-1,iDc)};_.K(jDc,_.J);jDc.prototype.O=function(){return _.y(this,2)};var kDc=function(a,b){_.w(a,2,b)},iDc=[1];
var mDc=function(a){_.J.call(this,a,-1,lDc)};_.K(mDc,_.J);mDc.prototype.qy=function(){return _.C(this,2)};var lDc=[1];
var nDc=function(a){_.ri.call(this,"Ob");this.dataType=a};_.K(nDc,_.ri);
var oDc=function(a,b){_.ri.call(this,"Pb");this.NOa=a;this.Lta=b};_.K(oDc,_.ri);
var pDc=function(){};_.g=pDc.prototype;_.g.xM=function(a,b){return nuc(muc(1),a).setPosition(b)};_.g.wM=function(a,b){return nuc(muc(2).setPosition(b),a)};_.g.FE=function(a,b,c){return nuc(muc(3).Xy(b).setPosition(c),a)};_.g.pQ=function(a,b){return nuc(muc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,BL,2)};
var qDc=function(){_.Ky.call(this,new pDc,function(a){return a&&a.getName()})};_.K(qDc,_.Ky);
var IM=function(a,b,c){c=void 0===c?50:c;_.zi.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=aoc(new _.ZK,[1]);this.ha=this.H=!1;this.Sc=new _.Ne(this);this.Ma(this.Sc);_.Fe(this,function(){d.active=!1;d.Sc.removeAll()})};_.K(IM,_.zi);_.g=IM.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.Ue=function(){return this.W.Ue()||this.connectionState.Ue()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Sc.listen(this.W,"Fb",function(){return void a.Xt()}),this.Sc.listen(this.connectionState,[].concat(_.nd(Object.values(_.EB))),function(){return void a.Xt()}),this.W.Ue()?this.Sc.$c(this.W,"Fb",function(b){b.Ue()||(a.LG(),a.dispatchEvent(new _.ri(_.oq)))}):this.connectionState.Ue()?this.Sc.$c(this.connectionState,[_.EB.CL,_.EB.hU],function(){a.LG();a.dispatchEvent(new _.ri(_.oq))}):(this.LG(),this.dispatchEvent(new _.ri(_.oq))))};
_.g.LG=function(){};_.g.Ir=function(a){var b=this;if(this.Rj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Xt();this.W.Ue()?this.Sc.$c(this.W,"Fb",function(d){d.Ue()||b.XO()}):this.XO()}};_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.rc(a))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};_.g.Rj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Sc.removeAll();this.activate()};_.g.XO=function(){};
var rDc=function(a,b,c,d,e){IM.call(this,a,b,e.Ei()||void 0);this.ka=c;this.request=e;this.V=[];this.data=[];this.changed=!1;this.O=new qDc;this.ma=d};_.K(rDc,IM);_.g=rDc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){return ruc(new GL,this.data).Dc(this.status)};_.g.zr=function(){var a=this.O.my(this.V,this.data);this.V=this.data;var b=(new puc).Dc(this.status);return _.Mj(b,2,a)};
_.g.XO=function(){this.ma(this.Ai(),this.limit)};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,sDc(this)}};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||pL(this.O,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,sDc(this)};
var sDc=function(a){a.log("Livelist "+a.Ai()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.Za(Xsc)[a.Bb()]+"."));a.dispatchEvent(new _.ri(_.Cc,a))};rDc.prototype.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};rDc.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var tDc=function(a,b,c,d,e,f,h){_.wL.call(this,a,b,c,e,f,d);this.Od=h;this.W="drive.ds.sync.ViewCacheLiveList";this.ta=null;this.ma=void 0};_.K(tDc,_.wL);tDc.prototype.getData=function(){this.H=this.items;var a=xrc((new _.rB).Dc(this.Bb()).Uw(this.items),this.Rj());a=_.I(a,7,this.ta).sP(this.suggestionSessionId).Li(this.Ke);return _.Kj(a,18,this.ma)};
tDc.prototype.update=function(a){if($sc(this,a)&&(atc(this,a),this.ta=a.R5(),this.suggestionSessionId=a.Zf(),this.ma=a.Xja(),Zsc(this),this.suggestionSessionId&&Ivc(this.V)&&(a=this.Od.H(106027)))){var b=_.B(_.zK(a),lsc,20);if(!b){b=new lsc;var c=_.zK(a);_.I(c,20,b)}_.w(b,1,this.suggestionSessionId);a.yj()}};
var uDc=function(a,b){var c={};a=_.Ma(a,function(d){return!!d});b=_.Ma(b,function(d){return!!d});_.La(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=aCc($Bc(4),f),c[e]=d):(d=aCc($Bc(2),d),c[e]=d)});_.La(b,function(d,e){a[e]||(d=aCc($Bc(1),d),c[e]=d)});return c},vDc=function(a,b){return _.Pa(a)!==_.Pa(b)||!_.Ta(uDc(a,b))};
var wDc=function(a,b){_.zi.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.K(wDc,_.zi);_.g=wDc.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Ta(this.data)&&6===this.status||this.dispatchEvent(new _.ri(_.Cc,this)))};_.g.Bb=function(){return this.status};_.g.Mq=function(){return new _.ZK};_.g.getData=function(){this.H=this.data;var a=(new _.DK).Dc(this.status);_.La(this.data,function(b,c){a.HT().set(c,b||new _.rG)});return a};
_.g.zr=function(){var a=uDc(this.H,this.data);this.H=this.data;var b=(new JCc).Dc(this.status);_.La(a,function(c,d){_.Fj(b,2,void 0,AM).set(d,c)});return b};_.g.cT=function(){throw Error("bg");};_.g.Ai=function(){return String(_.Ca(this))};_.g.qd=function(){return this.request};_.g.update=function(a){var b={};a.HT().forEach(function(c,d){c||(c=syc(d));b[d]=c});if(this.status!==a.Bb()||vDc(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.ri(_.Cc,this))};
_.g.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
var xDc=function(a,b,c,d,e,f){_.wL.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.K(xDc,_.wL);xDc.prototype.getData=function(){this.H=this.items;var a=(new _.CK).Dc(this.Bb()).Uw(this.items);var b=this.Rj();a=_.w(a,4,b);return htc(a,this.ma).sP(this.suggestionSessionId).Li(this.Ke)};xDc.prototype.update=function(a){$sc(this,a)&&(atc(this,a),this.ma=_.Qj(a,_.Kk,6),this.suggestionSessionId=a.Zf(),Zsc(this))};
var yDc=function(){};_.g=yDc.prototype;_.g.xM=function(a,b){return ZBc(YBc(1),a).setPosition(b)};_.g.wM=function(a,b){return ZBc(YBc(2).setPosition(b),a)};_.g.FE=function(a,b,c){return ZBc(YBc(3).Xy(b).setPosition(c),a)};_.g.pQ=function(a,b){return ZBc(YBc(4),a).setPosition(b)};_.g.WM=function(a){return a.ln()};
var zDc=function(){_.Ky.call(this,new yDc,function(a){return a&&a.fq()})};_.K(zDc,_.Ky);
var ADc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new zDc;this.suggestionSessionId=null;this.ka=c};_.K(ADc,IM);_.g=ADc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){this.O=this.data;return Luc(Kuc((new JL).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new tCc).Dc(this.status);return _.Mj(b,2,a)};_.g.XO=function(){};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||pL(this.V,this.data,a.ql())){this.changed=this.H=!0;this.data=a.ql();if(a=a.Zf())this.suggestionSessionId=a;this.Xt()}};_.g.refresh=function(){this.ka()};_.g.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var BDc=function(a,b,c){_.zi.call(this);var d=this;this.request=a;this.ka=b;this.ha=c;this.V=[];this.items=[];this.H=!1;this.status=6;this.W=aoc(new _.ZK,[1]);this.O=!0;this.limit=a.Ei();_.Fe(this,function(){d.H=!1;d.V=[]})};_.K(BDc,_.zi);_.g=BDc.prototype;_.g.Ai=function(){return String(_.Ca(this))};_.g.activate=function(){this.H=!0;_.pa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.ri(_.Cc,this))};_.g.qd=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Mq=function(){return this.W};_.g.Rj=function(){return this.O};_.g.getData=function(){this.V=this.items;return xrc((new _.rB).Dc(this.status).Uw(this.items),this.O)};_.g.zr=function(){var a=_.W7a().my(this.V,this.items),b=(new _.tI).Dc(this.status);a=_.Mj(b,2,a);this.V=this.items;return a};_.g.Ir=function(a){this.H&&(this.limit+=a||20,this.ka.GF(this.Ai(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||pL(_.W7a(),this.items,a.wd()))this.items=a.wd(),this.status=a.Bb(),_.FI(this.ha)&&(this.W=boc(this.status,this.items)),this.O=a.ol(),this.H&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};_.g.zu=function(){throw Error("cg");};_.g.refresh=function(){};
var CDc=function(a,b,c){_.zi.call(this);var d=this;this.context=a;this.ha=b;this.request=c;this.V=!1;this.O={};this.H={};this.status=6;this.W=aoc(new _.ZK,[1]);this.context.Rf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.jn().join(", "));_.Fe(this,function(){d.V=!1;d.O=[]})};_.K(CDc,_.zi);_.g=CDc.prototype;_.g.Ai=function(){return String(_.Ca(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.qd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.BK;a.Dc(this.status);a.map=this.H;return a};_.g.zr=function(){var a=yoc(this.O,this.H),b=new ftc;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Mq=function(){return this.W};
_.g.cT=function(a){var b=this.request;this.request=a;this.ha.PY(this.Ai(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||zoc(this.H,a.eq()))this.status=a.Bb(),this.H=a.eq(),_.FI(this.context.Mc)&&(this.W=boc(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.dW=function(){this.dispatchEvent(new _.ri(_.SEa))};
var DDc=function(){};_.g=DDc.prototype;_.g.xM=function(a,b){return aCc($Bc(1),a).setPosition(b)};_.g.wM=function(a,b){return aCc($Bc(2).setPosition(b),a)};_.g.FE=function(a,b,c){return aCc($Bc(3).Xy(b).setPosition(c),a)};_.g.pQ=function(a,b){return aCc($Bc(4),a).setPosition(b)};_.g.WM=function(a){return a.ln()};
var EDc=function(){_.Ky.call(this,new DDc,function(a){return a&&a.getId()})};_.K(EDc,_.Ky);
var FDc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new EDc};_.K(FDc,IM);_.g=FDc.prototype;_.g.LG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ri(_.Cc,this))};_.g.getData=function(){this.O=this.data;return Awc((new XL).Dc(this.status),this.data.slice(0))};_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new LCc).Dc(this.status);return _.Mj(b,2,a)};
_.g.XO=function(){this.ka.GF(this.Ai(),this.limit)};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};_.g.qd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||pL(this.V,this.data,b.ql()))this.H=!0,this.status=b.Bb(),this.data=b.ql(),this.ha=a.H,this.dispatchEvent(new _.ri(_.Cc,this))};
_.g.BB=function(a){this.dispatchEvent(new _.rc(new _.qc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var GDc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.wf;this.O=this.context.hfa;this.ta=this.context.U5};_.g=GDc.prototype;_.g.Vwa=function(a){var b=this,c=new tDc(this.context.tm,this.context.bQ,this.context.Rf(),this.context.Mc,function(d,e){b.GF(d,e)},a,this.context.vk());this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.Ywa=function(a){var b=this,c=new xDc(this.context.tm,this.context.bQ,this.context.Rf(),function(d,e){b.GF(d,e)},a,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Swa=function(a){var b=this,c=new yL(this.context.Mc,this.context.tm,this.context.Rf(),this.context.FZ,this.PY.bind(this),a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.axa=function(a){var b=this,c=new BDc(a,this,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.bxa=function(a){var b=this,c=new CDc(this.context,this,a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.exa=function(a){var b=this,c=new FDc(this.context,a,this);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Zwa=function(a){var b=this,c=new ADc(this.context,a,function(){if(a instanceof _.dA){var d=HDc(b.context);$xc(d,d.getKey(a)).refresh()}});this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.fxa=function(a){var b=this,c=new wDc(this.context,a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};_.g.Owa=function(a){var b=this,c=new rDc(this.context.Jj(),this.context.tk(),this.context.Rf(),function(d,e){b.GF(d,e)},a);this.ki(c);_.Fe(c,function(){b.fk(c)});return c};
_.g.ki=function(a){var b=a.Ai();this.H[b]=a;this.ha.create(b,a.qd());if(a.qd()instanceof _.fA)a=this.O.ki(b,a.qd());else if(a.qd()instanceof _.sG)a=Yxc(this.O,b,a.qd());else if(a.qd()instanceof _.dA)a=HDc(this.context).ki(b,a.qd());else if(a.qd()instanceof _.AG)a=this.ta.ki(b,a.qd());else{var c=a.qd(),d=xL(this.context.tm,c,2);this.log("Registering LiveList "+a.Ai()+" "+d);a=this.W.ki(b,c)}"boolean"===typeof a&&jwc(this.ha,b,a)};
_.g.fk=function(a){if(a.qd()instanceof _.fA)this.O.fk(a.Ai(),a.qd());else if(a.qd()instanceof _.sG)Zxc(this.O,a.Ai(),a.qd());else if(a.qd()instanceof _.dA)HDc(this.context).fk(a.Ai(),a.qd());else if(a.qd()instanceof _.AG)this.ta.fk(a.Ai(),a.qd());else{var b=a.qd(),c=xL(this.context.tm,b,2);this.log("Unregistering LiveList "+a.Ai()+" "+c);this.W.fk(a.Ai(),b)}UL(this.ha,a.Ai(),4);delete this.H[a.Ai()]};_.g.PY=function(a,b,c){this.W.fk(a,b);this.W.ki(a,c)};
_.g.GF=function(a,b){var c=IDc(this,a).qd();c.ui(b);c instanceof _.fA?this.O.ki(a,c):c instanceof _.sG?Yxc(this.O,a,c):c instanceof _.AG?this.ta.ki(a,c):this.W.ki(a,c)};_.g.oO=function(a,b){var c=this.H[a]&&this.H[a].qd();c&&(c instanceof _.hf?hoc(c.O(),b.wd().filter(function(d){return!PL(d)})):c instanceof _.yA&&hoc(c.O(),Object.values(b.eq()).filter(function(d){return d&&!PL(d)})));this.ka[a]=b;this.V||(this.V=_.Ci(this.S8,50,this))};
_.g.DX=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ci(this.S8,50,this))};_.g.rA=function(a){(a=this.H[a])&&a.dW()};_.g.S8=function(){_.Di(this.V);this.V=null;var a=Object.keys(this.ka),b=Object.keys(this.ma);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.ka[c];if(d){delete this.ka[c];var e=this.H[c];e&&(mwc(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])UL(this.ha,a,3),d.BB(c)};
_.g.lka=function(a){return IDc(this,a).qd()};var IDc=function(a,b){if(!a.H[b])throw Error("dg`"+b);return a.H[b]};GDc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var JDc=function(){},KDc=function(a){this.H=a},Bpc=function(a,b,c,d,e,f,h,k){this.status=a;this.O=b;this.V=c;this.ka=d;this.ha=e;this.oA=f;this.H=h;this.W=k};
var JM=function(a,b){_.zi.call(this);this.O=a;this.request=b;this.ke=_.Zh();this.complete=!1;this.H=""};_.K(JM,_.zi);JM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Re(a.request)}).then(this.W.bind(this)).Gg(this.handleError.bind(this));return this.ke.promise};JM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new oDc(0,this.H));LDc(this)};
var LDc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Re(new _.Chc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new aDc;c=_.Kj(c,2,b.V);c=_.w(c,3,a.H);c=_.w(c,5,b.ka);c=_.w(c,6,b.ha);c=_.w(c,7,b.oA);c=_.w(c,8,b.H);b=_.Mj(c,4,b.W);a.ke.resolve(b)}else b=_.MI(_.hq(_.gq(new _.oc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new oDc(b.O,
a.H)),LDc(a)}).Gg(function(b){a.handleError(b)})},5E3)};JM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Re(new _.Bhc(a.H))}).then(this.V.bind(this)).Gg(this.handleError.bind(this))};JM.prototype.V=function(){if(!this.complete){var a=new aDc;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.ke.resolve(a);this.complete=!0;this.dispose()}};JM.prototype.handleError=function(a){this.complete=!0;this.ke.reject(_.aJ(a));this.dispose()};
var MDc=function(){_.ri.call(this,"VbxEwf")};_.K(MDc,_.ri);
var NDc=function(a,b){this.context=a;this.H=null;this.qc=b||null};_.g=NDc.prototype;_.g.La=function(){return _.B(this.context.Mc,_.WI,58)};_.g.getContext=function(){return this.context};_.g.Nz=function(){return this.context.WA.Nz(this.H)};_.g.Rf=function(){return this.context.Rf()};_.g.KM=function(a){return _.hi(this.context.wf.rm.H(a))};_.g.bR=function(){return _.hi(this.context.WA.bR())};
_.g.Q4=function(a,b,c){var d=new _.ai;if(_.B(a,_.GI,3)||_.B(a,_.VJ,4)||_.B(a,_.LK,5)||_.B(a,_.PJ,6)||_.B(a,_.pJ,7)||_.B(a,_.iJ,8)||_.B(a,_.mJ,9)||_.B(a,_.QI,10)){var e=gwc(a);this.context.Qm().then(function(f){return f.Re(e,{i6a:b,j6a:c})}).then(this.X9a.bind(this,d),d.Id,d);return d}throw Error("eg");};
_.g.X9a=function(a,b){var c=[],d="";if(b instanceof _.MK){c=b.jd().wd();var e=_.y(b,2);d=b.Xn()}else if(b instanceof _.XJ)b.getItem()&&c.push(b.getItem()),e=b.UM();else throw Error("fg");a.callback({items:c,cia:e,pageToken:d})};_.g.Dpa=function(){var a=this.context.Mc,b=a.eg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.Eha=function(){this.context.Ns.hS();var a=this.context.Mc;Rzc(_.lK(_.AI(a)),_.mK(a),this.context.Rf()).Gg(function(){})};
_.g.c9=function(){return _.Cgc[_.Dj(this.context.Mc.eg(),8,0)]};_.g.$ca=function(){this.context.QF.H=new Gyc(_.Ug().substring(0,8))};_.g.NS=function(){var a=this.context.QF.lN(),b=null;a&&(b=Iyc(this.context.QF),b={traceId:a,spanRecs:b});a=this.context.QF;a.H=null;a.wY=[];return _.hi(b)};_.g.lN=function(){return _.hi(this.context.QF.lN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Mc.Wi();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.wf.rm.Ed();c=this.context.wf.mr;var d=c.H;d&&(b.cs_sutd=d.V7,b.cs_ss=d.Ed());b.cs_ch=Ywc(c).length;b.cs_td=c.VV().length;(c=this.context.V5)&&(b.t_cps=c.fWa().getStats().join(","));b.t_id=ODc(this.context);
var e=[];PDc(this.context.aR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.jz?this.context.tk().isConnected():this.context.vI.HB();b.n_o=this.context.jz?this.context.tk().Ue():this.context.Jj().Ue();b.n_csm=!!this.context.jz;a&&(b.csw_cc=_.Pa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.hi(JSON.stringify(b))};_.g.$oa=function(){this.qc&&(this.qc.dispatchEvent(new MDc),this.qc.Gu())};
_.g.Ml=function(a){var b=this.context.jz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.glc(b))};
var SDc=function(a,b){this.context=a;this.Kg=b;this.H=_.ohc(_.tK(this.Kg),QDc);this.O=_.ohc(_.tK(this.Kg),RDc)};
SDc.prototype.tl=function(a){var b=this,c=this.context.TP.kf().kf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.shc(h);var k=h.getId(),l=b.context.Zn();_.Nic(h,3);_.TI(h,5);var p=Eoc(h,!0);h.getCapabilities()||_.hK(h,new _.Zk);_.Q(p,2)&&((p=h.mk())&&p.length?_.w(h,46,p[0]):(_.gK(h,[l]),_.w(h,46,l)),l=h.vq(),_.w(h,12,l),l=new _.Kk,l.Pb(d),_.w(l,6,1),_.Zhc(l,!0),_.Gic(h,l),_.Fic(h,[l]),_.JWb(h,1));e[k]=h});a=Object.keys(e);c=this.context.wf;var f=qvc(c.rm,a);_.La(f,function(h,
k){dL(h.getItem(),e[k],b.H);(b.context.Jj().Ue()||b.context.tk().Ue()||3===h.getItem().qv())&&dL(h.getItem(),e[k],b.O);_.Va(e,k)});_.La(e,function(h){_.bl(h.Om())&&(f[h.getId()]=new NL(h))});TDc(c,Object.values(f))};
var UDc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.tl(c)},VDc=function(a){a=a.context.wf;var b=new _.hf;b.Ml(!0);b=svc(a.rm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.qv()){var h=new _.JI;_.KI(h,f.getId());_.UI(h);d.push(h)}else h=new _.Rna,_.aL(h,!1),_.w(h,2,!1),_.I(f,81,h),c.push(b[e])}TDc(a,c);a.Po(d)},QDc=[50],RDc=[12,11,10,67,68];
var WDc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new SDc(a,a.Kg)};_.g=WDc.prototype;_.g.fY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Z9a.bind(this);var b=this.Y9a.bind(this);this.log("Querying all offline items.");this.H.pV().jg(a,b);this.V||(this.H.t_((0,_.M)(this.zwb,this)),this.V=!0)}}else VDc(this.O)};_.g.Z9a=function(a){this.log("Processing all offline item(s): "+a.length);this.O.tl(a);$L(this.context.Oj,"GZTDpc")};_.g.Y9a=function(){this.log("Error fetching offline items.")};
_.g.zwb=function(a){this.log("Handling offline change(s): "+a.length);UDc(this.O,a)};_.g.log=function(a){this.context.Rf().info("drive.ds.sync.offline.LocalDataService",a)};
var KM=function(a){_.zi.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Sc=new _.Ne(this);this.ma=null;this.Ta=this.va=!1;var b=new WDc(a);this.context.ha=b;this.Fa=new NDc(a,this);mpc(this.Fa);(b=_.B(a.Mc,_.WI,58))&&_.S(b,1,!1);this.Ma(this.Sc);this.O=this.context.Oj;this.W=a.efa;this.V=new GDc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.LRa()};_.K(KM,_.zi);_.g=KM.prototype;_.g.LRa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Zh();var b=this.context.vk().H(106E3);this.ma.promise.then(function(){b&&b.yj()},function(){_.JK(a.context.vk(),181008852)});var c=_.nK(this.context.Mc)?"(coldstart) ":"";this.context.Rf().info(this.Ba,"Initializing "+c+" with client build: "+this.context.Mc.Wi());this.Sc.listen(this.context,_.Bc,this.cub);this.Sc.listen(this.context.vI,["nb","ob"],function(d){return void a.dispatchEvent(d)});this.Sc.listen(this.context.tk(),[].concat(_.nd(Object.values(_.EB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();$L(this.O,"NSockf")}return this.ma.promise};_.g.HWa=function(){this.context.Rf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.cub=function(a){var b=a.error,c=b.Qg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.DY=function(){throw LM("teamDriveQuery");};_.g.hda=function(){throw LM("teamDriveFindByIds");};
_.g.vpa=function(){throw LM("teamDriveMovePreflight");};_.g.JFa=function(){throw LM("peoplePredictQuery");};_.g.query=function(a){Gvc(this.context.tm,a,ysc(this.context.Kg));this.lF();var b=a.clone();b=this.V.Vwa(b);this.Ta||(a=a.ve(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Cc,this.$La)));return b};_.g.$La=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Sc.Yc(a,_.Cc,this.$La)}};_.g.Bq=function(a){this.lF();jtc(a);return this.V.Swa(a.clone())};
_.g.Rua=function(){throw LM("activityQuery");};_.g.Dva=function(){throw LM("backupsQuery");};_.g.uGa=function(){throw LM("refreshBackups");};_.g.qV=function(){throw LM("getAndroidBackupItems");};_.g.j8=function(){throw LM("deleteBackup");};_.g.MFa=function(){throw LM("permissionQuery");};_.g.T$=function(){throw LM("insertPermission");};_.g.k8=function(){throw LM("deletePermission");};_.g.ld=function(){throw LM("mutate");};_.g.RN=function(){throw LM("mutateWorkspace");};
_.g.Az=function(){throw LM("bulkMutate");};_.g.Rwa=function(){throw LM("createFileUploader");};_.g.ZRa=function(a){return new JM(this.context.Qm(),a)};_.g.yr=function(a){if(3===a.getType())return _.ii(this.context.Qm().then(function(b){return b.Re(a)}).then(null,_.bJ));throw LM("getApps with type "+a.getType());};_.g.xr=function(){throw LM("getApp");};_.g.V$=function(){throw LM("installApp");};_.g.i8=function(){throw LM("deleteApp");};_.g.$S=function(){throw LM("updateApp");};
_.g.qN=function(){throw LM("getUserAccount");};_.g.JG=function(){throw LM("getUserPrefs");};_.g.XR=function(){throw LM("mutateUserPref");};_.g.lu=function(){throw LM("getRevisions");};_.g.wBa=function(){return!1};_.g.Ml=function(a){this.context.jz?a?_.hlc(this.context.jz,!0):this.context.tk().Ue()&&this.context.jz.oM(!0).then(null,function(){}):this.context.Jj().Ml(a)};_.g.Wy=function(){throw LM("setOfflineOptIn");};_.g.fY=function(){throw LM("setLocalItemService");};_.g.lF=function(){};
_.g.ZR=function(){this.context.ZR();this.context.vk().O(106006)};_.g.t9=function(){return this.Fa};_.g.cY=function(){};_.g.HB=function(){return this.context.vI.HB()};_.g.hQ=function(){return _.S(this.context.Mc.eg(),52,!1)?_.Wh($vc(new Zvc,0)):this.context.vI.hQ()};_.g.isConnected=function(){return 1===this.context.tk().get()};_.g.D7=function(){var a=this.context.jz;return a?a.oM():_.Wh(_.Rkc(0))};_.g.sync=function(){throw LM("sync");};_.g.Gu=function(){return this.context.Gu()};
_.g.lba=function(){throw LM("offlineDataLoaded");};_.g.yna=function(a){return this.context.Qm().then(function(b){return b.Re(a)}).then(function(b){return b})};_.g.ewa=function(){throw LM("categoryMetadataQuery");};_.g.y7=function(){throw LM("changeCategoryLinks");};_.g.ZO=function(){throw LM("updateCategoryMetadata");};_.g.eGa=function(){throw LM("publishedCategoriesQuery");};_.g.fGa=function(){throw LM("publishedCategoryQuery");};_.g.HKa=function(){throw LM("workspaceFindByIdsRequest");};
_.g.qqa=function(){throw LM("workspaceQueryRequest");};_.g.YIa=function(){throw LM("suggestedWorkspaceItemQueryRequest");};_.g.ZIa=function(){throw LM("suggestedWorkspaceQueryRequest");};_.g.r_=function(){throw LM("addCacheHint");};_.g.X_=function(){throw LM("createUserFeedback");};_.g.Po=function(){throw LM("handleChanges");};var LM=function(a){return new _.qc(a+" is unsupported",_.$I(3))};
var Lpc=function(a){KM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Eu("")};_.K(Lpc,KM);Lpc.prototype.$a=function(){ZL(this.O,["NSockf"],this.HWa.bind(this))};
var XDc=new Set([1,2,4,5,6]),YDc=function(a,b,c,d,e){this.O=a;this.ka=b;this.ha=c;this.W=d;this.V=e;this.H=null;this.status=3;this.Ke=0};YDc.prototype.kf=function(){var a=new _.FM;a.Dc(this.status);this.H&&_.ICc(a,ZDc(this));return a};
var $Dc=function(a,b,c,d){d=void 0===d?!1:d;var e=XDc.has(c);if(1===a.status&&!e)return!1;a.Ke=c;var f=a.status;c=!a.H;if(_.FI(a.O)){var h=(h=b&&b.getUser())&&bL(h);h=!(!h||!Hxc(a.ka,h));a.status=h&&e||d?1:6}f=!_.Uj(a.H,b)||(_.FI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.FI(a.O)||(a.status=e||d?1:6);c&&($L(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};YDc.prototype.Ze=function(){return this.Ke};
var ZDc=function(a){return a.H?a.H.clone():null};
var aEc=function(a){_.zi.call(this);this.ha=a;this.Ke=0};_.K(aEc,_.zi);var bEc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};Cuc(a,_.Td(a,4).map(b));Duc(a,_.Td(a,5).map(b));return a};_.g=aEc.prototype;_.g.yr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.cQ=function(){};_.g.PG=function(){return 0!==this.Ke};_.g.Ze=function(){return this.Ke};
var cEc=new Set([1,2,4,5,6]),dEc=function(a,b,c){aEc.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.np=!1};_.K(dEc,aEc);dEc.prototype.yr=function(){var a=new VL;if(!_.Ta(this.H)){_.Kj(a,4,this.O);var b=[];_.La(this.H,function(c){b.push(c.clone())});_.Mj(a,2,b)}a.Dc(this.status);return a};dEc.prototype.put=function(a){this.H[a.getId()]=bEc(a);this.V.update(1);this.dispatchEvent(new _.ri("Qb",this))};dEc.prototype.remove=function(a){_.Va(this.H,a)&&this.V.update(1)};
dEc.prototype.cQ=function(a,b,c){c=void 0===c?!1:c;var d=!cEc.has(b);1===this.status&&d||(this.Ke=b,eEc(this,a,!d||c),d||this.V.update(1),this.np||(this.np=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),$L(this.ha,"nVUlO")))};
var eEc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Td(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Da(f);d=f.length!==a.O.length}a.O=e;var h=_.Ya(a.H);_.dhc(a.H);b=_.Qj(b,_.HL,2);d||(d=b.length!==_.Pa(h));b.forEach(function(k){var l=bEc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Uj(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ri("Qb",a))};
var MM=function(a){_.N.call(this);this.context=a;this.Gy=new Set;this.Ap=6;this.mCa=!0;this.Ke=0;this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K(MM,_.N);_.g=MM.prototype;_.g.ki=function(a){this.YQa(a);this.Gy.add(a);this.resize(!0);this.oO(a)};_.g.YQa=function(){};_.g.fk=function(a){this.Gy.delete(a);0!=this.Gy.size||this.UYa()?this.resize(!1):this.dispose()};_.g.Ze=function(){return this.Ke};_.g.Li=function(a){this.Ke=a};_.g.cC=function(a){this.mCa=!1;this.Ap=a};_.g.BJ=function(){return this.Ap};
_.g.refresh=function(){};_.g.Zj=function(){};
var gEc=function(a,b,c){if(Array.isArray(c)){c.forEach(function(k,l,p){p[l]=k.clone()});var d=c}else{d=[];for(var e=_.m(Object.entries(c)),f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;if(h=h.next().value)h=h.clone(),c[f]=h,d.push(h)}}fEc(a.context.wf,d,b);d.forEach(function(k){Fyc(a.context.dMa,k,b);if(k.yc()){var l=k.getCapabilities();PL(k)?l&&(_.kic(l,_.Q(l,13)),_.hic(l,!1),_.oic(l,!1)):fL(k)?(l&&_.w(l,3,!1),_.w(k,30,!1)):l&&(_.sic(l,!1),_.tic(l,!1))}k.getCapabilities()||_.hK(k,
new _.Zk)})};MM.prototype.resize=function(){};MM.prototype.qd=function(){};MM.prototype.tl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=YL(e);d=c.Lu(e,!0)||d});b||(1!=this.BJ()&&(d=!0),this.cC(1));d&&this.EX()};var hEc=function(a,b){var c=!1;b.forEach(function(d){c=a.Lu(d)||c});c&&a.EX();return c};_.g=MM.prototype;_.g.update=function(a){return hEc(this,[a])};_.g.Lu=function(){};_.g.EX=function(){var a=this;this.XQa();this.Gy.forEach(function(b){a.oO(b)})};_.g.XQa=function(){};
_.g.oO=function(a){var b=iEc(this.context).lka(a);this.gYa(b)||(b=this.Zj(b),iEc(this.context).oO(a,b))};_.g.DX=function(a){var b=this;this.cC(3);this.Gy.forEach(function(c){iEc(b.context).DX(c,a)})};_.g.rA=function(){var a=this;this.Gy.forEach(function(b){iEc(a.context).rA(b)});this.Li(0==this.Ze()?1:6)};_.g.UYa=function(){return!1};_.g.gYa=function(){return!1};
var jEc=function(a){_.ri.call(this,"Ba");this.id=a};_.K(jEc,_.ri);
var kEc=function(a,b,c,d){d=void 0===d?!1:d;_.zi.call(this);this.request=a;this.context=b;this.xKa=d;this.ke=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.K(kEc,_.zi);
kEc.prototype.$g=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Zh();for(var b={},c=_.m(this.request.jn().entries()),d=c.next();!d.done;b={Wqa:b.Wqa,aea:b.aea,Hqa:b.Hqa},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Hqa=e;b.Wqa=Ksc(Jsc(d),this.request);b.aea=void 0;this.xKa&&(b.aea={xKa:!0});this.context.Qm().then(function(f){return function(h){return h.Re(f.Wqa,f.aea)}}(b)).then(function(f){return void lEc(a,f)},function(f){return function(h){var k=f.Hqa;h=
_.DB(h);5===h.Qg.$s()||4===h.Qg.rk()?(a.context.Rf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),mEc(a)):a.handleError(h)}}(b))}return this.ke.promise};var lEc=function(a,b){b.jd().wd().forEach(function(c){_.TI(c,1);a.W.push(c)});mEc(a)},mEc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
kEc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;nEc(this);oEc(this);this.O.size===this.request.jn().length?(this.context.wf.tl([],1,this.originalRequest,!1),this.dispatchEvent("Da"),this.ke.resolve(this.items)):this.dispatchEvent("Aa")};
var nEc=function(a){var b=a.W;a.W=[];b=a.context.gfa.N8(b);if(_.ZI(_.AI(a.context.Mc))){var c=a.context.wf.rm;_.Ia(b,function(d){var e=c.H(d.getId());e&&_.gK(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.wf.tl(b,1,a.originalRequest,!0)},oEc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.UI(_.KI(new _.JI,c));a.context.wf.Po([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new jEc(c))})};
kEc.prototype.handleError=function(a){var b=new vL(a.Qg,_.Vj(this.context.Mc.eg(),1,1));this.context.wf.BB(this.request,b);this.dispatchEvent(b);this.ke.reject(a)};
var pEc=function(a,b,c,d){MM.call(this,a);this.Kg=b;this.request=c;this.Hd={};this.H=null;this.O=_.PI(a.Mc)||new _.ygc;d&&this.tl(d,!0)};_.K(pEc,MM);
pEc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Ap=6;if(_.S(this.request,5,!1))return this.cC(1),_.Wh();var b=!this.mCa&&_.S(this.O,3,!1)?!1:!koc(_.tK(this.Kg),this.request.O()),c=[],d=this.context.Zn();this.request.jn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Hd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.qv()||b)l=l&&l.Om(),k=!(l&&_.Q(l,2));k&&c.push(h)}});if(0===c.length)return this.tl([],!1),_.Wh();this.H=_.Zh();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.AA(e,c);var f=new kEc(e,this.context,this.request);this.context.Jj().Ue()?(this.Sc.listen(this.context.Jj(),"Fb",function(h){h.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),qEc(a,f,a.H))}),this.Ap=0<Object.values(this.Hd).length?1:2):(this.context.tk().Ue()&&(this.Ap=0<Object.values(this.Hd).length?1:2),qEc(this,f,this.H));return this.H.promise};var qEc=function(a,b,c){a.Sc.listen(b,"Ba",function(d){a.Hd[d.id]=null});a.rA();b.$g().then(function(){c.resolve()},c.reject)};
_.g=pEc.prototype;_.g.Bha=function(a){var b=this;if(this.context.tm.equals(a,this.request,!0)){if(koc(_.tK(this.Kg),a.O()))return!0;if(koc(this.request.O(),a.O(),_.tK(this.Kg))){if(this.mCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.jn().every(function(c){return(c=b.Hd[c])&&_.Q(c.getItem(),31)})}}return!1};
_.g.Zj=function(a){var b=new _.BK;_.FI(this.context.Mc)?b.Dc(xoc(Object.values(this.Hd))?6:this.Ap):b.Dc(this.Ap);b.Li(this.Ze());dtc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));gEc(this,a.O(),b.eq());return b};_.g.resize=function(){};_.g.qd=function(){return this.request};_.g.Ed=function(){return Object.values(this.Hd).length};_.g.Lu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.xs=function(a){return!!a&&_.oa(this.request.jn(),a.getId())};
var rEc=function(a,b){_.ri.call(this,a);this.changes=b};_.K(rEc,_.ri);
var sEc=function(a){var b=new Nxc;if(a.Zf()){var c=a.Zf();b.H=!1;b.suggestionSessionId=c}a instanceof _.CK&&_.Qj(a,_.Kk,6).length?(a=_.Qj(a,_.Kk,6),b.H=!1,b.V=a):a instanceof _.rB&&(a.R5()||a.Wra()||a.Xja().length)&&(c=a.R5(),b.H=!1,b.W=c,c=a.Wra()||!1,b.H=!1,b.incompleteSearch=c,a=a.Xja(),b.H=!1,b.O=a);return b};
var NM=function(a,b,c,d,e){e=void 0===e?"":e;_.zi.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ka=a.Rf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.bGa(b);this.ha=new Nxc};_.K(NM,_.zi);var tEc=function(a){return!a.va||""!==a.nextPageToken},vEc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&tEc(a)?uEc(a):_.hi()};NM.prototype.$b=function(){return this.V.length};NM.prototype.H=function(){return this.V.slice()};
var uEc=function(a){var b=a.W-a.V.length+a.ka;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.ai;d.addCallback(function(f){return void wEc(a,c,f)});var e=_.bhc(_.chc(new _.GI,a.Fa),c);b=_.$gc(new _.Yfc,b);a.Ha&&_.w(b,10,!0);_.ahc(e,b);a.va=!0;a.O=!0;a.context.Qm().then(function(f){return f.Re(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
NM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.CK)var c=b;else c=b.jd(),this.nextPageToken=b.Xn()||"";this.ha=sEc(c);this.ha.vc()||this.dispatchEvent("Ca");a.callback(c.wd())};
NM.prototype.handleError=function(a,b,c){c=_.DB(c);this.O=!1;if(5===c.Qg.$s())a.callback([]);else{if(10===c.Qg.$s()&&(_.$gc(b,Math.ceil(_.Vj(b,1,1E3)/2-2E-15)),1<_.Vj(b,1,1E3))){var d=_.ahc(_.bhc(_.chc(new _.GI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Qm().then(function(e){return e.Re(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new vL(c.Qg,_.Vj(this.context.Mc.eg(),1,1));this.aMa(b);this.dispatchEvent(b);a.Id(c)}};
var wEc=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: ")+(_.hkc(a.request)+" paginationToken: ")+b;b=_.iq(_.gq(_.MI(_.LI(new _.oc,2),9),f));a.context.dispatchEvent(new _.rc(new _.qc(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ba.has(h.getId());a.Ba.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.TI(b.value,
a.ma?2:1);c=[];b=_.m(a.y1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.KI(new _.JI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new rEc("Aa",c));if(a.V.length<a.W&&a.nextPageToken)return uEc(a);a.dispatchEvent("Da")};_.g=NM.prototype;_.g.y1a=function(a){return a};_.g.aMa=function(){};_.g.qd=function(){return this.request};_.g.bGa=function(a){a=a.clone();this.ma&&_.w(a,46,!0);return a};_.g.log=function(a){this.Ka.info("drive.ds.sync.query.QueryRunner",a)};
var xEc=function(a,b,c,d){NM.call(this,a,b,void 0,c,d)};_.K(xEc,NM);xEc.prototype.y1a=function(a){a=this.context.gfa.N8(a);this.context.wf.tl(a,1,this.request,tEc(this));return a};xEc.prototype.aMa=function(a){this.context.wf.BB(this.request,a)};xEc.prototype.bGa=function(a){var b=a=NM.prototype.bGa.call(this,a),c=_.Gl(b);0===_.Td(b,33).length&&1===c.length&&(c=this.context.wf.rm.H(c[0].Za()))&&(c=c.yc())&&(_.Il(b,[c]),_.Jl(b,2));yEc(this,a);return a};
var yEc=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.wf.rm.H(d.Za()))&&_.Q(d,108)})){var c=b.ve();c||(c=new _.wf,_.Hl(b,c));_.xf(c,937)}};
var zEc=function(a,b,c,d){this.context=a;this.Kg=b;this.W=d;this.Ana=0;this.H=c},DEc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.hf,[b]),_.tK(a.Kg)),1),d=_.xf(new _.wf,306);_.Hl(c,d);AEc(a);c=new xEc(a.context,c);vEc(c,5E3).addCallback(a.V.bind(a,c));BEc(a);CEc(a,b)}},BEc=function(a){var b=_.Qa(a.H);b=b.filter(function(d){return d instanceof pEc});var c=new Set;b.forEach(function(d){d.qd().jn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.xf(new _.wf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.qO([].concat(_.nd(c)),b)},CEc=function(a,b){var c=[];(a.context.wf.kGa.nQ[b||"subscribed"]||[]).forEach(function(d){_.La(a.H,function(e){_.Uj(e.qd(),d)&&c.push(e)})});_.Da(c);0<c.length&&(AEc(a),c.forEach(function(d){d=xL(a.context.tm,d.qd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.$h(_.Yh(c.map(function(d){return d.refresh().Gg(_.Of)})),a.O.bind(a)))};
zEc.prototype.qO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ie(f)});if(0===a.length)return _.Wh({});a=_.w(_.zA(_.AA(new _.yA,a),d||_.tK(this.Kg)),7,!0);_.BA(a,b);e&&e.length&&_.Mj(a,11,e);AEc(this);b=new kEc(a,this.context,void 0,c);return _.$h(b.$g(),this.V.bind(this,b))};zEc.prototype.V=function(a){a.dispose();this.O()};var AEc=function(a){a.Ana++;a.context.Ns.setActive(!1)};zEc.prototype.O=function(){this.Ana--;0===this.Ana&&this.context.Ns.setActive(!0)};
zEc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CacheRefresher",a)};
var EEc=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ke=null;a=new _.wf;_.yf(a,!1);_.xf(a,305);_.Hl(this.request,a);this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K(EEc,_.N);
EEc.prototype.$g=function(){if(!this.ke){this.ke=_.Zh();if(_.S(this.request,48,!1))return this.H.Li(9),this.ke.resolve(this.H),this.ke.promise;this.O=new NM(this.context,this.request,!0);this.Sc.listen(this.O,"Aa",this.W);this.Sc.listen(this.O,"Da",this.V.bind(this));this.Sc.listen(this.O,"Ea",this.ke.reject.bind(this.ke));vEc(this.O,this.request.Ei())}return this.ke.promise};EEc.prototype.W=function(a){a=_.m(a.changes);for(var b=a.next();!b.done;b=a.next())b=b.value.getItem(),this.H.update(YL(new NL(b)))};
EEc.prototype.V=function(){this.H instanceof bM?this.H.H=!tEc(this.O):tEc(this.O)&&aM(this.H,!1);this.H.Li(5);this.ke.resolve(this.H)};
var GEc=function(a,b){_.ri.call(this,FEc);this.cache=a;this.changes=b};_.K(GEc,_.ri);var FEc="Rb";
var HEc=function(a,b){return new _.Vh(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.ly()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();Foc(k.getItem());f.set(l,Zuc(new NL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.Cc(),l=f.get(l)||null,k.uk()?l&&a.update(new Jwc(l.getId(),l,null)):(k=k.getItem(),Foc(k),a.update(Kwc(l,Zuc(new NL(k),null===l||void 0===l?void 0:l.H))));a.WW();c(e.FKb)},d)})};
var IEc=function(a,b){_.N.call(this);this.context=a;this.Kg=b};_.K(IEc,_.N);
IEc.prototype.$g=function(a){this.log("Running initial view populator (IVDP).");try{var b=new LL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.aJ(l));return}a=_.AI(this.context.Mc);if(!_.ZI(a)){var c=b.kf();if(c){var d=c.getUser();d&&d.getId()===_.C(a,6,"")&&$Dc(this.context.TP,c,4)}(a=b.Zn())&&this.context.Eu(a,6)}var e=_.y(b,3)||void 0;e&&JEc(this.context,e,!0);if((a=_.Qj(b,_.np,9))&&a.length){c=(c=this.context.Mc.eg())&&_.Td(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.op(l))&&f.add(l)});this.context.jE.cQ(a,4,[].concat(_.nd(f.values())))}a=b.wd();a.forEach(function(l){_.shc(l);_.TI(l,6)});if(c=_.Qj(b,KL,5)[0])if(b=this.context.tm,roc(_.tK(this.Kg),c.getQuery().O(),_.mK(this.context.Mc)))if((d=c.getQuery().wc())&&4===d.getType()&&!_.rdc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=RL(b,c.getQuery());b=_.y(c,2)||void 0;d.ui(b);b=a.map(function(l){return new NL(l,void 0,1,e)});var h=_.B(c,_.el,3);
if(h&&_.y(c,2)){var k=b[b.length-1];_.TI(h,6);if(!_.Uj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(h=_.PI(this.context.Mc))&&_.S(h,2,!1)&&c.Xn()||"";k=new bM(this.context.vt,this.context.xv,this.context.tm,d,k,c);k.Li(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(YL(h.value))?c++:d++;KEc(this.context.wf,k);b=k.qd();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.QM());
k=new _.GI;_.chc(k,b);k=_.qlc(this.context.WA,k,"IVDP");_.rlc(k,a);$L(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+Evc(b,c.getQuery().O()));else this.handleError("No initial query found")};IEc.prototype.handleError=function(a,b){var c=b?void 0:_.iq(_.MI(_.LI(new _.oc,2),6));b=new _.qc(a,c,b);this.context.mJ(b.Qg);this.log("Initial view dump population failed. Message: "+a);$L(this.context.Oj,"DEJoH")};
IEc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var LEc=function(a){_.zi.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new eM(a.vt,a.xv,a.Oj,function(){return a.Zn()});this.H=this.context.Mc;this.ta=new dM(a.vt,a.xv)};_.K(LEc,_.zi);
var MEc=function(a,b){var c=_.Vj(a.H,31,2E4);("number"===typeof _.y(b,3)?_.y(b,3):c+1)>c?(aM(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.WA.Jb("CachedCorpusType",b)};LEc.prototype.log=function(a,b){this.context.Rf().log(this.W,a,b||"info")};var NEc=function(a,b){0===a.V&&(a.V=b)};
var OEc=function(a,b){var c;if(c=!!b&&!!b.wg())a=_.Q(a,4),c=null==a||!!_.Q(b.wg(),7)==a;return c};
var PEc=function(a,b){_.zi.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.K(PEc,_.zi);PEc.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?_.hi():QEc(this)};PEc.prototype.$b=function(){return this.V.length};
var QEc=function(a){a.O=!0;a.H=!0;var b=Wrc(Xrc(new _.VJ,a.request),a.nextPageToken),c=_.qlc(a.context.WA,b);return _.ii(a.context.Qm().then(function(d){return d.Re(b)}).then(function(d){var e=d.jd().wd();a.nextPageToken=d.Xn()||"";REc(a,c,e)},function(d){return void a.handleError(d)}))},REc=function(a,b,c){_.rlc(b,c);for(b=0;b<c.length;b++)_.TI(c[b],1);a.context.wf.tl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ia(c,function(e){this.V.push(e.getId());e=_.KI(new _.JI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new rEc("Aa",d));a.nextPageToken?QEc(a):(a.H=!1,a.dispatchEvent("Da"))};PEc.prototype.handleError=function(a){this.H=!1;a=new vL(_.NI(a),_.Vj(this.context.Mc.eg(),1,1));this.dispatchEvent(a)};PEc.prototype.qd=function(){return this.request};
var SEc=function(a){this.H=_.sdc(a,{numeric:!0})};SEc.prototype.sort=function(a){_.Ga(a,this.compare.bind(this))};SEc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ea(a.getId(),b.getId()):c};
var TEc=function(a,b,c,d){d=void 0===d?!1:d;MM.call(this,a);this.Kg=b;this.Hd=[];this.ke=null;this.request=c.clone();this.Ev=new PEc(a,this.request);this.pPb=new SEc(nL(_.AI(a.Mc)));this.xCa=null!=_.Q(this.request,6);_.Fe(this,this.lmb,this);d&&(this.ke=_.Zh(),this.ke.resolve())};_.K(TEc,MM);_.g=TEc.prototype;_.g.refresh=function(){3===this.Ap&&(this.Ap=6,this.ke=null);return this.hca()};_.g.isInitialized=function(){return!!this.ke};
_.g.hca=function(){var a=this;if(this.isInitialized())return this.ke.promise;this.ke=_.Zh();this.context.Jj().Ue()?this.Sc.listen(this.context.Jj(),"Fb",function(b){b.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),a.rA(),a.Ev.$g().jg(a.ke.resolve,a.ke.reject,a.ke))}):this.context.tk().Ue()?this.Sc.$c(this.context.tk(),[_.EB.CL,_.EB.hU],function(){a.rA();a.Ev.$g().jg(a.ke.resolve,a.ke.reject,a.ke)}):(this.rA(),this.Ev.$g().jg(this.ke.resolve,this.ke.reject,this.ke));return this.ke.promise};_.g.resize=function(){};
_.g.qd=function(){return this.request};_.g.ly=function(){return this.Hd};_.g.Bha=function(a){return this.context.tm.equals(a,this.request)};_.g.Zj=function(a){a=a.Ei();this.pPb.sort(this.Hd);var b=hpc(_.za(this.Hd,0,Math.min(a,this.Hd.length)));gEc(this,zsc(this.Kg),b);var c=new _.rB;c.Uw(b);c.Dc(this.wwa(a));c.Li(this.Ze());xrc(c,a<this.Hd.length||!(this.context.Jj().Ue()||this.context.tk().Ue())&&1!==this.Ap);return c};
_.g.wwa=function(a){return 1===this.Ap||a<=this.Hd.length?1:this.context.Jj().Ue()||this.context.tk().Ue()?0<this.Hd.length?1:2:6};_.g.tl=function(a,b){this.isInitialized()&&MM.prototype.tl.call(this,a,b)};_.g.Lu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ma(this.Hd,function(h){return h.getId()===c}),e=!!d;b=this.xs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.dKa(f,a.H):this.iJ(f):this.rR(a.H);else return!1;return!0};_.g.rR=function(a){this.Hd.push(a);a.count++};
_.g.iJ=function(a){_.ua(this.Hd,a);a.count--};_.g.Hya=function(a){return _.na(this.Hd,a)};_.g.dKa=function(a,b){this.Hd[this.Hya(a)]=b;b.count++;a.count--};_.g.xs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.xCa&&null!=_.Q(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Hd.find(function(d){return c===d.getId()},this);a=PL(a.getItem())&&OEc(this.request,a.getItem());return b&&a}return PL(a.getItem())&&OEc(this.request,a.getItem())};_.g.lmb=function(){this.Hd.forEach(function(a){a.count--})};
_.g.UYa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ed=function(){return this.Hd.length};_.g.WW=function(){this.Ap=1};
var UEc=function(a){this.H=a},VEc=function(a,b,c,d,e){if(0===e||null===b){var f=new pCc;_.w(f,2,b);_.w(f,1,d);return _.Wh(f)}var h=Yvc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.Re(h)}).then(function(k){var l,p=null!==(l=k.qy())&&void 0!==l?l:null;k=d+_.y(k,1);return VEc(a,p,c,k,e-1)})};
var WEc=function(a,b){LEc.call(this,a);this.Kg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.GD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.K(WEc,LEc);WEc.prototype.handleError=function(){this.log("Local dump population failed.");$L(this.context.Oj,"mrK8ic")};
WEc.prototype.$g=function(){var a=this;if(this.ka)return this.ka;if(this.context.uQ){var b=new _.ai;this.ka=b;this.initialize().then(function(){var c=_.Qj(_.oL(a.H),mL,11);c=c[0]&&c[0].getKey()||"";return XEc(a,a.context.uQ,c,4)}).then(null,function(c){if(_.S(a.H,8,!0))return YEc(a);throw c;}).then(function(){_.FI(a.H)||a.context.wf.sq.H.clear();$L(a.context.Oj,"zaOY7");b.callback()},function(c){NEc(a,8);a.handleError();b.Id(c)});return b}this.handleError();return _.ji(Error("gg"))};
WEc.prototype.initialize=function(){var a=this;return _.Wh(this.context.uQ.initialize()).then(function(){if(!_.nK(a.H)){var b=_.Vj(_.oL(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Vh(function(c,d){aAc(a.context.yD).then(function(e){e?c():d(Error("hg"))})})}})};
var XEc=function(a,b,c,d){return _.Uf(a,function f(){var h=this,k;return _.If(f,function(l){return 1==l.H?(k=h.ha,ZEc(h,b,c,k),$Ec(h,b,c,k),aFc(h,b,c,k),_.Cf(l,bFc(h,b,c,k),2)):_.Cf(l,Promise.all([cFc(h,b,c,d,k),dFc(h,b,c,d,k),eFc(h,b,c,d,k),fFc(h,b,c,d,k)]),0)})})},ZEc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};lM(b,c,0,void 0,d,a.GD).then(function(f){f[0]?$Dc(a.context.TP,f[0],a.Ze(),_.nK(a.H)):e()},function(){return e()})},$Ec=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};lM(b,c,1,void 0,d,a.GD).then(function(f){f[0]?a.context.GZ.cQ(f[0],a.Ze(),_.nK(a.H)):e()},function(){return e()})},aFc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};lM(b,c,5,void 0,d,a.GD).then(function(f){if(f[0]){f=f[0];var h=_.Qj(f,_.np,1);h.length&&a.context.jE.cQ(h,a.Ze(),_.Td(f,2),_.nK(a.H))}else e()},function(){return e()})},cFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,1,e,a.GD).then(function(h){return gFc(a,
h[0])}).then(function(h){if(h){b!==a.context.uQ||roc(_.Td(h,12),_.tK(a.Kg),_.mK(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Ns.hS());var k=_.y(h,3);if(!k||0>k)throw Error("kg");a.context.Eu(h.Zn(),d);k=_.y(h,3);"number"===typeof k&&JEc(a.context,Number(k));_.nK(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.GDa());a.tl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},dFc=function(a,
b,c,d,e){var f=new _.En;lM(b,c,3,2,e,a.GD).then(function(h){h[0]?(a.tl(h[0],d),f.resolve()):f.reject(Error("ig"))},function(h){return f.reject(h)});return f.promise},eFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,4,e,a.GD).then(function(h){h.forEach(function(k){a.tl(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},fFc=function(a,b,c,d,e){var f=new _.En;lM(b,c,3,3,e,a.GD).then(function(h){h.length?h.forEach(function(k){a.tl(k,d)}):$L(a.context.Oj,"rVezo");f.resolve()},function(h){return f.reject(h)});
return f.promise},bFc=function(a,b,c,d){var e=new _.En;lM(b,c,6,void 0,d,a.GD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.Qj(h,WL,1).length&&(a.log("Importing "+_.Qj(h,WL,1).length+" people into the PeopleCache."),h=_.Qj(h,WL,1),jxc(a.context.wf.sq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},gFc=function(a,b){var c=_.y(b,3);if(c&&!_.nK(a.H)){var d=new UEc(a.context.Qm()),e=_.Vj(_.oL(a.H),13,5);return VEc(d,c,null,0,e).then(function(f){return _.P(f,
2)?(a.log("Encrypted dump too stale."),a.context.vk().O(106007),NEc(a,9),null):b},function(){return b})}return _.Wh(b)},YEc=function(a){var b=mM(a.context.IL.hj()),c=_.Qj(_.oL(a.H),mL,11).filter(function(d){return d.lt()});return Tzc(_.lK(_.AI(a.H)),_.mK(a.H),_.Vj(_.oL(a.H),10,0)||0,_.tK(a.Kg),a.ha||0,c.map(function(d){return _.y(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.y(k,1)}),f=new nM(_.Wh(d),a.context.Rf(),null,!0),h=new Ryc(f,a.H,function(k){a.context.mJ(k)});
h.initialize();a.ma=!0;return XEc(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Yzc])}).then(function(k){k[0]?(k=k[0].Za(),k=a.context.yD.set(Yzc,k)):k=Promise.resolve();return k}).then(function(){f.close()})}return _.Xh(Error("jg"))})},kFc=function(a,b,c){switch(b.Wn()){case 1:return hFc(a,b,c);case 2:var d;b=_.B(b,qpc,11);if(!b)throw Error("lg");MEc(a,b);(b=a.O.WG?a.O:(null===(d=_.PI(a.H))||void 0===d?0:_.S(d,17,!1))?a.ta:null)?(b.Li(a.Ze()),a=[{cache:b,changes:kM(a.context.Bz,
null)}]):a=[];return a;case 3:return iFc(a,b);case 4:return jFc(a,b);default:return null}},hFc=function(a,b,c){var d=[];_.Qj(b,KL,5).forEach(function(e){var f=void 0,h=_.B(e,_.el,3);h&&(_.shc(h),_.Q(a.H,67)&&foc(h,uoc),_.TI(h,c),f=new NL(h));var k=e.getQuery();if(!_.S(k,48,!1)||_.Qj(a.H,_.hf,44).some(function(l){if(!_.S(l,48,!1))return!1;l=RL(a.context.tm,l,!0);return _.Uj(l,k)}))e=new bM(a.context.vt,a.context.xv,a.context.tm,k,f),e.Li(a.Ze()),d.push({cache:e,changes:kM(a.context.Bz,null)})});return d},
jFc=function(a,b){return _.Qj(b,KL,5).map(function(c){c=new TEc(a.context,a.Kg,_.B(c,_.uI,5),!0);c.Li(a.Ze());return{cache:c,changes:kM(a.context.Bz,null)}})},iFc=function(a,b){var c=_.Td(_.Qj(b,KL,5)[0].getQuery(),33)[0],d=_.y(b,3)||void 0;b=kM(a.context.Bz,c);OM(a.context).addCallback(function(f){f.$ua(c,d)});var e=new gM(a.context.vt,a.context.xv,c);e.Li(a.Ze());return[{cache:e,changes:b}]};
WEc.prototype.tl=function(a,b){var c=this,d=kFc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.wd()),f=e.next();!f.done;f=e.next()){var h=f.value;_.shc(h);_.Q(this.H,67)&&foc(h,uoc);_.TI(h,b);_.FI(this.H)||this.context.wf.sq.H.vc()||Fxc(this.context.wf.sq,[h]);f=new NL(h);_.Td(a,14).includes(h.getId())&&Zuc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(YL(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new GEc(l,k.changes));c.log("Imported "+l.Ed()+" items into the "+l.getType());var p=null;
l instanceof gM&&(p=l.yc());c.context.Q$.promise.then(function(){myc(c.context.Bz,p)})});1===a.Wn()&&$L(this.context.Oj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Wn()+".")};WEc.prototype.Ze=function(){return this.ma?7:3};
var lFc=function(a){_.N.call(this);this.context=a};_.K(lFc,_.N);lFc.prototype.$g=function(a){try{mFc(this,new iCc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var mFc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:nFc(a,b);break;case 4:oFc(a,b);break;case 6:pFc(a,b);break;case 2:qFc(a,b);break;case 7:rFc(a,b);break;case 5:_.Qj(_.B(b,kCc,7),iCc,1).forEach(function(c){mFc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},nFc=function(a,b){var c=_.B(b,_.hf,2);b=JSON.parse(_.y(b,3)||"{}");var d=new _.GI;_.chc(d,c);b=a.context.aR().ksa.EE(d,{headers:{},text:"",json:b}).jd();
sFc(a,c,b)},pFc=function(a,b){sFc(a,_.B(b,_.hf,2),_.B(b,_.rB,9))},sFc=function(a,b,c){for(var d=c.wd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.TI(f.value,7);c=sEc(c);a=a.context.wf;b=RL(a.context.tm,b);e=PM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new QM(a.context,b),f.Li(2),tFc(a,e,f));c.vc()||f.jsa(c);a.tl(d,1,b)},qFc=function(a,b){b=_.B(b,_.bA,5);var c=a.context.Mc.eg();c=c&&_.Td(c,30)||[];var d=new Set(c);_.Qj(b,_.np,3).forEach(function(e){(e=(e=
e.getKey())&&_.op(e))&&d.add(e)});a.context.jE.cQ(_.Qj(b,_.np,3),2,[].concat(_.nd(d.values())))},oFc=function(a,b){a.context.hfa.w2(_.B(b,XL,8).ql(),_.B(b,_.fA,6),2,!1)},rFc=function(a,b){var c=_.B(b,_.dA,10);b=JSON.parse(_.y(b,3)||"{}");b=a.context.aR().ksa.EE(c,{headers:{},text:"",json:b});HDc(a.context).w2([b],c,2,!1)};lFc.prototype.handleError=function(a,b){var c=b?void 0:_.iq(_.MI(_.LI(new _.oc,2),6));this.context.dispatchEvent(new _.rc(new _.qc(a,c,b)));this.log("Prefetched request population failed.")};
lFc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var RM=function(a){LEc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.va=Math.ceil(1.1*_.Vj(a.Mc,31,2E4))};_.K(RM,LEc);RM.prototype.$g=function(){if(!_.S(this.H,45,!1))return NEc(this,5),this.handleError(),_.ji(Error("mg"));this.log("Drive SDK cache population initiated.");return this.context.oVa().addCallback(this.Fa,this).addCallback(this.Ba,this).Pg(this.handleError,this)};
RM.prototype.Fa=function(){var a=this;$L(this.context.Oj,"L6uQWd");OM(this.context).addCallback(function(b){b.wda()});if(_.S(this.H,46,!1))return ppc(this.context.Qm(),this.context.Rf()).addCallback(function(b){if(!b)throw NEc(a,4),Error("ng");MEc(a,b)});this.log("Subscribed corpus cache population disabled.");aM(this.O,!1);return _.hi()};
RM.prototype.Ba=function(){this.context.GDa();var a=new _.ai;if(this.O.WG){this.log("Starting subscribed corpus cache population.");var b=this.O.qd();b.ui(this.va);this.O.Li(5);uFc(this,this.O,b)}b=_.Qj(this.H,_.hf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new bM(this.context.vt,this.context.xv,this.context.tm,c.value),c.Li(5),uFc(this,c,c.qd()),c=xL(this.context.tm,c.qd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Yh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var uFc=function(a,b,c){var d=kM(a.context.Bz,null);b=new EEc(a.context,b,c);a.ha.push(b);b=_.$h(b.$g().then(function(e){!e.WG&&e instanceof eM&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.WA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new GEc(e,d))}),function(){a.context.Q$.promise.then(function(){myc(a.context.Bz,null)})});a.ka.push(b)};
RM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();NEc(this,7);c=b;b instanceof vL?c=_.aJ(b.error):_.EI(b)||(c=Error("og`"+b));a.Id(c)};RM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");$L(this.context.Oj,"Gv4zef")};RM.prototype.Ze=function(){return 5};
var vFc=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Sc=new _.Ne(this);this.impression=null;this.W=[];this.Ma(this.Sc);this.H=new WEc(this.context,this.context.Kg);this.Ma(this.H);this.O=new RM(this.context);this.Ma(this.O)};_.K(vFc,_.N);
vFc.prototype.$g=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.vk().H(106002);_.n._DRIVE_dsp&&wFc(this);_.n._DRIVE_dspc=function(c){wFc(a,c)};kM(this.context.Bz,null);_.S(this.context.Mc,24,!1)&&!_.nK(this.context.Mc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?xFc(this):_.n._DRIVE_ivdc=function(){xFc(a)});var b=this.context.uQ;if(b)return this.Sc.listen(this.H,FEc,this.ha),this.Sc.listen(this.O,FEc,this.ha),(!_.S(this.context.Mc,10,!1)&&_.Q(this.context.Mc,
69)?this.context.tX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.GD=a.impression);return a.H.$g().jg(function(){return yFc(a,a.H.Ze())},function(){zFc(a,a.H.Ze(),a.H.V);return _.nK(a.context.Mc)?a.handleError(Error("pg")):a.O.$g().then(function(){return yFc(a,a.O.Ze())},function(c){zFc(a,a.O.Ze(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.EI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var wFc=function(a,b){var c=new lFc(a.context);(_.n._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e===b)}).forEach(function(d){c.$g(d)});c.dispose()};vFc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(AFc(this,b,a.changes))};
var yFc=function(a,b){myc(a.context.Bz,null);$L(a.context.Oj,"L6uQWd");OM(a.context).addCallback(function(c){c.wda()});return Promise.all(a.W).then(function(){BFc(a,b)})},BFc=function(a,b){if(!a.isDisposed()){_.nK(a.context.Mc)||CFc(a.V,_.Qj(a.context.Mc,_.hf,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Ns.HDa():aAc(a.context.yD).then(function(d){d&&a.context.Ns.HDa()},function(){});$L(c,"rVezo");$L(c,"BNEDtc");a.impression&&(b=_.AK(_.mgc,
b),tsc(Bsc(a.impression),b),ssc(Bsc(a.impression),!0),usc(Bsc(a.impression),tvc(a.V.rm)),vsc(Bsc(a.impression),a.context.wf.Wn()),a.impression.yj());a.dispose()}},zFc=function(a,b,c){a.impression&&(b=_.AK(_.mgc,b),tsc(Bsc(a.impression),b),a=Bsc(a.impression),_.Oj(a,3,c,void 0))};
vFc.prototype.handleError=function(a,b){b=void 0===b?!1:b;myc(this.context.Bz,null);var c=this.context.Oj;$L(c,"L6uQWd");OM(this.context).addCallback(function(d){d.wda()});$L(c,"mrK8ic");$L(c,"Gv4zef");$L(c,"rVezo");$L(c,"BNEDtc");this.context.WA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.uQ||_.S(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.EI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.qc(b,void 0,c),c=a.Qg,_.LI(c,_.nK(this.context.Mc)?3:1),_.MI(c,
6),_.gq(c,b),_.iq(c),this.context.dispatchEvent(new _.rc(a))):this.log("Corpus population skipped");this.impression&&(ssc(Bsc(this.impression),!1),this.impression.yj());this.dispose()};var AFc=function(a,b,c){return HEc(b,c).then(function(d){d.some(function(e){return b instanceof gM&&e.uk()&&e.Cc()===b.yc()})||KEc(a.V,b,d)},function(){return a.handleError(Error("qg"))})},xFc=function(a){if(_.n._DRIVE_ivd){var b=new IEc(a.context,a.context.Kg);a.Ma(b);b.$g(_.n._DRIVE_ivd)}else $L(a.context.Oj,"DEJoH")};
vFc.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var DFc=function(){cM.apply(this,arguments)};_.K(DFc,cM);_.g=DFc.prototype;_.g.xs=function(a){var b;if(b=cM.prototype.xs.call(this,a))a=a&&a.getItem()&&a.getItem().Om(),b=!(!a||!_.Q(a,3));return b};_.g.qd=function(){};_.g.QM=function(){return null};_.g.getType=function(){};_.g.FN=function(){};
var EFc=function(a,b){this.context=a;this.H=b;this.nQ={}},GFc=function(a,b){if(!_.yJ(b)){var c=_.Td(b,33);if(1===c.length)FFc(a,c[0],b);else{c=_.Gl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Za();c=a.H.get(d);if(!c){c=a.context.wf.uI;var e=_.xf(new _.wf,310);c.qO([d],e).then(function(f){if((f=f[d])&&f.yc()){var h=f.getCapabilities();h&&_.re(h)&&(f=f.yc(),FFc(a,f,b))}else FFc(a,null,b)});return}if(c.getItem().yc()&&_.re(c.getItem().getCapabilities())){c=c.getItem().yc();FFc(a,c,b);return}}FFc(a,
null,b)}}},FFc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!PL(d.getItem()))return}d=b||"subscribed";a.nQ[d]||(a.nQ[d]=[]);a.nQ[d].push(c);b&&(OM(a.context).addCallback(function(e){e.$ua(b)}),HFc(a.context.iJa,b))},IFc=function(a,b){if(!_.yJ(b)){var c={},d;for(d in a.nQ){c.uT=d;for(var e=0;e<a.nQ[c.uT].length;e++)if(_.Uj(b,a.nQ[c.uT][e])){_.sa(a.nQ[c.uT],e);"subscribed"!==c.uT&&OM(a.context).addCallback(function(f){return function(h){h.PGa(f.uT,!1)}}(c));return}c={uT:c.uT}}}};
var JFc=function(){this.H=new Map;this.O=[];this.V=[]};
JFc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();eL(e)&&(a?(e=a.getItem().Hf())&&_.y(e,1)&&(1===_.$d(e)||3===_.$d(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Uj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var KFc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},LFc=function(a){a.O=[];a.V=[]};
var MFc=function(a,b){qyc.call(this,a.clone(),b.Qm(),b.Mc,b.Rf());this.context=b};_.K(MFc,qyc);MFc.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.EWb(a.clone(),[c]);b.set(c,d)});return b};MFc.prototype.V=function(a){a=a.wd()[0];this.context.wf.tl([a],1,void 0,!0,this.request.O())};MFc.prototype.ha=function(a){this.context.wf.tl([],1,a,!1,this.request.O())};MFc.prototype.ka=function(a){a=_.UI(_.KI(new _.JI,a));this.context.wf.Po([a])};
var NFc=function(a,b,c,d){MM.call(this,a);this.Kg=b;this.request=c;this.Hd={};d&&this.tl(d,!0)};_.K(NFc,MM);_.g=NFc.prototype;
_.g.refresh=function(){var a=this;this.Ap=6;var b=OL(this.context.Mc)!==OL(this.context.Mc,this.request.O()),c=[];this.request.jn().forEach(function(h){var k=a.Hd[h];k&&k.getItem().wg()&&!b||c.push(h)});if(0===c.length)return this.tl([],!1),_.Wh();var d=this.request.clone();_.EWb(d,c);var e=new MFc(d,this.context),f=_.Zh();this.context.Jj().Ue()?(this.Sc.listen(this.context.Jj(),"Fb",function(h){h.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),a.rA(),e.$g().then(f.resolve,f.reject,f))}),this.Ap=0<_.Pa(this.Hd)?
1:2):(this.context.tk().Ue()&&(this.Ap=0<_.Pa(this.Hd)?1:2),this.rA(),e.$g().then(f.resolve,f.reject,f));return f.promise};_.g.Bha=function(a){return this.context.tm.equals(a,this.request)&&koc(_.tK(this.Kg),a.O())};_.g.Zj=function(a){var b=new _.BK;b.Dc(this.Ap);b.Li(this.Ze());dtc(b,_.Na(this.Hd,function(c){return c?c.getItem():null}));gEc(this,a.O(),b.eq());return b};_.g.resize=function(){};_.g.qd=function(){return this.request};_.g.Ed=function(){return _.Pa(this.Hd)};
_.g.Lu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Hd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Hd[a.id]=null,a.O.count--);else return!1;return!0};_.g.xs=function(a){return!!a&&this.request.jn().includes(a.getId())};
var QM=function(a,b,c,d,e){MM.call(this,a);var f=this;this.V=0;this.Hd=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.ta=Date.now();this.request=b.clone();this.Fa=xL(this.context.tm,b);this.Ev=new xEc(this.context,this.request,!1,e);b=this.request.wc()&&vvc(this.request.wc());var h=this.context.xv;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.xCa=!b||!nvc(this.request)||_.ZI(_.AI(a.Mc));
this.Ha=Swc(this.request);c&&this.tl(c,!d);this.va=_.Vj(a.Mc.eg(),16,36E5);_.ZJ(this.request)&&this.Sc.listen(this.context.Oga,"Hb",this.Ka);_.Fe(this,function(){_.aa(f.Ev);f.clear()})};_.K(QM,MM);QM.prototype.refresh=function(){this.log(this.QM()+" | Refresh called, currently "+this.Ed()+" items cached");return OFc(this,!1)};
var OFc=function(a,b){a.Ap=6;if(_.S(a.request,48,!1))return a.Ap=1,_.Wh();if(_.ZJ(a.request)){var c=PFc,d=a.context.Oga.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return QFc(a,b)};QM.prototype.initialize=function(){return this.count>=this.request.Ei()||1===this.Ap?_.Wh():this.refresh()};QM.prototype.clear=function(){RFc(this)};
var RFc=function(a){a.Hd.forEach(function(b){b.count--});a.count=0;a.Hd=[];a.O.clear()},PFc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return OFc(a,!0)},b)};QM.prototype.Ka=function(){Date.now()-this.ta>this.va&&PFc(this,0)};
var QFc=function(a,b){a.Ev&&(a.Sc.Yc(a.Ev,"Ca",a.jsa),a.Sc.Yc(a.Ev,"Da",a.bMa),a.Ev.dispose());var c=a.request.ve();c&&_.yf(c,!1);a.Ev=new xEc(a.context,a.request,b);a.V=0;a.Sc.listen(a.Ev,"Ca",function(){return a.jsa(a.Ev.ha)});a.Sc.listen(a.Ev,"Da",a.bMa);return a.hca()};
QM.prototype.hca=function(){var a=this,b=_.Zh();this.context.Jj().Ue()?this.Sc.listen(this.context.Jj(),"Fb",function(c){c.Ue()||(a.Sc.Yc(a.context.Jj(),"Fb"),SFc(a,b))}):this.context.tk().Ue()?this.Sc.$c(this.context.tk(),[_.EB.CL,_.EB.hU],function(){SFc(a,b)}):SFc(this,b);return b.promise};var SFc=function(a,b){a.rA();var c=a.request.Ei()+a.V;_.gka(vEc(a.Ev,c).jg(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=QM.prototype;
_.g.resize=function(a){this.log(this.QM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.nd(this.Gy)))),d=c.next();!d.done;d=c.next())d=d.value,d=iEc(this.context).lka(d),b=Math.max(b,d.Ei());_.ZJ(this.request)?(this.request.ui(b),2!==this.Ze()&&!this.Ev.O&&(b>this.count||a)?this.refresh():this.rJ()):this.request.Ei()!==b&&(this.request.ui(b),b>this.count?this.hca():this.rJ())};_.g.qd=function(){return this.request};_.g.QM=function(){return this.Fa};_.g.Ed=function(){return this.Hd.length};
_.g.Bha=function(a){return this.context.tm.equals(a,this.request)};
_.g.Zj=function(a){var b=a.Ei(),c,d=!1;if(_.zJ(this.request)){var e=this.Hd.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.il(k.getItem()).filter(function(l){return h.includes(_.B(l,_.Kk,1).getId())});k=k.clone();ooc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.il(l.getItem()).length})}d=xoc(e);c=new _.CK;_.w(c,4,!1);htc(c,f)}else e=this.Hd.slice(0,b),c=new _.rB,xrc(c,b<this.Hd.length||!(this.context.Jj().Ue()||
this.context.tk().Ue())&&1!==this.Ap),_.I(c,7,this.ka),_.w(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=xoc(e);e=hpc(e);gEc(this,a.O(),e);c.Uw(e);c.Dc(d?6:this.wwa(b));c.Li(this.Ze());c.sP(this.suggestionSessionId);return c};_.g.wwa=function(a){return 1===this.Ap||a<=this.count?1:this.context.Jj().Ue()||this.context.tk().Ue()?0<this.Hd.length?1:2:6};_.g.jsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.$za();this.W=a.V;this.suggestionSessionId=a.Zf()};
_.g.bMa=function(){var a=this.request.Ei()-this.count;0<a&&tEc(this.Ev)&&(this.V+=a,this.hca())};_.g.tl=function(a,b){_.ZJ(this.request)&&RFc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=YL(d.value),c=this.Lu(d,!0)||c;b||(1!==this.Ap&&(c=!0),this.Ap=1);if(a=this.H){a:{a=this.Hd;d=this.H||_.Ea;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.eo("ViewCache unsorted after import"),this.context.xv.sort(this.request,this.Hd));c&&(this.EX(),TFc(this,b))};
var TFc=function(a,b){_.Gl(a.request).length&&a.Hd.length&&a.context.FZ.then(function(c){var d=tL(a.context.vk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Za(),f=_.B(_.zK(d),ksc,18);if(!f){f=new ksc;var h=_.zK(d);_.I(h,18,f)}f=_.w(f,1,!b);c=_.w(f,2,c===e).Dt(a.Hd.length);e=a.context.wf.Wn();_.w(c,4,e);a.ma=d;d.yj()}})};_.g=QM.prototype;
_.g.Lu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.xs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.eo("Updating different wrapper from the existing one"):this.eo("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.dKa(f,a.H):(this.iJ(f),_.ZJ(this.request)&&PFc(this,0));else{if(_.ZJ(this.request)&&!b)return!1;this.rR(a.H)}else return!1;return!0};_.g.rR=function(a){this.H?$nc(this.Hd,a,this.H):this.Hd.push(a);a.count++;UFc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.iJ=function(a){if(this.H){var b=this.Hd,c=_.Fa(b,a,this.H);0<=c&&_.sa(b,c)}else _.ua(this.Hd,a);a.count--;UFc(a)&&this.count--;this.O.delete(a.getId())};_.g.Hya=function(a){return this.H?_.Fa(this.Hd,a,this.H):_.na(this.Hd,a)};_.g.dKa=function(a,b){this.H&&0!==this.H(a,b)?(this.iJ(a),this.rR(b)):(this.Hd[this.Hya(a)]=b,b.count++,UFc(b)&&this.count++,a.count--,UFc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.xs=function(a,b){if(!a)return!1;if(this.xCa&&!_.ZJ(this.request)){if(b)return!0;if(!this.Ha){var c=a.getId();b=!!this.Hd.find(function(e){return c===e.getId()},this);a=QL(this.context.vt,this.request,a.getItem());return b&&a}}if(!QL(this.context.vt,this.request,a.getItem()))return!1;var d=1.2*this.request.Ei();if(1===this.Ap||!this.H||Xuc(a.V,2)||this.count<d||b||Goc(a.getItem()))return!0;b=0===this.Hd.length?null:this.Hd[this.Hd.length-1];return!!b&&0>=this.H(a,b)};
_.g.rJ=function(){this.log(this.QM()+" | Evict called");if(1!==this.Ap&&!this.context.Jj().Ue()&&!this.context.tk().Ue()){var a=1.2*this.request.Ei();if(!(a>=this.count||this.Ev&&a>=this.Ev.$b())){a=this.count-this.request.Ei();for(var b=this.Hd.length-1;0<=b&&0<a;b--){var c=this.Hd[b];Xuc(c.V,2)||Goc(c.getItem())||(c.count--,UFc(c)&&this.count--,this.O.delete(c.getId()),_.sa(this.Hd,b),a--)}QFc(this,!1)}}};
_.g.eo=function(a){var b=new _.oc;_.LI(b,2);_.MI(b,6);_.iq(b);this.context.dispatchEvent(new _.rc(new _.qc(a,b)))};var UFc=function(a){return!Xuc(a.V,2)&&3!==a.getItem().qv()};QM.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};QM.prototype.YQa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.wf.rm.H(d.Za()))&&_.Q(d,108)}),kwc(this.context.efa,a,c))};QM.prototype.XQa=function(){this.rJ()};
QM.prototype.gYa=function(a){return 1!==this.Ap&&a.Ei()>this.count&&this.Ev.O};
var SM=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new JFc;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.context=a;this.Kg=b;this.mr=new Wwc(a.tm,a.Rf());this.context.vk().W.H=this.mr;if(null===(c=_.PI(this.context.Mc))||void 0===c?0:_.S(c,15,!1))b=new dM(a.vt,a.xv),this.mr.add(b),a.ffa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.mr)||void 0===e?void 0:e.O)||void 0===f?void 0:aM(f,!(null===(k=null===(h=d.mr)||void 0===h?void 0:h.H)||void 0===k?0:k.WG))});this.H=new mvc(a.FZ,
a.vt,a.xv);_.Q(a.Mc,60)&&(this.va=new DFc(a.vt,a.xv));this.V=new gvc(a.Rf(),_.tK(this.Kg));VFc(this,_.Td(this.context.Mc,28));this.rm=new pvc(this.Kg,this.context.tm,this.H,this.V);this.context.vk().W.V=this.rm;this.uI=new zEc(this.context,this.Kg,this.O,this.H);this.kGa=new EFc(this.context,this.H);this.ka=new vFc(this.context,this);_.Fe(this.ka,function(){d.ka=null});this.ta=_.ohc(_.tK(this.Kg),WFc);ZL(this.context.Oj,["NSockf"],function(){return d.initialize()});ZL(this.context.Oj,["NSockf","jroI5d"],
function(){var e=d.context.Mc;if(_.B(e,_.el,12))e=_.B(e,_.el,12);else{var f=_.Zhc(_.aic(new _.Kk,_.lK(_.AI(e))),!0);f=_.w(f,6,1);var h=_.C(_.AI(e),6,"");h&&f.Pb(h);f=_.JWb(_.Fic(_.Gic(_.tG((new _.el).Pb(d.context.Zn()).setTitle(_.C(e,38,"My Drive")),"application/vnd.google-apps.folder").Kn(!1),f),[f]),1);f=_.w(f,29,!0);f=_.w(f,63,!0);e=_.bic(new _.Zk,_.S(e,6,!0));e=_.w(e,2,!1);e=_.hK(f,_.oic(_.hic(_.gic(_.kic(_.lic(_.jic(_.iic(_.fic(_.eic(_.dic(_.cic(_.w(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),
!1),!1))}d.tl([e],1);$L(d.context.Oj,"hVFf7")});this.ha=_.Zh();ZL(this.context.Oj,["BNEDtc"],function(){d.ha.resolve()});this.sq=new vxc(this.context.Mc,this.context.Rf(),a.Qm(),a.efa,this.context.vk(),this.context.tX.promise);_.FI(this.context.Mc)&&this.Sc.listen(this.sq,"Kb",this.ma);this.cMa=new _.clc(this.context.Mc,this.rm)};_.K(SM,_.N);
SM.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.y(d.value,1);for(var e=this.sq.Gd(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.sq.H.get(d),e=!(!d||1!==d.Ze()&&4!==d.Ze()||3===fxc(d));e&&a.add(h)}b=[];c=_.m(c);for(h=c.next();!h.done;h=c.next())h=h.value,(d=this.H.get(h))?(h=d.getItem().clone(),XFc(this,h),b.push(Kwc(d,new NL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");YFc(this,b,[]);this.context.Ns.update(6);a.size&&this.uI.qO([].concat(_.nd(a)),_.xf(new _.wf,311))};SM.prototype.initialize=function(){this.ka.$g()};
SM.prototype.ki=function(a,b){if(b instanceof _.hf)b=RL(this.context.tm,b),ZFc(this,b.O()),GFc(this.kGa,b),b=$Fc(this,b),b.cache.ki(a);else if(b instanceof _.yA)b=aGc(this,b),ZFc(this,b.O()),b=bGc(this,b),b.cache.ki(a);else if(b instanceof _.uI){var c=PM(this,b),d=this.O[c];d?(3==d.BJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,vv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new TEc(this.context,this.Kg,b),d.refresh().Gg(_.Of),tFc(this,c,d),b={cache:d,vv:!0});b.cache.ki(a)}else if(b instanceof _.qG)c=b.O(),d=this.V,hvc(d,d.H,d.O,c),b=bGc(this,b),b.cache.ki(a);else throw Error("rg");return b.vv};SM.prototype.fk=function(a,b){if(b instanceof _.hf)b=RL(this.context.tm,b),IFc(this.kGa,b);else if(b instanceof _.yA)b=aGc(this,b);else if(!(b instanceof _.uI||b instanceof _.qG))throw Error("rg");b=PM(this,b);var c=this.O[b];c&&(c.fk(a),c.isDisposed()&&delete this.O[b])};
var PM=function(a,b){return xL(a.context.tm,b,2)},$Fc=function(a,b){var c,d,e=PM(a,b),f=a.O[e];if(f)return 3==f.BJ()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,vv:!1};var h=[],k=5;f=!1;for(var l=Xwc(a.mr),p=0;p<l.length;p++){var q=l[p];k=q.BE(b);if(5!=k){l=1==k?void 0:b.Ei();if((null===(c=_.PI(a.context.Mc))||void 0===c?0:_.S(c,18,!1))&&q instanceof dM){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.Aka(b,l);var r=q.Ze();var v=q instanceof bM?q.qy():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.Ed()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Jj().Ue()||a.context.tk().Ue())h=h.concat(a.H.query(b,1)),_.Da(h,void 0,function(A){return A.getId()}),k=(k=a.mr.H)&&k.V7&&5!=k.BE(b)?k.BE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new QM(a.context,b,h,1==k,v);r&&z.Li(r);z.tl(a.H.query(b,
2),1!=k);r=z.initialize();(null===(d=_.PI(a.context.Mc))||void 0===d?0:_.S(d,18,!1))&&f&&r.then(function(){return OM(a.context)}).then(function(A){return A.fWa().HSb()}).then(function(){var A,D;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var F=z.Zj(b).wd().map(function(R){return R.getId()}),H=(null===(D=null===(A=a.mr)||void 0===A?void 0:A.O)||void 0===D?void 0:D.Zj(b,b.Ei()).wd().map(function(R){return R.getId()}))||[],L=_.Ha(F.sort(),
H.sort()),O=tL(a.context.vk(),106030);O&&(psc(osc(nsc(Fsc(O),F.length),H.length),L),O.yj());L?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+F.length+".  Cache: ")+(H.length+".\nNetwork: ")+(F+".\nCache: ")+(H+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.Gg(function(A){A=_.NI(A);_.iq(A);a.context.dispatchEvent(new _.rc(new _.qc("Error during view cache init",
A)))});tFc(a,e,z);return{cache:z,vv:!0}},bGc=function(a,b){var c=PM(a,b),d=!1,e=a.O[c];if(e&&e.Bha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.jn()),h;b instanceof _.yA?h=new pEc(a.context,a.Kg,b,f):h=new NFc(a.context,a.Kg,b,f);f.length&&h.Li(8);h.refresh().Gg(_.Of);b=h;d=!0;tFc(a,c,b);e?(cGc(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,
vv:d}};SM.prototype.VV=function(){return Object.values(this.O).filter(function(a){return a.qd()instanceof _.uI})};
SM.prototype.Q1a=function(a){for(var b=_.xf(new _.wf,309),c=[],d=_.m(Object.entries(this.V.items)),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=Evc(this.context.tm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.uI.qO([a],b,!1,c))};
var fEc=function(a,b,c){c&&c.length&&jvc(a.V,b,c);_.FI(a.context.Mc)&&Fxc(a.sq,b)},KEc=function(a,b,c){var d,e,f;if(b instanceof TEc){var h=PM(a,b.qd());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof Nwc&&a.mr.remove(b);h=new Map;var k=a.H.ly(),l=new Map(k);k=[];for(var p=_.m(b.ly()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.H.get(r);if(v){var z=v.getItem().qv();(null===(d=_.PI(a.context.Mc))||void 0===d?0:_.S(d,15,!1))&&!0===q.H&&Zuc(v,
q.H);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new Jwc(q.getId(),q,v));l.delete(r)}else{r=YL(q);if(null===(e=_.PI(a.context.Mc))||void 0===e?0:_.S(e,15,!1))null===(f=a.mr.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.FI(a.context.Mc)&&a.sq.$O(r)}_.FI(a.context.Mc)&&XFc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(YL(q.value));a.log("Applying "+k.length+" updates to newly added CorpusCache");k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);
b instanceof TEc?(k=PM(a,b.qd()),tFc(a,k,b)):a.mr.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.JI,_.KI(p,l.getId()),p.setItem(l),k.push(p);a.Po(k);a.log("Merged cache: "+b.getType());b instanceof gM&&c.forEach(function(A){dGc(a.context.lsa,A)});a.context.Ns.update(3)},cGc=function(a,b){(new Set([].concat(_.nd(a.Gy)))).forEach(function(c){b.ki(c);a.fk(c)})};
SM.prototype.tl=function(a,b,c,d,e){var f=this,h;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.nd(c.O().filter(function(D){return!_.tK(f.Kg).includes(D)}))):[]);c&&c instanceof _.hf&&_.ZJ(c)&&eGc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new NL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=fGc(this,v,r);if(null!=A)r.Zy(A),gGc(this,z,q),Foc(q),q=evc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.FI(this.context.Mc)&&XFc(this,q);!v||hGc(this,
z,q,e)?(l.push(Kwc(v,r)),k.push(r)):k.push(v)}a=null;if(c){if(c instanceof _.hf){if(null===(h=_.PI(this.context.Mc))||void 0===h?0:_.S(h,15,!1))a=_.Gl(c),1==a.length&&(a=a[0].Za(),(a=this.H.get(a))&&!a.H&&Zuc(a,!d));(a=$wc(this.mr,c))&&a.tl(k,!!d)}c=PM(this,c);(a=this.O[c])&&a.tl(k,!!d)}0<l.length&&(_.FI(this.context.Mc)&&l.forEach(function(D){return f.sq.$O(D)}),YFc(this,l,e,a?[a]:[]),iGc(this,k));iEc(this.context).S8()};
var XFc=function(a,b){Ixc(a.sq,b)||5!=b.qv()||_.Nic(b,1)},hGc=function(a,b,c,d){(b=b?_.qb(b.clone(),82):null)&&fEc(a,[b],d);c=_.qb(c.clone(),82);fEc(a,[c],[]);return!_.Uj(b,c)},eGc=function(a,b,c){jGc(a,b,c);b.forEach(function(d,e){var f=a.rm.H(d.getId());f&&(dL(f,d,[1002]),dL(f,d,[1003]),dL(f,d,[1005]),b[e]=f);_.yJ(c)&&0<_.Td(c,33).length&&_.Oic(d,_.Td(c,33)[0])})},jGc=function(a,b,c){var d;_.yJ(c)?d="quick access":_.zJ(c)?d="people predict":_.AJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" ItemSuggest items for "+d+": "+c)},TDc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.V)||c.set(d.V,[]),c.get(d.V).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.tl(hpc(d),b)};SM.prototype.gla=function(a){this.cMa.gla(a)};
SM.prototype.Po=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.uk()?null:e.getItem(),h=e.Cc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new NL(f,void 0,void 0,_.y(e,1)||void 0);var p=fGc(this,h,l);if(null==p)continue;l.Zy(p);gGc(this,k,f);_.S(e,5,!1)&&foc(f,uoc);Foc(f);f=evc(f,k);l.setItem(f);_.FI(this.context.Mc)&&XFc(this,f)}if(k&&!f||f&&hGc(this,k,f,[]))this.context.iJa.xy(e),c.push(Kwc(h,l))}_.FI(this.context.Mc)&&c.forEach(function(q){return b.sq.$O(q)});YFc(this,
c,[])};var gGc=function(a,b,c){b&&!c.Om()&&dL(c,b,a.ta);var d=b?b.Hf():null,e=c.Hf();e=e?_.Yd(e):null;d&&e&&gGc(a,_.Yd(d),e);b&&!_.hl(c)&&dL(c,b,[1002]);b&&!_.il(c).length&&dL(c,b,[1003]);b&&!_.jl(c).length&&dL(c,b,[1005]);b&&null==c.z1()&&dL(c,b,[71]);b&&null==_.y(c,79)&&dL(c,b,[73]);b&&_.Q(b,31)&&!_.Q(c,31)&&(foc(c,uoc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
SM.prototype.BB=function(a,b){if(a instanceof _.hf||a instanceof _.yA||a instanceof _.uI)a=PM(this,a),(a=this.O[a])&&a.DX(b);else throw Error("rg");};var fGc=function(a,b,c){var d=c.getItem();if(dyc(a.context.gfa,d))return null;if(b){a=b.V;var e=c.V;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=a.qv()&&!PL(a)&&!PL(d)&&a.yc()==d.yc())if(a.hj()&&d.hj()){if(a.hj()>d.hj())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.vq()>d.vq())return null}return Yuc(b&&b.V,c.V)};
SM.prototype.UH=function(a,b){(a=this.H.get(a))&&a.Zy(Yuc(a.V,b))};
var YFc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.PI(a.context.Mc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&Zuc(h.H,h.O.H);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.ua(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())hEc(h.value,b);h=Xwc(a.mr);d=0;c=_.m(h);for(h=c.next();!h.done;h=c.next()){f=h.value;var k=
!1,l=_.m(b);for(h=l.next();!h.done;h=l.next())f.update(h.value)&&(k=!0);k&&d++;f instanceof gM&&f.Ed()>=1.2*f.limit&&kGc(a.context.iJa,f.yc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.Q(a.context.Mc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.rJ(h.id),a.W.update(h);0<d&&a.context.Ns.Vma(d);lGc(a)},lGc=function(a){var b=a.W.O.slice(0),c=KFc(a.W);LFc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.wf;_.xf(d,308);a.uI.qO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=qvc(a.rm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Hf(),k=_.y(h,1);if(k=a.rm.H(k))_.I(h,5,k),_.w(h,4,1),e.push(f)});TDc(a,e)}},mGc=function(a){iEc(a.context).S8();a.H.rJ()},aGc=function(a,b){_.Ga(b.O());var c=_.na(b.jn(),"root");if(0>c)return b;b=b.clone();b.jn()[c]=a.context.Zn();return b},VFc=function(a,b){var c;null!==(c=_.PI(a.context.Mc))&&void 0!==c&&_.S(c,1,!1)||(b=Asc(a.Kg,b),a=a.V,hvc(a,a.items,a.fields,b))},ZFc=function(a,b){var c;if(null===(c=_.PI(a.context.Mc))||
void 0===c?0:_.S(c,1,!1))b=Asc(a.Kg,b),a=a.V,hvc(a,a.items,a.fields,b)},iGc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().qv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.xf(new _.wf,311);a.uI.qO(c,d)}})},CFc=function(a,b){a.ha.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={h5:c.h5,Aqa:c.Aqa},e=d.next()){e=e.value;if($wc(a.mr,e))break;a.log("Adding new cache hint for "+
PM(a,e));c.h5=new bM(a.context.vt,a.context.xv,a.context.tm,e);e=new EEc(a.context,c.h5,e);c.Aqa=kM(a.context.Bz,null);_.$h(e.$g().then(function(f){return function(){HEc(f.h5,f.Aqa).then(function(h){KEc(a,f.h5,h)})}}(c)),function(){myc(a.context.Bz,null)})}})};SM.prototype.Wn=function(){var a=this.mr.H;return a&&a.WG?1:2};SM.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};
var tFc=function(a,b,c){a.O[b]=c;a.log(b+" | Set cache with "+c.Ed()+" items")},WFc=[50];
var oGc=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ol;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Zh();this.va=c.promise;bAc(this.context.yD).then(function(d){b.H=d||[];c.resolve();nGc(b)},function(){return c.resolve()});ZL(this.context.Oj,["rVezo"],(0,_.M)(this.W,this))};_.K(oGc,_.N);
var HFc=function(a,b){_.S(a.context.Mc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(fvc(a.context.wf.rm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Aa(a.H,0,0,b);a.H.length>2*_.Vj(a.context.Mc,47,5);)a.H.pop();a.context.yD.set(Wzc,a.H)}a.context.wf.mr.VV().length+a.O.size<_.Vj(a.context.Mc,47,5)&&(nGc(a),a.W())})},pGc=function(a,b){_.ua(a.H,b)&&a.context.yD.set(Wzc,a.H)};
oGc.prototype.xy=function(a){dGc(this.context.lsa,a);if(PL(a)){var b=a.yc();a.uk()?kGc(this,b,!0):(a=a.getItem(),fvc(a)&&pGc(this,b))}};var kGc=function(a,b,c){pGc(a,b);a.V.contains(b)&&a.V.remove(b);var d=a.O.get(b);d&&d.dispose();a.O.delete(b);d=a.context.wf.mr;for(var e=d.VV(),f=0;f<e.length;f++){var h=e[f];if(h.yc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Ns.update(3);break}}OM(a.context).addCallback(function(k){k.PGa(b,c)});a.W()};
oGc.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.wf.mr;qGc(this);for(var b={};this.V.$b()&&!(this.ha>=_.Vj(this.context.Mc,47,5));){var c=_.pl(this.V);this.ha++;Zwc(a,c)||this.O.has(c)||(this.O.set(c,null),b.zea=new _.Khc,_.w(b.zea,1,c),this.context.Qm().then(function(d){return function(e){return e.Re(d.zea)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={zea:b.zea}}}};
var nGc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},qGc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){nGc(a);a.W()},36E5)};oGc.prototype.ta=function(a,b){var c=_.y(b,1);c&&c>_.Vj(this.context.Mc,48,1E3)?(this.log(a,"Too large to backfill: "+_.y(b,1)),rGc(this,a,!1)):sGc(this,a)};
oGc.prototype.ma=function(a,b){(b=_.NI(b).rk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.UI(_.Pgc(_.KI(new _.JI,a),a)),this.context.wf.Po([a])):sGc(this,a)};
var sGc=function(a,b){var c=new gM(a.context.vt,a.context.xv,b),d=c.qd().clone();d.ui(_.Vj(a.context.Mc,48,1E3));d=new EEc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=kM(a.context.Bz,b);OM(a.context).addCallback(function(f){f.$ua(b)});_.$h(d.$g().then(function(){tGc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;rGc(a,b,!0)}),function(){myc(a.context.Bz,b)})},tGc=function(a,b,c,d){c.WG?(c.WW(),HEc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ed());KEc(a.context.wf,
c,e);rGc(a,b,!1)},function(){a.log(b,"Backfill changes failed");rGc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),rGc(a,b,!0))},rGc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&OM(a.context).addCallback(function(e){e.PGa(b,!1)});a.W();0<a.O.size||a.context.wf.mr.VV().map(function(e){return e.yc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){kGc(a,e,!0)})};
oGc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var uGc=function(){_.N.apply(this,arguments)};_.K(uGc,_.N);
var xGc=function(a,b){b=vGc(b);var c=a.getItem(),d=wGc(c.getCapabilities());b.M3.forEach(function(e){_.JWb(e.getItem(),c.Yo());_.hK(e.getItem(),d.clone())});return b},AGc=function(a,b,c){var d=yGc(c);c=c.find(function(e){return e.getId()===b.getId()});c={oK:c?c:new NL(b),children:[]};zGc(a,d,c);return c},yGc=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().mk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},zGc=
function(a,b,c){var d=c.oK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(zGc(a,b,{oK:e,parent:c,children:[]}))});return c},CGc=function(a,b){b=b.children.filter(function(l){return!_.gl(l.oK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.oK.getItem();if(!c.has(f.getId())){_.JWb(f,a.Yo());BGc(a,f,e.parent?e.parent.oK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.gl(k.oK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.oK)}}return d},
DGc=function(a){a=a.children.filter(function(h){return!_.gl(h.oK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.oK.getItem();if(!b.has(e.getId())){c.push(_.UI(_.KI(new _.JI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.gl(f.oK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},vGc=function(a){var b=[],c=[];a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.getItem();_.gl(e)||_.Q(e,137)?c.push(e):b.push(d)}return{rQ:c,M3:b}},wGc=
function(a){a=a.clone();var b=null!=_.Q(a,34)?_.Q(a,34):_.Q(a,7),c=null!=_.Q(a,35)?_.Q(a,35):_.Q(a,7);_.w(a,45,c);_.uic(a,b);_.w(a,30,c);_.pic(a,b);_.vic(a,c);_.qic(a,c);_.ric(a,b);_.cic(a,b);_.hic(a,c);_.nic(a,b);_.mic(a,_.Q(a,7));_.gic(a,_.Q(a,10)||_.Q(a,11));_.oic(a,_.$k(a));_.qb(a,18);_.qb(a,13);_.qb(a,10);_.sic(a,_.Q(a,42));_.tic(a,_.Q(a,43));_.wic(a,_.Q(a,48));return a},BGc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.Q(d,30);_.w(e,30,f);_.pic(e,_.Q(d,31));_.vic(e,_.Q(d,
47));_.qic(e,_.Q(d,32));_.ric(e,_.Q(d,33));_.cic(e,_.Q(d,4));_.hic(e,_.Q(d,9));_.oic(e,_.Q(d,21));_.nic(e,_.Q(d,20));_.mic(e,_.Q(d,17));_.bic(e,_.$k(d));_.fic(e,_.Q(d,7));_.iic(e,_.Q(d,10));_.jic(e,_.Q(d,11));f=_.Q(d,45);_.w(e,45,f);_.uic(e,_.Q(d,46));_.wic(e,_.Q(d,48));a=_.gl(a);_.w(b,137,a);c&&(c=c.getCapabilities(),fL(b)?(_.gic(e,_.Q(c,43)),_.tic(e,_.Q(c,43)),_.sic(e,_.Q(c,42))):_.gic(e,_.Q(c,42)))};
var EGc=function(a){this.context=a;this.V=new uGc;this.O=_.xf(new _.wf,306);this.H=a.wf},dGc=function(a,b){if(PL(b))b.uk()?FGc(a,b):GGc(a,b);else if(_.S(a.context.Mc,86,!1)){var c=b.Cc(),d=a.H.rm.H(c);var e=d&&d.yc();var f=b.getItem()&&b.getItem().yc();if(!d||!e||!fL(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.gl(d),!b.uk()){var h=b.getItem();f=_.gl(d)!==_.gl(h);h=h.Yo()!==d.Yo();e=f||e&&h}if(e)if(b.uk()){if(b=HGc(a,d.yc()),d=a.V,e=(new _.el).Pb(c),b=(b=AGc(d,e,b))?DGc(b):[],a.context.wf.Po(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=tL(a.context.vk(),106009))c=Csc(a),_.w(c,2,b.length),a.yj()}else if(c=b.getItem(),d=HGc(a,c.yc()),e=a.V,c=b.getItem(),c=(d=AGc(e,c,d))?CGc(c,d):[],TDc(a.context.wf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=tL(a.context.vk(),106010))b=Csc(a),_.w(b,1,c.length),a.yj()}},FGc=function(a,b){var c=b.Cc();b=HGc(a,c);b=vGc(b);var d=_.ef(b.M3,function(e){return _.UI(_.KI(new _.JI,e.getId()))});a.context.wf.Po(d);a.H.uI.qO(b.rQ.map(function(e){return e.getId()}),
a.O,void 0,void 0,b.rQ.map(function(e){return _.Dl((new _.Cl).Pb(e.getId()),_.ll(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.rQ.length+" divergent items"));if(a=tL(a.context.vk(),106016))c=Dsc(a),_.w(c,1,b.rQ.length),_.w(c,2,b.M3.length),a.yj()},GGc=function(a,b){var c=b.Cc(),d=HGc(a,c),e=a.H.rm.H(c);b=xGc(b,d);TDc(a.context.wf,b.M3);a.H.uI.qO(b.rQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.rQ.map(function(h){return _.Dl((new _.Cl).Pb(h.getId()),_.ll(h))}));a.log(c,"SD update | Update "+
b.M3.length+" item(s), "+(b.rQ.length+" divergent items"));if(d=tL(a.context.vk(),106017)){var f=Dsc(d);_.w(f,1,b.rQ.length);_.w(f,2,b.M3.length);d.yj()}e||DEc(a.H.uI,c)},HGc=function(a,b){var c=new _.hf;_.Il(c,[b]);_.Jl(c,2);return svc(a.H.rm,c)};EGc.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var IGc=function(a,b,c){this.H=a;this.V=b;this.mJ=c};
IGc.prototype.Zw=function(a,b){var c=this;if(a.zV().length){var d=$xc(this.H,a.Cc());if(d){var e=d?ayc(this.H,a):[];for(var f={},h=_.m(a.zV()),k=h.next();!k.done;f={vL:f.vL},k=h.next())if(k=k.value,f.vL=JGc(e,k.Lm(),a.Cc()),_.Q(k,3))gyc(this.H,f.vL),_.$h(b,function(r){return function(){c.H.O.W(Qxc(r.vL))}}(f));else{for(var l=_.m(_.Qj(k,_.mG,2)),p=l.next();!p.done;p=l.next())KGc(this,f.vL,p.value);k=_.m(_.Td(k,4));for(l=k.next();!l.done;l=k.next())LGc(f.vL,l.value);this.H.qD([f.vL],!1,-1);b.then(function(r){return function(){return void c.H.UH(r.vL.getName(),
-2)}}(f),function(r){return function(){c.H.UH(r.vL.getName(),-2)}}(f))}e=this.jd(d.Zj().response)}}e=e?e:this.jd();var q=e.u3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.DB(r));c.handleError(a.Cc(),r)});return e};IGc.prototype.jd=function(a){a=void 0===a?new GL:a;return new $uc(a.Dc(1))};var JGc=function(a,b,c){var d=a.find(function(e){return Pxc(e.getName(),b)});d||(d=wtc((new BL).hd(b),c),a.push(d));return d};
IGc.prototype.handleError=function(a,b){iyc(this.V,a);a=_.NI(b);_.w(a,21,"Server error updating metadata after optimistic application.");this.mJ(a)};
var KGc=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new zL,d.Pb(c.getId()),vtc(b,b.O().concat([d])),MGc(d,c));if(1===AL(d))d.setBooleanValue(_.Q(c,3));else if(12===AL(d))d.setDateStringValue(_.y(c,17));else if(2===AL(d))d.setTextValue(_.y(c,4));else if(3===AL(d))_.Td(c,6).length?d.Ioa(_.Td(c,6)):_.Td(c,5).length&&(a=_.Td(d,7).concat(_.Td(c,5)),d.Ioa(a));else if(4===AL(d))d.setLongTextValue(_.y(c,7));else if(5===AL(d))d.setSelectionValue(_.y(c,8));else if(6===
AL(d))_.Td(c,10).length?d.Eoa(_.Td(c,10)):_.Td(c,9).length&&(a=d.QLa().concat(_.Td(c,9)),d.Eoa(a));else if(7===AL(d))d.setIntegerValue(_.y(c,11));else if(8===AL(d))_.Td(c,13).length?d.woa(_.Td(c,13)):_.Td(c,12).length&&(a=_.Td(d,12).concat(_.Td(c,12)),d.woa(a));else if(10===AL(d))d.setUserValue(a.O(_.y(c,14)));else if(11===AL(d))_.Td(c,16).length?stc(d,_.Td(c,16).map(a.O)):_.Td(c,15).length&&stc(d,d.pWa().concat(_.Td(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(AL(d)+
"."),new _.qc(d,new _.oc);},LGc=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===AL(a))_.qb(a,5);else if(12===AL(a))_.qb(a,17);else if(2===AL(a))_.qb(a,6);else if(3===AL(a))_.hI(a,7);else if(4===AL(a))_.qb(a,8);else if(5===AL(a))_.qb(a,9);else if(6===AL(a))_.hI(a,10);else if(7===AL(a))_.qb(a,11);else if(8===AL(a))_.hI(a,12);else if(10===AL(a))_.Lj(a,15);else if(11===AL(a))_.Nj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(AL(a)+"."),new _.qc(a,new _.oc);
},MGc=function(a,b){_.P(b,3)?a.VA(1):_.P(b,17)?a.VA(12):_.P(b,4)?a.VA(2):_.Td(b,6).length||_.Td(b,5).length?a.VA(3):_.P(b,7)?a.VA(4):_.P(b,8)?a.VA(5):_.Td(b,10).length||_.Td(b,9).length?a.VA(6):_.P(b,11)?a.VA(7):_.Td(b,13).length||_.Td(b,12).length?a.VA(8):_.P(b,14)?a.VA(10):(_.Td(b,16).length||_.Td(b,15).length)&&a.VA(11)};IGc.prototype.O=function(a){return _.$hc(_.Yhc(1),a)};
var NGc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.va=c;this.O=d;this.ka=e;this.Kg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};NGc.prototype.apply=function(a,b){var c=this;if(!_.YJ(a))return b;var d=null;a instanceof _.mJ?d=OGc(this,a,b):a instanceof _.tJ?d=PGc(this,a,b):a instanceof _.QI?d=this.Zw(a,b):a instanceof _.hJ?d=QGc(this,a,b):a instanceof _.NJ&&(d=this.va.Zw(a,b));d&&(this.W++,this.ha.setActive(!1),_.$h(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Wh(d):b};
var OGc=function(a,b,c){cyc(a.O,b.getId());var d=a.H.rm.H(b.getId());_.$h(c.then(function(){return void a.ma("VMiG2e")},a.ta.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.NI(e);_.w(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.XJ).Dc(1)},PGc=function(a,b,c){var d=_.y(b,2);d&&a.O.H.push(d);c.then(function(){d&&eyc(a.O,d)&&_.$h(RGc(a,d,new _.blc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.ua(a.O.H,
d)});c.then(null,function(e){e=_.NI(e);_.w(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.XJ).Dc(1)},RGc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Wh();var f=_.Zh(),h=c.Za();_.cI(c);setTimeout(function(){a.ka.then(function(k){var l=_.xf(new _.wf,1425);l=gpc(!0,1,l);return k.Re(l).then(function(p){if(p=p.jd())if(p=p.wd()[0],!p||(p.Zv()||0)>b){f.resolve();return}_.$h(RGc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.$h(RGc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},QGc=function(a,b,c){var d=b.yc(),e=a.H.rm.H(d);if(!e)return null;e=e.clone();fEc(a.H,[e],[157]);var f=e.wg();SGc(f,_.Qj(b,_.dl,2));TGc(f,_.Qj(b,_.dl,3));a.H.tl([e],-1,void 0,void 0,[157]);_.$h(c,function(){a.H.UH(d,-2)}).then(function(h){a.H.tl([_.B(h,_.el,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.NI(h);_.w(h,21,"Server error updating item after optimistic application.");a.V(h)});return tuc(new suc,e).Dc(1)},
SGc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={qea:c.qea},d=b.next())c.qea=d.value,_.Qj(a,_.dl,8).some(function(e){return function(f){return f.Lm()==e.qea.Lm()}}(c))||_.Sj(a,8,c.qea,_.dl,void 0)},TGc=function(a,b){var c=b.map(function(d){return d.Lm()});b=_.Qj(a,_.dl,8).filter(function(d){return!c.includes(d.Lm())});noc(a,b)};
NGc.prototype.Zw=function(a,b){var c=this,d=this.H.rm.H(a.getId());if(!d||d.yc()&&0==a.Xh()||null!=_.Q(a,40))return null;var e=_.Td(a,10),f=_.Td(a,9);if(0<e.length&&0<f.length&&(e=Object.values(rvc(this.H.rm,e.concat(f))).map(function(k){return k.yc()||"root"}),_.Da(e),1<e.length))return null;var h=d.clone();UGc(this,a,h);this.H.tl([h],-1,void 0,void 0,ysc(this.Kg));b.then(function(){return c.H.UH(a.getId(),-2)},function(){c.H.UH(a.getId(),-2);c.ta(a.getId(),d)});b.then(null,function(k){k=_.NI(k);
if(63==k.rk()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.Fjc((new _.XJ).setItem(h),h.getId()).Dc(1)};
var UGc=function(a,b,c){null!=b.Te()&&c.Wl(b.Te());null!=b.Yi()&&_.Kic(c,b.Yi());null!=b.getMimeType()&&_.tG(c,b.getMimeType());null!=_.y(b,7)&&_.IWb(c,_.y(b,7));null!=_.Q(b,11)&&_.Eic(c,_.Q(b,11));null!=_.Q(b,4)&&c.Hv(_.Q(b,4));null!=_.Q(b,16)&&_.Jic(c,_.Q(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Xh()&&(c.Kn(b.Xh()),_.Iic(c,b.Xh()));null!=_.Q(b,18)&&_.aL(Eoc(c,!0),_.Q(b,18));_.Td(b,8).length&&_.gK(c,_.Td(b,8));if(_.Td(b,9).length){var d=new Set(c.mk());_.Td(b,9).forEach(function(p){return d.add(p)});
_.gK(c,[].concat(_.nd(d)))}if(_.Td(b,10).length){var e=new Set(c.mk());_.Td(b,10).forEach(function(p){return e.delete(p)});_.gK(c,[].concat(_.nd(e)));var f=c.Cw();f&&_.Td(b,10).includes(f)&&_.qb(c,46)}if(!c.Cw()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.rm.H(p);return q&&!!q.Cw()||p==h});_.w(c,46,f||void 0)}c.mk().length&&(f=a.H.rm.H(c.mk()[0]))&&_.Oic(c,f.yc());if(f=_.B(b,_.al,25)){var k=_.B(c,_.al,111)||new _.al;null!=_.Q(f,1)&&_.yic(k,_.Q(f,1));null!=_.y(f,2)&&_.zic(k,_.y(f,2));_.I(c,111,
k)}var l=_.Td(c,120);_.Td(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Td(b,32).forEach(function(p){_.ua(l,p)});_.Kj(c,120,l)};NGc.prototype.ta=function(a,b){var c=this,d=_.AA(new _.yA,[a]);this.ka.then(function(e){return e.Re(d)}).then(function(e){e=e.jd().wd()[0];c.H.tl([e.clone()],1)},function(){b&&c.H.tl([b.clone()],1)})};
var VGc=function(a){this.H=a};_.K(VGc,_.Jmc);VGc.prototype.execute=function(a,b,c){var d=_.Jmc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.xKa||b instanceof _.GI&&_.ZJ(b.qd()))if(c=Rsc(this.H))return c;return b instanceof _.tJ?(c=_.xf(new _.wf,1424),a.Re(gpc(!1,1,c)).then(function(e){(e=e.jd())&&(e=e.wd()[0])&&_.P(e,96)&&b.Ica(e.Zv())},function(){})):null};
var tpc=function(a,b){return[WGc,XGc,YGc,ZGc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ea(d(a),d(b));return e},0)},WGc=function(a){return $Gc[a.zf()]},XGc=function(a){return aHc[a.getType()]},YGc=function(a){return a.getName()||""},ZGc=function(a){return a.getId()||""},TM={},$Gc=(TM[5]=0,TM[7]=1,TM[1]=2,TM[3]=3,TM[4]=4,TM[2]=5,TM[6]=6,TM),bHc={},aHc=(bHc[1]=0,bHc[2]=1,bHc[3]=2,bHc[4]=3,bHc);
var cHc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.ta=k;this.Kg=l};
cHc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.XJ&&8===b.Bb()))if(a instanceof _.gJ||a instanceof _.iJ||a instanceof _.Ahc||a instanceof _.FJ||a instanceof _.QI||a instanceof _.PJ||a instanceof _.Ihc||a instanceof _.UJ||a instanceof _.hL){var d=_.TI(b.getItem().clone(),9);this.H.tl([d],1);Fyc(this.ta,b.getItem(),_.tK(this.Kg))}else if(a instanceof _.mJ)b=_.UI(_.KI(new _.JI,a.getId())),this.H.Po([b]);else if(a instanceof _.pJ)b=_.UI(_.Pgc(_.KI(new _.JI,a.getId()),a.getId())),this.H.Po([b]),
dGc(this.ma,b);else if(a instanceof _.tJ)b=gpc(!0).qd(),b=this.H.rm.query(b).map(function(e){return _.UI(_.KI(new _.JI,e.getId()))}),this.H.Po(b);else if(a instanceof _.kJ)this.O.remove(a.Bh());else if(a instanceof _.wJ||a instanceof _.MJ)this.O.put(b.xr());else if(a instanceof _.nJ)spc(this.H,a);else if(a instanceof _.KD)this.W.remove(a.getKey());else if(a instanceof _.xJ)upc(this.H,a,_.B(b,_.Kk,2));else if(a instanceof _.LD)this.W.put(b.ZLa());else if(a instanceof _.jJ||a instanceof _.QJ)this.ha.qD([b.ln()],
!1);else if(a instanceof _.qJ)this.ha.qD([syc(a.getId())],!1);else if(a instanceof _.zhc)this.V.qD(b.response.O(),!1,1);else if(a instanceof _.NJ)a.zV().filter(function(e){return _.Q(e,3)}).forEach(function(e){return c.V.removeItem(e.Lm()||"",a.Cc())}),iyc(this.ka,a.Cc()),this.H.Q1a(a.Cc());else if(a instanceof _.yK)for(b=_.m(_.Qj(a,_.guc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.B(d,_.FL,2),d.getType()){case 1:case 2:if(d=this.H.rm.H(d.Cc()))d=
_.KI(Yrc(),d.getId()).setItem(d.clone()),this.H.Po([d])}}};
var dHc=function(a){this.H=a};
dHc.prototype.translate=function(a){if(a instanceof _.JJ){var b=this.H.H(a.getId());if(!b)return new _.oc;var c=(new _.QI).Pb(a.getId());if(b.yc()){var d=b.getCapabilities();_.re(d)||_.Q(d,9)?c.Kn(!0):_.RI(c,!1)}else d=a.getParent(),1===b.Yo()?c.Kn(!0):d?(b=this.H.H(d),!b||_.Q(b.getCapabilities(),7)?Trc(c,[d]):_.RI(c,!1)):_.RI(c,!1);return c}if(a instanceof _.KJ)return Vrc(Urc(Trc(Src((new _.QI).Pb(a.getId()),_.Td(a,2)),_.Td(a,3)),_.Q(a,6)),_.Qj(a,_.Cl,8));if(a instanceof _.LJ){b=this.H.H(a.getId());
if(!b)return new _.oc;c=(new _.QI).Pb(a.getId());b.yc()?(d=b.getCapabilities(),_.re(d)||_.Q(d,9)?c.Kn(!1):_.RI(c,!0)):(d=a.getParent(),1===b.Yo()?c.Kn(!1):d?(b=this.H.H(d),!b||_.$k(b.getCapabilities())?Src(c,[d]):_.RI(c,!0)):_.RI(c,!0));return c}if(a instanceof _.LK)return new _.Ahc(a);if(a instanceof _.EM)return _.Td(a,1).map(function(f){var h=new _.NJ;f=_.w(h,1,f);h=a.zV();f=_.Mj(f,2,h);h=a.ve();return _.I(f,3,h)});if(a instanceof _.sJ){c=gpc(!1,1).qd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Zv())&&(e=Math.max(e,f))});return Lsc(new _.tJ,a).Ica(e)}return a};
var eHc=function(){};eHc.prototype.validate=function(a){var b=null;a instanceof _.BJ?(a=a.getId()||"",_.ie(a)&&(b="Tried to request backup with no id.")):a instanceof _.lJ&&(a=a.getId()||"",_.ie(a)&&(b="Tried to delete backup with no id."));return b?_.NI(b):null};
var fHc=function(a,b){this.H=a;this.O=b},jHc=function(a,b){_.SK(["drive#about"],b);var c=new _.FM,d=new _.CB;if(b.user){var e=_.UK(a.H,b.user);_.I(d,1,e)}a=gHc(a,b);a=Mrc(Lrc(_.Krc(new _.Cvb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.Orc(a,_.zrc(_.yrc((new _.BB).Dc(hHc[e.status]),Number(e.trialMillisRemaining)),_.TK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.Prc(a,_.Brc(_.Arc(new _.xvb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&Nrc(a,b.importFormats.map(function(f){var h=new _.Jrc;h=_.w(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.w(a,10,iHc[b.adminSecureLinkSetting]);_.I(d,3,a);_.ICc(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},gHc=function(a,b){var c;var d=new _.Bvb;d=_.w(d,1,Number(b.quotaBytesTotal));d=_.w(d,2,Number(b.quotaBytesUsed));d=_.w(d,3,Number(b.quotaBytesUsedAggregate));d=_.w(d,4,Number(b.quotaBytesUsedInTrash));d=_.Frc(_.Erc(_.Drc(_.Crc(d,
wpc(b.quotaBytesByService||[])),kHc[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-ypc(b);d=_.w(d,9,e);d=_.Grc(d,Number(b.quotaBytesUsedAggregate));d=_.w(d,11,Number(b.quotaBytesUsedInTrash));d=_.w(d,13,_.Aoc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.Hrc(d,lHc[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Avb;var f=
_.s4a(new Date(b.graceQuotaInfo.endDate));e=_.I(e,1,f);e=_.w(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.I(d,12,e)}if(null===(c=_.PI(a.O))||void 0===c?0:_.S(c,16,!1)){var h;(a=d.HJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);h=_.w(d,16,Number(b.individualQuotaBytesTotal));h=_.w(h,17,_.Aoc(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal)));b=_.w(h,9,Number(b.individualQuotaBytesUsedAggregate))}else b=
d;return b},lHc={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},xpc=new Set(["POOLED_STORAGE","FAMILY"]),hHc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},vpc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},kHc={LIMITED:1,UNLIMITED:2,POOLED:3},iHc={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var mHc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},nHc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},oHc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},pHc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},qHc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},rHc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},sHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},tHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},uHc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},vHc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},wHc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},xHc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},yHc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},zHc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},AHc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},BHc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},CHc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},DHc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},EHc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},FHc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},GHc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},HHc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},OHc=function(a){return a.map(function(b){var c=new _.QCc;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=IHc(e);_.I(c,2,d);break;case "actors":d=JHc(e);_.Mj(c,3,d);break;case "actions":d=KHc(e);_.Mj(c,
4,d);break;case "targets":d=LHc(e);_.Mj(c,5,d);break;case "timestamp":c.O(MHc(e));break;case "timeRange":d=NHc(e),_.Rj(c,7,PCc[0],d)}}return c})},KHc=function(a){return a.map(function(b){var c=new _.NCc;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=IHc(e);_.I(c,1,d);break;case "source":d=new MBc;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":_.ck(d,2,mHc[h]);break;case "appId":_.bk(d,1,h)}}_.I(c,2,d);break;case "actor":d=PHc(e);_.I(c,3,d);break;case "target":d=QHc(e);_.I(c,4,d);break;case "timestamp":c.O(MHc(e));break;case "timeRange":d=NHc(e),_.Rj(c,6,MCc[0],d)}}return c})},LHc=function(a){return a.map(function(b){return QHc(b)})},SHc=function(a){return a.map(function(b){return RHc(b)})},THc=function(a){return a.map(function(b){var c=new _.qBc;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 "parent":c.Dg(RHc(e));break;case "shortcut":d=RHc(e),_.I(c,2,d)}}return c})},QHc=function(a){var b=new _.QBc;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=UHc(d);_.Rj(b,1,_.PBc[0],c);break;case "drive":c=new _.NBc;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.hd(f);
break;case "title":c.setTitle(f);break;case "root":e=UHc(f),_.I(c,3,e)}}_.Rj(b,5,_.PBc[0],c);break;case "fileComment":c=new _.OBc;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":_.bk(c,1,f);break;case "legacyDiscussionId":_.bk(c,2,f);break;case "linkToDiscussion":_.bk(c,3,f);break;case "parent":c.Dg(UHc(f))}_.Rj(b,3,_.PBc[0],c)}}return b},RHc=function(a){var b=new _.rM;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 $Ac;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.hd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new YAc;_.Rj(e,8,ZAc[0],f);break;case "driveFolder":e=VHc(f);_.Rj(c,9,ZAc[0],e);break;case "driveShortcut":e=WHc(f),_.Rj(c,10,ZAc[0],e)}}_.Rj(b,1,aBc[0],c);break;case "drive":c=XHc(d),_.Rj(b,3,
aBc[0],c)}}return b},UHc=function(a){var b=new _.XAc;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.hd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.bk(b,6,d);break;case "version":_.ak(b,5,d);break;case "owner":c=new TAc;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=YHc(f);_.I(c,3,e);break;case "user":e=
UM(f);_.Rj(c,1,SAc[0],e);break;case "drive":e=XHc(f),_.Rj(c,4,SAc[0],e)}}_.I(b,7,c);break;case "driveFile":c=new YAc;_.Rj(b,8,UAc[0],c);break;case "driveFolder":c=VHc(d);_.Rj(b,9,UAc[0],c);break;case "driveShortcut":c=WHc(d),_.Rj(b,10,UAc[0],c)}}return b},XHc=function(a){var b=new RAc;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.hd(d);break;case "title":b.setTitle(d)}}return b},VHc=function(a){var b=new VAc;
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":_.ck(b,6,nHc[d])}}return b},WHc=function(a){var b=new WAc;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":_.bk(b,1,d);break;case "targetMimeType":_.bk(b,2,d)}}return b},JHc=function(a){return a.map(function(b){return PHc(b)})},PHc=function(a){var b=new _.LBc;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=UM(d);_.Rj(b,1,_.KBc[0],c);break;case "anonymous":c=new HBc;_.Rj(b,2,_.KBc[0],c);break;case "impersonation":c=new _.IBc;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=UM(f),_.I(c,1,e)}}_.Rj(b,3,_.KBc[0],c);break;case "system":c=new _.JBc;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":_.ck(c,1,oHc[f])}_.Rj(b,4,_.KBc[0],c);break;case "administrator":c=new _.GBc,_.Rj(b,5,_.KBc[0],c)}}return b},ZHc=function(a){return a.map(function(b){return UM(b)})},UM=function(a){var b=new _.yAc;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 _.pM;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":_.bk(c,1,f);break;case "isCurrentUser":_.Zj(c,2,f);break;case "displayName":_.bk(c,3,f);break;case "photoUrl":c.Jn(f)}}_.Rj(b,2,_.wAc[0],c);break;case "unknownUser":c=new zAc;_.Rj(b,4,_.wAc[0],c);break;case "deletedUser":c=new _.xAc,_.Rj(b,3,_.wAc[0],c)}}return b},MHc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.r4a((new _.dy).setSeconds(a),b)},NHc=function(a){var b=new _.GM;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.kY(MHc(d));break;case "endTime":b.GO(MHc(d))}}return b},YHc=function(a){var b=new _.QAc;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.hd(d);break;case "legacyId":_.bk(b,3,d);break;case "audienceDisplayName":_.bk(b,4,d)}}return b},IHc=function(a){for(var b=new _.wM,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 _.dBc,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,v=q.next().value;switch(r){case "new":var z=k,A=new eBc;_.Rj(z,1,_.bBc[0],A);break;case "upload":var D=k,F=new fBc;_.Rj(D,2,_.bBc[0],F);break;case "copy":for(var H=v,L=new _.cBc,O=_.m(Object.entries(H)),R=O.next();!R.done;R=O.next()){var X=_.m(R.value),la=X.next().value,ha=X.next().value;
switch(la){case "originalObject":var ta=RHc(ha);_.I(L,1,ta)}}_.Rj(k,3,_.bBc[0],L)}}_.Rj(b,1,_.vM[0],k);break;case "edit":var ea=new kBc;_.Rj(b,2,_.vM[0],ea);break;case "move":for(var Ua=new _.sBc,Ja=_.m(Object.entries(h)),nb=Ja.next();!nb.done;nb=Ja.next()){var $a=_.m(nb.value),yb=$a.next().value,Zb=$a.next().value;switch(yb){case "addedParents":var Gc=SHc(Zb);_.Mj(Ua,1,Gc);break;case "removedParents":var ke=SHc(Zb);_.Mj(Ua,2,ke);break;case "fromOwnershipTransfer":_.Zj(Ua,3,Zb);break;case "reparents":var Rd=
Zb.map($Hc);_.Mj(Ua,4,Rd);break;case "multiparentingMigration":for(var Gd=Zb,sf=new _.rBc,pd=_.m(Object.entries(Gd)),Bb=pd.next();!Bb.done;Bb=pd.next()){var le=_.m(Bb.value),lg=le.next().value,Ee=le.next().value;switch(lg){case "removedParents":var ei=SHc(Ee);_.Mj(sf,2,ei);break;case "migratedParents":var $e=THc(Ee);_.Mj(sf,1,$e)}}_.I(Ua,5,sf)}}_.Rj(b,3,_.vM[0],Ua);break;case "rename":for(var Ai=new _.yBc,ah=_.m(Object.entries(h)),pm=ah.next();!pm.done;pm=ah.next()){var gf=_.m(pm.value),ve=gf.next().value,
Tf=gf.next().value;switch(ve){case "oldTitle":_.bk(Ai,1,Tf);break;case "newTitle":_.bk(Ai,2,Tf)}}_.Rj(b,4,_.vM[0],Ai);break;case "delete":for(var qi=new _.iBc,Wj=_.m(Object.entries(h)),qm=Wj.next();!qm.done;qm=Wj.next()){var Fo=_.m(qm.value),rm=Fo.next().value,Fh=Fo.next().value;switch(rm){case "type":_.ck(qi,1,pHc[Fh])}}_.Rj(b,5,_.vM[0],qi);break;case "restore":for(var Pl=new _.zBc,Gj=_.m(Object.entries(h)),Tg=Gj.next();!Tg.done;Tg=Gj.next()){var kj=_.m(Tg.value),Hj=kj.next().value,Xj=kj.next().value;
switch(Hj){case "type":_.ck(Pl,1,qHc[Xj])}}_.Rj(b,6,_.vM[0],Pl);break;case "permissionChange":for(var Ph=new _.vBc,Zi=_.m(Object.entries(h)),Ij=Zi.next();!Ij.done;Ij=Zi.next()){var $i=_.m(Ij.value),Yj=$i.next().value,Qh=$i.next().value;switch(Yj){case "addedPermissions":var sm=aIc(Qh);_.Mj(Ph,1,sm);break;case "removedPermissions":var lj=aIc(Qh);_.Mj(Ph,2,lj);break;case "resharedPermissions":var ok=aIc(Qh);_.Mj(Ph,3,ok);break;case "otherActivePermissions":var Ql=aIc(Qh);_.Mj(Ph,4,Ql)}}_.Rj(b,7,_.vM[0],
Ph);break;case "comment":for(var pk=new _.PAc,nn=_.m(Object.entries(h)),Ok=nn.next();!Ok.done;Ok=nn.next()){var qk=_.m(Ok.value),tf=qk.next().value,Jj=qk.next().value;switch(tf){case "post":for(var Rl=Jj,Pk=new _.MAc,Sl=_.m(Object.entries(Rl)),pc=Sl.next();!pc.done;pc=Sl.next()){var mj=_.m(pc.value),Gh=mj.next().value,rk=mj.next().value;switch(Gh){case "subtype":_.ck(Pk,1,sHc[rk])}}_.Rj(pk,1,_.LAc[0],Pk);break;case "assignment":for(var Rh=Jj,fi=new _.NAc,bg=_.m(Object.entries(Rh)),sk=bg.next();!sk.done;sk=
bg.next()){var xp=_.m(sk.value),Hh=xp.next().value,Ih=xp.next().value;switch(Hh){case "subtype":_.ck(fi,1,tHc[Ih]);break;case "assignedUser":var on=UM(Ih);_.I(fi,7,on)}}_.Rj(pk,2,_.LAc[0],fi);break;case "suggestion":for(var nj=Jj,pn=new _.OAc,Tl=_.m(Object.entries(nj)),tk=Tl.next();!tk.done;tk=Tl.next()){var tm=_.m(tk.value),Go=tm.next().value,Pn=tm.next().value;switch(Go){case "subtype":_.ck(pn,1,uHc[Pn])}}_.Rj(pk,3,_.LAc[0],pn);break;case "mentionedUsers":var nq=ZHc(Jj);_.Mj(pk,7,nq)}}_.Rj(b,8,
_.vM[0],pk);break;case "dlpChange":for(var $l=new _.hBc,am=_.m(Object.entries(h)),Ck=am.next();!Ck.done;Ck=am.next()){var Vo=_.m(Ck.value),Gq=Vo.next().value,Hq=Vo.next().value;switch(Gq){case "type":_.ck($l,1,vHc[Hq])}}_.Rj(b,9,_.vM[0],$l);break;case "view":for(var Iq=new FBc,Cv=_.m(Object.entries(h)),Cr=Cv.next();!Cr.done;Cr=Cv.next()){var bu=_.m(Cr.value),bB=bu.next().value,cB=bu.next().value;switch(bB){case "type":_.ck(Iq,1,wHc[cB]);break;case "viewHistoryVisibility":for(var Cy=cB,Ns=new EBc,
Jp=_.m(Object.entries(Cy)),Jq=Jp.next();!Jq.done;Jq=Jp.next()){var dB=_.m(Jq.value),BD=dB.next().value,bx=dB.next().value;switch(BD){case "domainPolicyVisibilityState":_.ck(Ns,1,xHc[bx]);break;case "namedPartyState":_.ck(Ns,2,yHc[bx])}}_.I(Iq,2,Ns)}}_.Rj(b,10,_.vM[0],Iq);break;case "download":for(var cx=new jBc,dx=_.m(Object.entries(h)),Dy=dx.next();!Dy.done;Dy=dx.next()){var Ey=_.m(Dy.value),Dv=Ey.next().value,Os=Ey.next().value;switch(Dv){case "type":_.ck(cx,1,zHc[Os])}}_.Rj(b,11,_.vM[0],cx);break;
case "reference":for(var Vk=new _.rAc,Dr=_.m(Object.entries(h)),Xm=Dr.next();!Xm.done;Xm=Dr.next()){var lO=_.m(Xm.value),RJ=lO.next().value,CD=lO.next().value;switch(RJ){case "type":_.ck(Vk,1,AHc[CD]);break;case "context":for(var cj=CD,DD=new qAc,cu=_.m(Object.entries(cj)),Ps=cu.next();!Ps.done;Ps=cu.next()){var SS=_.m(Ps.value),E7=SS.next().value,SJ=SS.next().value;switch(E7){case "description":DD.Wl(SJ);break;case "url":_.bk(DD,2,SJ)}}_.I(Vk,2,DD)}}_.Rj(b,12,_.vM[0],Vk);break;case "settingsChange":for(var Jg=
new _.CBc,TS=_.m(Object.entries(h)),ex=TS.next();!ex.done;ex=TS.next()){var bm=_.m(ex.value),eB=bm.next().value,US=bm.next().value;switch(eB){case "restrictionChanges":var mO=bIc(US);_.Mj(Jg,1,mO)}}_.Rj(b,13,_.vM[0],Jg);break;case "approvalChange":for(var co=new _.CAc,PZ=_.m(Object.entries(h)),nO=PZ.next();!nO.done;nO=PZ.next()){var du=_.m(nO.value),ED=du.next().value,Fy=du.next().value;switch(ED){case "approvalName":_.bk(co,2,Fy);break;case "approvalEventNames":_.Kj(co,3,Fy);break;case "initiator":var VS=
UM(Fy);_.I(co,4,VS);break;case "reviewers":var F7=ZHc(Fy);_.Mj(co,5,F7);break;case "status":co.Dc(DHc[Fy]);break;case "dueTime":var QZ=MHc(Fy);_.I(co,7,QZ);break;case "approvalRequested":var Gy=co,fx=new DAc;_.Rj(Gy,8,_.qM[0],fx);break;case "approvalCancelled":var TJ=co,G7=new EAc;_.Rj(TJ,9,_.qM[0],G7);break;case "reviewerResponded":for(var WS=Fy,oO=new _.BAc,RZ=_.m(Object.entries(WS)),fB=RZ.next();!fB.done;fB=RZ.next()){var SZ=_.m(fB.value),TZ=SZ.next().value,UZ=SZ.next().value;switch(TZ){case "reviewerDecision":_.ck(oO,
1,EHc[UZ])}}_.Rj(co,10,_.qM[0],oO);break;case "commentAdded":var jB=co,My=new FAc;_.Rj(jB,11,_.qM[0],My);break;case "reviewersChanged":for(var zO=Fy,BG=new HAc,sT=_.m(Object.entries(zO)),$J=sT.next();!$J.done;$J=sT.next()){var m8=_.m($J.value),rza=m8.next().value,n8=m8.next().value;switch(rza){case "reviewerChanges":var o8=cIc(n8);_.Mj(BG,1,o8)}}_.Rj(co,12,_.qM[0],BG);break;case "dueTimeChanged":for(var Wpc=Fy,Qzb=new JAc,sza=_.m(Object.entries(Wpc)),tza=sza.next();!tza.done;tza=sza.next()){var Rzb=
_.m(tza.value),Szb=Rzb.next().value,oZa=Rzb.next().value;switch(Szb){case "oldDueTime":var ID=MHc(oZa);_.I(Qzb,1,ID)}}_.Rj(co,13,_.qM[0],Qzb)}}_.Rj(b,18,_.vM[0],co);break;case "lock":var Tzb=new mBc;_.Rj(b,15,_.vM[0],Tzb);break;case "unlock":var Uzb=new DBc;_.Rj(b,16,_.vM[0],Uzb);break;case "appliedLabelChange":for(var pZa=new _.vAc,qZa=_.m(Object.entries(h)),uza=qZa.next();!uza.done;uza=qZa.next()){var rZa=_.m(uza.value),sZa=rZa.next().value,Vzb=rZa.next().value;switch(sZa){case "changes":var Wzb=
dIc(Vzb);_.Mj(pZa,1,Wzb)}}_.Rj(b,19,_.vM[0],pZa);break;case "publishChange":for(var vza=new _.xBc,Xzb=_.m(Object.entries(h)),m_=Xzb.next();!m_.done;m_=Xzb.next()){var xia=_.m(m_.value),tT=xia.next().value,Yzb=xia.next().value;switch(tT){case "oldPublishState":var Xpc=eIc(Yzb);_.I(vza,1,Xpc);break;case "newPublishState":var Ypc=eIc(Yzb);_.I(vza,2,Ypc)}}_.Rj(b,20,_.vM[0],vza);break;case "linkShareMetadataChange":for(var tZa=new _.lBc,aK=_.m(Object.entries(h)),uZa=aK.next();!uZa.done;uZa=aK.next()){var wza=
_.m(uZa.value),Zzb=wza.next().value,vZa=wza.next().value;switch(Zzb){case "securityUpdateEnabled":_.Zj(tZa,1,vZa)}}_.Rj(b,21,_.vM[0],tZa)}}return b},$Hc=function(a){var b=new _.oBc;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":_.ck(b,1,HHc[d])}}return b},aIc=function(a){return a.map(function(b){var c=new _.uM;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":_.ck(c,1,rHc[e]);break;case "user":d=UM(e);_.Rj(c,2,_.tM[0],d);break;case "group":d=new _.sM;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":_.bk(d,1,h);break;case "title":d.setTitle(h)}}_.Rj(c,3,_.tM[0],d);break;case "domain":d=YHc(e);_.Rj(c,4,_.tM[0],d);break;case "anyone":d=new tBc;_.Rj(c,5,_.tM[0],d);break;case "allowDiscovery":_.Zj(c,6,e)}}return c})},bIc=function(a){return a.map(function(b){var c=
new _.BBc;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":_.ck(c,1,BHc[e]);break;case "newRestriction":_.ck(c,2,CHc[e])}}return c})},cIc=function(a){return a.map(function(b){var c=new IAc;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=UM(e);_.I(c,3,d);break;case "addedReviewer":d=UM(e),_.I(c,4,d)}}return c})},
dIc=function(a){return a.map(function(b){var c=new _.uAc;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":_.bk(c,1,e);break;case "types":d=fIc(e),_.Kj(c,2,d)}}return c})},fIc=function(a){return a.map(function(b){return FHc[b]})},eIc=function(a){var b=new _.wBc;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":_.ck(b,
1,GHc[d]);break;case "signinRequired":_.Zj(b,2,d);break;case "publishedTime":c=MHc(d),_.I(b,3,c)}}return b};
var hIc=function(a,b){var c=new fCc;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=gIc(a),_.I(b,2,a));return b},gIc=function(a){_.SK(["drive#app"],a);var b=(new _.HL).Pb(a.id);b=_.w(b,3,a.useByDefault).hd(a.name);b=_.w(b,7,a.openUrlTemplate);b=Duc(Cuc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.w(b,8,a.createUrl);b=_.w(b,9,a.createInFolderTemplate);b=_.w(b,10,a.objectType);b=_.w(b,11,a.supportsCreate);b=_.w(b,12,a.supportsImport);b=_.w(b,13,a.supportsMultiOpen);b=_.w(b,27,a.supportsOfflineCreate);b=
_.w(b,14,a.installed);b=_.w(b,15,a.authorized);b=_.w(b,16,a.productUrl);b=_.Kj(b,17,a.primaryFileExtensions);b=_.Kj(b,18,a.secondaryFileExtensions);b=_.w(b,19,a.shortDescription);b=_.w(b,20,a.longDescription);b=_.w(b,21,a.productId);b=_.w(b,22,a.removable);b=_.w(b,23,iIc[a.type]);b=_.w(b,25,a.hasAppData);b=_.w(b,26,a.appDataQuotaBytesUsed);b=_.w(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.w(b,30,a.hasDriveWideScope);b=_.w(b,31,a.driveSource);b=_.w(b,32,a.driveBranded);b=_.w(b,33,a.hidden);b=_.w(b,
34,a.supportsMobileBrowser);b=_.w(b,35,a.supportsTeamDrives);b=_.w(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 _.xuc;l=_.w(l,3,k.iconUrl).setSize(k.size);k.category&&_.w(l,1,jIc[k.category]);h.call(f,l)}_.Mj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Kj(b,24,d);c=a.rankingInfo||{};a=new _.Auc;d=c.absoluteScore;null!=d&&_.w(a,1,Number(d));d=kIc(c.mimeTypeScores||[]);_.Mj(a,2,d);c=kIc(c.fileExtensionScores||[]);
_.Mj(a,3,c);_.I(b,29,a);return b},kIc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.yuc;d=_.w(d,1,a[c].type);d=_.w(d,2,Number(a[c].score));b.push(d)}return b},iIc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},jIc={application:1,document:2,documentShared:3};
var mIc=function(a){var b=new gDc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.xM).Pb(c.id).setTitle(c.title);d=_.w(d,3,_.TK(c.updateTime));d=_.w(d,4,lIc[c.backupSource]);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.TK(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.iz()){var e=new SBc;e=_.w(e,1,c.whatsappOngoingBackupEnabled);c=_.w(e,2,c.whatsappPhoneNumber);_.I(d,6,c)}else 2===d.iz()&&(e=new _.RBc,e=_.w(e,1,c.deviceName),e=_.w(e,2,c.deviceModelName),
e=_.w(e,3,c.shouldIncludeSpecialSyncItems),c=_.w(e,4,c.deviceAndroidId),_.I(d,7,c));return d});_.Mj(b,2,a);return b},oIc=function(a){var b=new cDc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.yM).Pb(c.id);d=_.w(d,1,nIc[c.type]).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.TBc(d.setSize(c.size),_.TK(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).Wl(c.description);return _.w(d,9,c.ongoingSyncEnabled)});_.Mj(b,1,a);return b},lIc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},nIc={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 pIc=function(a,b){this.H=a;this.O=b};
var qIc={read:2,write:3,comment:4},rIc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.tG((new _.el).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.hK(d,_.Pmc(c.userCapabilities));_.tK(b).includes(19)&&_.Lic(d,!0);Fyc(a,d,_.tK(b));_.Nic(d,4);return d},uIc=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=sIc(f.person).Pb(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()===h})||e.push(k);var p=l.itemId,q=d.find(function(r){return r.getId()===
p});q||(q=rIc(a,b,l),d.push(q));l=mrc(lrc(krc(new _.Sna,k.clone()),tIc(l)),l.url);_.Sj(q,107,l,_.Sna,void 0)})}});return htc((new _.CK).Uw(d),e).sP(c.suggestionSessionId)},sIc=function(a){return _.$hc((new _.Kk).Pb(a.id).hd(a.displayName),a.emailAddress).Jn(a.photoUrl)},wIc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=rIc(a,b,e);e=vIc(e);f=_.Mj(f,117,e);d.push(f)}});c=(new _.rB).Uw(d).sP(c.suggestionSessionId);return _.slc(new _.MK,c)},vIc=function(a){var b=a.action;
return b?b.map(function(c){var d=new _.zna,e=xIc(c);e&&_.Rj(d,2,_.Qk[0],e);(e=yIc(c))&&bqc(d,e);(e=zIc(c))&&_.Rj(d,4,_.Qk[0],e);(e=AIc(c))&&_.Rj(d,5,_.Qk[0],e);(e=BIc(c))&&_.Rj(d,6,_.Qk[0],e);(e=CIc(c))&&_.Rj(d,7,_.Qk[0],e);(e=DIc(c))&&_.Rj(d,8,_.Qk[0],e);(e=EIc(c))&&_.Rj(d,9,_.Qk[0],e);(e=FIc(c))&&_.Rj(d,10,_.Qk[0],e);(c=GIc(c))&&_.Rj(d,11,_.Qk[0],c);return d}):(a=VM(a),a=Nqc([a]),[bqc(new _.zna,a)])},IIc=function(a){return(a.justification||[]).map(function(b){return HIc(b)})},VM=function(a){return(a=
a.justification)?HIc(a):null},HIc=function(a){var b=Vpc(new _.Nk,JIc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=sIc(c),_.Rj(b,3,_.yna[0],c),Zpc(b,[c])):d?(c=(d.person||[]).map(function(e){return sIc(e)}),d=Upc(c),_.Rj(b,4,_.yna[0],d),Zpc(b,c)):(c=(a.person||[]).map(function(e){return sIc(e)}),c.length&&(d=Upc(c),_.Rj(b,4,_.yna[0],d),Zpc(b,c)));_.w(b,5,_.TK(a.eventTime));$pc(b,JIc(a.justificationDescription));aqc(b,JIc(a.unstructuredJustificationDescription));return b},JIc=function(a){if(!a)return null;
a=a.textSegment||[];return Rpc(new _.Hk,a.map(function(b){var c=(new _.Ik).mh(b.text),d=b.link;if(d){var e=new _.Jk;d=_.w(e,1,d.url)}else d=null;c=_.I(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},xIc=function(a){a=a.documentDocosAction;if(!a)return null;var b=Bqc(new _.Fna,VM(a));Aqc(b,(a.subAction||[]).map(function(c){var d=new _.Hna;c.reply?(c=new _.Bna,_.Rj(d,1,_.Gna[0],c)):c.resolve?(c=new jqc,_.Rj(d,2,_.Gna[0],c)):c.reassign?(c=new hqc,_.Rj(d,3,_.Gna[0],c)):c.acceptSuggestion?(c=new cqc,
_.Rj(d,4,_.Gna[0],c)):c.rejectSuggestion?(c=new iqc,_.Rj(d,5,_.Gna[0],c)):c.openThread&&(c=new _.Ana,_.Rj(d,6,_.Gna[0],c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);Cqc(b,JIc(a.anchorText));return b},zIc=function(a){a=a.documentShareAction;if(!a)return null;var b=Fqc(new _.Tk,VM(a));Eqc(b,(a.subAction||[]).map(function(c){var d=new Hqc;c.suggestedShare?(c=new nqc,_.Rj(d,1,Gqc[0],c)):c.responseToRequest&&(c=new kqc,_.Rj(d,2,Gqc[0],c));return d}));Dqc(b,(a.sharee||[]).map(function(c){return sIc(c)}));
_.w(b,3,qIc[a.shareeRole]);return b},yIc=function(a){a=a.documentViewAction;if(!a)return null;var b=Nqc(IIc(a));Mqc(b,(a.subAction||[]).map(function(c){var d=new Pqc;c.open?d.Ag(new eqc):c.reviewEdits&&(c=new lqc,_.Rj(d,2,Oqc[0],c));return d}));return b},AIc=function(a){a=a.emailViewAction;if(!a)return null;var b=$qc(new Yqc,VM(a));Zqc(b,(a.subAction||[]).map(function(c){var d=new brc;c.openEmail&&d.Ag(new fqc);return d}));return b},BIc=function(a){a=a.calendarEventAction;if(!a)return null;var b=
tqc(sqc(rqc(new _.Rk,a.eventId),VM(a)),a.guestCount);qqc(b,(a.subAction||[]).map(function(c){var d=new vqc;if(c.viewCalendarEvent){var e=new oqc;_.Rj(d,1,uqc[0],e)}c.shareWithAttendees&&(e=new mqc,_.Rj(d,2,uqc[0],e));c.present&&(e=new gqc,_.Rj(d,3,uqc[0],e));c.openDocument&&(c=new eqc,_.Rj(d,4,uqc[0],c));return d}));return b},CIc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=Uqc(Tqc(new Rqc,a.workspaceId),VM(a));Sqc(b,(a.subAction||[]).map(function(c){var d=new Wqc;c.addToWorkspace&&
(c=new dqc,_.Rj(d,1,Vqc[0],c));return d}));return b},DIc=function(a){a=a.documentTopicAction;if(!a)return null;var b=Jqc(new _.Uk,VM(a));Iqc(b,(a.subAction||[]).map(function(c){var d=new Lqc;c.openDocument&&(c=new eqc,_.Rj(d,1,Kqc[0],c));return d}));return b},EIc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=hrc(new _.Yk,VM(a));grc(b,(a.subAction||[]).map(function(c){var d=new jrc;c.openDocument&&(c=new eqc,_.Rj(d,1,irc[0],c));return d}));return b},FIc=function(a){a=a.collaboratorActivityAction;
if(!a)return null;var b=xqc(new _.Sk,VM(a));wqc(b,(a.subAction||[]).map(function(c){var d=new zqc;c.openDocument&&(c=new eqc,_.Rj(d,1,yqc[0],c));return d}));return b},GIc=function(a){a=a.formResponseAction;if(!a)return null;var b=drc(new _.Xk,IIc(a));crc(b,(a.subAction||[]).map(function(c){var d=new frc;c.openDocument?(c=new eqc,_.Rj(d,1,erc[0],c)):c.viewResponses&&(c=new pqc,_.Rj(d,2,erc[0],c));return d}));return b},tIc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<
a.length?(a[0]||{}).text||"":""};
var KIc=function(a,b){this.H=a;this.O=b},MIc=function(a,b,c){_.SK(["drive#categoryMetadataList"],c);var d=new GL,e=Object.values(c.categoryMetadata||{});ruc(d,e.map(function(f){return LIc(a,f,b.Cc())}));d.Dc(1);return new _.FK(d,gAc(c))},OIc=function(a,b){var c=new CM;nCc(c,(b.categories||[]).map(function(d){return NIc(a,d)}));c.Dc(1);return new avc(c,gAc(b))},LIc=function(a,b,c){_.SK(["drive#categoryMetadata"],b);c=wtc((new BL).hd(b.categoryName),c);b=Object.values(b.attributeValues||[]);vtc(c,b.map(function(d){return PIc(a,
d)}).filter(function(d){return d}));return c},NIc=function(a,b){var c,d=euc(Wtc(buc(auc($tc(Vtc(Utc((new EL).hd(b.name),b.categoryName),b.latestName).setTitle(b.title).Wl(b.description),_.TK(b.createTime)),_.TK(b.updateTime)),_.TK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new Rtc).Pb(e.id);h=_.w(h,2,e.queryGuid);h=_.w(h,3,e.helpText);h=_.w(h,4,e.displayName);if(e.attributeDisplayHints){var k=QIc(e.attributeDisplayHints);_.I(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new ztc;l=_.w(l,1,k.canSearch);k=_.w(l,2,k.canWrite);_.I(h,6,k)}_.w(h,7,RIc[f]);e=e[SIc(f)+"Options"];return TIc(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&Xtc(d,UIc(b.createdBy));b.updatedBy&&Ytc(d,UIc(b.updatedBy));b.publishedBy&&Ztc(d,UIc(b.publishedBy));b.displayHints&&cuc(d,QIc(b.displayHints));b.capabilities&&duc(d,VIc(b.capabilities));b.learnMoreUri&&_.w(d,15,b.learnMoreUri);return d},PIc=function(a,b){_.SK(["drive#categoryAttributeValue"],
b);var c=(new zL).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),ttc(c,b.map(function(d){_.SK(["drive#userScopedAttributeValue"],d);var e=new qtc,f=_.UK(a.H,d.scopedUser);e=_.I(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.VA(9);else if(!a.Jb(c,b))return null;return c},QIc=function(a){var b=new ytc;b=_.w(b,1,a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,4,!!a.required)},VIc=function(a){var b=new Ttc;b=_.w(b,1,a.canSearch);b=_.w(b,2,a.canApply);
b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},TIc=function(a,b,c,d){return WIc(a,function(){XIc(a)[c](b,d)},c,b)},YIc=function(a){a=void 0===a?{}:a;var b=new Ctc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},$Ic=function(a){var b=new Itc;Jtc(b,(a.choices||[]).map(function(c){var d=new Htc;d=_.w(d,1,c.label).Jb(c.value);c.description&&d.Wl(c.description);if(c.capabilities){var e=c.capabilities;var f=new Ftc;f=_.w(f,1,e.canSearch);e=_.w(f,2,e.canSelect);_.I(d,3,e)}c.displayHints&&
(c=c.displayHints,e=new Gtc,e=_.w(e,1,c.disabled),e=_.w(e,2,c.hidden),c.badgePriority&&_.w(e,5,c.badgePriority),c.badgeColors&&(f=ZIc(c.badgeColors),_.I(e,3,f)),c.darkBadgeColors&&(c=ZIc(c.darkBadgeColors),_.I(e,4,c)),_.I(d,4,e));return d}));return b},ZIc=function(a){var b=new xtc;var c=aJc(a.backgroundColor);b=_.I(b,1,c);c=aJc(a.foregroundColor);b=_.I(b,2,c);a=aJc(a.soloColor);return _.I(b,3,a)},aJc=function(a){var b=new _.aD;b=_.rb(b,1,a.red,0);b=_.rb(b,2,a.green,0);b=_.rb(b,3,a.blue,0);a.alpha&&
(a=(new Qrc).Jb(a.alpha),_.I(b,4,a));return b},bJc=function(a){var b=new Mtc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,a.minValue);return _.w(b,3,a.maxValue)},cJc=function(a){var b=(new _.moa).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)};KIc.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.VA(RIc[d]);return WIc(this,function(){dJc(c)[d](a,b[b.valueType])},b.valueType)};
var WIc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof Otc))return xsc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},UIc=function(a){return _.Yhc(1).Pb(a.personName.split("/")[1])},SIc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},XIc=function(a){return{BOOLEAN:function(b,c){var d=b.y3a;var e=new Dtc;e=_.w(e,1,c.trueLabel);c=_.w(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.Gca(YIc(c))},TEXT_LIST:function(b,c){var d=b.w4a;var e=new Ltc;e=_.w(e,1,c.maxEntries);c=YIc(c.options);c=_.I(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new Btc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Rj(b,10,CL[0],c)},SELECTION:function(b,c){return b.j4a($Ic(c))},SELECTION_LIST:function(b,c){var d=b.i4a;var e=new Ktc;e=_.w(e,1,c.maxEntries);c=$Ic(c.options);c=_.I(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.L3a(bJc(c))},INTEGER_LIST:function(b,
c){var d=b.K3a;var e=new Ntc;e=_.w(e,1,c.maxEntries);c=bJc(c.options);c=_.I(e,2,c);return d.call(b,c)},USER:function(b){return b.B4a(new Ptc)},USER_LIST:function(b,c){var d=b.Koa,e=new Qtc;c=_.w(e,1,c.maxEntries);e=new Ptc;c=_.I(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.soa;var e=new Atc;e=_.w(e,4,c.dateFormat);var f=cJc(c.minValue);e=_.I(e,2,f);c=cJc(c.maxValue);c=_.I(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new Otc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.w(d,2,RIc[e]);c=c[SIc(e)+"Options"];TIc(a,d,e,c);return _.Rj(b,16,CL[0],d)}}},dJc=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.Ioa(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.Eoa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.woa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.UK(a.H,c))},USER_LIST:function(b,c){stc(b,c.map(function(d){return _.UK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},RIc={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 fJc=function(a){a=a.personResponse;return xwc(new wwc,a.map(function(b){var c=b.person;b=twc(new WL,b.personId);var d=b.hd,e=c;e=void 0===e?{}:e;e=e.metadata;b=uwc(d.call(b,e?e.bestDisplayName.displayName:""),eJc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new swc;c=_.w(d,1,c&&!c.isDefault?c.url:null);return _.I(b,4,c)}))},eJc=function(a){a=void 0===a?{}:a;return(a=(a.email||[]).find(function(b){return"SIGNUP_EMAIL"===b.classification&&!0===b.metadata.primary}))?a.value:""};
var gJc=function(a){this.H=a},iJc=function(a,b){_.SK(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return hJc(a,c)})},hJc=function(a,b){_.SK(["drive#teamDrive","drive#drive"],b);var c=new _.Xna,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);_.w(c,7,b.hidden);_.w(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
noc(c,d.map(function(e){_.SK(["drive#driveCategoryReference"],e);var f=new _.dl;return _.w(f,1,e.category)}));c=_.Uic(_.Sic(_.Ric(_.Nic(_.Oic(moc(_.tG((new _.el).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.lic(_.Pmc(b.capabilities),!0),_.hK(c,d));b.permissionsSummary&&_.Pic(c,Usc(a.H,b.permissionsSummary));b.restrictions&&poc(c,jJc(b.restrictions));return c},jJc=function(a){var b=new qrc;
b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,3,a.domainUsersOnly);return _.w(b,4,a.teamMembersOnly)};
var kJc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},Dpc=_.Za(kJc);
var lJc=function(a){_.SK(["drive#setting"],a);var b=new _.Tb;b=_.w(b,2,a.key);b=_.w(b,1,kJc[a.namespace]);return _.uBa(new _.np,b).Jb(a.value)};
var nJc=function(a){_.SK(["drive#workspaceList"],a);var b=a.items||[];b=Awc(new XL,b.map(function(c){return mJc(c)}));return new _.IK(b,gAc(a))},mJc=function(a){_.SK(["drive#workspace"],a);var b=(new _.rG).Pb(a.id).setTitle(a.title);b=_.w(b,3,_.TK(a.createdDate));return _.w(b,4,_.TK(a.modifiedDate)).Kd(oJc[a.state])},pJc=function(a,b,c){var d=c.item||[];return _.Tnc(_.Snc(new _.$K,d.map(function(e){return rIc(a,b,e)})),c.suggestionSessionId)},rJc=function(a,b,c){var d=c.item||[];return Luc(Kuc(new JL,
d.map(function(e){return qJc(a,b,e)})),c.suggestionSessionId)},qJc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return Iuc(Guc(Huc(Fuc(new IL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return rIc(a,b,f)})),VM(c))},sJc=function(a){var b=new _.ntc;a.kind&&(a=mJc(a),_.I(b,2,a));b.Dc(1);return b},oJc={active:1,archived:2};
var zpc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var tJc=function(a,b,c,d){_.nnc.call(this,b);this.Kg=a;this.ka=c;this.O=d;this.W=null;this.ma=new fHc(this.V,b);this.H=new gJc(this.qF);this.ta=new pIc(this.qF,this.H)};_.K(tJc,_.nnc);var uJc=function(a){a.W||(a.W=new KIc(a.V,a.ka));return a.W};
tJc.prototype.ha=function(a,b){if(a instanceof _.dJ)var c=_.Wmc(_.rnc(a));else{if(a instanceof _.eJ)var d=_.VK(this,a,b);else{if(a instanceof _.zhc)var e=vJc(this,a.request,b);else{if(a instanceof _.fJ)var f=_.VK(this,a,b);else{if(a instanceof _.hJ){if(!b.json)throw _.WK();var h=tuc((new suc).Dc(1),hJc(this.H,b.json))}else{if(a instanceof _.gJ)var k=_.VK(this,a,b);else{if(a instanceof _.yK)var l=new juc;else{if(a instanceof _.jJ)var p=wJc(a,b);else{if(a instanceof _.kJ)var q=hIc(void 0,a.Bh());else{if(a instanceof
_.lJ)var r=new hDc;else{if(a instanceof _.mJ)var v=_.Wmc(_.rnc(a));else{if(a instanceof _.nJ)var z=new BM;else{if(a instanceof _.oJ)var A=_.Wmc(_.rnc(a));else{if(a instanceof _.pJ)var D=_.Wmc(_.rnc(a));else{if(a instanceof _.KD){var F=new gCc,H=a.getKey();var L=_.I(F,4,H)}else{if(a instanceof _.qJ)var O=wJc(a,b);else{if(a instanceof _.tJ)var R=_.Wmc(_.rnc(a));else{if(a instanceof _.whc){if(!b.json)throw _.WK();var X=new KDc(b.json.exportJob.id)}else{if(a instanceof _.vJ){if(!b.json)throw _.WK();var la=
b.json,ha=new bCc,ta=gIc(la);var ea=_.I(ha,2,ta).Dc(1)}else{if(a instanceof _.wJ)var Ua=xJc(a,b);else{if(a instanceof _.xJ){if(!b.json)throw _.WK();var Ja=(new BM).Dc(1),nb=_.Zmc(this.qF,b.json);var $a=_.I(Ja,2,nb)}else{if(a instanceof _.GI)a:{if(!b.json)throw _.WK();if(a instanceof _.GI){var yb=a.qd();if(yb&&_.yJ(yb)){for(var Zb=this.O,Gc=this.Kg,ke=b.json,Rd=[],Gd=_.m(ke.item||[]),sf=Gd.next();!sf.done;sf=Gd.next()){var pd=sf.value;if(pd.driveItem){var Bb=new _.Vna,le=_.w(Bb,2,tIc(pd));_.S(yb,74,
!1)?_.w(le,4,!0):_.w(le,3,!0);var lg=rIc(Zb,Gc,pd);var Ee=_.I(lg,100,le);Rd.push(Ee)}}var ei=(new _.rB).Uw(Rd).sP(ke.suggestionSessionId);var $e=_.slc(new _.MK,ei);break a}if(yb&&_.zJ(yb)){$e=uIc(this.O,this.Kg,b.json);break a}if(yb&&_.AJ(yb)){$e=wIc(this.O,this.Kg,b.json);break a}}$e=_.Tmc(this.qF,b.json,b.headers)}else{if(a instanceof _.BJ){if(!b.json)throw _.WK();var Ai=oIc(b.json)}else{if(a instanceof _.CJ){if(!b.json)throw _.WK();var ah=b.json;_.SK(["drive#appList"],ah);for(var pm=new VL,gf=
[],ve=ah.items||[],Tf=0;Tf<ve.length;Tf++)gf.push(gIc(ve[Tf]));var qi=_.Mj(pm,2,gf);var Wj=_.Kj(qi,4,ah.defaultAppIds).Dc(1)}else{if(a instanceof _.xhc){if(!b.json)throw _.WK();var qm=mIc(b.json)}else{if(a instanceof _.SI)var Fo=yJc(this,b);else{if(a instanceof _.DJ){if(!b.json)throw _.WK();var rm=new eCc,Fh=Tsc(this.qF,b.json);var Pl=_.I(rm,1,Fh);var Gj=_.w(Pl,2,gAc(b.json))}else{if(a instanceof _.EJ){if(!b.json)throw _.WK();var Tg=this.qF,kj=b.json,Hj=new Qsc;_.SK(["drive#revisionList"],kj);for(var Xj=
[],Ph=kj.items||[],Zi=0;Zi<Ph.length;Zi++){var Ij=_.Umc(Tg,Ph[Zi]);Xj.push(Ij)}var $i=_.Mj(Hj,2,Xj)}else{if(a instanceof _.FJ)var Yj=_.VK(this,a,b);else{if(a instanceof _.jI)var Qh=zJc(a,b);else{if(a instanceof _.HJ){if(!b.json)throw _.WK();var sm=fJc(b.json)}else{if(a instanceof _.Fhc){if(!b.json)throw _.WK();var lj=OIc(uJc(this),b.json)}else{if(a instanceof _.oG){if(!b.json)throw _.WK();var ok=uJc(this),Ql=b.json,pk=new oCc,nn=NIc(ok,Ql);var Ok=_.I(pk,2,nn).Dc(1)}else{if(a instanceof _.IJ){if(!b.json)throw _.WK();
var qk=b.json;_.SK(["drive#remainingCount"],qk);var tf=new pCc,Jj=qk.nextPageToken;null!=Jj&&_.w(tf,2,Number(Jj));_.w(tf,1,Number(qk.remainingCount));var Rl=tf}else{if(a instanceof _.qG){if(!b.json)throw _.WK();var Pk=(new _.rB).Uw([hJc(this.H,b.json)])}else{if(a instanceof _.VJ){if(!b.json)throw _.WK();var Sl=(new _.rB).Uw(iJc(this.H,b.json)),pc=_.slc(new _.MK,Sl);var mj=_.w(pc,3,gAc(b.json))}else{if(a instanceof _.MJ)var Gh=xJc(a,b);else{if(a instanceof _.NJ)var rk=vJc(this,a,b);else{if(a instanceof
_.QI)var Rh=_.VK(this,a,b);else{if(a instanceof _.OJ)var fi=_.VK(this,a,b);else{if(a instanceof _.PJ)var bg=AJc(this,b);else{if(a instanceof _.LD){if(!b.json)throw _.WK();var sk=lJc(b.json),xp=new gCc;var Hh=_.I(xp,3,sk);var Ih=sk.getKey();var on=_.I(Hh,4,Ih)}else{if(a instanceof _.QJ)var nj=wJc(a,b);else{if(a instanceof _.BI){if(!b.json)throw _.WK();var pn=jHc(this.ma,b.json)}else{if(a instanceof _.sG){if(!b.json)throw _.WK();var Tl=mJc(b.json),tk=new _.DK;tk.HT().set(Tl.getId(),Tl);var tm=tk}else{if(a instanceof
_.yhc){if(!b.json)throw _.WK();for(var Go=b.json,Pn=new mDc,nq=_.m(Object.entries(Go)),$l=nq.next();!$l.done;$l=nq.next()){var am=_.m($l.value),Ck=am.next().value,Vo=am.next().value;switch(Ck){case "nextPageToken":_.bk(Pn,2,Vo);break;case "activities":var Gq=OHc(Vo);_.Mj(Pn,1,Gq)}}var Hq=Pn}else{if(a instanceof _.Ahc)var Iq=AJc(this,b);else{if("undefined"!=typeof _.Ehc&&a instanceof _.Ehc)var Cv=yJc(this,b);else{if(a instanceof _.Bhc){if(!b.json)throw _.WK();var Cr=new JDc}else{if(a instanceof _.Chc){if(!b.json)throw _.WK();
var bu=Cpc(b)}else{if(a instanceof _.JD){if(!b.json)throw _.WK();var bB=b.json,cB=new _.bA;_.SK(["drive#settingList"],bB);for(var Cy=[],Ns=bB.items||[],Jp=0;Jp<Ns.length;Jp++){var Jq=lJc(Ns[Jp]);Jq&&Cy.push(Jq)}var dB=_.blb(cB,Cy)}else{if(a instanceof _.dA){if(!b.json)throw _.WK();var BD=rJc(this.O,this.Kg,b.json).Dc(1)}else{if(a instanceof _.pG){if(!b.json)throw _.WK();var bx=pJc(this.O,this.Kg,b.json)}else{if(a instanceof _.Khc){if(!b.json)throw _.WK();var cx=b.json;_.SK(["drive#teamDrive"],cx);
var dx=cx.recursiveFolderCount,Dy=cx.recursiveFileCount,Ey=new UBc;var Dv=_.w(Ey,1,Dy);var Os=_.w(Dv,2,dx)}else{if(a instanceof _.Jhc)var Vk=BJc(b);else{if(a instanceof _.Mhc){if(!b.json)throw _.WK();var Dr=nJc(b.json)}else Dr=a instanceof _.hL?AJc(this,b):null;Vk=Dr}Os=Vk}bx=Os}BD=bx}dB=BD}bu=dB}Cr=bu}Cv=Cr}Iq=Cv}Hq=Iq}tm=Hq}pn=tm}nj=pn}on=nj}bg=on}fi=bg}Rh=fi}rk=Rh}Gh=rk}mj=Gh}Pk=mj}Rl=Pk}Ok=Rl}lj=Ok}sm=lj}Qh=sm}Yj=Qh}$i=Yj}Gj=$i}Fo=Gj}qm=Fo}Wj=qm}Ai=Wj}$e=Ai}$a=$e}Ua=$a}ea=Ua}X=ea}R=X}O=R}L=O}D=
L}A=D}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var wJc=function(a,b){if(!b.json){if(a instanceof _.qJ)return sJc({});throw _.WK();}return sJc(b.json)},AJc=function(a,b){if(!b.json)throw _.WK();a=hJc(a.H,b.json);return(new _.XJ).Dc(1).setItem(a)},vJc=function(a,b,c){if(!c.json)throw _.WK();return MIc(uJc(a),b,c.json)},xJc=function(a,b){if(!b.json)throw _.WK();return hIc(b.json,a.Bh())},yJc=function(a,b){if(!b.json)throw _.WK();a=a.ta;var c=b.json;_.SK(["drive#about","drive#changeList"],c);b=new qwc;var d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));if("drive#changeList"==c.kind){_.SK(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.SK(["drive#change"],h);var k=new _.JI;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.Pgc(k,h.teamDriveId),_.KI(k,h.teamDriveId)):_.KI(k,h.fileId);h.file?k.setItem(_.Rmc(f.H,h.file)):h.teamDrive&&k.setItem(hJc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.UI(k);d.push(k)}_.Mj(b,4,d)}return b},BJc=function(a){var b,c;if(!a.json)throw _.WK();
a=a.json;var d=a.result&&a.result.status;d=d&&CJc[d];var e=null!==(c=a.result&&(null===(b=a.result.sourceResults)||void 0===b?void 0:b.map(function(f){var h,k;return GCc(FCc(ECc(new _.DCc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.BCc;p=_.w(p,1,l.unmovableReason);return _.w(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return ACc(zCc(yCc(xCc(new DM,gAc(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},zJc=function(a,b){var c=new jDc;if(_.Td(a,6).length){var d=[];Boc(_.Td(a,6),b.headers).forEach(function(e,f){var h=new _.cec;e=_.w(h,1,f).Jb(e);d.push(e)});_.Mj(c,1,d)}kDc(c,b.json?JSON.stringify(b.json):b.text);return c},CJc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var EJc=function(a){var b=new _.Wo;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(DJc[a]);_.vK(b,c.join(" "))}return b.toString()},FJc={},DJc=(FJc[1]="active",FJc[2]="archived",FJc);
var GJc=function(a,b,c,d){_.XK.call(this,b,c,a.cMa,d);this.ma=a;this.ha=new Dvc(_.tK(c),b)};_.K(GJc,_.XK);
GJc.prototype.V=function(a,b,c){var d=this,e,f;try{return _.XK.prototype.V.call(this,a,b,c)}catch(X){}var h=0,k={},l="GET",p={},q=!1,r=!1;if(a instanceof _.eJ){l="POST";var v="admin/files/"+a.getId()+"/migrateToTeamDrive";_.Q(a,3)&&(p.useDomainAdminAccess=!0);p.fields="kind,id,parentId,teamDriveId";p.fileId=a.getId();_.P(a,4)&&(p.preFlightValidationToken=_.y(a,4));var z=hAc(a);k["content-type"]="application/json";q=r=!0;_.bK(this.H,[],[a.getId(),a.wk()],this.O,k)}else if(a instanceof _.fJ){l="POST";
v="files/"+a.Cc()+"/authorize";p.appId=a.Bh();_.Q(a,3)&&(p.propagate=!0);var A=a.ve();r=!0;_.sK(p);_.bK(this.H,[],[a.Cc()],this.O,k)}else if(a instanceof _.hL)v="drives/"+a.getId(),l="PUT",z={},z=(z.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),z),k["content-type"]="application/json",p.fields=OL(this.H,[],!0),A=a.ve(),r=!0;else if(a instanceof _.Ahc)l="POST",v="teamdrives/"+a.requestId,p.fields=OL(this.H),z={},z=(z.name=a.request.getTitle(),z),k["content-type"]="application/json",A=a.request.ve(),
r=!0;else if(a instanceof _.jJ)l="POST",v="workspaces",p.fields="kind,id,title,createdDate,modifiedDate,state",z=kAc(a),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.gJ)l="POST",v="files/"+a.getId()+"/copy",p.fields=_.nhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)}),p.convert=_.S(a,4,!1),z=jAc(a),k["content-type"]="application/json",A=a.ve(),a=_.Td(a,3).concat([a.getId()]),_.bK(this.H,[],a,this.O,k),r=!0,_.sK(p),_.Dnc(this.H,p);else if(a instanceof _.kJ)l=
"DELETE",v="apps/"+a.Bh(),p.appId=a.Bh(),p.deleteAppData=!!_.Q(a,2),A=a.ve(),r=!0;else if(a instanceof _.lJ)l="DELETE",v="backups/"+a.getId(),h=9;else if(a instanceof _.mJ)l="DELETE",v="files/"+a.getId(),A=a.ve(),r=!0,_.sK(p),_.Dnc(this.H,p),_.bK(this.H,[],[a.getId()],this.O,k);else if(a instanceof _.nJ)l="DELETE",v="files/"+a.Cc()+"/permissions/"+_.y(a,2),A=a.ve(),r=!0,_.sK(p);else if(a instanceof _.oJ)l="DELETE",v="files/"+a.Cc()+"/revisions/"+_.y(a,2),A=a.ve(),r=!0,_.bK(this.H,[],[a.Cc()],this.O,
k);else if(a instanceof _.pJ)l="DELETE",v="teamdrives/"+a.getId(),A=a.ve(),r=!0;else if(a instanceof _.KD)l="DELETE",A=a.getKey(),v="settings/"+_.y(A,2),_.op(A)&&(p.namespace=Dpc[_.op(A)]),A=a.ve(),r=!0;else if(a instanceof _.qJ)l="DELETE",v="workspaces/"+a.getId(),A=a.ve(),r=!0;else if(a instanceof _.tJ)l="DELETE",v="files/trash",A=a.qd().ve(),r=!0,_.Dnc(this.H,p);else if(a instanceof _.vJ)v="apps/"+a.Bh(),A=a.ve(),r=!0,p.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(a instanceof _.BJ)v="backups/"+a.getId()+"/items",h=9,p.languageCode=nL(_.AI(this.H));else if(a instanceof _.wJ)l="POST",v="apps",p.appId=a.Bh(),A=a.ve(),r=!0;else if(a instanceof _.xJ)l="POST",v="files/"+a.Cc()+"/permissions",p.fields=_.FI(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",p.emailMessage=
_.y(a,5)||"",p.sendNotificationEmail=!_.S(a,6,!1),z={},1==a.zf()?z.role="owner":3==a.zf()?z.role="writer":4==a.zf()?(z.role="reader",z.additionalRoles=["commenter"]):2==a.zf()&&(z.role="reader"),1==a.getType()?z.type="user":2==a.getType()?z.type="group":3==a.getType()?z.type="domain":4==a.getType()?z.type="anyone":5==a.getType()&&(z.type="audience"),a.Za()&&(z.value=a.Za()),z.withLink=!_.S(a,8,!1),k["content-type"]="application/json",A=a.ve(),r=!0,_.sK(p);else if(a instanceof _.whc)h=8,l="POST",v=
"/v1/exports",k["content-type"]="application/json",z=_.Td(a,1).map(function(X){if(_.S(d.H,89,!1)){var la=_.dlc(d.O,X);if(null!==la)return{id:X,resource_key:{resource_key:la}}}return{id:X}}),z={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:z,locale:null};else if(a instanceof _.GI||a instanceof _.yK||a instanceof _.dA||a instanceof _.pG)if(b=a instanceof _.GI?a.qd():a,_.ZJ(b)){h=10;l="POST";v="/v1/items";k["content-type"]="application/json";z={};var D=9==_.mK(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",F={};F.applicationType=Lvc(this.H);F.platformType=D;F.languageCode=nL(_.AI(this.H));F.timeZone=(new _.Kt).f$();F.requestType="LIVE_REQUEST";a instanceof _.GI&&(D=a.getOptions())&&_.S(D,10,!1)&&(F.requestType="BACKGROUND_REQUEST");if(b instanceof _.hf)if(_.yJ(b)){if(Ivc(this.ha)){F.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.B(b,rrc,75))||void 0===e?void 0:_.B(e,src,1))||void 0===f?void 0:_.y(f,1))F.clientTags=F.clientTags||[],F.clientTags.push({name:a});this.Od.O(106026)}else _.S(b,
74,!1)?F.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":F.scenarioType="QUICK_ACCESS";2==_.kK(b)&&(Ivc(this.ha)||(F.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),z.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Td(b,33)[0]});_.Fl(b).length&&(z.itemType=Kvc(b))}else _.zJ(b)?F.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.AJ(b)&&(F.scenarioType="DRIVE_PRIORITY");else b instanceof _.yK?(v="/v1/userfeedback",z.userFeedback=_.Qj(b,_.guc,1).map(function(X){var la=_.B(X,_.FL,2),ha={},ta={};ta.feedbackType=
uuc[la.getType()];ha.item=ta;ha.clientInfo=F;switch(X.getFeature()){case 1:F.scenarioType="DRIVE_PRIORITY";ta.itemId=la.Cc();break;case 3:F.scenarioType="QUICK_ACCESS";ta.itemId=la.Cc();break;case 4:F.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";ta.itemId=la.Cc();break;case 2:F.scenarioType="DRIVE_WORKSPACES",ta.itemId=la.Cc(),ta.childItem=_.Qj(la,_.FL,3).map(function(ea){var Ua={};Ua.itemId=ea.Cc();return Ua})}return ha})):b instanceof _.dA?F.scenarioType="DRIVE_WORKSPACES":b instanceof _.pG?(F.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",z.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Jp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.Q(b,5)}]):_.Gnc(a);b instanceof _.yK||(z.maxSuggestions=b.Ei(),z.clientInfo=F)}else{A=b.ve();r=!0;v="files";p.q=_.gkc(b);D=[];var H;(H=_.PI(this.H))&&_.S(H,4,!1)?(H=_.wa(this.Lg(c),this.Lg(c,b.O())),_.Da(H)):H=_.xa(this.Lg(c));var L=void 0,O=!1;0<_.Qj(b,_.Al,5).length&&(L=_.y(this.H.eg(),50),O=!0);p.fields=eoc({fields:H,
xq:_.ZI(_.AI(this.H)),a7:L||void 0,KE:_.FI(this.H),cAb:O});p.appDataFilter="NO_APP_DATA";0<_.Qj(b,_.jK,25).length&&(p.sources=_.Zjc(b));0<b.zB().length&&(p.spaces=_.$jc(b));a.Xn()&&(p.pageToken=a.Xn());(a=a.getOptions())&&_.Vj(a,1,1E3)&&(p.maxResults=_.Vj(a,1,1E3));_.S(b,36,!1)&&(p.includeUnsubscribed=!0);_.y(b,43)&&(p.rawUserQuery=_.y(b,43));_.sK(p);p.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Td(b,33).length&&2==_.kK(b)&&(a=_.Td(b,33)[0],p.teamDriveId=a,D.push(a));p.corpora=_.Kjc[_.kK(b)];_.Q(b,
18)&&(_.Va(p,"corpora"),p.corpus="DOMAIN");a=_.Gl(b);H=_.Qj(b,_.vl,35);L=_.Qj(b,_.vl,38);D=D.concat(a.filter(function(X){return!_.S(X,2,!1)}).map(function(X){return X.Za()})).concat(H.map(function(X){return X.Za()})).concat(L.map(function(X){return X.Za()}));_.bK(this.H,_.Qj(b,_.Cl,63),D,this.O,k);Doc(p,b.wc());_.Enc(this.H,p);_.Fnc(this.H,p);_.B(b,_.Cea,64)&&(a=trc(_.B(b,_.Cea,64)),a=_.mb(a,4),p.searchSessionData=a)}else if(a instanceof _.CJ){v="apps";switch(a.getType()){case 1:p.fields=HJc;break;
case 2:p.fields=IJc;break;case 4:p.fields=JJc;break;case 3:h=5,v="apps",p.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",p.appQueryScope="all_webstore",b.ru=!0}p.languageCode=nL(_.AI(this.H));0<_.Td(a,3).length&&(p.appFilterExtensions=_.Td(a,3).join(","));0<_.Td(a,4).length&&(p.appFilterMimeTypes=_.Td(a,4).join(","));A=a.ve();r=!0}else if(a instanceof
_.xhc)v="backups",h=9,p.languageCode=nL(_.AI(this.H));else if(a instanceof _.SI)v="changes",p.includeDeleted=_.S(a,3,!0),p.includeSubscribed=_.S(a,4,!0),p.maxResults=a.RQ(),p.startChangeId=_.y(a,1),p.fields=doc({fields:this.Lg(c),a7:OL(this.H,_.Td(a,5)),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)}),p.appDataFilter="NO_APP_DATA",a.yc()||(p.filters="DRIVE_DATASERVICE"),A=_.Td(this.H.eg(),31),A.length&&(p.spaces=_.ef(A,function(X){return _.fec[X]}).join(",")),_.sK(p),p.includeCorpusRemovals=!0,p.includeItemsFromAllDrives=
!0,a.yc()&&(p.teamDriveId=a.yc()),A=a.ve(),r=!0;else if(a instanceof _.DJ)b=a.qd(),v="files/"+b.getId()+"/permissions",p.fields=_.FI(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.Xn()&&(p.pageToken=a.Xn()),_.y(a,1)&&(p.maxResults=_.y(a,1)),A=b.ve(),r=!0,_.sK(p),
_.Enc(this.H,p),_.Fnc(this.H,p),_.bK(this.H,[],[b.getId()],this.O,k);else if(a instanceof _.EJ)p.fields=_.FI(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))",p.maxResults=a.Ei(),v="files/"+a.Cc()+"/revisions",A=a.ve(),r=!0,
_.bK(this.H,[],[a.Cc()],this.O,k);else if(a instanceof _.FJ)l="POST",v="files/"+(_.y(a,1)||"")+"/migrateToDrive",_.Q(a,3)&&(p.useDomainAdminAccess=!0),p.fields=_.nhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)}),p.fileId=_.y(a,1),_.P(a,4)&&(p.preFlightValidationToken=_.y(a,4)),z=iAc(a),k["content-type"]="application/json",q=r=!0,_.bK(this.H,[],[_.y(a,1)||"",_.y(a,2)||""],this.O,k);else if(a instanceof _.qG)v="teamdrives/"+a.jn()[0],p.fields=OL(this.H,a.O()),A=a.ve(),r=!0;else if(a instanceof
_.Jhc)l="POST",v="admin/files/migrateToTeamDrivePreFlight",_.Q(a.request,3)&&(p.useDomainAdminAccess=!0),z=lAc(a),k["content-type"]="application/json",r=q=!0,_.bK(this.H,[],_.Td(a.request,1),this.O,k);else if(a instanceof _.VJ)A=a.qd(),v="teamdrives",p.fields=cvc(this.H,A.O()),p.q=uvc(A),a.Xn()&&(p.pageToken=a.Xn()),(A=(A=a.getOptions())&&_.Vj(A,1,1E3))&&(p.maxResults=A),A=a.qd().ve(),r=!0;else if(a instanceof _.Khc)v="teamdrives/"+a.yc(),p.fields="kind,id,recursiveFileCount,recursiveFolderCount",
r=q=!0;else if(a instanceof _.MJ)l="PUT",v="apps/"+a.Bh(),p.appId=a.Bh(),z={},z.useByDefault=_.Q(a,2),_.Q(a,3)&&(z.hasAppData=!1),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.QI)l="PUT",v="files/"+a.getId(),p.fields=_.nhc({fields:this.Lg(c),xq:_.ZI(_.AI(this.H)),KE:_.FI(this.H)}),p.modifiedDateBehavior="DRIVE_UI",p.updateViewedDate=!!_.Q(a,15),p.fileId=a.getId(),_.Td(a,9).length&&(p.addParents=_.Td(a,9).join(",")),_.Td(a,10).length&&(p.removeParents=_.Td(a,10).join(",")),
_.Td(a,31).length&&(p.addWorkspaces=_.Td(a,31).join(",")),_.Td(a,32).length&&(p.removeWorkspaces=_.Td(a,32).join(",")),null!=_.Q(a,24)&&(p.confirmed=_.Q(a,24)),p.languageCode=nL(_.AI(this.H)),z=mAc(a),k["content-type"]="application/json",A=a.ve(),r=!0,_.sK(p),this.W(a.getId(),p),_.Q(a,36)?p.bypassMultiparentingCheck=!0:_.Dnc(this.H,p),b=_.Td(a,9).concat(_.Td(a,10)),b.push(a.getId()),_.bK(this.H,_.Qj(a,_.Cl,38),b,this.O,k);else if(a instanceof _.OJ)l="PUT",v="files/"+a.Cc()+"/revisions/"+_.y(a,2),
z=nAc(a),k["content-type"]="application/json",A=a.ve(),_.bK(this.H,[],[a.Cc()],this.O,k);else if(a instanceof _.PJ)v="teamdrives/"+a.getId(),null!=_.Q(a,15)?(l="POST",v+="/"+(_.Q(a,15)?"hide":"unhide")):(l="PUT",z=oAc(a),k["content-type"]="application/json"),p.fields=OL(this.H),A=a.ve(),r=!0;else if(a instanceof _.QJ)l="PUT",v="workspaces/"+a.getId(),p.fields="kind,id,title,createdDate,modifiedDate,state",z=pAc(a),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.LD)l="PUT",
z=_.B(a,_.np,1),A=z.getKey(),v="settings/"+_.y(A,2),(A=_.op(A))&&(p.namespace=Dpc[A]),z=Epc(z),k["content-type"]="application/json",A=a.ve(),r=!0;else if(a instanceof _.BI)v="about",p.fields=_.FI(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),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",p.fields=Hpc(p.fields,this.H),p.fields=Ipc(p.fields,this.H),A=a.ve(),r=!0;else if(a instanceof _.jI){h=11;l=a.Wz();v=a.getUrl();var R=_.y(a,5)||"";_.Qj(a,_.cec,2).forEach(function(X){k[X.getKey()]=
X.Za()});_.Qj(a,_.cec,4).forEach(function(X){p[X.getKey()]=X.Za()});_.Q(a,7)&&(b.MJb=!0);_.Q(a,8)&&(b.ru=!0);_.Q(a,9)&&(b.wEa=!0)}else a instanceof _.zhc?(b=a.request.Cc(),v="files/"+b+"/listCategoryMetadata",A=a.request.ve(),a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),p.fields="kind,nextPageToken,categoryMetadata",_.bK(this.H,[],[b],this.O,k)):a instanceof _.NJ?(k["content-type"]="application/json",l="POST",b=a.Cc(),v="files/"+b+"/updateCategoryMetadata",
A=a.ve(),z={categoryMetadata:a.zV().map(function(X){var la=_.Qj(X,_.mG,2).map(function(ta){return{id:ta.getId(),userId:ta.ts(),setBooleanValue:_.Q(ta,3),setTextValue:_.y(ta,4),setTextValues:_.Td(ta,6),addTextValues:_.Td(ta,5),setLongTextValue:_.y(ta,7),setSelectionValue:_.y(ta,8),setSelectionValues:_.Td(ta,10),addSelectionValues:_.Td(ta,9),setIntegerValue:_.y(ta,11),setIntegerValues:_.Td(ta,13),addIntegerValues:_.Td(ta,12),setUserValue:_.y(ta,14),setUserValues:_.Td(ta,16),addUserValues:_.Td(ta,15),
setDateStringValue:_.y(ta,17)}}),ha={categoryName:X.Lm()};la.length?ha.categoryAttributeValueDeltas=la:_.Td(X,4).length?ha.revertAttributeIds=_.Td(X,4):_.Q(X,3)&&(ha.removeCategory=_.Q(X,3));return ha})},_.bK(this.H,[],[b],this.O,k)):a instanceof _.HJ?(h=13,v=_.ZI(_.AI(this.H))?"/v2/people/public":"/v2/people",p.person_id=a.jn(),p["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],p["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],
p["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.ZI(_.AI(this.H))||(p["core_id_params.enable_private_names"]=!0)):a instanceof _.Fhc?(h=12,v="/v1/categories/-/published",k["content-type"]="application/json",a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),a.request.getCustomer()&&(p.customer=a.request.getCustomer()),p.$outputDefaults=!0,p.languageCode=nL(_.AI(this.H))):a instanceof _.oG?(h=12,v="/v1/"+a.getName(),k["content-type"]=
"application/json",p.$outputDefaults=!0,p.languageCode=nL(_.AI(this.H))):a instanceof _.hJ?(k["content-type"]="application/json",l="POST",v="drives/"+a.yc()+"/changeCategoryReferences",A=a.ve(),r=!0,p.fields=OL(this.H,[157],!0),z={},b=_.Qj(a,_.dl,2),b.length&&(z.addCategoryReferences=b.map(function(X){return{category:X.Lm()}})),a=_.Qj(a,_.dl,3),a.length&&(z.removeCategoryReferences=a.map(function(X){return X.Lm()}))):a instanceof _.sG?(v="workspaces/"+a.jn()[0],p.fields="kind,id,title,createdDate,modifiedDate,state",
A=a.ve(),r=!0):a instanceof _.yhc?(h=7,l="POST",v="/v2/activity:query",k["content-type"]="application/json",z={},z.pageSize=a.pageSize,a.pageToken&&(z.pageToken=a.pageToken),b="items/"+a.request.getId(),_.S(a.request,2,!1)?z.ancestorName=b:z.itemName=b,z.consolidationStrategy={legacy:{}},(a=_.PI(this.H))&&_.S(a,13,!1)&&(z.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.Bhc?(h=8,l="POST",v="/v1/exports/"+a.H+":cancel"):
a instanceof _.Chc?(h=8,v="/v1/exports/"+a.H):"undefined"!=typeof _.Ehc&&a instanceof _.Ehc?(v="changes",p.fields="kind,largestChangeId",_.sK(p),p.includeItemsFromAllDrives=!0,a.teamDriveId&&(p.teamDriveId=a.teamDriveId),A=a.H,r=!0):a instanceof _.JD?(v="settings",A=_.Td(a,3),p.namespace=Fpc(A),A=a.ve(),r=!0):a instanceof _.Mhc?(v="workspaces",p.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(p.pageToken=a.pageToken),a.request.Ei()&&(p.maxResults=a.request.Ei()),
p.q=EJc(a.request),(A=a.request.Dw())&&1==A.getType()&&(p.orderBy="title"),A=a.request.ve(),r=!0):a instanceof _.IJ?(v="changes/getRemainingCount",p.pageToken=_.y(a,2),_.P(a,3)&&(p.supportsTeamDrives=!0,p.includeItemsFromAllDrives=!0,p.teamDriveId=a.yc()),A=a.ve()):a instanceof _.dJ?(k["content-type"]="application/json",l="POST",v="files/"+a.Cc()+"/sendAccessRequest",z={},q=!0):_.Gnc(a);r&&_.Hnc(c,p);0!=h||q||A&&_.y(A,1)||_.JK(this.Od,74438989);return _.Inc(this,h,v,p,k,l,A,z,R)};
GJc.prototype.W=function(a,b){a=this.ma.rm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var HJc=Gpc("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"),IJc=
Gpc("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"),
JJc=Gpc("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 KJc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,D,F,H,L,O,R,X,la){this.hoa=_.Zh();this.dfa=new _.Tkc;var ha=new _.ulc(this.cK.bind(this),function(){return R("w8KrJc")}),ta=new dHc(b.rm),ea=new VGc(ha);c=new NGc(b,f,new IGc(d,e,c),h,this.hoa.promise,k,l,c,R);d=new cHc(b,p,q,r,v,d,e,D,k);this.O=new _.Wkc(a,z);z=new GJc(b,a,k,X);this.ksa=new tJc(k,a,A,D);this.H=fAc(a,new _.Imc(this.O,this.dfa,z,this.ksa,F,H,L),H,A,O,b.rm,this.dfa,this.hoa.promise,L||void 0);this.hoa.resolve(la?la:new _.gmc(new eHc,ta,
ea,this.H,ha,c,d,a))};KJc.prototype.cK=function(){return _.Oa(this.H,function(a){return a.cK()})};var PDc=function(a){var b=new Map,c=Date.now();_.La(a.H,function(d,e){d=Ssc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var LJc=function(a,b){var c=this;this.context=a;this.Kg=b;this.ha=null;this.yR=0;this.ka=this.active=!1;this.H=this.ta=null;this.V={};this.Fa=this.Ba=!1;this.Od=a.vk();this.W=_.Zh();this.O=a.Mc;this.Ha=_.PI(this.O)||new _.ygc;b=_.oL(this.O);this.va=new _.blc(_.Vj(b,2,37500),_.Vj(b,3,6E5));this.ma=a.uQ;_.La(Xvc,function(d){c.V[d]=[]});ZL(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});ZL(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});ZL(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.lL().Gg(_.Of)})};_.g=LJc.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,OM(this.context).addCallback(function(b){a.ma.initialize().jg(function(){a.ha=b;a.setActive(!0)},function(c){c&&xsc(a.context.Rf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.aJ(c));a.log("Error initializing dump storage");a.hS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Vma=function(a){this.active&&(this.yR+=a,this.yR>_.Vj(_.oL(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.aR().cK()||0<b.wf.uI.Ana||b.Jj().Ue()||b.tk().Ue())||((this.active=a)?(this.W.resolve(),this.H||this.lL().Gg(_.Of)):(this.W=_.Zh(),_.n.clearTimeout(this.ta)))}};_.g.hS=function(){this.ka=!0};_.g.oWa=function(){return this.H?this.H.promise:_.Wh()};
_.g.lL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.Zh();_.$h(this.H.promise,function(){a.H=null});var b=this.Od.H(106021)||void 0;this.W.promise.then(function(){return $zc(a.context.yD)}).then(function(c){var d=!c;return a.ka?d:_.Yh([MJc(a,3,d,void 0,void 0,b),MJc(a,0,d,void 0,!0,b),MJc(a,1,d,void 0,!0,b),MJc(a,5,d,void 0,!0,b),MJc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.qc("Failed to update dump",void 0,_.aJ(e));return _.Xh(e)})},function(){return _.Xh(Error("sg"))}).then(function(c){a.H.resolve(c);
b&&(c=Esc(b),_.w(c,2,!0),b.yj())},function(c){a.H.reject(c);b&&(c=Esc(b),_.w(c,2,!1),b.yj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.ai,e=this.Od.H(106021)||void 0;e&&(jsc(Esc(e),_.AK(_.sgc,a)),d.then(function(){var f=Esc(e);_.w(f,2,!0);e.yj()},function(){var f=Esc(e);_.w(f,2,!1);e.yj()}));this.W.promise.then(function(){return $zc(c.context.yD)}).then(function(f){f=!f;c.ka?d.callback():_.di(MJc(c,a,f,b,void 0,e),d)});return d};
var MJc=function(a,b,c,d,e,f){var h=_.ia(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.If.Ym();var k=new _.ai;_.ci(h.If,function(){_.di(a.Lu(b,c,d,e,f),k)})}else k=a.Lu(b,c,d,e,f);var l={encrypt:c,If:k};a.V[b].push(l);_.ci(k,function(){_.va(a.V[b],function(p){return l===p})});k.Pg(function(p){a.ma.O.Sf()?a.hS():p instanceof _.qc&&(p=p.O||null,p instanceof _.wI&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.hS());return null});
return k};
LJc.prototype.Lu=function(a,b,c,d,e){var f=this,h=new _.ai;this.W.promise.then(function(){if(3===a)_.di(NJc(f,c||!1,b,e),h);else{switch(a){case 0:var k=ZDc(f.context.TP);break;case 1:k=f.context.GZ.yr();break;case 5:k=OJc(f.context.jE);break;case 6:k=Jxc(f.context.wf.sq);break;default:h.Id("Invalid data type to write to storage.");return}if(k){var l=_.Qj(_.oL(f.O),mL,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):Xyc(f.ma,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Id(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Id("Failed to get data to write to dump.")}});return h};
var NJc=function(a,b,c,d){_.n.clearTimeout(a.ta);a.ta=_.n.setTimeout((0,_.M)(a.Ka,a),a.va.Za());if(b&&0===a.yR)return _.hi();a.yR=0;var e=_.Qj(_.oL(a.O),mL,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),_.hi();var f=[];_.La(Wuc,function(k){0<k&&(k=PJc(a,k),k.length&&f.push(Xyc(a.ma,c?e:null,k,d)))});var h=new _.ai;Promise.all(f).then(function(){a.Fa&&a.context.yD.set(Yzc,!0);h.callback()},function(k){return void h.Id(k)});return h};
LJc.prototype.Ka=function(){_.cI(this.va);this.update(3,!0)};
var PJc=function(a,b){switch(b){case 1:return[QJc(a)];case 2:var c;b=null===(c=_.PI(a.context.Mc))||void 0===c?void 0:_.S(c,17,!1);c=a.context.wf.mr;var d=c.H;c=(b=!b||d&&d.WG?d:c.O)?b.ly():[];c=RJc(a,_.Qa(ipc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Vj(_.oL(a.O),5,2E4)&&(b&&aM(b,!1),c=[]);c=Quc(new LL,SJc(c));d=a.context.wf.mr;a=new qpc;(d=d.H)&&d.WG&&(d=d.ly(),_.w(a,3,d.length));a=_.I(c,11,a);a=Vuc(a,2);b&&Tuc(a,b.FN());b instanceof dM&&(b=Pwc(b),_.Kj(a,14,b));return[a];
case 3:return TJc(a);case 4:return UJc(a);default:throw new _.qc("Unsupported CacheType");}},QJc=function(a){for(var b={},c=[],d=Ywc(a.context.wf.mr,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.ly(),l=RJc(a,hpc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ia(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=Nuc(new KL,h.qd()),h.H||(_.w(l,2,k),_.I(l,3,p),e=!1),c.push(l)}d=_.Qa(b);a.log("Exporting "+d.length+" initial dump items.");return Tuc(Vuc(Suc(Quc(Ruc(Uuc((new LL).Eu(a.context.Zn()),_.tK(a.Kg)),a.ha.YQ(null)),
SJc(d)),c),1),!e)},TJc=function(a){var b=[],c=a.ha;a.context.wf.mr.VV().forEach(function(d){var e=c.YQ(d.yc());if(e){var f=RJc(a,hpc(d.ly()));a.log("Exporting "+f.length+" TD dump items for: "+d.yc());e=Tuc(Vuc(Ruc(Quc(new LL,SJc(f)),e),3),d.FN(d.qd()));d=Nuc(new KL,d.qd());Suc(e,[d]);b.push(e)}});return b},UJc=function(a){var b={},c=[];a.context.wf.VV().forEach(function(d){1===d.BJ()&&null==_.Q(d.qd(),6)&&(hpc(d.ly()).forEach(function(e){b[e.getId()]=e}),d=Ouc(Nuc(new KL,new _.hf),d.qd()),c.push(d))});
return[Tuc(Vuc(Suc(Quc(new LL,SJc(Object.values(b))),c),4),!1)]},RJc=function(a,b){b=Hoc(b);_.Q(a.O,67)&&(b=VJc(b));_.FI(a.O)&&(_.S(a.Ha,9,!1)?Mxc(a.context.wf.sq,b)&&(_.JK(a.Od,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Kxc(a.context.wf.sq,b)):b=Kxc(a.context.wf.sq,b));return b.filter(function(c){return 4!==c.qv()})},VJc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,voc(c)?(c=c.clone(),foc(c,uoc),b.push(c)):b.push(c);
return b},SJc=function(a){return a.map(function(b){return b.clone()})};LJc.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};LJc.prototype.HDa=function(){this.Fa=!0};
var WJc=function(){};_.g=WJc.prototype;_.g.setActive=function(){};_.g.hS=function(){};_.g.update=function(){return _.hi()};_.g.oWa=function(){return _.Wh()};_.g.lL=function(){return _.Wh()};_.g.Vma=function(){};_.g.HDa=function(){};
var kL=function(a,b,c,d){_.zi.call(this);var e=this;this.Aa=a;this.jw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.Qjc;this.Mc=b.clone();(a=_.PI(this.Mc))&&_.S(a,1,!1)&&_.hI(this.Mc,28);this.Kg=new _.Vjc(this.Mc);this.tm=new Dvc(_.tK(this.Kg),this.Mc);XJc(this);this.tX=new _.En;this.rb=_.n.setTimeout(function(){e.Rf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.tX.resolve();e.vk().O(106020)},1E4);this.FZ=new _.ai;this.Ba=new _.wkc(_.nK(this.Mc),_.S(this.Mc.eg(),
52,!1));this.connectionState=new _.pkc(_.nK(this.Mc)?3:1,!_.S(this.Mc.eg(),52,!1));this.Od=_.Mkc(this.Mc,this.Ba,this.connectionState,this.va,this.tX.promise,this.jw);this.efa=new iwc(this.Od);this.bQ=new _.ai;YJc(this)};_.K(kL,_.zi);kL.prototype.getEnvironment=function(){return this.jw};kL.prototype.ZR=function(){this.Rf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.rb);this.tX.resolve()};
var YJc=function(a){var b=function(){a.Gu().Gg(_.Of)},c=a.Aa;(c=c&&_.lc(c,_.em))?_.Te(c,"w",b):_.xgc()||_.Te(_.n,"unload",b)};kL.prototype.Gu=function(){this.Od.O(106005);Isc(this.Od);var a=this.ma.map(function(b){return b()});_.qa(this.ma);return _.mI(a).then()};var ZJc=function(a,b){a.ma.push(b)};_.g=kL.prototype;_.g.Rf=function(){return this.va};_.g.Eu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.FZ.callback(a),a.length&&this.e4a(a,b||null))};_.g.e4a=function(){};
_.g.Zn=function(){return this.rootId};_.g.vk=function(){return this.Od};var $Jc=function(a){if(!a.ha)throw Error("tg");return a.ha},aKc=function(a,b){a.ha=b};kL.prototype.HB=function(){return this.Fa||this.connectionState.isConnected()};kL.prototype.Jj=function(){return this.Ba};kL.prototype.tk=function(){return this.connectionState};kL.prototype.gNb=function(a){this.bQ.callback(a)};
var XJc=function(a){var b=a.Mc.eg();0===_.Td(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.C(b,37,""))throw Error("ug");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.S(_.oL(a.Mc),9,!1))if(b=_.Qj(_.oL(a.Mc),mL,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.nK(a.Mc)&&!_.S(a.Mc,10,!1))throw Error("vg");}else _.w(_.oL(a.Mc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.oL(a.Mc),9,!1)&&(_.nK(a.Mc)||_.S(a.Mc,10,!1)))throw Error("wg");var c=_.AI(a.Mc);b=!(!c||!_.ZI(c));c=c&&_.lK(c)||"";if(!b&&!c)throw Error("xg");b&&_.Nj(a.Mc,44);_.Qj(a.Mc,_.hf,44).forEach(function(d){try{Gvc(a.tm,d)}catch(e){if(e instanceof _.qc&&(d=e.Qg)&&3===d.$s())throw Error("yg");throw e;}})};kL.prototype.mJ=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,a)))};kL.prototype.log=function(a){this.Rf().info("drive.ds.sync.ThinContext",a)};
var bKc=function(a,b){this.H=a;this.Ke=b};
var cKc=new Set([5,4,1,6,2]),dKc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),eKc=function(a,b,c){_.zi.call(this);this.ha=a;this.V=b;this.W=c;this.HF=new Map;this.O=new Map;this.status=6;this.H=null};_.K(eKc,_.zi);
eKc.prototype.cQ=function(a,b,c,d){var e=this;if((d=void 0===d?!1:d)&&!c.length){var f=new Set;a.forEach(function(q){(q=(q=q.getKey())&&_.op(q))&&f.add(q)});[].concat(_.nd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=cKc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.op(r);r=r&&_.y(r,2);v=k.get(v);r&&v&&v.set(r,fKc(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),v=e.HF.get(q);v?h&&
(r.forEach(function(z){var A=z.getKey();(A=v.get(A&&_.y(A,2)))&&_.Uj(z,A)||l++}),[].concat(_.nd(v.values())).forEach(function(z){z=z.getKey();r.has(_.y(z,2))||p++}),e.HF.set(q,r),e.O.set(q,b)):(l+=r.size,e.HF.set(q,r),e.O.set(q,b))});this.ha.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+a.length+" user prefs from "+b+(p?" (removed "+p+")":""));if(1!==this.status||l){if(h||d)this.status=1,$L(this.V,"px2C2c");$L(this.V,"rkYxSd")}(l||p)&&gKc(this,!h)}};
eKc.prototype.PG=function(){return 0<this.HF.size};var gKc=function(a,b){b||a.H||(a.H=_.n.setTimeout(function(){_.n.clearTimeout(a.H);a.H=null;a.W.update(5)},1E3));a.dispatchEvent(new _.ri("WPi0i"))};eKc.prototype.put=function(a){var b=a.getKey(),c=b&&_.op(b);b=b&&_.y(b,2);if(c&&b&&(c=this.HF.get(c))){var d=c.get(b);a=fKc(a);d&&_.Uj(a,d)||(c.set(b,a),gKc(this))}};eKc.prototype.remove=function(a){var b=a&&_.op(a);a=a&&_.y(a,2);b&&a&&(b=this.HF.get(b))&&b.delete(a)&&gKc(this)};
var OJc=function(a,b){var c=[];(b||[].concat(_.nd(a.HF.keys()))).forEach(function(e){(e=a.HF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.HF.has(e)}):[].concat(_.nd(a.HF.keys()));var d=new mtc;_.Mj(d,1,c);_.Kj(d,2,b);return d};
eKc.prototype.JG=function(a){var b=this,c=OJc(this,a),d=new _.bA;d.Dc(this.status);_.blb(d,_.Qj(c,_.np,1));_.I(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);dKc.has(f)&&Infinity>dKc.get(f)&&(e=f)});return new bKc(d,e)};var fKc=function(a){a=a.clone();a.jh()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var hKc=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},jKc=function(a,b){return iKc(a[b])+(iKc(a[b+1])<<8)+(iKc(a[b+2])<<16)+(iKc(a[b+3])<<24)},iKc=function(a){return 127<a?a-256:a};
var lL=function(a,b,c,d,e,f){kL.call(this,a,b,c,d);var h=this;this.Ta=_.Zh();this.vt=new fM;this.W=null;this.O=_.Zh();this.Ha=new _.ai;this.V5=null;this.gfa=new byc;this.V=null;this.$a=_.Zh();this.ta=new _.ai;this.QF=new Hyc;this.Bz=new jyc;this.Oga=new Mwc;this.Q$=new _.En;this.Ka=!1;this.ffa=new _.En;this.H={};this.ka=null;this.Ib=new _.Ne;this.Ma(this.Ib);this.Oj=e?e:new Lwc(this.Rf());this.vk().W.O=this.Oj;this.IL=_.S(_.oL(b),9,!1)&&Jpc()?kKc(this,b):null;this.xv=new wvc(nL(_.AI(b)));this.yD=
lKc(this,this.IL);this.uQ=mKc(this,this.IL,b);this.Ns=nKc(this);this.wf=new SM(this,this.Kg);(a=(a=_.B(this.Mc,_.el,12))&&a.getId())&&this.Eu(a,6);this.TP=new YDc(this.Mc,this.wf.sq,this.Oj,this.Rf(),this.Ns);this.GZ=new dEc(this.Rf(),this.Oj,this.Ns);this.jE=new eKc(this.Rf(),this.Oj,this.Ns);this.vI=new awc(this.Qm(),this.Rf(),function(k){return void h.mJ(k)});this.jz=_.S(this.Mc.eg(),52,!1)?new _.KK(this.tk(),this.Qm(),this.Rf(),this.vk()):null;ZL(this.Oj,["mrK8ic"],function(){h.$a.promise.then(function(){JEc(h,
h.V)})});this.dMa=new Dyc(this.Mc);this.WA=new _.nlc(this.Mc,this.wf.rm);this.lsa=new EGc(this);this.U5=new fyc(this.O.promise,this.Qm());this.kb=new hyc(this.Qm(),this.U5);this.hfa=new zyc(this.O.promise,this.Qm(),this.Rf(),this.Mc);this.Qa=new KJc(this.Mc,this.wf,this.mJ.bind(this),this.U5,this.kb,this.Ns,this.gfa,this.Kg,this.Zn.bind(this),this.lsa,this.GZ,this.jE,this.hfa,this.QF,this.Rf(),this.dMa,this.WA,this.vI,this.jz,this.Jj(),this.Kob.bind(this),this.vk(),f);this.Ta.resolve(this.Qa);this.iJa=
new oGc(this);ZL(this.Oj,["BNEDtc"],function(){return h.ffa.resolve()});ZJc(this,function(){h.Ns.hS();return _.Wh()})};_.K(lL,kL);
var kKc=function(a,b){var c=_.lK(_.AI(b)),d=_.mK(b),e=function(){},f=_.Qj(_.oL(b),mL,11);f=f[0]&&_.y(f[0],1);var h=new szc(c,d,_.Vj(_.oL(b),10,0)||0,f||"",_.tK(a.Kg));_.nK(b)?c=Nzc(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.Vj(_.oL(b),8,432E6)?(b=oKc(a,c),c=Nzc(c,d,b).then(function(l){return l&&(e=function(p){return p.Ml(h).Gg(function(){return null})},!l.ha)?l:h})):c=_.Wh(h);var k=new nM(c,a.Rf(),a.vk());k.initialize().then(function(){return e(k)},function(){return null});return k},oKc=
function(a,b){var c=_.Vj(_.oL(a.Mc),8,432E6);if(!_.nK(a.Mc)&&0<c){a=Math;var d=a.abs;b=_.yma(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+=jKc(b,e),h.b+=jKc(b,e+4),h.c+=jKc(b,e+8),hKc(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+=jKc(b,e+4);h.a+=jKc(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+=jKc(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=hKc(h);return d.call(a,b)%c}};lL.prototype.Wy=function(a){var b=this;return this.IL?this.IL.Sf()?_.Xh(Error("zg`"+zzc(this.IL))):$zc(this.yD).then(function(c){var d=b.IL,e=[];e.push(b.Ns.oWa());e.push(a?d.Ml():Jzc(d));if(a===c)return _.Yh(e).then(function(){return!1});!1===a&&(e.push(yzc(d)),(c=b.Zn())&&e.push(b.yD.Eu(c)));return _.Yh(e).then(function(){return b.yD.Wy(a)},function(){return!1})}):_.Xh(Error("Ag"))};
var mKc=function(a,b,c){var d=null;b&&(d=new Ryc(b,c,function(e){a.mJ(e)},a.vk()),d.initialize());return d},lKc=function(a,b){var c=new Zzc(b||void 0);c.Zn().then(function(d){d&&a.Eu(d,5)});b&&($zc(c).then(function(d){a.Jj().Wy(d)}),_.Yh([b.initialize(),a.tX.promise]).then(function(){pKc(a,c)},function(){}));return c},pKc=function(a,b){cAc(b).then(function(c){(!c||c<Date.now()-864E5)&&Qzc(_.lK(_.AI(a.Mc)),_.mK(a.Mc),a.Rf()).then(function(d){d&&(d=Date.now(),b.set(Xzc,d))},function(){})})},nKc=function(a){if(!a.uQ)return new WJc;
var b=new LJc(a,a.Kg);a.Ib.listen(a.Jj(),"Fb",function(c){return void b.setActive(!c.Ue())});a.Ib.listen(a.tk(),[].concat(_.nd(Object.values(_.EB))),function(){return void b.setActive(a.tk().isConnected())});return b};lL.prototype.cY=function(a){this.V5=a;this.Ha.callback(a)};var OM=function(a){return a.Ha.Ym()},ODc=function(a){return a.IL?a.IL.Sf():null},qKc=function(a,b){a.Oj.H("NSockf")?$L(a.Oj,b):ZL(a.Oj,["NSockf"],function(){$L(a.Oj,b)})};
lL.prototype.e4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.vt.Eu(a),this.tm.Eu(a),6!==b&&1!==b||this.yD.Eu(a),qKc(this,"jroI5d"))};lL.prototype.oVa=function(){return this.ta.Ym()};var JEc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.ta.hg()||(a.ta.callback(b),qKc(a,"T8oKm")))},iEc=function(a){if(!a.W)throw Error("Bg");return a.W};_.g=lL.prototype;_.g.aR=function(){return this.Qa};_.g.Qm=function(){return this.Ta.promise.then(function(a){return a.hoa.promise})};
_.g.GDa=function(){this.Ka||(this.Ka=!0,this.Q$.resolve(),$L(this.Oj,"aU7Ts"))};_.g.HB=function(){throw Error("Cg");};_.g.Kob=function(a){this.dispatchEvent(a)};var rKc=function(a,b){VFc(a.wf,b)},sKc=function(a,b,c){a.H[b]=c},HDc=function(a){a.ka||(a.ka=new pyc(a.O.promise,a.Qm(),a.Rf()));return a.ka};
var WM=function(a,b,c){_.zi.call(this);var d=this;this.Fa=a;this.rb=b;this.va=_.Zh();this.Ba=this.channel=this.clientId=null;c.then(function(e){return tKc(d,e)})};_.K(WM,_.zi);var tKc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;SL(a.channel,a.Fa,function(c){c=Vvc(c);a.y$(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.va.resolve()};WM.prototype.y$=function(){};
WM.prototype.send=function(a,b,c,d){var e=this,f=_.Zh();this.va.promise.then(function(){var h=e.channel;TL(h,e.Fa,Rvc(new Qvc(e.clientId,a,b,d),h.W),function(k){return void uKc(k,a,f,c||function(){})})});return f.promise};var uKc=function(a,b,c,d){a=Vvc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.oc,_.LI(d,2),_.MI(d,6),_.w(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.qc(void 0,d)))};WM.prototype.log=function(a){this.Ba&&this.Ba.info(this.rb,a)};
var vKc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var XM=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ka=this.LU()};_.K(XM,_.N);XM.prototype.registerService=function(a){var b=this;SL(a,this.V,function(c){return b.Fw(c)})};
XM.prototype.Fw=function(a){var b=this;a=Svc(a);var c=a.H,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof Tvc)return Uvc(f,c);if(f.then)return f.then(function(h){return Uvc(h,c)},function(h){h=_.NI(h);return Uvc(b.jd(void 0,h),c)})}catch(h){e=_.aJ(h)}f=new _.oc;_.LI(f,2);_.MI(f,3);_.gq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.w(f,20,e.stack);return Uvc(this.jd(void 0,f),c)};
XM.prototype.jd=function(a,b,c){if(a&&!b)return new Tvc(a,void 0,c);a=_.NI(b);return new Tvc(void 0,a,c)};XM.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&TL(a,this.V,Uvc(this.jd(c,d,b),a.W))};
var wKc=function(){this.channels={};this.H=this.O=this.V=0},xKc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Pa(a.channels));return c},yKc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var zKc=function(a,b){XM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.wf;this.O=this.context.hfa;this.W=HDc(this.context);this.ka=this.context.U5};_.K(zKc,XM);
zKc.prototype.LU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.hf);return a.ki(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.uI);return a.ki(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.yA);return a.ki(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.qG);return a.ki(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=jL(c.args[0],!!c.H,_.hf);return a.fk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.uI);return a.fk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.yA);return a.fk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.qG);return a.fk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=jL(c.args[0],!!c.H,_.yA);c=jL(c.args[1],!!c.H,_.yA);return a.PY(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=jL(c.args[0],!!c.H,_.qG);c=jL(c.args[1],!!c.H,_.qG);return a.PY(d,e,c)},b["4.7"]=function(c){return a.GF(c)},b["4.8"]=function(c){return a.GF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.fA);return a.ki(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.sG);return a.ki(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.fA);return a.fk(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=jL(c.args[0],!!c.H,_.sG);return a.fk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.AG);return a.ki(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.AG);return a.fk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.dA);return a.ki(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=jL(c.args[0],!!c.H,_.dA);return a.fk(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.dA){var d=a.W;$xc(d,d.getKey(c)).refresh()}return a.jd([])},b};zKc.prototype.ki=function(a,b){var c=this,d=new _.En;this.H[a]={query:b,qSb:d.promise};b instanceof _.fA?d.resolve(this.O.ki(a,b)):b instanceof _.sG?d.resolve(Yxc(this.O,a,b)):b instanceof _.dA?d.resolve(this.W.ki(a,b)):b instanceof _.AG?d.resolve(this.ka.ki(a,b)):d.resolve(this.ha.ki(a,b));return d.promise.then(function(){return c.jd([])})};zKc.prototype.fk=function(a,b){AKc(this,a,b);return this.jd([])};
var AKc=function(a,b,c){delete a.H[b];c instanceof _.fA?a.O.fk(b,c):c instanceof _.sG?Zxc(a.O,b,c):c instanceof _.dA?a.W.fk(b,c):c instanceof _.AG?a.ka.fk(b,c):a.ha.fk(b,c)};_.g=zKc.prototype;_.g.PY=function(a,b,c){AKc(this,a,b);return this.ki(a,c)};_.g.GF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.ui(a.args[0]);c instanceof _.fA?this.O.ki(b,c):c instanceof _.sG?Yxc(this.O,b,c):c instanceof _.dA?this.W.ki(b,c):c instanceof _.AG?this.ka.ki(b,c):this.ha.ki(b,c);return this.jd([])};
_.g.oO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Vg(a[0]),f=a[1];d.qSb.then(function(h){b instanceof _.IK||b instanceof _.FK?c.update(e,f,[b.response,b.pageToken,b.H,b.Ke,h]):(d.query instanceof _.hf?hoc(d.query.O(),b.wd().filter(function(k){return!PL(k)})):d.query instanceof _.yA&&hoc(d.query.O(),Object.values(b.eq()).filter(function(k){return k&&!PL(k)})),c.update(e,f,[b,h]))})}};
_.g.DX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Vg(c[0]);c=c[1];var d=b.error;d.cfa(b.H);this.update(a,c,void 0,d)}};_.g.rA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Vg(a[0]),a[1],["cacheRefresh"]))};_.g.S8=function(){};_.g.lka=function(a){if(!this.H[a])throw Error("dg`"+a);return this.H[a].query};var BKc=function(a,b){_.La(a.H,function(c,d){_.Vg(d.split(":")[0])===b&&AKc(a,d,c.query)})};
var CKc=function(a,b,c){WM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.K(CKc,WM);CKc.prototype.Vwa=function(a){var b=this;a=new tDc(this.context.tm,this.context.bQ,this.context.Rf(),this.context.Mc,function(c,d){return b.GF(c,d)},a,this.context.vk());DKc(this,a);return a};CKc.prototype.Ywa=function(a){var b=this;a=new xDc(this.context.tm,this.context.bQ,this.context.Rf(),function(c,d){return b.GF(c,d)},a,this.context.Mc);DKc(this,a);return a};
var DKc=function(a,b){a.ki(b);_.Fe(b,function(){a.fk(b);a.send("4.3",[b.qd()],void 0,b.Ai())});a.send("4.1",[b.qd()],void 0,b.Ai())};_.g=CKc.prototype;_.g.Swa=function(a){var b=this,c=new yL(this.context.Mc,this.context.tm,this.context.Rf(),this.context.FZ,this.PY.bind(this),a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.4",[c.qd()],void 0,c.Ai())});this.send("4.2",[c.qd()],void 0,c.Ai());return c};
_.g.axa=function(a){var b=this,c=new BDc(a,this,this.context.Mc);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.11",[c.qd()],void 0,c.Ai())});this.send("4.9",[c.qd()],void 0,c.Ai());return c};_.g.bxa=function(a){var b=this,c=new CDc(this.context,this,a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.12",[c.qd()],void 0,c.Ai())});this.send("4.10",[c.qd()],void 0,c.Ai());return c};
_.g.exa=function(a){var b=this,c=new FDc(this.context,a,this);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.15",[c.qd()],void 0,c.Ai())});this.send("4.13",[c.qd()],void 0,c.Ai());return c};_.g.fxa=function(a){var b=this,c=new wDc(this.context,a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.16",[c.qd()],void 0,c.Ai())});this.send("4.14",[c.qd()],void 0,c.Ai());return c};
_.g.Zwa=function(a){var b=this,c=new ADc(this.context,a,function(){b.send("4.21",[],void 0,c.Ai())});this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.23",[c.qd()],void 0,c.Ai())});this.send("4.22",[c.qd()],void 0,c.Ai());return c};_.g.Owa=function(a){var b=this,c=new rDc(this.context.Jj(),this.context.tk(),this.context.Rf(),function(d,e){return b.GF(d,e)},a);this.ki(c);_.Fe(c,function(){b.fk(c);b.send("4.19",[c.qd()],void 0,c.Ai())});this.send("4.18",[c.qd()],void 0,c.Ai());return c};
_.g.ki=function(a){this.H.create(a.Ai(),a.qd());this.O[a.Ai()]=a};_.g.fk=function(a){UL(this.H,a.Ai(),4);delete this.O[a.Ai()]};_.g.PY=function(a,b,c){if(b instanceof _.yA&&c instanceof _.yA)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.qG&&c instanceof _.qG)this.send("4.6",[b,c],void 0,a);else throw Error("Dg");};
_.g.GF=function(a,b){if(!this.O[a])throw Error("dg`"+a);var c=this.O[a];if(c.qd()instanceof _.hf)var d="4.7";else if(c.qd()instanceof _.uI)d="4.8";else if(c.qd()instanceof _.AG)d="4.20";else if(c.qd()instanceof _.fA)d="4.17";else throw Error("Eg");c.qd().ui(b);this.send(d,[b],void 0,a)};
_.g.y$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new vL(d,d.N6()),a.BB(b),UL(this.H,a.Ai(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.dW();return}var h=a.qd();if(h instanceof _.hf||h instanceof _.uI)h instanceof _.hf&&_.zJ(h)?e=jL(d,b,_.CK):e=jL(d,b,_.rB);else if(h instanceof _.yA||h instanceof _.qG)b?(e=new _.BK,etc(e,function(k){return new _.el(JSON.parse(k))},d)):e=d;else if(h instanceof _.AG)e=new _.FK(jL(d,b,GL),c[f++],c[f++],c[f++]);else if(h instanceof _.fA)e=new _.IK(jL(d,
b,XL),c[f++],c[f++],c[f++]);else if(h instanceof _.sG)e=jL(d,b,_.DK);else if(h instanceof _.dA)e=jL(d,b,JL);else throw Error("Fg");}e&&(b=f,c&&"boolean"===typeof c[b]&&jwc(this.H,a.Ai(),!!c[b]),mwc(this.H,a.Ai(),e),a.update(e))}};
var YM=function(){_.zi.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.np=!1};_.K(YM,_.zi);YM.prototype.initialize=function(){this.np||(this.np=!0,this.V(),this.setActive(!0))};YM.prototype.V=function(){};YM.prototype.setActive=function(a){this.active=a;EKc(this)};var EKc=function(a){if(a.active&&!a.ha){var b=_.pl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.pl(a.commands))}else a.ha=!0,_.$h(a.Ba(b),function(){a.ha=!1;EKc(a)})}};YM.prototype.ka=function(){};
YM.prototype.Ba=function(){};YM.prototype.va=function(){return!0};YM.prototype.enqueue=function(a){try{var b=new _.ai;this.commands.enqueue(new FKc(a,b));EKc(this);return b}catch(c){return _.ji(_.aJ(c))}};var FKc=function(a,b){this.H=a;this.If=b};FKc.prototype.getCommand=function(){return this.H};FKc.prototype.AG=function(){return this.If};
var IKc=function(a){YM.call(this);var b=this;this.context=a;this.O=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context,"VMiG2e",function(){return void GKc(b)});this.H=this.context.wf.sq;_.FI(this.context.Mc)&&this.Sc.listen(this.H,"Kb",this.W);var c=a.Oj;ZL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Dj(a.Mc.eg(),17,1)&&(d.push("iuEtc"),ZL(c,["mrK8ic"],function(){$L(c,"iuEtc")}));ZL(c,d,function(){HKc(b)})};_.K(IKc,YM);IKc.prototype.V=function(){JKc(this)};
var HKc=function(a){if(1===a.context.TP.kf().Bb())Promise.resolve();else{var b=_.xf(_.yf(new _.wf,!0),301);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(c){c=_.NI(c);_.w(c,21,"Initial account request failed.");a.context.mJ(c)})}},GKc=function(a){var b=_.xf(new _.wf,304);b=_.CI(new _.BI,b);a.refresh(b).then(null,function(){})};
IKc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.$h(this.context.Qm().then(function(d){return d.Re(a,b)}).then(function(d){var e=d.kf(),f=e.getUser();if(f&&!1===_.Lk(f))d=_.OI(_.AI(c.context.Mc)),d=Error("Gg`"+d+"`"+bL(f)),_.zb(d),_.JK(c.context.vk(),73301807),d=Promise.reject(d);else{f=c.context.TP;var h=0===f.Ze()?1:6;_.FI(c.context.Mc)&&Cxc(c.H,e);h=$Dc(f,e,h);(e=e.getMetadata())&&c.context.Eu(_.y(e,2),1);(d=_.y(d,4))&&JEc(c.context,d,!0);h&&c.dispatchEvent(new _.ri("WPi0i"));d=
Promise.resolve(new _.HK(f.kf(),f.Ze(),!1))}return d}).then(function(d){return d},function(d){d=_.NI(d);_.w(d,5,1);return Promise.reject(new _.qc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
IKc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.FD&&(c.FD=b.FD);this.refresh(b.request,c).then(function(e){return a.AG().callback(e)},function(e){return void a.AG().Id(e)})}else if(b=this.context.TP,c=b.kf(),_.FI(this.context.Mc)){c=c.kf();var d=c.getUser();d=Hxc(this.H,bL(d));Cxc(this.H,c);$Dc(b,c,b.Ze())&&this.dispatchEvent(new _.ri("WPi0i"));a.AG().callback(new _.HK(b.kf(),b.Ze(),d))}else c.Bb(),b=new _.HK(c,b.Ze(),!0),a.AG().callback(b)};
var JKc=function(a){var b=a.context.Mc.eg();_.n.setTimeout(function(){var c=_.xf(new _.wf,306);c=_.CI(new _.BI,c);a.refresh(c).then(function(){JKc(a)},function(){JKc(a)})},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,3,72E5))};IKc.prototype.W=function(a){var b=this.context.TP,c=b.kf().kf();c&&a.getPeople().find(function(d){return _.y(d,1)===bL(c.getUser())})&&(Cxc(this.H,c),$Dc(b,c,b.Ze())&&this.dispatchEvent(new _.ri("WPi0i")))};var KKc=function(a,b,c){this.request=a;this.H=!!b;this.FD=c||null};
var MKc=function(a){YM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.GZ,"Qb",_.Db(this.dispatchEvent,new _.ri("Qb",this)));LKc(this)};_.K(MKc,YM);
var LKc=function(a){var b=a.context.Oj;ZL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.nK(a.context.Mc)){var c=_.Dj(a.context.Mc.eg(),18,1);ZL(b,["NSockf"],function(){1===c?NKc(a):a.setActive(!0)});2===c&&ZL(b,["mrK8ic"],function(){a.W||NKc(a)})}},NKc=function(a){var b=new _.wf;_.yf(b,!0);_.xf(b,301);var c=new _.CJ;_.wsc(c,b);_.w(c,1,1);a.refresh(c).Gg(function(){return null})};
MKc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Zh();this.O=d.promise;_.$h(this.O,function(){c.O=null;OKc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.CJ;_.w(h,1,this.H);_.wsc(h,a.ve());this.context.Qm().then(function(k){return k.Re(h,b)}).then(function(k){c.error=null;var l=c.context.GZ;l.cQ(k,l.PG()?6:1);d.resolve()},function(k){c.H=e;k=_.DB(k);var l=k.Qg;_.w(l,5,2);f?(_.LI(l,1),k.message="Initial app settings refresh failed.",
_.w(k.Qg,21,"Initial app settings refresh failed."),c.context.mJ(l),c.setActive(!0)):(_.LI(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Qg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};MKc.prototype.va=function(){return!1};
MKc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.$ia,f=c.FD?{FD:c.FD}:void 0;if(!PKc(d))return this.context.Qm().then(function(l){return l.Re(d,f)}).then(function(l){a.AG().callback(new _.EK(l,1,!1))},function(l){a.AG().Id(_.aJ(l))}),_.Wh();c=_.Wh();var h=!1;this.O?QKc(this,d.getType())?e=this.O:c=e=new _.Vh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&QKc(this,d.getType())&&!this.error?(h=!0,e=_.Wh()):e=this.refresh(d,f);
var k=a.AG();e.then(function(){var l=b.context.GZ;k.callback(new _.EK(l.yr(),l.Ze(),h))},function(l){k.Id(l)});return c.then()};
var PKc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Td(a,4),a=_.Td(a,3),!(b&&b.length)&&!(a&&a.length)):!1},QKc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},OKc=function(a){var b=a.context.Mc.eg(),c=new _.wf;_.xf(c,306);var d=new _.CJ;_.w(d,1,1);_.wsc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,4,72E5))},RKc=function(a,b,c){this.request=a;this.$ia=!!b;this.FD=c||null};
var TKc=function(a){YM.call(this);var b=this;this.context=a;this.error=null;this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.jE,"WPi0i",function(){return b.dispatchEvent(new _.ri("WPi0i"))});this.H=_.Zh();this.O=_.Td(this.context.Mc.eg(),30);SKc(this)};_.K(TKc,YM);
var SKc=function(a){var b=a.context.Oj;ZL(b,["rkYxSd"],function(){return a.initialize()});ZL(b,["px2C2c"],function(){a.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Dj(a.context.Mc.eg(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&ZL(b,["mrK8ic"],function(){$L(b,"OZvrNc")}));!_.S(a.context.Mc,11,!1)&&_.S(a.context.Mc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Qj(OJc(a.context.jE),_.np,1).length||(b.H("NSockf")?
$L(b,"DEJoH"):ZL(b,["NSockf"],function(){$L(b,"DEJoH")}))},12E3));ZL(b,c,function(){if(!b.H("px2C2c")){var e=new _.wf;_.yf(e,!0);_.xf(e,301);var f=new _.JD;_.I(f,1,e);npc(f,UKc(a));a.query(f).Gg(function(){a.initialize()})}})};TKc.prototype.V=function(){var a="User prefs detected: "+_.Qj(OJc(this.context.jE),_.np,1).length;this.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager",a);VKc(this)};
TKc.prototype.query=function(a,b){var c=this,d=b?{FD:b}:void 0;return this.context.Qm().then(function(e){return e.Re(a,d)}).then(function(e){c.error=null;var f=c.context.jE;f.cQ(_.Qj(e,_.np,3),f.PG()?6:1,_.Td(a,3))}).then(null,function(e){e=_.DB(e);_.w(e.Qg,5,4);0<c.commands.$b()||c.context.mJ(e.Qg);c.error=e;throw e;})};
TKc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.AG(),e=new Set([].concat(_.nd(this.context.jE.HF.keys()))),f=_.Td(c.request,3);f.find(function(h){return!e.has(h)})&&(c.$ia=!0);this.error?d.Id(this.error):c.$ia?(npc(c.request,UKc(this,f)),_.$h(this.H?this.H.promise:this.query(c.request,c.FD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var UKc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.jE.HF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
TKc.prototype.getData=function(a,b,c){b=this.context.jE.JG(b);a.callback(new _.GK(b.H,b.Ke,c))};var VKc=function(a){var b=a.context.Mc.eg();_.n.setTimeout(function(){var c=new _.JD,d=new _.wf;_.xf(d,306);_.I(c,1,d);npc(c,UKc(a));_.$h(a.query(c).Gg(_.Of),function(){VKc(a)})},Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,5,72E5))},WKc=function(a,b,c){this.request=a;this.$ia=!!b;this.FD=c||null};
var XKc=function(a,b,c,d){XM.call(this,"IS",b);this.context=a;this.Sc=new _.Ne(this);this.Ba=_.Zh();this.O=null;this.ha=!1;this.W=null;this.Fa=new NDc(a);mpc(this.Fa);this.Ma(this.Sc);this.ka=new IKc(a);this.Ma(this.ka);this.Sc.listen(this.ka,"WPi0i",function(){return c(new nDc(1))});this.ma=new MKc(a);this.Ma(this.ma);this.Sc.listen(this.ma,"Qb",function(){return c(new nDc(2))});this.ta=new TKc(a);this.Ma(this.ta);this.Sc.listen(this.ta,"WPi0i",function(){return c(new nDc(4))});this.Ha=d;this.H=
this.context.Qm()};_.K(XKc,XM);_.g=XKc.prototype;
_.g.LU=function(){var a={};return a["3.43"]=this.r_.bind(this),a["3.42"]=this.y7.bind(this),a["3.1"]=this.qN.bind(this),a["3.2"]=this.JG.bind(this),a["3.3"]=this.ld.bind(this),a["3.35"]=this.RN.bind(this),a["3.4"]=this.Az.bind(this),a["3.5"]=this.yr.bind(this),a["3.6"]=this.XR.bind(this),a["3.8"]=this.Ml.bind(this),a["3.36"]=this.Wy.bind(this),a["3.9"]=this.lF.bind(this),a["3.10"]=this.xr.bind(this),a["3.11"]=this.V$.bind(this),a["3.12"]=this.i8.bind(this),a["3.13"]=this.$S.bind(this),a["3.14"]=this.T$.bind(this),
a["3.15"]=this.k8.bind(this),a["3.16"]=this.lu.bind(this),a["3.17"]=this.ICb.bind(this),a["3.18"]=this.MCb.bind(this),a["3.19"]=this.hQ.bind(this),a["3.20"]=this.KCb.bind(this),a["3.25"]=this.JCb.bind(this),a["3.22"]=this.j8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.yna.bind(this),a["3.29"]=this.Swb.bind(this),a["3.40"]=this.OCb.bind(this),a["3.33"]=this.PCb.bind(this),a["3.39"]=this.ZO.bind(this),a["3.37"]=this.NCb.bind(this),a["3.38"]=this.$9a.bind(this),a["3.41"]=this.ZR.bind(this),
a["3.44"]=this.X_.bind(this),a["3.45"]=this.Po.bind(this),a["3.46"]=this.D7.bind(this),a};_.g.qN=function(a){var b=this,c=jL(a.args[0],!!a.H,_.BI);a=new KKc(c,a.args[1],this.context.H[a.clientId]);$L(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.J_])},function(d){return b.jd(void 0,d)})};
_.g.JG=function(a){var b=this,c=jL(a.args[0],!!a.H,_.JD);a=new WKc(c,a.args[1],this.context.H[a.clientId]);$L(this.context.Oj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.jd([d.response,d.Ke,d.J_])},function(d){return b.jd(void 0,d)})};
_.g.ld=function(a){var b=this,c=jL(a.args[0],!!a.H,Toc),d=_.B(c,_.dJ,16)||_.B(c,_.eJ,1)||_.B(c,_.fJ,2)||_.B(c,_.iJ,3)||_.B(c,_.LK,4)||_.B(c,_.gJ,5)||_.B(c,_.mJ,6)||_.B(c,_.oJ,7)||_.B(c,_.pJ,8)||_.B(c,_.sJ,9)||_.B(c,_.FJ,18)||_.B(c,_.JJ,10)||_.B(c,_.KJ,11)||_.B(c,_.LJ,12)||_.B(c,_.QI,13)||_.B(c,_.OJ,14)||_.B(c,_.PJ,15)||_.B(c,_.hL,17),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.RN=function(a){var b=this,c=jL(a.args[0],!!a.H,bpc),d=_.B(c,_.jJ,1)||_.B(c,_.qJ,2)||_.B(c,_.QJ,3),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.Az=function(a){var b=this,c=jL(a.args[0],!!a.H,Woc),d=ZM(this,a),e=[],f=[];Yoc(c).forEach(function(h){h instanceof _.dJ?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Re(h,d)}))});a=_.mI(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.$h(a,function(){return void mGc(b.context.wf)});return a.then(function(h){return b.jd([new Ioc(e,h)])})};
_.g.yr=function(a){var b=this,c=jL(a.args[0],!!a.H,_.CJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=ZM(this,a);a=this.H.then(function(f){return f.Re(c,e)}).then(function(f){return new _.EK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.EK(f.response,f.Ke,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new RKc(c,d,this.context.H[a.clientId]),$L(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.jd([f.response,f.Ke,f.J_])},function(f){return b.jd(void 0,
f)})};_.g.XR=function(a){var b=this,c=jL(a.args[0],!!a.H,Zoc),d=_.B(c,_.KD,1)||_.B(c,_.LD,2),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};_.g.Ml=function(a){a=a.args[0];if(this.context.jz)a?_.hlc(this.context.jz,!0):this.context.tk().Ue()&&this.context.jz.oM(!0).then(null,function(){});else try{this.context.Jj().Ml(a)}catch(b){return this.jd(void 0,b)}return this.jd([])};
_.g.Wy=function(a){var b=this,c=a.args[0];return this.context.Wy(c).then(function(d){return d?(b.context.Jj().Wy(c),b.Ha(c),b.context.Ns.lL().Gg(function(){return!c})):_.Wh(!c)}).then(function(d){return b.jd([d])},function(d){return b.jd(void 0,d)})};_.g.sync=function(){var a=this;return _.Yh([this.context.Q$.promise,this.context.ffa.promise]).then(function(){return a.context.Ns.lL()}).then(function(){return a.jd([])},function(b){return a.jd(void 0,b)})};
_.g.lF=function(){try{var a=this.context.V5;a&&a.boa();this.context.Oga.lF();return this.jd([])}catch(b){return this.jd(void 0,b)}};_.g.ZR=function(){this.context.ZR();return this.jd([])};_.g.xr=function(a){var b=this,c=jL(a.args[0],!!a.H,_.vJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.V$=function(a){var b=this,c=jL(a.args[0],!!a.H,_.wJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.i8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.kJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.$S=function(a){var b=this,c=jL(a.args[0],!!a.H,_.MJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.T$=function(a){var b=this,c=jL(a.args[0],!!a.H,_.xJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return _.FI(b.context.Mc)?Gxc(b.context.wf.sq,[_.B(e,_.Kk,2)],c.Cc()).then(function(){return e}):e}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.k8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.nJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.lu=function(a){var b=this,c=jL(a.args[0],!!a.H,_.EJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.FI(b.context.Mc)?Exc(b.context.wf.sq,f):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.ICb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.VCc),d=new _.yhc(c,a.args[1],a.args[2]||void 0),e=ZM(this,a);return this.H.then(function(f){return f.Re(d,e)}).then(function(f){return b.jd([f])},function(f){return b.jd(void 0,f)})};
_.g.MCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.DJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d).then(function(f){return _.FI(b.context.Mc)?Gxc(b.context.wf.sq,_.Qj(f.jd(),_.Kk,2),c.qd().getId()).then(function(){return f}):f})}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.hQ=function(){var a=this;return(_.S(this.context.Mc.eg(),52,!1)?_.Wh($vc(new Zvc,0)):this.context.vI.hQ()).then(function(b){return a.jd([b])},function(b){return a.jd(void 0,b)})};
_.g.KCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.xhc),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.JCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.BJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.j8=function(a){var b=this,c=jL(a.args[0],!!a.H,_.lJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.yna=function(a){var b=this,c=jL(a.args[0],!!a.H,_.jI),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e,null])},function(e){return b.jd([null,_.NI(e)])})};_.g.Swb=function(){return this.jd([!0])};
_.g.OCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.pG),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.PCb=function(a){var b=this,c=jL(a.args[0],!!a.H,_.dA),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.r_=function(a){a=jL(a.args[0],!!a.H,_.hf);CFc(this.context.wf,[a]);return this.jd([])};
_.g.y7=function(a){var b=this,c=jL(a.args[0],!!a.H,_.hJ),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.ZO=function(a){var b=this,c=jL(a.args[0],!!a.H,_.EM),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return Rxc(c,e)}).then(function(e){return b.jd(e)},function(e){return b.jd(void 0,e)})};
_.g.NCb=function(a){var b=this,c=new _.Fhc(jL(a.args[0],!!a.H,_.KWb),a.args[1]),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e.response,e.pageToken])},function(e){return b.jd(void 0,e)})};_.g.$9a=function(a){var b=this,c=jL(a.args[0],!!a.H,_.oG),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};
_.g.X_=function(a){var b=this,c=jL(a.args[0],!!a.H,_.yK),d=ZM(this,a);return this.H.then(function(e){return e.Re(c,d)}).then(function(e){return b.jd([e])},function(e){return b.jd(void 0,e)})};_.g.Po=function(a){var b=a.args.map(function(c){return jL(c,!!a.H,_.JI)});this.context.wf.Po(b);mGc(this.context.wf);return this.jd([])};_.g.D7=function(){var a=this,b=this.context.jz;return(b?b.oM():_.Wh(_.Rkc(0))).then(function(c){return a.jd([c])},function(c){return a.jd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Zh();this.context.Rf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Mc.Wi());this.Sc.listen(this.context,_.Bc,function(e){e=e.error;var f=e.Qg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):xsc(a.context.Rf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.nK(this.context.Mc)&&c.push("BNEDtc");ZL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});ZL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){OM(a.context).then(function(e){return void e.start()})};ZL(b,["T8oKm","ZA9qG"],function(){return void d()});ZL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();$L(b,"NSockf")}return this.O.promise};_.g.lba=function(){return this.Ba.promise};_.g.Gu=function(){var a=this.context.V5;a&&a.dispose();return this.context.Gu()};
var ZM=function(a,b){return(a=a.context.H[b.clientId])?{FD:a}:{}};
var YKc=function(a,b,c){XM.call(this,"DU",b);this.context=a;this.O=c;this.H=new NDc(a)};_.K(YKc,XM);_.g=YKc.prototype;
_.g.LU=function(){var a=this,b={};return b["5.1"]=function(){return a.Eha()},b["5.2"]=function(c){return a.KM(c)},b["5.4"]=function(c){return a.Nz(c)},b["5.5"]=function(){return a.bR()},b["5.10"]=function(){return a.lN()},b["5.6"]=function(){return a.$ca()},b["5.7"]=function(){return a.NS()},b["5.9"]=function(c){return a.Dpa(c)},b["5.8"]=function(c){return a.Q4(c)},b["5.11"]=function(){return a.$oa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Ml(c)},b};
_.g.Eha=function(){var a=this;this.context.Ns.hS();var b=this.context.Mc;return Rzc(_.lK(_.AI(b)),_.mK(b),this.context.Rf()).Gg(function(){}).then(function(){return a.jd([])})};_.g.KM=function(a){a=this.context.wf.rm.H(a.args[0]);return this.jd([a])};_.g.Nz=function(a){var b=this;return this.context.WA.Nz(a.args[0]).then(function(c){return b.jd([c])})};_.g.bR=function(){return this.jd(this.context.WA.bR())};
_.g.Q4=function(a){var b=this,c=jL(a.args[0],!!a.H,_.Zfc),d=a.args[1],e=a.args[2];if(_.B(c,_.GI,3)||_.B(c,_.VJ,4)||_.B(c,_.LK,5)||_.B(c,_.PJ,6)||_.B(c,_.pJ,7)||_.B(c,_.iJ,8)||_.B(c,_.mJ,9)||_.B(c,_.QI,10)){var f=gwc(c);return this.context.Qm().then(function(h){return h.Re(f,{i6a:d,j6a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.MK){k=h.jd().wd();var p=_.y(h,2);l=h.Xn()}else if(h instanceof _.XJ)h.getItem()&&k.push(h.getItem()),p=h.UM();else{h=b.jd(void 0,Error("fg"));break a}h=b.jd([p,
l].concat(_.nd(k)))}return h},function(h){return b.jd(void 0,h)})}return _.Wh(this.jd(void 0,Error("eg")))};_.g.Dpa=function(){var a=this.context.Mc,b=a.eg();a="email:"+_.AI(a).getEmail().replace(/@.*$/,"");_.w(b,13,a);return this.jd([])};_.g.$ca=function(){this.context.QF.H=new Gyc(_.Ug().substring(0,8));return this.jd([])};_.g.NS=function(){var a=this.context.QF.lN();if(a){var b=Iyc(this.context.QF);a=[a.H,a.startTime].concat(_.nd(b))}else a=[];b=this.context.QF;b.H=null;b.wY=[];return this.jd(a)};
_.g.lN=function(){var a=this.context.QF.lN();return this.jd(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.jd([b])})};_.g.$oa=function(){var a=[this.O.Gu(),_.Ei(3E4)];_.$h(_.Sja(a),function(){_.n.setTimeout(function(){self.close()})});return this.jd([])};_.g.Ml=function(a){this.H.Ml(a.args[0]);return this.jd([])};
var ZKc=function(a,b,c,d,e,f,h){_.YK.call(this,a,b,c,d,f,h);this.H=e;this.Od=null};_.K(ZKc,_.YK);ZKc.prototype.vM=function(a,b){var c=this;return _.ii(this.H.then(function(d){return d.w2a(Ync(c.O,c.va,a,b,c.kj,c.ha))},null))};ZKc.prototype.ma=function(a,b){var c=this.qd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Nz();e&&(d=_.y(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.tlc(a,b,d))}};
var $Kc=function(a,b,c,d,e,f,h,k){XM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Od=h;this.H={};this.O={};this.Sc=new _.Ne(this);this.Ma(this.Sc)};_.K($Kc,XM);_.g=$Kc.prototype;
_.g.LU=function(){var a=this,b={};return b["7.1"]=function(c){return a.upload(c)},b["7.2"]=function(c){return a.cancel(c)},b["7.3"]=function(c){return a.gG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.vM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.jd([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.jd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=jL(a.args[0],!!a.H,_.iJ),e=a.args[1];if(!this.H[c]){var f=new ZKc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Od);this.Sc.listen(f,"Lb",_.Db(this.a$a,a.clientId,a.requestId));this.Ma(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.fj(),r=_.Zh();b.O[q]=r;b.update(l,p,aLc(3,q,[h,k]));return r.promise}).then(function(h){return b.jd([h])},function(h){return b.jd(void 0,h)})};
_.g.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.jd([])};_.g.gG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].gG();return this.jd([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ia(f,function(p){k[p]=h[l++]});_.La(k,function(p,q){p.jg(function(r){b.update(a.clientId,c,aLc(0,e,[q,r]))},function(r){b.update(a.clientId,c,aLc(1,e,[q,r.Qg]))})});return this.jd([])}return this.jd(void 0,_.NI("Could not retry upload."))};
_.g.vM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=Ync(b.O,b.va,c,a,b.kj,b.ha),this.jd([epc(c)])):this.jd(void 0,_.NI("FileUploader not found."))};_.g.a$a=function(a,b,c){this.update(a,b,aLc(2,c.requestId,[c.progress,c.totalBytes]))};var aLc=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var bLc=function(a,b){XM.call(this,"IE",b);this.O=a;this.H=new Map};_.K(bLc,XM);bLc.prototype.LU=function(){var a=this,b={};return b["9.1"]=function(c){return a.export(c)},b["9.2"]=function(c){return a.cancel(c)},b};
bLc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=jL(a.args[0],!!a.H,_.whc);e=new JM(this.O,e);var f=_.Ce(e,"Pb",function(h){b.update(a.clientId,c,[h.NOa,h.Lta])});_.Fe(e,function(){_.xi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.jd([h])},function(h){return b.jd(void 0,h)})};bLc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.jd([])};
var cLc=function(a,b){XM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Zh();this.O=new SDc(a,a.Kg)};_.K(cLc,XM);cLc.prototype.LU=function(){var a=this,b={};return b["6.1"]=function(c){return dLc(a,c)},b["6.2"]=function(c){return eLc(a,c)},b["6.3"]=function(){a.H&&(VDc(a.O),a.H=!1,a.W=_.Zh());return a.jd([])},b};
var dLc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return jL(d,!!b.H,_.el)});a.O.tl(c);$L(a.context.Oj,"GZTDpc");a.W.resolve()}return a.jd([])},eLc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return jL(d,!!b.H,_.JI)});UDc(a.O,c);return a.jd([])})};
var fLc=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Hg`"+b);a.services.set(b,new _.ai)})};fLc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.hg())b.callback(a);else throw Error("Ig`"+a.V);};var gLc=function(a,b){a=_.m(a.services);for(var c=a.next();!c.done;c=a.next())c=_.m(c.value),c.next(),c.next().value.addCallback(function(d){d.registerService(b)})};fLc.prototype.Ao=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.hg()})};
var hLc=function(){},iLc={0:2E3,1:3E3,2:5E3},jLc=function(a,b){this.request=a;this.ha=b;this.O=_.Zh();this.continuationToken="";this.V=0;this.DE=this.W=!1;this.H=hLc};jLc.prototype.$g=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=hLc;b.V=0;return c},function(c){b.H=hLc;b.V=0;return Promise.reject(c)})};
jLc.prototype.sendRequest=function(){var a=this;if(this.DE)this.O.resolve((new DM).Dc(8));else{var b=new _.Jhc(this.request,this.continuationToken);this.ha.then(function(c){return c.Re(b)}).then(function(c){kLc(a,c)},function(c){a.handleError(c)})}};var kLc=function(a,b){var c;a.continuationToken=null!==(c=b.Xn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},lLc(a.V++,a.ka)):a.O.resolve(b)};jLc.prototype.handleError=function(a){a=_.DB(a);this.O.reject(a)};
jLc.prototype.cancel=function(){this.DE=!0};var lLc=function(a,b){return b?b:(a=iLc[a])?a:1E4};
var mLc=function(a,b){XM.call(this,"TM",b);this.O=a;this.H=new Map};_.K(mLc,XM);mLc.prototype.LU=function(){var a=this,b={};return b["10.1"]=function(c){return nLc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var nLc=function(a,b){var c=b.clientId+":"+b.requestId,d=jL(b.args[0],!!b.H,_.vCc);d=new jLc(d,a.O);a.H.set(c,d);return _.$h(d.$g(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.jd([e])},function(e){return a.jd(void 0,e)}),function(){a.H.delete(c)})};mLc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.jd([])};
var $M=function(a,b,c){_.N.call(this);this.H=a;this.jw=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ka=_.Zh();this.W=!1;this.Ba=_.Zh();this.O=_.Zh();this.ta=null;this.va=this.Ta=!1;this.Ab=_.Zh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.$y=Date.now();this.services=new fLc;this.Ib=new _.Ne(this);this.Ma(this.Ib)};_.K($M,_.N);$M.prototype.cY=function(a){this.O.promise.then(function(b){b.V5||a.tMa(b)})};
var rLc=function(a,b){var c=xKc(a.H,b),d=a.Rb.bind(a,c);SL(b,"8.1",d);b.registerService("8.1",d);SL(b,"8.4",a.Qa.bind(a,c));b.registerService("8.5",function(f){return oLc(a,c,f)});SL(b,"8.2",a.Gb.bind(a,c));SL(b,"8.3",a.Nb.bind(a,c));gLc(a.services,b);b.start();pLc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Yh([a.Ka.promise,a.Ba.promise]).then((0,_.M)(a.initialize,a)));e.push(a.ta);_.Yh(e).then(function(){return void qLc(a,c,b)},function(f){a.Ta=!0;TL(b,"2.2",{err:_.NI(f).Lc()},d)})},sLc=function(a){return Math.floor((Date.now()-
a.$y)/1E3)},tLc=function(a,b,c){var d=function(e){TL(b,"2.8",{au:"nb"===e.type})};a.Ib.listen(c.vI,["nb","ob"],d);_.Fe(b,a.Ib.Yc.bind(a.Ib,c.vI,["nb","ob"],d))},uLc=function(a,b,c){var d=c.tk(),e=[].concat(_.nd(Object.values(_.EB))),f=function(h){TL(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.Fe(b,function(){a.Ib.Yc(d,e,f)})};
$M.prototype.Rb=function(a){var b=yKc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){BKc(d,a)}),b.dispose(),this.log(_.zt("Client %d disconnected (num clients remaining: %d)",a,_.Pa(this.H.channels))),0===_.Pa(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.$h(d.Gu(),c)})}};
$M.prototype.Qa=function(a,b){if(this.ha.has(a))return _.Wh();var c=new _.Xb(JSON.parse(b.dsc));_.w(c,24,!1);this.Ha||(this.Ha=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){sKc(d,a,_.C(c.eg(),37,""));rKc(d,_.Td(c,28));d.wf.gla(_.Qj(c,_.Cl,91));return d.tX.promise.then(function(){CFc(d.wf,_.Qj(c,_.hf,44))})},function(){})};
$M.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new IEc(e,e.Kg);e.$g(d);e.dispose();(e=c.H.channels[a]||null)&&TL(e,"2.16")})}};$M.prototype.Nb=function(a,b){var c=this;this.V.has(a)||this.V.set(a,new Set);var d=this.V.get(a),e=b.dsp;if(e){var f=[];for(b=0;b<e.length;b++)e[b]&&(d.has(b)?e[b]=void 0:(f.push(b),d.add(b)));f.length&&this.O.promise.then(function(h){vLc(new lFc(h),e);(h=c.H.channels[a]||null)&&TL(h,"2.17",{t:f})})}};
var vLc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.$g(c)});a.dispose()};$M.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Qa(this.H.channels)),d=c.next();!d.done;b={Vda:b.Vda,xea:b.xea},d=c.next())b.Vda=d.value,b.xea=_.Zh(),TL(b.Vda,"2.12",void 0,function(e){return function(){e.Vda.dispose();e.xea.resolve()}}(b)),a.push(b.xea.promise);return _.Yh(a).then()};
$M.prototype.initialize=function(a){var b=this;a=a[0];_.bjc(a,this.fields);var c=_.B(a,_.WI,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new lL(null,a,this.jw,c,void 0,void 0),e=d.vk().H(106E3);ZJc(d,this.$a.bind(this));this.Ib.listen(d.Jj(),"Fb",function(k){k={os:k.Ue()};for(var l=_.m(_.Qa(b.H.channels)),p=l.next();!p.done;p=l.next())TL(p.value,"2.6",k)});this.Ib.listen(d,_.Bc,this.rb);this.Ib.listen(d,"w8KrJc",this.Ic);dwc(d.vI,this.ka.bind(this));var f=d.jz;f&&Msc(f,function(){return b.ka()});
this.O.resolve(d);var h=wLc(this,d,new XKc(d,this.H,(0,_.M)(this.oc,this),(0,_.M)(this.zc,this)));e&&h.then(function(){return e&&e.yj()});return h}catch(k){return _.Xh(k)}};
var wLc=function(a,b,c){a.services.activate(c);a.services.activate(new zKc(b,a.H));a.services.activate(new YKc(b,a.H,c));a.services.activate(new cLc(b,a.H));a.services.activate(new $Kc(b.Mc,b.WA,b.aR().dfa,b.Qm(),b.bQ,b.Rf(),b.vk(),a.H));a.services.activate(new bLc(b.Qm(),a.H));a.services.activate(new mLc(b.Qm(),a.H));return c.initialize()},qLc=function(a,b,c){var d=_.Pa(a.H.channels);a.log(_.zt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));TL(c,"2.2",{id:b,
clients:d,uptimeSec:sLc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.FZ.addCallback(function(f){c.isDisposed()||TL(c,"2.5",{id:f})});1<d&&OM(e).addCallback(function(f){return f.jwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.lba().then(function(){c.isDisposed()||TL(c,"2.14")})});tLc(a,c,e);uLc(a,c,e)})};$M.prototype.oc=function(a){a={dt:a.dataType};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())TL(c.value,"2.15",a)};
$M.prototype.zc=function(a){var b={oois:a};_.Qa(this.H.channels).forEach(function(c){TL(c,"2.18",b)})};$M.prototype.rb=function(a){a={p:a.error.Qg.Lc()};for(var b=_.m(_.Qa(this.H.channels)),c=b.next();!c.done;c=b.next())TL(c.value,"2.10",a)};$M.prototype.Ic=function(){for(var a=_.m(_.Qa(this.H.channels)),b=a.next();!b.done;b=a.next())TL(b.value,"2.7")};var pLc=function(a,b,c){a.ha.has(b)?_.Wh():new _.Vh(function(d){TL(c,"2.1",void 0,function(e){d(a.Qa(b,e))})})};
$M.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Xh(Error("Jg"));if(this.W&&this.Fa.has(a))return _.Wh()}b=b||_.Qa(this.H.channels)[0];if(!b)return _.Xh(Error("Kg"));var d=_.Zh();b.send("1.1",void 0,function(e){oLc(c,a,e);d.resolve()});return d.promise};var oLc=function(a,b,c){_.La(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.va&&(a.va=!0,a.Ab.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
$M.prototype.log=function(a){this.O.promise.then(function(b){return b.Rf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var xLc=function(a,b){WM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.K(xLc,WM);_.g=xLc.prototype;_.g.La=function(){return _.B(this.context.Mc,_.WI,58)};_.g.getContext=function(){return this.context};_.g.Nz=function(){return _.ii(this.send("5.4",[this.H],function(a,b){return jL(a[0],b,_.Pjc)}))};_.g.Rf=function(){return this.context.Rf()};_.g.KM=function(a){return _.ii(this.send("5.2",[a],function(b,c){return b[0]?jL(b[0],c,_.el):null}))};
_.g.bR=function(){return _.ii(this.send("5.5",[],function(a,b){return a.map(function(c){return jL(c,b,_.Zfc)})}))};_.g.Q4=function(a,b,c){return _.ii(this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return jL(k,e,_.el)}),cia:f,pageToken:h}}))};_.g.Dpa=function(){this.send("5.9",[])};_.g.Eha=function(){this.send("5.1",[])};_.g.c9=function(){return _.Cgc[_.Dj(this.context.Mc.eg(),8,0)]};_.g.$ca=function(){this.send("5.6",[])};
_.g.NS=function(){return _.ii(this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return jL(e,b,hwc)});return{traceId:new Gyc(c,d),spanRecs:a}}))};_.g.lN=function(){return _.ii(this.send("5.10",[],function(a){return 0===a.length?null:new Gyc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.ii(this.send("5.12",[],function(a){return a[0]}))};_.g.$oa=function(){this.send("5.11",[])};_.g.Ml=function(a){this.send("5.13",[a])};
var yLc=function(a,b){WM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ca(this))};_.K(yLc,WM);yLc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return jL(b[0],c,aDc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};yLc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
yLc.prototype.y$=function(a,b,c){this.dispatchEvent(new oDc(c[0],c[1]))};
var zLc=function(a){WM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(zLc,WM);zLc.prototype.fY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.pV().jg(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.t_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var ALc=function(a,b){iM.call(this,a,b)};_.K(ALc,iM);ALc.prototype.Sha=function(a,b,c){return new _.Fhc(a,c)};ALc.prototype.fka=function(a){return a.pageToken||""};ALc.prototype.uja=function(a){return a.response.O()};ALc.prototype.T5=function(){};
var BLc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new ALc(this.request,this.ka)};_.K(BLc,IM);_.g=BLc.prototype;_.g.LG=function(){this.V.$g().then(this.b$a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return nCc(new CM,this.O).Dc(this.status)};_.g.zr=function(){return new lCc};_.g.Rj=function(){return!this.Ue()&&(!this.H||Txc(this.V))};_.g.b$a=function(a){this.changed=this.H=!0;this.O=a;this.Xt()};
_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};_.g.$b=function(){return this.O.length};
var CLc=function(a,b,c){IM.call(this,a.Jj(),a.tk(),b.Ei()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.U7a;this.suggestionSessionId=null;this.ka=c};_.K(CLc,IM);_.g=CLc.prototype;_.g.LG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.Di();a.suggestionSessionId=b.Zf();a.Xt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.Tnc(_.Snc((new _.$K).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.zr=function(){var a=this.V.my(this.O,this.data);this.O=this.data;var b=(new rCc).Dc(this.status);return _.Mj(b,2,a)};_.g.XO=function(){};_.g.Xt=function(){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))};_.g.$b=function(){return this.data.length};
var DLc=function(){};_.g=DLc.prototype;_.g.xM=function(a,b){b=SCc(1).setPosition(b);_.I(b,2,a);return b};_.g.wM=function(a,b){b=SCc(2).setPosition(b);_.I(b,2,a);return b};_.g.FE=function(a,b,c){b=SCc(3).Xy(b).setPosition(c);_.I(b,2,a);return b};_.g.pQ=function(a,b){b=SCc(4).setPosition(b);_.I(b,2,a);return b};_.g.WM=function(a){return _.B(a,_.QCc,2)};
var FLc=function(){_.Ky.call(this,new DLc,function(a){return ELc(a)})};_.K(FLc,_.Ky);var ELc=function(a){switch(_.Bj(a,PCc[0])){case 6:return _.ey(_.B(a,_.dy,6)).getTime().toString();case 7:var b=_.B(a,_.GM,7);a=_.B(b,_.dy,1);b=b.kv();return a&&b?(a=_.ey(a).getTime(),_.ey(b).getTime()+"--"+a):"";default:return""}},HLc=function(){GLc||(GLc=new FLc);return GLc},GLc;
var ILc=function(a,b,c,d){IM.call(this,b.Jj(),b.tk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.blc(_.Vj(b.Mc.eg(),6,1E3));this.ta=c};_.K(ILc,IM);_.g=ILc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.LG=function(){_.Q(this.request,3)?this.page():this.poll()};_.g.Ir=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;IM.prototype.Ir.call(this,a)};
_.g.getData=function(){var a=(new XCc).Dc(this.status);_.Mj(a,2,this.O.slice(0,this.limit));this.ka=_.xa(this.O);return a};_.g.zr=function(){var a=HLc().my(this.ka,this.O),b=new UCc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.O);return a};_.g.Rj=function(){return!this.Ue()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.qd=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.V=!0,this.Rj()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).then(function(c){b.H=!0;var d=_.Qj(c,_.QCc,1);b.O=b.O.concat(d);b.token=c.qy()||"";0<d.length&&(b.changed=!0);b.Xt();b.page(a)},function(c){b.dispatchEvent(new _.rc(c));b.V=!1}):(this.V=!1,a&&a.callback(),JLc(this))):this.V=!1};
_.g.poll=function(){var a=this;this.active&&(this.V=!0,this.ta(this.request,this.limit).then(function(b){var c=HLc();a.H=!0;var d=_.Qj(b,_.QCc,1);pL(c,a.O.slice(0,d.length),d)?(a.O=d,a.token=b.qy()||"",a.changed=!0,a.Xt(),a.page()):(a.V=!1,JLc(a))},function(b){a.dispatchEvent(new _.rc(b));a.V=!1}))};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};
_.g.HL=function(){this.Ue()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.XO=function(){this.active&&this.Rj()&&!this.V&&this.page(new _.ai)};var JLc=function(a){_.Q(a.request,3)||(_.cI(a.ma),_.n.setTimeout((0,_.M)(a.poll,a),a.ma.Za()))};ILc.prototype.$b=function(){return this.O.length};
var KLc=function(){};_.g=KLc.prototype;_.g.xM=function(a,b){return ZCc(YCc(1),a).setPosition(b)};_.g.wM=function(a,b){return ZCc(YCc(2).setPosition(b),a)};_.g.FE=function(a,b,c){return ZCc(YCc(3).Xy(b).setPosition(c),a)};_.g.pQ=function(a,b){return ZCc(YCc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,_.xM,2)};
var LLc=function(){_.Ky.call(this,new KLc,function(a){return a.getId()})};_.K(LLc,_.Ky);var NLc=function(){MLc||(MLc=new LLc);return MLc},MLc;
var OLc=function(a,b,c){IM.call(this,b.Jj(),b.tk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.blc(_.Vj(b.Mc.eg(),54,1E3));this.ma=c};_.K(OLc,IM);_.g=OLc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.LG=function(){this.poll()};_.g.getData=function(){var a=new gDc;a=_.Mj(a,2,this.O).Dc(this.status);this.ka=_.xa(this.O);return a};_.g.zr=function(){var a=NLc().my(this.ka,this.O),b=new eDc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.O);return a};
_.g.Rj=function(){return!this.Ue()&&!this.H};_.g.poll=function(){var a=this,b=new _.ai;this.ma(this.request).then(function(c){a.H=!0;c=_.Qj(c,_.xM,2);pL(NLc(),a.O,c)&&(a.changed=!0,a.O=c,a.V.reset());a.Xt();b.callback();PLc(a)},function(c){a.dispatchEvent(new _.rc(c));b.Id(c);PLc(a)});return b};_.g.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};_.g.XO=function(){};
var PLc=function(a){a.active&&(_.n.setTimeout((0,_.M)(a.poll,a),a.V.Za()),_.cI(a.V))};OLc.prototype.$b=function(){return this.O.length};
var QLc=function(){};_.g=QLc.prototype;_.g.xM=function(a,b){return XBc(WBc(1),a).setPosition(b)};_.g.wM=function(a,b){return XBc(WBc(2).setPosition(b),a)};_.g.FE=function(a,b,c){return XBc(WBc(3).Xy(b).setPosition(c),a)};_.g.pQ=function(a,b){return XBc(WBc(4),a).setPosition(b)};_.g.WM=function(a){return _.B(a,_.Kk,2)};
var RLc=function(){_.Ky.call(this,new QLc,function(a){return a.getId()})};_.K(RLc,_.Ky);_.Pf(RLc);
var aN=function(a,b,c){_.zi.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.K(aN,_.zi);aN.prototype.ui=function(a){this.limit=a};aN.prototype.$g=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():SLc(this)};aN.prototype.hka=function(){return this.permissions};
var SLc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.DJ;c=_.I(c,3,a.request);c=_.w(c,2,a.nextPageToken);b=_.w(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};aN.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Xn()||"";a=_.Qj(a.jd(),_.Kk,2);this.permissions=_.wa(this.permissions,a);a.length&&this.dispatchEvent("Aa");if(this.nextPageToken&&this.permissions.length<this.limit)return SLc(this);this.dispatchEvent("Da")};
aN.prototype.handleError=function(a){this.H=!1;a=new vL(_.NI(a),_.Vj(this.context.Mc.eg(),1,1));this.dispatchEvent(a)};
var TLc=function(a,b,c,d){IM.call(this,b.Jj(),b.tk(),d||100);var e=this;this.request=a;this.context=b;this.ka=[];this.permissions=[];this.changed=!1;this.V=null;this.ma=c;this.O=new aN(b,this.request,this.ma);_.Fe(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.K(TLc,IM);_.g=TLc.prototype;_.g.activate=function(){IM.prototype.activate.call(this);this.Xt()};_.g.LG=function(){this.query()};_.g.Ir=function(a){IM.prototype.Ir.call(this,a||100)};
_.g.getData=function(){var a=Osc(new uL,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.zr=function(){var a=RLc.tb().my(this.ka,this.permissions),b=new dCc;a=_.Mj(b,2,a).Dc(this.status);this.ka=_.xa(this.permissions);return a};_.g.Rj=function(){var a;(a=!this.Ue())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.qd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new aN(this.context,this.request,this.ma);this.O.ui(this.limit);return this.O.$g().then(function(){return ULc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){IM.prototype.handleError.call(this,a);VLc(this)};var ULc=function(a){a.H=!0;var b=a.O.hka();pL(RLc.tb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Xt();VLc(a)};
TLc.prototype.Xt=function(){if(this.active){var a=this.status;this.HL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ri(_.Cc,this))}};TLc.prototype.XO=function(){var a=this;this.O.ui(this.limit);this.O.$g().then(function(){return ULc(a)},function(b){return a.handleError(b)})};var VLc=function(a){if(a.active){var b=a.context.Mc.eg();a.V=_.n.setTimeout((0,_.M)(a.query,a),Math.ceil(_.Vj(b,7,9E5)*Math.random())+_.Vj(b,15,36E5))}};TLc.prototype.$b=function(){return this.permissions.length};
var WLc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.ri(_.Cc,a))},0)};
var XLc=function(){},YLc=function(a,b){WM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=XLc;this.H=null;this.id=String(_.Ca(this))};_.K(YLc,WM);YLc.prototype.y$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(jL(a,b,DM)))};YLc.prototype.$g=function(a){a=void 0===a?XLc:a;if(!this.H){this.O=a;var b=_.Zh();this.H=b;this.send("10.1",[this.request],function(c,d){return jL(c[0],d,DM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
YLc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var ZLc=function(a,b,c){_.zi.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Au={};this.O={};_.Fe(this,function(){d.H("7.6",[])})};_.K(ZLc,_.zi);_.g=ZLc.prototype;_.g.getId=function(){return this.instanceId};_.g.oQ=function(){return _.lI()};
_.g.upload=function(a,b){!_.y(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.gjc;_.w(d,1,b.size);_.I(a,15,d);this.O[a.fj()]=b}return _.ii(this.H("7.1",[a,c],function(e,f){return jL(e[0],f,_.XJ)}))};_.g.cancel=function(a){this.H("7.2",[a])};_.g.gG=function(){this.H("7.3",[])};
_.g.retry=function(a){for(var b={},c=_.m(a),d=c.next();!d.done;d=c.next())b[d.value]=new _.ai;c=this.oQ();this.Au[c]=b;b=_.Qa(b);this.H("7.4",[c].concat(_.nd(a)));return b};_.g.vM=function(a,b){var c=this;return _.ii(this.H("7.5",[a].concat(_.nd(b)),function(d){return fpc(d[0])}).then(function(d){return c.V.addCallback(function(e){return e.w2a(d)})}))};var $Lc=function(a,b,c,d){if(a.Au[b]&&a.Au[b][c]){var e=a.Au[b][c];d instanceof _.XJ?e.callback(d):e.Id(d);delete a.Au[b][c];_.Ta(a.Au[b])&&delete a.Au[b]}};
var aMc=function(a,b){WM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.K(aMc,WM);var bMc=function(a){var b=_.lI(),c=new ZLc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.Fe(c,function(){return void a.H.delete(b)});return c};
aMc.prototype.y$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.O[d];a.H("7.7",[d,_.jhc(c,b,Math.min(c.size,b+e))]);break;case 0:b=jL(e[1],b,_.XJ);$Lc(a,d,e[0],b);break;case 1:b=new _.qc(void 0,jL(e[1],b,_.oc));$Lc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.tlc(d,e[0],e[1]));break;default:throw Error("Lg");}}};
var cMc=function(a,b){if(0===a.length)throw new _.qc("mutateUserPref requires a namespace.",_.$I(3));var c=null;b instanceof _.LD?c=(b=(b=_.B(b,_.np,1))&&b.getKey())&&_.op(b)||null:b instanceof _.KD&&(c=(b=b.getKey())&&_.op(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.qc("mutateUserPref unsupported for namespace: "+c,_.$I(3));};
var dMc=function(a){this.H=a};
var Kpc=function(a){WM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(eMc=_.Zh()).promise);var b=this;this.ta=null;this.Qa=this.Ta=this.$a=this.ma=!1;this.ha=this.ka=this.W=null;this.kb=new _.En;this.Ka=new _.En;this.V=eMc;eMc=void 0;this.context=a;aKc(this.context,new zLc(this.V.promise));Asc(this.context.Kg,_.Td(this.context.Mc,28));this.H=this.context.efa;this.O=new CKc(this.V.promise,this.context,this.H);this.Ab=new aMc(this.V.promise,this.context.bQ);this.Ha=new xLc(this.V.promise,this.context);
this.Sc=new _.Ne(this);this.Ma(this.Sc);this.Sc.listen(this.context.tk(),[].concat(_.nd(Object.values(_.EB))),function(c){return void b.dispatchEvent(c)})},eMc;_.K(Kpc,WM);
Kpc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.va.promise;var b=this.context.vk().H(106E3);this.ta.then(function(){b&&b.yj();a.l1a()},function(){_.JK(a.context.vk(),181008852)});var c=_.nK(this.context.Mc)?"(coldstart) ":"";this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Mc.Wi());var d=Soc(this.context.Mc,this.Ai(),_.tK(this.context.Kg));fMc(this,d);2===d.H?(c=new $M(new wKc,6,this.context.Rf()),rLc(c,d.O),this.Ka.resolve(c)):
mpc(this.Ha);this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();ZJc(this.context,function(){return gMc(d.channel)})}return this.ta};
var gMc=function(a){return _.Sja([new _.Vh(function(b){a.isDisposed()||TL(a,"8.1",void 0,function(){a.dispose();b()})}),_.Ei(1E4)])},fMc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Ai(),fds:_.tK(a.context.Kg)}}):c.registerService("1.1",function(){return hMc(a,b)});2===b.H?a.Ka.promise.then(function(){return void iMc(a,b)}):iMc(a,b);SL(c,"2.1",function(){return{dsc:a.context.Mc.Lc()}});SL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new vKc(d.id,
c,a.context.Rf(),d.clients)),d.dsp&&jMc(c),d.ivd&&kMc(a,c)):(d=new _.oc(JSON.parse(d.err)),a.va.reject(new _.qc("Unable to initialize dataservice.",d)))});SL(c,"2.15",function(d){a.dispatchEvent(new nDc(d.dt))});SL(c,"2.5",function(d){a.context.Eu(d.id)});SL(c,"2.6",function(d){a.context.Jj().Ml(d.os)});SL(c,"2.18",function(d){a.context.Jj().Wy(d.oois)});SL(c,"2.7",function(){a.ma=!1});SL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new otc(d.au?"nb":"ob"))});SL(c,"2.19",function(d){a.context.tk().update(d.cs)});
SL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.zt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Rf().config(e,d);break;case "fine":_.rK(a.context.Rf(),e,d,"fine");break;case "finer":_.rK(a.context.Rf(),e,d,"finer");break;case "finest":_.rK(a.context.Rf(),e,d,"finest");break;case "info":a.context.Rf().info(e,d);break;case "warning":case "severe":xsc(a.context.Rf(),e,d);break;default:xsc(a.context.Rf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),xsc(a.context.Rf(),
e,d)}});SL(c,"2.10",function(d){return void a.v$(d)});SL(c,"2.12",function(){a.Qa=!0;bN(a)});SL(c,"2.14",function(){return a.kb.resolve()});SL(c,"2.16",function(){return a.$a=!0});SL(c,"2.17",function(d){a.context.Rf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},iMc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",hMc(a,b));TL(b.channel,"8.4",{dsc:a.context.Mc.Lc()});jMc(b.channel);kMc(a,b.channel)},jMc=function(a){_.n._DRIVE_dsp&&TL(a,"8.3",{dsp:lMc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];TL(a,"8.3",{dsp:lMc(c)})}}},kMc=function(a,b){_.S(a.context.Mc,24,!1)&&(_.n._DRIVE_ivd?TL(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&TL(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},hMc=function(a,b){var c={};if(1===b.H){var d=new _.aQa(document);c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=d.get("APISID")||d.get("__Secure-APISID")}return{ac:c,bl:a.context.Mc.Wi(),
ufds:b.V}};Kpc.prototype.Ai=function(){var a=_.Nj(_.Nj(_.hI(this.context.Mc.clone(),28),44),91),b=new _.sI;b.update(_.lK(_.AI(a)));b.update(String(_.OI(_.AI(a))));b.update(a.Lc());return _.mec(b.digest())};var lMc=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=Kpc.prototype;_.g.v$=function(a){this.dispatchEvent(new _.rc(new _.qc(void 0,new _.oc(JSON.parse(a.p)))))};
_.g.query=function(a){bN(this);Gvc(this.context.tm,a,ysc(this.context.Kg));this.lF();var b=this.O.Vwa(a);this.Ta||(a=a.ve(),a&&121===_.y(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Cc,this.eMa)));return b};_.g.eMa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Ha.H=this.$a,this.Sc.Yc(a,_.Cc,this.eMa))};_.g.Bq=function(a){bN(this);jtc(a);this.lF();return this.O.Swa(a)};
_.g.Rua=function(a,b){var c=this;bN(this);if(this.ka&&_.Uj(this.ka.qd(),a))return this.ka;this.ka=new ILc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return jL(h[0],k,mDc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.MFa=function(a,b){var c=this;bN(this);if(this.ha&&_.Uj(this.ha.qd(),a))return WLc(this.ha),this.ha;this.ha=new TLc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return jL(e[0],f,eCc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.T$=function(a){bN(this);return _.ii(this.send("3.14",[a],function(b,c){return jL(b[0],c,BM)}))};_.g.k8=function(a){bN(this);return _.ii(this.send("3.15",[a],function(b,c){return jL(b[0],c,BM)}))};
_.g.ld=function(a){bN(this);!this.ma&&_.YJ(a)&&(this.ma=!0);a=Uoc(a);return _.ii(this.send("3.3",[a],function(b,c){return jL(b[0],c,_.XJ)}))};_.g.RN=function(a){bN(this);a=dpc(a);return this.send("3.35",[a],function(b,c){return jL(b[0],c,_.ntc)})};_.g.Az=function(a){bN(this);for(var b=0;b<a.length;b++)!this.ma&&_.YJ(a[b])&&(this.ma=!0);a=Xoc(a);return _.ii(this.send("3.4",[a],function(c,d){return Wvc(c[0],d).get()}))};_.g.Rwa=function(){bN(this);return bMc(this.Ab)};
_.g.ZRa=function(a){bN(this);return new yLc(this.V.promise,a)};_.g.yr=function(a,b){var c=this;bN(this);var d=_.Ug();this.H.create(d,a);return _.ii(this.send("3.5",[a,!!b],function(e,f){f=jL(e[0],f,VL);return new _.EK(f,e[1],e[2])})).addCallback(function(e){nwc(c.H,d,e);return e.response}).Pg(function(e){UL(c.H,d);return e})};_.g.xr=function(a){bN(this);return this.send("3.10",[a],function(b,c){return jL(b[0],c,bCc)})};
_.g.V$=function(a){bN(this);return _.ii(this.send("3.11",[a],function(b,c){return jL(b[0],c,fCc)}))};_.g.i8=function(a){bN(this);return _.ii(this.send("3.12",[a],function(b,c){return jL(b[0],c,fCc)}))};_.g.$S=function(a){bN(this);return _.ii(this.send("3.13",[a],function(b,c){return jL(b[0],c,fCc)}))};
_.g.qN=function(a,b){var c=this;bN(this);var d=_.Ug();this.H.create(d,a);return _.ii(this.send("3.1",[a,!!b],function(e,f){f=jL(e[0],f,_.FM);return new _.HK(f,e[1],e[2])})).addCallback(function(e){nwc(c.H,d,e);return e.response}).Pg(function(e){UL(c.H,d);return e})};
_.g.JG=function(a,b){var c=this,d=_.Td(this.context.Mc.eg(),30);if(!d||0===d.length)return _.ji(new _.qc("getUserPrefs requires a namespace.",_.$I(3)));0===_.Td(a,3).length&&npc(a,d);bN(this);var e=_.Ug();this.H.create(e,a);return _.ii(this.send("3.2",[a,!!b],function(f,h){h=jL(f[0],h,_.bA);return new _.GK(h,f[1],f[2])})).addCallback(function(f){nwc(c.H,e,f);return f.response}).Pg(function(f){UL(c.H,e);return f})};
_.g.XR=function(a){bN(this);cMc(_.Td(this.context.Mc.eg(),30),a);a=apc(a);return this.send("3.6",[a],function(b,c){return jL(b[0],c,gCc)})};_.g.lu=function(a){bN(this);return _.ii(this.send("3.16",[a],function(b,c){return jL(b[0],c,Qsc)}))};_.g.wBa=function(){return this.ma};_.g.Ml=function(a){bN(this);this.send("3.8",[a])};_.g.Wy=function(a){bN(this);return _.Wh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.fY=function(a){bN(this);$Jc(this.context).fY(a);this.Wy(!!a)};
_.g.lF=function(){bN(this);this.send("3.9",[])};_.g.ZR=function(){bN(this);this.send("3.41",[]);this.context.ZR();var a=tL(this.context.vk(),106006);a&&this.V.promise.then(function(b){var c=_.B(_.zK(a),$rc,6);if(!c){c=new $rc;var d=_.zK(a);_.I(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.O);a.yj()},function(){})};_.g.HB=function(){bN(this);return this.context.HB()};_.g.hQ=function(){bN(this);return _.Wh(this.send("3.19",[],function(a,b){return jL(a[0],b,Zvc)}))};_.g.isConnected=function(){return this.context.tk().isConnected()};
_.g.D7=function(){return this.send("3.46",[],function(a,b){return jL(a[0],b,_.Qkc)})};_.g.t9=function(){return this.Ha};_.g.sync=function(){bN(this);return _.Wh(this.send("3.28",[]))};_.g.Gu=function(){return this.context.Gu()};_.g.cY=function(a){this.Ka.promise.then(function(b){return void b.cY(a)})};_.g.hda=function(a){bN(this);return this.O.bxa(a)};_.g.DY=function(a){bN(this);return this.O.axa(a)};_.g.JFa=function(a){bN(this);Jvc(this.context.tm,a,ysc(this.context.Kg));return this.O.Ywa(a)};
_.g.vpa=function(a){bN(this);return new YLc(this.V.promise,a)};_.g.Dva=function(a){var b=this;bN(this);if(!this.W||this.W.isDisposed())this.W=new OLc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return jL(d[0],e,gDc)})});return this.W};_.g.uGa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Wh()};_.g.j8=function(a){bN(this);return _.ii(this.send("3.22",[a],function(b,c){return jL(b[0],c,hDc)}))};
_.g.qV=function(a){bN(this);return _.ii(this.send("3.25",[a],function(b,c){return jL(b[0],c,cDc)}))};_.g.lba=function(){return this.kb.promise};_.g.yna=function(a){var b=_.Zh();_.ii(this.send("3.30",[a],function(c,d){c[0]?b.resolve(jL(c[0],d,jDc)):b.reject(new _.qc(void 0,jL(c[1],d,_.oc)))})).Pg(function(c){return void b.reject(c)});return b.promise};_.g.ewa=function(a){bN(this);return this.O.Owa(a)};_.g.y7=function(a){bN(this);return this.send("3.42",[a],function(b,c){return jL(b[0],c,suc)})};
_.g.ZO=function(a){bN(this);var b=new _.En;this.send("3.39",[a],function(c,d){return c.map(function(e){return jL(e,d,ywc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new dMc(b.promise))};_.g.eGa=function(a){var b=this;bN(this);return new BLc(this.context,a,function(c){return _.Wh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new avc(jL(d[0],e,CM),d[1])}))})};
_.g.fGa=function(a){bN(this);return this.send("3.38",[a],function(b,c){return jL(b[0],c,oCc)})};_.g.HKa=function(a){bN(this);return this.O.fxa(a)};_.g.qqa=function(a){bN(this);return this.O.exa(a)};_.g.YIa=function(a){var b=this;bN(this);return new CLc(this.context,a,function(){return _.Wh(b.send("3.40",[a],function(c,d){return jL(c[0],d,_.$K)}))})};_.g.ZIa=function(a){bN(this);return this.O.Zwa(a)};_.g.r_=function(a){bN(this);this.send("3.43",[a])};
_.g.X_=function(a){bN(this);return _.Wh(this.send("3.44",[a],function(b,c){return jL(b[0],c,juc)}))};_.g.Po=function(a){bN(this);if(1!==_.mK(this.context.Mc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Ng"));if(!c.uk()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",a))};
_.g.l1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Ei(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Sja(b).then(function(c){c?_.Ci(a.l1a.bind(a),6E4):(a.Qa=!0,bN(a))})}};var bN=function(a){a.Qa&&a.dispatchEvent(new MDc)};
var Mpc=function(a){KM.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.Zh();this.H=a.Qm()};_.K(Mpc,KM);Mpc.prototype.LRa=function(){this.Ha=new IKc(this.context);this.Ma(this.Ha);this.Ka=new MKc(this.context);this.Ma(this.Ka);this.Qa=new TKc(this.context);this.Ma(this.Qa)};
Mpc.prototype.$a=function(){var a=this,b=["hVFf7"];_.nK(this.context.Mc)&&b.push("BNEDtc");ZL(this.O,b,function(){return void a.HWa()});ZL(this.O,["T8oKm","ZA9qG"],function(){return void mMc(a)});ZL(this.O,["T8oKm","mrK8ic"],function(){return void mMc(a)});this.Sc.listen(this.Ha,"WPi0i",this.msa.bind(this,1));this.Sc.listen(this.Ka,"Qb",this.msa.bind(this,2));this.Sc.listen(this.Qa,"WPi0i",this.msa.bind(this,4));ZL(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var mMc=function(a){OM(a.context).addCallback(function(b){b.start()})};
_.g=Mpc.prototype;_.g.msa=function(a){_.oa(kuc,a)&&this.dispatchEvent(new nDc(a))};_.g.DY=function(a){return this.V.axa(a.clone())};_.g.JFa=function(a){Jvc(this.context.tm,a,ysc(this.context.Kg));return this.V.Ywa(a.clone())};_.g.hda=function(a){return this.V.bxa(a.clone())};_.g.vpa=function(a){return new jLc(a,this.context.Qm())};
_.g.Rua=function(a,b){var c=this;if(this.ta&&_.Uj(this.ta.qd(),a))return this.ta;this.ta=new ILc(a.clone(),this.context,this.njb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.njb=function(a,b,c){var d=new _.yhc(a,b,c);return _.ii(this.H.then(function(e){return e.Re(d)}).Gg(function(e){return _.bJ(e)}))};_.g.Dva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new OLc(a,this.context,function(c){return nMc(b,c)});return this.ha};var nMc=function(a,b){return _.ii(a.H.then(function(c){return c.Re(b)}).Gg(function(c){return _.bJ(c)}))};
_.g=Mpc.prototype;_.g.uGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Wh()};_.g.qV=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}))};_.g.j8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}))};_.g.MFa=function(a,b){var c=this;if(this.ka&&_.Uj(this.ka.qd(),a))return WLc(this.ka),this.ka;this.ka=new TLc(a.clone(),this.context,this.aKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.aKb=function(a){var b=this;return this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Gxc(b.context.wf.sq,_.Qj(c.jd(),_.Kk,2),a.qd().getId()).then(function(){return c}):c},_.bJ)};_.g.T$=function(a){var b=this;return _.ii(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Gxc(b.context.wf.sq,[_.B(c,_.Kk,2)],a.Cc()).then(function(){return c}):c},_.bJ))};
_.g.k8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.ewa=function(a){return this.V.Owa(a.clone())};_.g.y7=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.ZO=function(a){return this.H.then(function(b){return b.Re(a)}).then(function(b){var c=new _.En;Rxc(a,b).then(function(d){return c.resolve(d)});return new dMc(c.promise)},function(b){return void _.bJ(b)})};_.g.eGa=function(a){var b=this;return new BLc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Gg(function(d){return _.bJ(d)})})};
_.g.fGa=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.ld=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.RN=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.Az=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.dJ?c.push(String(f.Cc())):c.push(String(f.getId()));d.push(b.ld(f))});a=new _.to(d);var e=new _.ai;a.addCallback(this.Vlb.bind(this,e,c));return e};
_.g.Rwa=function(){return new ZKc(this.context.Mc,this.context.WA,this.context.aR().dfa,this.context.Qm(),this.context.bQ,this.context.Rf(),this.context.vk())};_.g.yr=function(a,b){var c=this,d=_.Ug();this.W.create(d,a);3===a.getType()?a=KM.prototype.yr.call(this,a).addCallback(function(e){return new _.EK(e,1,!1)}):($L(this.O,"Qubz4b"),a=this.Ka.enqueue(new RKc(a,b)));return a.addCallback(function(e){nwc(c.W,d,e);return e.response}).Pg(function(){UL(c.W,d)})};
_.g.xr=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.V$=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.i8=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};_.g.$S=function(a){return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};
_.g.qN=function(a,b){var c=this;$L(this.O,"iuEtc");var d=_.Ug();this.W.create(d,a);return this.Ha.enqueue(new KKc(a,b)).addCallback(function(e){nwc(c.W,d,e);return e.response}).Pg(function(){UL(c.W,d)})};
_.g.JG=function(a,b){var c=this,d=_.Td(this.context.Mc.eg(),30);if(!d||0===d.length)return _.ji(new _.qc("getUserPrefs requires a namespace.",_.$I(3)));0===_.Td(a,3).length&&npc(a,d);var e=_.Ug();this.W.create(e,a);$L(this.O,"OZvrNc");return this.Qa.enqueue(new WKc(a,b)).addCallback(function(f){nwc(c.W,e,f);return f.response}).Pg(function(){UL(c.W,e)})};_.g.XR=function(a){cMc(_.Td(this.context.Mc.eg(),30),a);return _.ii(this.H.then(function(b){return b.Re(a)}).then(null,_.bJ))};
_.g.lu=function(a){var b=this;return _.ii(this.H.then(function(c){return c.Re(a)}).then(function(c){return _.FI(b.context.Mc)?Exc(b.context.wf.sq,c):c},_.bJ))};_.g.HKa=function(a){return this.V.fxa(a.clone())};_.g.qqa=function(a){return this.V.exa(a.clone())};_.g.YIa=function(a){var b=this;return new CLc(this.context,a,function(c){return b.H.then(function(d){return d.Re(c)}).Gg(function(d){return _.bJ(d)})})};_.g.ZIa=function(a){return this.V.Zwa(a.clone())};
_.g.r_=function(a){CFc(this.context.wf,[a])};_.g.X_=function(a){return this.H.then(function(b){return b.Re(a)}).then(null,_.bJ)};_.g.Po=function(a){if(1!==_.mK(this.context.Mc))return Promise.reject(Error("Mg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Ng"));if(!c.uk()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.wf.Po(a);mGc(this.context.wf);return Promise.resolve()};_.g.wBa=function(){return this.context.aR().cK()};
_.g.Wy=function(a){var b=this;return this.context.Wy(a).then(function(c){return c?(b.context.Jj().Wy(a),b.context.Ns.lL()):_.Wh(!a)})};_.g.fY=function(a){$Jc(this.context).fY(a);this.Wy(!!a)};_.g.lF=function(){OM(this.context).addCallback(function(a){a&&a.boa()});this.context.Oga.lF()};_.g.cY=function(a){a.tMa(this.context)};_.g.Vlb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];mGc(this.context.wf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Yh([this.context.Q$.promise,this.context.ffa.promise]).then(function(){return a.context.Ns.lL()}).then()};_.g.Gu=function(){OM(this.context).addCallback(function(a){a&&a.dispose()});return KM.prototype.Gu.call(this)};_.g.lba=function(){return this.kb.promise};
var oMc=function(){var a='<div class="'+_.E("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.E("la-Y-A")+" "+_.E("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Reload</button>")};
_.Cn({id:_.fm,callback:function(a){var b=_.Vnc(a),c=Ppc(a),d=_.B(a.get(_.Xc),_.Xb,10);_.bjc(d,b);_.Kj(d,28,c);b=Npc(a,d);a.registerService(_.gm,b.t9());_.Te(b,"VbxEwf",function(){var e={};_.zc(_.Qt.getService(a),new _.rq(new _.qq(oMc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.u();

}catch(e){_._DumpException(e)}
try{
_.pMc=function(a,b){return _.I(a,17,b)};_.qMc=function(a,b){return _.w(a,2,b)};_.rMc=function(a,b){return _.w(a,1,b)};_.sMc=function(a,b){return _.I(a,2,b)};_.tMc=function(a,b){return _.Mj(a,1,b)};_.uMc=function(a,b){return _.Kj(a,1,b)};_.vMc=function(a,b){return _.Mj(a,2,b)};_.wMc=function(a,b){return _.I(a,3,b)};_.t("RsR2Mc");

_.u();

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