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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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


_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Mjb=function(a){a=parseInt(_.C(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.Rjb=function(a,b,c,d){var e=_.Ge.getService(a);a=e.Bg(a,c);c=a.H.ol;var f=new _.Njb;b.r0&&_.B(f,2,b.r0);b.GE&&0<=b.GE&&_.B(f,1,b.GE);b.quotaType&&_.B(f,3,b.quotaType);_.Ojb(c,f);d&&(b=new _.Pjb,_.B(b,1,d),_.Qjb(c,b));e.ug(a)};_.Sjb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.Tjb=function(a,b){return!_.F(a,6,!1)||_.F(b,15,!1)};_.Ojb=function(a,b){b&&(a=a.ud(),_.A(a,29,b))};
_.Qjb=function(a,b){b&&(a=a.ud(),_.A(a,38,b))};_.Njb=function(a){_.S(this,a,-1,null,null)};_.O(_.Njb,_.N);_.Pjb=function(a){_.S(this,a,-1,null,null)};_.O(_.Pjb,_.N);_.Pjb.prototype.Rh=function(){return _.C(this,1)};_.t("syn5");
_.Vjb=function(a,b,c){var d=_.H(a.get(_.EFa),1,""),e=_.Mjb(b);d=new _.tj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.yj(_.Aj(_.Aj(_.Aj(_.Aj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.Ujb(a,e,c)),-1!=parseInt(String(_.E(b,_.Xw,2)),10)?"upgrade":"")};
_.Ujb=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"}}};
_.Wjb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.C(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"};

_.w();

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

var Xjb=_.Ujb,Yjb=_.Vjb,Zjb=_.Wjb;_.Ujb=function(a,b,c){return"over"==b&&_.F(a.get(_.Wb),18,!1)?"widget_trial":Xjb(a,b,c)};_.Vjb=function(a,b,c){c=Yjb(a,b,c);"over"===_.Mjb(b)&&_.F(a.get(_.Wb),18,!1)&&_.Aj(c,"eft","1");return c};_.Wjb=function(a,b,c){b=Zjb(a,b,c);a=_.F(a.get(_.Wb),18,!1);return"g1_settings_oos"===b&&a?"g1_settings_trial":"g1_widget_oos"===b&&a?"g1_widget_trial":b};

_.w();

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


_.w();

}catch(e){_._DumpException(e)}
try{
var qsb,tsb;qsb=[4,5,6,7];_.pA=function(a){_.S(this,a,-1,null,null)};_.O(_.pA,_.N);_.pA.prototype.Cb=function(){return _.C(this,1)};_.pA.prototype.Gc=function(a){return _.B(this,1,a)};_.pA.prototype.naa=function(){return _.C(this,2)};_.pA.prototype.hc="JmcaR";_.rsb=function(a){_.S(this,a,-1,null,null)};_.O(_.rsb,_.N);_.rsb.prototype.O=function(){return _.L(this,1)};_.rsb.prototype.hc="dvhrqe";_.ssb=function(a){_.S(this,a,-1,null,null)};_.O(_.ssb,_.N);
_.ssb.prototype.gw=function(){return _.C(this,2)};_.ssb.prototype.tXa=function(){return _.C(this,3)};tsb=[5];_.usb=function(a){_.S(this,a,-1,null,null)};_.O(_.usb,_.N);_.vsb=function(a){_.S(this,a,-1,tsb,null)};_.O(_.vsb,_.N);_.g=_.vsb.prototype;_.g.j_=function(){return _.C(this,1)};_.g.kU=function(){return _.C(this,3)};_.g.AR=function(){return _.uk(this,_.ssb,5)};_.g.Po=function(){return _.C(this,6)};_.g.fw=function(){return _.C(this,7)};_.g.Az=function(){return _.C(this,10)};_.g.hc="dzR11e";
_.wsb=function(a){_.S(this,a,-1,qsb,null)};_.O(_.wsb,_.N);_.wsb.prototype.O=function(){return _.E(this,_.vsb,1)};_.wsb.prototype.vN=function(){return _.E(this,_.pA,8)};_.wsb.prototype.V=function(){return _.E(this,_.rsb,9)};_.t("syn1");
_.qA=function(a){_.S(this,a,-1,xsb,null)};_.O(_.qA,_.N);_.qA.prototype.getUser=function(){return _.E(this,_.$k,1)};_.qA.prototype.getMetadata=function(){return _.E(this,_.wsb,3)};_.qA.prototype.Dp=function(){return _.T(this,3)};var xsb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syn2");
var vlb;_.xz=function(a){_.S(this,a,-1,vlb,null)};_.O(_.xz,_.N);_.xz.prototype.O=function(){return _.Jd(this,1)};_.yz=function(a,b){return _.jk(a,1,b)};_.xz.prototype.jn=function(){return _.Jd(this,2)};_.zz=function(a,b){return _.jk(a,2,b)};_.xz.prototype.xe=function(){return _.E(this,_.lf,3)};_.Az=function(a,b){return _.A(a,3,b)};_.wlb=function(a,b){return _.B(a,5,b)};vlb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.tA=function(a){return a instanceof _.kc?a:a instanceof _.jc?new _.kc(void 0,a):a instanceof Error?new _.kc(a.message,void 0,a):new _.kc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.Asb=function(a){return a instanceof Error?_.tA(a).ih:a instanceof _.kc?a.ih:a};_.t("syn4");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syn6");
_.uA={HL:"eb",fia:"fb",MU:"gb",LU:"hb"};_.Bsb=new Map([[_.uA.HL,1],[_.uA.fia,2],[_.uA.MU,2],[_.uA.LU,3]]);

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var tub;_.sub=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")};tub=function(a){var b=_.paa(_.sGa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.uub=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.sGa[a.name]):(this.code=a=a.code,this.name=tub(a));_.ea.call(this,_.sub("%s %s",this.name,b))};_.Kf(_.uub,_.ea);var vub=function(a,b){_.xi.call(this,a.type,b)};
_.Kf(vub,_.xi);_.t("syos");
/*

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.erb=function(a){_.S(this,a,-1,null,null)};_.O(_.erb,_.N);_.erb.prototype.O=function(){return _.C(this,1)};_.erb.prototype.Cb=function(){return _.C(this,2)};_.erb.prototype.Gc=function(a){return _.B(this,2,a)};_.erb.prototype.V=function(){return _.C(this,3)};_.t("sysz");
_.grb=function(a){_.S(this,a,-1,frb,null)};_.O(_.grb,_.N);_.grb.prototype.O=function(){return _.Jd(this,1)};var frb=[1];
_.irb=function(a){_.S(this,a,-1,hrb,null)};_.O(_.irb,_.N);_.irb.prototype.O=function(){return _.uk(this,_.erb,1)};var hrb=[1];
_.krb=function(a){_.S(this,a,-1,jrb,null)};_.O(_.krb,_.N);_.krb.prototype.O=function(){return _.uk(this,_.irb,1)};_.krb.prototype.addResult=function(a,b){return _.wk(this,1,a,_.irb,b)};var jrb=[1];
_.lrb=function(a){_.S(this,a,-1,null,null)};_.O(_.lrb,_.N);_.lrb.prototype.V=function(){return _.E(this,_.krb,1)};_.lrb.prototype.O=function(){return _.E(this,_.grb,2)};
_.iA=function(a){_.S(this,a,-1,mrb,null)};_.O(_.iA,_.N);_.g=_.iA.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Id=function(){return _.uk(this,_.sl,2)};_.g.Nw=function(a){return _.Db(this,2,a)};_.g.nh=function(a,b){return _.wk(this,2,a,_.sl,b)};_.g.fk=function(){return _.C(this,3)};_.g.tl=function(){return _.F(this,5,!0)};_.g.I6=function(){return _.E(this,_.lrb,7)};_.g.Qta=function(){return _.L(this,8)};_.g.Sf=function(){return _.C(this,17)};
_.g.ZP=function(a){return _.B(this,17,a)};_.g.sf=function(){return _.C(this,12)};_.g.fj=function(a){return _.B(this,12,a)};_.g.Yn=function(){return _.C(this,15)};_.g.Fla=function(){return _.Jd(this,18)};var mrb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syu5");
_.OB=function(a){_.S(this,a,-1,null,null)};_.O(_.OB,_.N);_.OB.prototype.getKey=function(){return _.E(this,_.Nb,1)};_.OB.prototype.ws=function(){return _.T(this,1)};_.OB.prototype.xe=function(){return _.E(this,_.lf,2)};
_.PB=function(a){_.S(this,a,-1,null,null)};_.O(_.PB,_.N);_.PB.prototype.xe=function(){return _.E(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syu6");
_.NB=function(a){_.S(this,a,-1,bAb,null)};_.O(_.NB,_.N);_.NB.prototype.xe=function(){return _.E(this,_.lf,1)};var bAb=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VC=function(a,b,c){_.P.call(this);this.Mn=null!=c?(0,_.v)(a,c):a;this.ha=b;this.ah=(0,_.v)(this.K$a,this);this.H=!1;this.O=0;this.V=this.ae=null;this.W=[]};_.Kf(_.VC,_.P);_.g=_.VC.prototype;_.g.Be=function(a){this.W=arguments;this.H=!1;this.ae?this.V=_.If()+this.ha:this.ae=_.Ii(this.ah,this.ha)};_.g.stop=function(){this.ae&&(_.Ji(this.ae),this.ae=null);this.V=null;this.H=!1;this.W=[]};_.g.pause=function(){++this.O};
_.g.resume=function(){this.O&&(--this.O,!this.O&&this.H&&(this.H=!1,this.Mn.apply(null,this.W)))};_.g.Za=function(){this.stop();_.VC.ub.Za.call(this)};_.g.K$a=function(){this.ae&&(_.Ji(this.ae),this.ae=null);this.V?(this.ae=_.Ii(this.ah,this.V-_.If()),this.V=null):this.O?this.H=!0:(this.H=!1,this.Mn.apply(null,this.W))};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxd");
_.xE=function(a){_.S(this,a,-1,null,null)};_.O(_.xE,_.N);_.xE.prototype.ha=function(){return _.gk(this,1)};_.xE.prototype.V=function(){return _.gk(this,2)};_.xE.prototype.O=function(){return _.gk(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxj");
_.fF=function(a){_.S(this,a,-1,null,null)};_.O(_.fF,_.N);_.fF.prototype.getName=function(){return _.C(this,1)};_.fF.prototype.ld=function(a){return _.B(this,1,a)};_.fF.prototype.xe=function(){return _.E(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxk");
_.gF=function(a){_.S(this,a,-1,null,null)};_.O(_.gF,_.N);_.g=_.gF.prototype;_.g.Ui=function(){return _.C(this,1)};_.g.yi=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.xe=function(){return _.E(this,_.lf,3)};_.g.Rp=function(){return _.C(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxl");
_.hF=function(a){_.S(this,a,-1,null,null)};_.O(_.hF,_.N);_.hF.prototype.Ui=function(){return _.C(this,1)};_.hF.prototype.yi=function(a){return _.B(this,1,a)};_.hF.prototype.xe=function(){return _.E(this,_.lf,2)};_.hF.prototype.hc="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxm");
_.iF=function(a){_.S(this,a,-1,GVb,null)};_.O(_.iF,_.N);_.iF.prototype.O=function(){return _.Jd(this,1)};_.iF.prototype.jn=function(){return _.Jd(this,2)};_.iF.prototype.xe=function(){return _.E(this,_.lf,3)};var GVb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.jF=function(a){_.S(this,a,-1,null,null)};_.O(_.jF,_.N);_.g=_.jF.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.getState=function(){return _.C(this,5)};_.g.Rd=function(a){return _.B(this,5,a)};_.g.xs=function(){return _.T(this,5)};_.t("syxn");
_.kF=function(a){_.S(this,a,-1,HVb,null)};_.O(_.kF,_.N);_.kF.prototype.jn=function(){return _.Jd(this,1)};_.IVb=function(a,b){return _.jk(a,1,b)};_.kF.prototype.xe=function(){return _.E(this,_.lf,2)};var HVb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.lF=function(a,b){return _.B(a,4,b)};_.JVb=function(a,b){_.B(a,11,b)};_.KVb=function(a,b){return _.B(a,25,b)};_.t("syxo");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxt");
_.fWb=function(a){_.S(this,a,-1,null,null)};_.O(_.fWb,_.N);_.fWb.prototype.Ui=function(){return _.C(this,3)};_.fWb.prototype.yi=function(a){return _.B(this,3,a)};_.fWb.prototype.xe=function(){return _.E(this,_.lf,5)};

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syxx");
_.vF=function(a){_.S(this,a,-1,null,null)};_.O(_.vF,_.N);_.vF.prototype.Nc=function(){return _.C(this,1)};_.KWb=function(a){var b=new _.vF;return _.B(b,1,a)};_.vF.prototype.Ui=function(){return _.C(this,2)};_.vF.prototype.yi=function(a){return _.B(this,2,a)};_.vF.prototype.xe=function(){return _.E(this,_.lf,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.pWb=function(a){_.S(this,a,-1,null,null)};_.O(_.pWb,_.N);_.t("syxz");

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("syya");
_.oF=function(a){_.S(this,a,-1,RVb,null)};_.O(_.oF,_.N);_.oF.prototype.getId=function(){return _.C(this,1)};_.oF.prototype.Rb=function(a){return _.B(this,1,a)};_.oF.prototype.Oz=function(){return _.C(this,2)};var RVb=[5,6,9,10,12,13,15,16];
var SVb;_.pF=function(a){_.S(this,a,-1,SVb,null)};_.O(_.pF,_.N);_.pF.prototype.an=function(){return _.C(this,1)};_.TVb=function(a,b){return _.B(a,1,b)};SVb=[2,4];

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.qac=function(a,b,c){_.qj(a.url,function(d){d=d.target;d.wv()?b(d.ul()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.rac=function(a,b,c,d){return _.H(a,1).split("/").pop()==d?(d=_.C(a,2),Array.isArray(d)?new b(d):c(_.jb(a.Xa()))):null};_.t("sy117");
var tac=function(a){_.S(this,a,-1,sac,null)};_.O(tac,_.N);var sac=[2];
_.uac=function(a){_.S(this,a,-1,null,null)};_.O(_.uac,_.N);var vac=function(){var a=new _.uac,b=document.documentElement.getAttribute("lang");return _.B(a,5,b)};_.uac.prototype.Ri=function(){return _.C(this,7)};
_.wac=function(a){_.S(this,a,-1,null,null)};_.O(_.wac,_.N);
var xac;_.EG=function(a){_.S(this,a,31,xac,null)};_.O(_.EG,_.N);_.FG=function(a,b){return _.B(a,8,b)};xac=[3,20,27];
var zac=function(a){_.S(this,a,17,yac,null)};_.O(zac,_.N);var Aac=function(a){var b=Date.now().toString();return _.B(a,4,b)},Bac=function(a,b){return _.Db(a,3,b)},Cac=function(a,b){return _.B(a,14,b)},yac=[3,5];
var Eac=function(a){_.S(this,a,6,Dac,null)};_.O(Eac,_.N);var Dac=[5];
var Fac=function(a){_.S(this,a,-1,null,null)};_.O(Fac,_.N);
var Gac=new _.Kk(175237375,Fac);
_.GG=function(a,b,c,d,e,f,h,k,l,p,q){var r=this;_.Q.call(this);this.hd=a;this.Ab=b||_.Ff;this.ka=new zac;this.La="";this.Hd=d;this.Hb=q;this.O=[];this.Qc="";this.Le=_.rb(_.Mia,0,1);this.Ba=e||null;this.Ha=c||null;this.Qa=h||!1;this.ab=l||null;this.Sb=this.Xb=this.W=!1;this.Yc=this.kb=-1;this.Bc=!1;this.ha=null;this.Xd=!k;this.Fa=null;this.wa=0;this.Ze=1;this.Lc=f||!1;this.ob=!1;this.ie=!this.Lc&&(_.Kj.tn&&_.vb(65)||_.Kj.Mw&&_.vb(45)||_.Kj.Uu&&_.vb(12)||_.Yg()&&0<=_.hg(_.mia(),12))&&!!_.hf()&&!!_.hf().navigator&&
!!_.hf().navigator.sendBeacon;a=_.B(new _.wac,1,1);f||(f=vac(),_.A(a,11,f));_.A(this.ka,1,a);_.B(this.ka,2,this.hd);this.ma=new _.CG(1E4,3E5,.1);this.H=new _.Hi(this.ma.Xa());this.Ma(this.H);_.re(this.H,"tick",_.Tfa(Hac(this,p)),!1,this);this.Ta=new _.Hi(6E5);this.Ma(this.Ta);_.re(this.Ta,"tick",_.Tfa(Hac(this,p)),!1,this);this.Qa||this.Ta.start();this.Lc||(_.re(_.hf(),"beforeunload",this.ta,!1,this),_.re(_.hf(),"unload",this.ta,!1,this),_.re(document,"visibilitychange",function(){"hidden"===document.visibilityState&&
r.ta()}),_.re(document,"pagehide",this.ta,!1,this))};_.Kf(_.GG,_.Q);var Hac=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.GG.prototype.Za=function(){this.ta();_.GG.ub.Za.call(this)};var Iac=function(a){a.Ba||(a.Ba=.01>a.Le()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.GG.prototype.V=function(a){a instanceof _.EG?this.log(a):(a=_.FG(new _.EG,a.Tb()),this.log(a))};
_.Jac=function(a,b){b?(a.ha||(a.ha=new tac),b=b.Tb(),_.B(a.ha,4,b)):a.ha&&_.kk(a.ha,4)};_.Kac=function(a){a.Xb=a.ie};_.Lac=function(a,b){a.ma=new _.CG(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Xa())};
_.GG.prototype.log=function(a){a=a.clone();var b=this.Ze++;_.B(a,21,b);this.La&&_.B(a,26,this.La);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.B(b,1,c)}_.T(a,15)||_.B(a,15,60*(new Date).getTimezoneOffset());this.ha&&(b=this.ha.clone(),_.A(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.wa;this.O.push(a);this.dispatchEvent(new Mac(a));this.Qa||this.H.enabled||this.H.start()};
_.GG.prototype.flush=function(a,b){var c=this;if(0==this.O.length)a&&a();else if(this.ob)Nac(this);else{var d=Date.now();if(this.Yc>d&&this.kb<d)b&&b("throttled");else{var e=Cac(Bac(Aac(this.ka.clone()),this.O),this.wa);d={};var f=this.Ab();f&&(d.Authorization=f);var h=Iac(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.ij(h,"authuser",this.Ha));this.ab&&(d["X-Goog-PageId"]=this.ab,h=_.ij(h,"pageId",this.ab));if(f&&this.Qc==f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.wa=0,this.W)a&&a();else{var k=e.Tb(),l;this.Fa&&this.Fa.mu(k.length)&&(l=this.Fa.g8b(k));var p={url:h,body:k,Zlb:1,requestHeaders:d,requestType:"POST",withCredentials:this.Xd,timeoutMillis:0},q=(0,_.v)(function(y){this.ma.reset();this.H.setInterval(this.ma.Xa());if(y){try{var z=JSON.parse(y.replace(")]}'\n",""));var D=new Eac(z)}catch(G){}D&&(y=_.Gma(D,1,"-1"),y=Number(y),0<y&&(this.kb=Date.now(),this.Yc=this.kb+y),D=_.yk(D,Gac))&&(D=_.dk(D,1,-1),-1!=D&&(this.Bc||_.Lac(this,D)))}a&&a()},this),
r=(0,_.v)(function(y){var z=_.uk(e,_.EG,3);_.DG(this.ma);this.H.setInterval(this.ma.Xa());401==y&&f&&(this.Qc=f);if(500<=y&&600>y||401==y||0==y)this.O=z.concat(this.O),this.Qa||this.H.enabled||this.H.start();b&&b("net-send-failed",y)},this),u=function(){c.Hb?c.Hb.send(p,q,r):c.Hd(p,q,r)};l?l.then(function(y){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=y;p.Zlb=2;u()},function(){u()}):u()}}}};
_.GG.prototype.ta=function(){this.W||(this.Xb&&Nac(this),this.Sb&&Oac(this),this.flush())};
var Nac=function(a){Pac(a,32,10,function(b,c){b=_.ij(b,"format","json");b=_.hf().navigator.sendBeacon(b,c.Tb());a.ob&&!b&&(a.ob=!1);return b})},Oac=function(a){Pac(a,6,5,function(b,c){b=_.gj(b,"format","base64json","p",_.Lj(c.Tb(),3));_.Bg(new Image,b);return!0})},Pac=function(a,b,c,d){if(0!=a.O.length){var e=_.Fla(Iac(a),"format");e=_.gj(e,"auth",a.Ab(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Bac(Aac(a.ka.clone()),h);0===f&&Cac(k,a.wa);if(!d(e,k))break;a.O=a.O.slice(h.length)}a.H.enabled&&
a.H.stop();a.wa=0}},Mac=function(){this.type="event-logged"};_.Kf(Mac,_.xi);

_.w();

}catch(e){_._DumpException(e)}
try{
var Qac=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 u=h,y=0;64>y;y+=4)u[y/4]=r[y]<<24|r[y+1]<<16|r[y+2]<<8|r[y+3];for(y=16;80>y;y++)r=u[y-3]^u[y-8]^u[y-14]^u[y-16],u[y]=(r<<1|r>>>31)&4294967295;r=e[0];var z=e[1],D=e[2],G=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var M=G^z&(D^G);var R=1518500249}else M=z^D^G,R=1859775393;else 60>y?(M=z&D|G&(z|D),R=2400959708):(M=z^D^G,R=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+I+R+u[y]&4294967295;I=G;G=D;D=(z<<30|z>>>2)&4294967295;z=r;r=M}e[0]=e[0]+r&4294967295;e[1]=e[1]+z&4294967295;e[2]=e[2]+D&4294967295;e[3]=e[3]+G&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var y=[],z=0,D=r.length;z<D;++z)y.push(r.charCodeAt(z));r=y}u||(u=r.length);y=0;if(0==p)for(;y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64;for(;y<u;)if(f[p++]=r[y++],q++,64==p)for(p=0,b(f);y+64<u;)b(r.slice(y,y+64)),y+=64,q+=64}function d(){var r=[],
u=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var y=63;56<=y;y--)f[y]=u&255,u>>>=8;b(f);for(y=u=0;5>y;y++)for(var z=24;0<=z;z-=8)r[u++]=e[y]>>z&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(),u="",y=0;y<r.length;y++)u+="0123456789ABCDEF".charAt(Math.floor(r[y]/16))+"0123456789ABCDEF".charAt(r[y]%16);return u}}};_.t("sy118");
var Rac=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("Ae`"+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("Be`"+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 Tac=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,Sac(Rac(d),a,c||null)].join(" "):null},Sac=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ka(d,function(k){e.push(k)}),Uac(e.join(" "));var f=[],h=[];_.Ka(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.na(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ka(d,function(k){e.push(k)});a=Uac(e.join(" "));a=[c,a];_.na(h)||a.push(h.join(""));return a.join("_")},Uac=function(a){var b=
Qac();b.update(a);return b.digestString().toLowerCase()};
var Vac={};
var Wac,Yac;Wac=function(a){return!!Vac.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Xac=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;Wac(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.Ngb(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Wac(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Yac=function(a,b,c,d){(a=_.n[a])||(a=(new _.Ngb(document)).get(b));return a?Tac(a,c,d):null};
_.Zac=function(a,b){b=void 0===b?!1:b;var c=Rac(String(_.n.location.href)),d=[];if(_.Xac(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 _.Ngb(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Tac(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Wac(b)&&((b=Yac("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Yac("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.UG=function(a,b){a.H=b;a.ka=0};_.VG=function(a,b){return _.B(a,b,[])};_.t("sy11e");
_.WG=function(a,b,c,d,e,f,h){_.GG.call(this,a,_.Zac,b,_.qac,c,d,e,void 0,f,h)};_.O(_.WG,_.GG);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14b");
_.uRc=function(a){_.S(this,a,-1,null,null)};_.O(_.uRc,_.N);_.g=_.uRc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.ws=function(){return _.T(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Lb=function(a){return _.B(this,2,a)};_.g.Gi=function(){return _.kk(this,2)};_.g.wh=function(){return _.T(this,2)};
_.rK=function(a){_.S(this,a,-1,vRc,null)};_.O(_.rK,_.N);_.rK.prototype.Kz=function(){return _.C(this,1)};_.rK.prototype.getUrl=function(){return _.C(this,3)};_.rK.prototype.ha=function(){return _.C(this,5)};var vRc=[2,4,6];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14c");
_.wRc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.xRc=_.$a(_.wRc);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy14s");
var yRc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};yRc.prototype.get=function(a){return zRc(this)[a]||null};yRc.prototype.set=function(a){zRc(this)[this.V(a)]=a;this.O=null};var zRc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.sK=function(a,b){this.H=a;this.nB=b};
_.sK.prototype.Ez=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!ARc(this,a[d],b[d])){c=d;break b}c=-1}if(-1==c){if(a.length==b.length){c=[];break a}if(a.length>b.length){c=[];for(var e=d=b.length;e<a.length;e++)c.push(this.H.KM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.LM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&ARc(this,a[d],b[e]);d--,e--);e=a.length-1-d;var f=a.length-e;d=a.slice(c,f);f=b.length-e;e=
b.slice(c,f);var h,k=[];for(f=0;f<d.length+1;f++)k[f]=[],k[f][0]=0;for(h=0;h<e.length+1;h++)k[0][h]=0;for(f=1;f<=d.length;f++)for(h=1;h<=e.length;h++)ARc(this,d[f-1],e[h-1])?k[f][h]=k[f-1][h-1]+1:k[f][h]=Math.max(k[f-1][h],k[f][h-1]);var l=[];f=d.length;for(h=e.length;0<f||0<h;)0<f&&0<h&&ARc(this,d[f-1],e[h-1])?(h--,f--):0<h&&(0==f||k[f][h-1]>k[f-1][h])?(l.unshift(this.H.LM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.KM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.nB(this.H.qN(d[f])),void 0!==e[h]){h=e[h];l=d[h];var p=d[f];k=1==l.getType()?l:p;l=2==l.getType()?l:p;if(k=this.NE(l,k))d[h]=k,d.splice(f,1),f--}else e[h]=f;e=[];if(null!=d)for(f=0;f<d.length;f++){l=d[f];p=l.Vi()||0;var q=l.ky()||0;l.setPosition((l.Vi()||0)+BRc(e,l.Vi()||0));d[f].setPosition((d[f].Vi()||0)+c);3==d[f].getType()&&(l.Oy((l.ky()||0)+BRc(e,l.ky()||0)),d[f].Oy((d[f].ky()||0)+c));h=e;k=h.push;b:switch(l.getType()){case 1:l={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:l={offset:-1,
start:p,end:Number.MAX_VALUE};break b;case 3:l=p>q?{offset:-1,start:q,end:p}:{offset:1,start:p,end:q};break b;default:l={offset:0,start:-1,end:-1}}k.call(h,l)}c=d}d=[];a=new yRc(a,this.nB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.nB(f)))&&!_.Bk(h||void 0,f||void 0)&&d.push(this.H.NQ(f,e));return c.concat(d)};var BRc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};
_.sK.prototype.NE=function(a,b){var c=b.Vi()||0;c>(a.Vi()||0)&&--c;return this.H.NE(this.H.qN(b),a.Vi()||0,c)};var ARc=function(a,b,c){return a.nB(b)==a.nB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.tK=function(a){_.S(this,a,-1,null,null)};_.O(_.tK,_.N);_.g=_.tK.prototype;_.g.getType=function(){return _.C(this,1)};_.g.Ib=function(a){return _.B(this,1,a)};_.g.getItem=function(){return _.E(this,_.sl,2)};_.g.setItem=function(a){return _.A(this,2,a)};_.g.ky=function(){return _.C(this,3)};_.g.Oy=function(a){return _.B(this,3,a)};_.g.Vi=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.B(this,4,a)};_.t("sy15x");
var CRc=function(){};_.g=CRc.prototype;_.g.LM=function(a,b){return(new _.tK).Ib(1).setItem(a).setPosition(b)};_.g.KM=function(a,b){return(new _.tK).Ib(2).setPosition(b).setItem(a)};_.g.NE=function(a,b,c){return(new _.tK).Ib(3).Oy(b).setPosition(c).setItem(a)};_.g.NQ=function(a,b){return(new _.tK).Ib(4).setItem(a).setPosition(b)};_.g.qN=function(a){return a.getItem()};
var ERc;_.DRc=function(){_.sK.call(this,new CRc,function(a){return a.getId()})};_.O(_.DRc,_.sK);_.FRc=function(){ERc||(ERc=new _.DRc);return ERc};

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.uK=function(a,b,c){_.P.call(this);this.Mn=null!=c?a.bind(c):a;this.W=b;this.V=null;this.H=!1;this.O=0;this.ae=null};_.O(_.uK,_.P);_.g=_.uK.prototype;_.g.Be=function(a){this.V=arguments;this.ae||this.O?this.H=!0:IRc(this)};_.g.stop=function(){this.ae&&(_.Ji(this.ae),this.ae=null,this.H=!1,this.V=null)};_.g.pause=function(){this.O++};_.g.resume=function(){this.O--;this.O||!this.H||this.ae||(this.H=!1,IRc(this))};_.g.Za=function(){_.P.prototype.Za.call(this);this.stop()};
var IRc=function(a){a.ae=_.Ii(function(){a.ae=null;a.H&&!a.O&&(a.H=!1,IRc(a))},a.W);var b=a.V;a.V=null;a.Mn.apply(null,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
var JRc,MRc;JRc=[3,42];_.KRc=function(a){_.S(this,a,-1,JRc,null)};_.O(_.KRc,_.N);_.KRc.prototype.getMimeType=function(){return _.C(this,27)};_.LRc=function(a){return _.Cb(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};MRc=function(a,b){if(b&&a in b)return a;var c=_.mHa();return c?(c=c.toLowerCase(),a=c+_.hia(a),void 0===b||a in b?a:null):null};_.t("sy16l");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var NRc=function(a){_.xi.call(this,"visibilitychange");this.hidden=a};_.O(NRc,_.xi);
_.ORc=function(a){_.Q.call(this);this.xd=a||_.oh();if(this.iB=this.zsb())this.H=_.re(this.xd.$b(),this.iB,(0,_.v)(this.yab,this))};_.Kf(_.ORc,_.Q);_.g=_.ORc.prototype;_.g.zsb=_.Dca(function(){var a=this.mu(),b="hidden"!=this.uBa();if(a){var c;b?c=((_.mHa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.uBa=_.Dca(function(){return MRc("hidden",this.xd.$b())});_.g.dub=_.Dca(function(){return MRc("visibilityState",this.xd.$b())});_.g.mu=function(){return!!this.uBa()};
_.g.mH=function(){return!!this.xd.$b()[this.uBa()]};_.g.yab=function(){var a=this.mu()?this.xd.$b()[this.dub()]:null;a=new NRc(this.mH(),a);this.dispatchEvent(a)};_.g.Za=function(){_.Fi(this.H);_.ORc.ub.Za.call(this)};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var QRc;QRc=[2];_.RRc=function(a){_.S(this,a,-1,QRc,null)};_.O(_.RRc,_.N);_.RRc.prototype.Cb=function(){return _.C(this,1)};_.RRc.prototype.Gc=function(a){return _.B(this,1,a)};_.RRc.prototype.fk=function(){return _.C(this,3)};_.t("sy17b");
var SRc;_.wK=function(a){_.S(this,a,-1,SRc,null)};_.O(_.wK,_.N);_.wK.prototype.O=function(){return _.Jd(this,1)};_.wK.prototype.xe=function(){return _.E(this,_.lf,2)};_.TRc=function(a,b){return _.A(a,2,b)};_.wK.prototype.Ui=function(){return _.dk(this,3,20)};_.wK.prototype.yi=function(a){return _.B(this,3,a)};_.wK.prototype.Nm=function(){return _.L(this,4)};_.URc=function(a,b){return _.B(a,4,b)};SRc=[1];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VRc=function(a){_.P.call(this);this.O=a;this.H={};this.O.RO((0,_.v)(this.V,this))};_.Kf(_.VRc,_.P);_.XRc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Fe`"+b);if(b in a.H)throw Error("Ge`"+b);var c=new WRc(a,b);return a.H[b]=c};_.VRc.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)}};_.VRc.prototype.Za=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var WRc=function(a,b){_.P.call(this);this.Vg=a;this.H=b};_.Kf(WRc,_.P);_.g=WRc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Vg.O.registerService(this.H+":"+a,(0,_.v)(this.lUa,this,b),c)};_.g.RO=function(a){this.O=(0,_.v)(this.lUa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("He");this.Vg.O.send(this.H+":"+a,b)};_.g.lUa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Za=function(){this.Vg=this.Vg.H[this.H]=null};

_.w();

}catch(e){_._DumpException(e)}
try{
var YRc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Jfa);try{delete a[_.Jfa]}catch(b){}},xK=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.Da(f)){f[_.Jfa]||c.push(f);var l=_.Ea(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var 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++)YRc(c[a]);return b.join("")};_.t("sy17r");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ZRc,zK,aSc,$Rc;_.yK=function(a,b,c){if("number"===typeof a)var d={name:$Rc(a)};else d=a,a=aSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Kf(_.yK,_.ea);_.yK.prototype.getName=function(){return this.O.name||""};zK={Mjb:1,bjb:2,NOT_FOUND_ERR:3,G9a:4,M9a:5,djb:6,Hjb:7,ABORT_ERR:8,qjb:9,p6b:10,TIMEOUT_ERR:11,njb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.bSc=(_.n.FI||_.n.xL||zK).Mjb;_.cSc=(_.n.FI||_.n.xL||zK).bjb;_.dSc=(_.n.FI||_.n.xL||zK).NOT_FOUND_ERR;
_.eSc=(_.n.FI||_.n.xL||zK).G9a;_.fSc=(_.n.FI||_.n.xL||zK).M9a;_.gSc=(_.n.FI||_.n.xL||zK).djb;_.hSc=(_.n.FI||_.n.xL||zK).Hjb;_.iSc=(_.n.FI||_.n.xL||zK).ABORT_ERR;_.jSc=(_.n.FI||_.n.xL||zK).qjb;_.kSc=(_.n.FI||_.n.xL||zK).TIMEOUT_ERR;_.lSc=(_.n.FI||_.n.xL||zK).njb;_.mSc=(_.n.DOMException||zK).INVALID_ACCESS_ERR;_.nSc=(_.n.DOMException||zK).INVALID_STATE_ERR;
aSc=function(a){switch(a){case "UnknownError":return _.bSc;case "NotFoundError":return _.dSc;case "ConstraintError":return _.eSc;case "DataError":return _.fSc;case "TransactionInactiveError":return _.hSc;case "AbortError":return _.iSc;case "ReadOnlyError":return _.jSc;case "TimeoutError":return _.kSc;case "QuotaExceededError":return _.lSc;case "InvalidAccessError":return _.mSc;case "InvalidStateError":return _.nSc;default:return _.bSc}};
$Rc=function(a){switch(a){case _.bSc:return"UnknownError";case _.dSc:return"NotFoundError";case _.eSc:return"ConstraintError";case _.fSc:return"DataError";case _.hSc:return"TransactionInactiveError";case _.iSc:return"AbortError";case _.jSc:return"ReadOnlyError";case _.kSc:return"TimeoutError";case _.lSc:return"QuotaExceededError";case _.mSc:return"InvalidAccessError";case _.nSc:return"InvalidStateError";default:return"UnknownError"}};
_.AK=function(a,b){return"error"in a?new _.yK(a.error,b):new _.yK({name:"UnknownError"},b)};_.BK=function(a,b){if("name"in a)return b=b+": "+a.message,new _.yK(a,b);if("code"in a){var c=$Rc(a.code);b=b+": "+a.message;return new _.yK({name:c},b)}return new _.yK({name:"UnknownError"},b)};
_.oSc=function(a){this.H=a};_.pSc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.oSc.prototype.range=function(){return this.H};
var qSc=function(a){this.H=a};qSc.prototype.getName=function(){return this.H.name};var rSc=function(a,b,c,d){var e=new _.hi;try{var f=a.H[b](d)}catch(h){return c+=" with key "+xK(d),e.Od(_.BK(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+xK(d);e.Od(_.AK(h.target,c))};return e};qSc.prototype.get=function(a){return rSc(this,"get","getting from index "+this.getName(),a)};
qSc.prototype.getKey=function(a){return rSc(this,"getKey","getting key from index "+this.getName(),a)};qSc.prototype.getAll=function(a,b){return _.sSc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.sSc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.oSc?d.range():(new _.oSc(_.pSc.only(d))).range();var h=new _.hi;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?xK(f):"<all>"),h.Od(_.BK(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?xK(f):"<all>");h.Od(_.AK(l.target,c))};return h};
var tSc=function(a){this.H=a};tSc.prototype.getName=function(){return this.H.name};var uSc=function(a,b,c,d,e){var f=new _.hi;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=xK(d),e&&(c+=", with key "+xK(e)),f.Od(_.BK(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=xK(d);e&&(c+=", with key "+xK(e));f.Od(_.AK(k.target,c))};return f};_.g=tSc.prototype;_.g.put=function(a,b){return uSc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return uSc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.hi;try{var c=this.H["delete"](a instanceof _.oSc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+xK(a),b.Od(_.BK(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+xK(a);b.Od(_.AK(e.target,f))};return b};
_.g.get=function(a){var b=new _.hi;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+xK(a),b.Od(_.BK(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 "+xK(a);b.Od(_.AK(e.target,f))};return b};_.g.getAll=function(a,b){return vSc(this,"getting all from index "+this.getName(),a,b)};
var vSc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.oSc?c.range():(new _.oSc(_.pSc.only(c))).range();var f=new _.hi;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?xK(e):"<all>"),f.Od(_.BK(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?xK(e):"<all>");f.Od(_.AK(k.target,b))};return f};
tSc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.hi;try{var c=this.H.clear()}catch(d){return b.Od(_.BK(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Od(_.AK(d.target,a))};return b};tSc.prototype.getIndex=function(a){try{return new qSc(this.H.index(a))}catch(b){throw _.BK(b,"getting index "+a);}};
tSc.prototype.count=function(a){var b=new _.hi;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.Od(_.AK(e.target,d.getName()))}}catch(e){b.Od(_.BK(e,this.getName()))}return b};
var wSc=function(a,b){_.Q.call(this);this.H=a;this.O=b;this.wb=new _.Ce(this);this.wb.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.wb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.wb.listen(this.H,"error",this.zab)};_.Kf(wSc,_.Q);_.g=wSc.prototype;_.g.zab=function(a){a.target instanceof _.yK?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.AK(a.target,"in transaction")})};_.g.Kh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new tSc(this.H.objectStore(a))}catch(b){throw _.BK(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.BK(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.hi;_.Ke(this,"complete",(0,_.v)(a.callback,a));var b=_.Ke(this,"abort",function(){_.Fi(c);a.Od(new _.yK(_.iSc,"waiting for transaction to complete"))});var c=_.Ke(this,"error",function(e){_.Fi(b);a.Od(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Za=function(){wSc.ub.Za.call(this);this.wb.dispose()};
var xSc=function(a){_.Q.call(this);this.H=a;this.wb=new _.Ce(this);this.wb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.wb.listen(this.H,"error",this.Aab);this.wb.listen(this.H,"versionchange",this.Mpb);this.wb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.Kf(xSc,_.Q);_.g=xSc.prototype;_.g.bua=!0;_.g.Aab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Mpb=function(a){this.dispatchEvent(new ySc(a.oldVersion,a.newVersion))};_.g.close=function(){this.bua&&(this.H.close(),this.bua=!1)};_.g.Qg=function(){return this.bua};_.g.getName=function(){return this.H.name};_.g.Ii=function(){return Number(this.H.version)};_.zSc=function(a,b,c){try{return new tSc(a.H.createObjectStore(b,c))}catch(d){throw _.BK(d,"creating object store "+b);}};
_.ASc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new wSc(d,a)}catch(e){throw _.BK(e,"creating transaction");}};xSc.prototype.Za=function(){xSc.ub.Za.call(this);this.wb.dispose()};var ySc=function(a,b){_.xi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Kf(ySc,_.xi);
_.BSc=function(){void 0==ZRc&&(ZRc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return ZRc};
_.CSc=function(a,b,c,d){var e=new _.hi;b=b?_.BSc().open(a,b):_.BSc().open(a);b.onsuccess=function(f){f=new xSc(f.target.result);e.callback(f)};b.onerror=function(f){e.Od(_.AK(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new xSc(f.target.result);c(new ySc(f.oldVersion,f.newVersion),h,new wSc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new ySc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.DSc=function(a,b){this.ma=a;this.Ba=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ta=_.qac;this.H=""};_.ESc=function(a,b){var c=_.Vr,d;if(d=a)d=_.Rn.prototype.matches.call(c,a)&&"function"===typeof a.fD&&(!b||a.fD().toString()==b.toString());return d?a:null};_.t("sy17s");
_.DSc.prototype.build=function(){var a=new _.GG(this.ma,this.ha?this.ha:_.Zac,this.Ba,this.ta,this.V,this.W,!1,void 0,void 0,void 0,this.wa?this.wa:void 0);if(this.Ha){var b=this.Ha;_.C(b,1)||_.B(b,1,1);_.A(a.ka,1,b)}if(this.O){b=this.O;var c=_.E(a.ka,_.wac,1),d=_.E(c,_.uac,11);d||(d=new _.uac);_.B(d,7,b);_.A(c,11,d);_.C(c,1)||_.B(c,1,1);_.A(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.La=this.H);this.Fa&&_.Jac(a,this.Fa);this.La&&(b=this.La,a.Bc=!0,_.Lac(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
var HSc;_.FSc=function(a,b){var c=_.E(a.H,_.TAa,9);null==c&&(c=new _.TAa);var d=_.C(b.H,10);d=_.B(c,5,d);b=_.C(b.H,12);_.B(d,2,b);_.A(a.H,9,c)};_.GSc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};HSc=function(){};_.t("sy17t");
_.ISc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.ISc.prototype.qA=function(a){var b=this.H?HSc.prototype.V.bind(this.H):_.GG.prototype.log.bind(this.O),c=this.H?HSc.prototype.flush.bind(this.H):_.GG.prototype.flush.bind(this.O);a=_.FG(new _.EG,a.Tb());b(a);return new _.Zh(function(d){c(d,function(){d()})}.bind(this))};
_.JSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;_.Kac(this.O)};_.JSc.prototype.qA=function(a){var b=this.H?HSc.prototype.V.bind(this.H):_.GG.prototype.log.bind(this.O),c=this.H?HSc.prototype.flush.bind(this.H):_.GG.prototype.flush.bind(this.O);a=_.FG(new _.EG,a.Tb());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var KSc=function(a){_.S(this,a,-1,null,null)};_.O(KSc,_.N);KSc.prototype.getEmail=function(){return _.H(this,3,"")};KSc.prototype.Tp=function(){return _.T(this,3)};_.CK=function(a){return _.F(a,5,!1)};_.DK=function(a){return _.E(a,KSc,36,1)};_.LSc=function(a){var b=_.fla(a);if("undefined"==typeof b)throw Error("W");var c=new _.zj(null,void 0);a=_.ela(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.fma(c,e,f):c.add(e,f)}return c};_.t("sy17d");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy17c");
_.EK=function(a){_.S(this,a,-1,null,null)};_.O(_.EK,_.N);_.EK.prototype.xe=function(){return _.E(this,_.lf,1)};_.FK=function(a,b){return _.A(a,1,b)};_.EK.prototype.Ug=function(){return _.C(this,4)};_.EK.prototype.lqa=function(a){return _.B(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var MSc=function(a){_.S(this,a,-1,null,null)},SSc;_.O(MSc,_.N);var NSc=function(a){_.S(this,a,-1,null,null)};_.O(NSc,_.N);var OSc=function(a){_.S(this,a,-1,null,null)};_.O(OSc,_.N);_.GK=function(a){_.S(this,a,-1,null,null)};_.O(_.GK,_.N);_.GK.prototype.c5=function(a){_.B(this,3,a)};_.GK.prototype.BN=function(){return _.E(this,OSc,5)};_.GK.prototype.Ol=function(a){return _.A(this,5,a)};_.GK.prototype.getMimeType=function(){return _.C(this,7)};var PSc=[2],QSc=function(a){_.S(this,a,-1,PSc,null)};
_.O(QSc,_.N);var RSc=function(a){_.S(this,a,-1,null,null)};_.O(RSc,_.N);SSc=function(a){this.H=a};_.TSc=function(a){this.jd=a};_.TSc.prototype.getId=function(){return this.jd};var USc=function(a){_.S(this,a,-1,null,null)};_.O(USc,_.N);USc.prototype.Ii=function(){return _.C(this,1)};var VSc=function(a){_.S(this,a,-1,null,null)};_.O(VSc,_.N);
var XSc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.eDa.length;a++){var b=_.eDa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;WSc(this,b);break}}},WSc=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})};
XSc.prototype.qA=function(a){if(this.ha&&this.O){var b=_.E(a,_.Jb,2)||new _.Jb,c=_.E(a,_.yp,5)||new _.yp,d=_.E(a,_.GK,3)||new _.GK;a=_.uk(a,_.qBa,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.Tb(),session_info:b.Tb(),session_invariants:c.Tb(),client_info:d.Tb()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy17g");
var YSc=function(){_.tp.call(this)};_.O(YSc,_.tp);YSc.prototype.vv=function(){return 1==_.C(_.E(this.H,MSc,7),1)};var ZSc=new _.pp("high_frequency_builder");
var $Sc=function(a,b,c){a=new _.Hi(a);c.Ma(a);var d=new _.Ce(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var aTc=function(){_.tp.call(this)};_.O(aTc,_.tp);var bTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.gp;var e=new _.RAa;e=_.B(e,1,d);_.A(b,1,e);_.B(b,3,1);_.A(a.H,8,b);_.B(a.H,12,c);_.B(a.H,13,c);_.B(a.H,4,d);_.B(a.H,3,c)}else 1==b&&(b=new _.gp,e=new _.SAa,d=_.B(e,1,d),_.A(b,2,d),_.B(b,3,2),_.A(a.H,8,b),_.B(a.H,12,c),_.B(a.H,3,c));return a},cTc=new _.pp("system_builder");
var dTc=function(a,b){_.P.call(this);this.O=a;this.H=new _.ORc(b);this.Ma(this.H);this.wb=new _.Ce(this);this.Ma(this.wb);this.H.mu()&&this.wb.listen(this.H,"visibilitychange",this.V)};_.O(dTc,_.P);dTc.prototype.V=function(){if(this.O.lU()){var a=this.H.mH()?102001:102E3;a=this.O.YF(a,0);this.O.rq(a)}};
var eTc=function(a,b,c){c=void 0===c?!1:c;_.P.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.O(eTc,_.P);_.g=eTc.prototype;_.g.rq=function(a){var b=this.H;_.B(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.qc()&&b.O.Be();return new SSc(a)};_.g.YF=function(a,b){a=bTc(fTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.LL=function(){return this.H.O};
_.g.YM=function(a){var b=this.H,c=_.up(a,cTc),d=b.ha++,e=_.E(_.E(c.H,_.gp,8),_.SAa,2),f=1E3*Date.now();_.B(e,2,f);_.B(c.H,13,d);b.ka.remove(_.C(a.H,12))};_.g.k_=function(){var a=this.O;if(!a.ha||a.H.V){var b=gTc(a.H,691).build();b=hTc(a.H,[b]);a.ka.qA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.l_=function(){var a=this.H,b=gTc(a,716);iTc(a,b);b=b.build();a.H.add(b);a.wa=!0;a.ma=!0;this.O.initialize();this.O.O.Be();this.W&&(this.V=new dTc(this))};_.g.Fka=function(){this.O.W();return _.di(Array.from(this.O.V)).then()};
_.g.lU=function(){var a=this.H;return a.wa&&a.ma&&!0};
var jTc=function(a,b,c,d,e){_.P.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.uK(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.O(jTc,_.P);jTc.prototype.initialize=function(){$Sc(this.ma,this.O.Be,this.O);$Sc(36E5,this.wa,this)};jTc.prototype.W=function(){var a=this;if(0!=this.H.H.qc()&&(!this.ha||this.H.V)){var b=kTc(this.H),c=this.ta.qA(b);c&&(_.fi(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
jTc.prototype.wa=function(){var a=this.H,b=gTc(a,1153).build();a.H.add(b);this.O.Be()};
var lTc=function(a){_.P.call(this);this.H=a;this.Ma(this.H)};_.O(lTc,_.P);_.g=lTc.prototype;_.g.rq=function(a){a=this.H.rq(a);this.Fka();return a};_.g.YF=function(a,b){return this.H.YF(a,b)};_.g.LL=function(){return this.H.LL()};_.g.YM=function(a){return this.H.YM(a)};_.g.k_=function(){return this.H.k_()};_.g.l_=function(){return this.H.l_()};_.g.Fka=function(){return this.H.Fka()};_.g.lU=function(){return this.H.lU()};
var mTc=function(){};mTc.prototype.iR=function(){return new YSc};
var nTc=function(){this.H=[]};nTc.prototype.add=function(a){this.H.push(a)};nTc.prototype.qc=function(){return this.H.length};
var oTc=function(){this.H={}};oTc.prototype.add=function(a){var b=_.C(a.H,12);this.H[b]=a};oTc.prototype.remove=function(a){delete this.H[a]};
var pTc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new oTc;this.H=new nTc;this.ma=this.wa=this.V=!1},fTc=function(a,b){a=_.up((new _.tp).initialize(new _.qBa,a.Ba),cTc);_.B(a.H,10,b);return a},kTc=function(a){var b=a.H,c=b.H;b.H=[];return hTc(a,c)},hTc=function(a,b){var c=new _.vCa;var d=a.O.W.clone();c=_.A(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.A(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.E(b[h],_.np,5);if(k&&_.E(k,_.KRc,1)){k=_.E(k,_.KRc,1);_.T(k,12)&&
void 0===e&&(e=_.L(k,12));k=_.E(k,NSc,20);if(void 0!==k&&void 0===f){f=new VSc;var l=_.L(k,2);void 0!==l&&_.B(f,2,l);k=_.L(k,1);void 0!==k&&_.B(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 _.GK),void 0!==e&&_.B(d,6,e),void 0!==f&&_.A(d,13,f);(e=d)&&_.A(c,3,e);a=a.O.ha.clone();_.A(c,4,a);_.Db(c,1,b);return c},gTc=function(a,b){var c=bTc(fTc(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 RSc;k=_.B(p,1,k);l=_.C(l.H,10);l=_.B(k,2,l);f.push(l)}d=f}716!=b&&(b=a.ta,_.B(c.H,6,a.W),e=new QSc,b=_.B(e,1,b),d&&_.Db(b,2,d),d=_.vp(c),_.A(d,3,b));iTc(a,c);return c},iTc=function(a,b){a.W=_.C(b.H,12);a.ta=_.C(_.E(_.E(b.H,_.gp,8),_.RAa,1),1)};
var qTc=function(){};qTc.prototype.iR=function(){return new aTc};
var rTc=function(){this.H=this.O=null};rTc.prototype.build=function(){null==this.H&&(this.H=new _.TBa);_.xp(this.H,cTc,new qTc);_.xp(this.H,ZSc,new mTc);var a=this.H;var b=this.O;if(!_.T(_.sTc(b),1)){var c=_.sTc(b),d=new _.kCa;_.A(c,1,d)}b=_.E(_.sTc(b),_.kCa,1);a.H=b;b=_.Ra(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new pTc(this.O,this.H)};
var tTc=function(){this.W=new _.Jb;this.O=null;this.ha=new USc;_.B(this.ha,1,6);this.H=this.V=null};tTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.uTc=function(a,b){_.B(a.W,2,b);return a};_.vTc=function(a,b){if(null==a.V){a.V=new _.tCa;var c=_.sTc(a);_.A(c,2,a.V)}_.B(a.V,1,b)};_.sTc=function(a){null==a.O&&(a.O=new _.yp);return a.O};_.wTc=function(a){null==a.H&&(a.H=new _.GK);return a.H};
_.xTc=function(){this.H=this.ha=null;this.W=new tTc;this.V=null;this.ka=this.ma=!1;this.O=null};_.yTc=function(a,b){a.ha=b;return a};_.zTc=function(a,b){a.H=b;return a};_.ATc=function(a,b){a.V=b;return a};_.xTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.BTc=function(a,b){_.B(a.W.W,6,b);return a};
_.xTc.prototype.build=function(){var a=new rTc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new XSc;this.H=this.ha=b}b=new jTc(a,this.ha,this.H,this.ma,this.O);a=new eTc(a,b,!1);this.ka&&(a=new lTc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.HK=function(a){return a instanceof Error};_.IK=function(a){return _.F(a,84,!1)};_.t("sy177");
_.CTc=function(a){_.S(this,a,-1,null,null)};_.O(_.CTc,_.N);
_.JK=function(a){_.S(this,a,-1,null,null)};_.O(_.JK,_.N);_.JK.prototype.getOptions=function(){return _.E(this,_.CTc,1)};_.JK.prototype.Yn=function(){return _.C(this,2)};_.JK.prototype.Cd=function(){return _.E(this,_.Ye,3)};
_.DTc=function(a){_.S(this,a,-1,null,_.KK)};_.O(_.DTc,_.N);_.KK=[[3,4,5,6,7,8,9,10]];
var LK,FTc;LK={};_.ETc=(LK[1]="modifiedDate",LK[2]="modifiedByMeDate",LK[3]="quotaBytesUsed",LK[4]="title",LK[6]="lastViewedByMeDate",LK[10]="createdDate",LK[7]="sharedWithMeDate",LK[9]="starred",LK[11]="recency",LK[5]="relevance",LK[12]="trashedDate",LK[13]="lastViewedByMeDate",LK);FTc={};_.GTc=(FTc[1]="asc",FTc[2]="desc",FTc);
_.HTc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ITc=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():_.If();this.date=new Date(a)};_.Kf(_.ITc,_.zt);_.g=_.ITc.prototype;_.g.clone=function(){var a=new _.ITc(this.date);a.IG=this.IG;a.IV=this.IV;return a};_.g.add=function(a){(a.W||a.V)&&_.yt.prototype.add.call(this,new _.xt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.aw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.zt.prototype.getUTCFullYear;
_.g.getMonth=_.zt.prototype.getUTCMonth;_.g.getDate=_.zt.prototype.getUTCDate;_.g.getHours=_.zt.prototype.getUTCHours;_.g.getMinutes=_.zt.prototype.getUTCMinutes;_.g.getSeconds=_.zt.prototype.r$a;_.g.getMilliseconds=_.zt.prototype.q$a;_.g.getDay=_.zt.prototype.getUTCDay;_.g.setFullYear=_.zt.prototype.setUTCFullYear;_.g.setMonth=_.zt.prototype.setUTCMonth;_.g.setDate=_.zt.prototype.setUTCDate;_.g.setHours=_.zt.prototype.fNa;_.g.setMinutes=_.zt.prototype.gNa;_.g.setSeconds=_.zt.prototype.hNa;
_.g.setMilliseconds=_.zt.prototype.s$a;
var JTc,LTc;JTc={};_.KTc=(JTc[1]="0",JTc[2]="1",JTc[3]="2",JTc);LTc={};_.MTc=(LTc[1]="asc",LTc[2]="desc",LTc);
_.NTc=new _.pp("drive_dataservice_builder");
_.OTc=_.ch&&0>_.hg(_.fh,"533");
_.PTc=new _.TSc("drive_dataservice_invariants");
_.QTc=new Map([[[1],1],[[6],7],[[2],2]]);_.RTc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.STc=new Map([[12,function(a){return _.L(a,69)}],[24,function(a){return _.F(a,3,!1)}],[9,function(a){return _.F(a,17,!1)}],[21,function(a){return _.IK(a)}],[13,function(a){return _.L(a,60)}],[2,function(a){return _.F(a,8,!0)}],[6,function(a){return _.F(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.F(a,56,!1)}],[17,function(a){return _.F(a,57,!1)}],[18,function(a){return _.F(a,54,!1)}],[19,function(a){return _.F(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.TTc=new Map([[36,function(a){return _.F(a,11,!1)}],[34,function(a){return _.F(a,9,!1)}],[25,function(a){return _.F(a,1,!1)}],[33,function(a){return _.F(a,8,!1)}],[26,function(a){return _.F(a,2,!1)}],[27,function(a){return _.F(a,3,!1)}],[29,function(a){return _.F(a,4,!1)}],[32,function(a){return _.F(a,7,!1)}],[40,function(a){return _.F(a,15,!1)}],[37,function(a){return _.F(a,12,!1)}],[30,function(a){return _.F(a,5,!1)}],[31,function(a){return _.F(a,6,!1)}],[35,function(a){return _.F(a,10,!1)}],[38,
function(a){return _.F(a,13,!1)}],[39,function(a){return _.F(a,14,!1)}],[41,function(a){return _.F(a,16,!1)}]]);_.UTc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.VTc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250]]);_.WTc=new Map([[[2],3],[[1],2],[[0],1]]);_.XTc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.YTc=new Map([[[_.cSc],1],[[_.dSc],2],[[_.eSc],3],[[_.fSc],4],[[_.gSc],5],[[_.hSc],6],[[_.iSc],7],[[_.jSc],8],[[_.kSc],10],[[_.lSc],11],[[_.mSc],12],[[_.nSc],13]]);
_.ZTc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy17a");
_.MK=function(a){_.S(this,a,-1,$Tc,null)};_.O(_.MK,_.N);_.MK.prototype.Nc=function(){return _.C(this,2)};_.NK=function(a,b){return _.B(a,2,b)};_.g=_.MK.prototype;_.g.Ck=function(){return _.F(this,3,!1)};_.g.getItem=function(){return _.E(this,_.sl,4)};_.g.setItem=function(a){return _.A(this,4,a)};_.g.Dc=function(){return _.C(this,7)};_.g.Q$=function(){return _.C(this,13)};_.g.eJa=function(a){_.B(this,13,a)};var $Tc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
var cUc;_.PK=function(a){if(a instanceof _.jc)return a;if(_.HK(a)){if(a=_.Asb(a))return a}else a="string"===typeof a?_.iGa(a):_.iGa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);a.Ib(2);_.OK(a,6);return a};_.aUc=function(a){var b=a.Ak();a=a.iG();return 15===b||32===b||33===b||401===a};_.bUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.QK=function(a){_.S(this,a,-1,null,null)};_.O(_.QK,_.N);
_.RK=function(a){return _.dk(a,1,0)};_.SK=function(a){return _.E(a,_.QK,4)};_.OK=function(a,b){return _.B(a,2,b)};cUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.TK=function(a){_.S(this,a,-1,cUc,null)};_.O(_.TK,_.N);_.g=_.TK.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.zf=function(){return _.C(this,3)};_.g.wm=function(a){return _.B(this,3,a)};
_.g.Fv=function(a){return _.B(this,4,a)};_.g.Yh=function(){return _.L(this,5)};_.g.qn=function(a){return _.B(this,5,a)};_.g.getMimeType=function(){return _.C(this,6)};_.g.CE=function(a,b){_.sk(this,8,a,b)};_.g.$i=function(){return _.C(this,12)};_.g.xe=function(){return _.E(this,_.lf,17)};_.g.Ii=function(){return _.C(this,20)};_.g.Dc=function(){return _.C(this,21)};_.UK=function(a,b){return _.B(a,16,b)};_.t("sy179");
_.VK=function(a){_.S(this,a,-1,dUc,null)};_.O(_.VK,_.N);_.VK.prototype.qR=function(){return _.dk(this,2,100)};_.VK.prototype.YS=function(a){return _.B(this,2,a)};_.VK.prototype.xe=function(){return _.E(this,_.lf,6)};_.VK.prototype.Dc=function(){return _.C(this,8)};var dUc=[5];
var eUc;eUc={};_.fUc=(eUc[0]="/drive/v2internal",eUc[1]="/drive/v2internal.corp",eUc[2]="/drive/v2internal.scary",eUc[4]="/drive/v2internal.scary",eUc[5]="/drive/v2beta",eUc[6]="/drive/v2.1beta",eUc);
_.gUc=new Set([0,1,2,3]);
_.hUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.iUc=_.B(new _.TK,15,!0);_.jUc=_.UK(new _.TK,!0);_.kUc=_.UK(new _.TK,!1);
_.lUc=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."]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.nUc=function(a){for(var b in a)delete a[b]};_.oUc=function(a){a=_.Rf(a);return 0===a.length?_.sha:new _.mg(a,_.qha)};_.pUc=function(a,b){a=_.Wi(a);b=_.Wi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy17u");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.WK=function(a,b){return _.B(a,82,b)};_.XK=function(a){return _.B(a,3,!0)};_.uUc=function(a,b){return _.B(a,7,b)};_.t("sy178");
_.vUc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.wUc=new Map([[6,3],[7,3],[4,2],[8,2]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.YK={T_:"Versions",H7:"Metadata",u6:"Data",LU:"Offline"};_.xUc=new Map([[_.YK.T_,"versionKey"],[_.YK.H7,"k"]]);_.yUc=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var CUc;_.zUc=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.AUc=function(a){return(a=a&&_.zUc(a))&&a["x-guploader-uploadid"]};_.BUc=function(a){return(a=a&&_.zUc(a))&&a["x-google-trace"]};CUc=[6];_.ZK=function(a){_.S(this,a,-1,CUc,null)};_.O(_.ZK,_.N);_.$K=function(a,b){return _.B(a,14,b)};_.t("sy17w");
var DUc,FUc;
_.EUc=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=DUc(e)||new _.jc;_.B(e,8,!0);k&&(k=_.xj(new _.tj(k),void 0).toString(),_.B(e,19,k));e.iG()||_.B(e,15,a||f);e.getMessage()||_.lq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.C(e,4)||_.mq(e,d);e.Ak()||(5===f?_.$K(e,7):0!==a||d?403===a?_.$K(e,22):503===a||429===a?_.$K(e,24):(_.kk(e,14),_.B(e,10,1),_.B(e,8,!0)):l||_.$K(e,2));e.Zda(_.AUc(c));e.Kda(_.BUc(c));
return e};DUc=function(a){if(!_.Da(a))return null;var b=new _.jc,c=a.error;if(!c)return _.mq(b,JSON.stringify(a)),null;_.B(b,15,c.code);_.lq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=FUc[c];d?_.B(b,10,d):c&&!d&&_.B(b,10,2);(a=a.debugInfo)&&_.mq(b,a);return b};
FUc={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,
shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.w();

}catch(e){_._DumpException(e)}
try{
_.GUc=function(a,b){return _.B(a,1,b)};_.HUc=function(a,b){return _.A(a,1,b)};_.IUc=function(a,b){return _.B(a,2,b)};_.JUc=function(a,b){return _.A(a,3,b)};_.t("sy17x");

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var NUc,OUc,SUc,WUc,XUc,YUc,pVc,TL,qVc,rVc,yVc,UUc,fWc,TUc,BWc,DWc,FWc,HWc,IWc,JWc,LWc,bXc,cXc,fXc,gXc,hXc,jXc,kXc,mXc,pXc,iVc,tXc,jVc,uXc,vXc,wXc,sM,uM,yXc,AXc,DXc,EXc,FXc,GXc,HXc,IXc,LXc,NXc,OXc,QXc,RXc,fYc,eYc,kYc,lYc,mYc,rYc,uYc,wYc,xYc,DYc,CYc,BYc,zYc,AYc,zVc,LYc,MYc,HYc,NYc,IYc,sVc,OYc,tVc,uVc,vVc,wVc,xVc,PYc,RYc;_.aL=function(a,b,c){var d=new _.jc,e=_.dka(_.aL);_.B(d,20,e);_.OK(d,a);d.Ib(b?b:2);c&&_.$K(d,c);return d};
_.bL=function(a){var b;a instanceof _.jc?b=new _.kc(null,a):_.HK(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("ob`"+a);b.stack||(b.stack=_.dka(_.bL));return b};_.cL=function(a){throw _.tA(a);};NUc=function(a){return 7===a.Ak()||24===a.Np()&&(a=a.iG(),503===a||429===a)?!0:!1};OUc=function(a,b){return b?b+"("+a+")":a};
_.dL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.mBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.PUc.includes(p)){var q=_.J6a.get(p);if(q){var r=_.M6a[p];a.GG&&r&&(q=r);a.nr&&(a.GG?(p=_.L6a[p])&&(q=p):(p=_.K6a[p])&&(q=p));q.split(",").forEach(function(u){var y=_.iia(u,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={n6:f.n6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.n6=[];l.forEach(function(p){return function(q){p.n6.push(q)}}(f));"owners"==k&&b&&f.n6.push("kind");e.push(OUc(f.n6.join(","),k))}return OUc(e.join(","),c)};_.QUc=function(a){var b=new _.wp;b.append(_.dL(a,!0));return b.toString()};_.RUc=function(a,b){return a.filter(function(c){return b.includes(c)})};SUc=function(a){a=a.filter(function(b){return!_.J6a.has(b)});if(a.length)throw Error("Dc`"+a.join(", "));};
_.VUc=function(a){if(a){var b=a.getMimeType();b&&_.lF(a,b.toLowerCase());TUc(a,_.uk(a,UUc,58).map(function(c){var d=c.getMimeType();d&&_.B(c,1,d.toLowerCase());return c}))}};WUc=function(a){if(_.Ua(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};XUc=function(a,b){b&&(_.Aj(a,"openDrive",!!_.F(b,2,!1)),_.Aj(a,"reason",_.C(b,1)||0),_.Aj(a,"syncType",_.C(b,3)||0),_.Aj(a,"errorRecovery",!!_.F(b,4,!1)))};
YUc=function(a){a=_.lq(_.$K((new _.jc).Ib(2),39),"Multiple resource key definitions found for itemId "+a);throw _.tA(a);};
pVc=function(a){if(a instanceof _.eL)return"request access";if(a instanceof _.fL)return"admin migrate to TD";if(a instanceof _.gL)return"authorize app";if(a instanceof _.hL)return"copy item";if(a instanceof _.iL)return"change category links";if(a instanceof _.jL)return"create item";if(a instanceof _.kL)return"create ws";if("undefined"!=typeof _.lL&&a instanceof _.lL)return"delete app";if("undefined"!=typeof _.mL&&a instanceof _.mL)return"delete backup";if(a instanceof _.nL)return"delete item";if("undefined"!=
typeof _.oL&&a instanceof _.oL)return"delete permission";if(a instanceof _.pL)return"delete revision";if(a instanceof _.qL)return"delete TD";if(a instanceof _.OB)return"delete pref";if(a instanceof _.rL)return"delete ws";if(a instanceof _.sL)return"download item";if(a instanceof _.tL||a instanceof _.uL)return"empty trash";if(a instanceof _.xz)return"find by ID";if(a instanceof _.ZUc)return"item export start";if("undefined"!=typeof _.vL&&a instanceof _.vL)return"get app";if("undefined"!=typeof _.wL&&
a instanceof _.wL)return"insert app";if("undefined"!=typeof _.yL&&a instanceof _.yL)return"insert permission";if(a instanceof _.JK)return a=a.Cd(),_.zL(a)?"quick access item query":_.AL(a)?"people predict item query":_.BL(a)?"drive priority query":"item query";if("undefined"!=typeof _.CL&&a instanceof _.CL)return"list android backup items request";if(a instanceof _.DL){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 _.$Uc&&a instanceof _.$Uc?"list backups":a instanceof _.VK?"list changes":a instanceof _.EL?"list permissions":"undefined"!=typeof _.FL&&a instanceof _.FL?"list revisions":a instanceof _.GL?"partial download item":a instanceof _.HL?"people api":a instanceof _.fF?"get published category":"undefined"!=typeof _.IL&&a instanceof _.IL?"get remaining changes":a instanceof _.JL?"remove item":"undefined"!=typeof _.KL&&
a instanceof _.KL?"reparent item":a instanceof _.LL?"restore item":a instanceof _.gF?"list suggested workspace items":a instanceof _.hF?"list suggested workspaces":"undefined"!=typeof _.ML&&a instanceof _.ML?"update app":a instanceof _.NL?"update category metadata":a instanceof _.TK?"update item":a instanceof _.OL?"update revision":a instanceof _.PL?"update TD":a instanceof _.PB?"update pref":a instanceof _.QL?"update ws":a instanceof _.EK?"get account":a instanceof _.kF?"get workspace":a instanceof
_.aVc?"list activity":a instanceof _.bVc?"list category metadata":a instanceof _.cVc?"create TD":"undefined"!=typeof _.dVc&&a instanceof _.dVc?"item export cancel":"undefined"!=typeof _.eVc&&a instanceof _.eVc?"item export status":"undefined"!=typeof _.fVc&&a instanceof _.fVc?"generate cse token":"undefined"!=typeof _.gVc&&a instanceof _.gVc?"get largest change ID":a instanceof _.NB?"list prefs":a instanceof _.RL?"multipart upload":a instanceof _.hVc?"list published categories":a instanceof iVc?"init resumable upload":
a instanceof jVc?"resumable upload chunk":a instanceof _.kVc?"resumable upload":a instanceof _.iF?"get TD":"undefined"!=typeof _.lVc&&a instanceof _.lVc?"move TD preflight":a instanceof _.SL?"list TDs":"undefined"!=typeof _.mVc&&a instanceof _.mVc?"get TD stats":a instanceof _.nVc?"test connection":"undefined"!=typeof _.oVc&&a instanceof _.oVc?"list workspaces":"unknown"};TL=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};
qVc=function(a){if(a instanceof _.jL||a instanceof _.RL||a instanceof _.kVc||a instanceof iVc||a instanceof jVc)return(new _.UL).Gc(8);throw Error("Ye");};rVc=function(a){if(a instanceof _.TK){var b=_.lk(_.kk(a.clone(),1),17);b=_.Bk(b,_.iUc)}else b=!1;b||(a instanceof _.TK?(a=_.lk(_.kk(a.clone(),1),17),b=_.Bk(a,_.jUc)||_.Bk(a,_.kUc)):b=!1);return b?!1:!0};_.VL=function(a){return sVc.includes(a.constructor)?rVc(a):!1};
yVc=function(a,b){if(tVc.includes(a.constructor))return!0;if(b){if(_.F(b,54,!1)&&uVc.includes(a.constructor))return!0;var c=_.SK(b);if(c&&!_.F(c,7,!1)&&vVc.includes(a.constructor)&&!_.WL(a)||_.F(b,56,!1)&&_.WL(a)||_.F(b,57,!1)&&wVc.includes(a.constructor)||!(!_.F(b,53,!1)||uVc.includes(a.constructor)||vVc.includes(a.constructor)||_.WL(a)||wVc.includes(a.constructor)||xVc.includes(a.constructor)))return!0}return!1};
_.XL=function(a,b,c,d,e){if(_.F(a,89,!1)){if(c&&c.length&&d){c=b.concat(zVc(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)!==_.C(d,2)&&YUc(h):(a.set(h,_.C(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.mz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.AVc=function(a){_.S(this,a,-1,null,null)};_.O(_.AVc,_.N);_.YL=function(a){return _.F(a,2,!1)};_.BVc=function(a,b){return _.B(a,7,b)};
_.CVc=function(a,b){return _.B(a,8,b)};_.DVc=function(a,b){return _.B(a,11,b)};_.EVc=function(a,b){return _.B(a,1,b)};_.FVc=function(a,b){return _.B(a,4,b)};_.GVc=function(a,b){return _.B(a,5,b)};_.HVc=function(a,b){return _.B(a,6,b)};_.IVc=function(a,b){return _.B(a,7,b)};_.JVc=function(a,b){return _.B(a,8,b)};_.KVc=function(a,b){return _.B(a,9,b)};_.LVc=function(a,b){return _.B(a,10,b)};_.MVc=function(a,b){return _.B(a,11,b)};_.NVc=function(a,b){return _.B(a,12,b)};
_.OVc=function(a,b){return _.B(a,16,b)};_.PVc=function(a,b){return _.B(a,17,b)};_.QVc=function(a,b){return _.B(a,20,b)};_.RVc=function(a,b){return _.B(a,21,b)};_.SVc=function(a,b){return _.B(a,31,b)};_.TVc=function(a,b){return _.B(a,32,b)};_.UVc=function(a,b){return _.B(a,33,b)};_.VVc=function(a,b){return _.B(a,42,b)};_.WVc=function(a,b){return _.B(a,43,b)};_.XVc=function(a,b){return _.B(a,46,b)};_.YVc=function(a,b){return _.B(a,47,b)};_.ZVc=function(a,b){return _.B(a,48,b)};
_.ZL=function(a){_.S(this,a,-1,null,null)};_.O(_.ZL,_.N);_.$Vc=function(a){_.S(this,a,-1,null,null)};_.O(_.$Vc,_.N);_.aWc=function(a,b){return _.B(a,1,b)};_.bWc=function(a,b){return _.B(a,2,b)};UUc=function(a){_.S(this,a,-1,null,null)};_.O(UUc,_.N);UUc.prototype.getMimeType=function(){return _.C(this,1)};UUc.prototype.getUrl=function(){return _.C(this,2)};_.$L=function(a){_.S(this,a,-1,null,null)};_.O(_.$L,_.N);_.$L.prototype.Se=function(){return _.C(this,2)};
_.$L.prototype.Ch=function(a){return _.B(this,2,a)};_.$L.prototype.Jf=function(){return _.C(this,3)};_.$L.prototype.yh=function(a){return _.B(this,3,a)};_.cWc=function(a,b){return _.B(a,1,b)};_.dWc=function(a,b){return _.Db(a,2,b)};_.eWc=function(a,b){return _.Db(a,3,b)};fWc=[2];_.aM=function(a){_.S(this,a,-1,fWc,null)};_.O(_.aM,_.N);_.aM.prototype.zf=function(){return _.C(this,1)};_.aM.prototype.wm=function(a){return _.B(this,1,a)};_.aM.prototype.Kwa=function(a,b){return _.sk(this,2,a,b)};
_.bM=function(a){_.S(this,a,-1,null,null)};_.O(_.bM,_.N);_.bM.prototype.Se=function(){return _.C(this,1)};_.bM.prototype.Ch=function(a){return _.B(this,1,a)};_.bM.prototype.Jf=function(){return _.C(this,2)};_.bM.prototype.yh=function(a){return _.B(this,2,a)};_.cM=function(a,b){return _.jk(a,2,b)};_.gWc=function(a,b){_.B(a,8,b)};_.hWc=function(a,b){return _.Db(a,15,b)};_.iWc=function(a,b){return _.A(a,17,b)};_.jWc=function(a,b){return _.B(a,19,b)};_.kWc=function(a,b){_.B(a,26,b)};
_.lWc=function(a,b){_.B(a,31,b)};_.mWc=function(a,b){_.B(a,34,b)};_.nWc=function(a,b){return _.B(a,44,b)};_.oWc=function(a,b){return _.B(a,52,b)};TUc=function(a,b){_.Db(a,58,b)};_.pWc=function(a,b){return _.B(a,72,b)};_.dM=function(a,b){return _.A(a,84,b)};_.qWc=function(a,b){_.A(a,85,b)};_.rWc=function(a,b){return _.B(a,92,b)};_.sWc=function(a,b){return _.B(a,93,b)};_.eM=function(a){_.S(this,a,-1,null,null)};_.O(_.eM,_.N);_.eM.prototype.Xa=function(){return _.C(this,1)};
_.eM.prototype.Lb=function(a){return _.B(this,1,a)};_.eM.prototype.Gi=function(){return _.kk(this,1)};_.eM.prototype.wh=function(){return _.T(this,1)};var tWc=[3],uWc=function(a){_.S(this,a,-1,tWc,null)};_.O(uWc,_.N);uWc.prototype.aj=function(){var a=_.C(this,3);this.Qa||(this.Qa={});if(!this.Qa[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Qa[3]=!0}_.gb(this)&&_.hb(a);return a};var vWc=[3],wWc=function(a){_.S(this,a,-1,vWc,null)};_.O(wWc,_.N);wWc.prototype.aj=function(){return _.Jd(this,3)};
var xWc=[3],yWc=function(a){_.S(this,a,-1,xWc,null)};_.O(yWc,_.N);yWc.prototype.aj=function(){return _.Jd(this,3)};_.fM=function(a){_.S(this,a,-1,null,null)};_.O(_.fM,_.N);_.fM.prototype.Xa=function(){return _.C(this,1)};_.fM.prototype.Lb=function(a){return _.B(this,1,a)};_.fM.prototype.Gi=function(){return _.kk(this,1)};_.fM.prototype.wh=function(){return _.T(this,1)};_.gM=function(a){return _.uk(a,_.cf,6)};_.hM=function(a){return _.uk(a,_.Xc,12)};_.iM=function(a){return _.ck(a,45,1)};
_.zL=function(a){return _.F(a,47,!1)};_.AL=function(a){return _.F(a,49,!1)};_.BL=function(a){return _.F(a,52,!1)};_.jM=function(a){return _.H(a,2,"")};_.zWc=function(a,b){return _.jk(a,27,b)};_.kM=function(a){return _.ck(a,39,0)};_.lM=function(a){return _.F(a,40,!1)};_.AWc=function(a){return _.yt.prototype.BP.call(a,!0)+"T"+_.Rg(a.getHours(),2)+":"+_.Rg(a.getMinutes(),2)+":"+_.Rg(a.getSeconds(),2)+a.laa()};BWc=function(a,b){return _.sSc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};
_.CWc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.BK(c,"deleting object store "+b);}};DWc=function(){var a=new _.xTc;a.O=12E4;a.ma=!0;return a};_.EWc=function(a){_.S(this,a,-1,null,null)};_.O(_.EWc,_.N);FWc=[3,4,10,18,19,28];_.jL=function(a){_.S(this,a,-1,FWc,null)};_.O(_.jL,_.N);_.g=_.jL.prototype;_.g.getMimeType=function(){return _.C(this,1)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.CE=function(a,b){_.sk(this,3,a,b)};
_.g.xe=function(){return _.E(this,_.lf,7)};_.g.lj=function(){return _.C(this,9)};_.g.Dc=function(){return _.C(this,14)};_.g.Dz=function(){return _.E(this,_.EWc,15)};_.g.m2=function(){return _.C(this,21)};_.g.Nc=function(){return _.C(this,23)};_.mM=function(a,b){return _.B(a,1,b)};_.nM=function(a,b){return _.jk(a,3,b)};_.GWc=function(a,b){return _.B(a,12,b)};_.nL=function(a){_.S(this,a,-1,null,null)};_.O(_.nL,_.N);_.nL.prototype.getId=function(){return _.C(this,1)};
_.nL.prototype.Rb=function(a){return _.B(this,1,a)};_.nL.prototype.xe=function(){return _.E(this,_.lf,3)};_.qL=function(a){_.S(this,a,-1,null,null)};_.O(_.qL,_.N);_.qL.prototype.getId=function(){return _.C(this,1)};_.qL.prototype.Rb=function(a){return _.B(this,1,a)};_.qL.prototype.xe=function(){return _.E(this,_.lf,2)};HWc=[7,8];_.PL=function(a){_.S(this,a,-1,HWc,null)};_.O(_.PL,_.N);_.g=_.PL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};
_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.xe=function(){return _.E(this,_.lf,4)};_.g.Nm=function(){return _.L(this,15)};_.SL=function(a){_.S(this,a,-1,null,null)};_.O(_.SL,_.N);_.SL.prototype.getOptions=function(){return _.E(this,_.CTc,1)};_.SL.prototype.Yn=function(){return _.C(this,2)};_.SL.prototype.Cd=function(){return _.E(this,_.wK,3)};IWc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};JWc=null;
_.KWc=function(a){if(_.qma)return _.n.atob(a);var b="";_.sma(a,function(c){b+=String.fromCharCode(c)});return b};LWc=function(){this.O=0;this.H=[]};_.g=LWc.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=MWc(this,a);return this.H[a]};_.g.set=function(a,b){a=MWc(this,a);this.H[a]=b};_.g.qc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};
_.g.Mg=function(){var a=this.qc(),b=this.qc(),c=[];for(a=this.qc()-a;a<b;a++)c.push(this.get(a));return c};_.g.Af=function(){for(var a=[],b=this.qc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ne=function(a){return a<this.qc()};_.g.Fq=function(a){for(var b=this.qc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var MWc=function(a,b){if(b>=a.H.length)throw Error("ea");return 40>a.H.length?b:(a.O+Number(b))%40},NWc=function(a){_.S(this,a,-1,null,null)};_.O(NWc,_.N);_.OWc=function(a){_.S(this,a,-1,null,null)};
_.O(_.OWc,_.N);_.OWc.prototype.sf=function(){return _.C(this,1)};_.OWc.prototype.fj=function(a){return _.B(this,1,a)};_.OWc.prototype.Cb=function(){return _.C(this,4)};_.OWc.prototype.Gc=function(a){return _.B(this,4,a)};var PWc=function(a){_.S(this,a,-1,null,null)};_.O(PWc,_.N);PWc.prototype.kv=function(){return _.C(this,5)};var QWc=function(a,b){_.B(a,6,b)},RWc=function(a){_.S(this,a,-1,null,null)};_.O(RWc,_.N);_.g=RWc.prototype;_.g.eib=function(a){_.B(this,1,a)};
_.g.uOb=function(a){_.B(this,2,a)};_.g.my=function(){return _.L(this,3)};_.g.fib=function(a){_.B(this,3,a)};_.g.bOb=function(a){_.B(this,4,a)};var SWc=function(a){_.S(this,a,-1,null,null)};_.O(SWc,_.N);SWc.prototype.my=function(){return _.L(this,2)};var TWc=function(a,b){return _.B(a,2,b)},UWc=function(a,b){_.B(a,3,b)};SWc.prototype.yB=function(){return _.C(this,6)};var VWc=function(a,b){return _.B(a,8,b)},WWc=function(a){_.S(this,a,-1,null,null)};_.O(WWc,_.N);
var XWc=function(a){_.S(this,a,-1,null,null)};_.O(XWc,_.N);XWc.prototype.my=function(){return _.L(this,1)};XWc.prototype.kv=function(){return _.C(this,5)};XWc.prototype.Om=function(){return _.C(this,6)};XWc.prototype.Ct=function(a){return _.B(this,6,a)};var YWc=function(a){_.S(this,a,-1,null,null)};_.O(YWc,_.N);var ZWc=function(a,b){_.B(a,4,b)},$Wc=function(a){_.S(this,a,-1,null,null)};_.O($Wc,_.N);_.g=$Wc.prototype;_.g.Cd=function(){return _.E(this,_.OWc,1)};
_.g.getState=function(){return _.E(this,PWc,2)};_.g.Rd=function(a){return _.A(this,2,a)};_.g.xs=function(){return _.T(this,2)};_.g.ZE=function(){return _.E(this,XWc,16)};var aXc=function(a){_.S(this,a,-1,null,null)};_.O(aXc,_.N);aXc.prototype.getEnvironment=function(){return _.C(this,2)};aXc.prototype.setEnvironment=function(a){return _.B(this,2,a)};_.PUc=[42,1005,20,50,18,1003,1002];bXc=[73,71];_.oM=function(a){_.S(this,a,-1,null,null)};_.O(_.oM,_.N);
_.oM.prototype.getId=function(){return _.C(this,1)};_.oM.prototype.Rb=function(a){return _.B(this,1,a)};_.oM.prototype.getMimeType=function(){return _.C(this,2)};_.oM.prototype.cG=function(){return _.C(this,8)};cXc=[22];_.UL=function(a){_.S(this,a,-1,cXc,null)};_.O(_.UL,_.N);_.g=_.UL.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.getItem=function(){return _.E(this,_.sl,2)};_.g.setItem=function(a){return _.A(this,2,a)};
_.g.fk=function(){return _.C(this,3)};_.g.Nc=function(){return _.C(this,5)};_.dXc=function(a,b){return _.B(a,5,b)};_.g=_.UL.prototype;_.g.bK=function(){return _.C(this,7)};_.g.Zda=function(a){return _.B(this,7,a)};_.g.Dga=function(a){_.B(this,9,a)};_.g.INa=function(a){_.B(this,10,a)};_.g.oN=function(){return _.C(this,16)};_.g.Kda=function(a){return _.B(this,16,a)};var eXc=function(a){_.xi.call(this,a);this.connectionState=_.Bsb.get(a)};_.O(eXc,_.xi);
fXc=function(a){var b=new _.hi;a.listen("loadend",_.rb(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Od(f):c.callback(e);d.dispose()},b,a));return b};_.eL=function(a){_.S(this,a,-1,null,null)};_.O(_.eL,_.N);_.eL.prototype.Nc=function(){return _.C(this,1)};_.fL=function(a){_.S(this,a,-1,null,null)};_.O(_.fL,_.N);_.fL.prototype.getId=function(){return _.C(this,1)};_.fL.prototype.Rb=function(a){return _.B(this,1,a)};_.fL.prototype.Pk=function(){return _.C(this,2)};
_.gL=function(a){_.S(this,a,-1,null,null)};_.O(_.gL,_.N);_.gL.prototype.Fh=function(){return _.C(this,1)};_.gL.prototype.Nc=function(){return _.C(this,2)};_.gL.prototype.xe=function(){return _.E(this,_.lf,4)};gXc=[3,7];_.hL=function(a){_.S(this,a,-1,gXc,null)};_.O(_.hL,_.N);_.g=_.hL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};
_.g.CE=function(a,b){_.sk(this,3,a,b)};_.g.xe=function(){return _.E(this,_.lf,5)};_.kL=function(a){_.S(this,a,-1,null,null)};_.O(_.kL,_.N);_.kL.prototype.getTitle=function(){return _.C(this,1)};_.kL.prototype.setTitle=function(a){return _.B(this,1,a)};_.kL.prototype.xe=function(){return _.E(this,_.lf,2)};_.pL=function(a){_.S(this,a,-1,null,null)};_.O(_.pL,_.N);_.pL.prototype.Nc=function(){return _.C(this,1)};_.pL.prototype.xe=function(){return _.E(this,_.lf,3)};
_.rL=function(a){_.S(this,a,-1,null,null)};_.O(_.rL,_.N);_.rL.prototype.getId=function(){return _.C(this,1)};_.rL.prototype.Rb=function(a){return _.B(this,1,a)};_.rL.prototype.xe=function(){return _.E(this,_.lf,3)};_.tL=function(a){_.S(this,a,-1,null,null)};_.O(_.tL,_.N);_.tL.prototype.xe=function(){return _.E(this,_.lf,1)};_.JL=function(a){_.S(this,a,-1,null,null)};_.O(_.JL,_.N);_.g=_.JL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};
_.g.getParent=function(){return _.C(this,2)};_.g.Gg=function(a){return _.B(this,2,a)};_.g.xe=function(){return _.E(this,_.lf,3)};_.LL=function(a){_.S(this,a,-1,null,null)};_.O(_.LL,_.N);_.g=_.LL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Gg=function(a){return _.B(this,2,a)};_.g.xe=function(){return _.E(this,_.lf,3)};_.OL=function(a){_.S(this,a,-1,null,null)};_.O(_.OL,_.N);
_.OL.prototype.Nc=function(){return _.C(this,1)};_.OL.prototype.xe=function(){return _.E(this,_.lf,4)};_.QL=function(a){_.S(this,a,-1,null,null)};_.O(_.QL,_.N);_.g=_.QL.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.getState=function(){return _.C(this,3)};_.g.Rd=function(a){return _.B(this,3,a)};_.g.xs=function(){return _.T(this,3)};
_.g.xe=function(){return _.E(this,_.lf,5)};hXc=[2,3];_.iL=function(a){_.S(this,a,-1,hXc,null)};_.O(_.iL,_.N);_.iL.prototype.Dc=function(){return _.C(this,1)};_.iL.prototype.xe=function(){return _.E(this,_.lf,4)};_.iXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};jXc=[3,4];_.DL=function(a){_.S(this,a,-1,jXc,null)};_.O(_.DL,_.N);_.DL.prototype.getType=function(){return _.C(this,1)};_.DL.prototype.Ib=function(a){return _.B(this,1,a)};_.DL.prototype.xe=function(){return _.E(this,_.lf,2)};
kXc=[1];_.HL=function(a){_.S(this,a,-1,kXc,null)};_.O(_.HL,_.N);_.HL.prototype.jn=function(){return _.Jd(this,1)};_.lXc=function(a){_.S(this,a,-1,null,null)};_.O(_.lXc,_.N);_.g=_.lXc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.ws=function(){return _.T(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Lb=function(a){return _.B(this,2,a)};_.g.Gi=function(){return _.kk(this,2)};_.g.wh=function(){return _.T(this,2)};_.g.zf=function(){return _.C(this,3)};
_.g.wm=function(a){return _.B(this,3,a)};_.g.getType=function(){return _.C(this,4)};_.g.Ib=function(a){return _.B(this,4,a)};mXc=[1];_.nXc=function(a){_.S(this,a,-1,mXc,null)};_.O(_.nXc,_.N);_.oXc=function(){var a=void 0===a?1E3:a;this.O=new _.om;this.H=new _.om;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.qXc=function(a){var b=a.O.Mg();a.V&&b.push(pXc("...","...","...","..."));_.xa(b,a.H.Mg());return b};
_.rXc=function(a){var b=[];a=_.qXc(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")};_.oXc.prototype.info=function(a,b){_.pM(this,a,b,"info")};_.oXc.prototype.config=function(a,b){_.pM(this,a,b,"config")};_.oXc.prototype.log=function(a,b,c){if(!JWc){JWc={};for(var d=0,e;e=_.ika[d];d++)JWc[e.value]=e,JWc[e.name]=e}_.pM(this,a,b,c)};
_.pM=function(a,b,c,d){a.H.qc()>=a.ha&&(a.V=!0,_.pm(a.H));var e=Date.now()-a.startTime;b=pXc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.qc()<a.W?a.O.enqueue(b):a.H.enqueue(b)};pXc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.aVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.cVc=function(a){this.request=a;this.requestId=_.Tg()};
_.sXc=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};_.RL=function(a,b,c,d){this.request=a;this.file=b;this.HQ=void 0===c?null:c;this.metadata=d};_.kVc=function(a,b,c,d){this.request=a;this.file=b;this.HQ=void 0===c?null:c;this.metadata=d};iVc=function(a,b){this.request=a;this.metadata=b};tXc=function(a,b,c){this.O=a;this.H=b;this.V=c};
jVc=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};_.nVc=function(){this.H=_.mf(new _.lf,312)};uXc=function(){};_.bVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.hVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};vXc=function(a,b){this.H=a;this.O=b};wXc=function(a){_.xi.call(this,"Ab");this.H=a};_.O(wXc,_.xi);wXc.prototype.hf=function(){return this.H};_.qM=function(a){a.supportsTeamDrives=!0};
_.xXc=function(a){this.O=new Set;this.H=[].concat(_.jd(_.Jd(a,27)));this.initialize(a)};_.xXc.prototype.initialize=function(a){var b=_.RUc(this.H,_.Jd(a,28));if(0<b.length)throw Error("Je`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.CK(_.DK(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Fa(this.H);this.H.sort();SUc(this.H)};_.rM=function(a){return[].concat(_.jd(a.H))};
sM=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.tM=function(a,b,c){0!==b.length&&(a.XI.length&&a.append(" "+(c||"and")+" "),a.append(b))};uM=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(sM(c));e.push("in");e.push(b);_.tM(a,e.join(" "))}};_.vM=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());_.tM(a,e.join(" "),d)}};
yXc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.tM(a,d.join(""))}};_.zXc=function(a){var b=new _.ITc;b.setTime(a);return b};AXc=function(a,b){b=_.Jd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(sM(b));_.tM(a,c.join(" "))}};_.BXc=function(a){a=_.uk(a,_.fM,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Xa());return b.join(",")};
_.CXc=function(a){a=a.AB();return null==a||0==a.length?"":a.map(function(b){b=_.C(b,1);if(0==b)throw Error("Ke");return _.xRc[b]}).join(",")};DXc=function(a,b){if(a.length){var c=new _.wp;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(sM(d.Xa()));_.tM(c,e.join(" "),"or")}return c.toString()}return""};
EXc=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 sM(e.Xa())});d.push(a.join(", "));return d.join(" ")}return""};FXc=function(a){if(_.L(a,2))return"any";switch(a.Xa()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};GXc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
HXc=function(a,b,c){if(null!=_.C(c,2)){var d=GXc(_.C(c,1));c=sM(_.AWc(_.zXc(_.C(c,2)||0)));_.tM(a,[b,d,c].join(" "))}};IXc=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""};
_.JXc=function(a){for(var b=new _.wp,c=_.uk(a,_.Hl,4),d=0;d<c.length;d++){var e=c[d],f=e.Xa();if(f){var h=_.C(e,1),k=_.F(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(sM(f));_.tM(b,l.join(" "))}}for(var p=_.uk(a,_.Gl,5),q=0;q<p.length;q++){var r=p[q],u=r.Xa();if(u){var y=[];_.F(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(sM(u));_.tM(b,y.join(" "))}}var z=_.gM(a);if(z&&0!=z.length){for(var D=[],G=[],I=[],M=[],R=[],W=[],oa=0;oa<
z.length;oa++){var ha=z[oa];ha.Xa()&&(1===_.ck(ha,3,0)?_.L(ha,4)?G.push(ha):D.push(ha):_.L(ha,4)?_.F(ha,2,!1)?W.push(ha):R.push(ha):_.F(ha,2,!1)?M.push(ha):I.push(ha))}var va=DXc(D,!1),Ca=DXc(G,!0),Aa=EXc(I,!1,!1),Va=EXc(M,!0,!1),Ba=EXc(R,!1,!0),tb=EXc(W,!0,!0),yc=new _.wp;if(Aa||Ba||va||Ca)_.tM(yc,Aa,"or"),_.tM(yc,Ba,"or"),_.tM(yc,va,"or"),_.tM(yc,Ca,"or");yc.XI.length&&_.tM(b,"("+yc.toString()+")","and");var ec=new _.wp;if(Va||tb)_.tM(ec,Va,"and"),_.tM(ec,tb,"and");ec.XI.length&&_.tM(b,"("+ec.toString()+
")","and")}for(var Tc=_.uk(a,_.El,7),od=0;od<Tc.length;od++)HXc(b,"modifiedDate",Tc[od]);for(var Yb=_.uk(a,_.El,8),Kc=0;Kc<Yb.length;Kc++)HXc(b,"lastViewedByMeDate",Yb[Kc]);_.vM(b,"trashed",a.Yh());_.vM(b,"explicitlyTrashed",_.L(a,17));_.vM(b,"starred",_.L(a,10));_.vM(b,"hidden",a.Nm());for(var Bd=_.hM(a),Qe=0;Qe<Bd.length;Qe++){var vc=Bd[Qe];uM(b,"parents",vc.Xa(),_.F(vc,2,!1))}for(var ub=_.uk(a,_.$e,13),sg=0;sg<ub.length;sg++){var Hh=ub[sg];uM(b,"owners",Hh.Xa(),_.F(Hh,2,!1))}for(var Hd=_.uk(a,
_.$e,14),tg=0;tg<Hd.length;tg++){var Gj=Hd[tg];uM(b,"writers",Gj.Xa(),_.F(Gj,2,!1))}for(var si=_.uk(a,_.$e,15),uh=0;uh<si.length;uh++){var Vl=si[uh];uM(b,"readers",Vl.Xa(),_.F(Vl,2,!1))}_.L(a,16)&&_.tM(b,"sharedWithMe");_.vM(b,"unparented",_.L(a,34));for(var Wf=_.uk(a,_.eM,35)||[],nf=_.m(Wf),Ci=nf.next();!Ci.done;Ci=nf.next())uM(b,"ancestors",Ci.value.Xa(),!1);for(var ek=_.uk(a,_.eM,38)||[],Hg=_.m(ek),Ih=Hg.next();!Ih.done;Ih=Hg.next())uM(b,"descendants",Ih.value.Xa(),!1);for(var Ik=_.uk(a,_.Fl,37)||
[],Jh=_.m(Ik),Wg=Jh.next();!Wg.done;Wg=Jh.next())uM(b,"folderFeatures",Wg.value.Xa(),!1);for(var ne=_.Jd(a,39),cl=_.m(ne),ai=cl.next();!ai.done;ai=cl.next()){var nj=ai.value,Tj=[];Tj.push("templateData.description");Tj.push("contains");Tj.push(sM(nj));_.tM(b,Tj.join(" "))}for(var oj=_.Jd(a,40),$i=0;$i<oj.length;$i++){var pj=[];0==$i&&pj.push("(");pj.push(sM(oj[$i]));pj.push("in");pj.push("templateData.categories");$i==oj.length-1&&pj.push(")");_.tM(b,pj.join(" "),0==$i?"and":"or")}var Xg=_.C(a,41);
if(null!=Xg){var lh=[];lh.push("templateData.galleryState");lh.push("=");lh.push(sM(_.KTc[Xg]||""));_.tM(b,lh.join(" "))}var Ig=_.C(a,42);if(null!=Ig){var Jg=[];Jg.push("visibility");Jg.push("=");Jg.push(sM(IXc(Ig)));_.tM(b,Jg.join(" "))}for(var Kh=_.uk(a,_.Bl,44),Lh=0;Lh<Kh.length;++Lh){var vh=Kh[Lh];uM(b,"actionItems",FXc(vh),_.F(vh,3,!1))}if(_.T(a,50)){var ii=[];ii.push("pairedDocType");var Uj=_.F(a,50,!1)?"!=":"=";ii.push(Uj);ii.push(sM("NONE"));_.tM(b,ii.join(" "))}uM(b,"workspaceIds",a.Rp(),
!1);for(var fk=_.uk(a,_.Cl,57),aj=0;aj<fk.length;aj++){var Oi=[];0==aj&&Oi.push("(");Oi.push(sM(fk[aj].Xa()));Oi.push("in");Oi.push("approvals");aj==fk.length-1&&Oi.push(")");_.tM(b,Oi.join(" "),0==aj?"and":"or")}if(_.T(a,58)){var Ee=a.Kq(),ac=Ee.Xa(),wh=_.F(Ee,2,!1);if(ac){var Pi=[];wh&&Pi.push("not");Pi.push("creator");Pi.push("=");Pi.push(sM(ac));_.tM(b,Pi.join(" "))}}var Fe=_.E(a,_.Goa,59);if(Fe)for(var Og=_.m(_.uk(Fe,_.Doa,1)),tf=Og.next();!tf.done;tf=Og.next()){var qm=tf.value;uM(b,"categoryMetadata",
qm.an());for(var dl=_.m(_.uk(qm,_.Boa,2)),ti=dl.next();!ti.done;ti=dl.next()){var Hf=ti.value,Xf=_.C(Hf,1),xl=_.ak(Hf,_.Dl[0]);if(10==xl){_.E(Hf,_.uoa,10);var Hj=_.L(Hf,15);(void 0===Hj?0:Hj)?_.tM(b,Xf+" is null"):_.tM(b,"not ("+Xf+" is null)")}else{var Bf=new _.wp,Sd=void 0;switch(xl){case 3:Sd=_.E(Hf,uWc,3);for(var Di=_.m(Sd.aj()),Ve=Di.next();!Ve.done;Ve=Di.next())_.vM(Bf,Xf,Ve.value,"or");break;case 14:for(var Wl=Sd=_.E(Hf,_.noa,14),Ij=new Map([[1,"="],[2,">"],[3,"<"]]),bj=_.m(Wl.aj()),af=bj.next();!af.done;af=
bj.next()){var rm=af.value,sm=Ij.get(_.C(Wl,2));if(!sm)throw Error("Le");var io=[Xf,sm,sM(rm.getYear()+"-"+rm.getMonth()+"-"+rm.getDay())];_.tM(Bf,io.join(" "),"or")}break;case 8:for(var zn=Sd=_.E(Hf,_.toa,8),zk=new Map([[1,"="],[2,">"],[3,"<"]]),Rh=_.m(zn.aj()),Mj=Rh.next();!Mj.done;Mj=Rh.next()){var Xj=Mj.value,Xm=zk.get(_.C(zn,2));if(!Xm)throw Error("Le");_.tM(Bf,[Xf,Xm,Xj].join(" "),"or")}break;case 9:for(var il=Sd=_.E(Hf,wWc,9),Zl=new Map([[1,"in"]]),$l=_.m(il.aj()),An=$l.next();!An.done;An=
$l.next()){var OE=An.value,PE=Zl.get(_.C(il,2));if(!PE)throw Error("Le");_.tM(Bf,[OE,PE,Xf].join(" "),"or")}break;case 6:for(var vI=Sd=_.E(Hf,_.yoa,6),lY=new Map([[1,"="]]),mY=_.m(vI.aj()),wI=mY.next();!wI.done;wI=mY.next()){var nY=wI.value,oY=lY.get(_.C(vI,2));if(!oY)throw Error("Le");_.tM(Bf,[Xf,oY,sM(nY)].join(" "),"or")}break;case 7:for(var Dga=Sd=_.E(Hf,_.woa,7),wxb=new Map([[1,"in"]]),LYa=_.m(Dga.aj()),Ega=LYa.next();!Ega.done;Ega=LYa.next()){var xxb=Ega.value,yxb=wxb.get(_.C(Dga,2));if(!yxb)throw Error("Le");
_.tM(Bf,[sM(xxb),yxb,Xf].join(" "),"or")}break;case 4:for(var zxb=Sd=_.E(Hf,_.Aoa,4),MYa=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),NYa=_.m(zxb.aj()),Fga=NYa.next();!Fga.done;Fga=NYa.next()){var Axb=Fga.value,Bxb=MYa.get(_.C(zxb,2));if(!Bxb)throw Error("Le");_.tM(Bf,[Xf,Bxb,sM(Axb)].join(" "),"or")}break;case 5:for(var OYa=Sd=_.E(Hf,yWc,5),Cxb=new Map([[1,"in"]]),Dxb=_.m(OYa.aj()),PYa=Dxb.next();!PYa.done;PYa=Dxb.next()){var QYa=PYa.value,RYa=Cxb.get(_.C(OYa,2));if(!RYa)throw Error("Le");
_.tM(Bf,[sM(QYa),RYa,Xf].join(" "),"or")}break;case 12:for(var ixa=Sd=_.E(Hf,_.roa,12),Exb=new Map([[1,"="]]),Fxb=_.m(ixa.aj()),jxa=Fxb.next();!jxa.done;jxa=Fxb.next()){var Gxb=jxa.value,SYa=Exb.get(_.C(ixa,2));if(!SYa)throw Error("Le");_.tM(Bf,[Xf,SYa,sM(Gxb)].join(" "),"or")}break;case 11:for(var kxa=Sd=_.E(Hf,_.poa,11),Hxb=new Map([[1,"in"]]),Ixb=_.m(kxa.aj()),TYa=Ixb.next();!TYa.done;TYa=Ixb.next()){var lrc=TYa.value,Vx=Hxb.get(_.C(kxa,2));if(!Vx)throw Error("Le");_.tM(Bf,[sM(lrc),Vx,Xf].join(" "),
"or")}}_.L(Hf,15)?_.tM(b,"not ("+Bf+")"):_.tM(b,1<Sd.aj().length?"("+Bf+")":""+Bf)}}}null!=_.L(a,60)&&_.vM(b,"linkShareMetadata.securityUpdateEligible",_.L(a,60));var UYa=_.L(a,65);if(null!=UYa){var h6=[];h6.push("clientEncryptionDetails.encryptionState");h6.push("=");h6.push(sM(UYa?"encrypted":"unencrypted"));_.tM(b,h6.join(" "))}var VYa=_.uk(a,_.$e,68);if(VYa.length){for(var Jxb=[],xI=[],Kxb=_.m(VYa),WYa=Kxb.next();!WYa.done;WYa=Kxb.next()){var Lxb=WYa.value,Mxb="sharedFrom = "+sM(Lxb.Xa());_.F(Lxb,
2,!1)?xI.push(Mxb):Jxb.push(Mxb)}yXc(b,Jxb,!1);yXc(b,xI,!0)}var Nxb=_.uk(a,_.$e,67);if(Nxb.length){for(var Oxb=[],Pxb=[],Qxb=_.m(Nxb),lxa=Qxb.next();!lxa.done;lxa=Qxb.next()){var XYa=lxa.value,mxa="sharedTo = "+sM(XYa.Xa());_.F(XYa,2,!1)?Pxb.push(mxa):Oxb.push(mxa)}yXc(b,Oxb,!1);yXc(b,Pxb,!0)}null!=_.L(a,69)&&_.vM(b,"linkShareMetadata.allowLessSecureLink",_.L(a,69));1==_.iM(a)&&AXc(b,a);return b.toString()};
_.KXc=function(a){var b=new _.wp(_.JXc(a));_.zL(a)?_.tM(b,"isQuickAccessRequest"):_.AL(a)?_.tM(b,"isPeoplePredictRequest"):_.BL(a)&&_.tM(b,"isDrivePriorityRequest");var c=a.Cc();if(c){var d=[];d.push("sortBy");d.push(_.ETc[c.getType()]);d.push(_.MTc[_.ck(c,2,1)]);_.L(c,3)&&d.push("foldersFirst");_.tM(b,d.join(" "))}_.vM(b,"domainSearch",_.L(a,18));_.vM(b,"offline",a.BN());_.uk(a,_.fM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.BXc(a)),_.tM(b,c.join(" ")));a.AB().length&&(c=[],
c.push("spaces"),c.push("contains"),c.push(_.CXc(a)),_.tM(b,c.join(" ")));if(c=_.iM(a))d=[],d.push("corpora"),d.push("="),d.push(sM(_.iXc[c])),_.tM(b,d.join(" "));_.F(a,66,!0)||_.vM(b,"includeItemsFromAllDrives",_.F(a,66,!0));1!=_.iM(a)&&AXc(b,a);_.F(a,48,!1)&&_.tM(b,"cachedOnly");return b.toString()};_.WL=function(a){if(a instanceof _.JK)a=a.Cd();else if(!a)return!1;return a instanceof _.hF||a instanceof _.gF||"undefined"!=typeof _.wM&&a instanceof _.wM||a instanceof _.Ye&&(_.zL(a)||_.AL(a)||_.BL(a))};
LXc=function(){_.tp.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.O(LXc,_.tp);_.MXc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};NXc=function(a,b){a.V||(a.V=b)};LXc.prototype.ek=function(){_.MXc(this);(0,this.ha)()};OXc=function(a,b){a.ha||(a.ha=b)};_.xM=function(a){if(!a.O){a.O=new $Wc;var b=_.vp(a);_.A(b,56,a.O)}return a.O};LXc.prototype.getState=function(){var a=_.xM(this).getState();a||(a=new PWc,_.xM(this).Rd(a));return a};
var PXc=function(a,b){var c=new NWc;_.B(c,1,b);a=_.vp(a);_.A(a,12,c)};LXc.prototype.ZE=function(){var a=_.xM(this).ZE();if(!a){a=new XWc;var b=_.xM(this);_.A(b,16,a)}return a};LXc.prototype.ma=function(){var a=_.E(_.xM(this),RWc,4);if(!a){a=new RWc;var b=_.xM(this);_.A(b,4,a)}return a};QXc=function(a){var b=_.E(_.xM(a),SWc,8);b||(b=new SWc,a=_.xM(a),_.A(a,8,b));return b};RXc=function(a){var b=_.E(_.xM(a),YWc,19);b||(b=new YWc,a=_.xM(a),_.A(a,19,b));return b};
_.SXc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.Q.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.O(_.SXc,_.Q);_.g=_.SXc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.nn=function(){return 1===this.connectionState||2===this.connectionState};_.g.hf=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?_.uA.MU:_.uA.fia;else 1===a?(b=_.uA.HL,this.O=!0):3===a&&(b=_.uA.LU);if(b)return b=new eXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var TXc=function(a,b){this.userId=a;this.H=b;this.db=null},VXc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return UXc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Re"))},function(d){return a.handleError(d)})},"readwrite")};TXc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.kBb=b.oe(),d)).then(null,function(e){c.handleError(e)})};
var WXc=function(a){return new _.Zh(function(b){var c=new Map;UXc(a,function(d){return BWc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Usa:f.Usa},k=h.next())k=_.m(k.value),f.Usa=k.next().value,k.next().value.then(function(l){return function(p){p&&c.set(l.Usa,new _.vCa(p.kBb))}}(f));return _.di([].concat(_.jd(e.values()))).then(function(){return b(c)})})})})},XXc=function(a,b){return UXc(a,function(c){return c.remove(b)},
"readwrite")},UXc=function(a,b,c){c=void 0===c?"readonly":c;return YXc(a).then(function(d){try{var e=_.ASc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.bL(f):void 0)}},function(d){return a.handleError(d)})},YXc=function(a){return a.db?_.$h(a.db):_.CSc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.CWc(c,"OfflineImpressions");b=_.zSc(c,"OfflineImpressions",{autoIncrement:!0});try{b.H.createIndex("userId",
"userId",void 0)}catch(d){throw _.BK(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Se"))}).then(function(b){return a.db=b},function(b){return _.bi(_.bL(b))})};TXc.prototype.handleError=function(a){a||(a=Error("Te"));_.pM(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.$h()};_.ZXc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.Q.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.O(_.ZXc,_.Q);_.ZXc.prototype.hf=function(){return this.H};
_.ZXc.prototype.Ol=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new wXc(a)))};_.ZXc.prototype.Ny=function(a){this.O=a};var aYc=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ob=new _.Ce(this);this.Ob.listen(b,"Ab",function(k){k.hf()||$Xc(h)});this.Ob.listen(c,[_.uA.HL,_.uA.MU],function(){return void $Xc(h)});this.W=e;f.then(function(){return $Xc(h)})};_.O(aYc,_.Q);
aYc.prototype.qA=function(a){return(this.H.hf()||this.connectionState.hf())&&this.H.O?VXc(this.O,a):this.V.qA(a)};
var $Xc=function(a){return a.H.O?WXc(a.O).then(function(b){b.forEach(function(c,d){a.V.qA(c).then(function(){return bYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},bYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return XXc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
aYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var cYc=function(){};cYc.prototype.iR=function(){return new LXc};var dYc=function(){this.H=new aXc};dYc.prototype.O=function(a){_.A(a,13,this.H)};dYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
fYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.Zr=d;this.O=this.H=null;this.client=_.yM(_.VTc,_.kM(a));this.W=_.C(a,94);this.ka=_.yM(_.ZTc,_.ck(a.eg(),8,0));this.vya=_.yM(_.WTc,_.ck(a.eg(),9,2));this.ma=_.F(a,10,!1);this.ju=_.CK(_.DK(a));this.ODa=_.lM(a);this.ha=eYc(a);this.buildLabel=a.Ri()};eYc=function(a){var b=[].concat(_.jd(_.STc.keys())),c=[].concat(_.jd(_.TTc.keys())),d=_.SK(a);return b.filter(function(e){return _.STc.get(e)(a)}).concat(c.filter(function(e){return d&&_.TTc.get(e)(d)}))};
_.yM=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};fYc.prototype.kv=function(a){return null==a?0:a?2:1};var gYc=function(a){if(a.O)return a.O.H("aU7Ts")};
fYc.prototype.Cb=function(a){return a instanceof _.iA||"undefined"!=typeof _.zM&&a instanceof _.zM||"undefined"!=typeof _.AM&&a instanceof _.AM||"undefined"!=typeof _.BM&&a instanceof _.BM?a.Cb():"undefined"!=typeof _.CM&&a instanceof _.CM||"undefined"!=typeof _.DM&&a instanceof _.DM||"undefined"!=typeof _.EM&&a instanceof _.EM||"undefined"!=typeof _.FM&&a instanceof _.FM||"undefined"!=typeof _.GM&&a instanceof _.GM?a.response?a.response.Cb():null:null};fYc.prototype.Ri=function(){return this.buildLabel};
var hYc=function(a){return a.V.hf()||a.connectionState.hf()?2:1};fYc.prototype.getEnvironment=function(){return this.Zr};var iYc=function(a,b){this.H=a;var c=new _.dBa;_.eBa(c,b.ha);a=this.H.LL();var d=_.wTc(a);_.A(d,10,c);(c=b.Ri())&&_.vTc(a,c);this.H.l_();this.O=b};iYc.prototype.isRunning=function(){return this.H.lU()};
_.jYc=function(a,b,c){var d=_.up(a.H.YF(b,c),_.NTc);PXc(d,hYc(a.O));b=gYc(a.O);"boolean"===typeof b&&QWc(d.getState(),b);1===c&&NXc(d,function(){return void a.H.YM(d)});OXc(d,function(){var e=a.O;e=e.H?e.H.Qd():void 0;var f=d.getState();_.B(f,1,e);a.H.rq(d)});return d};
kYc=function(a){var b=new _.TBa,c=new dYc;_.B(c.H,1,a.client);_.B(c.H,8,a.W);_.B(c.H,3,a.ka);_.B(c.H,4,a.vya);_.B(c.H,5,a.ma);_.B(c.H,6,a.ju);_.B(c.H,7,a.ODa);a=c.setEnvironment(a.getEnvironment());_.GSc(b,_.PTc,a);_.xp(b,_.NTc,new cYc);return b};
lYc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.WG(906,b,void 0,_.bUc());l.W=!1;var p=new _.ISc(l);b=new Date;l=_.BTc(_.ATc(_.zTc(DWc(),new _.JSc(l)),kYc(c)),109).setSessionId(b.getTime()+"_"+_.Tg());if(k){a=new aYc(p,d,e,new TXc(a,f),f,h);_.yTc(l,a);d=l.build();_.uTc(d.LL(),1E3*b.getTime());var q=new iYc(d,c);(new _.Ce).listen(a,"Bb",function(){_.jYc(q,106008,0).ek()});return q}_.yTc(l,p);a=l.build();_.uTc(a.LL(),1E3*b.getTime());return new iYc(a,c)};
mYc=function(a,b){this.V=a;this.W=b};mYc.prototype.O=function(a,b){this.V&&this.isRunning()&&(a=_.jYc(this.V,a,0),b&&_.FSc(a,b),a.ek())};_.nYc=function(a,b){if(a.V&&a.isRunning()){a=_.jYc(a.V,106018,0);var c=_.E(_.xM(a),WWc,15);if(!c){c=new WWc;var d=_.xM(a);_.A(d,15,c)}c=_.B(c,1,1);_.B(c,2,b);a.ek()}};mYc.prototype.H=function(a,b){return this.V&&this.isRunning()?(a=_.jYc(this.V,a,1),b&&_.FSc(a,b),a):null};mYc.prototype.isRunning=function(){return!(!this.V||!this.V.isRunning())};
_.oYc=function(a,b,c,d,e,f){var h=_.L(a,59),k=_.RK(_.DK(a)).toString(),l=_.jM(_.DK(a));f=new fYc(a,b,c,f);a=h?lYc(l,k,f,b,c,d,e,_.F(a,17,!1)):null;return new mYc(a,f)};_.pYc=function(a){_.S(this,a,-1,null,null)};_.O(_.pYc,_.N);_.pYc.prototype.getId=function(){return _.C(this,1)};_.pYc.prototype.Rb=function(a){return _.B(this,1,a)};_.pYc.prototype.xe=function(){return _.E(this,_.lf,2)};_.EL=function(a){_.S(this,a,-1,null,null)};_.O(_.EL,_.N);_.EL.prototype.Yn=function(){return _.C(this,2)};
_.EL.prototype.Cd=function(){return _.E(this,_.pYc,3)};_.uL=function(a){_.S(this,a,-1,null,null)};_.O(_.uL,_.N);_.uL.prototype.Cd=function(){return _.E(this,_.tL,1)};_.uL.prototype.gea=function(a){return _.B(this,2,a)};_.sL=function(a){_.S(this,a,-1,null,null)};_.O(_.sL,_.N);_.sL.prototype.getId=function(){return _.C(this,1)};_.sL.prototype.Rb=function(a){return _.B(this,1,a)};_.qYc=function(a,b){return _.B(a,2,b)};_.GL=function(a){_.S(this,a,-1,null,null)};_.O(_.GL,_.N);
_.GL.prototype.Cd=function(){return _.E(this,_.sL,1)};rYc=[2];_.NL=function(a){_.S(this,a,-1,rYc,null)};_.O(_.NL,_.N);_.NL.prototype.Nc=function(){return _.C(this,1)};_.NL.prototype.$V=function(){return _.uk(this,_.pF,2)};_.NL.prototype.xe=function(){return _.E(this,_.lf,3)};_.sYc=function(a){_.S(this,a,-1,null,null)};_.O(_.sYc,_.N);_.sYc.prototype.Bk=function(){return _.C(this,1)};_.tYc=function(a){var b=new _.sYc;return _.B(b,1,a)};uYc=[1];_.ZUc=function(a){_.S(this,a,-1,uYc,null)};_.O(_.ZUc,_.N);
_.vYc=function(){this.H={}};wYc=function(a,b,c){if(a.H[b])throw Error("Ue");a.H[b]=c};_.vYc.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)}};xYc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.yYc=function(a,b){this.H=a;this.V=b;this.O=_.fUc[_.ck(a.eg(),8,0)];this.W=_.fUc[_.ck(a.eg(),51,5)];this.nonce=_.Tg()};
_.yYc.prototype.vc=function(a,b){if(b.eO)zYc(this,a,b),AYc(this,a,b);else if(11===a.Ym){if(b.qKb){var c=b.LD||_.H(this.H.eg(),37,"");_.Aj(a.uri,"key",c)}zYc(this,a,b);BYc(this,a,b)}else switch(a.uri=CYc(this,a.Ym,a.uri),a.Ym){case 1:BYc(this,a,b);zYc(this,a,b);break;case 0:_.F(this.H,83,!1)&&(b.ju||_.CK(_.DK(this.H))||_.Aj(a.uri,"dsNonce",this.nonce));BYc(this,a,b);AYc(this,a,b);zYc(this,a,b);break;case 2:case 3:case 4:case 5:BYc(this,a,b);AYc(this,a,b);zYc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:BYc(this,
a,b);AYc(this,a,b);break;default:throw Error("Ve`"+a.Ym);}};DYc=function(a,b){var c=CYc(a,b,new _.tj);if(!c.H)throw Error("Xe");return _.wj(_.vj(_.uj(new _.tj,c.O),c.H),c.W).Ei(_.gUc.has(b)?"/batch"+a.O:"/batch")};
CYc=function(a,b,c){var d=_.C(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=_.H(a.H.eg(),62,"");break;case 8:a=_.C(a.H.eg(),53);break;case 9:a=_.C(a.H.eg(),56);break;case 10:a=_.C(a.H.eg(),22);break;case 13:a=_.C(a.H.eg(),55);break;case 12:a=_.C(a.H.eg(),43);break;default:throw Error("Ve`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.tj(a);
_.wd(c,"/")&&(c=c.slice(1));return new _.tj(a+"/"+c)};BYc=function(a,b,c){a=_.DK(a.H);c.ju||_.CK(a)||(c=[{key:"u",value:_.jM(a)}],b.headers.authorization=_.Zac(c)||"",c=_.RK(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
zYc=function(a,b,c){var d=_.DK(a.H),e=a.H.eg(),f=c.M7a||!!_.C(e,13);c=c.N7a||_.F(e,14,!1);var h=11===b.Ym;f&&((f=_.C(e,13))&&_.wd(f,"email:")?_.Aj(b.uri,"trace",f):f&&"trace:true"===f?_.Aj(b.uri,"$trace","true"):f?_.Aj(b.uri,"trace","token:"+f):_.Aj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Aj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.ck(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
AYc=function(a,b,c){c.ju||_.CK(_.DK(a.H))?_.Aj(b.uri,"key",_.H(a.H.eg(),36,"")):(a=c.LD||_.H(a.H.eg(),37,""),_.Aj(b.uri,"key",a))};_.EYc=function(a,b){_.CG.call(this,a?a:500,b?b:6E5)};_.O(_.EYc,_.CG);_.FYc=function(a,b){this.O=b;this.H=new Map;this.Mma(_.uk(a,_.Il,91))};_.FYc.prototype.Mma=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.C(c,2);if(!b||!c)break;var d=_.GYc(this,b);if(d){d!==c&&YUc(b);break}this.H.set(b,c)}};
zVc=function(a,b){return[].concat(_.jd(new Set(b))).map(function(c){var d=(new _.Il).Rb(c);a.H.has(c)?_.Jl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Jl(d,_.Al(c));return d}).filter(function(c){return _.T(c,2)})};_.GYc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.T(a,140)?_.Al(a):null};_.HM=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Kd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.HM.prototype.getState=function(){return this.state};
_.HM.prototype.BM=function(a){var b=this;if(this.W)return this.W;var c=_.ei();this.W=c.promise.then(function(){return _.tYc(1)},function(d){d=_.tA(d).ih;var e=0;2===d.Np()?e=3:_.aUc(d)&&(e=2);return _.tYc(e)});a&&this.W.then(function(d){3===d.Bk()&&_.nYc(b.Kd,186469046)});this.H&&(a=_.C(RXc(this.H),4)||0,ZWc(RXc(this.H),a+1));setTimeout(function(){b.W=null},5E3);HYc(this,c);return this.W};_.KYc=function(a,b){IYc(a,3)&&_.JYc(a,b)};_.HM.prototype.reset=function(){this.O=null;LYc(this)};
LYc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.JYc=function(a,b){if(!a.O&&!a.V){a.H=a.Kd.H(106025);if(a.H){var c=RXc(a.H);var d=!(!a.state.isConnected()&&a.state.nn());c=_.B(c,1,d);c=_.B(c,2,a.state.O);_.B(c,5,!!b)}a.O=new _.EYc(5E3,6E4);MYc(a)}};MYc=function(a){LYc(a);HYc(a);a.O&&(a.timeout=setTimeout(function(){return void MYc(a)},a.O.Xa()),_.DG(a.O))};
HYc=function(a,b){_.fi((a.ha?a.ha():_.$h()).then(null,function(){return null}),function(){if(a.H){var c=_.C(RXc(a.H),3)||0,d=RXc(a.H);_.B(d,3,c+1)}NYc(a,b)})};NYc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Ye(new _.nVc)}).then(null,function(d){d=_.tA(d);_.aUc(d.ih)&&IYc(a,2);return _.bi(d)});b?b.resolve(c):c.then(null,function(){return null})};_.HM.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
IYc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.hUc.get(b)),!0):!1};sVc=[_.eL,_.gL,_.fL,_.iL,_.hL,_.jL,_.kL,_.nL,_.pL,_.qL,_.rL,_.tL,_.uL,_.JL,_.LL,_.NL,_.TK,_.OL,_.PL,_.QL,_.cVc,_.RL];OYc=[_.VK];tVc=[_.fF,_.hVc];uVc=[_.EL,_.EK,_.NB,_.SL];vVc=[_.JK,_.xz,_.VK,_.bVc];wVc=[_.SL,_.iF];xVc=[_.sL,_.ZUc,_.DL,_.GL,_.HL,_.aVc,_.RL,jVc,iVc];
PYc=function(a){return a instanceof _.JK||a instanceof _.SL||"undefined"!=typeof _.IM&&a instanceof _.IM||a instanceof _.PL||a instanceof _.qL||a instanceof _.jL||a instanceof _.nL||a instanceof _.TK&&_.VL(a)};_.QYc=function(a,b){this.O=b;this.H={};this.nj=new LWc;b=_.dL({fields:_.Jd(a,28),nr:_.CK(_.DK(a))});this.Lb("SecondaryFields",b);this.Lb("SdkBackfillEnabled",!!_.F(a,45,!1)+" (Include corpus cache: "+!!_.F(a,46,!1)+")")};_.QYc.prototype.Lb=function(a,b){this.H[a]=RYc(a,b)};
var SYc=function(a,b){var c=a.H[b];c||(c=RYc(b,0,2),a.H[b]=c);c.Lb(String(Number(c.Xa())+1))};_.QYc.prototype.Dz=function(a){var b=_.Ra(this.H);this.O&&b.push(RYc("CacheSize",this.O.Qd()));b.push(RYc("InitialViewDataLoaded",a));a=new _.nXc;_.Db(a,1,b);return _.ni(a)};RYc=function(a,b,c){var d=new _.lXc;_.B(d,1,a);d.Ib(c||1);d.Lb(String(b));d.wm(_.lUc.get(a));return d};
_.TYc=function(a,b,c){var d=new _.DTc;_.B(d,2,"Pending...");b instanceof _.JK?_.vk(d,3,_.KK[0],b):b instanceof _.SL?_.vk(d,4,_.KK[0],b):"undefined"!=typeof _.IM&&b instanceof _.IM?_.vk(d,5,_.KK[0],b):b instanceof _.PL?_.vk(d,6,_.KK[0],b):b instanceof _.qL?_.vk(d,7,_.KK[0],b):b instanceof _.jL?_.vk(d,8,_.KK[0],b):b instanceof _.nL?_.vk(d,9,_.KK[0],b):b instanceof _.TK&&_.vk(d,10,_.KK[0],b);var e=pVc(b),f=[];if(b instanceof _.fL)TL(f,"ID",b.getId()),TL(f,"Parent ID",b.Pk());else if(b instanceof _.qL)TL(f,
"TD ID",b.getId());else if(b instanceof _.JK)b=_.KXc(b.Cd()),TL(f,"Query",b);else if(b instanceof _.SL)TL(f,"Query","All");else if(b instanceof _.PL)TL(f,"TD ID",b.getId()),TL(f,"Title",b.getTitle()),TL(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.jL)TL(f,"MimeType",b.getMimeType()),TL(f,"Title",b.getTitle()),TL(f,"Parents",_.Jd(b,3)),TL(f,"Convert",_.L(b,8)),TL(f,"Request ID",b.lj()),TL(f,"Parent Request IDs",_.Jd(b,10)),TL(f,"Revision Item ID",_.C(b,12)),TL(f,"Pinned",_.L(b,8));else if(b instanceof
_.kL)TL(f,"Title",b.getTitle());else if(b instanceof _.nL)TL(f,"ID",b.getId());else if(b instanceof _.rL)TL(f,"WS ID",b.getId());else if(b instanceof _.TK){if(TL(f,"ID",b.getId()),TL(f,"Title",b.getTitle()),TL(f,"Description",b.zf()),TL(f,"Starred",_.L(b,4)),TL(f,"Trashed",b.Yh()),TL(f,"MimeType",b.getMimeType()),TL(f,"Parents",_.Jd(b,8)),TL(f,"Parents to add",_.Jd(b,9)),TL(f,"Parents to remove",_.Jd(b,10)),TL(f,"Restricted",_.L(b,11)),TL(f,"Folder Color",b.$i()),TL(f,"Update Last Viewed",_.L(b,15)),
TL(f,"Subscribed",_.L(b,16)),TL(f,"Available Offline",_.L(b,18)),TL(f,"Wksp to add",_.Jd(b,31)),TL(f,"Wksp to remove",_.Jd(b,32)),b=_.E(b,_.pl,25))TL(f,"Read Only",_.L(b,1)),TL(f,"Reason",_.C(b,2))}else b instanceof _.QL?(TL(f,"WS ID",b.getId()),TL(f,"Title",b.getTitle()),TL(f,"State",b.getState())):b instanceof _.cVc&&TL(f,"Title",b.request.getTitle());_.B(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.nj.add(d);return d};
_.UYc=function(a,b){for(var c=new _.wp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.KUc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.B(a,2,c.toString()||"Done.")};_.QYc.prototype.zR=function(){return this.nj.Mg()};_.t("sy180");
_.JM=function(a){_.S(this,a,-1,null,null)};_.O(_.JM,_.N);_.JM.prototype.yd=function(){return _.E(this,_.iA,1)};_.VYc=function(a,b){return _.A(a,1,b)};_.JM.prototype.Yn=function(){return _.C(this,3)};
_.WYc=function(a,b,c){_.xi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.O(_.WYc,_.xi);
_.XYc=function(a,b){this.O=a;this.V=b;this.H=null};
var KM=function(a){_.Q.call(this);this.name=a};_.O(KM,_.Q);_.g=KM.prototype;_.g.q4=function(){};_.g.bGa=function(){};_.g.A1a=function(){};_.g.HNa=function(){};_.g.z1a=function(){};_.g.ZF=function(){this.dispatchEvent(new _.xi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var YYc=function(a,b){KM.call(this,"Online");var c=this;this.O=a;this.H=b;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.O,"Ab",function(d){d.hf()||c.ZF()});this.Rc.listen(this.H,"ib",this.ZF)};_.O(YYc,KM);YYc.prototype.max=function(){var a=this.O.hf(),b=this.H.JB();return!a&&b?Infinity:0};YYc.prototype.q4=function(){this.ZF()};
var ZYc=function(a){KM.call(this,"Online");var b=this;this.connectionState=a;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.connectionState,[_.uA.HL,_.uA.fia,_.uA.MU],function(){return b.ZF()})};_.O(ZYc,KM);ZYc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};ZYc.prototype.q4=function(){this.ZF()};
_.$Yc=function(a,b){this.H=a;this.O=b};_.aZc=function(a){return a.H instanceof _.HM?new ZYc(a.H.getState()):new YYc(a.O,a.H)};_.$Yc.prototype.Rj=function(){return this.H instanceof _.HM?this.H.getState():this.O};
var cZc;_.bZc=function(a,b,c){this.yK=c;this.O=!0;this.V=0;this.H=new _.CG(a,b,.5)};cZc=function(a){return a.H.O+a.V};
_.LM=function(a,b){KM.call(this,"Backoff");this.H=a;this.O=b};_.O(_.LM,KM);_.LM.prototype.max=function(){return this.H.O?Infinity:0};_.LM.prototype.HNa=function(){var a=this.H;a.V=0;a.H.reset()};_.LM.prototype.z1a=function(a){var b=this;dZc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Xa(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.ZF()},a),_.DG(this.H.H))};
var dZc=function(a){var b;return(a=null===(b=_.fa(a.QD))||void 0===b?void 0:b.response)?NUc(_.Asb(a)):!1};_.LM.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.eZc=function(a,b){KM.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.O(_.eZc,KM);_.eZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.eZc.prototype.q4=function(a){a>=this.O?this.ZF():null==this.H&&fZc(this)};_.eZc.prototype.bGa=function(a,b){0<b?fZc(this):this.H=null};var fZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.ZF.bind(a),a.V)};
_.MM=function(){this.nj=[]};_.g=_.MM.prototype;_.g.add=function(a,b){b?this.nj.unshift(a):this.nj.push(a);return!0};_.g.cua=function(a){return _.za(this.nj,0,a)};_.g.Qd=function(){return this.nj.length};_.g.cancel=function(a){return _.ta(this.nj,function(b){return b.Dv.config.requestId===a?(b.te.resolve(qVc(b.Dv.request)),!0):!1})};_.g.hK=function(){return _.dg(this.nj,function(a){return _.VL(a.Dv.request)})};
var gZc=function(){KM.call(this,"Immediate")};_.O(gZc,KM);gZc.prototype.max=function(){return Infinity};gZc.prototype.q4=function(){this.ZF()};
var hZc=function(){KM.call(this,"One Request")};_.O(hZc,KM);hZc.prototype.max=function(){return 1};
_.NM=function(a){KM.call(this,"Parallel");this.limit=a;this.H=0};_.O(_.NM,KM);_.NM.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.NM.prototype.q4=function(){this.H<this.limit&&this.ZF()};_.NM.prototype.bGa=function(a){this.H+=a.length};_.NM.prototype.A1a=function(a){this.H-=a.length;this.H<this.limit&&this.ZF()};
var iZc=function(){_.Q.apply(this,arguments)};_.O(iZc,_.Q);var kZc=function(a,b){a.dispatchEvent(new jZc(b))};iZc.prototype.O=function(){};var jZc=function(a){_.xi.call(this,"Nb");this.request=a};_.O(jZc,_.xi);
_.OM=function(a,b,c,d,e,f){_.Q.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.Rc=new _.Ce(this);this.Ma(this.Rc);for(a=0;a<this.H.length;a++)this.Rc.listen(this.H[a],"Mb",this.z0a);for(a=0;a<this.O.length;a++)this.Rc.listen(this.O[a],"Nb",function(k){lZc(h,!0,k.request)});this.ka=_.nt("drive.ds.network.queue.Queue [%s]",f)};_.O(_.OM,_.Q);_.OM.prototype.add=function(a){return lZc(this,!1,{Dv:a,te:_.ei(),QD:[]})};
_.OM.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};_.OM.prototype.hK=function(){return this.V.hK()?!0:this.buckets.some(function(a){return a.hK()})};
var lZc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.lq(new _.jc,"No queue bucket accepted request."),_.bi(_.tA(a));for(var d=mZc(a),e=0;e<a.H.length;e++)a.H[e].q4(d);return c.te.promise};_.g=_.OM.prototype;
_.g.z0a=function(){var a=mZc(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].cua(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.iwb.bind(this,a[e]),this.hwb.bind(this,a[e]));e=mZc(this);for(var f=0;f<this.H.length;f++)this.H[f].bGa(a,e);_.fi(_.di(d).then(this.gwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.z0a.bind(this),0)};
_.g.iwb=function(a,b){var c=a.Dv.config;this.log(pVc(a.Dv.request)+" request completed successfully. xd4: "+!(!c||!c.eO));this.H.forEach(function(d){return d.HNa()});this.O.forEach(function(d){return d.O(a)});a.te.resolve(b)};
_.g.hwb=function(a,b){b=_.tA(b);this.log(pVc(a.Dv.request)+(" request failed with error: "+b.ha+"."));a.QD.push({response:b,ZQb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].z1a(a);a.Dv.config.Foa||!this.O.some(function(d){return d.intercept(a)})?a.te.reject(b):this.log(pVc(a.Dv.request)+" encountered an error, but was intercepted to be retried.")};_.g.gwb=function(a){mZc(this);for(var b=0;b<this.H.length;b++)this.H[b].A1a(a)};
var mZc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Qd()){b=a.buckets[c].Qd();break}return b};_.OM.prototype.log=function(a){this.ha.info(this.ka,a)};
_.nZc=function(a,b,c,d){iZc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.dk(a,21,1E3);this.ta=_.dk(a,1,1);this.ma=function(){return new _.bZc(_.dk(a,63,1E3),_.dk(a,64,3E5),_.dk(a,65,10))}};_.O(_.nZc,iZc);
_.nZc.prototype.intercept=function(a){var b=a.QD.length,c=0<b&&_.fa(a.QD).response||null;if(c){c=_.PK(c);if(2===c.Np())return oZc(this,a);if(_.aUc(c))return 2>=b?(kZc(this,a),a=!0):a=!1,a;var d=c.Ak();if(3===d||31===d||13===d||9===d)return pZc(this,a,b);if(NUc(c))return b=cZc(this.V),c=this.V,cZc(c)<c.yK?(this.log("Backoff number "+b+" for a User Rate Limit error."),kZc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var oZc=function(a,b){var c=qZc(a,b),d=cZc(c);if(cZc(c)<c.yK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.hf()?(d=c.H.Xa(),_.n.setTimeout(function(){return kZc(a,b)},d),_.DG(c.H)):(_.n.setTimeout(function(){return kZc(a,b)}),c.V++),!0;a.H.delete(b);return!1},qZc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},pZc=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 kZc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.nZc.prototype.O=function(a){this.H.delete(a)};_.nZc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var rZc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.bUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.wub,d=fXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.uub(_.bL(e),"reading data"))}},sZc=function(a){return rZc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var tZc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.La=c;this.W=d;this.Qa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.wa=this.ha=null;this.te=_.ei();this.finished=!1;this.Ba=this.Bu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Dz();a=_.bUc()&&a?_.C(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.NO="progress_"+this.requestId;h.NO=this.NO;this.ma=!!f.metadata};
tZc.prototype.log=function(a){this.La.info("drive.ds.sync.request.ResumableUpload",a)};tZc.prototype.start=function(){var a=this,b=new iVc(this.request.request,this.request.metadata),c=uZc(this);this.Ha.then(function(d){return d.Ye(b,c)}).then(function(d){a.ha=d.O;a.wa=d.H;a.Fa=d.V;vZc(a)},function(d){return void a.te.reject(d)});return _.fi(this.te.promise.then(function(d){wZc(a,d);return d},function(d){d=_.tA(d);wZc(a,d.ih);return _.bi(d)}),function(){xYc(a.H,[a.NO])})};
var uZc=function(a){var b=_.Za(a.config);wYc(a.H,a.NO,IWc(function(){return void a.H.notify([a.requestId],0)}));return b};tZc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.te.resolve(qVc(this.request)),!0)};
var vZc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),xZc(a,4))},xZc=function(a,b){yZc(a).then(function(c){if(c){var d=zZc(a,c.blob.size);a.Ha.then(function(f){return f.Ye(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.bK()&&(a.wa=f.bK());f.oN()&&(a.Fa=f.oN());a.progress<a.fileSize?vZc(a):a.te.resolve(f)},function(f){if(d.Foa)a.cancel();else{var h=_.PK(f);h.iDa()||h.Cma()||a.ma?AZc(a,b,h,!1):sZc(c.blob).then(function(k){k=k?_.tGa.get(k)||
25:38;_.$K(h,k);k=38===h.Np();var l=38!==h.Np()&&25!==h.Np();AZc(a,b,h,k,l)},function(){})}})}else{var e=_.tA(_.$K(_.lq(new _.jc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.te.reject(e)}})},AZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Dga(f);!e&&0<b?(a.Bu++,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+"."));xZc(a,b)},a.Qa*Math.pow(1.5,f))):a.te.reject(_.tA(c))},yZc=function(a,b){return a.ma&&a.V?_.$h(a.V):BZc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return yZc(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 jVc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.C(a.request.request,
12)||void 0);return a.V})},BZc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.HQ?a.request.HQ(b,a.O):_.$h(_.MUc(a.request.file,b,b+a.O))},zZc=function(a,b){var c=_.Za(a.config);c.qSa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;xYc(a.H,[a.NO]);wYc(a.H,a.NO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},wZc=function(a,b){b.INa(3);b.Dga(a.Bu);b.bK()||b.Zda(a.wa);b.oN()||b.Kda(a.Fa)};
_.CZc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.CZc.prototype.create=function(a,b){return new tZc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.DZc=function(a){this.O=a;this.H={}};_.DZc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Dv.request instanceof _.kVc)b.push(EZc(this,a[c].Dv));else{var d=_.lq(new _.jc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.tA(d)))}return b};_.DZc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.DZc.prototype.hK=function(){return!_.Ua(this.H)};
var EZc=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.fi(d,function(){delete a.H[e]})};
_.FZc=function(a,b){return new _.OM(b,a,[new gZc],[new _.MM],[],"immediate")};_.GZc=function(a,b,c,d,e){return new _.OM(e,a,[_.aZc(d),new _.LM(c,e),new hZc],[new _.MM],[new _.nZc(b,c,d.Rj(),e)],"connected")};_.HZc=function(a,b,c,d,e,f,h){h=void 0===h?_.dk(b,10,50):h;return new _.OM(e,a,[_.aZc(d),new _.eZc(h,_.dk(b,12,10)),new _.NM(3*h),new _.LM(c,e)],[new _.MM],[new _.nZc(b,c,d.Rj(),e)],f)};_.IZc=function(a,b,c){b=_.dk(b,46,1);return new _.OM(c,a,[new _.NM(b)],[new _.MM],[],"resumable_upload")};
_.JZc=function(a,b,c,d,e,f,h,k){this.zI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.JZc.prototype.Ye=function(a,b){return KZc(this,a,b).then(null,function(c){c=_.tA(c);var d=c.ih;rVc(a)||_.nq(d);return _.bi(c)})};
var KZc=function(a,b,c){c=void 0===c?{}:c;var d=a.zI.validate(b);if(d)return _.bi(_.tA(d));var e=a.ma.translate(b);e instanceof _.jc?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 _.$h(d).then(function(){if(e instanceof _.jc)return _.bi(_.tA(e));if(Array.isArray(e)){var f=e.map(function(h){return LZc(a,b,h,c)});return _.di(f)}return LZc(a,b,e,c)},function(f){return _.bi(_.tA(f))})},
LZc=function(a,b,c,d){var e=MZc(a,c);if(!e)return b=_.$K(_.lq(new _.jc,"Failed to choose a queue for server request."),18),_.bi(_.tA(b));if(e===a.H[7]||e===a.H[8])d.eO=!0;d=e.add({request:c,config:d});(_.VL(b)||_.VL(c))&&_.fi(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};_.JZc.prototype.cancel=function(a){return _.Pa(this.H,function(b){return b.cancel(a)})};
var MZc=function(a,b){var c=!1;b instanceof _.xz?c=!!_.L(b,7):b instanceof _.JK&&(c=(c=b.Cd())&&!!_.L(c,46));return(b instanceof _.nVc||b instanceof _.rK&&_.L(b,9))&&a.H[1]?a.H[1]:b instanceof _.kVc&&a.H[5]?a.H[5]:c&&yVc(b,a.O)&&a.H[7]?a.H[7]:yVc(b,a.O)&&a.H[8]?a.H[8]:c&&b instanceof _.xz&&a.H[6]?a.H[6]:(c||OYc.includes(b.constructor))&&a.H[3]?a.H[3]:sVc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var NZc=function(a){this.H=a};NZc.prototype.build=function(a,b){var c="====="+_.Tg()+"=====",d=a[0].Ym,e=b.every(function(l){return l.eO});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=DYc(this.H,a[0].Ym);_.Aj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=OZc[d],h=PZc[d]||{},h["content-type"]=_.nt('multipart/mixed; boundary="%s"',c),d=QZc[d],k=new _.tj("");a=RZc(this,a,b,c,e);return{Ym:f,body:a,headers:h,method:d,uri:k}};
var RZc=function(a,b,c,d,e){for(var f=WUc(SZc[b[0].Ym]||{}),h="",k=0;k<b.length;k++){e&&BYc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=CYc(p,q.Ym,q.uri);switch(q.Ym){case 0:case 5:AYc(p,q,r);zYc(p,q,r);break;case 2:BYc(p,q,r);AYc(p,q,r);var u=q,y=_.C(p.H.eg(),57);u.headers.host=_.Fj(y).H;u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;zYc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("We`"+q.Ym);default:throw Error("Ve`"+
q.Ym);}p=l;q=p.uri.clone();_.uj(q,"");_.vj(q,"");_.wj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+WUc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},TZc={},OZc=(TZc[0]=1,TZc[2]=3,TZc),UZc={},QZc=(UZc[0]="POST",UZc[2]="PUT",UZc[12]="POST",UZc),VZc={},WZc={},PZc=(WZc[2]=(VZc["x-goog-upload-protocol"]="batch",VZc),WZc),XZc={},YZc={},ZZc={},$Zc={},SZc=($Zc[0]=(XZc["content-type"]="application/http",XZc["content-transfer-encoding"]="binary",XZc),$Zc[12]=
(YZc["content-type"]="application/http",YZc["content-transfer-encoding"]="binary",YZc),$Zc[2]=(ZZc["content-type"]="application/http",ZZc),$Zc);
var a_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,b_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var c_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.nj=new Map};c_c.prototype.add=function(a,b){var c="DEFAULT";b.eO&&(c=DYc(this.V,a.Ym).toString());this.nj.has(c)||this.nj.set(c,[]);c=this.nj.get(c);if(1<=c.length&&!b.eO&&!OZc[a.Ym])return a=_.lq(new _.jc,"Unsupported batch API: "+a.Ym),_.bi(_.tA(a));var d=_.ei();c.push({request:a,config:b,te:d});return d.promise};
c_c.prototype.send=function(){var a=this;this.nj.forEach(function(b,c){try{d_c(a,b)}catch(f){var d=_.mq(_.lq(new _.jc,"Error executing XHR: "+f.message),f.stack),e=_.tA(d);b.forEach(function(h){h.te.reject(e)});a.nj.delete(c)}})};
var d_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.LDa&&!c.config.eO){var d=!1;if(OZc[c.request.Ym]){var e={Ym:c.request.Ym,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.vc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){e_c(a,c);return}}}f_c(a,b)},e_c=function(a,b){var c=b.te;a.W.lh(b.request,b.config).then(function(d){c.resolve(d);g_c(a,b)},function(d){a.handleError(b,d);c.reject(_.tA(d))})},f_c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.lh(a.ha.build(c,d),{LDa:!0,eO:d.every(function(e){return e.eO})}).then(function(e){e.headers=_.zUc(e.headers);var f=b_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.kc("Could not extract batch boundary.",_.$K(_.mq(new _.jc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.wd(_.$ha(h[0]),f)&&_.Zd(h[1]))h=_.$ha(h[0]).substring(f.length);else throw new _.kc("Could not parse batch response; did not begin and end with boundary.",
_.$K(_.mq(new _.jc,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 u=void 0;var y,z=e.headers,D=f[l],G=p&&p.uri,I=D.split("\r\n\r\n");if(2>I.length)u=new _.kc("Individual batch response contained too few parts.",_.$K(_.mq(new _.jc,D),17));else{var M=I[1].split("\r\n");if(y=a_c.exec(M[0])){p=_.Eb(y[1]);y=y[2];M.shift();z=_.Za(z);for(var R=Object,W=R.assign,oa={},ha=0;ha<M.length;ha++){var va=_.iia(M[ha],":",1);va&&2===
va.length&&(oa[(0,_.gg)(va[0])]=(0,_.gg)(va[1]))}M=_.zUc(oa);W.call(R,z,M);try{u=_.Zd(_.Sg(I[2]))?void 0:JSON.parse(I[2])}catch(Ca){}u=(p=_.EUc(p,y,z,D,u,void 0,void 0,G&&G.toString()))?_.tA(p):{headers:z,text:D,json:u||void 0}}else u=new _.kc("Could not extract HTTP status code and text.",_.$K(_.mq(new _.jc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.tA(e);return _.GRc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].te,l=e[h];l instanceof _.jc||l instanceof
_.kc?(l=_.tA(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||g_c(a,b[0])})},g_c=function(a,b){var c=b.request.Ym;b=!b.config.ju&&_.ma(h_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=IYc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.ek(),a.H=null)}else a.O&&b&&a.O.wa()};
c_c.prototype.handleError=function(a,b){a=_.Asb(b);if(2===a.Np()){if(this.H)return _.KYc(this.H),!0}else if(_.aUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.JYc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var h_c=[0,2,4,7,8];
var i_c=function(){_.mj.apply(this,arguments)};_.O(i_c,_.mj);i_c.prototype.getAllResponseHeaders=function(){return _.$ha(_.mj.prototype.getAllResponseHeaders.call(this))};
var j_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=j_c.prototype;_.g.lh=function(a,b){try{this.W.vc(a,b);var c=new i_c;c.AC=!0;var d=b.requestId||"",e=_.ei();c.listen("complete",this.Bab.bind(this,c,e,d,b.LDa,4===a.Ym));d&&b.NO&&!b.eO&&(this.O[d]=c,this.H[d]=b,c.Hb=!0,c.listen("uploadprogress",(0,_.v)(this.Xzb,this,b)),b.qSa||c.listen("downloadprogress",(0,_.v)(this.Svb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.bi(_.tA(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.Foa=!0,b.abort(),!0):!1};_.g.Bab=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.O[c],delete this.H[c]);c={headers:_.Ula(a),text:a.ul()};if(!d)try{c.json=_.sj(a)}catch(f){}d=_.EUc(a.Cb(),_.Rla(a),c.headers,c.text,c.json,a.O,_.Vla(a),String(a.ta),e);a.dispose();d?b.reject(_.tA(d)):b.resolve(c)};_.g.Xzb=function(a,b){b.lengthComputable&&this.V.notify([a.NO],a.qSa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Svb=function(a,b){b.lengthComputable&&this.V.notify([a.NO],b.loaded/b.total/2+.5)};
_.k_c=function(a,b,c,d,e,f,h){this.O=a;this.wa=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new NZc(this.O);this.W=new j_c(this.O,this.wa)};_.g=_.k_c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Dv;this.V.push(e);b.push(this.Ba.ME(e,a[d].QD));c.push(PYc(e.request)?_.TYc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.tA(_.EUc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new c_c(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={Lsa:e.Lsa},k++){e.Lsa=a[k].Dv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.Lsa)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].Dv,l=d[e].then(this.aob.bind(this,k.request,c[e],a[e].QD)).then(null,function(p){return Promise.reject(_.tA(p))}),l.then(this.JNa.bind(this,k),this.JNa.bind(this,k)),b.push(l);return b};_.g.aob=function(a,b,c,d){a=this.ta.ME(a,d,c);b&&(c=a.Id?a.Id():[],_.UYc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.hK=function(){return this.V.some(function(a){return _.VL(a.request)})};
_.g.JNa=function(a){_.sa(this.V,a)};
_.l_c=function(){};_.l_c.prototype.execute=function(){return null};
var m_c;m_c=function(a){this.H=a};_.PM=function(a,b){if(!_.Da(b))throw new _.kc("Expected an object, but got a "+_.Ifa(b)+".",_.aL(11,void 0,8));var c=b.kind;if(!c)throw new _.kc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.aL(11,void 0,21));if(!a.includes(c))throw new _.kc("Expected "+a.join(" or ")+" but got a "+c+".",_.aL(11,void 0,9));};_.QM=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.n_c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.EVc(new _.nl,a.canAddChildren);c=_.B(c,18,a.canChangeTeamDriveBackground);c=_.B(c,2,a.canComment);c=_.B(c,3,a.canCopy);b=_.NVc(_.IVc(_.OVc(_.PVc(_.QVc(_.MVc(_.LVc(_.HVc(_.GVc(_.FVc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.B(b,13,a.canRenameTeamDrive);b=_.RVc(_.KVc(_.JVc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.B(b,27,a.canModifyContentRestriction);b=_.B(b,26,a.canShareOutsideDomain);b=_.UVc(_.TVc(_.SVc(_.B(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.B(b,34,a.canDeleteChildren);b=_.B(b,35,a.canTrashChildren);b=_.B(b,36,a.canRequestApproval);b=_.B(b,37,a.canReadCategoryMetadata);b=_.B(b,38,a.canEditCategoryMetadata);b=_.B(b,39,a.canChangeCategoryReferences);b=_.B(b,49,a.canSetMissingRequiredFields);
b=_.B(b,40,a.canAddMyDriveParent);b=_.B(b,41,a.canRemoveMyDriveParent);b=_.WVc(_.VVc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.B(b,44,a.canRead);b=_.ZVc(_.YVc(_.XVc(_.B(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.B(b,50,a.canChangeSecurityUpdateEnabled);b=_.B(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.B(b,52,a.canCreateDecryptedCopy);b=_.B(b,53,a.canCreateEncryptedCopy);b=_.B(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.B(b,55,a.canBlockOwner)};_.RM=function(a,b){_.PM(["drive#user"],b);var c=_.CVc(_.DVc((new _.$k).Ib(1).Rb(b.permissionId),b.id).ld(b.displayName),b.emailAddress);b.picture&&c.Sn(b.picture.url);_.IK(a.H)&&_.CVc(c,b.emailAddressFromAccount||b.emailAddress);_.BVc(c,a.Yf(b.id));_.B(c,9,b.domain);return c};m_c.prototype.Yf=function(a){if(a)return _.jM(_.DK(this.H))==a};
var o_c,u_c,J_c,r_c,z_c,y_c,A_c,C_c,E_c,q_c,G_c,F_c,H_c,I_c,K_c,L_c,B_c;o_c=function(a,b){this.H=a;this.O=b};
_.s_c=function(a,b,c){var d=new _.JM,e=new _.iA,f=e.Nw;_.PM(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.p_c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.p_c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.B(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.PM(["drive#fileList"],b);if(h=b.spellResponse){f=[];var q=h.spellCorrections;for(h=0;h<q.length;h++){k=q[h].spellFragments;a=[];for(l=0;l<k.length;l++){p=k[l];var r=(new _.erb).Gc(q_c[p.status]);
r=_.B(r,1,p.original);p=_.B(r,3,p.correction);a.push(p)}k=new _.irb;a=_.Db(k,1,a);f.push(a)}q=new _.krb;_.Db(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.grb;_.jk(u,1,f)}q||u?(f=new _.lrb,q&&_.A(f,1,q),u&&_.A(f,2,u),u=f):u=null;_.A(e,7,u);u=r_c(b);_.jk(e,18,u)}d=_.VYc(d,e);c=_.BUc(c);c=_.B(d,2,c);b.nextPageToken&&_.B(c,3,b.nextPageToken);return c};
u_c=function(a,b,c,d,e){_.PM(["drive#adminFile","drive#file","drive#revision"],b);var f=_.dXc(new _.UL,c);"drive#adminFile"==b.kind?(_.PM(["drive#adminFile"],b),c=(new _.sl).Rb(b.id),b.parentId&&_.cM(c,[b.parentId]),_.pWc(c,b.teamDriveId),f.setItem(c),_.dXc(f,c.getId())):"drive#file"==b.kind?(b=_.p_c(a,b),f.setItem(b),c||_.dXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.t_c(a,b),_.A(f,4,b));f.Zda(_.AUc(d));f.Kda(_.BUc(d));(d=(d=d&&_.zUc(d))&&d["x-server-object-version"])&&e&&(e=(new _.oM).Rb(d),
_.A(f,4,e));f.Gc(1);return f};_.v_c=function(a,b){return _.dXc(new _.UL,a).Gc(1).Zda(_.AUc(b)).Kda(_.BUc(b))};_.x_c=function(a,b,c,d){d||_.PM(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.w_c(a,b[c],d);f&&e.push(f)}return e};
_.w_c=function(a,b,c){c||_.PM(["drive#permission"],b);c=_.BVc(_.DVc((new _.$k).Ib(y_c[b.type]).Rb(b.id),b.userId),a.H.Yf(b.userId));c=_.B(c,4,b.withLink);c=_.CVc(c.ld(b.name).Sn(b.photoLink),b.emailAddress);c=_.B(c,9,b.domain);c=_.B(c,10,b.deleted);c=_.B(c,12,b.audienceId);c=_.B(c,13,b.customerId);c.getId()||c.Rb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.IK(a.O)&&c.ld(b.nameIfNotUser);a=z_c[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.B(c,
6,a);return c};
_.p_c=function(a,b){_.PM(["drive#file"],b);var c=b.title,d=(new _.sl).Rb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.nWc(_.jWc(_.lF(_.cM(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.B(c,90,Number(b.thumbnailVersion));_.B(c,21,b.iconLink);c.wm(b.description);_.kWc(c,b.explicitlyTrashed);_.B(c,22,b.shared);null!=b.quotaBytesUsed&&_.B(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.B(c,14,Number(b.fileSize));_.B(c,
30,b.copyable);b.labels&&(d=b.labels,c.Fv(d.starred),_.B(c,6,d.hidden),c.qn(d.trashed),_.gWc(c,d.restricted),_.B(c,9,d.viewed));_.B(c,10,_.QM(b.createdDate));_.B(c,69,_.QM(b.serverCreatedDate));_.JVb(c,_.QM(b.modifiedDate));_.B(c,12,_.QM(b.modifiedByMeDate));_.B(c,13,_.QM(b.lastViewedByMeDate));_.B(c,23,_.QM(b.sharedWithMeDate));_.B(c,62,_.QM(b.subscribedDate));_.B(c,70,_.QM(b.recency));b.recencyReason&&_.B(c,71,A_c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.RM(a.H,
e[f]))&&d.push(h);_.hWc(c,d);b.lastModifyingUser&&(d=_.RM(a.H,b.lastModifyingUser),_.iWc(c,d));b.userPermission&&_.KVb(c,z_c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.$L).Ch(e.width).yh(e.height),d=_.B(d,4,e.rotation),e.date&&(e=e.date,f=new _.ITc,f.setMilliseconds(0),B_c.parse(e,f),_.B(d,1,f.getTime())),_.A(c,27,d));null!=b.folderColor&&_.mWc(c,Number(b.folderColor));_.lWc(c,b.subscribed);_.B(c,45,b.fileExtension);_.jk(c,50,b.folderFeatures);_.B(c,36,b.flaggedForAbuse);
_.B(c,53,b.gplusMedia);_.B(c,46,b.primarySyncParentId||void 0);_.B(c,35,b.hasChildFolders);b.source&&(_.B(c,42,b.source.client_service_id),_.B(c,43,b.source.value));b.sharingUser&&(d=_.RM(a.H,b.sharingUser),_.A(c,47,d));b.sources?_.jk(c,56,b.sources):b.gplusMedia&&_.jk(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.wRc[h]&&(h=_.We(new _.Ue,_.wRc[h]),e.push(h));c.Qy(e)}_.B(c,63,b.ownedByMe);_.B(c,29,b.shareable);b.sourceAppId&&_.B(c,61,b.sourceAppId);_.B(c,74,
b.changed);null!=b.recursiveFileSize&&_.B(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.B(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)h=d[f],h.id&&h.type&&(h=(new _.Zna).Rb(h.id).Ib(C_c[h.type]),e.push(h));_.Db(c,83,e)}b.capabilities&&_.dM(c,_.n_c(b.capabilities));b.permissionsSummary&&_.qWc(c,_.D_c(a,b.permissionsSummary));b.headRevisionId&&_.B(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.aM).wm(d.description),
e=_.B(e,3,E_c[d.galleryState]),d=_.jk(e,2,d.category),_.A(c,86,d));_.pWc(c,b.teamDriveId);_.B(c,76,b.hasAugmentedPermissions);_.B(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.RM(a.H,b.creator),_.A(c,91,d));_.rWc(c,b.primaryDomainName);_.sWc(c,b.organizationDisplayName);_.B(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.RM(a.H,b.trashingUser),_.A(c,95,d));c.gea(_.QM(b.trashedDate));b.version&&_.B(c,75,Number(b.version));_.B(c,98,b.hasVisitorPermissions);_.B(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.B(c,101,F_c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.bM).Ch(d.width).yh(d.height),d.durationMillis&&_.B(e,3,Number(d.durationMillis)),_.A(c,103,e));_.jk(c,104,b.detectors);_.B(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.bWc(_.aWc(new _.pl,f.readOnly),f.reason),d.push(f);_.Db(c,125,d)}if(d=b.publishingInfo)_.B(c,118,d.published),_.B(c,119,d.publishedUrl);_.jk(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.B(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.aoa).Rb(f.approvalId).Gc(G_c[f.status]),d.push(f);_.Db(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.koa,e=_.B(e,1,d.targetId),e=_.B(e,3,d.targetMimeType),e=_.B(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.B(e,4,H_c[d.targetLookupStatus]||0),d.targetFile&&(d=_.p_c(a,d.targetFile),_.A(e,5,d)),_.A(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.ZL,e=_.B(e,1,I_c[d.encryptionState]),d.decryptionMetadata&&(d=J_c(d.decryptionMetadata),_.A(e,2,d)),_.A(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.boa,e=_.B(e,2,d.securityUpdateEligible),e=_.B(e,3,d.securityUpdateEnabled),d=_.B(e,5,d.securityUpdateExplicitlySet),_.A(c,139,d));_.B(c,140,b.resourceKey);_.jk(c,135,b.authorizedAppIds);
_.B(c,136,b.customerId);_.VUc(c);_.IK(a.O)&&_.oWc(c,5);return c};_.t_c=function(a,b){_.PM(["drive#revision"],b);var c=(new _.oM).Rb(b.id);c=_.B(c,2,b.mimeType);c=_.B(c,3,_.QM(b.modifiedDate));c=_.B(c,4,b.pinned);c=_.B(c,5,b.downloadUrl);c=_.B(c,7,b.originalFilename);null!=b.fileSize&&_.B(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.RM(a.H,b.lastModifyingUser),_.A(c,9,a));b.decryptionMetadata&&(b=J_c(b.decryptionMetadata),_.A(c,10,b));return c};
_.D_c=function(a,b){a=_.eWc(_.dWc(_.cWc(new _.foa,b.entryCount),_.x_c(a,b,"visibility",!0)),_.x_c(a,b,"selectPermissions",!0));a=_.B(a,4,b.memberCount);a=_.B(a,5,b.userEntryCount);return _.B(a,6,b.groupEntryCount)};J_c=function(a){var b=a.wrappedKey;var c=new _.$Vc;b=b?_.KWc(b):void 0;c=_.B(c,1,b);c=_.B(c,2,Number(a.kaclsId));c=_.B(c,5,a.kaclsName);c=_.B(c,3,K_c[a.aes256GcmChunkSize]);c=_.B(c,6,L_c[a.keyFormat]);return _.B(c,4,a.jwt)};
r_c=function(a){_.PM(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};z_c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};y_c={anyone:4,audience:5,domain:3,group:2,user:1};A_c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};C_c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};E_c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};q_c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
G_c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};F_c={docs:1,sheets:2,slides:3};H_c={ok:1,notFound:2,permissionDenied:3};I_c={unencrypted:1,encrypted:2};K_c={unset:0,"default":1,small:2,size16kb:3};L_c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};B_c=new _.CWa("yyyy:MM:dd HH:mm:ss");
var P_c;_.M_c=function(a){this.V=new m_c(a);this.uF=new o_c(this.V,a)};_.M_c.prototype.ME=function(a,b,c){c=void 0===c?[]:c;try{return N_c(this,a,b,c)}catch(d){_.cL(d)}};
var N_c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.jL)return _.O_c(a,b,c);if(b instanceof _.sL)return P_c(0,c,d);if(b instanceof _.xz){if(!c.json)throw _.SM();return _.s_c(a.uF,c.json,c.headers)}if(b instanceof _.RL)return _.O_c(a,b,c);if("undefined"!=typeof _.fVc&&b instanceof _.fVc){if(!c.json)throw _.SM();a=c.json;return new _.sXc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.Q_c&&b instanceof _.Q_c){if(!c.json)throw _.SM();
return _.t_c(a.uF,c.json)}if(b instanceof _.GL)return P_c(b.Cd(),c,d);if(b instanceof jVc){if(b.V){if(!c.json)throw _.SM();a=u_c(a.uF,c.json,null,c.headers,!!b.revisionId)}else a=_.v_c(null,c.headers);return a}if(b instanceof iVc){a=_.zUc(c.headers);b=a.location;if(!b)throw a=_.$K(new _.jc,10),new _.kc("No upload session URI included.",a);return new tXc(b,_.AUc(a),_.BUc(a))}if(b instanceof _.nVc)return new uXc;throw new _.kc("FromXhrConverter: Unsupported request type.",new _.jc);};
_.M_c.prototype.ha=function(){return null};P_c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new vXc(_.Baa(b.text),c.length):new vXc(new Uint8Array(_.kma(b.text)),c.length)};_.O_c=function(a,b,c){if(!c.json){if(b instanceof _.TK)return _.v_c(_.R_c(b));throw _.SM();}var d=!1;b instanceof _.RL&&(d=!!_.C(b.request,12));return u_c(a.uF,c.json,_.R_c(b),c.headers,d)};_.SM=function(){var a=_.$K(new _.jc,11);return new _.kc("FromXhrConverter: JSON required, but none found",a)};
_.R_c=function(a){return a.getId?a.getId():a.Nc?a.Nc():null};
var V_c,W_c,Y_c,S_c,Z_c,T_c;
V_c=function(a,b){var c={};_.Zd(_.Sg(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Nc()&&_.xea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Lj(b.ha()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=S_c[d?d.O():0],h.keyFormat=T_c[e?e.O():0],h);c.clientEncryptionDetails=f}_.U_c(c,_.Jd(a,3));(b=a.Nc())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));a.m2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.m2());"number"===typeof _.C(a,26)&&(c.modifiedDate=_.AWc(_.zXc(_.C(a,26)||0)));return c};_.U_c=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)}}};W_c={};_.X_c=(W_c[1]="active",W_c[2]="archived",W_c);Y_c={};S_c=(Y_c[0]="unset",Y_c[1]="default",Y_c[2]="small",Y_c[3]="size16kb",Y_c);Z_c={};T_c=(Z_c[0]="unsetKeyFormat",Z_c[1]="tinkKeyset",Z_c[2]="tinkAesGcmKey",Z_c);
var b0c=function(a,b,c){return(a.HQ?a.HQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return rZc(d)}).then(function(d){return $_c(a,b,d,c)},a0c)},$_c=function(a,b,c,d){var e=!!_.C(a.request,12),f="files";e&&(f+="/"+_.C(a.request,12));f=new _.tj(f);_.Aj(f,"uploadType","multipart");_.Aj(f,"supportsTeamDrives",!0);_.Aj(f,"pinned",!!_.F(a.request,13,!1));null!=_.L(a.request,8)&&_.Aj(f,"convert",_.L(a.request,8));_.Aj(f,"fields",_.QUc({fields:_.rM(b).filter(function(q){return 194!=q}),nr:!1}));
XUc(f,a.request.xe());var h=V_c(a.request,a.metadata),k=_.Tg();b={};b=(b["content-type"]=_.nt('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());_.XL(d,_.uk(a.request,_.Il,28),[],null,b);a="--"+k;a=a+"\r\n"+WUc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+WUc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Ym:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},a0c=function(a){if(a instanceof _.uub){var b=new _.jc;_.lq(b,"fs.Error: "+a.message);a=(a=a.name)?_.tGa.get(a)||25:38;_.$K(b,a);b=_.tA(b)}else b=_.bL(a);return Promise.reject(b)};
_.TM=function(a,b,c,d){this.H=a;this.Tg=b;this.O=c;this.Kd=d;this.ka=_.SK(a)||new _.QK};_.TM.prototype.ME=function(a,b){try{return a.request instanceof _.RL?b0c(a.request,this.Tg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.kc?a=c.ih:(a=new _.jc,_.lq(a,"Error converting XHR: "+c.message),_.mq(a,c.stack),_.$K(a,4)),Promise.reject(a)}};
_.TM.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.jL){h=(e=!!_.C(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.C(a,12),k.pinned=!!_.F(a,13,!1));null!=_.L(a,8)&&(k.convert=_.L(a,8));k.fields=_.QUc({fields:this.Ug(c),nr:_.CK(_.DK(this.H)),GG:_.IK(this.H)});e=V_c(a);f["content-type"]="application/json";var r=a.xe();p=!0;_.qM(k);_.c0c(this.H,k);_.XL(this.H,_.uk(a,_.Il,28),_.Jd(a,3).concat([_.C(a,16),a.m2(),a.Nc()]),this.O,f)}else if(a instanceof _.sL||a instanceof
_.GL)a instanceof _.GL?(l=a.Cd(),_.T(a,2)&&(q="bytes="+_.C(a,2)+"-",_.T(a,3)&&(q+=_.C(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.C(l,2)&&(k.revisionId=_.C(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.XL(this.H,[_.Jl((new _.Il).Rb(l.getId()),_.C(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.xz)p=a.jn()[0],q="files/"+p,r=_.ua(this.Ug(c),this.Ug(c,a.O())),_.Fa(r),k.fields=_.QUc({fields:r,nr:_.CK(_.DK(this.H)),GG:_.IK(this.H)}),_.qM(k),_.d0c(this.H,k),_.e0c(this.H,
k),this.W(p,k),r=a.xe(),p=!0,_.L(a,7)&&(b.LDa=!0),_.XL(this.H,_.uk(a,_.Il,11),a.jn(),this.O,f);else if("undefined"!=typeof _.fVc&&a instanceof _.fVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.Q_c&&a instanceof _.Q_c)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 jVc){d=4;h="PUT";q=
a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var u=a.H;b=a.O;f["content-range"]=a.V?_.nt("bytes %d-%d/%d",u,b,b+1):_.nt("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof iVc?(d=2,h=(e=!!_.C(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.C(a.request,12)),k.uploadType="resumable",k.pinned=!!_.F(a.request,13,!1),null!=_.L(a.request,8)&&(k.convert=_.L(a.request,8)),k.fields=_.QUc({fields:this.Ug(c).filter(function(y){return 194!=y}),nr:_.CK(_.DK(this.H)),GG:_.IK(this.H)}),
_.qM(k),e=V_c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.XL(this.H,[],_.Jd(a.request,3),this.O,f),r=a.request.xe(),p=!0):a instanceof _.nVc?(q="about",k.fields="kind",r=a.H,p=!0):_.f0c(a);p&&_.g0c(c,k);0!=d||l||r&&_.C(r,1)||_.nYc(this.Kd,74438989);return _.h0c(this,d,q,k,f,h,r,e,u)};
_.h0c=function(a,b,c,d,e,f,h,k,l){c=new _.tj(c);[10,12,13].includes(b)||XUc(c,h);_.F(a.ka,11,!1)&&(a=a.H.Ri())&&(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,_.Bj(c,a,h);return{Ym:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.d0c=function(a,b){_.F(a.eg(),23,!1)&&(b.includePermissionsForView="published")};_.TM.prototype.W=function(){};
_.e0c=function(a,b){_.F(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.c0c=function(a,b){_.F(a,3,!1)&&(b.enforceSingleParent=!0)};_.g0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).ZQb):b.retryCount=0};_.TM.prototype.Ug=function(a,b){b||(b=_.rM(this.Tg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return bXc.includes(c)}));return b};_.f0c=function(a){var b=_.$K(new _.jc,4);throw new _.kc("ToXhrConverter: Unsupported request type: "+pVc(a),b);};
_.UM=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.wa=e;this.ta=f;this.nj={};this.ha={};this.Kd=null;_.te(this,function(){h.pG()})};_.O(_.UM,_.Q);_.UM.prototype.MQ=function(){return _.Ug()};
_.UM.prototype.upload=function(a,b,c,d){SYc(this.V,"UploadTotalCount");var e=a.lj();if(e&&this.nj[e])throw new _.kc("Upload requested with a duplicate request ID.");var f=_.Jd(a,10);if(f&&f.length){if(1!==f.length)throw new _.kc("Multi-parented uploads are not supported.");var h=this.nj[f[0]];if(!h)throw new _.kc("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);e||(e=this.MQ(),_.B(a,9,e));a=a.clone();f=i0c(this,e);this.nj[e]={request:a,
file:b,Dg:f,ZM:!1,Bu:0,success:!1,JE:!1,children:[],metadata:c,Nma:void 0,HQ:d};h?j0c(this,e,h):this.ka(e);return f.Zm()};
var i0c=function(a,b){var c=new _.hi;c.Vf(_.rb(a.Fa,b),_.rb(a.Ha,b),a);return c},j0c=function(a,b,c,d){var e=a.nj[b];c.children.push(b);_.Fa(c.children);c.Dg.then(function(f){if(1===f.Cb()&&(f=f.Nc(),_.Jd(e.request,3).push(f),_.VG(e.request,10),!c.JE||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.Dg.Od(_.HK(f)?f:Error(f))})};
_.UM.prototype.Fa=function(a,b){SYc(this.V,"UploadSuccessCount");a=this.nj[a];a.success=1===b.Cb();(b=a.Nma)&&!a.JE&&(TWc(VWc(QXc(b),a.Bu),!0),b.ek())};_.UM.prototype.Ha=function(a,b){var c=_.E(this.O,_.ZK,58);c&&_.F(c,1,!1)&&(this.ha[a]=b);SYc(this.V,"UploadFailureCount");c=this.nj[a];(a=c.Nma)&&!c.JE&&(TWc(VWc(QXc(a),c.Bu),!1),b=(c=b&&b.ih)&&c.Ak(),c=c&&c.Np(),b?UWc(QXc(a),k0c.get(b)||13):c&&UWc(QXc(a),l0c.get(c)||0),a.ek())};
_.UM.prototype.ka=function(a){var b=this.nj[a];if(!b.ZM){b.ZM=!0;a=this.nj[a];var c=a.request,d=_.E(this.O,_.ZK,58);d&&_.F(d,4,!1)&&(d=c.getTitle().match(m0c))&&(!d[1]||a.Bu<Number(d[1].substr(1)))&&(c=c.clone(),_.qa(_.Jd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Dz())?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.eg();d=_.dk(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.Nma=f;f=QXc(f);f=_.B(f,1,2===d?2:1);f=_.B(f,4,!!b.metadata);
var h=!!_.C(a,12);f=_.B(f,5,h);e=_.B(f,6,e);c=_.dk(c,32,1073741824);_.B(e,7,c)}}switch(d){case 2:b.file&&n0c(this,new _.kVc(a,b.file,b.HQ,b.metadata),b.Dg,a.lj());break;case 1:b.file&&(c=b.Dg,d=b.file,e=b.metadata,b=b.HQ,f=_.E(this.O,_.AVc,2),n0c(this,new _.RL(a,d,b,f&&_.YL(f)?e:void 0),c,a.lj()));break;case 3:n0c(this,a,b.Dg,a.lj());break;default:throw new _.kc("Upload type ${uploadType} not supported.");}}};
var n0c=function(a,b,c,d){wYc(a.Ba,d,a.ma.bind(a,d));_.fi(a.W.then(function(e){return e.Ye(b,{requestId:d})}).then(null,function(e){return o0c(a,b,e)}),function(){xYc(a.Ba,[d])}).then(c.callback,c.Od,c)},o0c=function(a,b,c){var d=_.tA(c),e=b instanceof _.RL&&b.request.Nc()||"";c=d.ih;if(e&&8===c.Ak()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.zz(new _.xz,[e]);return _.oi(a.W.then(function(h){return h.Ye(f)}).then(function(h){h=h.yd().Id()[0];var k=b.request;if(h&&!h.Yh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.dXc((new _.UL).setItem(h),e).Gc(1);a.log("No matching item found for: "+e);return _.bi(d)}))}return _.pi(d)};_.g=_.UM.prototype;
_.g.cancel=function(a){var b=this,c=this.nj[a];if(c&&(!c.JE||0!==c.children.length))if(c.JE=!0,c.Dg.kg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.Nma;d&&(UWc(TWc(VWc(QXc(d),c.Bu),!1),2),d.ek());var e=_.ei();c.ZM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.ZM=!0,d=new _.UL,d.Gc(8),c.Dg.callback(d),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.pG=function(){var a=this;_.Ma(this.nj,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.nj[f]){var h=[];do{h.push(f);var k=(_.Jd(b.nj[f].request,10)||[])[0];if(k){var l=b.nj[k];if(l.success||!l.Dg.kg()||e[k])break;else if(!c.has(k)){e[f]=new _.kc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ia(h,function(p){var q=b.nj[p];q.Bu++;if(!e[p])if(!q.Dg.kg()||q.success)e[p]=new _.kc("Unable to retry request.");else{var r=(_.Jd(q.request,10)||[])[0];e[r]instanceof _.kc?
e[p]=e[r]:(q.Dg=i0c(b,p),q.ZM=!1,q.JE=!1,(r=r?b.nj[r]:null)?j0c(b,p,r,!0):d.push(p),e[p]=q.Dg.Zm())}})}else e[f]=new _.kc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.hi?f:_.pi(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.Cd=function(a){return this.nj[a]};var m0c=/^uploadTestFailMe(\.[1-9])?$/,l0c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),k0c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.VM=function(a,b){return _.jk(a,33,b)};_.p0c=function(a,b){return _.Db(a,37,b)};_.WM=function(a,b){return _.B(a,45,b)};_.lc=function(a){_.xi.call(this,_.wc);this.error=a};_.O(_.lc,_.xi);_.t("sy185");
_.q0c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var r0c;r0c=[1];_.XM=function(a){_.S(this,a,-1,r0c,null)};_.O(_.XM,_.N);_.XM.prototype.O=function(){return _.Jd(this,1)};_.t("sy181");
var s0c;_.YM=function(a){_.S(this,a,-1,s0c,null)};_.O(_.YM,_.N);_.YM.prototype.Cb=function(){return _.C(this,1)};_.YM.prototype.Gc=function(a){return _.B(this,1,a)};_.YM.prototype.qk=function(){return _.uk(this,_.sl,2)};_.t0c=function(a,b){return _.Db(a,2,b)};_.YM.prototype.mr=function(a,b){return _.wk(this,2,a,_.sl,b)};_.YM.prototype.Sf=function(){return _.C(this,4)};_.u0c=function(a,b){return _.B(a,4,b)};s0c=[2];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.w0c=function(a){return _.ke(a).Ug(_.F(a.get(_.Ep),19,!1)?v0c:_.ie)};_.t("sy189");
var v0c=[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];

_.w();

}catch(e){_._DumpException(e)}
try{
var x0c,y0c,z0c,A0c,B0c,C0c,D0c,E0c,F0c,G0c,I0c,J0c,K0c,L0c,M0c,aN,R0c,S0c,bN,cN,T0c,U0c,W0c,X0c,Y0c,$0c,a1c,b1c,c1c,d1c,e1c,f1c,h1c,j1c,p1c,r1c,u1c,v1c,y1c,B1c,iN,C1c,D1c,E1c,F1c,G1c,H1c,I1c,K1c,L1c,M1c,N1c,Q1c,P1c,T1c,V1c,X1c,Z1c,c2c,e2c,f2c,g2c,h2c,i2c,l2c,n2c,o2c,p2c,q2c,r2c,O0c,dN,N0c,P0c,Q0c,I3c,J3c,oN,M3c,X3c,$3c,a4c,b4c,O1c,e4c,qN,B4c,C4c,D4c,E4c,G4c,H4c,I4c,J4c,K4c,rN,L4c,M4c,N4c,O4c,P4c,Q4c,R4c,S4c,T4c,U4c,V4c,sN,Y4c,Z4c,$4c,J1c,a5c,b5c,i5c,k5c,l5c,c6c,k6c,l6c,m6c,n6c,q6c,s6c,C6c,E6c,F6c,
M6c,W6c,n7c,t7c,A7c,C7c,H7c,N7c,d8c,f8c,g8c,x8c,y8c,b2c,z8c,v9c,m1c,w9c,z9c,zcd,Acd,Bcd,Ccd,Dcd,Ecd,Fcd,Gcd,Hcd,Icd;x0c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Jd(a,3),Convert:_.L(a,8),ID:a.lj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
y0c=function(a){var b=[];b.push(x0c(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.Bu&&b.push("# of retries by client: "+a.Bu);var d="";a.ZM?a.Dg.kg()?a.Dg.Vf(function(){d="Completed successfully."},function(e){d=e instanceof _.ji?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
z0c=function(a,b,c,d,e,f){var h=_.nt("Drive Upload Report: %d/%d failed",_.Qa(f),_.Qa(e));a=a.eg();d.push("Batch query interval: "+_.dk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.dk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.dk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.dk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.dk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(y0c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.rXc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.nt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.lj()||"");var u=p.ih;u=u?_.C(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,wQ:k,Ed:152391,P9:c,M0:361003}};A0c=function(a){return Array.prototype.concat.apply([],arguments)};B0c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.za(a,-(c+1),0,b),!0):!1};
C0c=function(a){return String.fromCharCode(10>a?48+a:87+a)};D0c=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]=C0c(d>>4);b[2*c+3]=C0c(d&15)}return b.join("")};E0c=function(a){var b=new _.wp;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.dL(a,!0,"file"));a.S7&&(b.append(",teamDriveId,teamDrive("),b.append(a.S7),b.append(")"));b.append(")");return b.toString()};
F0c=function(a){var b=new _.wp;b.append("kind,nextPageToken,items(");b.append(_.dL(a,!0));b.append("),incompleteSearch");a.S7&&(b.append(","),b.append(a.S7));return b.toString()};
G0c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.E(d,_.ZL,138),k=_.E(d,_.pl,111),l=_.E(d,_.$L,27),p=_.zl(d),q=d.Hf(),r=d.uh(),u=_.E(d,_.bM,103);switch(e){case 74:_.mk(d,83);break;case 188:_.kk(d,137);break;case 149:_.VG(d,128);break;case 148:_.mk(d,127);break;case 138:_.kk(d,126);break;case 184:_.VG(d,135);break;case 76:f&&_.kk(f,1);break;case 223:f&&_.kk(f,54);break;case 208:f&&_.kk(f,48);break;case 185:f&&_.kk(f,40);break;case 224:f&&_.kk(f,55);break;case 213:f&&
_.kk(f,50);break;case 156:f&&_.kk(f,39);break;case 61:f&&_.kk(f,2);break;case 216:f&&_.kk(f,52);break;case 217:f&&_.kk(f,53);break;case 77:f&&_.kk(f,4);break;case 134:f&&_.kk(f,34);break;case 147:f&&_.kk(f,38);break;case 81:f&&_.kk(f,10);break;case 82:f&&_.kk(f,11);break;case 114:f&&_.kk(f,27);break;case 133:f&&_.kk(f,33);break;case 202:f&&_.kk(f,47);break;case 132:f&&_.kk(f,32);break;case 101:f&&_.kk(f,20);break;case 201:f&&_.kk(f,46);break;case 131:f&&_.kk(f,31);break;case 200:f&&_.kk(f,45);break;
case 130:f&&_.kk(f,30);break;case 93:f&&_.kk(f,17);break;case 191:f&&_.kk(f,44);break;case 146:f&&_.kk(f,37);break;case 90:f&&_.kk(f,16);break;case 78:f&&_.kk(f,7);break;case 186:f&&_.kk(f,41);break;case 222:f&&_.kk(f,51);break;case 85:f&&_.kk(f,12);break;case 137:f&&_.kk(f,36);break;case 209:f&&_.kk(f,49);break;case 79:f&&_.kk(f,8);break;case 189:f&&_.kk(f,42);break;case 190:f&&_.kk(f,43);break;case 80:f&&_.kk(f,9);break;case 135:f&&_.kk(f,35);break;case 102:f&&_.kk(f,21);break;case 69:_.kk(d,74);
break;case 194:h&&_.lk(h,2);break;case 193:h&&_.kk(h,1);break;case 1004:_.kk(d,108);break;case 136:_.mk(d,125);break;case 115:k&&_.kk(k,1);break;case 116:k&&_.kk(k,2);break;case 34:_.kk(d,30);f&&_.kk(f,3);break;case 9:_.kk(d,10);break;case 91:_.lk(d,91);break;case 43:_.kk(d,42);_.kk(d,43);break;case 187:_.kk(d,136);break;case 26:_.kk(d,24);break;case 108:_.VG(d,104);break;case 41:_.kk(d,40);f&&_.kk(f,5);break;case 42:_.kk(d,41);break;case 1005:_.mk(d,117);break;case 59:f&&_.kk(f,6);break;case 28:_.kk(d,
26);break;case 44:_.kk(d,45);break;case 13:_.kk(d,14);break;case 48:_.kk(d,36);break;case 38:_.kk(d,34);break;case 49:_.VG(d,50);break;case 51:_.kk(d,53);break;case 104:_.kk(d,102);break;case 39:_.kk(d,35);break;case 87:_.kk(d,76);break;case 100:_.kk(d,98);break;case 72:_.kk(d,78);break;case 5:_.kk(d,6);break;case 20:_.kk(d,21);break;case 21:break;case 29:l&&_.kk(l,1);break;case 31:l&&_.kk(l,3);break;case 92:l&&_.kk(l,4);break;case 30:l&&_.kk(l,2);break;case 16:_.lk(d,17);break;case 12:_.kk(d,13);
break;case 211:p&&_.kk(p,2);break;case 212:p&&_.kk(p,3);break;case 220:p&&_.kk(p,5);break;case 157:r&&_.mk(r,8);break;case 3:_.kk(d,4);break;case 11:_.kk(d,12);break;case 10:_.kk(d,11);break;case 50:_.kk(d,49);_.kk(d,51);_.lk(d,81);break;case 18:_.kk(d,19);break;case 95:_.kk(d,93);break;case 58:_.kk(d,63);break;case 14:_.mk(d,15);break;case 103:_.kk(d,101);break;case 1:_.VG(d,2);break;case 96:_.kk(d,94);break;case 1003:_.mk(d,107);break;case 75:_.lk(d,85);break;case 94:_.kk(d,92);break;case 45:_.kk(d,
46);break;case 124:_.kk(d,118);break;case 125:_.kk(d,119);break;case 1002:_.lk(d,100);break;case 32:_.kk(d,28);break;case 67:_.kk(d,70);break;case 68:_.kk(d,71);break;case 73:_.kk(d,79);break;case 71:_.kk(d,77);break;case 221:r&&_.kk(r,9);break;case 210:_.kk(d,140);break;case 7:_.kk(d,8);break;case 122:_.lk(d,109);break;case 66:_.kk(d,69);break;case 33:_.kk(d,29);break;case 24:_.kk(d,22);break;case 25:_.kk(d,23);break;case 46:_.lk(d,47);break;case 192:q&&_.kk(q,6);break;case 159:q&&_.lk(q,5);break;
case 154:q&&_.kk(q,1);break;case 158:q&&_.kk(q,4);break;case 155:q&&_.kk(q,3);break;case 52:_.VG(d,56);break;case 56:_.kk(d,61);break;case 55:_.mk(d,60);break;case 4:_.kk(d,5);break;case 35:_.kk(d,31);break;case 57:_.kk(d,62);break;case 83:_.kk(d,72);break;case 84:_.lk(d,86);break;case 19:_.kk(d,20);_.kk(d,44);_.kk(d,90);break;case 2:_.kk(d,3);break;case 6:_.kk(d,7);break;case 98:_.kk(d,96);break;case 97:_.lk(d,95);break;case 27:_.kk(d,25);break;case 70:_.kk(d,75);break;case 107:u&&_.kk(u,3);break;
case 106:u&&_.kk(u,2);break;case 105:u&&_.kk(u,1);break;case 8:_.kk(d,9);break;case 126:_.VG(d,120);break;default:throw Error("Ac`"+e);}}};I0c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.jd(a),_.jd(H0c)));a=[].concat(_.jd(_.J6a.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)G0c(b[d],a)}};
J0c=function(a,b){var c=a.getCapabilities()||new _.nl,d=_.E(a,_.ZL,138),e=_.E(a,_.pl,111),f=_.E(a,_.$L,27),h=_.zl(a),k=a.Hf(),l=a.uh(),p=_.E(a,_.bM,103);switch(b){case 74:return 0<a.bs().length;case 188:return null!=_.L(a,137);case 149:return 0<_.Jd(a,128).length;case 148:return 0<a.ha().length;case 138:return null!=a.V();case 184:return 0<_.Jd(a,135).length;case 76:return null!=_.ol(c);case 223:return null!=_.L(c,54);case 208:return null!=_.L(c,48);case 185:return null!=_.L(c,40);case 224:return null!=
_.L(c,55);case 213:return null!=_.L(c,50);case 156:return null!=_.L(c,39);case 61:return null!=_.L(c,2);case 216:return null!=_.L(c,52);case 217:return null!=_.L(c,53);case 77:return null!=_.L(c,4);case 134:return null!=_.L(c,34);case 147:return null!=_.L(c,38);case 81:return null!=_.L(c,10);case 82:return null!=_.L(c,11);case 114:return null!=_.L(c,27);case 133:return null!=_.L(c,33);case 202:return null!=_.L(c,47);case 132:return null!=_.L(c,32);case 101:return null!=_.L(c,20);case 201:return null!=
_.L(c,46);case 131:return null!=_.L(c,31);case 200:return null!=_.L(c,45);case 130:return null!=_.L(c,30);case 93:return null!=_.L(c,17);case 191:return null!=_.L(c,44);case 146:return null!=_.L(c,37);case 90:return null!=_.fe(c);case 78:return null!=_.L(c,7);case 186:return null!=_.L(c,41);case 222:return null!=_.L(c,51);case 85:return null!=_.L(c,12);case 137:return null!=_.L(c,36);case 209:return null!=_.L(c,49);case 79:return null!=_.L(c,8);case 189:return null!=_.L(c,42);case 190:return null!=
_.L(c,43);case 80:return null!=_.L(c,9);case 135:return null!=_.L(c,35);case 102:return null!=_.L(c,21);case 69:return null!=_.L(a,74);case 194:return null!=d&&null!=_.E(d,_.$Vc,2);case 193:return null!=d&&null!=_.C(d,1);case 1004:return null!=_.L(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.L(e,1);case 116:return null!=e&&null!=_.C(e,2);case 34:return null!=_.L(a,30)||null!=_.L(c,3);case 9:return null!=a.cD();case 91:return null!=a.Kq();case 43:return null!=_.C(a,42)||null!=
_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=a.zf();case 108:return 0<_.Jd(a,104).length;case 41:return null!=_.L(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.yl(a).length;case 59:return null!=_.L(c,6);case 28:return null!=a.WI();case 44:return null!=_.C(a,45);case 13:return null!=a.cG();case 48:return null!=_.L(a,36);case 38:return null!=a.$i();case 49:return 0<_.Jd(a,50).length;case 51:return null!=_.L(a,53);case 104:return null!=_.L(a,102);case 39:return null!=a.ula();
case 87:return null!=_.ul(a);case 100:return null!=_.L(a,98);case 72:return null!=_.C(a,78);case 5:return null!=a.Nm();case 20:return null!=a.af();case 21:return null!=a.getId();case 29:return!(!f||null==_.C(f,1));case 31:return!(!f||null==f.Jf());case 92:return!(!f||null==_.C(f,4));case 30:return!(!f||null==f.Se());case 16:return null!=a.Bm();case 12:return null!=a.gz();case 211:return null!=h&&null!=_.L(h,2);case 212:return null!=h&&null!=_.L(h,3);case 220:return null!=h&&null!=_.L(h,5);case 157:return!(!l||
!_.uk(l,_.rl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.rB();case 10:return null!=a.Cq();case 50:return null!=_.L(a,49)||null!=_.L(a,51)||null!=a.rk();case 18:return null!=a.Pq();case 14:return 0<_.tl(a).length;case 95:return null!=a.ln();case 58:return null!=_.L(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.zk().length;case 96:return null!=_.L(a,94);case 1003:return 0<_.wl(a).length;case 75:return null!=a.Pw();case 94:return null!=a.EN();case 45:return null!=a.qw();
case 124:return null!=_.L(a,118);case 125:return null!=_.C(a,119);case 1002:return null!=_.vl(a);case 32:return null!=a.Su();case 67:return null!=a.$J();case 68:return null!=_.C(a,71);case 73:return null!=_.C(a,79);case 71:return null!=a.g2();case 221:return null!=l&&null!=_.L(l,9);case 210:return null!=_.Al(a);case 7:return null!=a.C7();case 122:return null!=_.$M(a);case 66:return null!=_.C(a,69);case 33:return null!=_.L(a,29);case 24:return null!=a.Pj();case 25:return null!=a.ly();case 46:return null!=
a.Tv();case 192:return null!=k&&null!=_.L(k,6);case 159:return null!=k&&null!=_.Nd(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=_.Pd(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Jd(a,56).length;case 55:return 0<a.AB().length;case 56:return null!=_.C(a,61);case 4:return null!=a.TA();case 35:return null!=_.L(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Dc();case 84:return null!=_.E(a,_.aM,86);case 2:return null!=a.getTitle();case 19:return null!=
a.Lx()||null!=_.L(a,44)||null!=_.C(a,90);case 6:return null!=a.Yh();case 98:return null!=a.Uv();case 97:return null!=a.rD();case 27:return null!=a.kp();case 70:return null!=a.Ii();case 107:return null!=p&&null!=_.C(p,3);case 106:return null!=p&&null!=p.Jf();case 105:return null!=p&&null!=p.Se();case 8:return null!=_.L(a,9);case 126:return 0<_.Jd(a,120).length;default:throw Error("Bc`"+b);}};K0c=function(a,b){return b.every(function(c){return J0c(a,c)})};
L0c=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)})};M0c=function(a,b){var c=new Set(b.concat(_.PUc));return a.filter(function(d){return!c.has(d)})};
aN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(J0c(b,e))if(_.N6a.has(e)){if(d){var f=a.getCapabilities()||new _.nl;_.dM(a,f);switch(e){case 76:_.EVc(f,_.ol(d));break;case 223:var h=_.L(d,54);_.B(f,54,h);break;case 208:_.ZVc(f,_.L(d,48));break;case 185:var k=_.L(d,40);_.B(f,40,k);break;case 224:var l=_.L(d,55);_.B(f,55,l);break;case 213:var p=_.L(d,50);_.B(f,50,p);break;case 156:var q=_.L(d,39);_.B(f,39,q);break;case 61:var r=_.L(d,2);_.B(f,2,r);break;case 216:var u=
_.L(d,52);_.B(f,52,u);break;case 217:var y=_.L(d,53);_.B(f,53,y);break;case 77:_.FVc(f,_.L(d,4));break;case 134:var z=_.L(d,34);_.B(f,34,z);break;case 147:var D=_.L(d,38);_.B(f,38,D);break;case 81:_.LVc(f,_.L(d,10));break;case 82:_.MVc(f,_.L(d,11));break;case 114:var G=_.L(d,27);_.B(f,27,G);break;case 133:_.UVc(f,_.L(d,33));break;case 202:_.YVc(f,_.L(d,47));_.TVc(f,_.L(d,32));break;case 132:_.TVc(f,_.L(d,32));break;case 101:_.QVc(f,_.L(d,20));break;case 201:_.XVc(f,_.L(d,46));break;case 131:_.SVc(f,
_.L(d,31));break;case 200:var I=_.L(d,45);_.B(f,45,I);break;case 130:var M=_.L(d,30);_.B(f,30,M);break;case 93:_.PVc(f,_.L(d,17));break;case 191:var R=_.L(d,44);_.B(f,44,R);break;case 146:var W=_.L(d,37);_.B(f,37,W);break;case 90:_.OVc(f,_.fe(d));break;case 78:_.IVc(f,_.L(d,7));break;case 186:var oa=_.L(d,41);_.B(f,41,oa);break;case 222:var ha=_.L(d,51);_.B(f,51,ha);break;case 85:_.NVc(f,_.L(d,12));break;case 137:var va=_.L(d,36);_.B(f,36,va);break;case 209:var Ca=_.L(d,49);_.B(f,49,Ca);break;case 79:_.JVc(f,
_.L(d,8));break;case 189:_.VVc(f,_.L(d,42));break;case 190:_.WVc(f,_.L(d,43));break;case 80:_.KVc(f,_.L(d,9));break;case 135:var Aa=_.L(d,35);_.B(f,35,Aa);break;case 102:_.RVc(f,_.L(d,21));break;case 34:var Va=_.L(b,30);_.B(a,30,Va);var Ba=_.L(d,3);_.B(f,3,Ba);break;case 41:var tb=_.L(b,40);_.B(a,40,tb);_.GVc(f,_.L(d,5));break;case 59:_.HVc(f,_.L(d,6))}}}else if(_.O6a.has(e)){var yc=_.E(b,_.ZL,138);if(yc){var ec=_.E(a,_.ZL,138)||new _.ZL;_.A(a,138,ec);switch(e){case 194:var Tc=_.E(yc,_.$Vc,2);_.A(ec,
2,Tc);break;case 193:var od=_.C(yc,1);_.B(ec,1,od)}}}else if(_.P6a.has(e)){var Yb=_.E(b,_.pl,111);if(Yb){var Kc=_.E(a,_.pl,111)||new _.pl;_.A(a,111,Kc);switch(e){case 115:_.aWc(Kc,_.L(Yb,1));break;case 116:_.bWc(Kc,_.C(Yb,2))}}}else if(_.Q6a.has(e)){var Bd=_.E(b,_.$L,27);if(Bd){var Qe=_.E(a,_.$L,27)||new _.$L;_.A(a,27,Qe);switch(e){case 29:var vc=_.C(Bd,1);_.B(Qe,1,vc);break;case 31:Qe.yh(Bd.Jf());break;case 92:var ub=_.C(Bd,4);_.B(Qe,4,ub);break;case 30:Qe.Ch(Bd.Se())}}}else if(_.R6a.has(e)){var sg=
_.zl(b);if(sg){var Hh=_.zl(a)||new _.boa;_.A(a,139,Hh);switch(e){case 211:var Hd=_.L(sg,2);_.B(Hh,2,Hd);break;case 212:var tg=_.L(sg,3);_.B(Hh,3,tg);break;case 220:var Gj=_.L(sg,5);_.B(Hh,5,Gj)}}}else if(_.S6a.has(e)){var si=b.Hf();if(si){var uh=a.Hf()||new _.koa;_.A(a,132,uh);switch(e){case 192:var Vl=_.L(si,6);_.B(uh,6,Vl);break;case 159:var Wf=_.Nd(si);_.A(uh,5,Wf);break;case 154:var nf=_.C(si,1);_.B(uh,1,nf);break;case 158:var Ci=_.Pd(si);_.B(uh,4,Ci);break;case 155:var ek=_.C(si,3);_.B(uh,3,
ek)}}}else if(_.T6a.has(e)){var Hg=b.uh();switch(e){case 157:if(Hg){var Ih=a.uh()||new _.ioa;N0c(a,Ih);O0c(Ih,_.uk(Hg,_.rl,8))}break;case 221:if(Hg){var Ik=a.uh()||new _.ioa;N0c(a,Ik);var Jh=_.L(Hg,9);_.B(Ik,9,Jh)}}}else if(_.U6a.has(e)){var Wg=_.E(b,_.bM,103);if(Wg){var ne=_.E(a,_.bM,103)||new _.bM;_.A(a,103,ne);switch(e){case 107:var cl=_.C(Wg,3);_.B(ne,3,cl);break;case 106:ne.yh(Wg.Jf());break;case 105:ne.Ch(Wg.Se())}}}else switch(e){case 74:var ai=b.bs();_.Db(a,83,ai);break;case 188:var nj=_.L(b,
137);_.B(a,137,nj);break;case 149:var Tj=_.Jd(b,128);_.jk(a,128,Tj);break;case 148:var oj=b.ha();_.Db(a,127,oj);break;case 138:var $i=b.V();_.B(a,126,$i);break;case 184:var pj=_.Jd(b,135);_.jk(a,135,pj);break;case 69:var Xg=_.L(b,74);_.B(a,74,Xg);break;case 1004:var lh=_.L(b,108);_.B(a,108,lh);break;case 136:var Ig=b.O();_.Db(a,125,Ig);break;case 9:var Jg=b.cD();_.B(a,10,Jg);break;case 91:var Kh=b.Kq();_.A(a,91,Kh);break;case 43:var Lh=_.C(b,42);_.B(a,42,Lh);var vh=_.C(b,43);_.B(a,43,vh);break;case 187:var ii=
_.C(b,136);_.B(a,136,ii);break;case 26:a.wm(b.zf());break;case 108:var Uj=_.Jd(b,104);_.jk(a,104,Uj);break;case 42:var fk=_.C(b,41);_.B(a,41,fk);break;case 1005:var aj=_.yl(b);_.Db(a,117,aj);break;case 28:_.kWc(a,b.WI());break;case 44:var Oi=_.C(b,45);_.B(a,45,Oi);break;case 13:var Ee=b.cG();_.B(a,14,Ee);break;case 48:var ac=_.L(b,36);_.B(a,36,ac);break;case 38:_.mWc(a,b.$i());break;case 49:var wh=_.Jd(b,50);_.jk(a,50,wh);break;case 51:var Pi=_.L(b,53);_.B(a,53,Pi);break;case 104:var Fe=_.L(b,102);
_.B(a,102,Fe);break;case 39:var Og=b.ula();_.B(a,35,Og);break;case 87:var tf=_.ul(b);_.B(a,76,tf);break;case 100:var qm=_.L(b,98);_.B(a,98,qm);break;case 72:var dl=_.C(b,78);_.B(a,78,dl);break;case 5:var ti=b.Nm();_.B(a,6,ti);break;case 20:var Hf=b.af();_.B(a,21,Hf);break;case 21:a.Rb(b.getId());break;case 16:_.iWc(a,b.Bm());break;case 12:var Xf=b.gz();_.B(a,13,Xf);break;case 3:_.lF(a,b.getMimeType());break;case 11:var xl=b.rB();_.B(a,12,xl);break;case 10:_.JVb(a,b.Cq());break;case 50:var Hj=_.L(b,
49);_.B(a,49,Hj);var Bf=_.L(b,51);_.B(a,51,Bf);var Sd=b.rk();_.A(a,81,Sd);break;case 95:_.sWc(a,b.ln());break;case 18:_.jWc(a,b.Pq());break;case 58:var Di=_.L(b,63);_.B(a,63,Di);break;case 14:_.hWc(a,_.tl(b));break;case 1:_.cM(a,b.zk());break;case 96:var Ve=_.L(b,94);_.B(a,94,Ve);break;case 103:var Wl=_.C(b,101);_.B(a,101,Wl);break;case 1003:P0c(a,_.wl(b));break;case 75:_.qWc(a,b.Pw());break;case 94:_.rWc(a,b.EN());break;case 45:var Ij=b.qw();_.B(a,46,Ij);break;case 124:var bj=_.L(b,118);_.B(a,118,
bj);break;case 125:var af=_.C(b,119);_.B(a,119,af);break;case 1002:var rm=_.vl(b);_.A(a,100,rm);break;case 32:var sm=b.Su();_.B(a,28,sm);break;case 67:var io=b.$J();_.B(a,70,io);break;case 68:var zn=_.C(b,71);_.B(a,71,zn);break;case 73:var zk=_.C(b,79);_.B(a,79,zk);break;case 71:var Rh=b.g2();_.B(a,77,Rh);break;case 210:var Mj=_.Al(b);_.B(a,140,Mj);break;case 7:_.gWc(a,b.C7());break;case 122:Q0c(a,_.$M(b));break;case 66:var Xj=_.C(b,69);_.B(a,69,Xj);break;case 33:var Xm=_.L(b,29);_.B(a,29,Xm);break;
case 24:var il=b.Pj();_.B(a,22,il);break;case 25:var Zl=b.ly();_.B(a,23,Zl);break;case 46:var $l=b.Tv();_.A(a,47,$l);break;case 52:var An=_.Jd(b,56);_.jk(a,56,An);break;case 56:var OE=_.C(b,61);_.B(a,61,OE);break;case 55:a.Qy(b.AB());break;case 4:a.Fv(b.TA());break;case 35:_.lWc(a,_.L(b,31));break;case 57:var PE=_.C(b,62);_.B(a,62,PE);break;case 83:_.pWc(a,b.Dc());break;case 84:var vI=_.E(b,_.aM,86);_.A(a,86,vI);break;case 98:a.gea(b.Uv());break;case 97:var lY=b.rD();_.A(a,95,lY);break;case 19:var mY=
b.Lx();_.B(a,20,mY);_.nWc(a,_.L(b,44));var wI=_.C(b,90);_.B(a,90,wI);break;case 2:a.setTitle(b.getTitle());break;case 6:a.qn(b.Yh());break;case 27:_.KVb(a,b.kp());break;case 70:var nY=b.Ii();_.B(a,75,nY);break;case 8:var oY=_.L(b,9);_.B(a,9,oY);break;case 126:var Dga=_.Jd(b,120);_.jk(a,120,Dga);break;default:throw Error("Cc`"+e);}})};R0c=function(a,b){var c=_.Ox[a];return b.filter(function(d){return!c||!c.has(d)})};S0c=function(a,b,c){a=R0c(c,a);return L0c(b,a,_.PUc)};
bN=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};cN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&bN(a)?(a=a.Hf(),!!a&&"application/vnd.google-apps.folder"===_.C(a,3)):"application/vnd.google-apps.folder"===c};T0c=function(a){var b=a&&a.getId()||null;a&&bN(a)&&(a=(a=a.Hf())&&_.C(a,1))&&(b=a);return b};U0c=function(a){return!!_.L(a,31)&&!_.L(a,94)};W0c=function(a){return V0c.some(function(b){return J0c(a,b)})};
X0c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(dN(b))})};Y0c=function(a){return X0c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.Z0c=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};$0c=function(a,b){var c=_.zUc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};a1c=function(a,b){return 0<=b?!a||a<=b:!0};
b1c=function(a,b){if(b){var c=[];_.L(b,3)&&c.push("folder");var d=_.sRc()&&4===b.getType()?"title_natural":_.ETc[b.getType()];b=_.GTc[_.ck(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};c1c=function(a,b){var c=a.rk();c||(c=new _.coa,b&&_.A(a,81,c));return c};d1c=function(a){if(cN(a))_.ZM(c1c(a,!0),!0);else if(cN(a,!0)){var b=a.Hf();if(b=b&&_.Nd(b))_.ZM(c1c(b,!0),!0),_.ZM(c1c(a,!0),!0)}};e1c=function(a){return!!a.rk()&&!cN(a)};
f1c=function(a){var b=[];_.Ka(a,function(c){if(3!=dN(c)){var d=c;if(null!=_.L(d,49)||null!=_.L(d,51)||null!=d.rk())c=c.clone(),_.kk(c,49),_.kk(c,51),_.lk(c,81);b.push(c)}});return b};h1c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.N?a[b]=c.Tb():c&&c instanceof _.zM?a[b]=c.Tb(function(d){return d?d.Tb():null}):c&&c instanceof g1c&&(a[b]=c.Tb())}};j1c=function(a){var b=a.slice(0),c=new Set(b);i1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
p1c=function(a,b,c){var d=_.E(a,k1c,66);if(d){var e=_.C(d,1),f=_.lM(a);a=_.RK(_.DK(a));e=new _.tj(e);var h=new _.tj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.Lj(k,3);_.Aj(e,"co",h);h=e.Re();!f&&0<a&&(h+="u/"+a+"/");e.Ei(h+"_/dataservice/cacheproxy");f=_.C(d,5)||"";if(_.pUc(window.location.href,e.toString())&&f)return e=j1c(c),c=_.C(d,6),b="#"+b+"_",d=new _.vK,d.update(e.join(",")),b+=_.LRc(d.digest()),c&&(b+="&jobset="+c),b=_.tx(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.wga(b),
void 0),b=new l1c(c.port),c.port.start()):b=new l1c(new Worker(_.wga(b),void 0)),new m1c(new eN(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.Ug();c=_.yh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.rha(_.oUc(_.Sf("display: none;")));document.body.appendChild(c);c=_.gma(e.O,void 0,e.H,e.W).toString();return new m1c(new eN(n1c(window.frames[b],c),!1,!0),0,e.toString())}b=new o1c;return new m1c(new eN(b.O,!1,!1),2,"inline",c,new eN(b.H,!1,!1))};
r1c=function(a){var b=new q1c;if(a instanceof _.eL)_.vk(b,16,fN[0],a);else if(a instanceof _.fL)_.vk(b,1,fN[0],a);else if(a instanceof _.gL)_.vk(b,2,fN[0],a);else if(a instanceof _.gN)_.vk(b,17,fN[0],a);else if(a instanceof _.jL)_.vk(b,3,fN[0],a);else if(a instanceof _.IM)_.vk(b,4,fN[0],a);else if(a instanceof _.hL)_.vk(b,5,fN[0],a);else if(a instanceof _.nL)_.vk(b,6,fN[0],a);else if(a instanceof _.pL)_.vk(b,7,fN[0],a);else if(a instanceof _.qL)_.vk(b,8,fN[0],a);else if(a instanceof _.tL)_.vk(b,9,
fN[0],a);else if(a instanceof _.JL)_.vk(b,10,fN[0],a);else if(a instanceof _.KL)_.vk(b,11,fN[0],a);else if(a instanceof _.LL)_.vk(b,12,fN[0],a);else if(a instanceof _.TK)_.vk(b,13,fN[0],a);else if(a instanceof _.OL)_.vk(b,14,fN[0],a);else if(a instanceof _.PL)_.vk(b,15,fN[0],a);else throw new _.kc("Unsupported request type");return b};
u1c=function(a){a=a.map(function(c){var d=new s1c;if(c instanceof _.eL)_.vk(d,6,hN[0],c);else if(c instanceof _.gN)_.vk(d,7,hN[0],c);else if(c instanceof _.nL)_.vk(d,1,hN[0],c);else if(c instanceof _.JL)_.vk(d,2,hN[0],c);else if(c instanceof _.KL)_.vk(d,3,hN[0],c);else if(c instanceof _.TK)_.vk(d,4,hN[0],c);else if(c instanceof _.PL)_.vk(d,5,hN[0],c);else throw new _.kc("Unsupported request type");return d});var b=new t1c;_.Db(b,1,a);return b};
v1c=function(a){return _.uk(a,s1c,1).map(function(b){return _.E(b,_.eL,6)||_.E(b,_.nL,1)||_.E(b,_.JL,2)||_.E(b,_.KL,3)||_.E(b,_.TK,4)||_.E(b,_.PL,5)||_.E(b,_.gN,7)})};y1c=function(a){var b=new w1c;if(a instanceof _.OB)_.vk(b,1,x1c[0],a);else if(a instanceof _.PB)_.vk(b,2,x1c[0],a);else throw new _.kc("Unsupported request type");return b};
B1c=function(a){var b=new z1c;if(a instanceof _.kL)_.vk(b,1,A1c[0],a);else if(a instanceof _.rL)_.vk(b,2,A1c[0],a);else if(a instanceof _.QL)_.vk(b,3,A1c[0],a);else throw new _.kc("Unsupported request type");return b};iN=function(a,b,c){return b?new c(JSON.parse(a)):a};C1c=function(a){a={t:a.title,d:a.description,c:a.Ed,fi:a.P9,dti:a.M0,a:a.wQ?a.wQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.y9})}):void 0};return JSON.stringify(a)};
D1c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Ed:a.c,P9:a.fi,M0:a.dti,wQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,y9:b.ec}}):void 0}};E1c=function(a,b,c){a=a?1:2;a=_.$c((new _.Zc).Ib(12),a);var d=(new _.Ye).qn(!0);d=_.B(d,17,!0);a=_.Ze(d,a);c&&_.Ll(a,c);c=new _.CTc;b&&_.GUc(c,b);return _.HUc(_.JUc(new _.JK,a),c)};F1c=function(a){return a.map(function(b){return b.getItem()})};
G1c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};H1c=function(a,b){var c=new _.tj(_.H(b,16,"")+"/open"),d=a.getId();bN(a)&&(d=T0c(a));_.Aj(c,"id",d);_.Aj(c,"authuser",_.RK(_.DK(b)));_.F(b,89,!1)&&_.T(a,140)&&_.Aj(c,"resourcekey",_.Al(a));return c.toString()};
I1c=function(a){_.Jf("drive.DebugUtil.printFindById",function(c){a.cN(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Jf("drive.DebugUtil.getLogs",function(){return _.rXc(a.hg())});_.Jf("drive.DebugUtil.printLogs",function(){window.console.log(_.rXc(a.hg()))});_.Jf("drive.DebugUtil.printRequestHistory",function(){a.zR().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.Jf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.Ka();b&&_.F(b,1,!1)&&(_.Jf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Jf("drive.DebugUtil.setOffline",function(c){return void a.Ol(c)}))};K1c=function(a,b){var c=new _.XM,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.q0c.get(dN(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}J1c(c,[].concat(_.jd(d)));return c};
L1c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={cga:c.cga},d=a.next())if(d=d.value){c.cga=new Map;[].concat(_.jd(_.tl(d)),[d.Bm(),d.Tv(),d.Kq()]).forEach(function(l){return function(p){p&&l.cga.set(_.uF(p),p)}}(c));for(var e=[],f=_.m(c.cga.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName();e.push(_.uF(h)+"-"+((k?k.length:k)+"-")+_.ck(h,16,0))}b.push(d.getId()+","+dN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):""};
M1c=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.Bk(d,f)||(d=(new _.tK).Ib(4).setItem(f),c[e]=d):(d=(new _.tK).Ib(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=(new _.tK).Ib(1).setItem(d),c[e]=d)});return c};N1c=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Ua(M1c(a,b))};
Q1c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.lf;_.mf(b,305);_.of(b,!0);_.B(b,3,2);var c=new _.NB;_.A(c,1,b);O1c(c,[7]);a=a.then(function(d){return d.Ye(c)}).then(P1c);return _.oi(a)};P1c=function(a){a=_.uk(a,_.Mp,3);var b=new R1c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.C(d,2))&&(c=_.Eb(c.Xa()),_.B(b,3,c))});return"number"===typeof _.C(b,3)?b:null};
T1c=function(a,b){var c=S1c(a.zm,b.Nc());if(c){var d=c.getItem(),e=d.Pw();if(e){var f=e.FR(),h=_.ta(f,function(k){return k.getId()===_.C(b,2)});_.dWc(e,f);h||(f=_.uk(e,_.$k,3),_.ta(f,function(k){return k.getId()===_.C(b,2)}),_.eWc(e,f));_.cWc(e,(_.C(e,1)||1)-1);a.xl([d],c.H)}}};
V1c=function(a,b,c){if(b=S1c(a.zm,b.Nc())){var d=b.getItem(),e=d.Pw();if(e){if(1===c.getType()||2===c.getType()){var f=_.uk(e,_.$k,3);f.push(c);_.Ia(f,U1c);_.eWc(e,f)}else f=e.FR(),f.push(c),_.Ia(f,U1c),_.dWc(e,f);_.cWc(e,(_.C(e,1)||0)+1);a.xl([d],b.H)}}};X1c=function(a){return a.map(function(b){var c=new _.ssb;c=_.B(c,3,W1c[b.serviceName]);return _.B(c,2,Number(b.bytesUsed))})};
Z1c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return Y1c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
c2c=function(a){var b=a.json.exportJob,c=$1c[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=_.Cb(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.Cb(b.failedItemInfos||[],function(l){var p=_.lF((new _.sl).Rb(l.docId).setTitle(l.title),l.mediaType);p=(new _.a2c).setItem(p);p=_.B(p,3,l.relativePath);return _.B(p,4,l.cause)});return new b2c(c,d,k,f,h,e,a,b)};
e2c=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.Xa();(a=c&&c.kt())&&(b.namespace=d2c[a]);return b};f2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(d2c[a[c]]);return b};g2c=function(a){return"kind,defaultAppIds,items("+a+")"};h2c=function(a,b){return _.F(b,93,!1)?a+",adminSecureLinkSetting":a};i2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
l2c=function(a,b){_.B(b,75,1<_.n.devicePixelRatio);var c=_.F(b,61,!1);var d=_.SK(b),e=!!d&&_.F(d,10,!1);if(_.CK(_.DK(b))||!c&&!e)_.B(b,61,!1),_.lk(b,66),d&&_.B(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.E(b,k1c,66);f&&_.C(f,1)||(c=!1);_.lM(b)&&!_.F(b,52,!1)&&(c=!1)}c?d&&_.B(d,10,!1):(_.B(b,61,!1),_.lk(b,66));c=c||e}if(c)return c=_.F(b,61,!1)?3:5,b=new jN(a,b,c),new kN(b);c=_.CK(_.DK(b))?2:1;a=new lN(a,b,c,void 0,void 0,void 0);return _.CK(_.DK(b))?new j2c(a):new k2c(a)};
n2c=function(a){return _.ke(a).Ug(_.F(a.get(_.Ep),19,!1)?m2c:_.NVa)};o2c=function(a,b){a.H.push(b>>>0&255);a.H.push(b>>>8&255);a.H.push(b>>>16&255);a.H.push(b>>>24&255)};p2c=function(a,b){return _.Db(a,1,b)};q2c=[1];r2c=function(a){_.S(this,a,-1,q2c,null)};_.O(r2c,_.N);r2c.prototype.uia=function(a){_.wk(this,1,a,_.$k,void 0)};
var s2c=function(a){var b=new r2c;return _.Db(b,1,a)},t2c=function(a,b){return _.A(a,1,b)},u2c=function(a,b){_.Db(a,2,b)},v2c=function(a,b){_.A(a,6,b)},w2c=function(a,b){return _.vk(a,3,_.el[0],b)},x2c=function(a){_.S(this,a,-1,null,null)};_.O(x2c,_.N);var y2c=function(a){_.S(this,a,-1,null,null)};_.O(y2c,_.N);var mN=function(a){_.S(this,a,-1,null,null)};_.O(mN,_.N);var z2c=function(a){_.S(this,a,-1,null,null)};_.O(z2c,_.N);var A2c=function(a){_.S(this,a,-1,null,null)};_.O(A2c,_.N);
var B2c=function(a){_.S(this,a,-1,null,null)};_.O(B2c,_.N);var C2c=function(a){_.S(this,a,-1,null,null)};_.O(C2c,_.N);var D2c=function(a){_.S(this,a,-1,null,null)};_.O(D2c,_.N);var E2c=function(a){_.S(this,a,-1,null,null)};_.O(E2c,_.N);var F2c=function(a){_.S(this,a,-1,null,null)};_.O(F2c,_.N);var G2c=function(a){_.S(this,a,-1,null,null)};_.O(G2c,_.N);var H2c=function(a){_.S(this,a,-1,null,null)};_.O(H2c,_.N);var I2c=function(a){_.S(this,a,-1,null,null)};_.O(I2c,_.N);
var J2c=function(a){_.S(this,a,-1,null,null)};_.O(J2c,_.N);var K2c=function(a,b){_.Db(a,1,b)},L2c=function(a,b){return _.B(a,2,b)},M2c=function(a,b){return _.A(a,3,b)},N2c=function(a,b){return _.B(a,4,b)},O2c=[[1,2,3,4]],P2c=function(a){_.S(this,a,-1,null,O2c)};_.O(P2c,_.N);var Q2c=function(a,b){_.Db(a,1,b)},R2c=function(a,b){return _.A(a,2,b)},S2c=[[1]],T2c=function(a){_.S(this,a,-1,null,S2c)};_.O(T2c,_.N);
var U2c=function(a,b){_.Db(a,1,b)},V2c=function(a,b){return _.A(a,4,b)},W2c=function(a,b){_.A(a,5,b)},X2c=function(a,b){_.Db(a,2,b)},Y2c=function(a,b){_.Db(a,4,b)},Z2c=function(a,b){return _.A(a,5,b)},$2c=[[1,2]],a3c=function(a){_.S(this,a,-1,null,$2c)};_.O(a3c,_.N);var b3c=function(a,b){_.Db(a,1,b)},c3c=function(a,b){return _.A(a,2,b)},d3c=[[1]],e3c=function(a){_.S(this,a,-1,null,d3c)};_.O(e3c,_.N);
var f3c=function(a,b){_.Db(a,2,b)},g3c=function(a){var b=new _.kl;return _.Db(b,3,a)},h3c=[[1,2]],i3c=function(a){_.S(this,a,-1,null,h3c)};_.O(i3c,_.N);i3c.prototype.VG=function(){return _.E(this,mN,1)};i3c.prototype.lg=function(a){return _.vk(this,1,h3c[0],a)};var j3c=[1],k3c=function(a){_.S(this,a,-1,j3c,null)};_.O(k3c,_.N);k3c.prototype.Rp=function(){return _.C(this,2)};
var l3c=function(a,b){_.Db(a,1,b)},m3c=function(a,b){return _.B(a,2,b)},n3c=function(a,b){return _.A(a,3,b)},o3c=[[1]],p3c=function(a){_.S(this,a,-1,null,o3c)};_.O(p3c,_.N);var q3c=[2],r3c=function(a){_.S(this,a,-1,q3c,null)};_.O(r3c,_.N);var s3c=function(a,b){_.Db(a,2,b)},t3c=function(a,b){return _.A(a,3,b)},u3c=[[1]],v3c=function(a){_.S(this,a,-1,null,u3c)};_.O(v3c,_.N);v3c.prototype.VG=function(){return _.E(this,z2c,1)};v3c.prototype.lg=function(a){return _.vk(this,1,u3c[0],a)};
var w3c=function(a,b){_.Db(a,1,b)},x3c=function(a,b){return _.Db(a,2,b)},y3c=[[1,2]],z3c=function(a){_.S(this,a,-1,null,y3c)};_.O(z3c,_.N);var A3c=function(a,b){_.Db(a,1,b)},B3c=function(a,b){return _.A(a,2,b)},C3c=[[1]],D3c=function(a){_.S(this,a,-1,null,C3c)};_.O(D3c,_.N);var E3c=function(a,b){return _.A(a,1,b)},F3c=function(a,b){return _.B(a,2,b)},G3c=function(a,b){return _.B(a,3,b)},H3c=function(a){_.S(this,a,-1,null,null)};_.O(H3c,_.N);O0c=function(a,b){_.Db(a,8,b)};
dN=function(a){return _.ck(a,52,1)};N0c=function(a,b){return _.A(a,73,b)};P0c=function(a,b){_.Db(a,107,b)};_.$M=function(a){return _.E(a,H3c,109)};Q0c=function(a,b){_.A(a,109,b)};I3c=function(a){var b=new _.Ck;var c=_.C(a,1);null!=c&&_.Hk(b,1,c);c=_.C(a,2);null!=c&&_.Hk(b,2,c);return _.Ek(b)};J3c=function(a){_.S(this,a,-1,null,null)};_.O(J3c,_.N);var k1c=function(a){_.S(this,a,-1,null,null)};_.O(k1c,_.N);var K3c=[11],L3c=function(a){_.S(this,a,-1,K3c,null)};_.O(L3c,_.N);
var nN=function(a){_.S(this,a,-1,null,null)};_.O(nN,_.N);nN.prototype.getKey=function(){return _.C(this,2)};nN.prototype.ws=function(){return _.T(this,2)};oN=function(a){return _.H(a,4,"en")};_.pN=function(a){return _.E(a,L3c,34,1)};M3c=function(a,b){return _.B(a,5,b)};_.N3c=function(a,b){return _.B(a,2,b)};_.O3c=function(a,b){return _.B(a,3,b)};_.P3c=function(a,b){return _.B(a,1,b)};_.Q3c=function(a,b){return _.B(a,2,b)};_.R3c=function(a,b){return _.Db(a,5,b)};
_.S3c=function(a,b){return _.B(a,6,b)};_.T3c=function(a,b){return _.B(a,7,b)};_.U3c=function(a,b){return _.B(a,8,b)};_.V3c=function(a,b){return _.B(a,10,b)};_.W3c=function(a,b){return _.B(a,15,b)};X3c=[2];_.Y3c=function(a){_.S(this,a,-1,X3c,null)};_.O(_.Y3c,_.N);_.Y3c.prototype.Rh=function(){return _.C(this,1)};_.Z3c=function(a,b){return _.A(a,1,b)};$3c=function(a,b){return _.B(a,2,b)};a4c=function(a,b){return _.B(a,3,b)};b4c=function(a,b){_.Db(a,4,b)};_.c4c=function(a,b){_.A(a,8,b)};
_.d4c=function(a,b){_.A(a,9,b)};O1c=function(a,b){_.jk(a,3,b)};e4c=function(a){_.S(this,a,-1,null,null)};_.O(e4c,_.N);e4c.prototype.Xa=function(){return _.gk(this,1)};e4c.prototype.Lb=function(a){return _.nk(this,1,a,0)};qN=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Bk(b[a]||void 0,c[a]||void 0))return!0;return!1};_.f4c=function(a){_.S(this,a,-1,null,null)};_.O(_.f4c,_.N);_.f4c.prototype.getId=function(){return _.C(this,1)};
_.f4c.prototype.Rb=function(a){return _.B(this,1,a)};_.f4c.prototype.Se=function(){return _.C(this,4)};_.f4c.prototype.Ch=function(a){return _.B(this,4,a)};_.IM=function(a){_.S(this,a,-1,null,null)};_.O(_.IM,_.N);_.IM.prototype.getTitle=function(){return _.C(this,1)};_.IM.prototype.setTitle=function(a){return _.B(this,1,a)};_.IM.prototype.xe=function(){return _.E(this,_.lf,2)};
var g4c=function(a,b){return _.jk(a,9,b)},h4c=function(a,b){return _.jk(a,10,b)},i4c=function(a,b){return _.B(a,36,b)},j4c=function(a,b){return _.Db(a,38,b)},k4c=function(a,b){return _.B(a,2,b)},l4c=function(a,b){return _.A(a,3,b)},m4c=function(a){_.S(this,a,-1,null,null)};_.O(m4c,_.N);var n4c=function(a){_.S(this,a,-1,null,null)};_.O(n4c,_.N);var o4c=function(a){_.S(this,a,-1,null,null)};_.O(o4c,_.N);var p4c=function(a){_.S(this,a,-1,null,null)};_.O(p4c,_.N);
var q4c=function(a){_.S(this,a,-1,null,null)};_.O(q4c,_.N);var r4c=function(a,b){return _.B(a,1,b)},s4c=function(a,b){return _.B(a,3,b)},t4c=function(a,b){return _.B(a,4,b)},u4c=function(a,b){_.B(a,7,b)},v4c=function(a){_.S(this,a,-1,null,null)};_.O(v4c,_.N);v4c.prototype.my=function(){return _.L(this,2)};var w4c=function(a,b){_.B(a,1,b)},x4c=function(a){_.S(this,a,-1,null,null)};_.O(x4c,_.N);x4c.prototype.Om=function(){return _.C(this,3)};x4c.prototype.Ct=function(a){return _.B(this,3,a)};
x4c.prototype.kv=function(){return _.C(this,4)};var y4c=function(a){_.S(this,a,-1,null,null)};_.O(y4c,_.N);var z4c=[1,3,5],A4c=function(a){_.S(this,a,-1,z4c,null)};_.O(A4c,_.N);A4c.prototype.cF=function(){return _.Jd(this,1)};A4c.prototype.my=function(){return _.L(this,2)};A4c.prototype.kv=function(){return _.C(this,7)};B4c=function(a,b){_.B(a,2,b)};C4c=function(a,b){_.sk(a,5,b,void 0)};D4c=function(a,b){_.B(a,6,b)};E4c=function(a,b){_.B(a,7,b)};_.F4c=function(a,b){_.A(a,2,b)};
G4c=function(a,b){return _.jk(a,1,b)};H4c=function(a,b,c){_.pM(a,b,c,"warning")};I4c=function(a){return[].concat(_.jd(a.O))};J4c=function(a){return a.H.concat([].concat(_.jd(a.O)))};K4c=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(_.jd(c))};rN=function(a){var b=_.xM(a).Cd();b||(b=new _.OWc,a=_.xM(a),_.A(a,1,b));return b};
L4c=function(a){var b=_.E(_.xM(a),A4c,3);b||(b=new A4c,a=_.xM(a),_.A(a,3,b));return b};M4c=function(a){var b=_.E(_.xM(a),o4c,7);b||(b=new o4c,a=_.xM(a),_.A(a,7,b));return b};N4c=function(a){var b=_.E(_.xM(a),q4c,12);b||(b=new q4c,a=_.xM(a),_.A(a,12,b));return b};O4c=function(a){var b=_.E(_.xM(a),v4c,17);b||(b=new v4c,a=_.xM(a),_.A(a,17,b));return b};
P4c=function(a){if(a instanceof _.wK)return 2;if(a instanceof _.iF)return 10;if(a instanceof _.Ye)return _.zL(a)?3:_.AL(a)?7:_.BL(a)?8:1;if(a instanceof _.xz)return 9;if(a instanceof _.vF)return 11;if(a instanceof _.HL)return 15;if(a instanceof _.EK)return 6;if(a instanceof _.DL){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 _.NB)return 4;if(a instanceof _.fz)return 12;if(a instanceof _.kF)return 13}return 0};
Q4c=function(a){var b=null;a instanceof _.iA||"undefined"!=typeof _.zM&&a instanceof _.zM||"undefined"!=typeof _.AM&&a instanceof _.AM?b=a.sf()||0:"undefined"!=typeof _.CM&&a instanceof _.CM||"undefined"!=typeof _.DM&&a instanceof _.DM||"undefined"!=typeof _.EM&&a instanceof _.EM||"undefined"!=typeof _.FM&&a instanceof _.FM||"undefined"!=typeof _.GM&&a instanceof _.GM?b=a.Ue:"undefined"!=typeof _.BM&&a instanceof _.BM&&(b=a.sf());return b||0};
R4c=function(a,b,c){return a.V&&a.isRunning()?(a=_.jYc(a.V,b,0),c&&_.FSc(a,c),a):null};S4c=function(a){a.V&&a.isRunning()&&(a=a.V,a.isRunning()&&a.H.k_())};T4c=function(a,b){return _.A(a,1,b)};U4c=function(a,b){a.ha=b};V4c=[2];sN=function(a){_.S(this,a,-1,V4c,null)};_.O(sN,_.N);sN.prototype.Cb=function(){return _.C(this,1)};sN.prototype.Gc=function(a){return _.B(this,1,a)};sN.prototype.uia=function(a){_.wk(this,2,a,_.$k,void 0)};sN.prototype.fk=function(){return _.C(this,3)};
var W4c=[2],X4c=function(a){_.S(this,a,-1,W4c,null)};_.O(X4c,_.N);X4c.prototype.Cb=function(){return _.C(this,1)};X4c.prototype.Gc=function(a){return _.B(this,1,a)};X4c.prototype.fk=function(){return _.C(this,3)};Y4c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.yo,a.H.promise):null};Z4c=function(a){var b=[];a.nj.forEach(function(c){(c=c.Dv.config.timestamp)&&b.push(c)});return b};
$4c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.Dv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.xa(b,Z4c(c))});return b};J1c=function(a,b){return _.jk(a,1,b)};a5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ba");var c=_.kb(a,!0);b=_.kb(b,!0);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++)_.Jma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};b5c=[2,6];
_.AM=function(a){_.S(this,a,-1,b5c,null)};_.O(_.AM,_.N);_.g=_.AM.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.Id=function(){return _.uk(this,_.sl,2)};_.g.Nw=function(a){return _.Db(this,2,a)};_.g.nh=function(a,b){return _.wk(this,2,a,_.sl,b)};_.g.fk=function(){return _.C(this,3)};_.g.tl=function(){return _.F(this,4,!0)};var c5c=function(a,b){return _.Db(a,6,b)};_.AM.prototype.Sf=function(){return _.C(this,10)};
_.AM.prototype.ZP=function(a){return _.B(this,10,a)};_.AM.prototype.sf=function(){return _.C(this,9)};_.AM.prototype.fj=function(a){return _.B(this,9,a)};
var d5c={SUCCESS:1,z6b:2,HYb:3,rUb:4,M6b:5,h1b:6,Z0b:7,XUb:8,x5b:9,M5b:10,y6b:11,BWb:12,fWb:13,IZb:14,aYb:15,jWb:16,iWb:17,oWb:18,lWb:19,mWb:20,c6b:21,I6b:22,z1b:23,G0b:24,QUb:25,PERMISSION_DENIED:26,Y_b:27,bVb:28,aVb:29,INTERRUPTED:30,Y1b:31,q2b:32,QWb:33,WWb:34,E5b:35,cXb:36,bYb:37,VWb:38,Y0b:39,JVb:40,T1b:41,s2b:42,v5b:43,uVb:44,IVb:45,ZXb:46,T_b:47,X0b:48,q1b:49,U1b:50,o5b:51,gWb:52,w5b:53,u5b:54,AVb:55,xVb:56,mXb:57,q0b:58,V1b:59,s_b:60,H3b:61,v4b:62,b5b:63,XZb:64,I0b:65,P6b:66,eXb:67,cYb:68,
x6b:69,a_b:70,$Ub:71,mVb:72,D4b:73,c5b:74,Z4b:75,X4b:76,r4b:190,W4b:191,E4b:192,K4b:126,G4b:128,H4b:129,I4b:130,J4b:131,L4b:132,M4b:133,Q3b:127,N3b:134,O3b:135,S3b:136,T3b:137,U3b:138,P3b:194,R3b:195,V3b:196,M3b:197,u4b:189,G3b:139,I3b:140,W3b:141,X3b:142,i4b:143,l4b:144,m4b:145,n4b:146,o4b:147,p4b:148,q4b:149,t4b:150,z4b:151,B4b:152,C4b:153,F4b:154,N4b:155,P4b:156,Q4b:157,R4b:158,S4b:159,T4b:160,U4b:161,Y4b:162,a5b:163,d5b:164,J3b:165,K3b:166,L3b:167,E3b:168,F3b:169,$3b:170,Y3b:171,Z3b:172,a4b:173,
b4b:174,c4b:175,d4b:176,e4b:177,f4b:178,g4b:179,h4b:180,j4b:181,k4b:182,s4b:106,A4b:183,O4b:184,V4b:185,w4b:186,x4b:187,y4b:188,$4b:244,S1b:77,C6b:78,H6b:79,e0b:80,NZb:81,PZb:82,lXb:83,YXb:84,Z_b:85,W5b:86,UWb:87,c_b:88,b_b:89,g5b:90,e5b:91,f5b:92,D6b:93,WVb:94,VVb:95,SVb:96,UVb:97,TVb:98,O6b:99,q3b:100,rWb:101,kWb:102,pWb:103,nWb:104,qWb:105,dYb:107,J5b:108,k3b:109,r6b:110,gYb:111,fYb:112,x_b:113,y_b:114,w2b:115,BVb:116,F_b:117,vXb:118,E6b:119,d1b:120,e1b:121,JZb:193,hWb:122,KWb:123,MZb:124,C0b:125,
d_b:198,c2b:199,UZb:200,VTb:201,ZZb:202,YZb:203,cVb:204,m7b:205,M_b:206,PVb:207,a1b:208,r2b:209,m3b:210,vUb:211,v_b:212,C_b:213,z5b:214,y5b:215,WZb:216,HZb:217,VZb:218,gXb:219,N5b:220,hXb:221,t_b:222,G5b:223,Y6b:224,M0b:225,F5b:226,MWb:227,L_b:228,kXb:229,LVb:230,U5b:231,D0b:232,FILE_TOO_LARGE:233,$Zb:234,fXb:235,VXb:236,n2b:237,J0b:238,GTb:239,MVb:240,Q0b:241,w3b:242,SWb:243,TTb:245,QZb:246,s1b:247,OZb:248,d0b:249,H0b:250,$Xb:251,OYb:252,w_b:253,yVb:254,eYb:255,N6b:256,AYb:257,n0b:258,D2b:259,b2b:260,
j_b:261,wWb:262,TWb:263,PUb:264,X_b:265,L6b:266,KTb:267},H0c=[1004,1005,1002,1003],V0c=[1002,1003,1005],e5c=[1,2],f5c=function(a){_.S(this,a,-1,e5c,null)};_.O(f5c,_.N);var g5c=function(a){_.S(this,a,-1,null,null)};_.O(g5c,_.N);g5c.prototype.Cb=function(){return _.C(this,1)};g5c.prototype.Gc=function(a){return _.B(this,1,a)};g5c.prototype.mn=function(){return _.E(this,_.jF,2)};var h5c=function(a){_.xi.call(this,a)};_.O(h5c,_.xi);i5c=[3];_.tN=function(a){_.S(this,a,-1,i5c,null)};_.O(_.tN,_.N);
_.tN.prototype.getType=function(){return _.C(this,1)};_.tN.prototype.Ib=function(a){return _.B(this,1,a)};_.tN.prototype.Nc=function(){return _.C(this,2)};_.gN=function(a){_.S(this,a,-1,null,null)};_.O(_.gN,_.N);_.gN.prototype.getId=function(){return _.C(this,1)};_.gN.prototype.Rb=function(a){return _.B(this,1,a)};_.gN.prototype.xe=function(){return _.E(this,_.lf,3)};_.j5c=function(a){_.S(this,a,-1,null,null)};_.O(_.j5c,_.N);_.j5c.prototype.getFeature=function(){return _.C(this,1)};k5c=[1];
_.wM=function(a){_.S(this,a,-1,k5c,null)};_.O(_.wM,_.N);l5c=[2,3,8];_.KL=function(a){_.S(this,a,-1,l5c,null)};_.O(_.KL,_.N);_.KL.prototype.getId=function(){return _.C(this,1)};_.KL.prototype.Rb=function(a){return _.B(this,1,a)};_.KL.prototype.xe=function(){return _.E(this,_.lf,4)};_.KL.prototype.Dc=function(){return _.C(this,5)};var m5c=function(a){_.S(this,a,-1,null,null)};_.O(m5c,_.N);var n5c=[1,2,4],o5c=function(a){_.S(this,a,-1,null,null)};_.O(o5c,_.N);
o5c.prototype.O=function(){return _.E(this,_.xE,1)};o5c.prototype.V=function(){return _.E(this,_.xE,2)};o5c.prototype.ha=function(){return _.E(this,_.xE,3)};var p5c=function(a){_.S(this,a,-1,null,null)};_.O(p5c,_.N);_.g=p5c.prototype;_.g.zr=function(){return _.L(this,1)};_.g.fl=function(a){return _.B(this,1,a)};_.g.Nm=function(){return _.L(this,2)};_.g.R$a=function(){return _.L(this,3)};_.g.Hn=function(){return _.L(this,4)};
var uN=[[13,19,12,11,10,15,14,9,8,18,17,16]],q5c=function(a){_.S(this,a,-1,null,null)};_.O(q5c,_.N);q5c.prototype.O=function(){return _.L(this,1)};q5c.prototype.V=function(){return _.L(this,2)};var r5c=function(a){_.S(this,a,-1,null,null)};_.O(r5c,_.N);r5c.prototype.$Va=function(){return _.C(this,1)};r5c.prototype.O=function(){return _.C(this,4)};var s5c=function(a){_.S(this,a,-1,null,null)};_.O(s5c,_.N);s5c.prototype.V=function(){return _.C(this,1)};s5c.prototype.O=function(){return _.C(this,2)};
var t5c=function(a){_.S(this,a,-1,null,null)};_.O(t5c,_.N);t5c.prototype.V=function(){return _.C(this,1)};t5c.prototype.O=function(){return _.C(this,2)};var u5c=function(a){_.S(this,a,-1,null,null)};_.O(u5c,_.N);var v5c=[1],w5c=function(a){_.S(this,a,-1,null,null)};_.O(w5c,_.N);w5c.prototype.O=function(){return _.L(this,1)};w5c.prototype.V=function(){return _.L(this,2)};var x5c=function(a){_.S(this,a,-1,null,null)};_.O(x5c,_.N);_.g=x5c.prototype;_.g.zr=function(){return _.L(this,1)};
_.g.fl=function(a){return _.B(this,1,a)};_.g.Nm=function(){return _.L(this,2)};_.g.bab=function(){return _.E(this,o5c,3)};_.g.eab=function(){return _.T(this,3)};_.g.dab=function(){return _.E(this,o5c,4)};_.g.gab=function(){return _.T(this,4)};_.g.cab=function(){return _.C(this,5)};_.g.fab=function(){return _.T(this,5)};var y5c=function(a){_.S(this,a,-1,null,null)};_.O(y5c,_.N);_.g=y5c.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.Bd=function(a){return _.B(this,1,a)};
_.g.Ir=function(){return _.T(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Lb=function(a){return _.B(this,2,a)};_.g.Gi=function(){return _.kk(this,2)};_.g.wh=function(){return _.T(this,2)};_.g.zf=function(){return _.C(this,5)};_.g.wm=function(a){return _.B(this,5,a)};_.g.aab=function(){return _.T(this,5)};_.g.getCapabilities=function(){return _.E(this,w5c,3)};_.g.$$a=function(){return _.E(this,x5c,4)};var z5c=function(a){_.S(this,a,-1,v5c,null)};_.O(z5c,_.N);
z5c.prototype.O=function(){return _.uk(this,y5c,1)};var A5c=function(a,b){_.Db(a,1,b)},B5c=function(a){_.S(this,a,-1,null,null)};_.O(B5c,_.N);B5c.prototype.cu=function(){return _.C(this,1)};B5c.prototype.GW=function(){return _.T(this,1)};B5c.prototype.getOptions=function(){return _.E(this,z5c,2)};var C5c=function(a){_.S(this,a,-1,null,null)};_.O(C5c,_.N);C5c.prototype.cu=function(){return _.C(this,1)};C5c.prototype.GW=function(){return _.T(this,1)};
C5c.prototype.getOptions=function(){return _.E(this,t5c,2)};var D5c=function(a){_.S(this,a,-1,null,null)};_.O(D5c,_.N);var E5c=function(a){_.S(this,a,-1,null,null)};_.O(E5c,_.N);E5c.prototype.cu=function(){return _.C(this,1)};E5c.prototype.GW=function(){return _.T(this,1)};E5c.prototype.getOptions=function(){return _.E(this,D5c,2)};var vN=[[3,4,5,6,7,8,9,10,11,12]],F5c=function(a){_.S(this,a,-1,null,vN)};_.O(F5c,_.N);_.g=F5c.prototype;_.g.eea=function(a){return _.vk(this,3,vN[0],a)};
_.g.P5a=function(a){return _.vk(this,4,vN[0],a)};_.g.Z4a=function(a){return _.vk(this,5,vN[0],a)};_.g.Y4a=function(a){return _.vk(this,6,vN[0],a)};_.g.M4a=function(a){return _.vk(this,7,vN[0],a)};_.g.B5a=function(a){return _.vk(this,8,vN[0],a)};_.g.A5a=function(a){return _.vk(this,9,vN[0],a)};_.g.U5a=function(a){return _.vk(this,10,vN[0],a)};_.g.Dqa=function(a){return _.vk(this,11,vN[0],a)};_.g.gqa=function(a){return _.vk(this,12,vN[0],a)};var G5c=function(a){_.S(this,a,-1,null,null)};_.O(G5c,_.N);
var H5c=function(a){_.S(this,a,-1,null,null)};_.O(H5c,_.N);H5c.prototype.cu=function(){return _.C(this,1)};H5c.prototype.GW=function(){return _.T(this,1)};H5c.prototype.getOptions=function(){return _.E(this,G5c,2)};var I5c=function(a){_.S(this,a,-1,null,uN)};_.O(I5c,_.N);_.g=I5c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.U$a=function(){return _.C(this,2)};_.g.$E=function(){return _.C(this,3)};_.g.Je=function(){return _.C(this,4)};
_.g.T$a=function(){return _.E(this,p5c,5)};_.g.getCapabilities=function(){return _.E(this,q5c,6)};_.g.Z$a=function(){return _.C(this,7)};_.g.M4a=function(a){return _.vk(this,13,uN[0],a)};_.g.S$a=function(){return _.E(this,r5c,19)};_.g.gqa=function(a){return _.vk(this,19,uN[0],a)};_.g.Y4a=function(a){return _.vk(this,12,uN[0],a)};_.g.Z4a=function(a){return _.vk(this,11,uN[0],a)};_.g.mtb=function(){return _.E(this,s5c,10)};_.g.V$a=function(){return _.E(this,B5c,15)};
_.g.A5a=function(a){return _.vk(this,15,uN[0],a)};_.g.W$a=function(){return _.E(this,z5c,14)};_.g.B5a=function(a){return _.vk(this,14,uN[0],a)};_.g.P5a=function(a){return _.vk(this,9,uN[0],a)};_.g.X$a=function(){return _.E(this,t5c,8)};_.g.eea=function(a){return _.vk(this,8,uN[0],a)};_.g.Y$a=function(){return _.E(this,H5c,18)};_.g.Dqa=function(a){return _.vk(this,18,uN[0],a)};_.g.U5a=function(a){return _.vk(this,17,uN[0],a)};var J5c=[5],K5c=function(a){_.S(this,a,-1,null,null)};_.O(K5c,_.N);
K5c.prototype.ha=function(){return _.L(this,1)};K5c.prototype.O=function(){return _.L(this,2)};K5c.prototype.ma=function(){return _.L(this,3)};K5c.prototype.V=function(){return _.L(this,4)};var wN=function(a){_.S(this,a,-1,J5c,null)};_.O(wN,_.N);wN.prototype.getName=function(){return _.C(this,1)};wN.prototype.ld=function(a){return _.B(this,1,a)};wN.prototype.an=function(){return _.C(this,2)};var L5c=function(a,b){return _.B(a,2,b)};wN.prototype.V=function(){return _.C(this,14)};
var M5c=function(a,b){return _.B(a,14,b)};_.g=wN.prototype;_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.zf=function(){return _.C(this,4)};_.g.wm=function(a){return _.B(this,4,a)};_.g.N$=function(){return _.C(this,15)};_.g.hab=function(){return _.uk(this,I5c,5)};var N5c=function(a,b){_.Db(a,5,b)},O5c=function(a,b){_.A(a,6,b)},P5c=function(a,b){_.A(a,7,b)},Q5c=function(a,b){_.A(a,8,b)};wN.prototype.O=function(){return _.E(this,p5c,12)};
var R5c=function(a,b){_.A(a,12,b)};wN.prototype.getCapabilities=function(){return _.E(this,K5c,13)};var S5c=function(a,b){_.A(a,13,b)},T5c=[5,7,9],U5c=function(a){_.S(this,a,-1,T5c,null)};_.O(U5c,_.N);_.g=U5c.prototype;_.g.getUser=function(){return _.E(this,_.$k,1)};_.g.MA=function(a){_.B(this,2,a)};_.g.setBooleanValue=function(a){return _.B(this,3,a)};_.g.setTextValue=function(a){return _.B(this,4,a)};_.g.zqa=function(a){return _.jk(this,5,a)};
_.g.addTextValues=function(a,b){return _.sk(this,5,a,b)};_.g.setSelectionValue=function(a){return _.B(this,6,a)};_.g.vqa=function(a){return _.jk(this,7,a)};_.g.addSelectionValues=function(a,b){return _.sk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.B(this,8,a)};_.g.mqa=function(a){return _.jk(this,9,a)};_.g.addIntegerValues=function(a,b){return _.sk(this,9,a,b)};var V5c=[7,10,12,16,13,3],xN=function(a){_.S(this,a,-1,V5c,null)};_.O(xN,_.N);var yN=function(a){return _.C(a,4)};_.g=xN.prototype;
_.g.MA=function(a){_.B(this,4,a)};_.g.setBooleanValue=function(a){return _.B(this,5,a)};_.g.lab=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.B(this,6,a)};_.g.zqa=function(a){return _.jk(this,7,a)};_.g.addTextValues=function(a,b){return _.sk(this,7,a,b)};_.g.jab=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.B(this,8,a)};_.g.kab=function(){return _.C(this,9)};_.g.setSelectionValue=function(a){return _.B(this,9,a)};
_.g.uNa=function(){return _.Jd(this,10)};_.g.vqa=function(a){return _.jk(this,10,a)};_.g.addSelectionValues=function(a,b){return _.sk(this,10,a,b)};_.g.iab=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.B(this,11,a)};_.g.mqa=function(a){return _.jk(this,12,a)};_.g.addIntegerValues=function(a,b){return _.sk(this,12,a,b)};_.g.vNa=function(){return _.E(this,_.$k,15)};_.g.setUserValue=function(a){return _.A(this,15,a)};_.g.wCa=function(){return _.uk(this,_.$k,16)};
var W5c=function(a,b){_.Db(a,16,b)};xN.prototype.addUserValues=function(a,b){return _.wk(this,16,a,_.$k,b)};xN.prototype.O=function(){return _.C(this,17)};xN.prototype.setDateStringValue=function(a){return _.B(this,17,a)};xN.prototype.V=function(){return _.T(this,17)};var X5c=function(a,b){_.Db(a,13,b)};xN.prototype.getId=function(){return _.C(this,14)};xN.prototype.Rb=function(a){return _.B(this,14,a)};xN.prototype.getName=function(){return _.C(this,1)};
xN.prototype.ld=function(a){return _.B(this,1,a)};var Y5c=[2],zN=function(a){_.S(this,a,-1,Y5c,null)};_.O(zN,_.N);zN.prototype.getName=function(){return _.C(this,1)};zN.prototype.ld=function(a){return _.B(this,1,a)};zN.prototype.O=function(){return _.uk(this,xN,2)};var Z5c=function(a,b){_.Db(a,2,b)};zN.prototype.Nc=function(){return _.C(this,3)};
var $5c=function(a,b){return _.B(a,3,b)},a6c={F6b:0,o0b:1,A1b:2,o1b:3,e_b:4,sUb:5,p0b:6,p1b:7,nZb:8,OUb:9,m1b:10},AN=function(){this.map={};this.status=6;this.Ue=null};AN.prototype.Cb=function(){return this.status};AN.prototype.Gc=function(a){this.status=a};AN.prototype.sf=function(){return this.Ue};AN.prototype.fj=function(a){this.Ue=a};var b6c=function(a,b){a.map=b};
AN.prototype.Tb=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Ue,me:b})};c6c=function(a,b,c){c=JSON.parse(c);a.Gc(c.s);a.fj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.zM=function(){AN.apply(this,arguments)};_.O(_.zM,AN);var d6c=function(){AN.apply(this,arguments)};_.O(d6c,AN);var BN=function(a){_.S(this,a,-1,null,null)};_.O(BN,_.N);BN.prototype.getType=function(){return _.C(this,1)};
BN.prototype.Ib=function(a){return _.B(this,1,a)};var e6c=function(a,b){return _.A(a,2,b)};BN.prototype.ky=function(){return _.C(this,3)};BN.prototype.Oy=function(a){return _.B(this,3,a)};BN.prototype.Vi=function(){return _.C(this,4)};BN.prototype.setPosition=function(a){return _.B(this,4,a)};var f6c=[2],g6c=function(a){_.S(this,a,-1,f6c,null)};_.O(g6c,_.N);g6c.prototype.Cb=function(){return _.C(this,1)};g6c.prototype.Gc=function(a){return _.B(this,1,a)};
var h6c=[2],CN=function(a){_.S(this,a,-1,h6c,null)};_.O(CN,_.N);CN.prototype.Cb=function(){return _.C(this,1)};CN.prototype.Gc=function(a){return _.B(this,1,a)};CN.prototype.O=function(){return _.uk(this,zN,2)};var i6c=function(a,b){return _.Db(a,2,b)};CN.prototype.fk=function(){return _.C(this,3)};var j6c=function(a){_.S(this,a,-1,null,null)};_.O(j6c,_.N);j6c.prototype.Cb=function(){return _.C(this,1)};j6c.prototype.Gc=function(a){return _.B(this,1,a)};k6c=function(a,b){return _.A(a,2,b)};
l6c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};m6c=function(a,b){return new _.oSc(_.pSc.bound(a,b,void 0,void 0))};n6c=function(){var a=new _.hi,b=_.BSc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Od(_.AK(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.o6c=function(a){_.S(this,a,-1,null,null)};_.O(_.o6c,_.N);_.o6c.prototype.yr=function(){return _.C(this,1)};
_.o6c.prototype.Qd=function(){return _.C(this,2)};_.o6c.prototype.setSize=function(a){return _.B(this,2,a)};_.o6c.prototype.getUrl=function(){return _.C(this,3)};_.p6c=function(a){_.S(this,a,-1,null,null)};_.O(_.p6c,_.N);_.p6c.prototype.getType=function(){return _.C(this,1)};_.p6c.prototype.Ib=function(a){return _.B(this,1,a)};q6c=[2,3];_.r6c=function(a){_.S(this,a,-1,q6c,null)};_.O(_.r6c,_.N);s6c=[4,5,6,17,18,24];_.DN=function(a){_.S(this,a,-1,s6c,null)};_.O(_.DN,_.N);
_.DN.prototype.getId=function(){return _.C(this,1)};_.DN.prototype.Rb=function(a){return _.B(this,1,a)};_.DN.prototype.getName=function(){return _.C(this,2)};_.DN.prototype.ld=function(a){return _.B(this,2,a)};var t6c=function(a,b){return _.jk(a,4,b)},u6c=function(a,b){return _.jk(a,5,b)};_.g=_.DN.prototype;_.g.jR=function(){return _.C(this,8)};_.g.ZBa=function(){return _.L(this,22)};_.g.getType=function(){return _.C(this,23)};_.g.Ib=function(a){return _.B(this,23,a)};
_.g.Nm=function(){return _.L(this,33)};var v6c=[3],EN=function(a){_.S(this,a,-1,v6c,null)};_.O(EN,_.N);EN.prototype.zp=function(){return _.C(this,1)};var w6c=function(a,b){return _.B(a,1,b)};EN.prototype.getTitle=function(){return _.C(this,2)};EN.prototype.setTitle=function(a){return _.B(this,2,a)};EN.prototype.Id=function(){return _.uk(this,_.sl,3)};var x6c=function(a,b){return _.Db(a,3,b)};EN.prototype.nh=function(a,b){return _.wk(this,3,a,_.sl,b)};EN.prototype.V=function(){return _.C(this,4)};
var y6c=function(a,b){return _.B(a,4,b)};EN.prototype.O=function(){return _.E(this,_.bl,5)};var z6c=function(a,b){return _.A(a,5,b)},R1c=function(a){_.S(this,a,-1,null,null)};_.O(R1c,_.N);var A6c=[2],FN=function(a){_.S(this,a,-1,A6c,null)};_.O(FN,_.N);FN.prototype.Cb=function(){return _.C(this,1)};FN.prototype.Gc=function(a){return _.B(this,1,a)};FN.prototype.Sk=function(){return _.uk(this,EN,2)};var B6c=function(a,b){return _.Db(a,2,b)};FN.prototype.Sf=function(){return _.C(this,4)};
C6c=function(a,b){return _.B(a,4,b)};_.BM=function(a){_.S(this,a,-1,null,null)};_.O(_.BM,_.N);_.g=_.BM.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.mU=function(){return _.hk(this,2,_.jF)};_.g.fk=function(){return _.C(this,3)};_.g.sf=function(){return _.C(this,5)};_.g.fj=function(a){return _.B(this,5,a)};var D6c=function(a){_.S(this,a,-1,null,null)};_.O(D6c,_.N);D6c.prototype.zf=function(){return _.H(this,1)};
D6c.prototype.wm=function(a){return _.qk(this,1,a)};D6c.prototype.getUrl=function(){return _.H(this,2)};_.GN=function(a){_.S(this,a,-1,null,null)};_.O(_.GN,_.N);_.GN.prototype.getType=function(){return _.ck(this,1,0)};_.GN.prototype.Ib=function(a){return _.rk(this,1,a)};_.GN.prototype.getContext=function(){return _.E(this,D6c,2)};_.GN.prototype.oj=function(a){return _.A(this,2,a)};E6c=[1];F6c=[2,4];_.G6c=function(a){_.S(this,a,-1,F6c,null)};_.O(_.G6c,_.N);
_.G6c.prototype.getLabel=function(){return _.H(this,1)};_.G6c.prototype.Bd=function(a){return _.qk(this,1,a)};_.G6c.prototype.getTitle=function(){return _.H(this,3)};_.G6c.prototype.setTitle=function(a){return _.qk(this,3,a)};_.H6c=function(a){_.S(this,a,-1,E6c,null)};_.O(_.H6c,_.N);_.I6c=[[2,3,4]];_.HN=function(a){_.S(this,a,-1,null,null)};_.O(_.HN,_.N);_.HN.prototype.Je=function(){return _.H(this,3)};_.HN.prototype.Sn=function(a){return _.qk(this,4,a)};_.J6c=function(a){_.S(this,a,-1,null,null)};
_.O(_.J6c,_.N);_.K6c=function(a){_.S(this,a,-1,null,_.I6c)};_.O(_.K6c,_.N);var L6c=function(a){_.S(this,a,-1,null,null)};_.O(L6c,_.N);M6c=[3,5];_.IN=[[8,9,10,11,12,13,14]];_.N6c=function(a){_.S(this,a,-1,null,null)};_.O(_.N6c,_.N);_.O6c=function(a){_.S(this,a,-1,M6c,_.IN)};_.O(_.O6c,_.N);_.O6c.prototype.Cb=function(){return _.ck(this,6,0)};_.O6c.prototype.Gc=function(a){return _.rk(this,6,a)};var P6c=function(a){_.S(this,a,-1,null,null)};_.O(P6c,_.N);var Q6c=function(a){_.S(this,a,-1,null,null)};
_.O(Q6c,_.N);var R6c=function(a){_.S(this,a,-1,null,null)};_.O(R6c,_.N);var S6c=[1],T6c=function(a){_.S(this,a,-1,S6c,null)};_.O(T6c,_.N);var U6c=function(a){_.S(this,a,-1,null,null)};_.O(U6c,_.N);var V6c=function(a){_.S(this,a,-1,null,null)};_.O(V6c,_.N);W6c=[7];_.X6c=[[1,2,3]];_.Y6c=function(a){_.S(this,a,-1,null,null)};_.O(_.Y6c,_.N);_.Z6c=function(a){_.S(this,a,-1,null,null)};_.O(_.Z6c,_.N);_.$6c=function(a){_.S(this,a,-1,null,null)};_.O(_.$6c,_.N);_.a7c=function(a){_.S(this,a,-1,W6c,_.X6c)};
_.O(_.a7c,_.N);_.b7c=function(a){_.S(this,a,-1,null,null)};_.O(_.b7c,_.N);_.b7c.prototype.getName=function(){return _.H(this,1)};_.b7c.prototype.ld=function(a){return _.qk(this,1,a)};var c7c=function(a){_.S(this,a,-1,null,null)};_.O(c7c,_.N);c7c.prototype.getName=function(){return _.H(this,1)};c7c.prototype.ld=function(a){return _.qk(this,1,a)};c7c.prototype.getTitle=function(){return _.H(this,2)};c7c.prototype.setTitle=function(a){return _.qk(this,2,a)};
var d7c=[[1,4]],e7c=function(a){_.S(this,a,-1,null,d7c)};_.O(e7c,_.N);e7c.prototype.getUser=function(){return _.E(this,_.K6c,1)};var f7c=[[8,9,10]],g7c=function(a){_.S(this,a,-1,null,null)};_.O(g7c,_.N);var h7c=function(a){_.S(this,a,-1,null,null)};_.O(h7c,_.N);h7c.prototype.getType=function(){return _.ck(this,6,0)};h7c.prototype.Ib=function(a){return _.rk(this,6,a)};var i7c=function(a){_.S(this,a,-1,null,null)};_.O(i7c,_.N);_.j7c=function(a){_.S(this,a,-1,null,f7c)};_.O(_.j7c,_.N);_.g=_.j7c.prototype;
_.g.getName=function(){return _.H(this,1)};_.g.ld=function(a){return _.qk(this,1,a)};_.g.getTitle=function(){return _.H(this,2)};_.g.setTitle=function(a){return _.qk(this,2,a)};_.g.getFile=function(){return _.E(this,g7c,3)};_.g.ila=function(){return _.E(this,h7c,9)};_.g.iBa=function(){return _.E(this,i7c,10)};_.g.Ii=function(){return _.dk(this,5)};_.g.getMimeType=function(){return _.H(this,6)};_.g.jD=function(){return _.E(this,e7c,7)};var k7c=function(a){_.S(this,a,-1,null,null)};_.O(k7c,_.N);
var l7c=[[8,9,10]],m7c=function(a){_.S(this,a,-1,null,l7c)};_.O(m7c,_.N);_.g=m7c.prototype;_.g.getName=function(){return _.H(this,1)};_.g.ld=function(a){return _.qk(this,1,a)};_.g.getTitle=function(){return _.H(this,2)};_.g.setTitle=function(a){return _.qk(this,2,a)};_.g.getFile=function(){return _.E(this,g7c,3)};_.g.ila=function(){return _.E(this,h7c,9)};_.g.iBa=function(){return _.E(this,i7c,10)};n7c=[[1,3]];_.JN=function(a){_.S(this,a,-1,null,n7c)};_.O(_.JN,_.N);
_.JN.prototype.Ti=function(){return _.E(this,m7c,1)};_.o7c=[[1,2,3]];_.p7c=function(a){_.S(this,a,-1,null,null)};_.O(_.p7c,_.N);_.q7c=function(a){_.S(this,a,-1,null,_.o7c)};_.O(_.q7c,_.N);var r7c=function(a){_.S(this,a,-1,null,null)};_.O(r7c,_.N);var s7c=function(a){_.S(this,a,-1,null,null)};_.O(s7c,_.N);t7c=[2,3];_.u7c=function(a){_.S(this,a,-1,t7c,null)};_.O(_.u7c,_.N);_.u7c.prototype.getType=function(){return _.ck(this,1,0)};_.u7c.prototype.Ib=function(a){return _.rk(this,1,a)};
_.v7c=function(a){_.S(this,a,-1,null,null)};_.O(_.v7c,_.N);_.v7c.prototype.getType=function(){return _.ck(this,1,0)};_.v7c.prototype.Ib=function(a){return _.rk(this,1,a)};var w7c=function(a){_.S(this,a,-1,null,null)};_.O(w7c,_.N);w7c.prototype.getType=function(){return _.ck(this,1,0)};w7c.prototype.Ib=function(a){return _.rk(this,1,a)};var x7c=function(a){_.S(this,a,-1,null,null)};_.O(x7c,_.N);_.y7c=function(a){_.S(this,a,-1,null,null)};_.O(_.y7c,_.N);var z7c=function(a){_.S(this,a,-1,null,null)};
_.O(z7c,_.N);A7c=[1,2,4];_.B7c=function(a){_.S(this,a,-1,null,null)};_.O(_.B7c,_.N);C7c=[1,2];_.D7c=function(a){_.S(this,a,-1,null,null)};_.O(_.D7c,_.N);_.D7c.prototype.getParent=function(){return _.E(this,_.JN,1)};_.D7c.prototype.Gg=function(a){return _.A(this,1,a)};_.E7c=function(a){_.S(this,a,-1,C7c,null)};_.O(_.E7c,_.N);_.F7c=function(a){_.S(this,a,-1,A7c,null)};_.O(_.F7c,_.N);_.KN=function(a){_.S(this,a,-1,null,null)};_.O(_.KN,_.N);_.KN.prototype.getEmail=function(){return _.H(this,1)};
_.KN.prototype.getTitle=function(){return _.H(this,2)};_.KN.prototype.setTitle=function(a){return _.qk(this,2,a)};_.LN=[[2,3,4,5]];_.MN=function(a){_.S(this,a,-1,null,_.LN)};_.O(_.MN,_.N);_.MN.prototype.jg=function(){return _.ck(this,1,0)};_.MN.prototype.getUser=function(){return _.E(this,_.K6c,2)};var G7c=function(a){_.S(this,a,-1,null,null)};_.O(G7c,_.N);H7c=[1,2,3,4];_.I7c=function(a){_.S(this,a,-1,H7c,null)};_.O(_.I7c,_.N);_.J7c=function(a){_.S(this,a,-1,null,null)};_.O(_.J7c,_.N);
_.K7c=function(a){_.S(this,a,-1,null,null)};_.O(_.K7c,_.N);_.L7c=function(a){_.S(this,a,-1,null,null)};_.O(_.L7c,_.N);_.M7c=function(a){_.S(this,a,-1,null,null)};_.O(_.M7c,_.N);_.M7c.prototype.getType=function(){return _.ck(this,1,0)};_.M7c.prototype.Ib=function(a){return _.rk(this,1,a)};N7c=[1];_.O7c=function(a){_.S(this,a,-1,null,null)};_.O(_.O7c,_.N);_.O7c.prototype.getFeature=function(){return _.ck(this,1,0)};_.P7c=function(a){_.S(this,a,-1,N7c,null)};_.O(_.P7c,_.N);
var Q7c=function(a){_.S(this,a,-1,null,null)};_.O(Q7c,_.N);var R7c=function(a){_.S(this,a,-1,null,null)};_.O(R7c,_.N);var S7c=function(a){_.S(this,a,-1,null,null)};_.O(S7c,_.N);S7c.prototype.getType=function(){return _.ck(this,1,0)};S7c.prototype.Ib=function(a){return _.rk(this,1,a)};_.NN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.ON=function(a){_.S(this,a,-1,null,_.NN)};_.O(_.ON,_.N);_.ON.prototype.Pz=function(){return _.E(this,S7c,10)};_.T7c=function(a){_.S(this,a,-1,null,null)};
_.O(_.T7c,_.N);var U7c=function(a){_.S(this,a,-1,null,null)};_.O(U7c,_.N);_.V7c=function(a){_.S(this,a,-1,null,null)};_.O(_.V7c,_.N);_.W7c=function(a){_.S(this,a,-1,null,null)};_.O(_.W7c,_.N);_.W7c.prototype.getType=function(){return _.ck(this,1,0)};_.W7c.prototype.Ib=function(a){return _.rk(this,1,a)};_.X7c=[[1,2,3,4,5]];_.Y7c=function(a){_.S(this,a,-1,null,_.X7c)};_.O(_.Y7c,_.N);_.Y7c.prototype.getUser=function(){return _.E(this,_.K6c,1)};var Z7c=function(a){_.S(this,a,-1,null,null)};_.O(Z7c,_.N);
Z7c.prototype.getType=function(){return _.ck(this,2,0)};Z7c.prototype.Ib=function(a){return _.rk(this,2,a)};Z7c.prototype.Fh=function(){return _.H(this,1)};_.$7c=function(a){_.S(this,a,-1,null,null)};_.O(_.$7c,_.N);_.g=_.$7c.prototype;_.g.getName=function(){return _.H(this,1)};_.g.ld=function(a){return _.qk(this,1,a)};_.g.getTitle=function(){return _.H(this,2)};_.g.setTitle=function(a){return _.qk(this,2,a)};_.g.Na=function(){return _.E(this,_.j7c,3)};_.a8c=function(a){_.S(this,a,-1,null,null)};
_.O(_.a8c,_.N);_.a8c.prototype.getParent=function(){return _.E(this,_.j7c,4)};_.a8c.prototype.Gg=function(a){return _.A(this,4,a)};_.b8c=[[1,5,3]];_.c8c=function(a){_.S(this,a,-1,null,_.b8c)};_.O(_.c8c,_.N);_.c8c.prototype.Ti=function(){return _.E(this,_.j7c,1)};_.PN=function(a){_.S(this,a,-1,null,null)};_.O(_.PN,_.N);_.PN.prototype.getStartTime=function(){return _.E(this,_.Vw,1)};_.PN.prototype.LY=function(a){_.A(this,1,a)};_.PN.prototype.Cr=function(){return _.E(this,_.Vw,2)};
_.PN.prototype.DF=function(a){_.A(this,2,a)};d8c=[[5,6]];_.e8c=function(a){_.S(this,a,-1,null,d8c)};_.O(_.e8c,_.N);_.e8c.prototype.Rh=function(){return _.E(this,Z7c,2)};_.e8c.prototype.O=function(a){_.vk(this,5,d8c[0],a)};f8c=[3,4,5];g8c=[[6,7]];_.h8c=function(a){_.S(this,a,-1,f8c,g8c)};_.O(_.h8c,_.N);_.h8c.prototype.O=function(a){_.vk(this,6,g8c[0],a)};var i8c=[1],hN=[[1,2,3,4,5,6,7]],s1c=function(a){_.S(this,a,-1,null,hN)};_.O(s1c,_.N);var t1c=function(a){_.S(this,a,-1,i8c,null)};_.O(t1c,_.N);
var QN=function(a){_.S(this,a,-1,null,null)};_.O(QN,_.N);QN.prototype.getQuery=function(){return _.E(this,_.Ye,1,1)};var j8c=function(a,b){return _.A(a,1,b)};QN.prototype.Yn=function(){return _.C(this,4)};var k8c=function(a,b){return _.A(a,5,b)},l8c=[1,2,5,7,9,10,12],RN=function(a){_.S(this,a,-1,l8c,null)};_.O(RN,_.N);RN.prototype.Id=function(){return _.uk(this,_.sl,1)};var m8c=function(a,b){return _.Db(a,1,b)};RN.prototype.nh=function(a,b){return _.wk(this,1,a,_.sl,b)};
RN.prototype.uia=function(a){_.wk(this,2,a,_.$k,void 0)};var n8c=function(a,b){return _.B(a,3,b)};RN.prototype.Zn=function(){return _.C(this,4)};RN.prototype.Fu=function(a){return _.B(this,4,a)};var o8c=function(a,b){return _.Db(a,5,b)},p8c=function(a,b){return _.B(a,6,b)};RN.prototype.Oh=function(){return _.E(this,_.qA,8)};var q8c=function(a,b){return _.jk(a,12,b)};RN.prototype.kv=function(){return _.ck(this,13,0)};
var r8c=function(a,b){return _.B(a,13,b)},s8c={SUb:0,RUb:1,E_b:2,H5b:3,K5b:4},fN=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],q1c=function(a){_.S(this,a,-1,null,fN)};_.O(q1c,_.N);var x1c=[[1,2]],w1c=function(a){_.S(this,a,-1,null,x1c)};_.O(w1c,_.N);var A1c=[[1,2,3]],z1c=function(a){_.S(this,a,-1,null,A1c)};_.O(z1c,_.N);var t8c=[1],u8c=function(a){_.S(this,a,-1,t8c,null)};_.O(u8c,_.N);u8c.prototype.jy=function(){return _.H(this,2)};
var v8c=function(a,b){return 1<a?2===b:a===b},w8c=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("Ie");},SN=function(a,b,c,d){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.O=d};_.g=SN.prototype;_.g.clone=function(){return new SN(this.item.clone(),this.count,this.H,this.O)};_.g.getId=function(){return this.item.getId()};_.g.qc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a};_.g.cI=function(a){this.H=a};_.g.equals=function(a){return this.count===a.qc()&&this.H===a.H&&this.O===a.O&&_.Bk(this.item,a.getItem())};_.CM=function(a,b,c){this.response=a;this.Ue=void 0===b?0:b;this.s0=void 0===c?null:c};_.dVc=function(a){this.H=a;this.type=1};x8c=function(){};y8c=function(a){this.H=a};_.eVc=function(a){this.H=a;this.type=0};b2c=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.eA=f;this.H=h;this.W=k};
_.EM=function(a,b,c){this.response=a;this.Ue=void 0===b?0:b;this.s0=void 0===c?null:c};_.lVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.oVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.FM=function(a,b,c){this.response=a;this.Ue=void 0===b?0:b;this.s0=void 0===c?null:c};_.GM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ue=void 0===d?0:d};
_.DM=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ue=void 0===d?0:d};z8c=function(a){_.DM.call(this,a,void 0,void 0,void 0);this.J4a=new _.yo};_.O(z8c,_.DM);
var A8c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},B8c=function(a){return[].concat(_.jd(new Set(a.map(function(b){return _.HTc.get(b)}).filter(function(b){return b})))).join(",")},TN=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.jd(b));b=B8c(b);var d=_.IK(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":
_.F(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.F(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.F(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},C8c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+TN(a,b,!1)+")"},UN=function(a){return a instanceof _.sl?null!=a.getId()&&a.getId()==a.Dc():null!=a.Nc()&&a.Nc()==a.Dc()},D8c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.uh();null!=e&&N0c(a,e.clone());if((e=b.getCapabilities())&&null!=_.L(e,13)){var f=a.getCapabilities()||
new _.nl,h=_.L(e,13);_.B(f,13,h);_.dM(a,f)}e&&null!=_.L(e,18)&&(f=a.getCapabilities()||new _.nl,e=_.L(e,18),_.B(f,18,e),_.dM(a,f));aN(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.uh()&&aN(a,d,c)},E8c=function(a,b,c){c=void 0===c?[]:c;if(!b||!UN(a)&&!UN(b))return a;if(2==dN(a)){c=_.C(a,82);var d=b.clone();D8c(d,a);_.oWc(d,dN(b));_.WK(d,c);return d}a=a.clone();D8c(a,b,c);return a},F8c=function(a){return(a=a?a.uh():null)&&a.Nm()||!1},G8c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},H8c=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]={}})},J8c=function(a,b,c){b.every(function(d){return UN(d)})?I8c(b,c,a.H,a.O):b.every(function(d){return!UN(d)})&&I8c(b,c,a.items,a.fields)},I8c=function(a,b,c,d){var e=_.RUc(b,[].concat(_.jd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&aN(f,k,[h])})})};G8c.prototype.update=function(a,b,c){b&&UN(b)?K8c(a,b,this.H,this.O,c):K8c(a,b,this.items,this.fields,c)};G8c.prototype.DJ=function(a){var b=this;_.Ma(this.items,function(c,d){_.Wa(b.items[d],a)});_.Ma(this.H,function(c,d){_.Wa(b.H[d],a)})};var K8c=function(a,b,c,d,e){_.Ma(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Wa(f,a);else if(b&&K0c(b,[h])){var k=new _.sl;k.Rb(b.getId());aN(k,b,[h]);f[a]=k}});b&&G0c(b,[].concat(_.jd(d)))};
G8c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};G8c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var L8c=function(a,b,c){var d=this;this.Aw=b;this.xy=c;this.Td=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=L8c.prototype;_.g.yz=function(){return this.Td};
_.g.Qk=function(a){var b=new Map;a=_.m(a.jn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Td.has(c)&&b.set(c,this.Td.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(M8c(a)){for(var d=_.m(this.Td.values()),e=d.next();!e.done;e=d.next())e=e.value,N8c(this.Aw,a,e.getItem())&&(void 0===b||v8c(e.H,b))&&c.push(e);this.xy.sort(a,c)}return c};_.g.get=function(a){return this.Td.get(a)};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Td.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,O8c(this,a.H)?(this.Td.delete(a.id),a.H.count--):this.Td.set(a.id,a.H)):(this.Td.delete(a.id),a.O.count--)};var O8c=function(a,b){return 1<b.qc()||v8c(b.H,2)||b.getItem().WI()||e1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
L8c.prototype.DJ=function(){for(var a=_.m(this.Td.values()),b=a.next();!b.done;b=a.next())b=b.value,O8c(this,b)&&(this.Td.delete(b.getId()),b.count--)};var P8c=function(a,b,c,d){this.Tg=a;this.W=b;this.O=c;this.V=d},S1c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),J8c(a.V,[b.getItem()],J4c(a.Tg)),b):null};P8c.prototype.H=function(a){return(a=S1c(this,a))?a.getItem():null};
var Q8c=function(a,b){var c={};b.forEach(function(d){var e=S1c(a,d);e&&(c[d]=e)});return c},R8c=function(a,b){return _.Oa(Q8c(a,b),function(c){return c.getItem()})},S8c=function(a,b){b=VN(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};P8c.prototype.query=function(a){return S8c(this,a).map(function(b){return b.getItem()})};P8c.prototype.Qd=function(){return this.O.yz().size};
var T8c=function(a){var b=new Set;a=_.m(a.O.yz().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.tl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.uF(e));(d=c.Bm())&&b.add(d.getId()||_.uF(d));(d=c.Tv())&&b.add(d.getId()||_.uF(d));(d=c.Kq())&&b.add(d.getId()||_.uF(d));(c=c.rD())&&b.add(c.getId()||_.uF(c))}return b.size},U8c=function(a){var b=new _.wp;_.vM(b,"hidden",a.Nm());a=_.L(a,6);null!=a&&_.vM(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
V8c=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}},W8c=function(a){var b=_.sRc(),c={};b&&(c.numeric=b);this.H=_.tRc(a,c)};W8c.prototype.compare=function(a,b,c){b=X8c(b);c=X8c(c);a=a.Cc();var d=V8c(a);if(a&&d){d=Y8c(this,a);var e=4===a.getType()?this.H:_.Ga;return Z8c(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};
W8c.prototype.sort=function(a,b,c){a=a.Cc();var d=V8c(a);a&&d&&(d=Y8c(this,a),d=$8c(b,d),_.Ia(b,a9c(this,a,d)));c&&0<c&&_.za(b,c,b.length-c)};
var X8c=function(a){return a instanceof _.sl?a:a.getItem()},Y8c=function(a,b){b=V8c(b);return _.v(a.O,a,b,_.Ga)},$8c=function(a,b){var c={};a.forEach(function(d){d=X8c(d);var e=d.getId();c[e]=b(d)});return c},a9c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=X8c(d);e=X8c(e);return Z8c(b,function(h){return c[h.getId()]},f,d,e)}},Z8c=function(a,b,c,d,e){var f=1===_.ck(a,2,1)?1:-1;if(_.L(a,3)){a=cN(d,!0);var h=cN(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ga(d.getId(),
e.getId()))};W8c.prototype.O=function(a,b,c){for(var d=b9c(a[0],c),e=1;e<a.length;e++){var f=b9c(a[e],c);d=1===b(f,d)?f:d}return d};
var b9c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.TA()||!1;case 12:return b.gz()||0;case 11:return b.rB()||0;case 10:return b.Cq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.ly()||0;case 57:return _.C(b,62)||0;case 32:return b.Su()||0;case 9:return b.cD()||0;case 67:return b.$J()||0;case 98:return b.Uv()||0;default:return""}},c9c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.nr=_.CK(_.DK(b));
a=_.SK(b);this.V=!(!a||!_.F(a,1,!1));this.O=!(!a||!_.F(a,8,!1))};c9c.prototype.Fu=function(a){this.rootId=a||""};
var VN=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Rb(a.rootId);_.hM(b).filter(function(d){return"root"===d.Xa()}).forEach(function(d){return d.Lb(a.rootId)});_.ef(b,_.gM(b).map(function(d){d.Lb(d.Xa().toLowerCase());return d}));c&&_.Kl(b,a.fields);b.O().sort();return b},WN=function(a,b,c){if(b instanceof _.Ye){b=VN(a,b);var d=_.KXc(b)}else if(b instanceof _.xz)d=b.jn().sort().join(","),_.F(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.wK)return d=U8c(b),d+"|tdList";if(b instanceof _.iF)return d=
b.jn().sort().join(","),b.O().length&&(d+="|"+B8c(b.O())),d+"|tdMap";throw Error("Me");}return 3===c?d:d+"|"+d9c(a,b.O(),2===c)},d9c=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(_.jd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.dL({fields:[].concat(_.jd(f)),nr:a.nr}));e.size&&(d=d+" + "+_.dL({fields:[].concat(_.jd(e)),nr:a.nr}));
return d};c9c.prototype.equals=function(a,b,c){var d;c&&(d=3);return WN(this,a,d)===WN(this,b,d)};
var e9c=function(a){if(!a.jn().every(function(b){return!_.Zd(b)}))throw new _.kc("Invalid ids for FindByIdsRequest");},g9c=function(a,b,c){if(_.AL(b))throw new _.kc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");f9c(a,b,c)},f9c=function(a,b,c){var d;a.O||(d=_.aL(3));if(b.getId())throw new _.kc("Use findByIds() for find by id queries.",d?d:_.aL(3));if(!b.Ui()||0>=b.Ui())throw new _.kc("A positive limit is required on an ItemQueryRequest.",d?d:_.aL(3));
_.Jd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),h9c(a,d,b.O()));if(c=(c=b.Cc())&&V8c(c))d=b.O().length?b.O():a.fields,h9c(a,d,c);if(_.zL(b)){if(a.nr)throw new _.kc("User must be authenticated for a Quick Access request.");if(!i9c(a)&&20<b.Ui())throw new _.kc("Limit must be in the range [1, 20].");c=2===_.iM(b);d=_.Jd(b,33).length;if(c&&1!==d||d&&!c)throw new _.kc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.mk(_.kk(_.kk(_.kk(_.VG(_.kk(_.lk(_.VG(b.clone(),
1),30),32),33),45),47),48),6);d=new _.Ye;if(!_.Bk(c,d))throw new _.kc("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: "+a5c(d,c));}if(_.BL(b)){if(a.nr)throw new _.kc("User must be authenticated for a DrivePriority request.");if(2===_.iM(b))throw new _.kc("Team Drive corpora is not valid for a Drive Priority request.");a=_.kk(_.kk(_.kk(_.lk(_.VG(b.clone(),1),30),32),45),52);
b=new _.Ye;if(!_.Bk(a,b))throw new _.kc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+a5c(b,a));}},j9c=function(a,b,c){if(!_.AL(b))throw new _.kc("Expected a PeoplePredict request.");f9c(a,b,c);if(a.nr)throw new _.kc("User must be authenticated for a People Predict request.");if(2===_.iM(b))throw new _.kc("Team Drive corpora is not valid for a People Predict request.");a=_.kk(_.kk(_.kk(_.lk(_.VG(b.clone(),
1),30),32),45),49);b=new _.Ye;if(!_.Bk(a,b))throw new _.kc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+a5c(b,a));},h9c=function(a,b,c){var d;a.O||(d=_.aL(3));if(!L0c(b,c,_.PUc)){var e=_.dL({fields:c,nr:a.nr}),f=_.dL({fields:b,nr:a.nr});a=_.dL({fields:M0c(c,b),nr:a.nr});throw new _.kc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.aL(3));
}},i9c=function(a){return 200<=_.kM(a.H)&&300>_.kM(a.H)},k9c=function(a){var b=new Set;_.gM(a).forEach(function(c){switch(_.tOa(c.Xa())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.jd(b))},l9c=function(a){switch(_.kM(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"}},m9c=function(a){_.P.call(this);this.H=a};_.Kf(m9c,_.P);_.g=m9c.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.Za=function(){this.cancel();m9c.ub.Za.call(this)};var l1c=function(a){_.vx.call(this);this.H=a;this.V=_.re(this.H,"message",this.jpb,!1,this)};_.Kf(l1c,_.vx);_.g=l1c.prototype;_.g.Kd=null;
_.g.send=function(a,b){var c=[];b=this.eAa(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.OTc&&(a=(0,_.Li)(a));this.H.postMessage(a,c)};_.g.jpb=function(a){a=a.He;var b=a.data;if(_.OTc)try{b=JSON.parse(b)}catch(e){return}if(_.Da(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.DDa(a.ports||[],b),d.hGa),null!=b&&d.callback(b))}};
_.g.eAa=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)?_.Cb(b,(0,_.v)(this.eAa,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.eAa(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.DDa=function(a,b){return Array.isArray(b)?_.Cb(b,(0,_.v)(this.DDa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.DDa(a,"_port"==d?c.val:c)},this):b};_.g.Za=function(){_.Fi(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;l1c.ub.Za.call(this)};
var n1c=function(a,b){if("*"==b)return new m9c(_.pi(Error("Ne")));var c=new _.Hi(50),d=_.rb(_.aa,c),e=new _.hi(d);_.ki(e,d);c.start();_.re(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new l1c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new m9c(e)},n9c=function(a){_.P.call(this);this.H=new _.VRc(a);this.V={};this.O=_.XRc(this.H,
"private");this.W=_.XRc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Imb,this),!0)};_.Kf(n9c,_.P);_.g=n9c.prototype;_.g.HFb=0;_.g.Za=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.HFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Imb=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,_.v)(this.Hmb,this,b),!0)};
_.g.Hmb=function(a,b){a=a(b.data);var c=b.signature;_.$h(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var eN=function(a,b,c){_.P.call(this);this.W=c;this.started=!1;this.H=new _.VRc(a);this.Ma(this.H);this.O=new n9c(_.XRc(this.H,"direct"));this.Ma(this.O);a=_.XRc(this.H,"passthrough");this.V=b?a:new n9c(a);this.Ma(this.V);this.bX=b};_.O(eN,_.P);eN.prototype.registerService=function(a,b){this.O.registerService(a,b)};
eN.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ff)};var XN=function(a,b,c){if(a.bX)throw Error("Oe");a.V.registerService(b,c,!0)},YN=function(a,b,c,d){if(a.bX)throw Error("Pe");a.V.send(b,c||{},d||_.Ff)};eN.prototype.start=function(){this.started||(this.started=!0);if(this.bX)throw Error("Qe");};var i1c=[],o9c=function(){_.vx.call(this);this.H=null};_.O(o9c,_.vx);o9c.prototype.send=function(a,b){_.D3a(this.H,a,b)};
var o1c=function(){this.O=new o9c;this.H=new o9c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},p9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.Tb=null},q9c=function(a,b){b=void 0===b?!1:b;null==a.Tb&&(a.Tb=b)&&h1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.Tb}},r9c=function(a){var b=new p9c(a.c,a.m,a.a,a.req);b.Tb=a.s;return b},s9c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.Tb=null},t9c=function(a,
b){b=void 0===b?!1:b;null==a.Tb&&a.data&&(a.Tb=b)&&h1c(a.data);return{d:a.data,err:a.error&&b?a.error.Tb():a.error,uid:a.H,s:b}},u9c=function(a){var b=a.s,c=a.err&&b?new _.jc(JSON.parse(a.err)):a.err;a=new s9c(c?void 0:a.d,c,a.uid);c||(a.Tb=b);return a},g1c=function(a,b){this.H=a;this.QD=b};g1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.QD[b];return a};
g1c.prototype.Tb=function(){for(var a={},b={},c=0;c<this.QD.length;c++){var d=this.QD[c],e=this.H[c];d instanceof Error?b[e]=_.PK(d).Tb():a[e]=d.Tb()}return JSON.stringify([a,b])};v9c=function(a){a=JSON.parse(a);var b=[],c=[];_.Ma(a[0],function(d,e){b.push(e);c.push(new _.UL(JSON.parse(d)))});_.Ma(a[1],function(d,e){b.push(e);d=new _.jc(JSON.parse(d));c.push(_.bL(d))});return new g1c(b,c)};m1c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
w9c={FTb:0,ZTb:1,SZb:3,Z6b:5,kjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.lL=function(a){_.S(this,a,-1,null,null)};_.O(_.lL,_.N);_.lL.prototype.Fh=function(){return _.C(this,1)};_.lL.prototype.xe=function(){return _.E(this,_.lf,3)};_.oL=function(a){_.S(this,a,-1,null,null)};_.O(_.oL,_.N);_.oL.prototype.Nc=function(){return _.C(this,1)};_.oL.prototype.xe=function(){return _.E(this,_.lf,3)};_.vL=function(a){_.S(this,a,-1,null,null)};_.O(_.vL,_.N);
_.vL.prototype.Fh=function(){return _.C(this,1)};_.vL.prototype.xe=function(){return _.E(this,_.lf,2)};_.wL=function(a){_.S(this,a,-1,null,null)};_.O(_.wL,_.N);_.wL.prototype.Fh=function(){return _.C(this,1)};_.wL.prototype.xe=function(){return _.E(this,_.lf,2)};_.yL=function(a){_.S(this,a,-1,null,null)};_.O(_.yL,_.N);_.g=_.yL.prototype;_.g.Nc=function(){return _.C(this,1)};_.g.jg=function(){return _.C(this,2)};_.g.getType=function(){return _.C(this,3)};_.g.Ib=function(a){return _.B(this,3,a)};
_.g.Xa=function(){return _.C(this,4)};_.g.Lb=function(a){return _.B(this,4,a)};_.g.Gi=function(){return _.kk(this,4)};_.g.wh=function(){return _.T(this,4)};_.g.xe=function(){return _.E(this,_.lf,7)};_.FL=function(a){_.S(this,a,-1,null,null)};_.O(_.FL,_.N);_.FL.prototype.Nc=function(){return _.C(this,1)};_.FL.prototype.xe=function(){return _.E(this,_.lf,2)};_.FL.prototype.Ui=function(){return _.dk(this,3,1E3)};_.FL.prototype.yi=function(a){return _.B(this,3,a)};
_.IL=function(a){_.S(this,a,-1,null,null)};_.O(_.IL,_.N);_.IL.prototype.xe=function(){return _.E(this,_.lf,1)};var x9c=function(){var a=new _.IL,b=_.mf(new _.lf,301);return _.A(a,1,b)};_.IL.prototype.Dc=function(){return _.C(this,3)};_.mVc=function(a){_.S(this,a,-1,null,null)};_.O(_.mVc,_.N);_.mVc.prototype.Dc=function(){return _.C(this,1)};_.ML=function(a){_.S(this,a,-1,null,null)};_.O(_.ML,_.N);_.ML.prototype.Fh=function(){return _.C(this,1)};_.ML.prototype.xe=function(){return _.E(this,_.lf,4)};
var y9c=function(a){_.S(this,a,-1,null,null)};_.O(y9c,_.N);z9c=function(a,b){return _.B(a,1,b)};_.mL=function(a){_.S(this,a,-1,null,null)};_.O(_.mL,_.N);_.mL.prototype.getId=function(){return _.C(this,1)};_.mL.prototype.Rb=function(a){return _.B(this,1,a)};_.CL=function(a){_.S(this,a,-1,null,null)};_.O(_.CL,_.N);_.CL.prototype.getId=function(){return _.C(this,1)};_.CL.prototype.Rb=function(a){return _.B(this,1,a)};_.$Uc=function(a){_.S(this,a,-1,null,null)};_.O(_.$Uc,_.N);
var A9c=function(a,b,c){_.Q.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};_.O(A9c,_.Q);A9c.prototype.JB=function(){return this.O};A9c.prototype.FQ=function(){var a=this;if(this.W)return this.W;var b=_.ei();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);B9c(this,b);return b.promise};A9c.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,C9c(this))};
A9c.prototype.wa=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 h5c("ib")))};
var D9c=function(a,b){a.ha=b},C9c=function(a){a.H||(a.H=new _.EYc(5E3),a.timeout=_.n.setTimeout(function(){return E9c(a)},a.H.Xa()))},E9c=function(a){B9c(a);a.H&&(_.DG(a.H),a.timeout=_.n.setTimeout(function(){return E9c(a)},a.H.Xa()))},B9c=function(a,b){var c=_.$h();a.ha&&(c=a.ha());c.then(function(){return F9c(a,b)})},F9c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Ye(new _.nVc)});b?c.then(function(){b.resolve(z9c(new y9c,1))},function(d){var e=_.tA(d).ih;
d=0;_.aUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.nq(e),_.B(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new y9c;z9c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.tA(d);_.aUc(d.ih)&&a.V&&(a.dispatchEvent(new h5c("jb")),a.V=!1)})};A9c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var G9c=function(a){return _.E(a,_.JK,3)||_.E(a,_.SL,4)||_.E(a,_.IM,5)||_.E(a,_.PL,6)||_.E(a,_.qL,7)||_.E(a,_.jL,8)||_.E(a,_.nL,9)||_.E(a,_.TK,10)},H9c=function(a){_.S(this,a,-1,null,null)};_.O(H9c,_.N);_.g=H9c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.Kz=function(){return _.C(this,3)};_.g.Re=function(){return _.C(this,4)};_.g.Ei=function(a){return _.B(this,4,a)};var I9c=function(a){this.Kd=a;this.H=new Map;this.O=this.Kd.W};
I9c.prototype.create=function(a,b){if(0!=P4c(b)){var c=this.Kd.H(106001);if(c){var d=P4c(b),e=rN(c);_.B(e,2,d);d=rN(c);e=null;if(b instanceof _.vF||b instanceof _.xz||b instanceof _.Ye||b instanceof _.DL||b instanceof _.NB||b instanceof _.iF||b instanceof _.wK||b instanceof _.EK||b instanceof _.kF||b instanceof _.fz)e=b.xe();e=e&&_.F(e,2,!1);_.B(d,7,"boolean"==typeof e?e:void 0);d=rN(c);b=b instanceof _.Ye?0<_.hM(b).length:void 0;_.B(d,8,b);this.H.set(a,c)}}};
var J9c=function(a,b,c){if(a=a.H.get(b))a=rN(a),_.B(a,5,c)},K9c=function(a,b,c){(a=a.H.get(b))&&_.L(rN(a),8)&&(a=rN(a),_.B(a,9,c))},L9c=function(a,b,c,d,e){var f=a.H.get(b);f&&(rN(f).Gc(c),rN(f).fj(d),null!=e&&(c=rN(f),_.B(c,6,e)),f.ek(),a.H.delete(b))},M9c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=Q4c(c);if(1==e||2==c)e=_.yM(_.RTc,c),d=rN(d),d=3==e||8==e?!_.L(d,5):0!=e?_.mUc.has(e):null,L9c(a,b,1,e,d)}},N9c=function(a,b,c){var d=a.O.Cb(c);d=_.yM(_.QTc,d||22);var e=Q4c(c);e=_.yM(_.RTc,
e);L9c(a,b,d,e,"undefined"!=typeof _.CM&&c instanceof _.CM||"undefined"!=typeof _.EM&&c instanceof _.EM||"undefined"!=typeof _.FM&&c instanceof _.FM?c.s0:null)},ZN=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(rN(d).Gc(c),d.ek(),a.H.delete(b))},$N=function(a,b){_.xi.call(this,"Gb");this.error=a;this.H=b};_.O($N,_.xi);var O9c=[2,4],aO=function(a){_.S(this,a,-1,O9c,null)};_.O(aO,_.N);aO.prototype.Cb=function(){return _.C(this,1)};aO.prototype.Gc=function(a){return _.B(this,1,a)};
aO.prototype.fk=function(){return _.C(this,3)};var P9c=[4,9],Q9c=function(a){_.S(this,a,-1,P9c,null)};_.O(Q9c,_.N);_.g=Q9c.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.RWa=function(){return _.C(this,2)};_.g.ENa=function(){return _.C(this,3)};_.g.btb=function(){return _.uk(this,_.MK,4)};var R9c={G6b:0,k1b:1,n1b:2,OTHER:3,l1b:4},S9c=function(a){_.S(this,a,-1,null,null)};_.O(S9c,_.N);S9c.prototype.getUrl=function(){return _.C(this,1)};
var bO=function(a){_.S(this,a,-1,null,null)};_.O(bO,_.N);var T9c=function(a,b){return _.B(a,1,b)};bO.prototype.getName=function(){return _.C(this,2)};bO.prototype.ld=function(a){return _.B(this,2,a)};bO.prototype.getEmail=function(){return _.C(this,3)};var U9c=function(a,b){return _.B(a,3,b)};bO.prototype.Tp=function(){return _.T(this,3)};var V9c=[1],W9c=function(a){_.S(this,a,-1,V9c,null)};_.O(W9c,_.N);W9c.prototype.eu=function(){return _.uk(this,bO,1)};
var X9c=function(a,b){return _.Db(a,1,b)},Y9c=function(a){_.S(this,a,-1,null,null)};_.O(Y9c,_.N);_.g=Y9c.prototype;_.g.Nc=function(){return _.C(this,1)};_.g.Cb=function(){return _.C(this,2)};_.g.Gc=function(a){return _.B(this,2,a)};_.g.getError=function(){return _.E(this,_.jc,3)};_.g.We=function(a){return _.A(this,3,a)};_.g.Jn=function(){return _.T(this,3)};var Z9c=[2],cO=function(a){_.S(this,a,-1,Z9c,null)};_.O(cO,_.N);cO.prototype.Cb=function(){return _.C(this,1)};
cO.prototype.Gc=function(a){return _.B(this,1,a)};cO.prototype.Sk=function(){return _.uk(this,_.jF,2)};var $9c=function(a,b){return _.Db(a,2,b)};cO.prototype.fk=function(){return _.C(this,3)};var a$c=[1],b$c=function(a){_.S(this,a,-1,a$c,null)};_.O(b$c,_.N);var c$c=function(a,b){return _.jk(a,1,b)},d$c=function(a,b){this.O=a|0;this.H=b|0};d$c.prototype.equals=function(a){return this===a?!0:a instanceof d$c?this.O===a.O&&this.H===a.H:!1};d$c.prototype.Jc=function(){return 31*this.O+17*this.H|0};
var e$c=function(a,b){return new d$c(a,b)},f$c=function(a,b){b=~b;a?a=~a+1:b+=1;return e$c(a,b)},g$c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?f$c:e$c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},h$c=function(){this.H=this.W=this.O=this.V=null},i$c=function(a,b,c){this.id=a;this.O=b;this.H=c},j$c=function(a,b){return new i$c((a?a:b).getId(),a,b)},dO=function(a){return new i$c(a.getId(),null,a)},k$c=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},eO=function(a,b,c){if(a.started)throw Error("Ze");c={Go: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)}},fO=function(a,b){if(!a.started)throw Error("$e");if(!a.enabled)throw Error("af`"+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.Go.delete(b);if(0===e.Go.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.bL(f):null,f;}}}};k$c.prototype.H=function(a){return this.V.has(a)};k$c.prototype.start=function(){this.started=!0};k$c.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var l$c=function(){_.Q.call(this);this.H=Date.now()};_.O(l$c,_.Q);l$c.prototype.qF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var m$c=function(a,b){this.Aw=a;this.xy=b;this.ZN=!0;this.J8=!1;this.Ue=0},n$c=function(a){a.ZN=!1;a.DJ()};_.g=m$c.prototype;
_.g.zCa=function(a,b){if(5===this.iJ(a))throw Error("bf");for(var c=[],d=_.m(this.yz()),e=d.next();!e.done;e=d.next())e=e.value,N8c(this.Aw,a,e.getItem())&&c.push(e);this.xy.sort(a,c,b);return c};_.g.Qd=function(){return this.yz().length};_.g.Qk=function(a){var b=this.zCa(a,void 0);b=F1c(b);var c=new _.iA;c.Nw(b);c.Gc(this.XR(a)?6:1);return c};_.g.update=function(a){var b=this.ru(a.O),c=this.ru(a.H);if(!b&&!c)return!1;b&&this.vJ(a.O);c&&this.SR(a.H);return!0};
_.g.iJ=function(a){return this.ZN&&this.J8?M8c(a)?1:5:5};_.g.a4=function(){this.J8=!0};_.g.ru=function(a){return!!a&&this.ZN};_.g.fj=function(a){this.Ue=a};_.g.sf=function(){return this.Ue};var gO=function(a,b,c,d,e,f){f=void 0===f?"":f;m$c.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Td=[];this.O={};this.request=VN(c,d,!0);this.H=!e;o$c(this,e);this.V=function(k,l){return h.xy.compare(h.request,k,l)}};_.O(gO,m$c);_.g=gO.prototype;_.g.Cd=function(){return this.request};
_.g.SR=function(a){var b=this.O[a.getId()];b&&this.vJ(b);B0c(this.Td,a,this.V);this.O[a.getId()]=a;a.count++;this.Td.length>this.request.Ui()&&(this.vJ(_.fa(this.Td)),this.H=!1)};_.g.vJ=function(a){var b=this.Td,c=_.Ha(b,a,this.V);0<=c&&_.ra(b,c);_.Wa(this.O,a.getId());a.count--};_.g.DJ=function(){this.Td.forEach(function(a){a.count--});this.Td=[];this.O={}};_.g.yz=function(){return this.Td};
_.g.iJ=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=L0c(b,a,_.PUc);return b?this.H?1:6:5};_.g.zCa=function(a,b){if(5===this.iJ(a))throw Error("bf");b=b?Math.min(b,this.Td.length):this.Td.length;return _.ya(this.Td,0,b)};_.g.ru=function(a){if(!m$c.prototype.ru.call(this,a)||!N8c(this.Aw,this.request,a.getItem()))return!1;if(this.H||_.F(this.request,48,!1))return!0;var b=_.fa(this.Td);return!!b&&0>=this.V(a,b)};_.g.XR=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.xl=function(a,b){var c=this,d=_.fa(this.Td);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.vJ(d),o$c(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(dO(e))})};var o$c=function(a,b){b&&N8c(a.Aw,a.request,b.getItem())&&a.SR(b)};gO.prototype.jy=function(){return this.nextPageToken};var hO=function(a,b){m$c.call(this,a,b);this.Td=new Map};_.O(hO,m$c);hO.prototype.SR=function(a){this.Td.set(a.getId(),a);a.count++};
hO.prototype.vJ=function(a){this.Td.delete(a.getId());a.count--};hO.prototype.DJ=function(){for(var a=_.m(this.Td.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Td=new Map};hO.prototype.yz=function(){return Array.from(this.Td.values())};var iO=function(a,b,c,d){hO.call(this,a,b);var e=this;this.H=d;eO(c,["aU7Ts","BNEDtc"],function(){return e.a4()})};_.O(iO,hO);
iO.prototype.iJ=function(a){var b=this,c=hO.prototype.iJ.call(this,a);if(5==c)return c;if(0<_.Jd(a,33).length)return 5;a=_.hM(a);return 0<a.length&&!a.every(function(d){d=b.Td.get(d.Xa());return null!=d&&!d.getItem().Dc()&&U0c(d.getItem())&&!_.L(d.getItem(),108)})?5:1};iO.prototype.ru=function(a){return hO.prototype.ru.call(this,a)&&p$c(this,a.getItem())};
var p$c=function(a,b){if(b.Dc())return!1;if(_.L(b,31)||!a.J8)return!0;var c=a.H();return b.zk().some(function(d){var e=a.Td.get(d);return d==c||null!=e&&U0c(e.getItem())})};iO.prototype.a4=function(){hO.prototype.a4.call(this);for(var a=_.m(this.Td),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;p$c(this,c.getItem())||(c.count--,this.Td.delete(b))}};iO.prototype.Cd=function(){return new _.Ye};iO.prototype.getType=function(){return"SubscribedCorpusCache"};
iO.prototype.XR=function(){return!1};var q$c=/^[\x00-\x7F]*$/,r$c=function(){this.rootId=""};r$c.prototype.Fu=function(a){this.rootId=a||""};
var M8c=function(a){return s$c(a)&&0==_.Jd(a,40).length&&void 0==_.C(a,41)},s$c=function(a){var b=!0;_.uk(a,_.$e,13).forEach(function(d){"me"!=d.Xa()&&(b=!1)});var c=a.Cc();c=!c||5!=c.getType();return 0==_.uk(a,_.Gl,5).length&&0==_.uk(a,_.$e,14).length&&0==_.uk(a,_.$e,15).length&&!_.T(a,58)&&!_.L(a,18)&&!_.L(a,34)&&0==_.uk(a,_.eM,35).length&&0==_.uk(a,_.eM,38).length&&c&&b&&0==_.Jd(a,39).length&&!_.C(a,42)&&0==_.uk(a,_.Bl,44).length&&!_.zL(a)&&!_.AL(a)&&!_.BL(a)&&0==_.uk(a,_.Cl,57).length&&t$c(a)&&
!_.E(a,_.Goa,59)&&null==_.L(a,60)&&0==_.uk(a,_.$e,68).length&&0==_.uk(a,_.$e,67).length&&null==_.L(a,69)},t$c=function(a){return _.uk(a,_.Hl,4).every(function(b){b=b.Xa();return!b||!b.includes("*")&&q$c.test(b)})};r$c.prototype.H9=function(a,b){var c=this;return b.filter(function(d){return N8c(c,a,d)})};
var N8c=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!UN(c);if(d){d=!0;var e=_.uk(b,_.Hl,4);if(t$c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Xa()){var k=_.F(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Xa().toLowerCase();if(2==_.C(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.jd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.gg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Pg(q)+"($|[^\\w])|(^|[ ])"+_.Pg(q)):new RegExp(_.Pg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.gM(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Xa()&&(q=c.getMimeType()||"",_.L(h,4)&&(q=(p=c.Hf())&&_.C(p,3)||""),p=_.F(h,2,!1),r=h.Xa(),_.WL(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.ck(h,3,0)?r===q:q.includes(r),p?(e++,k=k||h):(d++,f=f||h));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.uk(b,_.El,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Cq(),d=d&&u$c(k,f);if(d)for(d=!0,e=_.uk(b,_.El,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.gz(),d=d&&u$c(k,f);d&&(d=b.Yh(),e=(e=_.iM(b))&&(2==e||3==e),d=null==d||d==!!c.Yh()&&(!d||1==c.kp()||!!e));d&&(d=null==_.L(b,10)||_.L(b,10)==!!c.TA());d&&(d=null==b.Nm()||b.Nm()==!!c.Nm());if(d)a:{d=_.hM(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Xa()&&(f="root"==e.Xa()&&a.rootId||e.Xa(),f=c.zk().includes(f),_.F(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.uk(b,_.$e,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Xa()&&(e=1==c.kp(),_.F(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.L(b,16)||(_.L(b,16)?null!=c.ly():!0));a&&(a=_.L(b,17),d=(d=_.iM(b))&&(2==d||3==d),a=null==a||a==!!c.WI()&&(!a||1==c.kp()||!!d));a&&(a=c1c(c),a=null==b.BN()||b.BN()==!!_.ql(a));a&&(a=!0);if(a=a&&v$c(b,c)&&w$c(b,c))a=_.Jd(b,33),a=!a.length||a.includes(c.Dc()||"");if(a=a&&x$c(b,c))_.C(b,41)?(a=_.E(c,_.aM,86),a=null!=a&&_.C(b,
41)==_.C(a,3)):a=!0;if(a=a&&y$c(b,c))a=_.iM(b),1==a?(a=_.L(c,31),a=!!_.hM(b).length||!!_.uk(b,_.eM,35).length||1==_.L(b,18)||_.zL(b)||_.AL(b)||_.BL(b)||!!b.Rp()||null==a||a):a=2==a?!!c.Dc():!0;a&&(a=_.zL(b)?!!_.vl(c)&&!c.Yh():!0);a&&(a=_.AL(b)?!!_.wl(c).length&&!c.Yh():!0);a&&(a=_.BL(b)?!!_.yl(c).length&&!c.Yh():!0);a&&(a=_.T(b,50)?_.F(b,50,!1)?_.T(c,101)&&0!==_.C(c,101):!_.T(c,101):!0);a&&(a=b.Rp(),a=!a||_.Jd(c,120).includes(a));a&&(c=_.E(c,_.ZL,138),null==_.L(b,65)||null==c?a=!0:(c=2==_.C(c,1),
a=_.L(b,65)==c));return a},u$c=function(a,b){if(null!=_.C(b,2))switch(_.C(b,1)){case 1:return a<=_.C(b,2);case 2:return a<_.C(b,2);case 3:return a==_.C(b,2);case 4:return a>_.C(b,2);case 5:return a>=_.C(b,2);default:return!1}return!0},v$c=function(a,b){var c=_.bb(_.Jd(b,56));a=_.uk(a,_.fM,25);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},w$c=function(a,b){if(0==a.AB().length)return!0;var c=_.bb(b.AB().map(function(d){return _.C(d,1)}));a=_.bb(a.AB().map(function(d){return _.C(d,1)}));
return _.Pa(a,function(d,e){return c[e]})},x$c=function(a,b){var c=_.bb(_.Jd(b,50));a=_.uk(a,_.Fl,37);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},y$c=function(a,b){if(_.Jd(a,40).length){if(b=_.E(b,_.aM,86)){var c=_.bb(_.Jd(b,2));return _.Jd(a,40).some(function(d){return c[d]})}return!1}return!0},jO=function(a,b,c,d){d=void 0===d?5E3:d;hO.call(this,a,b);this.teamDriveId=c;this.limit=d};_.O(jO,hO);_.g=jO.prototype;
_.g.iJ=function(a){var b=this,c=hO.prototype.iJ.call(this,a);if(5==c)return c;c=_.hM(a);var d=c.every(function(e){var f=e.Xa();return(null!=b.Td.get(f)||b.teamDriveId==f)&&!_.F(e,2,!1)});if(0<c.length&&d)return 1;a=_.Jd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.ru=function(a){return hO.prototype.ru.call(this,a)&&!!a&&a.getItem().Dc()==this.teamDriveId&&!UN(a.getItem())};_.g.XR=function(){return!1};_.g.Cd=function(){var a=new _.Ye;_.VM(a,[this.teamDriveId]);_.WM(a,2);return a};
_.g.Dc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var z$c=function(a){this.W=a;this.V=[];this.H=null;this.O=[];a=new _.Ye;_.B(a,48,!0);var b=new _.Zc;b.Ib(11);_.$c(b,2);_.Ze(a,b);this.ha=VN(this.W,a,!0)};z$c.prototype.add=function(a){a instanceof iO?this.H=a:a instanceof gO?this.V.push(a):a instanceof jO&&this.O.push(a)};
z$c.prototype.remove=function(a){var b=this;if(a instanceof iO)this.H&&(n$c(this.H),this.H=null);else if(a instanceof gO){var c=_.ja(this.V,function(d){return b.W.equals(d.Cd(),a.Cd())});0<=c&&(n$c(this.V[c]),_.ra(this.V,c))}else a instanceof jO&&(c=_.ja(this.O,function(d){return b.W.equals(d.Cd(),a.Cd())}),0<=c&&(n$c(this.O[c]),_.ra(this.O,c)))};
var A$c=function(a){var b=[];a.H&&b.push(a.H);_.xa(b,_.wa(a.V));_.xa(b,_.wa(a.O));return b},B$c=function(a,b){b=void 0===b?!1:b;return a.V.filter(function(c){return a.H&&b?(c=c.Cd().clone(),_.kk(c,32),_.mk(c,26),!_.Bk(a.ha,c)):!0})};z$c.prototype.tW=function(){return _.wa(this.O)};
var C$c=function(a,b){return _.dg(a.O,function(c){return c.Dc()===b})},D$c=function(a,b){return B$c(a).find(function(c){return a.W.equals(c.Cd(),VN(a.W,b,!0))})},E$c=function(a,b){_.xi.call(this,"Ib");this.ids=a;this.error=b};_.O(E$c,_.xi);E$c.prototype.getError=function(){return this.error};E$c.prototype.H=function(){return this.ids};var F$c=function(a){_.xi.call(this,"Jb");this.people=a};_.O(F$c,_.xi);F$c.prototype.getPeople=function(){return this.people};
var G$c=function(a){_.xi.call(this,"Kb");this.people=a};_.O(G$c,_.xi);G$c.prototype.getPeople=function(){return this.people};var I$c=function(a,b,c){this.person=a;this.Ue=void 0===c?0:c;this.O=this.V=null;this.H=new Set(b?[b]:[]);H$c(this)};I$c.prototype.sf=function(){return this.Ue};
var J$c=function(a,b,c){if(_.C(b,1)!==_.C(a.person.clone(),1))return!1;var d=_.vUc.get(a.Ue)||1,e=a.sf();if(4===c?0:1===e?1===c:3===e||2===e||4===e?0!==c&&e!==c:1)return b=U9c(b.clone(),a.getEmail(b)),e=!_.Bk(a.person,b),a.person=b,a.Ue=c,H$c(a),e||d!==(_.vUc.get(a.Ue)||1);if(4===c)return a.Ue=c,H$c(a),d!==(_.vUc.get(a.Ue)||1);c=b;return!a.person.getEmail()&&c.getEmail()?(U9c(a.person,a.getEmail(b)),!0):!1};
I$c.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var H$c=function(a){1===a.Ue?(a.V=Date.now(),a.O=null):4===a.Ue&&(a.O=Date.now())},L$c=function(a,b,c,d){_.Q.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.uK(function(){return K$c(e)},100,this)};_.O(L$c,_.Q);L$c.prototype.lh=function(a){a&&_.IK(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.Be())};
var K$c=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)}})};L$c.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){return c.Ye(G4c(new _.HL,a))}).then(function(c){c=c.eu();b.dispatchEvent(new F$c(c))},function(c){c=_.tA(c);b.dispatchEvent(new E$c(a,c))})};L$c.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var kO=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.H=new Map;this.W=new Set;this.ha=new Map;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.wa=b;this.V=d;this.ta=e;this.O=!_.F(a,90,!1);this.ma=_.dk(_.E(a,J3c,85)||new J3c,1,864E5);this.ka=new L$c(a,b,c,f);this.Ba=new _.VC(function(){var k,l=null===(k=h.ta)||void 0===k?void 0:R4c(k,106015);if(l){k=_.E(_.xM(l),p4c,11);if(!k){k=new p4c;var p=_.xM(l);_.A(p,11,k)}k=_.B(k,1,h.H.size);_.B(k,2,h.W.size);l.ek()}},500,this);this.Rc.listen(this.ka,"Jb",
function(k){k=k.getPeople();M$c(h,k,1);h.Ba.Be()});this.Rc.listen(this.ka,"Ib",function(k){N$c(h,k)})};_.O(kO,_.Q);kO.prototype.get=function(a){var b=this.O?_.Tg():"";this.O&&this.V.create(b,G4c(new _.HL,[a]));var c=this.H.get(a);if(c)return O$c(this,c)?(this.O&&ZN(this.V,b,this.jH(c)?6:5),P$c(this,a)):this.O&&L9c(this.V,b,1,_.yM(_.RTc,10),null),c;this.O&&ZN(this.V,b,5);return null};
var P$c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ka.lh(b);var c=new _.yo;a.ha.set(b,c);return c.promise};kO.prototype.Yb=function(a){var b=this,c=this.O?_.Tg():"";this.O&&this.V.create(c,G4c(new _.HL,[a]));return Q$c(this,a)?(this.O&&L9c(this.V,c,1,_.yM(_.RTc,10),null),Promise.resolve(this.H.get(a))):P$c(this,a).then(function(){b.O&&(Q$c(b,a)?L9c(b.V,c,1,_.yM(_.RTc,1),null):ZN(b.V,c,3));return b.H.get(a)})};kO.prototype.wc=function(){return 0===this.H.size};
kO.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.W.clear()};
var R$c=function(a){return[].concat(_.jd(a.H.values())).filter(function(b){return[1,4,2].includes(b.sf())&&4!==b.sf()}).map(function(b){return b.person.clone()})},S$c=function(a,b){return(a=a.H.get(b))?[].concat(_.jd(a.H)):[]},T$c=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.jd(e.H)).length&&(a.H.delete(d),a.W.delete(d)))}},M$c=function(a,b,c){if(![1,2].includes(c))throw Error("cf");0!==b.length&&(a.log("Importing "+b.length+
" from "+(Object.keys(R9c)[c]+".")),U$c(a,b,c))},W$c=function(a,b,c,d){0!==b.length&&V$c(a,b,c,void 0===d?0:d)},Q$c=function(a,b){b=a.H.get(b);return!(!b||![1,4,2].includes(b.sf())||O$c(a,b))},V$c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.C(f,1),k=a.H.get(h);if(k)J$c(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&&P$c(k,_.C(f,1));l=new I$c(f,p,l);k.H.set(_.C(f,1),l)}e&&1===d&&(f.getName()?a.W.delete(h):a.W.add(h))}return e};
kO.prototype.jH=function(a){return 1===a.sf()&&Date.now()-Number(a.V)>this.ma};var O$c=function(a,b){switch(b.sf()){case 1:return Date.now()-Number(b.V)>a.ma;case 4:return 1E3<Date.now()-Number(b.O);default:return!0}};kO.prototype.log=function(a,b){this.wa.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var N$c=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():T9c(new bO,c)});U$c(a,b,4)},U$c=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.C(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),a.ha.delete(e))}V$c(a,b,void 0,c)&&a.dispatchEvent(new G$c(b))},X$c=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.H=new kO(a,b,c,d,e,f);this.O=_.SK(a)||new _.QK;this.Rc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.O(X$c,_.Q);X$c.prototype.HP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=lO(this,[c]).map(function(e){return Y$c(b,e)});W$c(this.H,d,a.H.getId(),this.sf(_.C(c,82)))}a.O&&T$c(this.H,a.id,Z$c(this,a))};X$c.prototype.sf=function(a){return _.wUc.get(a)||0};
var Z$c=function(a,b){var c=$$c(a,b.O),d=$$c(a,b.H);return c.filter(function(e){return!d.includes(e)})},$$c=function(a,b){return b?lO(a,[b.getItem()]).map(function(c){return _.uF(c)}):[]},bad=function(a,b){b=b.getUser();W$c(a.H,[Y$c(a,b)],"ACCOUNT");aad(a,b)},dad=function(a,b){var c=_.uk(b,_.oM,2).map(function(d){var e=_.E(d,_.$k,9,1);return a.H.Yb(_.uF(e)).then(function(){return void cad(a,[e])})});return Promise.all(c).then(function(){return b})},cad=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,_.uF(c)&&aad(a,c)},ead=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.uF(f)&&(d.add(_.uF(f)),W$c(a.H,[Y$c(a,f)],c));return Promise.all([].concat(_.jd(d)).map(function(h){return a.H.Yb(h)})).then(function(){return cad(a,b)})},gad=function(a,b){return lO(a,[b]).some(function(c){return!fad(a,_.uF(c))})},fad=function(a,b){return Q$c(a.H,b)},lO=function(a,b){return b.map(function(c){var d=c.Pw();d=d?[].concat(_.jd(d.FR()),_.jd(_.uk(d,_.$k,3))):[];
var e=c.Hf();e=(e=e&&_.Nd(e))?lO(a,[e]):[];return[].concat(_.jd(_.tl(c)),[c.Bm(),c.Tv(),c.Kq(),c.rD()],_.jd(d),_.jd(e))}).flat().filter(function(c){return c&&!!_.uF(c)})};X$c.prototype.getItems=function(a){return S$c(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var had=function(a,b){return b.map(function(c){c=c.clone();var d=lO(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.kk(e,3),_.kk(e,8),_.kk(e,5);return c})},jad=function(a,b){return b.some(function(c){return iad(a,c)})},iad=function(a,b){return lO(a,[b]).some(function(c){return _.T(c,3)||c.Tp()||_.T(c,5)})},aad=function(a,b){var c=a.H.get(_.uF(b));if(c){a=c.person.clone();var d=_.CVc(b.ld(a.getName()),a.getEmail());c=_.vUc.get(c.Ue)||1;_.B(d,16,c);(a=_.E(a,S9c,4))&&b.Sn(a.getUrl())}},
Y$c=function(a,b){var c=_.uF(b);c=U9c(T9c(new bO,c).ld(b.getName()),b.getEmail());var d=new S9c;var e=_.C(b,5);d=_.B(d,1,e);c=_.A(c,4,d);_.F(a.O,9,!1)&&(_.kk(b,3),_.kk(b,8),_.kk(b,5));return c},kad=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};kad.prototype.Sf=function(){return this.suggestionSessionId};kad.prototype.KBa=function(){return this.O};kad.prototype.wc=function(){return this.H};
var lad=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},mad=function(a,b){a=lad(a);b=lad(b);return!(!a||!b||a!==b)},nad=function(a){return a.Nc()+"_"+lad(a.getName())},oad=function(a,b){var c=_.Jd(a,1).map(function(d,e){return b[Number(e)].value.J4a.promise});return Promise.allSettled(c).then(function(d){return _.Jd(a,1).map(function(e,f){e=e.toString();var h=new Y9c;e=_.B(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Gc(1):(e.Gc(3),e.We(f.reason.ih));return e})})},mO=function(a,
b){_.P.call(this);this.O=a;this.request=b;this.yy=new Set;this.status=6;this.V=new Map;this.Ue=0};_.O(mO,_.P);_.g=mO.prototype;_.g.ji=function(a){var b=this;this.yy.add(a);return this.resize().then(function(){return b.PO(a)})};_.g.lk=function(a){this.yy.delete(a);0===this.yy.size&&this.dispose()};_.g.sf=function(){return this.Ue};_.g.fj=function(a){this.Ue=a};
_.g.yD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Ku(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.jY():_.$h([])};_.g.jY=function(){for(var a=[],b=_.m(this.yy.values()),c=b.next();!c.done;c=b.next())a.push(this.PO(c.value));return _.ci(a)};
_.g.iY=function(a){this.status=3;for(var b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={Psa:c.Psa},e=d.next())c.Psa=e.value,b.push(this.O.then(function(f){return function(h){return void h.iY(f.Psa,a)}}(c)));return _.ci(b)};_.g.gA=function(){for(var a=this,b=[],c={},d=_.m(this.yy.values()),e=d.next();!e.done;c={Qsa:c.Qsa},e=d.next())c.Qsa=e.value,b.push(this.O.then(function(f){return function(h){return void h.gA(f.Qsa)}}(c)));return _.ci(b).then(function(){a.fj(0===a.sf()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.yy.forEach(function(d){d=b.Ula(d);c=Math.max(c,d.Ui?d.Ui()||0:0)});a.Cga(c)})};var pad=function(a,b){return b?a.V.get(a.zla(b))||null:null};_.g=mO.prototype;_.g.nI=function(a,b){var c=pad(this,a);b=w8c(c,b);this.V.set(this.zla(a),b)};_.g.zla=function(a){return a};_.g.FNa=function(){return[]};_.g.PO=function(a){var b=this;return this.O.then(function(c){return void c.PO(a,b.Qk())})};_.g.removeItem=function(){};
var nO=function(a,b){_.Q.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.O(nO,_.Q);var qad=function(a){return!a.O||""!==a.pageToken};nO.prototype.lh=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&qad(this)?rad(this):_.$h()};
var rad=function(a){a.O=!0;a.H=!0;var b=a.tja(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return sad(a,c)},function(c){return a.handleError(c)})},sad=function(a,b){a.H=!1;a.pageToken=a.Ola(b);b=a.$ka(b);b.forEach(function(c){return a.data.push(c)});a.J6(b);return a.data.length<a.limit&&qad(a)?_.ci([_.$h(b),rad(a)]).then(function(c){return c[0].concat(c[1])}):_.$h(b)};
nO.prototype.handleError=function(a){this.H=!1;a=_.PK(a);var b=new $N(a);this.GNa(b);this.dispatchEvent(b);return _.bi(a)};nO.prototype.J6=function(){};nO.prototype.GNa=function(){};var tad=function(a,b,c){nO.call(this,c,function(d){return a.then(function(e){return e.Ye(d)}).Og(function(e){return void _.cL(e)})});this.V=b};_.O(tad,nO);_.g=tad.prototype;_.g.tja=function(a,b,c){a=a.clone();a.yi(b);return new _.bVc(a,c)};_.g.Ola=function(a){return a.pageToken||""};_.g.$ka=function(a){return a.response.O()};
_.g.J6=function(a){this.V.yD(a,!1,1)};_.g.GNa=function(a){this.V.CB(this.request,a)};var uad=function(a,b,c,d){mO.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.O(uad,mO);_.g=uad.prototype;_.g.refresh=function(){this.gA();this.H=new tad(this.ha,this.W,this.request);return this.H.lh(this.request.Ui()||100)};_.g.yr=function(a){return this.data.find(function(b){return mad(b.getName(),a)})};
_.g.Cga=function(a){this.H&&a===this.request.Ui()||(this.request.yi(a),this.H?this.H.lh(a):this.refresh())};_.g.Qk=function(){var a=this,b=i6c((new CN).Gc(this.status),this.data.filter(function(c){return a.W.CEa(c)}).map(function(c){return c.clone()}));return new _.DM(b,void 0,void 0,this.sf())};_.g.yD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Nc()===d.request.Nc()});return mO.prototype.yD.call(this,a,b,c)};
_.g.Ku=function(a,b){b=void 0===b?1:b;if(!a1c(pad(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return mad(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.nI(a.getName(),b);return!0};_.g.removeItem=function(a){_.ta(this.data,function(b){return mad(b.getName(),a)})&&(this.V.delete(this.zla(a)),this.jY())};_.g.zla=function(a){return lad(a)};_.g.nI=function(a,b){this.yr(a)&&mO.prototype.nI.call(this,a,b)};
_.g.FNa=function(a){var b=this;return a instanceof _.NL&&a.Nc()===this.request.Nc()?a.$V().map(function(c){return b.yr(c.an())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var oO=function(){this.H=new Map};oO.prototype.ji=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.vja(b),this.H.set(c,d));d.ji(a);return e};var vad=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Cya(c),a.H.set(d,e));e.ji(b);return f};
oO.prototype.lk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.lk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var wad=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.lk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},xad=function(a,b){return a.H.get(b)};oO.prototype.yD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.CEa(f)});this.H.forEach(function(f){f.yD(e,b,c)})};oO.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var yad=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.FNa(b)});return[].concat.apply([],_.jd(a))};oO.prototype.nI=function(a,b){this.H.forEach(function(c){c.nI(a,b)})};oO.prototype.CEa=function(){return!0};oO.prototype.CB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.iY(b)};oO.prototype.b3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.vja(b),f.fj(c),this.H.set(e,f),this.yD(a,d))};var zad=function(){this.V=new Set;this.O=0;this.H=[]},Aad=function(a,b){a.V.add(b)};
zad.prototype.W=function(a){this.V.delete(a)};var Bad=function(a,b){var c;if(c=b instanceof _.sl)c=b.Uv(),c=!!(b.Yh()&&c&&c<=Math.max.apply(Math,_.jd([a.O].concat(_.jd(a.H)))));if(c)return!0;b=b instanceof _.sl?b.getId():b;return a.V.has(b)},Cad=function(a,b){return _.ta(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};zad.prototype.H9=function(a){var b=this;return a.filter(function(c){return!Bad(b,c)})};var Dad=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new zad};_.O(Dad,oO);
var Ead=function(a,b){Aad(a.O,nad(b));(a=xad(a,b.Nc()))&&a.jY()};_.g=Dad.prototype;_.g.getKey=function(a){return a.Nc()};_.g.vja=function(a){return new uad(this.V,this.W,this,a)};_.g.Cya=function(a){return new uad(this.V,this.W,this,a)};_.g.Uo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=xad(this,b.getId()))&&b.refresh()};_.g.CEa=function(a){return!Bad(this.O,nad(a))};
var Fad=function(a,b){this.O=a;this.H=b},Gad=function(a,b){b=_.KWb(b);var c=new tad(a.O,a.H,b);new Promise(function(d,e){return c.lh(100).then(d,e)})},Had=function(){this.Td={}},pO=function(a,b){Iad(a,"subscribed");b&&Iad(a,b);return a.Td[b||"subscribed"].te.promise},Iad=function(a,b){a.Td[b]||(a.Td[b]={count:0,$R:[],L2a:[],te:_.ei()});a.Td[b].count++},Kad=function(a,b){b&&!Jad(a,b)||Jad(a,"subscribed")},Jad=function(a,b){if(!a.Td[b])return!1;a.Td[b].count--;0===a.Td[b].count&&(a.Td[b].te.resolve({items:a.Td[b].$R,
gLb:a.Td[b].L2a}),_.Wa(a.Td,b));return!0};Had.prototype.Uo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Dc();f&&f===e.Nc()&&c.Td[f]&&c.Td[f].L2a.push(e);c.Td[d]&&c.Td[d].$R.push(e)})};var Lad=function(a,b,c){nO.call(this,a,c);this.V=b};_.O(Lad,nO);Lad.prototype.tja=function(a,b){return a.clone().yi(b)};Lad.prototype.Ola=function(){return""};Lad.prototype.$ka=function(a){return[a]};Lad.prototype.J6=function(a){this.V(a)};
var Mad=function(a,b,c,d){mO.call(this,a,d.clone());this.ha=b;this.H=this.pT=null;this.W=c};_.O(Mad,mO);Mad.prototype.refresh=function(){var a=this;this.gA();this.H=new Lad(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ye(b)})});return this.H.lh(this.request.Ui()||0)};Mad.prototype.Cga=function(a){1===this.status||this.H&&a===this.request.Ui()||(this.request.yi(a),this.H?this.H.lh(a):this.refresh())};
Mad.prototype.Qk=function(){if(this.pT)return this.pT;var a=new FN;a.Gc(this.status);return a};Mad.prototype.Ku=function(a){this.pT=a;return!0};var Nad=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.O(Nad,oO);_.g=Nad.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.vja=function(a){var b=this;return new Mad(this.O,this.W,function(c){b.yD(c,!1)},a)};_.g.Cya=function(){throw Error("df");};
_.g.b3=function(a,b,c,d){var e=a[0].Sk();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.zp()}).join(", "));oO.prototype.b3.call(this,a,b,c,d)};var qO=function(a,b,c,d){_.Q.call(this);this.request=a;this.Fa=b;this.ta=c;this.Ba=d;this.ma=0;this.te=null;this.O=new Set};_.O(qO,_.Q);
qO.prototype.lh=function(){var a=this;if(this.te)return this.te.promise;this.te=_.ei();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Ye(b)}).then(a.wa.bind(a,c),a.handleError.bind(a,c))});return this.te.promise};qO.prototype.wa=function(a,b){this.V(b);Oad(this,a)};var Oad=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.te.resolve()):a.dispatchEvent("Cb")};
qO.prototype.handleError=function(a,b){b=_.tA(b);var c=b.ih;5===c.ht()||4===c.Ak()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Oad(this,a)):(a=new $N(c,_.dk(this.ta.eg(),1,1)),this.dispatchEvent(a),this.te.reject(b))};var Pad=function(a){var b=new _.jF;b.Rb(a);return b},Qad=function(a,b,c,d,e){qO.call(this,a.clone(),c,d,e);this.H=b};_.O(Qad,qO);
Qad.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.IVb(a.clone(),[c]);b.set(c,d)});return b};Qad.prototype.V=function(a){var b=[];a.mU().forEach(function(c){b.push(c)});this.H(b,!0)};Qad.prototype.ha=function(){this.H([],!1)};Qad.prototype.ka=function(a){this.H([Pad(a)],!0)};var Rad=function(a,b,c,d,e,f){mO.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.ll={};this.H=null};_.O(Rad,mO);
Rad.prototype.refresh=function(){this.H=new Qad(this.request,this.ha,this.ma,this.W,this.ka);return this.H.lh()};Rad.prototype.Cga=function(){this.H||this.refresh()};Rad.prototype.Qk=function(){var a=new _.BM;a.Gc(this.status);_.Ma(this.ll,function(b,c){a.mU().set(c,b||new _.jF)});a.fj(this.sf());return a};Rad.prototype.Ku=function(a){var b=a.getId();if(_.Bk(a,Pad(a.getId()))){if(this.ll[b])return delete this.ll[b],!0}else if(0<=this.request.jn().indexOf(b))return this.ll[b]=a,!0;return!1};
var Sad=function(a,b){a=a.getState();return null==a||b.getState()==a},Tad=function(a,b,c){nO.call(this,a,c);this.V=b};_.O(Tad,nO);Tad.prototype.tja=function(a,b,c){a=a.clone();a.yi(b);return new _.oVc(a,c)};Tad.prototype.Ola=function(a){return a.pageToken||""};Tad.prototype.$ka=function(a){return a.response.Sk()};Tad.prototype.J6=function(a){this.V(a)};var Uad=function(a){this.H=_.tRc(a,{numeric:!0})};
Uad.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=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};Uad.prototype.V=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!==e?f=_.Ga(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};var Vad=function(a,b,c,d,e){mO.call(this,a,e.clone());this.ha=b;this.ll=[];this.H=null;this.W=d;a=new Uad(c);b=(c=this.request.uw())?c.getType():0;c=c?_.C(c,2):0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.O(Vad,mO);Vad.prototype.refresh=function(){var a=this;this.gA();this.H=new Tad(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ye(b)})});return this.H.lh(this.request.Ui()||0)};Vad.prototype.Cga=function(a){1===this.status||this.H&&a===this.request.Ui()||(this.request.yi(a),this.H?this.H.lh(a):this.refresh())};Vad.prototype.Qk=function(){var a=new cO;a.Gc(this.status);$9c(a,this.ll.map(function(b){return b.clone()}));return new _.GM(a,void 0,1!==this.status&&qad(this.H),this.sf())};
Vad.prototype.Ku=function(a){var b=_.ta(this.ll,function(c){return c.getId()===a.getId()});return a&&Sad(this.request,a)&&!_.Bk(a,Pad(a.getId()))?B0c(this.ll,a,this.ka):b};var Wad=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.O(Wad,oO);_.g=Wad.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.vja=function(a){var b=this;return new Vad(this.V,this.ha,oN(_.DK(this.O)),function(c){return void b.yD(c,!1)},a)};_.g.Cya=function(a){var b=this;return new Rad(this.V,this.ha,this.O,this.W,function(c,d){return b.yD(c,d)},a)};_.g.b3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));oO.prototype.b3.call(this,a,b,c,d)};
var Xad=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();bN(a)&&(c=(c=a.Hf())?_.C(c,3):"");cN(a)&&(a.$i()&&(c+="+"+String(a.$i())),a.Pj()&&(c+="+shared"));return _.gUa(c,b?"32":"16")},Yad=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("&")},Zad=function(a,b){var c=_.L(a,44),d=a.Hf();if(d){if(1!==_.Pd(d))return null;c=(c=_.Nd(d))?_.L(c,44):!0}if(!c)return null;c={};d=a.getId();bN(a)&&(d=T0c(a));
d=[_.H(b,65,"https://lh3.google.com"),"u",_.RK(_.DK(b)),"d",d].join("/");d+="={size}";_.F(b,89,!1)&&_.T(a,140)&&(c.resourcekey=_.Al(a));return d=Yad(d,c)},$ad=function(a){this.H=a},bbd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=Xad(b,_.F(a.H,75,!1));_.B(b,21,d)}c.includes(18)&&_.jWc(b,H1c(b,a.H));c.includes(19)&&(d=Zad(b,a.H),_.B(b,20,d));abd(a,b,c);if(bN(b)){if(d=(d=b.Hf())&&_.Nd(d)){if(c.includes(20)&&c.includes(3)){var e=Xad(d,_.F(a.H,75,!1));_.B(d,21,e)}c.includes(18)&&_.jWc(d,H1c(d,
a.H));c.includes(19)&&(e=Zad(d,a.H),_.B(d,20,e));abd(a,d,c)}_.nWc(b,!!b.Lx())}},abd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!cN(b)&&!bN(b)&&!_.vd(e)&&(!b.C7()||2!==b.kp()),d&&_.B(b,40,e),e&&c&&(a=a.H,d=b.getId(),bN(b)&&(d=T0c(b)),c=new _.tj(_.H(a,16,"")+"/uc"),_.Aj(c,"id",d),_.Aj(c,"authuser",_.RK(_.DK(a))),_.Aj(c,"export","download"),_.F(a,89,!1)&&_.T(b,140)&&_.Aj(c,"resourcekey",_.Al(b)),_.B(b,41,c.toString())))}},cbd=function(a,b){this.Eja="";
this.startTime=b||new Date;this.Zea=a;this.Oaa=D0c(a)};cbd.prototype.clone=function(){return new cbd(this.Zea,this.startTime)};var dbd=function(){this.H=null;this.ZY=[]},ebd=function(a){return _.Cb(a.ZY,function(b){return _.Za(b)})};dbd.prototype.JN=function(){return this.H};
dbd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new h$c;e.V=g$c(d.Oaa);var f=_.Tg().substring(0,8);d=D0c(f);f=(new H9c).Rb(f);f=_.B(f,2,d);b=_.B(f,3,b).Ei(c);this.ZY.push(b);e.O=g$c(d);e.H=e$c(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.Ck;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.Dk(d,1,1);var k=d.O;o2c(k,f);o2c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.Dk(d,2,1),k=d.O,o2c(k,f),o2c(k,h));f=e.W;null!=f&&(_.Dk(d,3,5),o2c(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.Dk(d,4,1),h=d.O,o2c(h,f),o2c(h,e));e=_.Ek(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var fbd=function(){this.Bb=[];this.O=this.H=0};fbd.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Bb,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 gbd=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Bb,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},hbd=function(a){this.key=a;this.H=new _.sUc;this.O=new _.qUc(new _.sUc,_.kma(a))};hbd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.lma(b);c=ibd(this,a);return b.concat(c,jbd(this,b,a,!0))};
var kbd=function(a,b){var c=jbd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=ibd(a,c);if(b!==a)throw Error("ef");return c},ibd=function(a,b){a=_.rUc(a.O,_.LUc(b));return _.lma(a)},jbd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new fbd;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Bb,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=_.LUc(c.substring(8192*
e,8192*(e+1))),gbd(b,a),d+=_.lma(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;gbd(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("ff");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=lbd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=lbd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=lbd(d,e++),k=lbd(d,e++),l=lbd(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=lbd(d,e++),k=lbd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},lbd=function(a,b){return a[Math.floor(b/8192)][b%8192]},mbd=function(a,b,c){this.data=a;this.B_a=b;this.H=c;this.isEncrypted=!1};mbd.prototype.getData=function(){return this.data};
mbd.prototype.Om=function(){return this.B_a};var nbd=function(a,b,c,d){this.O=a;this.H=_.ei();this.Ep=!1;this.V=_.H(b,7,"");this.W=_.dk(_.pN(b),6,2E7);this.GG=_.IK(b);this.ha=_.dk(_.pN(b),12,0);this.ka=c;this.Kd=d||null};nbd.prototype.initialize=function(){var a=this;this.Ep||(this.Ep=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.oi(this.H.promise)};
nbd.prototype.fD=function(a){if(a instanceof _.qA)return 0;if(a instanceof aO)return 1;if(a instanceof f5c)return 5;if(a instanceof RN)return 3;if(a instanceof W9c)return 6;throw new _.kc("Unsupported dataShard in getDataType");};var obd=function(a){if(0==a)return _.qA;if(1==a)return aO;if(5==a)return f5c;if(3==a)return RN;if(6==a)return W9c;throw new _.kc("Unsupported dataType:"+a+" in getDataTypeCtor");};nbd.prototype.kv=function(a){if(a instanceof RN)return a.kv()};
nbd.prototype.Om=function(a){if(a instanceof RN)return a.Id().length};
var tbd=function(a,b,c,d){if(0==c.length)return _.$h();var e=a.fD(c[0]);c.forEach(function(){});var f=a.kv(c[0]),h=0;3==e&&pbd(a,c);var k=!!b;return qbd(a,c).then(function(l){if(k){var p=a.Kd?a.Kd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Om()},0);var q=rbd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.bi(Error("gf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(u4c(t4c(s4c(p.ZE(),_.yM(_.XTc,e)),_.yM(_.UTc,f)),!0),
q.then(function(){var r=h;r4c(p.ZE(),!0).Ct(r);p.ek()},function(){var r=h;r4c(p.ZE(),!1).Ct(r);p.ek()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return sbd(a.O,l,e,f,k,d)})})},qbd=function(a,b){return new _.Zh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Tb();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Om(l);l instanceof RN?(l=_.L(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new mbd(p,r,l))}}});if(e){var h=Error("hf"),k=new _.jc;k.Ib(2);_.$K(k,23);
_.B(k,21,h.message);_.nq(k);a.ka(k);d(h)}c(f)})},pbd=function(a,b){a.kv(b[0]);b.forEach(function(){});a.GG||ubd(b);vbd(a,b)},rO=function(a,b,c,d,e,f){var h=_.ei(),k;_.fi(a.H.promise.then(function(){return wbd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.hi;if(l[0]&&l[0].a1){if(k=a.Kd?a.Kd.H(106022,f):null)u4c(t4c(s4c(k.ZE(),_.yM(_.XTc,c)),_.yM(_.UTc,d)),!0),q.Zm().then(function(r){var u=k;r=void 0!=r;r4c(u.ZE(),r);_.MXc(u)});xbd(a,q,b,p)}else q.callback(p);return q.then()},
function(){}).then(function(l){var p=[];if(l){var q=0;l.forEach(function(r){r=new (obd(c))(JSON.parse(r));q+=a.Om(r);p.push(r)});3==c&&(a.GG||ybd(p),zbd(p));k&&k.ZE().Ct(q)}h.resolve(p)}),function(){k&&k.ek()}).Og(h.reject,h);return h.promise},ubd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.uk(a[b],_.$k,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Id()||[]).forEach(function(h){_.hWc(h,Abd(_.tl(h),c,d));_.iWc(h,Abd([h.Bm()],c,d)[0]);var k=Abd([h.Tv()],c,d)[0];_.A(h,
47,k);k=Abd([h.Kq()],c,d)[0];_.A(h,91,k);k=Abd([h.rD()],c,d)[0];_.A(h,95,k);if(h=h.Pw())_.dWc(h,Abd(h.FR(),c,d)),_.eWc(h,Abd(_.uk(h,_.$k,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Db(a[0],2,e)}},Abd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.Bk(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.$k,e.Rb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},ybd=function(a){var b=new Map,c=new Map;a[0]&&_.uk(a[0],
_.$k,2)&&_.uk(a[0],_.$k,2).forEach(function(d){b.set(d.getId(),d);d=(new _.$k).Rb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Id()||[]).forEach(function(e){_.hWc(e,Bbd(_.tl(e),b,c));_.iWc(e,Bbd([e.Bm()],b,c)[0]);var f=Bbd([e.Tv()],b,c)[0];_.A(e,47,f);f=Bbd([e.Kq()],b,c)[0];_.A(e,91,f);f=Bbd([e.rD()],b,c)[0];_.A(e,95,f);if(e=e.Pw())_.dWc(e,Bbd(e.FR(),b,c)),_.eWc(e,Bbd(_.uk(e,_.$k,3),b,c))});_.mk(d,2)})},Bbd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.Bk(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},vbd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].kv()){for(var d=[],e=b[c].Id();e.length>a;){var f=_.za(e,a-1,a);f=m8c(new RN,f);d.push(f)}m8c(b[c],e);d.length&&_.rb(_.za,b,c+1,0).apply(null,d)}}},zbd=function(a){for(var b={},c=1;c<a.length;b={yfa:b.yfa},c++)if(!a[c].kv()){for(var d=0,e=c;e<a.length&&!a[e].kv();e++)d++;e=a[c-1];d=_.za(a,c,d);b.yfa=e.Id();d.forEach(function(f){return function(h){_.xa(f.yfa,
h.Id())}}(b));m8c(e,b.yfa)}},rbd=function(a,b,c){if(!_.bUc()&&a.V){var d=new Worker(_.wga(_.tx(a.V)),void 0),e=new _.hi;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Od(Error(String(k)))},!1);c=c$c(new b$c,c);d.postMessage({command:"encrypt",data:{request:c.Tb(),key:b}});return e}try{a=[];var f=new hbd(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.ni(a)}catch(k){h=_.pi(k)}return h},xbd=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(!_.bUc()&&a.V){var f=new Worker(_.wga(_.tx(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 hbd(c);for(c=0;c<d.length;c++)a.push(kbd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Cbd=function(a,b,c){return[a.Oz(),
a.qf(),b?"#":sO(a)].join(":")+":"+(c||"")},Dbd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Dbd.prototype.getKey=function(){return this.key};Dbd.prototype.Xa=function(){return this.value};
var Ebd=function(a,b){a=Cbd(a,b);return m6c(a+"A",a+"z")},Fbd=function(a,b){this.H=a;this.O=b},Gbd=function(a){return a?new Fbd(a.versionKey,a.versionChangeTimestamp):null},Hbd=function(a,b){return a+":"+b},Ibd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.a1=void 0===e?null:e},Jbd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.a1}},Kbd=function(a,b,c,d){a=sO(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.nt(":%02d",c)},Lbd=function(a,b,
c,d){c=Kbd(a,b,void 0===c?0:c,d);a=sO(a)+"_"+b;3===b&&(a+="_"+d);return m6c(c,a+":a")},Mbd=function(a){var b=sO(a)+"_";a=sO(a)+"_A";return m6c(b,a)},Nbd=function(a){return a?new Ibd(a.data,a.index,a.size,a.timestamp,a.e):null},Obd=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=_.wa(e);_.Ia(this.fields);_.Fa(this.fields);this.H=f};Obd.prototype.Oz=function(){return this.userId};
Obd.prototype.qf=function(){return this.clientId};Obd.prototype.Ug=function(){return _.wa(this.fields)};
var sO=function(a){if(!a.O){var b=new _.vK;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.LRc(b.digest())}return a.O},Pbd=function(a){return{versionKey:sO(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},Qbd=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 Obd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:sO(a)!==d&&(a=null);return a},tO=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.P.call(this);var e=this;this.Kd=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.wa=!1;this.ta=!0;this.V=null;this.ha=!1;this.O="";this.ka=null;this.Ha=a.then(function(f){e.version=f});this.Ob=new _.Ce(this);this.Ma(this.Ob)};_.O(tO,_.P);tO.prototype.initialize=function(){return Rbd(this)};
var Rbd=function(a,b){a.V||(a.V=_.ei(),a.Ha.then(function(){b?(a.ta=!1,Sbd(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.ka=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.CSc("GoogleDriveDs",2,a.Ba.bind(a),a.ma.bind(a)).Vf(a.Fa.bind(a),a.ma.bind(a)),_.Ki(2E4).then(a.Kxb.bind(a)))},function(c){a.V.reject(new _.kc("Database version error",void 0,_.HK(c)?c:void 0))}));return a.V.promise},Sbd=function(a,b){a.H=b;a.Ob.listen(a.H,
"close",a.j9.bind(a,"Browser closing database"));a.Ob.listen(a.H,"versionchange",a.j9.bind(a,"Database version change detected, closing"))};tO.prototype.Ba=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.wa=!0;_.Ka(b.H.objectStoreNames,function(c){return _.CWc(b,c)});_.Ma(_.YK,function(c){var d=_.xUc.get(c);_.zSc(b,c,d?{keyPath:d}:void 0)})};
tO.prototype.ma=function(a){var b;a&&a instanceof _.yK&&"InvalidStateError"==a.getName()&&_.Kj.Mw?b=Error("jf"):_.HK(a)&&(b=a);this.j9("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);Tbd(this,!1)};tO.prototype.Fa=function(a){this.ha?a.dispose():(Sbd(this,a),this.Ma(this.H),this.readOnly||Ubd(this).Og(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),Tbd(this,!0))};
var Tbd=function(a,b){if(a.ka){var c=a.ka,d=_.E(_.xM(c),m4c,5);d||(d=new m4c,c=_.xM(c),_.A(c,5,d));d=_.B(d,1,2);c=a.Ii().W;d=_.B(d,2,c);c=a.Ii().ka;d=_.B(d,5,c);b=_.B(d,3,b);b=_.B(b,4,a.wa);d=a.Ii().ma;_.B(b,6,d);a.ka.ek();a.ka=null}};_.g=tO.prototype;_.g.Kxb=function(){this.H||this.qg()||(this.j9("Opening database GoogleDriveDs timed out."),this.ma(Error("kf")))};_.g.j9=function(a){this.log(a);this.ha||(this.ha=!0,this.O="Database disabled: "+a,this.H&&this.ta&&this.H.close())};_.g.qg=function(){return this.ha};
_.g.cWa=function(){return this.ha?this.O:null};_.g.Ii=function(){return this.version};
var uO=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.ASc(a,[b],c)}catch(d){return null}},Ubd=function(a){var b=_.YK.T_,c=uO(a,b,"readwrite");if(!c)return _.bi(Error("lf"));c.objectStore(b).put(Pbd(a.Ii()));return c.wait().then(function(){})},Vbd=function(a){if(!a.H)return _.bi(Error("mf"));if(a.qg())return _.bi(Error(a.O));var b=_.YK.T_,c=uO(a,b,"readwrite");return c?c.objectStore(b).remove(sO(a.Ii())).then():_.bi(Error("nf"))},Wbd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Nbd(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("of")),0;a=d[0].timestamp;if(!a)return b.reject(Error("pf")),0;var e=d[0].size;if(!e)return b.reject(Error("qf")),0;if(e>d.length)return b.reject(Error("rf`"+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("sf`"+e)),0;if(c&&a<c)return b.reject(Error("tf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},wbd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.bi(Error("uf"));if(a.qg())return _.bi(Error(a.O));var e=Lbd(a.Ii(),b,0,c),f=_.YK.u6,h=uO(a,f);if(!h)return _.bi(Error("vf"));e=h.objectStore(f).getAll(e);var k=_.ei();e.Vf(function(l){l=Wbd(l,k,d);a.readOnly||null==l||Xbd(a,b,c,l).Og(function(){})},k.reject);return k.promise},sbd=function(a,b,c,d,e,f){if(a.H){if(a.qg())return _.bi(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.bi(Error("wf"))}else return _.bi(Error("xf"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:Kbd(a.Ii(),c,u,d),data:new Ibd(r.getData(),u,k,h,e),metadata:r}});var l=_.YK.u6,p=uO(a,l,"readwrite");if(!p)return _.bi(Error("yf"));var q=p.objectStore(l);b.forEach(function(r){var u=Ybd(a,c,d,r.metadata,f);q.put(Jbd(r.data),r.key).then(function(){u&&(r4c(u.ZE(),!0),u.ek())},function(y){var z=y instanceof _.yK?y.code:_.bSc;u&&a.W&&(y=r4c(u.ZE(),!1),z=_.yM(_.YTc,z),_.B(y,2,z),u.ek())})});return p.wait().then(function(){})},Ybd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=t4c(s4c(a.ZE(),_.yM(_.XTc,b)),_.yM(_.UTc,c)),f=f.kv(d.H),f=_.B(b,5,f),u4c(f,d.isEncrypted),void 0!=d.Om()&&a.ZE().Ct(d.Om());return a}return null},Xbd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.qg())return _.bi(Error(a.O));if(3==b&&void 0==c)return _.bi(Error("zf"))}else return _.bi(Error("Af"));b=Lbd(a.Ii(),b,d,c);c=_.YK.u6;a=uO(a,c,"readwrite");if(!a)return _.bi(Error("Bf"));a.objectStore(c).remove(b);return a.wait().then(function(){})},Zbd=
function(a){if(!a.H)return _.bi(Error("Cf"));if(a.qg())return _.bi(Error(a.O));var b=Mbd(a.Ii()),c=_.YK.u6;a=uO(a,c,"readwrite");if(!a)return _.bi(Error("Df"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
tO.prototype.getMetadata=function(a){if(this.H){if(this.qg())return _.bi(Error(this.O));if(a&&0==a.length)return _.bi(Error("Ef"))}else return _.bi(Error("Ff"));var b=this.Ii(),c=_.YK.H7,d=uO(this,c);if(!d)return _.bi(Error("Gf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(Cbd(b,k.global,k.key)).then())});a=_.ci(f)}else a=_.ci([e.getAll(Ebd(b,!1)).then(),e.getAll(Ebd(b,!0)).then()]).then(function(k){return A0c(k[0],k[1])});var h=_.ei();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==sO(b)||p[0]!==b.Oz()||p[1]!==String(b.qf())?null:new Dbd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var $bd=function(a,b){if(a.H){if(a.qg())return _.bi(Error(a.O));if(0==b.length)return _.bi(Error("Hf"))}else return _.bi(Error("If"));var c=_.YK.H7,d=uO(a,c,"readwrite");if(!d)return _.bi(Error("Jf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Ii();h={k:Cbd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.ci(f).then(function(){})},acd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.qg())return _.bi(Error(a.O))}else return _.bi(Error("Lf"));var c=a.Ii(),
d=_.YK.H7;a=uO(a,d,"readwrite");if(!a)return _.bi(Error("Mf"));d=a.objectStore(d);a=[];a.push(d.remove(Ebd(c,!1)).then());b&&a.push(d.remove(Ebd(c,!0)).then());return _.ci(a).then(function(){})};tO.prototype.BN=function(){if(!this.H)return _.bi(Error("Nf"));if(this.qg())return _.bi(Error(this.O));var a=Hbd(this.Ii().Oz(),this.Ii().qf()),b=_.YK.LU,c=uO(this,b);return c?c.objectStore(b).get(a).then(function(d){return Gbd(d)}):_.bi(Error("Of"))};
var bcd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.bi(Error("Pf"));if(a.qg())return _.bi(Error(a.O));var c=a.Ii(),d=Hbd(c.Oz(),c.qf());b=new Fbd(sO(c),b?Date.now():void 0);c=_.YK.LU;a=uO(a,c,"readwrite");if(!a)return _.bi(Error("Qf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
tO.prototype.Ol=function(a){var b=this;return this.H?this.qg()?_.bi(Error(this.O)):this.BN().then(function(c){var d=sO(b.Ii());if(c)if(a){if(!c.O&&d==c.H&&d!=sO(a))return bcd(b,!0);if(c.O&&d==sO(a))return bcd(b)}else{if(d!=c.H)return bcd(b)}else if(!a)return bcd(b)}):_.bi(Error("Rf"))};var ccd=function(a){if(!a.H)return _.bi(Error("Sf"));if(a.qg())return _.bi(Error(a.O));var b=a.Ii(),c=Hbd(b.Oz(),b.qf());return a.BN().then(function(d){if(d){d=_.YK.LU;var e=uO(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
tO.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.qg()?_.bi(Error(this.O)):this.BN().then(function(c){var d=c&&c.H==sO(b.Ii());return d&&!a?!1:(c&&d?ccd(b):_.$h()).then(function(){return _.ci([acd(b,a),Zbd(b),Vbd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.bi(Error("Tf"))};tO.prototype.close=function(){this.j9("Closing database")};tO.prototype.log=function(a){this.Kd.info("drive.ds.sync.storage.VersionedDb",a)};
var dcd=function(a){if(1>=a.Ii())return!1;var b=a.H.objectStoreNames;return _.Ra(_.YK).every(function(c){return b&&b.contains(c)})},ecd=function(){var a=_.ei();_.CSc("GoogleDriveDs").Vf(function(b){b?dcd(b)?a.resolve(b):(b.close(),_.fi(n6c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},fcd=function(a,b,c){var d=_.ei();a?_.ASc(a,[_.YK.T_],"readonly").objectStore(_.YK.T_).getAll().Vf(function(e){e=_.Ra(e).map(function(f){return Qbd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Oz()==b)&&(!c||f.qf()==c)}))},d.reject):d.resolve([]);return d.promise},gcd=function(a,b,c){var d=_.ei();ecd().then(function(e){if(e){var f=_.YK.LU;_.ASc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Gbd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.YK.T_,p=_.ASc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=Qbd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.ki(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},hcd=function(a,b,c){var d=_.ei(),e=new tO(_.$h(a),b);Rbd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},icd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=hcd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.ci(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+sO(l)))});d.resolve(k)})},jcd=function(a,b,c){var d=Date.now()-12096E5,e=_.ei();ecd().then(function(f){f?(_.fi(e.promise,function(){f.close()}),fcd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){icd(h,c,f,e)})):e.resolve([])});return e.promise},kcd=function(a,b,c){var d=_.ei();ecd().then(function(e){e?(_.fi(d.promise,function(){e.close()}),
fcd(e,a,b).then(function(f){icd(f,c,e,d,!0)})):d.resolve([])});return d.promise},lcd=function(a,b,c,d){if(a.length){var e=_.YK.u6,f=a.shift(),h=Kbd(f,3,0,1);try{_.ASc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Nbd(k))&&(!k.a1||k.a1&&d.has(f.V))?b.resolve(f):lcd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},mcd=function(a,b,c,d,e,f,h){var k=_.ei();ecd().then(function(l){l?(_.fi(k.promise,function(){l.close()}),fcd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=sO(q))&&q.W==c&&q.H>=e&&S0c(d.filter(function(r){return!_.yUc.has(r)}),q.Ug(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),lcd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},ncd={key:"rid",global:!0},ocd={key:"ooi",global:!0},pcd={key:"rtds",global:!1},qcd={key:"dct",global:!1},rcd={key:"pc",global:!1},scd=function(a){this.H=new _.Zh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
scd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.qg())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Xa():void 0},function(){})})};scd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.qg()?$bd(c,[new Dbd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};scd.prototype.Zn=function(){return this.get(ncd).then(function(a){return a?a:null})};scd.prototype.Fu=function(a){return this.set(ncd,a)};
var tcd=function(a){return a.get(ocd).then(function(b){return"boolean"===typeof b?b:null})};scd.prototype.Ny=function(a){return this.set(ocd,a)};var ucd=function(a){return a.get(rcd).then(function(b){return"boolean"===typeof b?b:null})},vcd=function(a){return a.get(pcd).then(function(b){return Array.isArray(b)?b:null})},wcd=function(a){return a.get(qcd).then(function(b){return"number"===typeof b?b:null})},xcd=function(){this.nj=[]};_.O(xcd,_.MM);
xcd.prototype.add=function(a,b){var c=a.Dv.request;return c instanceof _.RL&&_.C(c.request,12)?_.MM.prototype.add.call(this,a,b):!1};xcd.prototype.cua=function(a){return this.nj.splice(0,Math.min(a,1))};var ycd=function(a,b){this.nj=[];this.H=b};_.O(ycd,_.MM);ycd.prototype.add=function(a,b){return a.Dv.request instanceof _.RL?!1:_.MM.prototype.add.call(this,a,b)};
ycd.prototype.cua=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.nj.length&&b.length<a;f++){var h=this.nj[f],k=h.Dv.request;k instanceof _.lL||k instanceof _.wL||k instanceof _.ML?k="app|"+k.Fh():k instanceof _.gL||k instanceof _.hL||k instanceof _.nL||k instanceof _.TK?k="item|"+(k instanceof _.gL?k.Nc():k.getId()):k instanceof _.oL||k instanceof _.yL?k="item|"+k.Nc():k instanceof _.pL||k instanceof _.OL?k="item|"+k.Nc():k instanceof _.PB||k instanceof _.OB?(k=k instanceof _.PB?_.E(k,_.Mp,1).getKey():
k.getKey(),k="pref|"+_.C(k,2)+"|"+k.kt()):k=k instanceof _.qL?"td|"+k.getId():null;var l=h.Dv.request;if(l instanceof _.jL)l=!!_.L(l,8);else if(l instanceof _.hL){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.V6a.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++)_.ra(this.nj,c[a]);return b};
zcd=function(a,b,c,d,e,f,h,k,l){a=a.eg();h=new _.CZc(k,h,d,_.dk(a,32,1073741824),_.dk(a,21,1E3));h=new _.DZc(h);k=new _.bZc(_.dk(a,59,2E3),_.dk(a,60,2E4),_.dk(a,61,6));c=new _.$Yc(l?l:c,l?void 0:e);e={};e[1]=_.FZc(b,d);e[2]=_.GZc(b,a,k,c,d);e[3]=_.HZc(b,a,k,c,d,"batch");l=_.dk(a,10,50);f=new _.OM(d,b,[_.aZc(c),new _.eZc(l,_.dk(a,11,100)),new _.NM(l),new _.LM(k,d)],[new ycd(a,f),new xcd,new _.MM],[new _.nZc(a,k,c.Rj(),d)],"mutation");return e[4]=f,e[5]=_.IZc(h,a,d),e[6]=_.HZc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.HZc(b,a,k,c,d,"xd4_batch"),e[8]=_.HZc(b,a,k,c,d,"xd4_batch_one",1),e};Acd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Bcd=function(a){var b={};return b.parentId=a.Pk(),b};Ccd=function(a){var b={};_.Zd(_.Sg(a.getTitle()))||(b.title=a.getTitle());_.U_c(b,_.Jd(a,3));_.L(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Dcd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};Ecd=function(a){var b={};b.sourceIds=_.Jd(a.request,1);b.destinationFolderId=_.C(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Fcd=function(a){var b={},c={};_.Zd(_.Sg(a.getTitle()))||(b.title=a.getTitle());null!=a.zf()&&(b.description=a.zf());null!=_.L(a,4)&&(c.starred=_.L(a,4));null!=a.Yh()&&(c.trashed=a.Yh());_.Zd(_.Sg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.AWc(_.zXc(_.C(a,7)||0)));null!=_.L(a,11)&&(c.restricted=_.L(a,11));_.Qa(c)&&(b.labels=c);null!=a.$i()&&(b.folderColor=a.$i());null!=_.L(a,16)&&(b.subscribed=_.L(a,16));null!=_.L(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.L(a,40),c));if(c=_.E(a,_.pl,25)){b.contentRestrictions=[];var d={};null!=_.L(c,1)&&(d.readOnly=_.L(c,1));null!=_.C(c,2)&&(d.reason=_.C(c,2));b.contentRestrictions.push(d)}_.U_c(b,_.Jd(a,8));return b};Gcd=function(a){var b={};null!=_.L(a,3)&&(b.pinned=_.L(a,3));return b};
Hcd=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.C(a,3))b.backgroundImageId=_.C(a,3);else{var c=_.C(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Qg)("0",6-c.length)+c);c=_.E(a,_.f4c,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.C(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.C(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Se())&&(a.width=c);b.backgroundImageFile=a}}return b};
Icd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.X_c[a.getState()])&&(b.state=a);return b};_.Jcd=function(a){_.S(this,a,-1,null,null)};_.O(_.Jcd,_.N);_.Jcd.prototype.O=function(){return _.C(this,1)};var Kcd=function(a){_.S(this,a,-1,null,null)};_.O(Kcd,_.N);Kcd.prototype.O=function(){return _.L(this,1)};Kcd.prototype.V=function(){return _.C(this,2)};_.vO=function(a){_.S(this,a,-1,null,null)};_.O(_.vO,_.N);_.g=_.vO.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Rb=function(a){return _.B(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.B(this,2,a)};_.g.eua=function(){return _.C(this,3)};_.g.bz=function(){return _.C(this,4)};_.g.raa=function(){return _.E(this,Kcd,6)};_.g.vsb=function(){return _.E(this,_.Jcd,7)};_.g.mWa=function(){return _.C(this,8)};_.g.dua=function(){return _.L(this,9)};_.wO=function(a){_.S(this,a,-1,null,null)};_.O(_.wO,_.N);_.g=_.wO.prototype;
_.g.getType=function(){return _.C(this,1)};_.g.Ib=function(a){return _.B(this,1,a)};_.g.getId=function(){return _.C(this,2)};_.g.Rb=function(a){return _.B(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.B(this,3,a)};_.g.Qd=function(){return _.C(this,5)};_.g.setSize=function(a){return _.B(this,5,a)};_.g.Cab=function(){return _.C(this,6)};_.Lcd=function(a,b){return _.B(a,6,b)};_.wO.prototype.zf=function(){return _.C(this,8)};
_.wO.prototype.wm=function(a){return _.B(this,8,a)};_.wO.prototype.O=function(){return _.L(this,9)};_.xO=function(a,b,c,d,e,f){_.Q.call(this);var h=this;this.V=a;this.wa=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=J1c(new _.XM,[1]);this.limit=e.Ui();this.Ue=0;_.te(this,function(){h.O=!1;h.H=[]})};_.O(_.xO,_.Q);_.g=_.xO.prototype;_.g.Xi=function(){return String(_.Ea(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.na(this.items)&&6===this.Cb()&&this.Zj()||Mcd(this)};_.g.Cd=function(){return this.request};_.g.Ui=function(){return this.limit};_.g.Cb=function(){return this.status};_.g.Rq=function(){return this.ka};_.g.Zj=function(){return this.ha};_.g.ds=function(){var a=_.FRc().Ez(this.H,this.items),b=(new _.RRc).Gc(this.Cb());a=_.Db(b,2,a);this.H=this.items;return a};_.g.Kr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Xi(),this.limit))};
var Ncd=function(a,b){return a.Cb()!==b.Cb()||qN(_.FRc(),a.items,b.Id())},Ocd=function(a,b){a.items=b.Id();a.status=b.Cb();_.IK(a.Ba)&&(a.ka=K1c(a.status,a.items));a.ha=b.tl();a.Ue=b.sf()};_.xO.prototype.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.xO.prototype.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};
_.xO.prototype.zu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+WN(this.V,this.Cd());return _.oi(this.wa.then(function(d){return d.jMb(a,b,c.Cd(),c.Ui(),c.items)}))};
var Mcd=function(a){a.isActive()&&(a.log("Livelist "+a.Xi()+" returning "+a.items.length+". Status: "+(_.$a(d5c)[a.Cb()]+". Datasource: ")+(_.$a(a6c)[a.Ue]+". Query: ")+(WN(a.V,a.request)+" ")+L1c(a.items)),Pcd(a,a.items,a.request),a.dispatchEvent(new _.xi(_.xc,a)))},Pcd=function(a,b,c){if(_.zL(c))c="quick access";else if(_.AL(c))c="people predict";else if(_.BL(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Xi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.xO.prototype.refresh=function(){};_.xO.prototype.log=function(a){this.Fa.info(this.W,a)};var m2c=[90,59,75];_.t("sy17z");
var Qcd=function(a){_.S(this,a,-1,null,null)};_.O(Qcd,_.N);
var yO=function(a){_.S(this,a,-1,null,null)};_.O(yO,_.N);yO.prototype.getType=function(){return _.C(this,1)};yO.prototype.Ib=function(a){return _.B(this,1,a)};var Rcd=function(a,b){return _.A(a,2,b)};yO.prototype.ky=function(){return _.C(this,3)};yO.prototype.Oy=function(a){return _.B(this,3,a)};yO.prototype.Vi=function(){return _.C(this,4)};yO.prototype.setPosition=function(a){return _.B(this,4,a)};
var zO=function(a){_.S(this,a,-1,null,null)};_.O(zO,_.N);zO.prototype.getType=function(){return _.C(this,1)};zO.prototype.Ib=function(a){return _.B(this,1,a)};zO.prototype.mn=function(){return _.E(this,EN,2)};var Scd=function(a,b){return _.A(a,2,b)};zO.prototype.ky=function(){return _.C(this,3)};zO.prototype.Oy=function(a){return _.B(this,3,a)};zO.prototype.Vi=function(){return _.C(this,4)};zO.prototype.setPosition=function(a){return _.B(this,4,a)};
var AO=function(a){_.S(this,a,-1,null,null)};_.O(AO,_.N);AO.prototype.getType=function(){return _.C(this,1)};AO.prototype.Ib=function(a){return _.B(this,1,a)};AO.prototype.mn=function(){return _.E(this,_.jF,2)};var Tcd=function(a,b){return _.A(a,2,b)};AO.prototype.ky=function(){return _.C(this,3)};AO.prototype.Oy=function(a){return _.B(this,3,a)};AO.prototype.Vi=function(){return _.C(this,4)};AO.prototype.setPosition=function(a){return _.B(this,4,a)};
var Ucd=function(a){_.S(this,a,-1,null,null)};_.O(Ucd,_.N);Ucd.prototype.Cb=function(){return _.C(this,1)};Ucd.prototype.Gc=function(a){return _.B(this,1,a)};Ucd.prototype.xr=function(){return _.E(this,_.DN,2)};
var Wcd=function(a){_.S(this,a,-1,Vcd,null)};_.O(Wcd,_.N);Wcd.prototype.Cb=function(){return _.C(this,1)};Wcd.prototype.Gc=function(a){return _.B(this,1,a)};Wcd.prototype.fk=function(){return _.C(this,3)};var Vcd=[2];
var Xcd=function(a){_.S(this,a,-1,null,null)};_.O(Xcd,_.N);Xcd.prototype.yd=function(){return _.E(this,sN,1)};Xcd.prototype.Yn=function(){return _.C(this,2)};
var Ycd=function(a){_.S(this,a,-1,null,null)};_.O(Ycd,_.N);_.g=Ycd.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.xr=function(){return _.E(this,_.DN,2)};_.g.fk=function(){return _.C(this,3)};_.g.Fh=function(){return _.C(this,4)};
var BO=function(a){_.S(this,a,-1,null,null)};_.O(BO,_.N);BO.prototype.Cb=function(){return _.C(this,1)};BO.prototype.Gc=function(a){return _.B(this,1,a)};BO.prototype.fk=function(){return _.C(this,3)};
var Zcd=function(a){_.S(this,a,-1,null,null)};_.O(Zcd,_.N);_.g=Zcd.prototype;_.g.Cb=function(){return _.C(this,1)};_.g.Gc=function(a){return _.B(this,1,a)};_.g.fk=function(){return _.C(this,2)};_.g.KNa=function(){return _.E(this,_.Mp,3)};_.g.getKey=function(){return _.E(this,_.Nb,4)};_.g.ws=function(){return _.T(this,4)};
var add=function(a){_.S(this,a,-1,null,$cd)};_.O(add,_.N);add.prototype.getKey=function(){return _.C(this,1)};add.prototype.ws=function(){return _.T(this,1)};var cdd=function(a){_.S(this,a,-1,bdd,null)};_.O(cdd,_.N);var $cd=[[2,4,6,10],[3,5,7,8,9]],bdd=[1];
var ddd=function(a){_.S(this,a,-1,null,null)};_.O(ddd,_.N);
var CO=function(a){_.S(this,a,-1,edd,null)};_.O(CO,_.N);CO.prototype.Cb=function(){return _.C(this,1)};CO.prototype.Gc=function(a){return _.B(this,1,a)};CO.prototype.O=function(){return _.uk(this,wN,2)};var fdd=function(a,b){return _.Db(a,2,b)};CO.prototype.fk=function(){return _.C(this,3)};var edd=[2];
var gdd=function(a){_.S(this,a,-1,null,null)};_.O(gdd,_.N);gdd.prototype.Cb=function(){return _.C(this,1)};gdd.prototype.Gc=function(a){return _.B(this,1,a)};gdd.prototype.O=function(){return _.E(this,wN,2)};gdd.prototype.fk=function(){return _.C(this,3)};
var hdd=function(a){_.S(this,a,-1,null,null)};_.O(hdd,_.N);hdd.prototype.jy=function(){return _.C(this,2)};
var jdd=function(a){_.S(this,a,-1,idd,null)};_.O(jdd,_.N);jdd.prototype.Cb=function(){return _.C(this,1)};jdd.prototype.Gc=function(a){return _.B(this,1,a)};jdd.prototype.qk=function(){return _.uk(this,_.tK,2)};jdd.prototype.mr=function(a,b){return _.wk(this,2,a,_.tK,b)};var idd=[2];
var ldd=function(a){_.S(this,a,-1,kdd,null)};_.O(ldd,_.N);ldd.prototype.Cb=function(){return _.C(this,1)};ldd.prototype.Gc=function(a){return _.B(this,1,a)};ldd.prototype.Sk=function(){return _.uk(this,zO,2)};var kdd=[2];
_.ndd=function(a){_.S(this,a,-1,mdd,null)};_.O(_.ndd,_.N);var mdd=[1];
var pdd=function(a){_.S(this,a,-1,odd,null)},sdd,tdd;_.O(pdd,_.N);pdd.prototype.Yn=function(){return _.C(this,1)};var qdd=function(a,b){return _.B(a,1,b)},rdd=function(a,b){return _.B(a,2,b)};pdd.prototype.Cb=function(){return _.C(this,3)};pdd.prototype.Gc=function(a){return _.B(this,3,a)};sdd=function(a,b){return _.B(a,4,b)};tdd=function(a,b){return _.Db(a,5,b)};_.udd=function(a){_.S(this,a,-1,null,null)};_.O(_.udd,_.N);_.udd.prototype.qc=function(){return _.C(this,2)};
_.wdd=function(a){_.S(this,a,-1,vdd,null)};_.O(_.wdd,_.N);var xdd=function(a,b){return _.B(a,1,b)},ydd=function(a,b){return _.B(a,2,b)},zdd=function(a,b){return _.Db(a,3,b)},odd=[5],vdd=[3];
_.DO=function(a){_.S(this,a,-1,Add,null)};_.O(_.DO,_.N);_.DO.prototype.$V=function(){return _.uk(this,_.pF,2)};_.DO.prototype.xe=function(){return _.E(this,_.lf,3)};var Add=[1,2];
_.EO=function(a){_.S(this,a,-1,null,null)};_.O(_.EO,_.N);_.EO.prototype.Cb=function(){return _.C(this,1)};_.EO.prototype.Gc=function(a){return _.B(this,1,a)};_.EO.prototype.Oh=function(){return _.E(this,_.qA,2)};_.Bdd=function(a,b){return _.A(a,2,b)};_.EO.prototype.fk=function(){return _.C(this,3)};
var Cdd=function(a){_.S(this,a,-1,null,null)};_.O(Cdd,_.N);Cdd.prototype.Cb=function(){return _.C(this,1)};Cdd.prototype.Gc=function(a){return _.B(this,1,a)};
var Edd=function(a){_.S(this,a,-1,Ddd,null)};_.O(Edd,_.N);Edd.prototype.Cb=function(){return _.C(this,1)};Edd.prototype.Gc=function(a){return _.B(this,1,a)};Edd.prototype.Sk=function(){return _.uk(this,AO,2)};var Ddd=[2];
var Fdd=function(a){_.S(this,a,-1,null,null)};_.O(Fdd,_.N);_.g=Fdd.prototype;_.g.getType=function(){return _.C(this,1)};_.g.Ib=function(a){return _.B(this,1,a)};_.g.ky=function(){return _.C(this,3)};_.g.Oy=function(a){return _.B(this,3,a)};_.g.Vi=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.B(this,4,a)};
var Hdd=function(a){_.S(this,a,-1,Gdd,null)};_.O(Hdd,_.N);Hdd.prototype.Cb=function(){return _.C(this,1)};Hdd.prototype.Gc=function(a){return _.B(this,1,a)};Hdd.prototype.fk=function(){return _.C(this,3)};var Gdd=[2];
_.Idd=function(a){_.S(this,a,-1,null,null)};_.O(_.Idd,_.N);_.Idd.prototype.getId=function(){return _.C(this,1)};_.Idd.prototype.Rb=function(a){return _.B(this,1,a)};_.Idd.prototype.xe=function(){return _.E(this,_.lf,4)};
var Kdd=function(a){_.S(this,a,-1,Jdd,null)};_.O(Kdd,_.N);Kdd.prototype.Cb=function(){return _.C(this,1)};Kdd.prototype.Gc=function(a){return _.B(this,1,a)};Kdd.prototype.fk=function(){return _.C(this,3)};var Jdd=[2,4];
_.FO=function(a){_.S(this,a,-1,null,null)};_.O(_.FO,_.N);_.FO.prototype.getType=function(){return _.C(this,1)};_.FO.prototype.Ib=function(a){return _.B(this,1,a)};var Ldd=function(a,b){return _.A(a,2,b)};_.FO.prototype.ky=function(){return _.C(this,3)};_.FO.prototype.Oy=function(a){return _.B(this,3,a)};_.FO.prototype.Vi=function(){return _.C(this,4)};_.FO.prototype.setPosition=function(a){return _.B(this,4,a)};
_.a2c=function(a){_.S(this,a,-1,null,null)};_.O(_.a2c,_.N);_.g=_.a2c.prototype;_.g.getItem=function(){return _.E(this,_.sl,1)};_.g.setItem=function(a){return _.A(this,1,a)};_.g.getError=function(){return _.E(this,_.jc,2)};_.g.We=function(a){return _.A(this,2,a)};_.g.Jn=function(){return _.T(this,2)};_.g.ht=function(){return _.C(this,4)};
var Ndd=function(a){_.S(this,a,-1,Mdd,null)};_.O(Ndd,_.N);var Mdd=[2,4];
var Pdd=function(a){_.S(this,a,-1,Odd,null)};_.O(Pdd,_.N);var Odd=[1];
var Rdd=function(a){_.S(this,a,-1,Qdd,null)};_.O(Rdd,_.N);Rdd.prototype.Cb=function(){return _.C(this,1)};Rdd.prototype.Gc=function(a){return _.B(this,1,a)};Rdd.prototype.fk=function(){return _.C(this,3)};var Qdd=[2];
var Tdd=function(a){_.S(this,a,-1,Sdd,null)};_.O(Tdd,_.N);Tdd.prototype.Cb=function(){return _.C(this,1)};Tdd.prototype.Gc=function(a){return _.B(this,1,a)};Tdd.prototype.fk=function(){return _.C(this,3)};var Sdd=[2];
var Udd=function(a){_.S(this,a,-1,null,null)};_.O(Udd,_.N);
var Wdd=function(a){_.S(this,a,-1,Vdd,null)};_.O(Wdd,_.N);Wdd.prototype.ha=function(){return _.C(this,2)};var Xdd=function(a,b){_.B(a,2,b)},Vdd=[1];
var Ydd=function(a){_.xi.call(this,"Ob");this.dataType=a};_.O(Ydd,_.xi);
var Zdd=function(a,b){_.xi.call(this,"Pb");this.tQa=a;this.Gva=b};_.O(Zdd,_.xi);
var $dd=function(){};_.g=$dd.prototype;_.g.LM=function(a,b){return e6c((new BN).Ib(1),a).setPosition(b)};_.g.KM=function(a,b){return e6c((new BN).Ib(2).setPosition(b),a)};_.g.NE=function(a,b,c){return e6c((new BN).Ib(3).Oy(b).setPosition(c),a)};_.g.NQ=function(a,b){return e6c((new BN).Ib(4),a).setPosition(b)};_.g.qN=function(a){return _.E(a,zN,2)};
var aed=function(){_.sK.call(this,new $dd,function(a){return a&&a.getName()})};_.O(aed,_.sK);
var GO=function(a,b,c){c=void 0===c?50:c;_.Q.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.wa=J1c(new _.XM,[1]);this.ha=this.H=!1;this.Rc=new _.Ce(this);this.Ma(this.Rc);_.te(this,function(){d.active=!1;d.Rc.removeAll()})};_.O(GO,_.Q);_.g=GO.prototype;_.g.Xi=function(){return String(_.Ea(this))};_.g.hf=function(){return this.W.hf()||this.connectionState.hf()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Rc.listen(this.W,"Ab",_.rb(this.St)),this.Rc.listen(this.connectionState,[].concat(_.jd(Object.values(_.uA))),_.rb(this.St)),this.W.hf()?this.Rc.wd(this.W,"Ab",function(b){b.hf()||(a.aH(),a.dispatchEvent(new _.xi(_.sq)))}):this.connectionState.hf()?this.Rc.wd(this.connectionState,[_.uA.HL,_.uA.MU],function(){a.aH();a.dispatchEvent(new _.xi(_.sq))}):(this.aH(),this.dispatchEvent(new _.xi(_.sq))))};_.g.aH=function(){};
_.g.Kr=function(a){var b=this;if(this.Zj()){var c=this.limit;this.limit+=a||50;this.qc()>c&&this.St();this.W.hf()?this.Rc.wd(this.W,"Ab",function(d){d.hf()||b.EP()}):this.EP()}};_.g.ML=function(){this.hf()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.Rq=function(){return this.wa};_.g.handleError=function(a){this.dispatchEvent(new _.lc(a))};_.g.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};_.g.Zj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Rc.removeAll();this.activate()};_.g.EP=function(){};
var bed=function(a,b,c,d,e){GO.call(this,a,b,e.Ui()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new aed;this.ma=d};_.O(bed,GO);_.g=bed.prototype;_.g.aH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.getData=function(){return i6c(new CN,this.data).Gc(this.status)};_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new g6c).Gc(this.status);return _.Db(b,2,a)};
_.g.EP=function(){this.ma(this.Xi(),this.limit)};_.g.St=function(){if(this.active){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,ced(this)}};_.g.qc=function(){return this.data.length};_.g.Cd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||qN(0,this.data,b.O()))this.H=!0,this.status=b.Cb(),this.data=b.O(),this.ha=a.H,ced(this)};
var ced=function(a){a.log("Livelist "+a.Xi()+" returning "+a.data.length+" for "+(a.request.Nc()+". Status: ")+(_.$a(d5c)[a.Cb()]+"."));a.dispatchEvent(new _.xi(_.xc,a))};bed.prototype.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};bed.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var ded=function(a,b,c,d,e,f,h){_.xO.call(this,a,b,c,e,f,d);this.Kd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.ta=null;this.ma=void 0};_.O(ded,_.xO);ded.prototype.getData=function(){this.H=this.items;var a=M3c((new _.iA).Gc(this.Cb()).Nw(this.items),this.Zj());a=_.A(a,7,this.ta).ZP(this.suggestionSessionId).fj(this.Ue);return _.jk(a,18,this.ma)};
ded.prototype.update=function(a){if(Ncd(this,a)&&(Ocd(this,a),this.ta=a.I6(),this.suggestionSessionId=a.Sf(),this.ma=a.Fla(),Mcd(this),this.suggestionSessionId&&i9c(this.V)&&(a=this.Kd.H(106027)))){var b=_.E(_.xM(a),y4c,20);if(!b){b=new y4c;var c=_.xM(a);_.A(c,20,b)}_.B(b,1,this.suggestionSessionId);a.ek()}};
var eed=function(a,b){var c={};a=_.Na(a,function(d){return!!d});b=_.Na(b,function(d){return!!d});_.Ma(a,function(d,e){var f=b[e];f?_.Bk(d,f)||(d=Tcd((new AO).Ib(4),f),c[e]=d):(d=Tcd((new AO).Ib(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=Tcd((new AO).Ib(1),d),c[e]=d)});return c},fed=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Ua(eed(a,b))};
var ged=function(a,b){_.Q.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.O(ged,_.Q);_.g=ged.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Ua(this.data)&&6===this.status||this.dispatchEvent(new _.xi(_.xc,this)))};_.g.Cb=function(){return this.status};_.g.Rq=function(){return new _.XM};_.g.getData=function(){this.H=this.data;var a=(new _.BM).Gc(this.status);_.Ma(this.data,function(b,c){a.mU().set(c,b||new _.jF)});return a};
_.g.ds=function(){var a=eed(this.H,this.data);this.H=this.data;var b=(new Cdd).Gc(this.status);_.Ma(a,function(c,d){_.hk(b,2,AO).set(d,c)});return b};_.g.GT=function(){throw Error("Uf");};_.g.Xi=function(){return String(_.Ea(this))};_.g.Cd=function(){return this.request};_.g.update=function(a){var b={};a.mU().forEach(function(c,d){c||(c=Pad(d));b[d]=c});if(this.status!==a.Cb()||fed(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.xi(_.xc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};
var hed=function(a,b,c,d,e,f){_.Q.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=J1c(new _.XM,[1]);this.log("Creating find by ids live map: "+this.request.jn().join(", "));_.te(this,function(){h.O=!1;h.H=[]})};_.O(hed,_.Q);_.g=hed.prototype;_.g.Xi=function(){return String(_.Ea(this))};_.g.activate=function(){this.O=!0;_.Ua(this.items)&&6===this.status||ied(this)};_.g.Cd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.zM;_.IK(this.V)?a.Gc(X0c(Object.values(this.items))?6:this.status):a.Gc(this.status);a.map=this.items;return a};_.g.ds=function(){var a=M1c(this.H,this.items),b=new d6c;b.Gc(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.Rq=function(){return this.W};_.g.GT=function(a){e9c(a);var b=this.request;this.request=a;this.ta(this.Xi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.Cd().jn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Wa(a.map,c),a.map.root=d);jed(b,a)}):jed(this,a)};var jed=function(a,b){if(a.status!==b.Cb()||N1c(a.items,b.map))a.status=b.Cb(),a.items=b.map,_.IK(a.V)&&(a.W=K1c(a.status,Object.values(a.items))),ied(a)};hed.prototype.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};hed.prototype.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};
var ied=function(a){a.O&&(a.log("Livelist "+a.Xi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.$a(d5c)[a.Cb()]+". Query: ")+(WN(a.ka,a.request)+" ")+L1c(Object.values(a.items))),a.dispatchEvent(new _.xi(_.xc,a)))};hed.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var ked=function(a,b,c,d,e,f){_.xO.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.O(ked,_.xO);ked.prototype.getData=function(){this.H=this.items;var a=(new _.AM).Gc(this.Cb()).Nw(this.items);var b=this.Zj();a=_.B(a,4,b);return c5c(a,this.ma).ZP(this.suggestionSessionId).fj(this.Ue)};ked.prototype.update=function(a){Ncd(this,a)&&(Ocd(this,a),this.ma=_.uk(a,_.$k,6),this.suggestionSessionId=a.Sf(),Mcd(this))};
var led=function(){};_.g=led.prototype;_.g.LM=function(a,b){return Scd((new zO).Ib(1),a).setPosition(b)};_.g.KM=function(a,b){return Scd((new zO).Ib(2).setPosition(b),a)};_.g.NE=function(a,b,c){return Scd((new zO).Ib(3).Oy(b).setPosition(c),a)};_.g.NQ=function(a,b){return Scd((new zO).Ib(4),a).setPosition(b)};_.g.qN=function(a){return a.mn()};
var med=function(){_.sK.call(this,new led,function(a){return a&&a.zp()})};_.O(med,_.sK);
var ned=function(a,b,c){GO.call(this,a.Rj(),a.Bk(),b.Ui()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new med;this.suggestionSessionId=null;this.ka=c};_.O(ned,GO);_.g=ned.prototype;_.g.aH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.getData=function(){this.O=this.data;return C6c(B6c((new FN).Gc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new ldd).Gc(this.status);return _.Db(b,2,a)};_.g.EP=function(){};_.g.St=function(){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))};_.g.qc=function(){return this.data.length};_.g.Cd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Cb()||qN(0,this.data,a.Sk())){this.changed=this.H=!0;this.data=a.Sk();if(a=a.Sf())this.suggestionSessionId=a;this.St()}};_.g.refresh=function(){this.ka()};_.g.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var oed=function(a,b,c){_.Q.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=J1c(new _.XM,[1]);this.O=!0;this.limit=a.Ui();_.te(this,function(){d.H=!1;d.V=[]})};_.O(oed,_.Q);_.g=oed.prototype;_.g.Xi=function(){return String(_.Ea(this))};_.g.activate=function(){this.H=!0;_.na(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.xi(_.xc,this))};_.g.Cd=function(){return this.request};_.g.Cb=function(){return this.status};
_.g.Rq=function(){return this.W};_.g.Zj=function(){return this.O};_.g.getData=function(){this.V=this.items;return M3c((new _.iA).Gc(this.status).Nw(this.items),this.O)};_.g.ds=function(){var a=_.FRc().Ez(this.V,this.items),b=(new _.RRc).Gc(this.status);a=_.Db(b,2,a);this.V=this.items;return a};_.g.Kr=function(a){this.H&&(this.limit+=a||20,this.ka.MF(this.Xi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||qN(_.FRc(),this.items,a.Id()))this.items=a.Id(),this.status=a.Cb(),_.IK(this.ha)&&(this.W=K1c(this.status,this.items)),this.O=a.tl(),this.H&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};_.g.zu=function(){throw Error("Vf");};_.g.refresh=function(){};
var ped=function(a,b,c){_.Q.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=J1c(new _.XM,[1]);this.context.hg().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.jn().join(", "));_.te(this,function(){d.V=!1;d.O=[]})};_.O(ped,_.Q);_.g=ped.prototype;_.g.Xi=function(){return String(_.Ea(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.Cd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.zM;a.Gc(this.status);a.map=this.H;return a};_.g.ds=function(){var a=M1c(this.O,this.H),b=new d6c;b.Gc(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.Rq=function(){return this.W};
_.g.GT=function(a){var b=this.request;this.request=a;this.ha.xZ(this.Xi(),b,a)};_.g.update=function(a){if(this.status!==a.Cb()||N1c(this.H,a.map))this.status=a.Cb(),this.H=a.map,_.IK(this.context.Tc)&&(this.W=K1c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.EW=function(){this.dispatchEvent(new _.xi(_.rGa))};
var qed=function(){};_.g=qed.prototype;_.g.LM=function(a,b){return Tcd((new AO).Ib(1),a).setPosition(b)};_.g.KM=function(a,b){return Tcd((new AO).Ib(2).setPosition(b),a)};_.g.NE=function(a,b,c){return Tcd((new AO).Ib(3).Oy(b).setPosition(c),a)};_.g.NQ=function(a,b){return Tcd((new AO).Ib(4),a).setPosition(b)};_.g.qN=function(a){return a.mn()};
var red=function(){_.sK.call(this,new qed,function(a){return a&&a.getId()})};_.O(red,_.sK);
var sed=function(a,b,c){GO.call(this,a.Rj(),a.Bk(),b.Ui()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new red};_.O(sed,GO);_.g=sed.prototype;_.g.aH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.xi(_.xc,this))};_.g.getData=function(){this.O=this.data;return $9c((new cO).Gc(this.status),this.data.slice(0))};_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new Edd).Gc(this.status);return _.Db(b,2,a)};
_.g.EP=function(){this.ka.MF(this.Xi(),this.limit)};_.g.St=function(){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))};_.g.qc=function(){return this.data.length};_.g.Cd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||qN(0,this.data,b.Sk()))this.H=!0,this.status=b.Cb(),this.data=b.Sk(),this.ha=a.H,this.dispatchEvent(new _.xi(_.xc,this))};
_.g.CB=function(a){this.dispatchEvent(new _.lc(new _.kc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var ted=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.Gf;this.O=this.context.Hga;this.ta=this.context.K6};_.g=ted.prototype;_.g.Dya=function(a){var b=this,c=new ded(this.context.wn,this.context.BQ,this.context.hg(),this.context.Tc,function(d,e){b.MF(d,e)},a,this.context.Yk());this.ji(c);_.te(c,function(){b.lk(c)});return c};
_.g.Gya=function(a){var b=this,c=new ked(this.context.wn,this.context.BQ,this.context.hg(),function(d,e){b.MF(d,e)},a,this.context.Tc);this.ji(c);_.te(c,function(){b.lk(c)});return c};_.g.Aya=function(a){var b=this,c=new hed(this.context.Tc,this.context.wn,this.context.hg(),this.context.m_,this.xZ.bind(this),a);this.ji(c);_.te(c,function(){b.lk(c)});return c};_.g.Jya=function(a){var b=this,c=new oed(a,this,this.context.Tc);this.ji(c);_.te(c,function(){b.lk(c)});return c};
_.g.Kya=function(a){var b=this,c=new ped(this.context,this,a);this.ji(c);_.te(c,function(){b.lk(c)});return c};_.g.Nya=function(a){var b=this,c=new sed(this.context,a,this);this.ji(c);_.te(c,function(){b.lk(c)});return c};_.g.Hya=function(a){var b=this,c=new ned(this.context,a,function(){if(a instanceof _.hF){var d=ued(b.context);xad(d,d.getKey(a)).refresh()}});this.ji(c);_.te(c,function(){b.lk(c)});return c};
_.g.Oya=function(a){var b=this,c=new ged(this.context,a);this.ji(c);_.te(c,function(){b.lk(c)});return c};_.g.xya=function(a){var b=this,c=new bed(this.context.Rj(),this.context.Bk(),this.context.hg(),function(d,e){b.MF(d,e)},a);this.ji(c);_.te(c,function(){b.lk(c)});return c};
_.g.ji=function(a){var b=a.Xi();this.H[b]=a;this.ha.create(b,a.Cd());a=a.Cd()instanceof _.fz?this.O.ji(b,a.Cd()):a.Cd()instanceof _.kF?vad(this.O,b,a.Cd()):a.Cd()instanceof _.hF?ued(this.context).ji(b,a.Cd()):a.Cd()instanceof _.vF?this.ta.ji(b,a.Cd()):this.W.ji(b,a.Cd());"boolean"===typeof a&&J9c(this.ha,b,a)};
_.g.lk=function(a){a.Cd()instanceof _.fz?this.O.lk(a.Xi(),a.Cd()):a.Cd()instanceof _.kF?wad(this.O,a.Xi(),a.Cd()):a.Cd()instanceof _.hF?ued(this.context).lk(a.Xi(),a.Cd()):a.Cd()instanceof _.vF?this.ta.lk(a.Xi(),a.Cd()):this.W.lk(a.Xi(),a.Cd());ZN(this.ha,a.Xi(),4);delete this.H[a.Xi()]};_.g.xZ=function(a,b,c){this.W.lk(a,b);this.W.ji(a,c)};
_.g.MF=function(a,b){var c=ved(this,a).Cd();c.yi(b);c instanceof _.fz?this.O.ji(a,c):c instanceof _.kF?vad(this.O,a,c):c instanceof _.vF?this.ta.ji(a,c):this.W.ji(a,c)};_.g.PO=function(a,b){var c=this.H[a]&&this.H[a].Cd();c&&(c instanceof _.Ye?I0c(c.O(),b.Id().filter(function(d){return!UN(d)})):c instanceof _.xz&&I0c(c.O(),Object.values(b.map).filter(function(d){return d&&!UN(d)})));this.ka[a]=b;this.V||(this.V=_.Ii(this.L9,50,this))};
_.g.iY=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ii(this.L9,50,this))};_.g.gA=function(a){(a=this.H[a])&&a.EW()};_.g.L9=function(){_.Ji(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&&(M9c(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])ZN(this.ha,a,3),d.CB(c)};
_.g.Ula=function(a){return ved(this,a).Cd()};var ved=function(a,b){if(!a.H[b])throw Error("Wf`"+b);return a.H[b]};
var HO=function(a,b){_.Q.call(this);this.O=a;this.request=b;this.te=_.ei();this.complete=!1;this.H=""};_.O(HO,_.Q);HO.prototype.start=function(){var a=this;this.O.then(function(b){return b.Ye(a.request)}).then(this.W.bind(this)).Og(this.handleError.bind(this));return this.te.promise};HO.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new Zdd(0,this.H));wed(this)};
var wed=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Ye(new _.eVc(a.H))}).then(function(b){if(1===b.status||3===b.status||2===b.status)a.dispatchEvent(new Zdd(b.O,a.H)),wed(a);else{a.complete=!0;if(4===b.status){var c=new Ndd;c=_.jk(c,2,b.V);c=_.B(c,3,a.H);c=_.B(c,5,b.ka);c=_.B(c,6,b.ha);c=_.B(c,7,b.eA);c=_.B(c,8,b.H);b=_.Db(c,4,b.W);a.te.resolve(b)}else b=_.OK(_.mq(_.lq(new _.jc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}}).Og(function(b){a.handleError(b)})},
5E3)};HO.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Ye(new _.dVc(a.H))}).then(this.V.bind(this)).Og(this.handleError.bind(this))};HO.prototype.V=function(){if(!this.complete){var a=new Ndd;a=_.B(a,3,this.H);a=_.B(a,1,!0);this.te.resolve(a);this.complete=!0;this.dispose()}};HO.prototype.handleError=function(a){this.complete=!0;this.te.reject(_.bL(a));this.dispose()};
var xed=function(){_.xi.call(this,"VbxEwf")};_.O(xed,_.xi);
var yed=function(a,b){this.context=a;this.H=null;this.yc=b||null};_.g=yed.prototype;_.g.Ka=function(){return _.E(this.context.Tc,_.ZK,58)};_.g.getContext=function(){return this.context};_.g.Dz=function(){return this.context.NA.Dz(this.H)};_.g.hg=function(){return this.context.hg()};_.g.cN=function(a){return _.ni(this.context.Gf.zm.H(a))};_.g.zR=function(){return _.ni(this.context.NA.zR())};
_.g.E5=function(a,b,c){var d=new _.hi;if(_.E(a,_.JK,3)||_.E(a,_.SL,4)||_.E(a,_.IM,5)||_.E(a,_.PL,6)||_.E(a,_.qL,7)||_.E(a,_.jL,8)||_.E(a,_.nL,9)||_.E(a,_.TK,10)){var e=G9c(a);this.context.Pm().then(function(f){return f.Ye(e,{M7a:b,N7a:c})}).then(this.Dab.bind(this,d),d.Od,d);return d}throw Error("Xf");};
_.g.Dab=function(a,b){var c=[],d="";if(b instanceof _.JM){c=b.yd().Id();var e=_.C(b,2);d=b.Yn()}else if(b instanceof _.UL)b.getItem()&&c.push(b.getItem()),e=b.oN();else throw Error("Yf");a.callback({items:c,Eja:e,pageToken:d})};_.g.Pra=function(){var a=this.context.Tc,b=a.eg();a="email:"+_.DK(a).getEmail().replace(/@.*$/,"");_.B(b,13,a)};_.g.cja=function(){this.context.Qs.AS();var a=this.context.Tc;kcd(_.jM(_.DK(a)),_.kM(a),this.context.hg()).Og(function(){})};
_.g.a$=function(){return _.fUc[_.ck(this.context.Tc.eg(),8,0)]};_.g.Bea=function(){this.context.$F.H=new cbd(_.Tg().substring(0,8))};_.g.oT=function(){var a=this.context.$F.JN(),b=null;a&&(b=ebd(this.context.$F),b={traceId:a,spanRecs:b});a=this.context.$F;a.H=null;a.ZY=[];return _.ni(b)};_.g.JN=function(){return _.ni(this.context.$F.JN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Tc.Ri();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.Gf.zm.Qd();c=this.context.Gf.Tw;var d=c.H;d&&(b.cs_sutd=d.J8,b.cs_ss=d.Qd());b.cs_ch=B$c(c).length;b.cs_td=c.tW().length;(c=this.context.L6)&&(b.t_cps=c.Rtb().join(","));b.t_id=zed(this.context);var e=
[];Aed(this.context.yR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.cz?this.context.Bk().isConnected():this.context.MI.JB();b.n_o=this.context.cz?this.context.Bk().hf():this.context.Rj().hf();b.n_csm=!!this.context.cz;a&&(b.csw_cc=_.Qa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.ni(JSON.stringify(b))};_.g.Qqa=function(){this.yc&&(this.yc.dispatchEvent(new xed),this.yc.Hu())};
_.g.Ol=function(a){var b=this.context.cz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.JYc(b))};
var Ded=function(a,b){this.context=a;this.Tg=b;this.H=_.RUc(_.rM(this.Tg),Bed);this.O=_.RUc(_.rM(this.Tg),Ced)};
Ded.prototype.xl=function(a){var b=this,c=this.context.rQ.Oh().Oh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.VUc(h);var k=h.getId(),l=b.context.Zn();_.oWc(h,3);_.WK(h,5);var p=c1c(h,!0);h.getCapabilities()||_.dM(h,new _.nl);_.L(p,2)&&((p=h.zk())&&p.length?_.B(h,46,p[0]):(_.cM(h,[l]),_.B(h,46,l)),l=h.Cq(),_.B(h,12,l),l=new _.$k,l.Rb(d),_.B(l,6,1),_.BVc(l,!0),_.iWc(h,l),_.hWc(h,[l]),_.KVb(h,1));e[k]=h});a=Object.keys(e);c=this.context.Gf;var f=Q8c(c.zm,a);_.Ma(f,function(h,
k){aN(h.getItem(),e[k],b.H);(b.context.Rj().hf()||b.context.Bk().hf()||3===dN(h.getItem()))&&aN(h.getItem(),e[k],b.O);_.Wa(e,k)});_.Ma(e,function(h){_.ql(h.rk())&&(f[h.getId()]=new SN(h))});Eed(c,Object.values(f))};
var Fed=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.xl(c)},Ged=function(a){a=a.context.Gf;var b=new _.Ye;b.Ol(!0);b=S8c(a.zm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===dN(f)){var h=new _.MK;_.NK(h,f.getId());_.XK(h);d.push(h)}else h=new _.coa,_.ZM(h,!1),_.B(h,2,!1),_.A(f,81,h),c.push(b[e])}Eed(a,c);a.Uo(d)},Bed=[50],Ced=[12,11,10,67,68];
var Hed=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Ded(a,a.Tg)};_.g=Hed.prototype;_.g.EY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Fab.bind(this);var b=this.Eab.bind(this);this.log("Querying all offline items.");this.H.QV().Vf(a,b);this.V||(this.H.c0((0,_.v)(this.Fxb,this)),this.V=!0)}}else Ged(this.O)};_.g.Fab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.xl(a);fO(this.context.Oj,"GZTDpc")};_.g.Eab=function(){this.log("Error fetching offline items.")};
_.g.Fxb=function(a){this.log("Handling offline change(s): "+a.length);Fed(this.O,a)};_.g.log=function(a){this.context.hg().info("drive.ds.sync.offline.LocalDataService",a)};
var IO=function(a){_.Q.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Rc=new _.Ce(this);this.ma=null;this.Ta=this.wa=!1;var b=new Hed(a);this.context.ha=b;this.Fa=new yed(a,this);I1c(this.Fa);(b=_.E(a.Tc,_.ZK,58))&&_.F(b,1,!1);this.Ma(this.Rc);this.O=this.context.Oj;this.W=a.Fga;this.V=new ted(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.cTa()};_.O(IO,_.Q);_.g=IO.prototype;_.g.cTa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.ei();var b=this.context.Yk().H(106E3);this.ma.promise.then(function(){b&&b.ek()},function(){_.nYc(a.context.Yk(),181008852)});var c=_.lM(this.context.Tc)?"(coldstart) ":"";this.context.hg().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Tc.Ri());this.Rc.listen(this.context,_.wc,this.ivb);this.Rc.listen(this.context.MI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Rc.listen(this.context.Bk(),[].concat(_.jd(Object.values(_.uA))),
function(d){return void a.dispatchEvent(d)});this.ab();this.O.start();fO(this.O,"NSockf")}return this.ma.promise};_.g.VXa=function(){this.context.hg().info(this.Ba,"Ready to process requests.");this.wa||(this.wa=!0,this.ma.resolve())};_.g.ivb=function(a){var b=a.error,c=b.ih;c&&3===c.getType()&&!this.wa?(this.wa=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.lZ=function(){throw JO("teamDriveQuery");};_.g.Fra=function(){throw JO("teamDriveFindByIds");};
_.g.Gra=function(){throw JO("teamDriveMovePreflight");};_.g.eHa=function(){throw JO("peoplePredictQuery");};_.g.query=function(a){g9c(this.context.wn,a,I4c(this.context.Tg));this.qF();var b=a.clone();b=this.V.Dya(b);this.Ta||(a=a.xe(),a&&121===_.C(a,1)||(this.Ta=!0,this.Rc.listen(b,_.xc,this.LNa)));return b};_.g.LNa=function(a){a=a.currentTarget;if(1===a.Cb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Rc.$c(a,_.xc,this.LNa)}};_.g.tr=function(a){this.qF();e9c(a);return this.V.Aya(a.clone())};
_.g.Iwa=function(){throw JO("activityQuery");};_.g.wxa=function(){throw JO("backupsQuery");};_.g.NHa=function(){throw JO("refreshBackups");};_.g.RV=function(){throw JO("getAndroidBackupItems");};_.g.c9=function(){throw JO("deleteBackup");};_.g.hHa=function(){throw JO("permissionQuery");};_.g.$aa=function(){throw JO("insertPermission");};_.g.d9=function(){throw JO("deletePermission");};_.g.zd=function(){throw JO("mutate");};_.g.pO=function(){throw JO("mutateWorkspace");};
_.g.nz=function(){throw JO("bulkMutate");};_.g.zya=function(){throw JO("createFileUploader");};_.g.rTa=function(a){return new HO(this.context.Pm(),a)};_.g.Hq=function(a){if(3===a.getType())return _.oi(this.context.Pm().then(function(b){return b.Ye(a)}).then(null,_.cL));throw JO("getApps with type "+a.getType());};_.g.xr=function(){throw JO("getApp");};_.g.bba=function(){throw JO("installApp");};_.g.b9=function(){throw JO("deleteApp");};_.g.BT=function(){throw JO("updateApp");};
_.g.PN=function(){throw JO("getUserAccount");};_.g.ZG=function(){throw JO("getUserPrefs");};_.g.rS=function(){throw JO("mutateUserPref");};_.g.gu=function(){throw JO("getRevisions");};_.g.kDa=function(){return!1};_.g.Ol=function(a){this.context.cz?a?_.KYc(this.context.cz,!0):this.context.Bk().hf()&&this.context.cz.BM(!0).then(null,function(){}):this.context.Rj().Ol(a)};_.g.Ny=function(){throw JO("setOfflineOptIn");};_.g.EY=function(){throw JO("setLocalItemService");};_.g.qF=function(){};
_.g.tS=function(){this.context.tS();this.context.Yk().O(106006)};_.g.t$=function(){return this.Fa};_.g.BY=function(){};_.g.JB=function(){return this.context.MI.JB()};_.g.FQ=function(){return _.F(this.context.Tc.eg(),52,!1)?_.$h(z9c(new y9c,0)):this.context.MI.FQ()};_.g.isConnected=function(){return 1===this.context.Bk().get()};_.g.u8=function(){var a=this.context.cz;return a?a.BM():_.$h(_.tYc(0))};_.g.sync=function(){throw JO("sync");};_.g.Hu=function(){return this.context.Hu()};
_.g.wca=function(){throw JO("offlineDataLoaded");};_.g.mpa=function(a){return this.context.Pm().then(function(b){return b.Ye(a)}).then(function(b){return b})};_.g.Wxa=function(){throw JO("categoryMetadataQuery");};_.g.t8=function(){throw JO("changeCategoryLinks");};_.g.GP=function(){throw JO("updateCategoryMetadata");};_.g.zHa=function(){throw JO("publishedCategoriesQuery");};_.g.zpa=function(){throw JO("publishedCategoryQuery");};_.g.rMa=function(){throw JO("workspaceFindByIdsRequest");};
_.g.Bsa=function(){throw JO("workspaceQueryRequest");};_.g.JKa=function(){throw JO("suggestedWorkspaceItemQueryRequest");};_.g.wra=function(){throw JO("suggestedWorkspaceQueryRequest");};_.g.$_=function(){throw JO("addCacheHint");};_.g.H0=function(){throw JO("createUserFeedback");};_.g.Uo=function(){throw JO("handleChanges");};var JO=function(a){return new _.kc(a+" is unsupported",_.aL(3))};
var j2c=function(a){IO.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Fu("")};_.O(j2c,IO);j2c.prototype.ab=function(){eO(this.O,["NSockf"],this.VXa.bind(this))};
var Ied=new Set([1,2,4,5,6]),Jed=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.Ue=0};Jed.prototype.Oh=function(){var a=new _.EO;a.Gc(this.status);this.H&&_.Bdd(a,this.H?this.H.clone():null);return a};
var Ked=function(a,b,c,d){d=void 0===d?!1:d;var e=Ied.has(c);if(1===a.status&&!e)return!1;a.Ue=c;var f=a.status;c=!a.H;if(_.IK(a.O)){var h=(h=b&&b.getUser())&&_.uF(h);h=!(!h||!fad(a.ka,h));a.status=h&&e||d?1:6}f=!_.Bk(a.H,b)||(_.IK(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.IK(a.O)||(a.status=e||d?1:6);c&&(fO(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};Jed.prototype.sf=function(){return this.Ue};
var Led=function(a){_.Q.call(this);this.ha=a;this.Ue=0};_.O(Led,_.Q);var Med=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};t6c(a,_.Jd(a,4).map(b));u6c(a,_.Jd(a,5).map(b));return a};_.g=Led.prototype;_.g.Hq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.CQ=function(){};_.g.wD=function(){return 0!==this.Ue};_.g.sf=function(){return this.Ue};
var Ned=new Set([1,2,4,5,6]),Oed=function(a,b,c){Led.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Ep=!1};_.O(Oed,Led);Oed.prototype.Hq=function(){var a=new aO;if(!_.Ua(this.H)){_.jk(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Db(a,2,b)}a.Gc(this.status);return a};Oed.prototype.put=function(a){this.H[a.getId()]=Med(a);this.V.update(1);this.dispatchEvent(new _.xi("Qb",this))};Oed.prototype.remove=function(a){_.Wa(this.H,a)&&this.V.update(1)};
Oed.prototype.CQ=function(a,b,c){c=void 0===c?!1:c;var d=!Ned.has(b);1===this.status&&d||(this.Ue=b,Ped(this,a,!d||c),d||this.V.update(1),this.Ep||(this.Ep=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),fO(this.ha,"nVUlO")))};
var Ped=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Jd(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Fa(f);d=f.length!==a.O.length}a.O=e;var h=_.Za(a.H);_.nUc(a.H);b=_.uk(b,_.DN,2);d||(d=b.length!==_.Qa(h));b.forEach(function(k){var l=Med(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Bk(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.xi("Qb",a))};
var KO=function(a){_.P.call(this);this.context=a;this.yy=new Set;this.Kp=6;this.$Da=!0;this.Ue=0;this.Rc=new _.Ce(this);this.Ma(this.Rc)};_.O(KO,_.P);_.g=KO.prototype;_.g.ji=function(a){this.pSa(a);this.yy.add(a);this.resize(!0);this.PO(a)};_.g.pSa=function(){};_.g.lk=function(a){this.yy.delete(a);0!=this.yy.size||this.g_a()?this.resize(!1):this.dispose()};_.g.sf=function(){return this.Ue};_.g.fj=function(a){this.Ue=a};_.g.gC=function(a){this.$Da=!1;this.Kp=a};_.g.KJ=function(){return this.Kp};
_.g.refresh=function(){};_.g.Qk=function(){};
var Red=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)}}Qed(a.context.Gf,d,b);d.forEach(function(k){bbd(a.context.PNa,k,b);if(k.Dc()){var l=k.getCapabilities();UN(k)?l&&(_.NVc(l,_.L(l,13)),_.KVc(l,!1),_.RVc(l,!1)):cN(k)?(l&&_.B(l,3,!1),_.B(k,30,!1)):l&&(_.VVc(l,!1),_.WVc(l,!1))}k.getCapabilities()||_.dM(k,
new _.nl)})};KO.prototype.resize=function(){};KO.prototype.Cd=function(){};KO.prototype.xl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=dO(e);d=c.Ku(e,!0)||d});b||(1!=this.KJ()&&(d=!0),this.gC(1));d&&this.jY()};var Sed=function(a,b){var c=!1;b.forEach(function(d){c=a.Ku(d)||c});c&&a.jY();return c};_.g=KO.prototype;_.g.update=function(a){return Sed(this,[a])};_.g.Ku=function(){};_.g.jY=function(){var a=this;this.oSa();this.yy.forEach(function(b){a.PO(b)})};_.g.oSa=function(){};
_.g.PO=function(a){var b=Ted(this.context).Ula(a);this.uZa(b)||(b=this.Qk(b),Ted(this.context).PO(a,b))};_.g.iY=function(a){var b=this;this.gC(3);this.yy.forEach(function(c){Ted(b.context).iY(c,a)})};_.g.gA=function(){var a=this;this.yy.forEach(function(b){Ted(a.context).gA(b)});this.fj(0==this.sf()?1:6)};_.g.g_a=function(){return!1};_.g.uZa=function(){return!1};
var Ued=function(a){_.xi.call(this,"Db");this.id=a};_.O(Ued,_.xi);
var Ved=function(a,b,c,d){d=void 0===d?!1:d;_.Q.call(this);this.request=a;this.context=b;this.jMa=d;this.te=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.O(Ved,_.Q);
Ved.prototype.lh=function(){var a=this;if(this.te)return this.te.promise;this.te=_.ei();this.request.jn().forEach(function(b){var c=_.zz(a.request.clone(),[b]),d;a.jMa&&(d={jMa:!0});a.context.Pm().then(function(e){return e.Ye(c,d)}).then(function(e){return void Wed(a,e)},function(e){e=_.tA(e);5===e.ih.ht()||4===e.ih.Ak()?(a.context.hg().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.V.push(b),Xed(a)):a.handleError(e)})});return this.te.promise};
var Wed=function(a,b){b.yd().Id().forEach(function(c){_.WK(c,1);a.W.push(c)});Xed(a)},Xed=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};Ved.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;Yed(this);Zed(this);this.O.size===this.request.jn().length?(this.context.Gf.xl([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.te.resolve(this.items)):this.dispatchEvent("Cb")};
var Yed=function(a){var b=a.W;a.W=[];b=a.context.Gga.H9(b);if(_.CK(_.DK(a.context.Tc))){var c=a.context.Gf.zm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.cM(d,e.zk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.Gf.xl(b,1,a.originalRequest,!0)},Zed=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.XK(_.NK(new _.MK,c));a.context.Gf.Uo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new Ued(c))})};
Ved.prototype.handleError=function(a){var b=new $N(a.ih,_.dk(this.context.Tc.eg(),1,1));this.context.Gf.CB(this.request,b);this.dispatchEvent(b);this.te.reject(a)};
var $ed=function(a,b,c,d){KO.call(this,a);this.Tg=b;this.request=c;this.Td={};this.H=null;this.O=_.SK(a.Tc)||new _.QK;d&&this.xl(d,!0)};_.O($ed,KO);
$ed.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Kp=6;if(_.F(this.request,5,!1))return this.gC(1),_.$h();var b=!this.$Da&&_.F(this.O,3,!1)?!1:!L0c(_.rM(this.Tg),this.request.O()),c=[],d=this.context.Zn();this.request.jn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Td[h],l=k&&k.getItem();if(k=!k||l&&1!==dN(l)||b)l=l&&l.rk(),k=!(l&&_.L(l,2));k&&c.push(h)}});if(0===c.length)return this.xl([],!1),_.$h();this.H=_.ei();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.zz(e,c);var f=new Ved(e,this.context,this.request);this.context.Rj().hf()?(this.Rc.listen(this.context.Rj(),"Ab",function(h){h.hf()||(a.Rc.$c(a.context.Rj(),"Ab"),afd(a,f,a.H))}),this.Kp=0<Object.values(this.Td).length?1:2):(this.context.Bk().hf()&&(this.Kp=0<Object.values(this.Td).length?1:2),afd(this,f,this.H));return this.H.promise};var afd=function(a,b,c){a.Rc.listen(b,"Db",function(d){a.Td[d.id]=null});a.gA();b.lh().then(function(){c.resolve()},c.reject)};
_.g=$ed.prototype;_.g.Zia=function(a){var b=this;if(this.context.wn.equals(a,this.request,!0)){if(L0c(_.rM(this.Tg),a.O()))return!0;if(L0c(this.request.O(),a.O(),_.rM(this.Tg))){if(this.$Da)return!0;if(_.F(this.O,5,!1)&&_.F(this.O,3,!1))return this.request.jn().every(function(c){return(c=b.Td[c])&&_.L(c.getItem(),31)})}}return!1};
_.g.Qk=function(a){var b=new _.zM;_.IK(this.context.Tc)?b.Gc(Y0c(Object.values(this.Td))?6:this.Kp):b.Gc(this.Kp);b.fj(this.sf());b6c(b,_.Oa(this.Td,function(c){return c?c.getItem():null}));Red(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.Cd=function(){return this.request};_.g.Ku=function(a){var b=this.ru(a.O),c=this.ru(a.H);if(b||c)c?(this.Td[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Td[a.id]=null,a.O.count--);else return!1;return!0};
_.g.ru=function(a){return!!a&&_.ma(this.request.jn(),a.getId())};
var bfd=function(a,b){_.xi.call(this,a);this.changes=b};_.O(bfd,_.xi);
var cfd=function(a){var b=new kad;if(a.Sf()){var c=a.Sf();b.H=!1;b.suggestionSessionId=c}a instanceof _.AM&&_.uk(a,_.$k,6).length?(a=_.uk(a,_.$k,6),b.H=!1,b.V=a):a instanceof _.iA&&(a.I6()||a.Qta()||a.Fla().length)&&(c=a.I6(),b.H=!1,b.W=c,c=a.Qta()||!1,b.H=!1,b.incompleteSearch=c,a=a.Fla(),b.H=!1,b.O=a);return b};
var LO=function(a,b,c,d,e){e=void 0===e?"":e;_.Q.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.wa=!1;this.V=[];this.O=!1;this.ka=0;this.La=a.hg();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.wHa(b);this.ha=new kad};_.O(LO,_.Q);var dfd=function(a){return!a.wa||""!==a.nextPageToken},ffd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&dfd(a)?efd(a):_.ni()};LO.prototype.qc=function(){return this.V.length};LO.prototype.H=function(){return this.V.slice()};
var efd=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 _.hi;d.addCallback(function(f){return void gfd(a,c,f)});var e=_.IUc(_.JUc(new _.JK,a.Fa),c);b=_.GUc(new _.CTc,b);a.Ha&&_.B(b,10,!0);_.HUc(e,b);a.wa=!0;a.O=!0;a.context.Pm().then(function(f){return f.Ye(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
LO.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.AM)var c=b;else c=b.yd(),this.nextPageToken=b.Yn()||"";this.ha=cfd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Id())};
LO.prototype.handleError=function(a,b,c){c=_.tA(c);this.O=!1;if(5===c.ih.ht())a.callback([]);else{if(10===c.ih.ht()&&(_.GUc(b,Math.ceil(_.dk(b,1,1E3)/2-2E-15)),1<_.dk(b,1,1E3))){var d=_.HUc(_.IUc(_.JUc(new _.JK,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Pm().then(function(e){return e.Ye(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new $N(c.ih,_.dk(this.context.Tc.eg(),1,1));this.MNa(b);this.dispatchEvent(b);a.Od(c)}};
var gfd=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: ")+(_.KXc(a.request)+" paginationToken: ")+b;b=_.nq(_.lq(_.OK((new _.jc).Ib(2),9),f));a.context.dispatchEvent(new _.lc(new _.kc(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())_.WK(b.value,
a.ma?2:1);c=[];b=_.m(a.K2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.NK(new _.MK,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new bfd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return efd(a);a.dispatchEvent("Fb")};_.g=LO.prototype;_.g.K2a=function(a){return a};_.g.MNa=function(){};_.g.Cd=function(){return this.request};_.g.wHa=function(a){a=a.clone();this.ma&&_.B(a,46,!0);return a};_.g.log=function(a){this.La.info("drive.ds.sync.query.QueryRunner",a)};
var hfd=function(a,b,c,d){LO.call(this,a,b,void 0,c,d)};_.O(hfd,LO);hfd.prototype.K2a=function(a){a=this.context.Gga.H9(a);this.context.Gf.xl(a,1,this.request,dfd(this));return a};hfd.prototype.MNa=function(a){this.context.Gf.CB(this.request,a)};hfd.prototype.wHa=function(a){var b=a=LO.prototype.wHa.call(this,a),c=_.hM(b);0===_.Jd(b,33).length&&1===c.length&&(c=this.context.Gf.zm.H(c[0].Xa()))&&(c=c.Dc())&&(_.VM(b,[c]),_.WM(b,2));ifd(this,a);return a};
var ifd=function(a,b){if(_.hM(b).some(function(d){return(d=a.context.Gf.zm.H(d.Xa()))&&_.L(d,108)})){var c=b.xe();c||(c=new _.lf,_.Ll(b,c));_.mf(c,937)}};
var jfd=function(a,b,c,d){this.context=a;this.Tg=b;this.W=d;this.opa=0;this.H=c},nfd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.WM(_.Kl(_.VM(new _.Ye,[b]),_.rM(a.Tg)),1),d=_.mf(new _.lf,306);_.Ll(c,d);kfd(a);c=new hfd(a.context,c);ffd(c,5E3).addCallback(a.V.bind(a,c));lfd(a);mfd(a,b)}},lfd=function(a){var b=_.Ra(a.H);b=b.filter(function(d){return d instanceof $ed});var c=new Set;b.forEach(function(d){d.Cd().jn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.mf(new _.lf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.HS([].concat(_.jd(c)),b)},mfd=function(a,b){var c=[];(a.context.Gf.EHa.LQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.Bk(e.Cd(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(kfd(a),c.forEach(function(d){d=WN(a.context.wn,d.Cd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.fi(_.ci(c.map(function(d){return d.refresh().Og(_.Ff)})),a.O.bind(a)))};
jfd.prototype.HS=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.Zd(f)});if(0===a.length)return _.$h({});a=_.B(_.yz(_.zz(new _.xz,a),d||_.rM(this.Tg)),7,!0);_.Az(a,b);e&&e.length&&_.Db(a,11,e);kfd(this);b=new Ved(a,this.context,void 0,c);return _.fi(b.lh(),this.V.bind(this,b))};jfd.prototype.V=function(a){a.dispose();this.O()};var kfd=function(a){a.opa++;a.context.Qs.setActive(!1)};jfd.prototype.O=function(){this.opa--;0===this.opa&&this.context.Qs.setActive(!0)};
jfd.prototype.log=function(a){this.context.hg().info("drive.ds.sync.cache.CacheRefresher",a)};
var ofd=function(a,b,c){_.P.call(this);this.context=a;this.H=b;this.request=c;this.O=this.te=null;a=new _.lf;_.of(a,!1);_.mf(a,305);_.Ll(this.request,a);this.Rc=new _.Ce(this);this.Ma(this.Rc)};_.O(ofd,_.P);
ofd.prototype.lh=function(){if(!this.te){this.te=_.ei();if(_.F(this.request,48,!1))return this.H.fj(9),this.te.resolve(this.H),this.te.promise;this.O=new LO(this.context,this.request,!0);this.Rc.listen(this.O,"Cb",this.W);this.Rc.listen(this.O,"Fb",this.V.bind(this));this.Rc.listen(this.O,"Gb",this.te.reject.bind(this.te));ffd(this.O,this.request.Ui())}return this.te.promise};ofd.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(dO(new SN(b)))};
ofd.prototype.V=function(){this.H instanceof gO?this.H.H=!dfd(this.O):dfd(this.O)&&n$c(this.H);this.H.fj(5);this.te.resolve(this.H)};
var qfd=function(a,b){_.xi.call(this,pfd);this.cache=a;this.changes=b};_.O(qfd,_.xi);var pfd="Rb";
var rfd=function(a,b){return new _.Zh(function(c,d){b.then(function(e){var f={};a.yz().forEach(function(h){var k=h.getId();d1c(h.getItem());f[k]=new SN(h.getItem())});e.items.forEach(function(h){var k=h.Nc();k=f[k];h.Ck()?k&&a.update(new i$c(k.getId(),k,null)):(h=h.getItem(),d1c(h),a.update(j$c(k,new SN(h))))});a.a4();c(e.gLb)},d)})};
var sfd=function(a,b){_.P.call(this);this.context=a;this.Tg=b};_.O(sfd,_.P);
sfd.prototype.lh=function(a){this.log("Running initial view populator (IVDP).");try{var b=new RN(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.bL(q));return}a=_.DK(this.context.Tc);if(!_.CK(a)){var c=b.Oh();if(c){var d=c.getUser();d&&d.getId()===_.H(a,6,"")&&Ked(this.context.rQ,c,4)}(a=b.Zn())&&this.context.Fu(a,6)}var e=_.C(b,3)||void 0;e&&tfd(this.context,e,!0);if((a=_.uk(b,_.Mp,9))&&a.length){c=(c=this.context.Tc.eg())&&_.Jd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&q.kt())&&f.add(q)});this.context.pE.CQ(a,4,[].concat(_.jd(f.values())))}a=b.Id();a.forEach(function(q){_.VUc(q);_.WK(q,6)});if(c=_.uk(b,QN,5)[0])if(b=this.context.wn,S0c(_.rM(this.Tg),c.getQuery().O(),_.kM(this.context.Tc)))if((d=c.getQuery().Cc())&&4===d.getType()&&!_.sRc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=VN(b,c.getQuery());var h=_.C(c,2)||void 0;d.yi(h);h=a.map(function(q){return new SN(q,void 0,1,e)});var k=_.E(c,_.sl,
3);if(k&&_.C(c,2)){var l=h[h.length-1];_.WK(k,6);if(!_.Bk(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.SK(this.context.Tc))&&_.F(k,2,!1)&&c.Yn()||"";var p=new gO(this.context.Aw,this.context.xy,this.context.wn,d,l,c);p.fj(4);h.forEach(function(q){p.update(dO(q))});ufd(this.context.Gf,p);l=p.Cd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+WN(b,l));b=new _.JK;_.JUc(b,l);l=_.TYc(this.context.NA,
b,"IVDP");_.UYc(l,a);fO(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+d9c(b,c.getQuery().O()));else this.handleError("No initial query found")};sfd.prototype.handleError=function(a,b){var c=b?void 0:_.nq(_.OK((new _.jc).Ib(2),6));b=new _.kc(a,c,b);this.context.yJ(b.ih);this.log("Initial view dump population failed. Message: "+a);fO(this.context.Oj,"DEJoH")};sfd.prototype.log=function(a){this.context.hg().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var vfd=function(a){_.Q.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new iO(a.Aw,a.xy,a.Oj,function(){return a.Zn()})};_.O(vfd,_.Q);var wfd=function(a,b){var c=_.dk(a.context.Tc,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?(n$c(a.O),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.NA.Lb("CachedCorpusType",b)};
vfd.prototype.log=function(a,b){this.context.hg().log(this.W,a,b||"info")};var xfd=function(a,b){0===a.V&&(a.V=b)};
var yfd=function(a,b){var c;if(c=!!b&&!!b.uh())a=a.Nm(),c=null==a||!!b.uh().Nm()==a;return c};
var zfd=function(a,b){_.Q.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.O(zfd,_.Q);zfd.prototype.lh=function(){return this.H||this.O&&""===this.nextPageToken?_.ni():Afd(this)};zfd.prototype.qc=function(){return this.V.length};
var Afd=function(a){a.O=!0;a.H=!0;var b=k4c(l4c(new _.SL,a.request),a.nextPageToken),c=_.TYc(a.context.NA,b);return _.oi(a.context.Pm().then(function(d){return d.Ye(b)}).then(function(d){var e=d.yd().Id();a.nextPageToken=d.Yn()||"";Bfd(a,c,e)},function(d){return void a.handleError(d)}))},Bfd=function(a,b,c){_.UYc(b,c);for(b=0;b<c.length;b++)_.WK(c[b],1);a.context.Gf.xl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.NK(new _.MK,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new bfd("Cb",d));a.nextPageToken?Afd(a):(a.H=!1,a.dispatchEvent("Fb"))};zfd.prototype.handleError=function(a){this.H=!1;a=new $N(_.PK(a),_.dk(this.context.Tc.eg(),1,1));this.dispatchEvent(a)};zfd.prototype.Cd=function(){return this.request};
var Cfd=function(a){this.H=_.tRc(a,{numeric:!0})};Cfd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Cfd.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ga(a.getId(),b.getId()):c};
var Dfd=function(a,b,c,d){d=void 0===d?!1:d;KO.call(this,a);this.Tg=b;this.Td=[];this.te=null;this.request=c.clone();this.Bv=new zfd(a,this.request);this.OPb=new Cfd(oN(_.DK(a.Tc)));this.bX=null!=_.L(this.request,6);_.te(this,this.mnb,this);d&&(this.te=_.ei(),this.te.resolve())};_.O(Dfd,KO);_.g=Dfd.prototype;_.g.refresh=function(){3===this.Kp&&(this.Kp=6,this.te=null);return this.xda()};_.g.isInitialized=function(){return!!this.te};
_.g.xda=function(){var a=this;if(this.isInitialized())return this.te.promise;this.te=_.ei();this.context.Rj().hf()?this.Rc.listen(this.context.Rj(),"Ab",function(b){b.hf()||(a.Rc.$c(a.context.Rj(),"Ab"),a.gA(),a.Bv.lh().Vf(a.te.resolve,a.te.reject,a.te))}):this.context.Bk().hf()?this.Rc.wd(this.context.Bk(),[_.uA.HL,_.uA.MU],function(){a.gA();a.Bv.lh().Vf(a.te.resolve,a.te.reject,a.te)}):(this.gA(),this.Bv.lh().Vf(this.te.resolve,this.te.reject,this.te));return this.te.promise};_.g.resize=function(){};
_.g.Cd=function(){return this.request};_.g.yz=function(){return this.Td};_.g.Zia=function(a){return this.context.wn.equals(a,this.request)};_.g.Qk=function(a){a=a.Ui();this.OPb.sort(this.Td);var b=F1c(_.ya(this.Td,0,Math.min(a,this.Td.length)));Red(this,J4c(this.Tg),b);var c=new _.iA;c.Nw(b);c.Gc(this.kya(a));c.fj(this.sf());M3c(c,a<this.Td.length||!(this.context.Rj().hf()||this.context.Bk().hf())&&1!==this.Kp);return c};
_.g.kya=function(a){return 1===this.Kp||a<=this.Td.length?1:this.context.Rj().hf()||this.context.Bk().hf()?0<this.Td.length?1:2:6};_.g.xl=function(a,b){this.isInitialized()&&KO.prototype.xl.call(this,a,b)};_.g.Ku=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Td,function(h){return h.getId()===c}),e=!!d;b=this.ru(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.TLa(f,a.H):this.vJ(f):this.SR(a.H);else return!1;return!0};_.g.SR=function(a){this.Td.push(a);a.count++};
_.g.vJ=function(a){_.sa(this.Td,a);a.count--};_.g.mAa=function(a){return _.la(this.Td,a)};_.g.TLa=function(a,b){this.Td[this.mAa(a)]=b;b.count++;a.count--};_.g.ru=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.bX&&null!=_.L(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Td.find(function(d){return c===d.getId()},this);a=UN(a.getItem())&&yfd(this.request,a.getItem());return b&&a}return UN(a.getItem())&&yfd(this.request,a.getItem())};_.g.mnb=function(){this.Td.forEach(function(a){a.count--})};
_.g.g_a=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Qd=function(){return this.Td.length};_.g.a4=function(){this.Kp=1};
var Efd=function(a){this.H=a},Ffd=function(a,b,c,d,e){if(0===e||null===b){var f=new hdd;_.B(f,2,b);_.B(f,1,d);return _.$h(f)}var h=x9c();_.B(h,2,b);c&&_.B(h,3,c);return a.H.then(function(k){return k.Ye(h)}).then(function(k){var l,p=null!==(l=k.jy())&&void 0!==l?l:null;k=d+_.C(k,1);return Ffd(a,p,c,k,e-1)})};
var Gfd=function(a,b){vfd.call(this,a);this.Tg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.MD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Tc};_.O(Gfd,vfd);Gfd.prototype.handleError=function(){this.log("Local dump population failed.");fO(this.context.Oj,"mrK8ic")};
Gfd.prototype.lh=function(){var a=this;if(this.ka)return this.ka;if(this.context.VQ){var b=new _.hi;this.ka=b;this.initialize().then(function(){var c=_.uk(_.pN(a.H),nN,11);c=c[0]&&c[0].getKey()||"";return Hfd(a,a.context.VQ,c,4)}).Og(function(c){if(_.F(a.H,8,!0))return Ifd(a);throw c;}).then(function(){_.IK(a.H)||a.context.Gf.jr.H.clear();fO(a.context.Oj,"zaOY7");b.callback()},function(c){xfd(a,8);a.handleError();b.Od(c)});return b}this.handleError();return _.pi(Error("Zf"))};
Gfd.prototype.initialize=function(){var a=this;return this.context.VQ.initialize().then(function(){if(!_.lM(a.H)){var b=_.dk(_.pN(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Zh(function(c,d){ucd(a.context.FD).then(function(e){e?c():d(Error("$f"))})})}})};
var Hfd=function(a,b,c,d){var e=a.ha;Jfd(a,b,c,e);Kfd(a,b,c,e);Lfd(a,b,c,e);return Mfd(a,b,c,e).then(function(){return Promise.all([Nfd(a,b,c,d,e),Ofd(a,b,c,d,e),Pfd(a,b,c,d,e),Qfd(a,b,c,d,e)])})},Jfd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};rO(b,c,0,void 0,d,a.MD).then(function(f){f[0]?Ked(a.context.rQ,f[0],a.sf(),_.lM(a.H)):e()},function(){return e()})},Kfd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};rO(b,
c,1,void 0,d,a.MD).then(function(f){f[0]?a.context.n_.CQ(f[0],a.sf(),_.lM(a.H)):e()},function(){return e()})},Lfd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};rO(b,c,5,void 0,d,a.MD).then(function(f){if(f[0]){f=f[0];var h=_.uk(f,_.Mp,1);h.length&&a.context.pE.CQ(h,a.sf(),_.Jd(f,2),_.lM(a.H))}else e()},function(){return e()})},Nfd=function(a,b,c,d,e){var f=new _.yo;rO(b,c,3,1,e,a.MD).then(function(h){return Rfd(a,h[0])}).then(function(h){if(h){b!==a.context.VQ||
S0c(_.Jd(h,12),_.rM(a.Tg),_.kM(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Qs.AS());var k=_.C(h,3);if(!k||0>k)throw Error("cg");a.context.Fu(h.Zn(),d);k=_.C(h,3);"number"===typeof k&&tfd(a.context,Number(k));_.lM(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.nFa());a.xl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},Ofd=function(a,b,c,d,e){var f=new _.yo;rO(b,c,3,2,e,a.MD).then(function(h){h[0]?
(a.xl(h[0],d),f.resolve()):f.reject(Error("ag"))},f.reject,f);return f.promise},Pfd=function(a,b,c,d,e){var f=new _.yo;rO(b,c,3,4,e,a.MD).then(function(h){h.forEach(function(k){a.xl(k,d)});f.resolve()},f.reject,f);return f.promise},Qfd=function(a,b,c,d,e){var f=new _.yo;rO(b,c,3,3,e,a.MD).then(function(h){h.length?h.forEach(function(k){a.xl(k,d)}):fO(a.context.Oj,"rVezo");f.resolve()},f.reject,f);return f.promise},Mfd=function(a,b,c,d){var e=new _.yo;rO(b,c,6,void 0,d,a.MD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,h.eu().length&&(a.log("Importing "+h.eu().length+" people into the PeopleCache."),h=h.eu(),M$c(a.context.Gf.jr.H,h,2));e.resolve()},e.reject,e);return e.promise},Rfd=function(a,b){var c=_.C(b,3);if(c&&!_.lM(a.H)){var d=new Efd(a.context.Pm()),e=_.dk(_.pN(a.context.Tc),13,5);return Ffd(d,c,null,0,e).then(function(f){return _.T(f,2)?(a.log("Encrypted dump too stale."),a.context.Yk().O(106007),xfd(a,9),null):b},function(){return b})}return _.$h(b)},Ifd=
function(a){var b=sO(a.context.PL.Ii()),c=_.uk(_.pN(a.H),nN,11).filter(function(d){return d.ws()});return mcd(_.jM(_.DK(a.H)),_.kM(a.H),_.dk(_.pN(a.H),10,0)||0,_.rM(a.Tg),a.ha||0,c.map(function(d){return _.C(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.C(k,1)}),f=new tO(_.$h(d),a.context.hg(),null,!0),h=new nbd(f,a.H,function(k){a.context.yJ(k)});h.initialize();a.ma=!0;return Hfd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([rcd])}).then(function(k){if(k[0])return k=
k[0].Xa(),a.context.FD.set(rcd,k)}).then(function(){f.close()})}return _.bi(Error("bg"))})},Vfd=function(a,b,c){switch(b.kv()){case 1:return Sfd(a,b,c);case 2:b=_.E(b,R1c,11);if(!b)throw Error("dg");wfd(a,b);a.O.ZN?(a.O.fj(a.sf()),a=[{cache:a.O,changes:pO(a.context.oz,null)}]):a=[];return a;case 3:return Tfd(a,b);case 4:return Ufd(a,b);default:return null}},Sfd=function(a,b,c){var d=[];_.uk(b,QN,5).forEach(function(e){var f=void 0,h=_.E(e,_.sl,3);h&&(_.VUc(h),_.L(a.H,67)&&G0c(h,V0c),_.WK(h,c),f=new SN(h));
var k=e.getQuery();if(!_.F(k,48,!1)||_.uk(a.H,_.Ye,44).some(function(l){if(!_.F(l,48,!1))return!1;l=VN(a.context.wn,l,!0);return _.Bk(l,k)}))e=new gO(a.context.Aw,a.context.xy,a.context.wn,k,f),e.fj(a.sf()),d.push({cache:e,changes:pO(a.context.oz,null)})});return d},Ufd=function(a,b){return _.uk(b,QN,5).map(function(c){c=new Dfd(a.context,a.Tg,_.E(c,_.wK,5),!0);c.fj(a.sf());return{cache:c,changes:pO(a.context.oz,null)}})},Tfd=function(a,b){var c=_.Jd(_.uk(b,QN,5)[0].getQuery(),33)[0],d=_.C(b,3)||
void 0;b=pO(a.context.oz,c);MO(a.context).addCallback(function(f){f.Rwa(c,d)});var e=new jO(a.context.Aw,a.context.xy,c);e.fj(a.sf());return[{cache:e,changes:b}]};
Gfd.prototype.xl=function(a,b){var c=this,d=Vfd(this,a,b);d&&0!==d.length?(a.Id().forEach(function(e){_.VUc(e);_.L(c.H,67)&&G0c(e,V0c);_.WK(e,b);if(!_.IK(c.H)&&!c.context.Gf.jr.H.wc()){var f=c.context.Gf.jr;cad(f,lO(f,[e]))}e=new SN(e);for(f=0;f<d.length;f++)d[f].cache.update(dO(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new qfd(f,e.changes));c.log("Imported "+f.Qd()+" items into the "+f.getType());var h=null;f instanceof jO&&(h=f.Dc());c.context.Yaa.promise.then(function(){Kad(c.context.oz,
h)})}),1===a.kv()&&fO(this.context.Oj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.kv()+".")};Gfd.prototype.sf=function(){return this.ma?7:3};
var Wfd=function(a){_.P.call(this);this.context=a};_.O(Wfd,_.P);Wfd.prototype.lh=function(a){try{Xfd(this,new add(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var Xfd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:Yfd(a,b);break;case 4:Zfd(a,b);break;case 6:$fd(a,b);break;case 2:agd(a,b);break;case 7:bgd(a,b);break;case 5:_.uk(_.E(b,cdd,7),add,1).forEach(function(c){Xfd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},Yfd=function(a,b){var c=_.E(b,_.Ye,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.JK;_.JUc(d,c);b=a.context.yR().gua.ME(d,{headers:{},text:"",json:b}).yd();
cgd(a,c,b)},$fd=function(a,b){cgd(a,_.E(b,_.Ye,2),_.E(b,_.iA,9))},cgd=function(a,b,c){for(var d=c.Id(),e=_.m(d),f=e.next();!f.done;f=e.next())_.WK(f.value,7);c=cfd(c);a=a.context.Gf;b=VN(a.context.wn,b);e=NO(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.H[e];f||(f=new OO(a.context,b),f.fj(2),a.H[e]=f);c.wc()||f.fua(c);a.xl(d,1,b)},agd=function(a,b){b=_.E(b,_.Ny,5);var c=a.context.Tc.eg();c=c&&_.Jd(c,30)||[];var d=new Set(c);_.uk(b,_.Mp,3).forEach(function(e){(e=(e=e.getKey())&&
e.kt())&&d.add(e)});a.context.pE.CQ(_.uk(b,_.Mp,3),2,[].concat(_.jd(d.values())))},Zfd=function(a,b){a.context.Hga.b3(_.E(b,cO,8).Sk(),_.E(b,_.fz,6),2,!1)},bgd=function(a,b){var c=_.E(b,_.hF,10);b=JSON.parse(_.C(b,3)||"{}");b=a.context.yR().gua.ME(c,{headers:{},text:"",json:b});ued(a.context).b3([b],c,2,!1)};Wfd.prototype.handleError=function(a,b){var c=b?void 0:_.nq(_.OK((new _.jc).Ib(2),6));this.context.dispatchEvent(new _.lc(new _.kc(a,c,b)));this.log("Prefetched request population failed.")};
Wfd.prototype.log=function(a){this.context.hg().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var PO=function(a){vfd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.dk(a.Tc,31,2E4))};_.O(PO,vfd);PO.prototype.lh=function(){if(!_.F(this.context.Tc,45,!1))return xfd(this,5),this.handleError(),_.pi(Error("eg"));this.log("Drive SDK cache population initiated.");return this.context.wWa().addCallback(this.wa,this).addCallback(this.ta,this).Jg(this.handleError,this)};
PO.prototype.wa=function(){var a=this;fO(this.context.Oj,"L6uQWd");MO(this.context).addCallback(function(b){b.cfa()});if(_.F(this.context.Tc,46,!1))return Q1c(this.context.Pm(),this.context.hg()).addCallback(function(b){if(!b)throw xfd(a,4),Error("fg");wfd(a,b)});this.log("Subscribed corpus cache population disabled.");n$c(this.O);return _.ni()};
PO.prototype.ta=function(){this.context.nFa();var a=new _.hi;if(this.O.ZN){this.log("Starting subscribed corpus cache population.");var b=this.O.Cd();b.yi(this.ma);this.O.fj(5);dgd(this,this.O,b)}b=_.uk(this.context.Tc,_.Ye,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new gO(this.context.Aw,this.context.xy,this.context.wn,c.value),c.fj(5),dgd(this,c,c.Cd()),c=WN(this.context.wn,c.Cd()),this.log("Starting "+c+" cache hint corpus cache population.");_.ci(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var dgd=function(a,b,c){var d=pO(a.context.oz,null);b=new ofd(a.context,b,c);a.H.push(b);b=_.fi(b.lh().then(function(e){!e.ZN&&e instanceof iO&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.NA.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new qfd(e,d))}),function(){a.context.Yaa.promise.then(function(){Kad(a.context.oz,null)})});a.ha.push(b)};
PO.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();xfd(this,7);c=b;b instanceof $N?c=_.bL(b.error):_.HK(b)||(c=Error("gg`"+b));a.Od(c)};PO.prototype.handleError=function(){this.log("Drive SDK cache population failed.");fO(this.context.Oj,"Gv4zef")};PO.prototype.sf=function(){return 5};
var egd=function(a,b){_.P.call(this);this.context=a;this.V=b;this.Rc=new _.Ce(this);this.impression=null;this.W=[];this.Ma(this.Rc);this.H=new Gfd(this.context,this.context.Tg);this.Ma(this.H);this.O=new PO(this.context);this.Ma(this.O)};_.O(egd,_.P);
egd.prototype.lh=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Yk().H(106002);_.n._DRIVE_dsp&&fgd(this);_.n._DRIVE_dspc=function(c){fgd(a,c)};pO(this.context.oz,null);_.F(this.context.Tc,24,!1)&&!_.lM(this.context.Tc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?ggd(this):_.n._DRIVE_ivdc=function(){ggd(a)});var b=this.context.VQ;if(b)return this.Rc.listen(this.H,pfd,this.ha),this.Rc.listen(this.O,pfd,this.ha),(!_.F(this.context.Tc,10,!1)&&_.L(this.context.Tc,
69)?this.context.ZX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.MD=a.impression);return a.H.lh().Vf(function(){return hgd(a,a.H.sf())},function(){igd(a,a.H.sf(),a.H.V);return _.lM(a.context.Tc)?a.handleError(Error("hg")):a.O.lh().then(function(){return hgd(a,a.O.sf())},function(c){igd(a,a.O.sf(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.HK(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var fgd=function(a,b){var c=new Wfd(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.lh(d)});c.dispose()};egd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(jgd(this,b,a.changes))};
var hgd=function(a,b){Kad(a.context.oz,null);fO(a.context.Oj,"L6uQWd");MO(a.context).addCallback(function(c){c.cfa()});return Promise.all(a.W).then(function(){kgd(a,b)})},kgd=function(a,b){if(!a.isDisposed()){_.lM(a.context.Tc)||lgd(a.V,_.uk(a.context.Tc,_.Ye,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Qs.oFa():ucd(a.context.FD).then(function(d){d&&a.context.Qs.oFa()},function(){});fO(c,"rVezo");fO(c,"BNEDtc");a.impression&&(b=_.yM(_.RTc,
b),C4c(L4c(a.impression),b),B4c(L4c(a.impression),!0),D4c(L4c(a.impression),T8c(a.V.zm)),E4c(L4c(a.impression),a.context.Gf.kv()),a.impression.ek());a.dispose()}},igd=function(a,b,c){a.impression&&(b=_.yM(_.RTc,b),C4c(L4c(a.impression),b),a=L4c(a.impression),_.sk(a,3,c,void 0))};
egd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Kad(this.context.oz,null);var c=this.context.Oj;fO(c,"L6uQWd");MO(this.context).addCallback(function(d){d.cfa()});fO(c,"mrK8ic");fO(c,"Gv4zef");fO(c,"rVezo");fO(c,"BNEDtc");this.context.NA.Lb("CachedCorpusType","partialCorpus");c=!!this.H.context.VQ||_.F(this.O.context.Tc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.HK(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.kc(b,void 0,c),c=a.ih,c.Ib(_.lM(this.context.Tc)?3:1),
_.OK(c,6),_.lq(c,b),_.nq(c),this.context.dispatchEvent(new _.lc(a))):this.log("Corpus population skipped");this.impression&&(B4c(L4c(this.impression),!1),this.impression.ek());this.dispose()};
var jgd=function(a,b,c){return rfd(b,c).then(function(d){d.some(function(e){return b instanceof jO&&e.Ck()&&e.Nc()===b.Dc()})||ufd(a.V,b,d)},function(){return a.handleError(Error("ig"))})},ggd=function(a){if(_.n._DRIVE_ivd){var b=new sfd(a.context,a.context.Tg);a.Ma(b);b.lh(_.n._DRIVE_ivd)}else fO(a.context.Oj,"DEJoH")};egd.prototype.log=function(a){this.context.hg().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var mgd=function(){hO.apply(this,arguments)};_.O(mgd,hO);mgd.prototype.ru=function(a){var b;if(b=hO.prototype.ru.call(this,a))a=a&&a.getItem()&&a.getItem().rk(),b=!(!a||!_.L(a,3));return b};mgd.prototype.Cd=function(){};mgd.prototype.getType=function(){};mgd.prototype.XR=function(){};
var ngd=function(a,b){this.context=a;this.H=b;this.LQ={}},pgd=function(a,b){if(!_.zL(b)){var c=_.Jd(b,33);if(1===c.length)ogd(a,c[0],b);else{c=_.hM(b);if(1===c.length&&!_.F(c[0],2,!1)){var d=c[0].Xa();c=a.H.get(d);if(!c){c=a.context.Gf.NL;var e=_.mf(new _.lf,310);c.HS([d],e).then(function(f){if((f=f[d])&&f.Dc()){var h=f.getCapabilities();h&&_.fe(h)&&(f=f.Dc(),ogd(a,f,b))}else ogd(a,null,b)});return}if(c.getItem().Dc()&&_.fe(c.getItem().getCapabilities())){c=c.getItem().Dc();ogd(a,c,b);return}}ogd(a,
null,b)}}},ogd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!UN(d.getItem()))return}d=b||"subscribed";a.LQ[d]||(a.LQ[d]=[]);a.LQ[d].push(c);b&&(MO(a.context).addCallback(function(e){e.Rwa(b)}),qgd(a.context.VKa,b))},rgd=function(a,b){if(!_.zL(b)){var c={},d;for(d in a.LQ){c.$T=d;for(var e=0;e<a.LQ[c.$T].length;e++)if(_.Bk(b,a.LQ[c.$T][e])){_.ra(a.LQ[c.$T],e);"subscribed"!==c.$T&&MO(a.context).addCallback(function(f){return function(h){h.gIa(f.$T,!1)}}(c));return}c={$T:c.$T}}}};
var sgd=function(){this.H=new Map;this.O=[];this.V=[]};
sgd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();bN(e)&&(a?(e=a.getItem().Hf())&&_.C(e,1)&&(1===_.Pd(e)||3===_.Pd(e))&&(e=_.C(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Bk(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var tgd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},ugd=function(a){a.O=[];a.V=[]};
var vgd=function(a,b){qO.call(this,a.clone(),b.Pm(),b.Tc,b.hg());this.context=b};_.O(vgd,qO);vgd.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=a.clone();d=_.jk(d,2,[c]);b.set(c,d)});return b};vgd.prototype.V=function(a){a=a.Id()[0];this.context.Gf.xl([a],1,void 0,!0,this.request.O())};vgd.prototype.ha=function(a){this.context.Gf.xl([],1,a,!1,this.request.O())};vgd.prototype.ka=function(a){a=_.XK(_.NK(new _.MK,a));this.context.Gf.Uo([a])};
var wgd=function(a,b,c,d){KO.call(this,a);this.Tg=b;this.request=c;this.Td={};d&&this.xl(d,!0)};_.O(wgd,KO);_.g=wgd.prototype;
_.g.refresh=function(){var a=this;this.Kp=6;var b=TN(this.context.Tc)!==TN(this.context.Tc,this.request.O()),c=[];this.request.jn().forEach(function(h){var k=a.Td[h];k&&k.getItem().uh()&&!b||c.push(h)});if(0===c.length)return this.xl([],!1),_.$h();var d=this.request.clone();_.jk(d,2,c);var e=new vgd(d,this.context),f=_.ei();this.context.Rj().hf()?(this.Rc.listen(this.context.Rj(),"Ab",function(h){h.hf()||(a.Rc.$c(a.context.Rj(),"Ab"),a.gA(),e.lh().then(f.resolve,f.reject,f))}),this.Kp=0<_.Qa(this.Td)?
1:2):(this.context.Bk().hf()&&(this.Kp=0<_.Qa(this.Td)?1:2),this.gA(),e.lh().then(f.resolve,f.reject,f));return f.promise};_.g.Zia=function(a){return this.context.wn.equals(a,this.request)&&L0c(_.rM(this.Tg),a.O())};_.g.Qk=function(a){var b=new _.zM;b.Gc(this.Kp);b.fj(this.sf());b6c(b,_.Oa(this.Td,function(c){return c?c.getItem():null}));Red(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.Cd=function(){return this.request};
_.g.Ku=function(a){var b=this.ru(a.O),c=this.ru(a.H);if(b||c)c?(this.Td[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Td[a.id]=null,a.O.count--);else return!1;return!0};_.g.ru=function(a){return!!a&&this.request.jn().includes(a.getId())};
var OO=function(a,b,c,d,e){KO.call(this,a);var f=this;this.V=0;this.Td=[];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.Bv=new hfd(this.context,this.request,!1,e);b=this.request.Cc()&&V8c(this.request.Cc());var h=this.context.xy;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.bX=!b||!M8c(this.request)||_.CK(_.DK(a.Tc));this.Fa=s$c(this.request);
c&&this.xl(c,!d);this.wa=_.dk(a.Tc.eg(),16,36E5);_.WL(this.request)&&this.Rc.listen(this.context.oia,"Hb",this.Ha);_.te(this,function(){_.aa(f.Bv);f.clear()})};_.O(OO,KO);OO.prototype.refresh=function(){return xgd(this,!1)};var xgd=function(a,b){a.Kp=6;if(_.F(a.request,48,!1))return a.Kp=1,_.$h();if(_.WL(a.request)){var c=ygd,d=a.context.oia.H;d=Math.max(Date.now()-d,a.wa);c(a,Math.min(d,2592E5))}return zgd(a,b)};
OO.prototype.initialize=function(){return this.count>=this.request.Ui()||1===this.Kp?_.$h():this.refresh()};OO.prototype.clear=function(){Agd(this)};var Agd=function(a){a.Td.forEach(function(b){b.count--});a.count=0;a.Td=[];a.O.clear()},ygd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return xgd(a,!0)},b)};OO.prototype.Ha=function(){Date.now()-this.ta>this.wa&&ygd(this,0)};
var zgd=function(a,b){a.Bv&&(a.Rc.$c(a.Bv,"Eb",a.fua),a.Rc.$c(a.Bv,"Fb",a.NNa),a.Bv.dispose());var c=a.request.xe();c&&_.of(c,!1);a.Bv=new hfd(a.context,a.request,b);a.V=0;a.Rc.listen(a.Bv,"Eb",function(){return a.fua(a.Bv.ha)});a.Rc.listen(a.Bv,"Fb",a.NNa);return a.xda()};
OO.prototype.xda=function(){var a=this,b=_.ei();this.context.Rj().hf()?this.Rc.listen(this.context.Rj(),"Ab",function(c){c.hf()||(a.Rc.$c(a.context.Rj(),"Ab"),Bgd(a,b))}):this.context.Bk().hf()?this.Rc.wd(this.context.Bk(),[_.uA.HL,_.uA.MU],function(){Bgd(a,b)}):Bgd(this,b);return b.promise};var Bgd=function(a,b){a.gA();var c=a.request.Ui()+a.V;_.Tja(ffd(a.Bv,c).Vf(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=OO.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.jd(this.yy)))),d=c.next();!d.done;d=c.next())d=d.value,d=Ted(this.context).Ula(d),b=Math.max(b,d.Ui());_.WL(this.request)?(this.request.yi(b),2!==this.sf()&&!this.Bv.O&&(b>this.count||a)?this.refresh():this.DJ()):this.request.Ui()!==b&&(this.request.yi(b),b>this.count?this.xda():this.DJ())};_.g.Cd=function(){return this.request};_.g.Zia=function(a){return this.context.wn.equals(a,this.request)};
_.g.Qk=function(a){var b=a.Ui(),c,d=!1;if(_.AL(this.request)){var e=this.Td.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=_.wl(k.getItem()).filter(function(l){return h.includes(_.E(l,_.$k,1).getId())});k=k.clone();P0c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.wl(l.getItem()).length})}d=Y0c(e);c=new _.AM;_.B(c,4,!1);c5c(c,f)}else e=this.Td.slice(0,b),c=new _.iA,M3c(c,b<this.Td.length||!(this.context.Rj().hf()||
this.context.Bk().hf())&&1!==this.Kp),_.A(c,7,this.ka),_.B(c,8,this.incompleteSearch),_.jk(c,18,this.ha),d=Y0c(e);e=F1c(e);Red(this,a.O(),e);c.Nw(e);c.Gc(d?6:this.kya(b));c.fj(this.sf());c.ZP(this.suggestionSessionId);return c};_.g.kya=function(a){return 1===this.Kp||a<=this.count?1:this.context.Rj().hf()||this.context.Bk().hf()?0<this.Td.length?1:2:6};_.g.fua=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.KBa();this.W=a.V;this.suggestionSessionId=a.Sf()};
_.g.NNa=function(){var a=this.request.Ui()-this.count;0<a&&dfd(this.Bv)&&(this.V+=a,this.xda())};_.g.xl=function(a,b){_.WL(this.request)&&Agd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=dO(d.value),c=this.Ku(d,!0)||c;b||(1!==this.Kp&&(c=!0),this.Kp=1);if(a=this.H){a:{a=this.Td;d=this.H||_.Ga;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.Nn("ViewCache unsorted after import"),this.context.xy.sort(this.request,this.Td));c&&(this.jY(),Cgd(this,b))};
var Cgd=function(a,b){_.hM(a.request).length&&a.Td.length&&a.context.m_.then(function(c){var d=R4c(a.context.Yk(),106024,a.ma);if(d){var e=_.hM(a.request)[0].Xa(),f=_.E(_.xM(d),x4c,18);if(!f){f=new x4c;var h=_.xM(d);_.A(h,18,f)}f=_.B(f,1,!b);c=_.B(f,2,c===e).Ct(a.Td.length);e=a.context.Gf.kv();_.B(c,4,e);a.ma=d;d.ek()}})};_.g=OO.prototype;
_.g.Ku=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.ru(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Nn("Updating different wrapper from the existing one"):this.Nn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.TLa(f,a.H):(this.vJ(f),_.WL(this.request)&&ygd(this,0));else{if(_.WL(this.request)&&!b)return!1;this.SR(a.H)}else return!1;return!0};_.g.SR=function(a){this.H?B0c(this.Td,a,this.H):this.Td.push(a);a.count++;Dgd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.vJ=function(a){if(this.H){var b=this.Td,c=_.Ha(b,a,this.H);0<=c&&_.ra(b,c)}else _.sa(this.Td,a);a.count--;Dgd(a)&&this.count--;this.O.delete(a.getId())};_.g.mAa=function(a){return this.H?_.Ha(this.Td,a,this.H):_.la(this.Td,a)};_.g.TLa=function(a,b){this.H&&0!==this.H(a,b)?(this.vJ(a),this.SR(b)):(this.Td[this.mAa(a)]=b,b.count++,Dgd(b)&&this.count++,a.count--,Dgd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.ru=function(a,b){if(!a)return!1;if(this.bX&&!_.WL(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Td.find(function(e){return c===e.getId()},this);a=N8c(this.context.Aw,this.request,a.getItem());return b&&a}}if(!N8c(this.context.Aw,this.request,a.getItem()))return!1;var d=1.2*this.request.Ui();if(1===this.Kp||!this.H||v8c(a.H,2)||this.count<d||b||e1c(a.getItem()))return!0;b=0===this.Td.length?null:this.Td[this.Td.length-1];return!!b&&0>=this.H(a,b)};
_.g.DJ=function(){if(1!==this.Kp&&!this.context.Rj().hf()&&!this.context.Bk().hf()){var a=1.2*this.request.Ui();if(!(a>=this.count||this.Bv&&a>=this.Bv.qc())){a=this.count-this.request.Ui();for(var b=this.Td.length-1;0<=b&&0<a;b--){var c=this.Td[b];v8c(c.H,2)||e1c(c.getItem())||(c.count--,Dgd(c)&&this.count--,this.O.delete(c.getId()),_.ra(this.Td,b),a--)}zgd(this,!1)}}};_.g.Nn=function(a){var b=new _.jc;b.Ib(2);_.OK(b,6);_.nq(b);this.context.dispatchEvent(new _.lc(new _.kc(a,b)))};
var Dgd=function(a){return!v8c(a.H,2)&&3!==dN(a.getItem())};OO.prototype.pSa=function(a){var b=this,c=_.hM(this.request);c.length&&(c=c.some(function(d){return(d=b.context.Gf.zm.H(d.Xa()))&&_.L(d,108)}),K9c(this.context.Fga,a,c))};OO.prototype.oSa=function(){this.DJ()};OO.prototype.uZa=function(a){return 1!==this.Kp&&a.Ui()>this.count&&this.Bv.O};
var QO=function(a,b){_.P.call(this);var c=this;this.H={};this.W=new sgd;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.context=a;this.Tg=b;this.ma=_.SK(this.context.Tc)||new _.QK;this.Tw=new z$c(a.wn);this.O=new L8c(a.m_,a.Aw,a.xy);_.L(a.Tc,60)&&(this.Ba=new mgd(a.Aw,a.xy));this.V=new G8c(a.hg(),_.rM(this.Tg));Egd(this,_.Jd(this.context.Tc,28));this.zm=new P8c(this.Tg,this.context.wn,this.O,this.V);this.context.Yk().W.H=this.zm;this.NL=new jfd(this.context,this.Tg,this.H,this.O);this.EHa=new ngd(this.context,
this.O);this.ka=new egd(this.context,this);_.te(this.ka,function(){c.ka=null});this.wa=_.RUc(_.rM(this.Tg),Fgd);eO(this.context.Oj,["NSockf"],function(){return c.initialize()});eO(this.context.Oj,["NSockf","jroI5d"],function(){var d=c.context.Tc;if(_.E(d,_.sl,12))d=_.E(d,_.sl,12);else{var e=_.BVc(_.DVc(new _.$k,_.jM(_.DK(d))),!0);e=_.B(e,6,1);var f=_.H(_.DK(d),6,"");f&&e.Rb(f);e=_.KVb(_.hWc(_.iWc(_.lF((new _.sl).Rb(c.context.Zn()).setTitle(_.H(d,38,"My Drive")),"application/vnd.google-apps.folder").qn(!1),
e),[e]),1);e=_.B(e,29,!0);e=_.B(e,63,!0);d=_.EVc(new _.nl,_.F(d,6,!0));d=_.B(d,2,!1);d=_.dM(e,_.RVc(_.KVc(_.JVc(_.NVc(_.OVc(_.MVc(_.LVc(_.IVc(_.HVc(_.GVc(_.FVc(_.B(d,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}c.xl([d],1);fO(c.context.Oj,"hVFf7")});this.ha=_.ei();eO(this.context.Oj,["BNEDtc"],function(){c.ha.resolve()});this.jr=new X$c(this.context.Tc,this.context.hg(),a.Pm(),a.Fga,this.context.Yk(),this.context.ZX.promise);_.IK(this.context.Tc)&&this.Rc.listen(this.jr,"Kb",this.ta);this.ONa=
new _.FYc(this.context.Tc,this.zm)};_.O(QO,_.P);
QO.prototype.ta=function(a){a=a.getPeople();this.log("Handling PeopleCache updated with "+a.length+".");var b=new Set;a=_.m(a);for(var c=a.next();!c.done;c=a.next())this.jr.getItems(_.C(c.value,1)).forEach(function(f){return b.add(f)});a=[];c=_.m(b);for(var d=c.next();!d.done;d=c.next()){var e=d.value;(d=this.O.get(e))?(e=d.getItem().clone(),Ggd(this,e),a.push(j$c(d,new SN(e,void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+e+".","warning")}Hgd(this,a,[]);this.context.Qs.update(6)};
QO.prototype.initialize=function(){this.ka.lh()};
QO.prototype.ji=function(a,b){if(b instanceof _.Ye)b=VN(this.context.wn,b),Igd(this,b.O()),pgd(this.EHa,b),b=Jgd(this,b),b.cache.ji(a);else if(b instanceof _.xz)b=Kgd(this,b),Igd(this,b.O()),b=Lgd(this,b),b.cache.ji(a);else if(b instanceof _.wK){var c=NO(this,b),d=this.H[c];d?(3==d.KJ()?(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 Dfd(this.context,this.Tg,b),d.refresh().Og(_.Ff),this.H[c]=d,b={cache:d,vv:!0});b.cache.ji(a)}else if(b instanceof _.iF)c=b.O(),d=this.V,H8c(d,d.H,d.O,c),b=Lgd(this,b),b.cache.ji(a);else throw Error("jg");return b.vv};
QO.prototype.lk=function(a,b){if(b instanceof _.Ye)b=VN(this.context.wn,b),rgd(this.EHa,b);else if(b instanceof _.xz)b=Kgd(this,b);else if(!(b instanceof _.wK||b instanceof _.iF))throw Error("jg");b=NO(this,b);var c=this.H[b];c&&(c.lk(a),this.log("Unregistering live request: "+b),c.isDisposed()&&delete this.H[b])};
var NO=function(a,b){return WN(a.context.wn,b,2)},Jgd=function(a,b){var c=NO(a,b),d=a.H[c];if(d)return 3==d.KJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,vv:!1};d=[];for(var e=5,f,h,k=A$c(a.Tw),l=0;l<k.length;l++){var p=k[l];e=p.iJ(b);if(5!=e){f=1==e?void 0:b.Ui();d=p.zCa(b,f);f=p.sf();h=p instanceof gO?p.jy():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Qd()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Rj().hf()||a.context.Bk().hf())d=d.concat(a.O.query(b,1)),_.Fa(d,void 0,function(q){return q.getId()}),e=(e=a.Tw.H)&&e.J8&&5!=e.iJ(b)?e.iJ(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new OO(a.context,b,d,1==e,h);f&&d.fj(f);d.xl(a.O.query(b,2),1!=e);d.initialize().Og(function(q){q=_.PK(q);_.nq(q);a.context.dispatchEvent(new _.lc(new _.kc("Error during view cache init",q)))});a.H[c]=d;return{cache:d,
vv:!0}},Lgd=function(a,b){var c=NO(a,b),d=!1,e=a.H[c];if(e&&e.Zia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.O.getAll(b.jn()),h;b instanceof _.xz?h=new $ed(a.context,a.Tg,b,f):h=new wgd(a.context,a.Tg,b,f);f.length&&h.fj(8);h.refresh().Og(_.Ff);b=h;d=!0;a.H[c]=b;e?(Mgd(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}};
QO.prototype.tW=function(){return Object.values(this.H).filter(function(a){return a.Cd()instanceof _.wK})};
QO.prototype.b3a=function(a){for(var b=_.mf(new _.lf,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=d9c(this.context.wn,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.NL.HS([a],b,!1,c))};
var Qed=function(a,b,c){c&&c.length&&J8c(a.V,b,c);_.IK(a.context.Tc)&&(a=a.jr,cad(a,lO(a,b)))},ufd=function(a,b,c){if(b instanceof Dfd){var d=NO(a,b.Cd());if(a.H[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof m$c&&a.Tw.remove(b);var e={},f=new Map;d=a.O.yz();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.yz().forEach(function(q){var r=q.getId(),u=a.O.get(r);if(u){var y=dN(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new i$c(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=dO(q),a.O.update(r),a.W.update(r),_.IK(a.context.Tc)&&a.jr.HP(r);_.IK(a.context.Tc)&&Ggd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(dO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Dfd?(d=NO(a,b.Cd()),a.H[d]=b):a.Tw.add(b);var p=[];_.Ma(e,function(q){var r=new _.MK;_.NK(r,q.getId());r.setItem(q);p.push(r)});a.Uo(p);a.log("Merged cache: "+b.getType());b instanceof
jO&&c.forEach(function(q){Ngd(a.context.hua,q)});a.context.Qs.update(3)},Mgd=function(a,b){(new Set([].concat(_.jd(a.yy)))).forEach(function(c){b.ji(c);a.lk(c)})};
QO.prototype.xl=function(a,b,c,d,e){var f=this;e||(e=c?[].concat(_.jd(c.O().filter(function(z){return!_.rM(f.Tg).includes(z)}))):[]);c&&c instanceof _.Ye&&_.WL(c)&&Ogd(this,a,c);for(var h=[],k=[],l=0;l<a.length;l++){var p=a[l],q=new SN(p,void 0,b),r=this.O.get(p.getId()),u=r?r.getItem():null,y=Pgd(this,r,q);if(null!=y)q.cI(y),Qgd(this,u,p),d1c(p),p=E8c(p,u,e),q.setItem(p);else if(null!=r)q=r,p=u;else continue;_.IK(this.context.Tc)&&Ggd(this,p);!r||Rgd(this,u,p,e)?(k.push(j$c(r,q)),h.push(q)):h.push(r)}a=
null;c&&(a=NO(this,c),a=this.H[a],c instanceof _.Ye&&(c=D$c(this.Tw,c))&&c.xl(h,!!d),a&&a.xl(h,!!d));0<k.length&&(_.IK(this.context.Tc)&&k.forEach(function(z){return f.jr.HP(z)}),Hgd(this,k,e,a?[a]:[]),Sgd(this,h));Ted(this.context).L9()};
var Ggd=function(a,b){gad(a.jr,b)||5!=dN(b)||_.oWc(b,1)},Rgd=function(a,b,c,d){(b=b?_.kk(b.clone(),82):null)&&Qed(a,[b],d);c=_.kk(c.clone(),82);Qed(a,[c],[]);return!_.Bk(b,c)},Ogd=function(a,b,c){Tgd(a,b,c);b.forEach(function(d,e){var f=a.zm.H(d.getId());f&&(aN(f,d,[1002]),aN(f,d,[1003]),aN(f,d,[1005]),b[e]=f);_.zL(c)&&0<_.Jd(c,33).length&&_.pWc(d,_.Jd(c,33)[0])})},Tgd=function(a,b,c){var d;_.zL(c)?d="quick access":_.AL(c)?d="people predict":_.BL(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Eed=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Ma(c,function(d,e){e=Number(e);a.xl(F1c(d),e)})};QO.prototype.Mma=function(a){this.ONa.Mma(a)};
QO.prototype.Uo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Ck()?null:e.getItem(),h=e.Nc(),k=(h=this.O.get(h))?h.getItem():null,l=null;if(f){l=new SN(f,void 0,void 0,_.C(e,1)||void 0);var p=Pgd(this,h,l);if(null==p)continue;l.cI(p);Qgd(this,k,f);_.F(e,5,!1)&&G0c(f,V0c);d1c(f);f=E8c(f,k);l.setItem(f);_.IK(this.context.Tc)&&Ggd(this,f)}this.context.VKa.ny(e);(k&&!f||f&&Rgd(this,k,f,[]))&&c.push(j$c(h,l))}_.IK(this.context.Tc)&&c.forEach(function(q){return b.jr.HP(q)});Hgd(this,
c,[])};var Qgd=function(a,b,c){b&&!c.rk()&&aN(c,b,a.wa);var d=b?b.Hf():null,e=c.Hf();e=e?_.Nd(e):null;d&&e&&Qgd(a,_.Nd(d),e);b&&!_.vl(c)&&aN(c,b,[1002]);b&&!_.wl(c).length&&aN(c,b,[1003]);b&&!_.yl(c).length&&aN(c,b,[1005]);b&&null==c.g2()&&aN(c,b,[71]);b&&null==_.C(c,79)&&aN(c,b,[73]);b&&_.L(b,31)&&!_.L(c,31)&&(G0c(c,V0c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
QO.prototype.CB=function(a,b){if(a instanceof _.Ye||a instanceof _.xz||a instanceof _.wK)a=NO(this,a),(a=this.H[a])&&a.iY(b);else throw Error("jg");};var Pgd=function(a,b,c){var d=c.getItem();if(Bad(a.context.Gga,d))return null;if(b){a=b.H;var e=c.H;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=dN(a)&&!UN(a)&&!UN(d)&&a.Dc()==d.Dc())if(a.Ii()&&d.Ii()){if(a.Ii()>d.Ii())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.Cq()>d.Cq())return null}return w8c(b&&b.H,c.H)};
QO.prototype.nI=function(a,b){(a=this.O.get(a))&&a.cI(w8c(a.H,b))};
var Hgd=function(a,b,c,d){d=void 0===d?[]:d;for(var e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=_.Ra(a.H);d=_.m(d);for(e=d.next();!e.done;e=d.next())_.sa(c,e.value);d=_.m(c);for(e=d.next();!e.done;e=d.next())Sed(e.value,b);c=A$c(a.Tw);d=0;c=_.m(c);for(e=c.next();!e.done;e=c.next()){f=e.value;var h=!1,k=_.m(b);for(e=k.next();!e.done;e=k.next())f.update(e.value)&&(h=!0);h&&d++;f instanceof jO&&f.Qd()>=1.2*f.limit&&Ugd(a.context.VKa,f.Dc(),!1)}b=_.m(b);
for(e=b.next();!e.done;e=b.next())c=e.value,_.L(a.context.Tc,60)&&a.Ba.update(c),a.O.update(c),a.O.get(c.id)||a.V.DJ(c.id),a.W.update(c);0<d&&a.context.Qs.Ioa(d);Vgd(a)},Vgd=function(a){var b=a.W.O.slice(0),c=tgd(a.W);ugd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.lf;_.mf(d,308);a.NL.HS(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+c.join(", "));b=Q8c(a.zm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Hf(),
k=_.C(h,1);if(k=a.zm.H(k))_.A(h,5,k),_.B(h,4,1),e.push(f)});Eed(a,e)}},Wgd=function(a){Ted(a.context).L9();a.O.DJ()},Kgd=function(a,b){_.Ia(b.O());var c=_.la(b.jn(),"root");if(0>c)return b;b=b.clone();b.jn()[c]=a.context.Zn();return b},Egd=function(a,b){_.F(a.ma,1,!1)||(b=K4c(a.Tg,b),a=a.V,H8c(a,a.items,a.fields,b))},Igd=function(a,b){_.F(a.ma,1,!1)&&(b=K4c(a.Tg,b),a=a.V,H8c(a,a.items,a.fields,b))},Sgd=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==dN(e.getItem())});
if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.mf(new _.lf,311);a.NL.HS(c,d)}})},lgd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!D$c(a.Tw,c)){a.log("Adding new cache hint for "+NO(a,c));var d=new gO(a.context.Aw,a.context.xy,a.context.wn,c);c=new ofd(a.context,d,c);var e=pO(a.context.oz,null);_.fi(c.lh().then(function(){rfd(d,e).then(function(f){ufd(a,d,f)})}),function(){Kad(a.context.oz,null)})}})})};
QO.prototype.kv=function(){var a=this.Tw.H;return a&&a.ZN?1:2};QO.prototype.log=function(a,b){this.context.hg().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Fgd=[50];
var Ygd=function(a){_.P.call(this);var b=this;this.context=a;this.H=[];this.V=new _.om;this.O=new Map;this.ka=-1;this.ha=0;var c=_.ei();this.wa=c.promise;vcd(this.context.FD).then(function(d){b.H=d||[];c.resolve();Xgd(b)},function(){return c.resolve()});eO(this.context.Oj,["rVezo"],(0,_.v)(this.W,this))};_.O(Ygd,_.P);
var qgd=function(a,b){_.F(a.context.Tc,46,!1)&&a.wa.then(function(){if(a.H[0]!==b){_.sa(a.H,b);for(F8c(a.context.Gf.zm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.za(a.H,0,0,b);a.H.length>2*_.dk(a.context.Tc,47,5);)a.H.pop();a.context.FD.set(pcd,a.H)}a.context.Gf.Tw.tW().length+a.O.size<_.dk(a.context.Tc,47,5)&&(Xgd(a),a.W())})},Zgd=function(a,b){_.sa(a.H,b)&&a.context.FD.set(pcd,a.H)};
Ygd.prototype.ny=function(a){Ngd(this.context.hua,a);if(UN(a)){var b=a.Dc();a.Ck()?Ugd(this,b,!0):(a=a.getItem(),F8c(a)&&Zgd(this,b))}};var Ugd=function(a,b,c){Zgd(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.Gf.Tw;for(var e=d.tW(),f=0;f<e.length;f++){var h=e[f];if(h.Dc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Qs.update(3);break}}MO(a.context).addCallback(function(k){k.gIa(b,c)});a.W()};
Ygd.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.Gf.Tw;$gd(this);for(var b={};this.V.qc()&&!(this.ha>=_.dk(this.context.Tc,47,5));){var c=_.pm(this.V);this.ha++;C$c(a,c)||this.O.has(c)||(this.O.set(c,null),b.bga=new _.mVc,_.B(b.bga,1,c),this.context.Pm().then(function(d){return function(e){return e.Ye(d.bga)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={bga:b.bga}}}};
var Xgd=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},$gd=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){Xgd(a);a.W()},36E5)};Ygd.prototype.ta=function(a,b){var c=_.C(b,1);c&&c>_.dk(this.context.Tc,48,1E3)?(this.log(a,"Too large to backfill: "+_.C(b,1)),ahd(this,a,!1)):bhd(this,a)};
Ygd.prototype.ma=function(a,b){(b=_.PK(b).Ak())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.XK(_.uUc(_.NK(new _.MK,a),a)),this.context.Gf.Uo([a])):bhd(this,a)};
var bhd=function(a,b){var c=new jO(a.context.Aw,a.context.xy,b),d=c.Cd().clone();d.yi(_.dk(a.context.Tc,48,1E3));d=new ofd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=pO(a.context.oz,b);MO(a.context).addCallback(function(f){f.Rwa(b)});_.fi(d.lh().then(function(){chd(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;ahd(a,b,!0)}),function(){Kad(a.context.oz,b)})},chd=function(a,b,c,d){c.ZN?(c.a4(),rfd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Qd());ufd(a.context.Gf,
c,e);ahd(a,b,!1)},function(){a.log(b,"Backfill changes failed");ahd(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),ahd(a,b,!0))},ahd=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&MO(a.context).addCallback(function(e){e.gIa(b,!1)});a.W();0<a.O.size||a.context.Gf.Tw.tW().map(function(e){return e.Dc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){Ugd(a,e,!0)})};
Ygd.prototype.log=function(a,b){this.context.hg().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var dhd=function(){_.P.apply(this,arguments)};_.O(dhd,_.P);
var ghd=function(a,b){b=ehd(b);var c=a.getItem(),d=fhd(c.getCapabilities());b.o4.forEach(function(e){_.KVb(e.getItem(),c.kp());_.dM(e.getItem(),d.clone())});return b},jhd=function(a,b,c){var d=hhd(c);c=c.find(function(e){return e.getId()===b.getId()});c={pK:c?c:new SN(b),children:[]};ihd(a,d,c);return c},hhd=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().zk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},ihd=
function(a,b,c){var d=c.pK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(ihd(a,b,{pK:e,parent:c,children:[]}))});return c},lhd=function(a,b){b=b.children.filter(function(l){return!_.ul(l.pK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.pK.getItem();if(!c.has(f.getId())){_.KVb(f,a.kp());khd(a,f,e.parent?e.parent.pK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.ul(k.pK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.pK)}}return d},
mhd=function(a){a=a.children.filter(function(h){return!_.ul(h.pK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.pK.getItem();if(!b.has(e.getId())){c.push(_.XK(_.NK(new _.MK,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.ul(f.pK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},ehd=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();_.ul(e)||_.L(e,137)?c.push(e):b.push(d)}return{RQ:c,o4:b}},fhd=
function(a){a=a.clone();var b=null!=_.L(a,34)?_.L(a,34):_.L(a,7),c=null!=_.L(a,35)?_.L(a,35):_.L(a,7);_.B(a,45,c);_.XVc(a,b);_.B(a,30,c);_.SVc(a,b);_.YVc(a,c);_.TVc(a,c);_.UVc(a,b);_.FVc(a,b);_.KVc(a,c);_.QVc(a,b);_.PVc(a,_.L(a,7));_.JVc(a,_.L(a,10)||_.L(a,11));_.RVc(a,_.ol(a));_.kk(a,18);_.kk(a,13);_.kk(a,10);_.VVc(a,_.L(a,42));_.WVc(a,_.L(a,43));_.ZVc(a,_.L(a,48));return a},khd=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.L(d,30);_.B(e,30,f);_.SVc(e,_.L(d,31));_.YVc(e,_.L(d,
47));_.TVc(e,_.L(d,32));_.UVc(e,_.L(d,33));_.FVc(e,_.L(d,4));_.KVc(e,_.L(d,9));_.RVc(e,_.L(d,21));_.QVc(e,_.L(d,20));_.PVc(e,_.L(d,17));_.EVc(e,_.ol(d));_.IVc(e,_.L(d,7));_.LVc(e,_.L(d,10));_.MVc(e,_.L(d,11));f=_.L(d,45);_.B(e,45,f);_.XVc(e,_.L(d,46));_.ZVc(e,_.L(d,48));a=_.ul(a);_.B(b,137,a);c&&(c=c.getCapabilities(),cN(b)?(_.JVc(e,_.L(c,43)),_.WVc(e,_.L(c,43)),_.VVc(e,_.L(c,42))):_.JVc(e,_.L(c,42)))};
var nhd=function(a){this.context=a;this.V=new dhd;this.O=_.mf(new _.lf,306);this.H=a.Gf},Ngd=function(a,b){if(UN(b))b.Ck()?ohd(a,b):phd(a,b);else if(_.F(a.context.Tc,86,!1)){var c=b.Nc(),d=a.H.zm.H(c);var e=d&&d.Dc();var f=b.getItem()&&b.getItem().Dc();if(!d||!e||!cN(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.ul(d),!b.Ck()){var h=b.getItem();f=_.ul(d)!==_.ul(h);h=h.kp()!==d.kp();e=f||e&&h}if(e)if(b.Ck()){if(b=qhd(a,d.Dc()),d=a.V,e=(new _.sl).Rb(c),b=(b=jhd(d,e,b))?mhd(b):[],a.context.Gf.Uo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=R4c(a.context.Yk(),106009))c=M4c(a),_.B(c,2,b.length),a.ek()}else if(c=b.getItem(),d=qhd(a,c.Dc()),e=a.V,c=b.getItem(),c=(d=jhd(e,c,d))?lhd(c,d):[],Eed(a.context.Gf,c),a.log(b.Nc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=R4c(a.context.Yk(),106010))b=M4c(a),_.B(b,1,c.length),a.ek()}},ohd=function(a,b){var c=b.Nc();b=qhd(a,c);b=ehd(b);var d=_.Cb(b.o4,function(e){return _.XK(_.NK(new _.MK,e.getId()))});a.context.Gf.Uo(d);
a.H.NL.HS(b.RQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.RQ.map(function(e){return _.Jl((new _.Il).Rb(e.getId()),_.Al(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.RQ.length+" divergent items"));if(a=R4c(a.context.Yk(),106016))c=N4c(a),_.B(c,1,b.RQ.length),_.B(c,2,b.o4.length),a.ek()},phd=function(a,b){var c=b.Nc(),d=qhd(a,c),e=a.H.zm.H(c);b=ghd(b,d);Eed(a.context.Gf,b.o4);a.H.NL.HS(b.RQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.RQ.map(function(h){return _.Jl((new _.Il).Rb(h.getId()),
_.Al(h))}));a.log(c,"SD update | Update "+b.o4.length+" item(s), "+(b.RQ.length+" divergent items"));if(d=R4c(a.context.Yk(),106017)){var f=N4c(d);_.B(f,1,b.RQ.length);_.B(f,2,b.o4.length);d.ek()}e||nfd(a.H.NL,c)},qhd=function(a,b){var c=new _.Ye;_.VM(c,[b]);_.WM(c,2);return S8c(a.H.zm,c)};nhd.prototype.log=function(a,b){this.context.hg().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var rhd=function(a,b,c){this.H=a;this.V=b;this.yJ=c};
rhd.prototype.Rw=function(a,b){var c=this;if(a.$V().length){var d=xad(this.H,a.Nc());if(d){var e=d?yad(this.H,a):[];for(var f={},h=_.m(a.$V()),k=h.next();!k.done;f={BL:f.BL},k=h.next())if(k=k.value,f.BL=shd(e,k.an(),a.Nc()),_.L(k,3))Ead(this.H,f.BL),_.fi(b,function(r){return function(){c.H.O.W(nad(r.BL))}}(f));else{for(var l=_.m(_.uk(k,_.oF,2)),p=l.next();!p.done;p=l.next())thd(this,f.BL,p.value);k=_.m(_.Jd(k,4));for(l=k.next();!l.done;l=k.next())uhd(f.BL,l.value);this.H.yD([f.BL],!1,-1);b.then(function(r){return function(){return void c.H.nI(r.BL.getName(),
-2)}}(f),function(r){return function(){c.H.nI(r.BL.getName(),-2)}}(f))}e=this.yd(d.Qk().response)}}e=e?e:this.yd();var q=e.J4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.tA(r));c.handleError(a.Nc(),r)});return e};rhd.prototype.yd=function(a){a=void 0===a?new CN:a;return new z8c(a.Gc(1))};var shd=function(a,b,c){var d=a.find(function(e){return mad(e.getName(),b)});d||(d=$5c((new zN).ld(b),c),a.push(d));return d};
rhd.prototype.handleError=function(a,b){Gad(this.V,a);a=_.PK(b);_.B(a,21,"Server error updating metadata after optimistic application.");this.yJ(a)};
var thd=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new xN,d.Rb(c.getId()),Z5c(b,b.O().concat([d])),vhd(d,c));if(1===yN(d))d.setBooleanValue(_.L(c,3));else if(12===yN(d))d.setDateStringValue(_.C(c,17));else if(2===yN(d))d.setTextValue(_.C(c,4));else if(3===yN(d))_.Jd(c,6).length?d.zqa(_.Jd(c,6)):_.Jd(c,5).length&&(a=_.Jd(d,7).concat(_.Jd(c,5)),d.zqa(a));else if(4===yN(d))d.setLongTextValue(_.C(c,7));else if(5===yN(d))d.setSelectionValue(_.C(c,8));else if(6===
yN(d))_.Jd(c,10).length?d.vqa(_.Jd(c,10)):_.Jd(c,9).length&&(a=d.uNa().concat(_.Jd(c,9)),d.vqa(a));else if(7===yN(d))d.setIntegerValue(_.C(c,11));else if(8===yN(d))_.Jd(c,13).length?d.mqa(_.Jd(c,13)):_.Jd(c,12).length&&(a=_.Jd(d,12).concat(_.Jd(c,12)),d.mqa(a));else if(10===yN(d))d.setUserValue(a.O(_.C(c,14)));else if(11===yN(d))_.Jd(c,16).length?W5c(d,_.Jd(c,16).map(a.O)):_.Jd(c,15).length&&W5c(d,d.wCa().concat(_.Jd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(yN(d)+
"."),new _.kc(d,new _.jc);},uhd=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===yN(a))_.kk(a,5);else if(12===yN(a))_.kk(a,17);else if(2===yN(a))_.kk(a,6);else if(3===yN(a))_.VG(a,7);else if(4===yN(a))_.kk(a,8);else if(5===yN(a))_.kk(a,9);else if(6===yN(a))_.VG(a,10);else if(7===yN(a))_.kk(a,11);else if(8===yN(a))_.VG(a,12);else if(10===yN(a))_.lk(a,15);else if(11===yN(a))_.mk(a,16);else throw a="Optimistic Applier: Unsupported value type "+(yN(a)+"."),new _.kc(a,new _.jc);
},vhd=function(a,b){_.T(b,3)?a.MA(1):_.T(b,17)?a.MA(12):_.T(b,4)?a.MA(2):_.Jd(b,6).length||_.Jd(b,5).length?a.MA(3):_.T(b,7)?a.MA(4):_.T(b,8)?a.MA(5):_.Jd(b,10).length||_.Jd(b,9).length?a.MA(6):_.T(b,11)?a.MA(7):_.Jd(b,13).length||_.Jd(b,12).length?a.MA(8):_.T(b,14)?a.MA(10):(_.Jd(b,16).length||_.Jd(b,15).length)&&a.MA(11)};rhd.prototype.O=function(a){return _.CVc((new _.$k).Ib(1),a)};
var whd=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.wa=c;this.O=d;this.ka=e;this.Tg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};whd.prototype.apply=function(a,b){var c=this;if(!_.VL(a))return b;var d=null;a instanceof _.nL?d=xhd(this,a,b):a instanceof _.uL?d=yhd(this,a,b):a instanceof _.TK?d=this.Rw(a,b):a instanceof _.iL?d=zhd(this,a,b):a instanceof _.NL&&(d=this.wa.Rw(a,b));d&&(this.W++,this.ha.setActive(!1),_.fi(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.$h(d):b};
var xhd=function(a,b,c){Aad(a.O,b.getId());var d=a.H.zm.H(b.getId());_.fi(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=_.PK(e);_.B(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.UL).Gc(1)},yhd=function(a,b,c){var d=_.C(b,2);d&&a.O.H.push(d);c.then(function(){d&&Cad(a.O,d)&&_.fi(Ahd(a,d,new _.EYc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.sa(a.O.H,
d)});c.then(null,function(e){e=_.PK(e);_.B(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.UL).Gc(1)},Ahd=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.$h();var f=_.ei(),h=c.Xa();_.DG(c);setTimeout(function(){a.ka.then(function(k){var l=_.mf(new _.lf,1425);l=E1c(!0,1,l);return k.Ye(l).then(function(p){if(p=p.yd())if(p=p.Id()[0],!p||(p.Uv()||0)>b){f.resolve();return}_.fi(Ahd(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.fi(Ahd(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},zhd=function(a,b,c){var d=b.Dc(),e=a.H.zm.H(d);if(!e)return null;e=e.clone();Qed(a.H,[e],[157]);var f=e.uh();Bhd(f,_.uk(b,_.rl,2));Chd(f,_.uk(b,_.rl,3));a.H.xl([e],-1,void 0,void 0,[157]);_.fi(c,function(){a.H.nI(d,-2)}).then(function(h){a.H.xl([_.E(h,_.sl,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.PK(h);_.B(h,21,"Server error updating item after optimistic application.");a.V(h)});return k6c(new j6c,e).Gc(1)},
Bhd=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={Tfa:c.Tfa},d=b.next())c.Tfa=d.value,_.uk(a,_.rl,8).some(function(e){return function(f){return f.an()==e.Tfa.an()}}(c))||_.wk(a,8,c.Tfa,_.rl,void 0)},Chd=function(a,b){var c=b.map(function(d){return d.an()});b=_.uk(a,_.rl,8).filter(function(d){return!c.includes(d.an())});O0c(a,b)};
whd.prototype.Rw=function(a,b){var c=this,d=this.H.zm.H(a.getId());if(!d||d.Dc()&&0==a.Yh()||null!=_.L(a,40))return null;var e=_.Jd(a,10),f=_.Jd(a,9);if(0<e.length&&0<f.length&&(e=Object.values(R8c(this.H.zm,e.concat(f))).map(function(k){return k.Dc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();Dhd(this,a,h);this.H.xl([h],-1,void 0,void 0,I4c(this.Tg));b.then(function(){return c.H.nI(a.getId(),-2)},function(){c.H.nI(a.getId(),-2);c.ta(a.getId(),d)});b.then(null,function(k){k=_.PK(k);
if(63==k.Ak()){var l=h.getId();_.B(k,22,l);_.B(k,23,f[0])}_.B(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.dXc((new _.UL).setItem(h),h.getId()).Gc(1)};
var Dhd=function(a,b,c){null!=b.zf()&&c.wm(b.zf());null!=b.$i()&&_.mWc(c,b.$i());null!=b.getMimeType()&&_.lF(c,b.getMimeType());null!=_.C(b,7)&&_.JVb(c,_.C(b,7));null!=_.L(b,11)&&_.gWc(c,_.L(b,11));null!=_.L(b,4)&&c.Fv(_.L(b,4));null!=_.L(b,16)&&_.lWc(c,_.L(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Yh()&&(c.qn(b.Yh()),_.kWc(c,b.Yh()));null!=_.L(b,18)&&_.ZM(c1c(c,!0),_.L(b,18));_.Jd(b,8).length&&_.cM(c,_.Jd(b,8));if(_.Jd(b,9).length){var d=new Set(c.zk());_.Jd(b,9).forEach(function(p){return d.add(p)});
_.cM(c,[].concat(_.jd(d)))}if(_.Jd(b,10).length){var e=new Set(c.zk());_.Jd(b,10).forEach(function(p){return e.delete(p)});_.cM(c,[].concat(_.jd(e)));var f=c.qw();f&&_.Jd(b,10).includes(f)&&_.kk(c,46)}if(!c.qw()){var h=a.Ba();f=c.zk().find(function(p){var q=a.H.zm.H(p);return q&&!!q.qw()||p==h});_.B(c,46,f||void 0)}c.zk().length&&(f=a.H.zm.H(c.zk()[0]))&&_.pWc(c,f.Dc());if(f=_.E(b,_.pl,25)){var k=_.E(c,_.pl,111)||new _.pl;null!=_.L(f,1)&&_.aWc(k,_.L(f,1));null!=_.C(f,2)&&_.bWc(k,_.C(f,2));_.A(c,111,
k)}var l=_.Jd(c,120);_.Jd(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Jd(b,32).forEach(function(p){_.sa(l,p)});_.jk(c,120,l)};whd.prototype.ta=function(a,b){var c=this,d=_.zz(new _.xz,[a]);this.ka.then(function(e){return e.Ye(d)}).then(function(e){e=e.yd().Id()[0];c.H.xl([e.clone()],1)},function(){b&&c.H.xl([b.clone()],1)})};
var Ehd=function(a){this.H=a};_.O(Ehd,_.l_c);Ehd.prototype.execute=function(a,b,c){var d=_.l_c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.jMa||b instanceof _.JK&&_.WL(b.Cd()))if(c=Y4c(this.H))return c;return b instanceof _.uL?(c=_.mf(new _.lf,1424),a.Ye(E1c(!1,1,c)).then(function(e){(e=e.yd())&&(e=e.Id()[0])&&_.T(e,96)&&b.gea(e.Uv())},function(){})):null};
var U1c=function(a,b){return[Fhd,Ghd,Hhd,Ihd].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},Fhd=function(a){return Jhd[a.jg()]},Ghd=function(a){return Khd[a.getType()]},Hhd=function(a){return a.getName()||""},Ihd=function(a){return a.getId()||""},RO={},Jhd=(RO[5]=0,RO[7]=1,RO[1]=2,RO[3]=3,RO[4]=4,RO[2]=5,RO[6]=6,RO),Lhd={},Khd=(Lhd[1]=0,Lhd[2]=1,Lhd[3]=2,Lhd[4]=3,Lhd);
var Mhd=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.Tg=l};
Mhd.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.UL&&8===b.Cb()))if(a instanceof _.hL||a instanceof _.jL||a instanceof _.cVc||a instanceof _.TK||a instanceof _.PL||a instanceof _.kVc||a instanceof _.RL||a instanceof _.gN){var d=_.WK(b.getItem().clone(),9);this.H.xl([d],1);bbd(this.ta,b.getItem(),_.rM(this.Tg))}else a instanceof _.nL?(b=_.XK(_.NK(new _.MK,a.getId())),this.H.Uo([b])):a instanceof _.qL?(b=_.XK(_.uUc(_.NK(new _.MK,a.getId()),a.getId())),this.H.Uo([b]),Ngd(this.ma,b)):
a instanceof _.uL?(b=E1c(!0).Cd(),b=this.H.zm.query(b).map(function(e){return _.XK(_.NK(new _.MK,e.getId()))}),this.H.Uo(b)):a instanceof _.lL?this.O.remove(a.Fh()):a instanceof _.wL||a instanceof _.ML?this.O.put(b.xr()):a instanceof _.oL?T1c(this.H,a):a instanceof _.OB?this.W.remove(a.getKey()):a instanceof _.yL?V1c(this.H,a,_.E(b,_.$k,2)):a instanceof _.PB?this.W.put(b.KNa()):a instanceof _.kL||a instanceof _.QL?this.ha.yD([b.mn()],!1):a instanceof _.rL?this.ha.yD([Pad(a.getId())],!1):a instanceof
_.bVc?this.V.yD(b.response.O(),!1,1):a instanceof _.NL?(a.$V().filter(function(e){return _.L(e,3)}).forEach(function(e){return c.V.removeItem(e.an()||"",a.Nc())}),Gad(this.ka,a.Nc()),this.H.b3a(a.Nc())):a instanceof _.wM&&_.uk(a,_.j5c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.E(e,_.tN,2),e.getType()){case 1:case 2:if(e=c.H.zm.H(e.Nc())){var f=new _.MK;f=_.B(f,5,!0);e=_.NK(f,e.getId()).setItem(e.clone());c.H.Uo([e])}}}})};
var Nhd=function(a){this.H=a};
Nhd.prototype.translate=function(a){if(a instanceof _.JL){var b=this.H.H(a.getId());if(!b)return new _.jc;var c=(new _.TK).Rb(a.getId());if(b.Dc()){var d=b.getCapabilities();_.fe(d)||_.L(d,9)?c.qn(!0):_.UK(c,!1)}else d=a.getParent(),1===b.kp()?c.qn(!0):d?(b=this.H.H(d),!b||_.L(b.getCapabilities(),7)?h4c(c,[d]):_.UK(c,!1)):_.UK(c,!1);return c}if(a instanceof _.KL)return j4c(i4c(h4c(g4c((new _.TK).Rb(a.getId()),_.Jd(a,2)),_.Jd(a,3)),_.L(a,6)),_.uk(a,_.Il,8));if(a instanceof _.LL){b=this.H.H(a.getId());
if(!b)return new _.jc;c=(new _.TK).Rb(a.getId());b.Dc()?(d=b.getCapabilities(),_.fe(d)||_.L(d,9)?c.qn(!1):_.UK(c,!0)):(d=a.getParent(),1===b.kp()?c.qn(!1):d?(b=this.H.H(d),!b||_.ol(b.getCapabilities())?g4c(c,[d]):_.UK(c,!0)):_.UK(c,!0));return c}if(a instanceof _.IM)return new _.cVc(a);if(a instanceof _.DO)return _.Jd(a,1).map(function(f){var h=new _.NL;f=_.B(h,1,f);h=a.$V();f=_.Db(f,2,h);h=a.xe();return _.A(f,3,h)});if(a instanceof _.tL){c=E1c(!1,1).Cd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Uv())&&(e=Math.max(e,f))});return T4c(new _.uL,a).gea(e)}return a};
var Ohd=function(){};Ohd.prototype.validate=function(a){var b=null;a instanceof _.CL?(a=a.getId()||"",_.Zd(a)&&(b="Tried to request backup with no id.")):a instanceof _.mL&&(a=a.getId()||"",_.Zd(a)&&(b="Tried to delete backup with no id."));return b?_.PK(b):null};
var Phd=function(a){this.H=a},Thd=function(a,b){_.PM(["drive#about"],b);var c=new _.EO,d=new _.qA;b.user&&(a=_.RM(a.H,b.user),_.A(d,1,a));a=Qhd(b);a=a4c($3c(_.Z3c(new _.wsb,a),b.rootFolderId),b.domainSharingPolicy);if(b.gsuiteSubscriptionInfo){var e=b.gsuiteSubscriptionInfo;_.c4c(a,_.O3c(_.N3c((new _.pA).Gc(Rhd[e.status]),Number(e.trialMillisRemaining)),_.QM(e.trialEndTime)))}b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.d4c(a,_.Q3c(_.P3c(new _.rsb,e.canAdministerTeam),e.canManageInvites)));
b.importFormats&&b4c(a,b.importFormats.map(function(f){var h=new _.Y3c;h=_.B(h,1,f.source);return _.jk(h,2,f.targets)}));b.adminSecureLinkSetting&&_.B(a,10,Shd[b.adminSecureLinkSetting]);_.A(d,3,a);_.Bdd(c,d);b=b.largestChangeId;null!=b&&_.B(c,4,Number(b));return c},Qhd=function(a){var b=new _.vsb;b=_.B(b,1,Number(a.quotaBytesTotal));b=_.B(b,2,Number(a.quotaBytesUsed));b=_.B(b,3,Number(a.quotaBytesUsedAggregate));b=_.B(b,4,Number(a.quotaBytesUsedInTrash));b=_.U3c(_.T3c(_.S3c(_.R3c(b,X1c(a.quotaBytesByService||
[])),Uhd[a.quotaType]),Number(a.quotaBytesTotal)),"-1"===a.quotaBytesTotal?-1:Math.max(Number(a.quotaBytesTotal)-Number(a.quotaBytesUsedAggregate),0));var c=Number(a.quotaBytesUsedAggregate)-Z1c(a);b=_.B(b,9,c);b=_.V3c(b,Number(a.quotaBytesUsedAggregate));b=_.B(b,11,Number(a.quotaBytesUsedInTrash));b=_.B(b,13,_.Z0c(Number(a.quotaBytesUsedAggregate),Number(a.quotaBytesTotal)));b=_.W3c(b,Vhd[a.quotaStatus]||0);if(a.graceQuotaInfo&&a.graceQuotaInfo.endDate){c=new _.usb;var d=_.y1a(new Date(a.graceQuotaInfo.endDate));
c=_.A(c,1,d);a=_.B(c,2,Number(a.graceQuotaInfo.additionalQuotaBytes));_.A(b,12,a)}return b},Vhd={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},Y1c=new Set(["POOLED_STORAGE","FAMILY"]),Rhd={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},W1c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},Uhd={LIMITED:1,UNLIMITED:2,POOLED:3},Shd={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var Whd={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},Xhd={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},Yhd={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},Zhd={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},$hd={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},aid={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},bid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},cid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},did={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},eid={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},fid={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},gid={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},hid={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},iid={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},jid={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},kid={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},lid={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},mid={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},nid={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},oid={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},pid={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},qid={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},xid=function(a){return a.map(function(b){var c=new _.h8c;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=rid(e);_.A(c,2,d);break;case "actors":d=sid(e);_.Db(c,3,d);break;case "actions":d=tid(e);_.Db(c,
4,d);break;case "targets":d=uid(e);_.Db(c,5,d);break;case "timestamp":c.O(vid(e));break;case "timeRange":d=wid(e),_.vk(c,7,g8c[0],d)}}return c})},tid=function(a){return a.map(function(b){var c=new _.e8c;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=rid(e);_.A(c,1,d);break;case "source":d=new Z7c;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":d.Ib(Whd[h]);break;case "appId":_.qk(d,1,h)}}_.A(c,2,d);break;case "actor":d=yid(e);_.A(c,3,d);break;case "target":d=zid(e);_.A(c,4,d);break;case "timestamp":c.O(vid(e));break;case "timeRange":d=wid(e),_.vk(c,6,d8c[0],d)}}return c})},uid=function(a){return a.map(function(b){return zid(b)})},Bid=function(a){return a.map(function(b){return Aid(b)})},Cid=function(a){return a.map(function(b){var c=new _.D7c;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.Gg(Aid(e));break;case "shortcut":d=Aid(e),_.A(c,2,d)}}return c})},zid=function(a){var b=new _.c8c;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=Did(d);_.vk(b,1,_.b8c[0],c);break;case "drive":c=new _.$7c;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.ld(f);
break;case "title":c.setTitle(f);break;case "root":e=Did(f),_.A(c,3,e)}}_.vk(b,5,_.b8c[0],c);break;case "fileComment":c=new _.a8c;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":_.qk(c,1,f);break;case "legacyDiscussionId":_.qk(c,2,f);break;case "linkToDiscussion":_.qk(c,3,f);break;case "parent":c.Gg(Did(f))}_.vk(b,3,_.b8c[0],c)}}return b},Aid=function(a){var b=new _.JN;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 m7c;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.ld(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new k7c;_.vk(e,8,l7c[0],f);break;case "driveFolder":e=Eid(f);_.vk(c,9,l7c[0],e);break;case "driveShortcut":e=Fid(f),_.vk(c,10,l7c[0],e)}}_.vk(b,1,n7c[0],c);break;case "drive":c=Gid(d),_.vk(b,3,
n7c[0],c)}}return b},Did=function(a){var b=new _.j7c;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.ld(d);break;case "title":b.setTitle(d);break;case "mimeType":_.qk(b,6,d);break;case "version":_.ok(b,5,d);break;case "owner":c=new e7c;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=Hid(f);_.A(c,3,e);break;case "user":e=
SO(f);_.vk(c,1,d7c[0],e);break;case "drive":e=Gid(f),_.vk(c,4,d7c[0],e)}}_.A(b,7,c);break;case "driveFile":c=new k7c;_.vk(b,8,f7c[0],c);break;case "driveFolder":c=Eid(d);_.vk(b,9,f7c[0],c);break;case "driveShortcut":c=Fid(d),_.vk(b,10,f7c[0],c)}}return b},Gid=function(a){var b=new c7c;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.ld(d);break;case "title":b.setTitle(d)}}return b},Eid=function(a){var b=new h7c;
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":b.Ib(Xhd[d])}}return b},Fid=function(a){var b=new i7c;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":_.qk(b,1,d);break;case "targetMimeType":_.qk(b,2,d)}}return b},sid=function(a){return a.map(function(b){return yid(b)})},yid=function(a){var b=new _.Y7c;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=SO(d);_.vk(b,1,_.X7c[0],c);break;case "anonymous":c=new U7c;_.vk(b,2,_.X7c[0],c);break;case "impersonation":c=new _.V7c;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=SO(f),_.A(c,1,e)}}_.vk(b,3,_.X7c[0],c);break;case "system":c=new _.W7c;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":c.Ib(Yhd[f])}_.vk(b,4,_.X7c[0],c);break;case "administrator":c=new _.T7c,_.vk(b,5,_.X7c[0],c)}}return b},Iid=function(a){return a.map(function(b){return SO(b)})},SO=function(a){var b=new _.K6c;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 _.HN;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":_.qk(c,1,f);break;case "isCurrentUser":_.pk(c,2,f);break;case "displayName":_.qk(c,3,f);break;case "photoUrl":c.Sn(f)}}_.vk(b,2,_.I6c[0],c);break;case "unknownUser":c=new L6c;_.vk(b,4,_.I6c[0],c);break;case "deletedUser":c=new _.J6c,_.vk(b,3,_.I6c[0],c)}}return b},vid=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.x1a((new _.Vw).setSeconds(a),b)},wid=function(a){var b=new _.PN;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.LY(vid(d));break;case "endTime":b.DF(vid(d))}}return b},Hid=function(a){var b=new _.b7c;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.ld(d);break;case "legacyId":_.qk(b,3,d);break;case "audienceDisplayName":_.qk(b,4,d)}}return b},rid=function(a){for(var b=new _.ON,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 _.q7c,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,u=q.next().value;switch(r){case "new":var y=k,z=new r7c;_.vk(y,1,_.o7c[0],z);break;case "upload":var D=k,G=new s7c;_.vk(D,2,_.o7c[0],G);break;case "copy":for(var I=u,M=new _.p7c,R=_.m(Object.entries(I)),W=R.next();!W.done;W=R.next()){var oa=_.m(W.value),ha=oa.next().value,va=oa.next().value;
switch(ha){case "originalObject":var Ca=Aid(va);_.A(M,1,Ca)}}_.vk(k,3,_.o7c[0],M)}}_.vk(b,1,_.NN[0],k);break;case "edit":var Aa=new x7c;_.vk(b,2,_.NN[0],Aa);break;case "move":for(var Va=new _.F7c,Ba=_.m(Object.entries(h)),tb=Ba.next();!tb.done;tb=Ba.next()){var yc=_.m(tb.value),ec=yc.next().value,Tc=yc.next().value;switch(ec){case "addedParents":var od=Bid(Tc);_.Db(Va,1,od);break;case "removedParents":var Yb=Bid(Tc);_.Db(Va,2,Yb);break;case "fromOwnershipTransfer":_.pk(Va,3,Tc);break;case "reparents":var Kc=
Tc.map(Jid);_.Db(Va,4,Kc);break;case "multiparentingMigration":for(var Bd=Tc,Qe=new _.E7c,vc=_.m(Object.entries(Bd)),ub=vc.next();!ub.done;ub=vc.next()){var sg=_.m(ub.value),Hh=sg.next().value,Hd=sg.next().value;switch(Hh){case "removedParents":var tg=Bid(Hd);_.Db(Qe,2,tg);break;case "migratedParents":var Gj=Cid(Hd);_.Db(Qe,1,Gj)}}_.A(Va,5,Qe)}}_.vk(b,3,_.NN[0],Va);break;case "rename":for(var si=new _.L7c,uh=_.m(Object.entries(h)),Vl=uh.next();!Vl.done;Vl=uh.next()){var Wf=_.m(Vl.value),nf=Wf.next().value,
Ci=Wf.next().value;switch(nf){case "oldTitle":_.qk(si,1,Ci);break;case "newTitle":_.qk(si,2,Ci)}}_.vk(b,4,_.NN[0],si);break;case "delete":for(var ek=new _.v7c,Hg=_.m(Object.entries(h)),Ih=Hg.next();!Ih.done;Ih=Hg.next()){var Ik=_.m(Ih.value),Jh=Ik.next().value,Wg=Ik.next().value;switch(Jh){case "type":ek.Ib(Zhd[Wg])}}_.vk(b,5,_.NN[0],ek);break;case "restore":for(var ne=new _.M7c,cl=_.m(Object.entries(h)),ai=cl.next();!ai.done;ai=cl.next()){var nj=_.m(ai.value),Tj=nj.next().value,oj=nj.next().value;
switch(Tj){case "type":ne.Ib($hd[oj])}}_.vk(b,6,_.NN[0],ne);break;case "permissionChange":for(var $i=new _.I7c,pj=_.m(Object.entries(h)),Xg=pj.next();!Xg.done;Xg=pj.next()){var lh=_.m(Xg.value),Ig=lh.next().value,Jg=lh.next().value;switch(Ig){case "addedPermissions":var Kh=Kid(Jg);_.Db($i,1,Kh);break;case "removedPermissions":var Lh=Kid(Jg);_.Db($i,2,Lh);break;case "resharedPermissions":var vh=Kid(Jg);_.Db($i,3,vh);break;case "otherActivePermissions":var ii=Kid(Jg);_.Db($i,4,ii)}}_.vk(b,7,_.NN[0],
$i);break;case "comment":for(var Uj=new _.a7c,fk=_.m(Object.entries(h)),aj=fk.next();!aj.done;aj=fk.next()){var Oi=_.m(aj.value),Ee=Oi.next().value,ac=Oi.next().value;switch(Ee){case "post":for(var wh=ac,Pi=new _.Y6c,Fe=_.m(Object.entries(wh)),Og=Fe.next();!Og.done;Og=Fe.next()){var tf=_.m(Og.value),qm=tf.next().value,dl=tf.next().value;switch(qm){case "subtype":_.rk(Pi,1,bid[dl])}}_.vk(Uj,1,_.X6c[0],Pi);break;case "assignment":for(var ti=ac,Hf=new _.Z6c,Xf=_.m(Object.entries(ti)),xl=Xf.next();!xl.done;xl=
Xf.next()){var Hj=_.m(xl.value),Bf=Hj.next().value,Sd=Hj.next().value;switch(Bf){case "subtype":_.rk(Hf,1,cid[Sd]);break;case "assignedUser":var Di=SO(Sd);_.A(Hf,7,Di)}}_.vk(Uj,2,_.X6c[0],Hf);break;case "suggestion":for(var Ve=ac,Wl=new _.$6c,Ij=_.m(Object.entries(Ve)),bj=Ij.next();!bj.done;bj=Ij.next()){var af=_.m(bj.value),rm=af.next().value,sm=af.next().value;switch(rm){case "subtype":_.rk(Wl,1,did[sm])}}_.vk(Uj,3,_.X6c[0],Wl);break;case "mentionedUsers":var io=Iid(ac);_.Db(Uj,7,io)}}_.vk(b,8,
_.NN[0],Uj);break;case "dlpChange":for(var zn=new _.u7c,zk=_.m(Object.entries(h)),Rh=zk.next();!Rh.done;Rh=zk.next()){var Mj=_.m(Rh.value),Xj=Mj.next().value,Xm=Mj.next().value;switch(Xj){case "type":zn.Ib(eid[Xm])}}_.vk(b,9,_.NN[0],zn);break;case "view":for(var il=new S7c,Zl=_.m(Object.entries(h)),$l=Zl.next();!$l.done;$l=Zl.next()){var An=_.m($l.value),OE=An.next().value,PE=An.next().value;switch(OE){case "type":il.Ib(fid[PE]);break;case "viewHistoryVisibility":for(var vI=PE,lY=new R7c,mY=_.m(Object.entries(vI)),
wI=mY.next();!wI.done;wI=mY.next()){var nY=_.m(wI.value),oY=nY.next().value,Dga=nY.next().value;switch(oY){case "domainPolicyVisibilityState":_.rk(lY,1,gid[Dga]);break;case "namedPartyState":_.rk(lY,2,hid[Dga])}}_.A(il,2,lY)}}_.vk(b,10,_.NN[0],il);break;case "download":for(var wxb=new w7c,LYa=_.m(Object.entries(h)),Ega=LYa.next();!Ega.done;Ega=LYa.next()){var xxb=_.m(Ega.value),yxb=xxb.next().value,zxb=xxb.next().value;switch(yxb){case "type":wxb.Ib(iid[zxb])}}_.vk(b,11,_.NN[0],wxb);break;case "reference":for(var MYa=
new _.GN,NYa=_.m(Object.entries(h)),Fga=NYa.next();!Fga.done;Fga=NYa.next()){var Axb=_.m(Fga.value),Bxb=Axb.next().value,OYa=Axb.next().value;switch(Bxb){case "type":MYa.Ib(jid[OYa]);break;case "context":for(var Cxb=MYa,Dxb=Cxb.oj,PYa=OYa,QYa=new D6c,RYa=_.m(Object.entries(PYa)),ixa=RYa.next();!ixa.done;ixa=RYa.next()){var Exb=_.m(ixa.value),Fxb=Exb.next().value,jxa=Exb.next().value;switch(Fxb){case "description":QYa.wm(jxa);break;case "url":_.qk(QYa,2,jxa)}}Dxb.call(Cxb,QYa)}}_.vk(b,12,_.NN[0],MYa);
break;case "settingsChange":for(var Gxb=new _.P7c,SYa=_.m(Object.entries(h)),kxa=SYa.next();!kxa.done;kxa=SYa.next()){var Hxb=_.m(kxa.value),Ixb=Hxb.next().value,TYa=Hxb.next().value;switch(Ixb){case "restrictionChanges":var lrc=Lid(TYa);_.Db(Gxb,1,lrc)}}_.vk(b,13,_.NN[0],Gxb);break;case "approvalChange":for(var Vx=new _.O6c,UYa=_.m(Object.entries(h)),h6=UYa.next();!h6.done;h6=UYa.next()){var VYa=_.m(h6.value),Jxb=VYa.next().value,xI=VYa.next().value;switch(Jxb){case "approvalName":_.qk(Vx,2,xI);
break;case "approvalEventNames":_.jk(Vx,3,xI);break;case "initiator":var Kxb=SO(xI);_.A(Vx,4,Kxb);break;case "reviewers":var WYa=Iid(xI);_.Db(Vx,5,WYa);break;case "status":Vx.Gc(mid[xI]);break;case "dueTime":var Lxb=vid(xI);_.A(Vx,7,Lxb);break;case "approvalRequested":var Mxb=Vx,Nxb=new P6c;_.vk(Mxb,8,_.IN[0],Nxb);break;case "approvalCancelled":var Oxb=Vx,Pxb=new Q6c;_.vk(Oxb,9,_.IN[0],Pxb);break;case "reviewerResponded":for(var Qxb=xI,lxa=new _.N6c,XYa=_.m(Object.entries(Qxb)),mxa=XYa.next();!mxa.done;mxa=
XYa.next()){var lae=_.m(mxa.value),EFg=lae.next().value,FFg=lae.next().value;switch(EFg){case "reviewerDecision":_.rk(lxa,1,nid[FFg])}}_.vk(Vx,10,_.IN[0],lxa);break;case "commentAdded":var GFg=Vx,HFg=new R6c;_.vk(GFg,11,_.IN[0],HFg);break;case "reviewersChanged":for(var IFg=xI,mae=new T6c,nae=_.m(Object.entries(IFg)),Puc=nae.next();!Puc.done;Puc=nae.next()){var oae=_.m(Puc.value),JFg=oae.next().value,KFg=oae.next().value;switch(JFg){case "reviewerChanges":var MFg=Mid(KFg);_.Db(mae,1,MFg)}}_.vk(Vx,
12,_.IN[0],mae);break;case "dueTimeChanged":for(var NFg=xI,pae=new V6c,qae=_.m(Object.entries(NFg)),Quc=qae.next();!Quc.done;Quc=qae.next()){var rae=_.m(Quc.value),OFg=rae.next().value,PFg=rae.next().value;switch(OFg){case "oldDueTime":var QFg=vid(PFg);_.A(pae,1,QFg)}}_.vk(Vx,13,_.IN[0],pae)}}_.vk(b,18,_.NN[0],Vx);break;case "lock":var RFg=new z7c;_.vk(b,15,_.NN[0],RFg);break;case "unlock":var SFg=new Q7c;_.vk(b,16,_.NN[0],SFg);break;case "appliedLabelChange":for(var sae=new _.H6c,tae=_.m(Object.entries(h)),
Ruc=tae.next();!Ruc.done;Ruc=tae.next()){var uae=_.m(Ruc.value),TFg=uae.next().value,UFg=uae.next().value;switch(TFg){case "changes":var WFg=Nid(UFg);_.Db(sae,1,WFg)}}_.vk(b,19,_.NN[0],sae);break;case "publishChange":for(var Suc=new _.K7c,vae=_.m(Object.entries(h)),Tuc=vae.next();!Tuc.done;Tuc=vae.next()){var wae=_.m(Tuc.value),XFg=wae.next().value,xae=wae.next().value;switch(XFg){case "oldPublishState":var YFg=Oid(xae);_.A(Suc,1,YFg);break;case "newPublishState":var ZFg=Oid(xae);_.A(Suc,2,ZFg)}}_.vk(b,
20,_.NN[0],Suc);break;case "linkShareMetadataChange":for(var zae=new _.y7c,Aae=_.m(Object.entries(h)),Uuc=Aae.next();!Uuc.done;Uuc=Aae.next()){var Bae=_.m(Uuc.value),$Fg=Bae.next().value,aGg=Bae.next().value;switch($Fg){case "securityUpdateEnabled":_.pk(zae,1,aGg)}}_.vk(b,21,_.NN[0],zae)}}return b},Jid=function(a){var b=new _.B7c;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":_.rk(b,1,qid[d])}}return b},
Kid=function(a){return a.map(function(b){var c=new _.MN;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":_.rk(c,1,aid[e]);break;case "user":d=SO(e);_.vk(c,2,_.LN[0],d);break;case "group":d=new _.KN;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":_.qk(d,1,h);break;case "title":d.setTitle(h)}}_.vk(c,3,_.LN[0],d);break;case "domain":d=
Hid(e);_.vk(c,4,_.LN[0],d);break;case "anyone":d=new G7c;_.vk(c,5,_.LN[0],d);break;case "allowDiscovery":_.pk(c,6,e)}}return c})},Lid=function(a){return a.map(function(b){var c=new _.O7c;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":_.rk(c,1,kid[e]);break;case "newRestriction":_.rk(c,2,lid[e])}}return c})},Mid=function(a){return a.map(function(b){var c=new U6c;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=SO(e);_.A(c,3,d);break;case "addedReviewer":d=SO(e),_.A(c,4,d)}}return c})},Nid=function(a){return a.map(function(b){var c=new _.G6c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Bd(e);break;case "types":d=Pid(e),_.jk(c,2,d)}}return c})},Pid=function(a){return a.map(function(b){return oid[b]})},Oid=function(a){var b=
new _.J7c;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":_.rk(b,1,pid[d]);break;case "signinRequired":_.pk(b,2,d);break;case "publishedTime":c=vid(d),_.A(b,3,c)}}return b};
var Rid=function(a,b){var c=new Ycd;b=_.B(c,4,b);a&&"drive#app"==a.kind&&(a=Qid(a),_.A(b,2,a));return b},Qid=function(a){_.PM(["drive#app"],a);var b=(new _.DN).Rb(a.id);b=_.B(b,3,a.useByDefault).ld(a.name);b=_.B(b,7,a.openUrlTemplate);b=u6c(t6c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.B(b,8,a.createUrl);b=_.B(b,9,a.createInFolderTemplate);b=_.B(b,10,a.objectType);b=_.B(b,11,a.supportsCreate);b=_.B(b,12,a.supportsImport);b=_.B(b,13,a.supportsMultiOpen);b=_.B(b,27,a.supportsOfflineCreate);b=
_.B(b,14,a.installed);b=_.B(b,15,a.authorized);b=_.B(b,16,a.productUrl);b=_.jk(b,17,a.primaryFileExtensions);b=_.jk(b,18,a.secondaryFileExtensions);b=_.B(b,19,a.shortDescription);b=_.B(b,20,a.longDescription);b=_.B(b,21,a.productId);b=_.B(b,22,a.removable).Ib(Sid[a.type]);b=_.B(b,25,a.hasAppData);b=_.B(b,26,a.appDataQuotaBytesUsed);b=_.B(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.B(b,30,a.hasDriveWideScope);b=_.B(b,31,a.driveSource);b=_.B(b,32,a.driveBranded);b=_.B(b,33,a.hidden);b=_.B(b,34,
a.supportsMobileBrowser);b=_.B(b,35,a.supportsTeamDrives);b=_.B(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.o6c;l=_.B(l,3,k.iconUrl).setSize(k.size);k.category&&_.B(l,1,Tid[k.category]);h.call(f,l)}_.Db(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.jk(b,24,d);c=a.rankingInfo||{};a=new _.r6c;d=c.absoluteScore;null!=d&&_.B(a,1,Number(d));d=Uid(c.mimeTypeScores||[]);_.Db(a,2,d);c=Uid(c.fileExtensionScores||[]);_.Db(a,
3,c);_.A(b,29,a);return b},Uid=function(a){for(var b=[],c=0;c<a.length;c++){var d=(new _.p6c).Ib(a[c].type);d=_.B(d,2,Number(a[c].score));b.push(d)}return b},Sid={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},Tid={application:1,document:2,documentShared:3};
var Wid=function(a){var b=new Tdd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.vO).Rb(c.id).setTitle(c.title);d=_.B(d,3,_.QM(c.updateTime));d=_.B(d,4,Vid[c.backupSource]);d=_.B(d,5,c.iconUri);d=_.B(d,8,_.QM(c.expiryTime));d=_.B(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.bz()){var e=new Kcd;e=_.B(e,1,c.whatsappOngoingBackupEnabled);c=_.B(e,2,c.whatsappPhoneNumber);_.A(d,6,c)}else 2===d.bz()&&(e=new _.Jcd,e=_.B(e,1,c.deviceName),e=_.B(e,2,c.deviceModelName),
e=_.B(e,3,c.shouldIncludeSpecialSyncItems),c=_.B(e,4,c.deviceAndroidId),_.A(d,7,c));return d});_.Db(b,2,a);return b},Yid=function(a){var b=new Pdd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.wO).Rb(c.id).Ib(Xid[c.type]).setTitle(c.title);d=_.B(d,4,c.iconUri);d=_.Lcd(d.setSize(c.size),_.QM(c.updateTime));d=_.B(d,7,c.hasCustomBehavior).wm(c.description);return _.B(d,9,c.ongoingSyncEnabled)});_.Db(b,1,a);return b},Vid={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Xid={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 Zid=function(a,b){this.H=a;this.O=b};
var $id={read:2,write:3,comment:4},ajd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.lF((new _.sl).Rb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.dM(d,_.n_c(c.userCapabilities));_.rM(b).includes(19)&&_.nWc(d,!0);bbd(a,d,_.rM(b));_.oWc(d,4);return d},cjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.goa;f=_.B(f,2,bjd(e));e=ajd(a,b,e);e=_.A(e,100,f);d.push(e)}});c=(new _.iA).Nw(d).ZP(c.suggestionSessionId);return _.VYc(new _.JM,c)},ejd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=djd(f.person).Rb(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=ajd(a,b,l),d.push(q));l=G3c(F3c(E3c(new _.doa,k.clone()),bjd(l)),l.url);_.wk(q,107,l,_.doa,void 0)})}});return c5c((new _.AM).Nw(d),e).ZP(c.suggestionSessionId)},djd=function(a){return _.CVc((new _.$k).Rb(a.id).ld(a.displayName),a.emailAddress).Sn(a.photoUrl)},
gjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=ajd(a,b,e);e=fjd(e);f=_.Db(f,117,e);d.push(f)}});c=(new _.iA).Nw(d).ZP(c.suggestionSessionId);return _.VYc(new _.JM,c)},fjd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Lna,e=hjd(c);e&&_.vk(d,2,_.el[0],e);(e=ijd(c))&&w2c(d,e);(e=jjd(c))&&_.vk(d,4,_.el[0],e);(e=kjd(c))&&_.vk(d,5,_.el[0],e);(e=ljd(c))&&_.vk(d,6,_.el[0],e);(e=mjd(c))&&_.vk(d,7,_.el[0],e);(e=njd(c))&&_.vk(d,8,_.el[0],e);(e=ojd(c))&&
_.vk(d,9,_.el[0],e);(e=pjd(c))&&_.vk(d,10,_.el[0],e);(c=qjd(c))&&_.vk(d,11,_.el[0],c);return d}):(a=TO(a),a=g3c([a]),[w2c(new _.Lna,a)])},sjd=function(a){return(a.justification||[]).map(function(b){return rjd(b)})},TO=function(a){return(a=a.justification)?rjd(a):null},rjd=function(a){var b=t2c(new _.bl,tjd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=djd(c),_.vk(b,3,_.Kna[0],c),u2c(b,[c])):d?(c=(d.person||[]).map(function(e){return djd(e)}),d=s2c(c),_.vk(b,4,_.Kna[0],d),u2c(b,c)):(c=(a.person||
[]).map(function(e){return djd(e)}),c.length&&(d=s2c(c),_.vk(b,4,_.Kna[0],d),u2c(b,c)));_.B(b,5,_.QM(a.eventTime));v2c(b,tjd(a.justificationDescription));return b},tjd=function(a){if(!a)return null;a=a.textSegment||[];return p2c(new _.Ina,a.map(function(b){var c=(new _.Yk).zh(b.text),d=b.link;if(d){var e=new _.Zk;d=_.B(e,1,d.url)}else d=null;c=_.A(c,2,d);c=_.B(c,3,b.bold);return _.B(c,4,b.italic)}))},hjd=function(a){a=a.documentDocosAction;if(!a)return null;var b=V2c(new _.Rna,TO(a));U2c(b,(a.subAction||
[]).map(function(c){var d=new _.Tna;c.reply?(c=new _.Nna,_.vk(d,1,_.Sna[0],c)):c.resolve?(c=new D2c,_.vk(d,2,_.Sna[0],c)):c.reassign?(c=new B2c,_.vk(d,3,_.Sna[0],c)):c.acceptSuggestion?(c=new x2c,_.vk(d,4,_.Sna[0],c)):c.rejectSuggestion?(c=new C2c,_.vk(d,5,_.Sna[0],c)):c.openThread&&(c=new _.Mna,_.vk(d,6,_.Sna[0],c));return d}));_.B(b,2,a.discussionId);_.B(b,3,a.postId);W2c(b,tjd(a.anchorText));return b},jjd=function(a){a=a.documentShareAction;if(!a)return null;var b=Z2c(new _.hl,TO(a));Y2c(b,(a.subAction||
[]).map(function(c){var d=new a3c;c.suggestedShare?(c=new H2c,_.vk(d,1,$2c[0],c)):c.responseToRequest&&(c=new E2c,_.vk(d,2,$2c[0],c));return d}));X2c(b,(a.sharee||[]).map(function(c){return djd(c)}));_.B(b,3,$id[a.shareeRole]);return b},ijd=function(a){a=a.documentViewAction;if(!a)return null;var b=g3c(sjd(a));f3c(b,(a.subAction||[]).map(function(c){var d=new i3c;c.open?d.lg(new mN):c.reviewEdits&&(c=new F2c,_.vk(d,2,h3c[0],c));return d}));return b},kjd=function(a){a=a.emailViewAction;if(!a)return null;
var b=t3c(new r3c,TO(a));s3c(b,(a.subAction||[]).map(function(c){var d=new v3c;c.openEmail&&d.lg(new z2c);return d}));return b},ljd=function(a){a=a.calendarEventAction;if(!a)return null;var b=N2c(M2c(L2c(new _.fl,a.eventId),TO(a)),a.guestCount);K2c(b,(a.subAction||[]).map(function(c){var d=new P2c;if(c.viewCalendarEvent){var e=new I2c;_.vk(d,1,O2c[0],e)}c.shareWithAttendees&&(e=new G2c,_.vk(d,2,O2c[0],e));c.present&&(e=new A2c,_.vk(d,3,O2c[0],e));c.openDocument&&(c=new mN,_.vk(d,4,O2c[0],c));return d}));
return b},mjd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=n3c(m3c(new k3c,a.workspaceId),TO(a));l3c(b,(a.subAction||[]).map(function(c){var d=new p3c;c.addToWorkspace&&(c=new y2c,_.vk(d,1,o3c[0],c));return d}));return b},njd=function(a){a=a.documentTopicAction;if(!a)return null;var b=c3c(new _.jl,TO(a));b3c(b,(a.subAction||[]).map(function(c){var d=new e3c;c.openDocument&&(c=new mN,_.vk(d,1,d3c[0],c));return d}));return b},ojd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=B3c(new _.ml,TO(a));A3c(b,(a.subAction||[]).map(function(c){var d=new D3c;c.openDocument&&(c=new mN,_.vk(d,1,C3c[0],c));return d}));return b},pjd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=R2c(new _.gl,TO(a));Q2c(b,(a.subAction||[]).map(function(c){var d=new T2c;c.openDocument&&(c=new mN,_.vk(d,1,S2c[0],c));return d}));return b},qjd=function(a){a=a.formResponseAction;if(!a)return null;var b=x3c(new _.ll,sjd(a));w3c(b,(a.subAction||[]).map(function(c){var d=new z3c;c.openDocument?
(c=new mN,_.vk(d,1,y3c[0],c)):c.viewResponses&&(c=new J2c,_.vk(d,2,y3c[0],c));return d}));return b},bjd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var ujd=function(a,b){this.H=a;this.O=b},wjd=function(a,b,c){_.PM(["drive#categoryMetadataList"],c);var d=new CN,e=Object.values(c.categoryMetadata||{});i6c(d,e.map(function(f){return vjd(a,f,b.Nc())}));d.Gc(1);return new _.DM(d,Acd(c))},yjd=function(a,b){var c=new CO;fdd(c,(b.categories||[]).map(function(d){return xjd(a,d)}));c.Gc(1);return new A8c(c,Acd(b))},vjd=function(a,b,c){_.PM(["drive#categoryMetadata"],b);c=$5c((new zN).ld(b.categoryName),c);b=Object.values(b.attributeValues||[]);Z5c(c,b.map(function(d){return zjd(a,
d)}).filter(function(d){return d}));return c},xjd=function(a,b){var c=M5c(L5c((new wN).ld(b.name),b.categoryName),b.latestName).setTitle(b.title).wm(b.description);N5c(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new I5c).Rb(d.id);f=_.B(f,2,d.queryGuid);f=_.B(f,3,d.helpText);f=_.B(f,4,d.displayName);if(d.attributeDisplayHints){var h=Ajd(d.attributeDisplayHints);_.A(f,5,h)}if(d.capabilities){h=d.capabilities;var k=new q5c;k=_.B(k,1,h.canSearch);h=_.B(k,2,h.canWrite);_.A(f,6,h)}_.B(f,7,
Bjd[e]);d=d[Cjd(e)+"Options"];return Djd(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&O5c(c,Ejd(b.createdBy));b.updatedBy&&P5c(c,Ejd(b.updatedBy));b.publishedBy&&Q5c(c,Ejd(b.publishedBy));_.B(c,9,_.QM(b.createTime));_.B(c,10,_.QM(b.updateTime));_.B(c,11,_.QM(b.publishTime));b.displayHints&&R5c(c,Ajd(b.displayHints));b.capabilities&&S5c(c,Fjd(b.capabilities));b.learnMoreUri&&_.B(c,15,b.learnMoreUri);return c},zjd=function(a,b){_.PM(["drive#categoryAttributeValue"],b);var c=(new xN).Rb(b.id);
if(b.userScoped)b=Object.values(b.userScoped),X5c(c,b.map(function(d){_.PM(["drive#userScopedAttributeValue"],d);var e=new U5c,f=_.RM(a.H,d.scopedUser);e=_.A(e,1,f);return a.Lb(e,d)?e:null}).filter(function(d){return d})),c.MA(9);else if(!a.Lb(c,b))return null;return c},Ajd=function(a){var b=(new p5c).fl(a.disabled);b=_.B(b,2,a.hidden);b=_.B(b,3,a.activatedInAllDrives);return _.B(b,4,!!a.required)},Fjd=function(a){var b=new K5c;b=_.B(b,1,a.canSearch);b=_.B(b,2,a.canApply);b=_.B(b,4,a.canRemove);return _.B(b,
3,a.canManageSharedDriveActivation)},Djd=function(a,b,c,d){return Gjd(a,function(){Hjd(a)[c](b,d)},c,b)},Ijd=function(a){a=void 0===a?{}:a;var b=new t5c;b=_.B(b,1,a.minSize);return _.B(b,2,a.maxSize)},Kjd=function(a){var b=new z5c;A5c(b,(a.choices||[]).map(function(c){var d=(new y5c).Bd(c.label).Lb(c.value);c.description&&d.wm(c.description);if(c.capabilities){var e=c.capabilities;var f=new w5c;f=_.B(f,1,e.canSearch);e=_.B(f,2,e.canSelect);_.A(d,3,e)}c.displayHints&&(c=c.displayHints,e=(new x5c).fl(c.disabled),
e=_.B(e,2,c.hidden),c.badgePriority&&_.B(e,5,c.badgePriority),c.badgeColors&&(f=Jjd(c.badgeColors),_.A(e,3,f)),c.darkBadgeColors&&(c=Jjd(c.darkBadgeColors),_.A(e,4,c)),_.A(d,4,e));return d}));return b},Jjd=function(a){var b=new o5c;var c=Ljd(a.backgroundColor);b=_.A(b,1,c);c=Ljd(a.foregroundColor);b=_.A(b,2,c);a=Ljd(a.soloColor);return _.A(b,3,a)},Ljd=function(a){var b=new _.xE;b=_.nk(b,1,a.red,0);b=_.nk(b,2,a.green,0);b=_.nk(b,3,a.blue,0);a.alpha&&(a=(new e4c).Lb(a.alpha),_.A(b,4,a));return b},Mjd=
function(a){var b=new D5c;b=_.B(b,1,a.showThousandsSeparator);b=_.B(b,2,a.minValue);return _.B(b,3,a.maxValue)},Njd=function(a){var b=(new _.loa).setYear(a.year).setMonth(a.month);return _.B(b,3,a.day)};ujd.prototype.Lb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.MA(Bjd[d]);return Gjd(this,function(){Ojd(c)[d](a,b[b.valueType])},b.valueType)};
var Gjd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof F5c))return H4c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Ejd=function(a){return(new _.$k).Ib(1).Rb(a.personName.split("/")[1])},Cjd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Hjd=function(a){return{BOOLEAN:function(b,c){var d=b.M4a;var e=new u5c;e=_.B(e,1,c.trueLabel);c=_.B(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.eea(Ijd(c))},TEXT_LIST:function(b,c){var d=b.P5a;var e=new C5c;e=_.B(e,1,c.maxEntries);c=Ijd(c.options);c=_.A(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new s5c;d=_.B(d,1,c.minSize);c=_.B(d,2,c.maxSize);return _.vk(b,10,uN[0],c)},SELECTION:function(b,c){return b.B5a(Kjd(c))},SELECTION_LIST:function(b,c){var d=b.A5a;var e=new B5c;e=_.B(e,1,c.maxEntries);c=Kjd(c.options);c=_.A(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.Z4a(Mjd(c))},INTEGER_LIST:function(b,
c){var d=b.Y4a;var e=new E5c;e=_.B(e,1,c.maxEntries);c=Mjd(c.options);c=_.A(e,2,c);return d.call(b,c)},USER:function(b){return b.U5a(new G5c)},USER_LIST:function(b,c){var d=b.Dqa,e=new H5c;c=_.B(e,1,c.maxEntries);e=new G5c;c=_.A(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.gqa;var e=new r5c;e=_.B(e,4,c.dateFormat);var f=Njd(c.minValue);e=_.A(e,2,f);c=Njd(c.maxValue);c=_.A(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new F5c;d=_.B(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.B(d,2,Bjd[e]);c=c[Cjd(e)+"Options"];Djd(a,d,e,c);return _.vk(b,16,uN[0],d)}}},Ojd=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.zqa(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.vqa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.mqa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.RM(a.H,c))},USER_LIST:function(b,c){W5c(b,c.map(function(d){return _.RM(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Bjd={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 Pjd=function(a){a=a.personResponse;return X9c(new W9c,a.map(function(b){var c=b.person;b=T9c(new bO,b.personId);var d=b.ld,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=U9c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new S9c;c=_.B(d,1,c&&!c.isDefault?c.url:null);return _.A(b,4,c)}))};
var Qjd=function(a){this.H=a},Sjd=function(a,b){_.PM(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return Rjd(a,c)})},Rjd=function(a,b){_.PM(["drive#teamDrive","drive#drive"],b);var c=new _.ioa,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.B(c,2,d);_.B(c,1,b.backgroundImageLink);_.B(c,3,b.trusted);_.B(c,5,b.backgroundImageGridViewLink);_.B(c,6,b.backgroundImageListViewLink);_.B(c,7,b.hidden);_.B(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
O0c(c,d.map(function(e){_.PM(["drive#driveCategoryReference"],e);var f=new _.rl;return _.B(f,1,e.category)}));c=_.sWc(_.rWc(_.oWc(_.pWc(N0c(_.lF((new _.sl).Rb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.OVc(_.n_c(b.capabilities),!0),_.dM(c,d));b.permissionsSummary&&_.qWc(c,_.D_c(a.H,b.permissionsSummary));b.restrictions&&Q0c(c,Tjd(b.restrictions));return c},Tjd=function(a){var b=new H3c;b=_.B(b,1,a.copyRequiresWriterPermission);
b=_.B(b,2,a.disallowDriveFileStream);b=_.B(b,3,a.domainUsersOnly);return _.B(b,4,a.teamMembersOnly)};
var Ujd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},d2c=_.$a(Ujd);
var Vjd=function(a){_.PM(["drive#setting"],a);var b=new _.Nb;b=_.B(b,2,a.key);b=_.B(b,1,Ujd[a.namespace]);return _.zDa(new _.Mp,b).Lb(a.value)};
var Xjd=function(a){_.PM(["drive#workspaceList"],a);var b=a.items||[];b=$9c(new cO,b.map(function(c){return Wjd(c)}));return new _.GM(b,Acd(a))},Wjd=function(a){_.PM(["drive#workspace"],a);var b=(new _.jF).Rb(a.id).setTitle(a.title);b=_.B(b,3,_.QM(a.createdDate));return _.B(b,4,_.QM(a.modifiedDate)).Rd(Yjd[a.state])},Zjd=function(a,b,c){var d=c.item||[];return _.u0c(_.t0c(new _.YM,d.map(function(e){return ajd(a,b,e)})),c.suggestionSessionId)},akd=function(a,b,c){var d=c.item||[];return C6c(B6c(new FN,
d.map(function(e){return $jd(a,b,e)})),c.suggestionSessionId)},$jd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return z6c(x6c(y6c(w6c(new EN,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return ajd(a,b,f)})),TO(c))},bkd=function(a){var b=new g5c;a.kind&&(a=Wjd(a),_.A(b,2,a));b.Gc(1);return b},Yjd={active:1,archived:2};
var $1c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var ckd=function(a,b,c,d){_.M_c.call(this,b);this.Tg=a;this.ka=c;this.O=d;this.W=null;this.ma=new Phd(this.V);this.H=new Qjd(this.uF);this.ta=new Zid(this.uF,this.H)};_.O(ckd,_.M_c);var dkd=function(a){a.W||(a.W=new ujd(a.V,a.ka));return a.W};
ckd.prototype.ha=function(a,b){if(a instanceof _.eL)var c=_.v_c(_.R_c(a));else{if(a instanceof _.fL)var d=_.O_c(this,a,b);else{if(a instanceof _.bVc)var e=ekd(this,a.request,b);else{if(a instanceof _.gL)var f=_.O_c(this,a,b);else{if(a instanceof _.iL){if(!b.json)throw _.SM();var h=k6c((new j6c).Gc(1),Rjd(this.H,b.json))}else{if(a instanceof _.hL)var k=_.O_c(this,a,b);else{if(a instanceof _.wM)var l=new m5c;else{if(a instanceof _.kL)var p=fkd(a,b);else{if(a instanceof _.lL)var q=Rid(void 0,a.Fh());
else{if(a instanceof _.mL)var r=new Udd;else{if(a instanceof _.nL)var u=_.v_c(_.R_c(a));else{if(a instanceof _.oL)var y=new BO;else{if(a instanceof _.pL)var z=_.v_c(_.R_c(a));else{if(a instanceof _.qL)var D=_.v_c(_.R_c(a));else{if(a instanceof _.OB){var G=new Zcd,I=a.getKey();var M=_.A(G,4,I)}else{if(a instanceof _.rL)var R=fkd(a,b);else{if(a instanceof _.uL)var W=_.v_c(_.R_c(a));else{if(a instanceof _.ZUc){if(!b.json)throw _.SM();var oa=new y8c(b.json.exportJob.id)}else{if(a instanceof _.vL){if(!b.json)throw _.SM();
var ha=b.json,va=new Ucd,Ca=Qid(ha);var Aa=_.A(va,2,Ca).Gc(1)}else{if(a instanceof _.wL)var Va=gkd(a,b);else{if(a instanceof _.yL){if(!b.json)throw _.SM();var Ba=(new BO).Gc(1),tb=_.w_c(this.uF,b.json);var yc=_.A(Ba,2,tb)}else{if(a instanceof _.JK)a:{if(!b.json)throw _.SM();if(a instanceof _.JK){var ec=a.Cd();if(ec&&_.zL(ec)){var Tc=cjd(this.O,this.Tg,b.json);break a}if(ec&&_.AL(ec)){Tc=ejd(this.O,this.Tg,b.json);break a}if(ec&&_.BL(ec)){Tc=gjd(this.O,this.Tg,b.json);break a}}Tc=_.s_c(this.uF,b.json,
b.headers)}else{if(a instanceof _.CL){if(!b.json)throw _.SM();var od=Yid(b.json)}else{if(a instanceof _.DL){if(!b.json)throw _.SM();var Yb=b.json;_.PM(["drive#appList"],Yb);for(var Kc=new aO,Bd=[],Qe=Yb.items||[],vc=0;vc<Qe.length;vc++)Bd.push(Qid(Qe[vc]));var ub=_.Db(Kc,2,Bd);var sg=_.jk(ub,4,Yb.defaultAppIds).Gc(1)}else{if(a instanceof _.$Uc){if(!b.json)throw _.SM();var Hh=Wid(b.json)}else{if(a instanceof _.VK)var Hd=hkd(this,b);else{if(a instanceof _.EL){if(!b.json)throw _.SM();var tg=new Xcd,
Gj=this.uF,si=b.json,uh=new sN,Vl=_.x_c(Gj,si,"items");var Wf=_.Db(uh,2,Vl);var nf=_.A(tg,1,Wf);var Ci=_.B(nf,2,Acd(b.json))}else{if(a instanceof _.FL){if(!b.json)throw _.SM();var ek=this.uF,Hg=b.json,Ih=new X4c;_.PM(["drive#revisionList"],Hg);for(var Ik=[],Jh=Hg.items||[],Wg=0;Wg<Jh.length;Wg++){var ne=_.t_c(ek,Jh[Wg]);Ik.push(ne)}var cl=_.Db(Ih,2,Ik)}else{if(a instanceof _.rK)var ai=ikd(a,b);else{if(a instanceof _.HL){if(!b.json)throw _.SM();var nj=Pjd(b.json)}else{if(a instanceof _.hVc){if(!b.json)throw _.SM();
var Tj=yjd(dkd(this),b.json)}else{if(a instanceof _.fF){if(!b.json)throw _.SM();var oj=dkd(this),$i=b.json,pj=new gdd,Xg=xjd(oj,$i);var lh=_.A(pj,2,Xg).Gc(1)}else{if(a instanceof _.IL){if(!b.json)throw _.SM();var Ig=b.json;_.PM(["drive#remainingCount"],Ig);var Jg=new hdd,Kh=Ig.nextPageToken;null!=Kh&&_.B(Jg,2,Number(Kh));_.B(Jg,1,Number(Ig.remainingCount));var Lh=Jg}else{if(a instanceof _.iF){if(!b.json)throw _.SM();var vh=(new _.iA).Nw([Rjd(this.H,b.json)])}else{if(a instanceof _.SL){if(!b.json)throw _.SM();
var ii=(new _.iA).Nw(Sjd(this.H,b.json)),Uj=_.VYc(new _.JM,ii);var fk=_.B(Uj,3,Acd(b.json))}else{if(a instanceof _.ML)var aj=gkd(a,b);else{if(a instanceof _.NL)var Oi=ekd(this,a,b);else{if(a instanceof _.TK)var Ee=_.O_c(this,a,b);else{if(a instanceof _.OL)var ac=_.O_c(this,a,b);else{if(a instanceof _.PL)var wh=jkd(this,b);else{if(a instanceof _.PB){if(!b.json)throw _.SM();var Pi=Vjd(b.json),Fe=new Zcd;var Og=_.A(Fe,3,Pi);var tf=Pi.getKey();var qm=_.A(Og,4,tf)}else{if(a instanceof _.QL)var dl=fkd(a,
b);else{if(a instanceof _.EK){if(!b.json)throw _.SM();var ti=Thd(this.ma,b.json)}else{if(a instanceof _.kF){if(!b.json)throw _.SM();var Hf=Wjd(b.json),Xf=new _.BM;Xf.mU().set(Hf.getId(),Hf);var xl=Xf}else{if(a instanceof _.aVc){if(!b.json)throw _.SM();for(var Hj=b.json,Bf=new u8c,Sd=_.m(Object.entries(Hj)),Di=Sd.next();!Di.done;Di=Sd.next()){var Ve=_.m(Di.value),Wl=Ve.next().value,Ij=Ve.next().value;switch(Wl){case "nextPageToken":_.qk(Bf,2,Ij);break;case "activities":var bj=xid(Ij);_.Db(Bf,1,bj)}}var af=
Bf}else{if(a instanceof _.cVc)var rm=jkd(this,b);else{if("undefined"!=typeof _.gVc&&a instanceof _.gVc)var sm=hkd(this,b);else{if(a instanceof _.dVc){if(!b.json)throw _.SM();var io=new x8c}else{if(a instanceof _.eVc){if(!b.json)throw _.SM();var zn=c2c(b)}else{if(a instanceof _.NB){if(!b.json)throw _.SM();var zk=b.json,Rh=new _.Ny;_.PM(["drive#settingList"],zk);for(var Mj=[],Xj=zk.items||[],Xm=0;Xm<Xj.length;Xm++){var il=Vjd(Xj[Xm]);il&&Mj.push(il)}var Zl=_.ghb(Rh,Mj)}else{if(a instanceof _.hF){if(!b.json)throw _.SM();
var $l=akd(this.O,this.Tg,b.json).Gc(1)}else{if(a instanceof _.gF){if(!b.json)throw _.SM();var An=Zjd(this.O,this.Tg,b.json)}else{if(a instanceof _.mVc){if(!b.json)throw _.SM();var OE=b.json;_.PM(["drive#teamDrive"],OE);var PE=OE.recursiveFolderCount,vI=OE.recursiveFileCount,lY=new Qcd;var mY=_.B(lY,1,vI);var wI=_.B(mY,2,PE)}else{if(a instanceof _.lVc)var nY=kkd(b);else{if(a instanceof _.oVc){if(!b.json)throw _.SM();var oY=Xjd(b.json)}else oY=a instanceof _.gN?jkd(this,b):null;nY=oY}wI=nY}An=wI}$l=
An}Zl=$l}zn=Zl}io=zn}sm=io}rm=sm}af=rm}xl=af}ti=xl}dl=ti}qm=dl}wh=qm}ac=wh}Ee=ac}Oi=Ee}aj=Oi}fk=aj}vh=fk}Lh=vh}lh=Lh}Tj=lh}nj=Tj}ai=nj}cl=ai}Ci=cl}Hd=Ci}Hh=Hd}sg=Hh}od=sg}Tc=od}yc=Tc}Va=yc}Aa=Va}oa=Aa}W=oa}R=W}M=R}D=M}z=D}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var fkd=function(a,b){if(!b.json){if(a instanceof _.rL)return bkd({});throw _.SM();}return bkd(b.json)},jkd=function(a,b){if(!b.json)throw _.SM();a=Rjd(a.H,b.json);return(new _.UL).Gc(1).setItem(a)},ekd=function(a,b,c){if(!c.json)throw _.SM();return wjd(dkd(a),b,c.json)},gkd=function(a,b){if(!b.json)throw _.SM();return Rid(b.json,a.Fh())},hkd=function(a,b){if(!b.json)throw _.SM();a=a.ta;var c=b.json;_.PM(["drive#about","drive#changeList"],c);b=new Q9c;var d=c.nextPageToken;null!=d&&_.B(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.B(b,3,Number(d));if("drive#changeList"==c.kind){_.PM(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.PM(["drive#change"],h);var k=new _.MK;k=_.B(k,1,Number(h.id));h.teamDriveId?(_.uUc(k,h.teamDriveId),_.NK(k,h.teamDriveId)):_.NK(k,h.fileId);h.file?k.setItem(_.p_c(f.H,h.file)):h.teamDrive&&k.setItem(Rjd(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.XK(k);d.push(k)}_.Db(b,4,d)}return b},kkd=function(a){var b,c;if(!a.json)throw _.SM();
a=a.json;var d=a.result&&a.result.status;d=d&&lkd[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 zdd(ydd(xdd(new _.wdd,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.udd;p=_.B(p,1,l.unmovableReason);return _.B(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return tdd(sdd(rdd(qdd(new pdd,Acd(a)),a.processedFileCount).Gc(d),a.result&&a.result.validationToken),
e)},ikd=function(a,b){var c=new Wdd;if(_.Jd(a,6).length){var d=[];$0c(_.Jd(a,6),b.headers).forEach(function(e,f){var h=new _.uRc;e=_.B(h,1,f).Lb(e);d.push(e)});_.Db(c,1,d)}Xdd(c,b.json?JSON.stringify(b.json):b.text);return c},lkd={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var nkd=function(a){var b=new _.wp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(mkd[a]);_.tM(b,c.join(" "))}return b.toString()},okd={},mkd=(okd[1]="active",okd[2]="archived",okd);
var pkd=function(a,b,c,d){_.TM.call(this,b,c,a.ONa,d);this.ma=a;this.ha=new c9c(_.rM(c),b)};_.O(pkd,_.TM);
pkd.prototype.V=function(a,b,c){var d=this;try{return _.TM.prototype.V.call(this,a,b,c)}catch(R){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.fL){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.L(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.T(a,4)&&(k.preflightValidationToken=_.C(a,4));var r=Bcd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.gL){h="POST";q="files/"+a.Nc()+"/authorize";k.appId=a.Fh();
_.L(a,3)&&(k.propagate=!0);var u=a.xe();p=!0;_.qM(k);_.XL(this.H,[],[a.Nc()],this.O,f)}else if(a instanceof _.gN)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.F(a,2,!1),r),f["content-type"]="application/json",k.fields=TN(this.H,[],!0),u=a.xe(),p=!0;else if(a instanceof _.cVc)h="POST",q="teamdrives/"+a.requestId,k.fields=TN(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.xe(),p=!0;else if(a instanceof _.kL)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Dcd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.hL)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.QUc({fields:this.Ug(c),nr:_.CK(_.DK(this.H)),GG:_.IK(this.H)}),k.convert=_.F(a,4,!1),r=Ccd(a),f["content-type"]="application/json",u=a.xe(),a=_.Jd(a,3).concat([a.getId()]),_.XL(this.H,[],a,this.O,f),p=!0,_.qM(k),_.c0c(this.H,k);else if(a instanceof _.lL)h="DELETE",q="apps/"+a.Fh(),k.appId=a.Fh(),k.deleteAppData=
!!_.L(a,2),u=a.xe(),p=!0;else if(a instanceof _.mL)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.nL)h="DELETE",q="files/"+a.getId(),u=a.xe(),p=!0,_.qM(k),_.c0c(this.H,k),_.XL(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.oL)h="DELETE",q="files/"+a.Nc()+"/permissions/"+_.C(a,2),u=a.xe(),p=!0,_.qM(k);else if(a instanceof _.pL)h="DELETE",q="files/"+a.Nc()+"/revisions/"+_.C(a,2),u=a.xe(),p=!0,_.XL(this.H,[],[a.Nc()],this.O,f);else if(a instanceof _.qL)h="DELETE",q="teamdrives/"+
a.getId(),u=a.xe(),p=!0;else if(a instanceof _.OB)h="DELETE",u=a.getKey(),q="settings/"+_.C(u,2),u.kt()&&(k.namespace=d2c[u.kt()]),u=a.xe(),p=!0;else if(a instanceof _.rL)h="DELETE",q="workspaces/"+a.getId(),u=a.xe(),p=!0;else if(a instanceof _.uL)h="DELETE",q="files/trash",u=a.Cd().xe(),p=!0,_.c0c(this.H,k);else if(a instanceof _.vL)q="apps/"+a.Fh(),u=a.xe(),p=!0,k.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if(a instanceof _.CL)q="backups/"+a.getId()+"/items",e=9,k.languageCode=oN(_.DK(this.H));else if(a instanceof _.wL)h="POST",q="apps",k.appId=a.Fh(),u=a.xe(),p=!0;else if(a instanceof _.yL)h="POST",q="files/"+a.Nc()+"/permissions",k.fields=_.IK(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.C(a,5)||"",k.sendNotificationEmail=!_.F(a,6,!1),r={},1==a.jg()?r.role="owner":3==a.jg()?r.role="writer":4==a.jg()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.jg()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Xa()&&(r.value=a.Xa()),r.withLink=!_.F(a,8,!1),f["content-type"]="application/json",u=a.xe(),p=!0,_.qM(k);else if(a instanceof _.ZUc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Jd(a,1).map(function(R){if(_.F(d.H,89,!1)){var W=_.GYc(d.O,R);if(null!==W)return{id:R,resource_key:{resource_key:W}}}return{id:R}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.JK||a instanceof _.wM||a instanceof _.hF||a instanceof _.gF)if(b=a instanceof _.JK?a.Cd():a,_.WL(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.kM(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=l9c(this.H);z.platformType=y;z.languageCode=oN(_.DK(this.H));z.timeZone=(new _.yt).laa();z.requestType="LIVE_REQUEST";a instanceof _.JK&&(y=a.getOptions())&&_.F(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ye?_.zL(b)?(i9c(this.ha)?(z.scenarioType="ONE_PICK",this.Kd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.iM(b)&&((a=_.SK(this.H))&&_.F(a,12,!1)&&!i9c(this.ha)&&(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:_.Jd(b,33)[0]}),_.gM(b).length&&(r.itemType=k9c(b))):_.AL(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.BL(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.wM?(q="/v1/userfeedback",r.userFeedback=_.uk(b,_.j5c,1).map(function(R){var W=_.E(R,_.tN,2),oa={},ha={};ha.feedbackType=l6c[W.getType()];oa.item=ha;oa.clientInfo=z;switch(R.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ha.itemId=W.Nc();break;case 3:z.scenarioType="QUICK_ACCESS";ha.itemId=W.Nc();break;case 2:z.scenarioType=
"DRIVE_WORKSPACES",ha.itemId=W.Nc(),ha.childItem=_.uk(W,_.tN,3).map(function(va){var Ca={};Ca.itemId=va.Nc();return Ca})}return oa})):b instanceof _.hF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.gF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Rp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.L(b,5)}]):_.f0c(a);b instanceof _.wM||(r.maxSuggestions=b.Ui(),r.clientInfo=z)}else{u=b.xe();
p=!0;q="files";k.q=_.JXc(b);y=[];var D;(D=_.SK(this.H))&&_.F(D,4,!1)?(D=_.ua(this.Ug(c),this.Ug(c,b.O())),_.Fa(D)):D=_.wa(this.Ug(c));var G=void 0,I=!1;0<_.uk(b,_.Gl,5).length&&(G=_.C(this.H.eg(),50),I=!0);k.fields=F0c({fields:D,nr:_.CK(_.DK(this.H)),S7:G||void 0,GG:_.IK(this.H),mBb:I});k.appDataFilter="NO_APP_DATA";0<_.uk(b,_.fM,25).length&&(k.sources=_.BXc(b));0<b.AB().length&&(k.spaces=_.CXc(b));a.Yn()&&(k.pageToken=a.Yn());(a=a.getOptions())&&_.dk(a,1,1E3)&&(k.maxResults=_.dk(a,1,1E3));_.F(b,
36,!1)&&(k.includeUnsubscribed=!0);_.C(b,43)&&(k.rawUserQuery=_.C(b,43));_.qM(k);k.includeItemsFromAllDrives=_.F(b,66,!0);0<_.Jd(b,33).length&&2==_.iM(b)&&(a=_.Jd(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.iXc[_.iM(b)];_.L(b,18)&&(_.Wa(k,"corpora"),k.corpus="DOMAIN");a=_.hM(b);D=_.uk(b,_.eM,35);G=_.uk(b,_.eM,38);y=y.concat(a.filter(function(R){return!_.F(R,2,!1)}).map(function(R){return R.Xa()})).concat(D.map(function(R){return R.Xa()})).concat(G.map(function(R){return R.Xa()}));_.XL(this.H,
_.uk(b,_.Il,63),y,this.O,f);b1c(k,b.Cc());_.d0c(this.H,k);_.e0c(this.H,k);_.E(b,_.Gda,64)&&(a=I3c(_.E(b,_.Gda,64)),a=_.ib(a,4),k.searchSessionData=a)}else if(a instanceof _.DL){q="apps";switch(a.getType()){case 1:k.fields=qkd;break;case 2:k.fields=rkd;break;case 4:k.fields=skd;break;case 3:e=5,q="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",
k.appQueryScope="all_webstore",b.ju=!0}k.languageCode=oN(_.DK(this.H));0<_.Jd(a,3).length&&(k.appFilterExtensions=_.Jd(a,3).join(","));0<_.Jd(a,4).length&&(k.appFilterMimeTypes=_.Jd(a,4).join(","));u=a.xe();p=!0}else if(a instanceof _.$Uc)q="backups",e=9,k.languageCode=oN(_.DK(this.H));else if(a instanceof _.VK)q="changes",k.includeDeleted=_.F(a,3,!0),k.includeSubscribed=_.F(a,4,!0),k.maxResults=a.qR(),k.startChangeId=_.C(a,1),k.fields=E0c({fields:this.Ug(c),S7:TN(this.H,_.Jd(a,5)),nr:_.CK(_.DK(this.H)),
GG:_.IK(this.H)}),k.appDataFilter="NO_APP_DATA",a.Dc()||(k.filters="DRIVE_DATASERVICE"),u=_.Jd(this.H.eg(),31),u.length&&(k.spaces=_.Cb(u,function(R){return _.xRc[R]}).join(",")),_.qM(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Dc()&&(k.teamDriveId=a.Dc()),u=a.xe(),p=!0;else if(a instanceof _.EL)b=a.Cd(),q="files/"+b.getId()+"/permissions",k.fields=_.IK(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.Yn()&&(k.pageToken=a.Yn()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.xe(),p=!0,_.qM(k),_.d0c(this.H,k),_.e0c(this.H,k),_.XL(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.FL)k.fields=_.IK(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":
"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",k.maxResults=a.Ui(),q="files/"+a.Nc()+"/revisions",u=a.xe(),p=!0,_.XL(this.H,[],[a.Nc()],this.O,f);else if(a instanceof _.iF)q="teamdrives/"+a.jn()[0],k.fields=TN(this.H,a.O()),u=a.xe(),p=!0;else if(a instanceof _.lVc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.L(a.request,3)&&(k.useDomainAdminAccess=!0),r=Ecd(a),f["content-type"]=
"application/json",p=l=!0,_.XL(this.H,[],_.Jd(a.request,1),this.O,f);else if(a instanceof _.SL)u=a.Cd(),q="teamdrives",k.fields=C8c(this.H,u.O()),k.q=U8c(u),a.Yn()&&(k.pageToken=a.Yn()),(u=(u=a.getOptions())&&_.dk(u,1,1E3))&&(k.maxResults=u),u=a.Cd().xe(),p=!0;else if(a instanceof _.mVc)q="teamdrives/"+a.Dc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.ML)h="PUT",q="apps/"+a.Fh(),k.appId=a.Fh(),r={},r.useByDefault=_.L(a,2),_.L(a,3)&&(r.hasAppData=!1),f["content-type"]=
"application/json",u=a.xe(),p=!0;else if(a instanceof _.TK)h="PUT",q="files/"+a.getId(),k.fields=_.QUc({fields:this.Ug(c),nr:_.CK(_.DK(this.H)),GG:_.IK(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.L(a,15),k.fileId=a.getId(),_.Jd(a,9).length&&(k.addParents=_.Jd(a,9).join(",")),_.Jd(a,10).length&&(k.removeParents=_.Jd(a,10).join(",")),_.Jd(a,31).length&&(k.addWorkspaces=_.Jd(a,31).join(",")),_.Jd(a,32).length&&(k.removeWorkspaces=_.Jd(a,32).join(",")),null!=_.L(a,24)&&(k.confirmed=
_.L(a,24)),k.languageCode=oN(_.DK(this.H)),r=Fcd(a),f["content-type"]="application/json",u=a.xe(),p=!0,_.qM(k),this.W(a.getId(),k),_.L(a,36)?k.bypassMultiparentingCheck=!0:_.c0c(this.H,k),b=_.Jd(a,9).concat(_.Jd(a,10)),b.push(a.getId()),_.XL(this.H,_.uk(a,_.Il,38),b,this.O,f);else if(a instanceof _.OL)h="PUT",q="files/"+a.Nc()+"/revisions/"+_.C(a,2),r=Gcd(a),f["content-type"]="application/json",u=a.xe(),_.XL(this.H,[],[a.Nc()],this.O,f);else if(a instanceof _.PL)q="teamdrives/"+a.getId(),null!=a.Nm()?
(h="POST",q+="/"+(a.Nm()?"hide":"unhide")):(h="PUT",r=Hcd(a),f["content-type"]="application/json"),k.fields=TN(this.H),u=a.xe(),p=!0;else if(a instanceof _.QL)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Icd(a),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof _.PB)h="PUT",r=_.E(a,_.Mp,1),u=r.getKey(),q="settings/"+_.C(u,2),(u=u.kt())&&(k.namespace=d2c[u]),r=e2c(r),f["content-type"]="application/json",u=a.xe(),p=!0;else if(a instanceof
_.EK)q="about",k.fields=_.IK(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",
k.fields=h2c(k.fields,this.H),u=a.xe(),p=!0;else if(a instanceof _.rK){e=11;h=a.Kz();q=a.getUrl();var M=a.ha()||"";_.uk(a,_.uRc,2).forEach(function(R){f[R.getKey()]=R.Xa()});_.uk(a,_.uRc,4).forEach(function(R){k[R.getKey()]=R.Xa()});_.L(a,7)&&(b.qKb=!0);_.L(a,8)&&(b.ju=!0);_.L(a,9)&&(b.Foa=!0)}else a instanceof _.bVc?(b=a.request.Nc(),q="files/"+b+"/listCategoryMetadata",u=a.request.xe(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Ui()&&(k.maxResults=a.request.Ui()),k.fields="kind,nextPageToken,categoryMetadata",
_.XL(this.H,[],[b],this.O,f)):a instanceof _.NL?(f["content-type"]="application/json",h="POST",b=a.Nc(),q="files/"+b+"/updateCategoryMetadata",u=a.xe(),r={categoryMetadata:a.$V().map(function(R){var W=_.uk(R,_.oF,2).map(function(ha){return{id:ha.getId(),userId:ha.Oz(),setBooleanValue:_.L(ha,3),setTextValue:_.C(ha,4),setTextValues:_.Jd(ha,6),addTextValues:_.Jd(ha,5),setLongTextValue:_.C(ha,7),setSelectionValue:_.C(ha,8),setSelectionValues:_.Jd(ha,10),addSelectionValues:_.Jd(ha,9),setIntegerValue:_.C(ha,
11),setIntegerValues:_.Jd(ha,13),addIntegerValues:_.Jd(ha,12),setUserValue:_.C(ha,14),setUserValues:_.Jd(ha,16),addUserValues:_.Jd(ha,15),setDateStringValue:_.C(ha,17)}}),oa={categoryName:R.an()};W.length?oa.categoryAttributeValueDeltas=W:_.Jd(R,4).length?oa.revertAttributeIds=_.Jd(R,4):_.L(R,3)&&(oa.removeCategory=_.L(R,3));return oa})},_.XL(this.H,[],[b],this.O,f)):a instanceof _.HL?(e=13,q=_.CK(_.DK(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.jn(),k["request_mask.include_container"]=
["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.CK(_.DK(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.hVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Ui()&&(k.maxResults=a.request.Ui()),k.$outputDefaults=!0,k.languageCode=oN(_.DK(this.H))):
a instanceof _.fF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=oN(_.DK(this.H))):a instanceof _.iL?(f["content-type"]="application/json",h="POST",q="drives/"+a.Dc()+"/changeCategoryReferences",u=a.xe(),p=!0,k.fields=TN(this.H,[157],!0),r={},b=_.uk(a,_.rl,2),b.length&&(r.addCategoryReferences=b.map(function(R){return{category:R.an()}})),a=_.uk(a,_.rl,3),a.length&&(r.removeCategoryReferences=a.map(function(R){return R.an()}))):a instanceof _.kF?
(q="workspaces/"+a.jn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.xe(),p=!0):a instanceof _.aVc?(e=7,h="POST",q="/v2/activity:query",f["content-type"]="application/json",r={},r.pageSize=a.pageSize,a.pageToken&&(r.pageToken=a.pageToken),b="items/"+a.request.getId(),_.F(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.SK(this.H))&&_.F(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):
a instanceof _.dVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.eVc?(e=8,q="/v1/exports/"+a.H):"undefined"!=typeof _.gVc&&a instanceof _.gVc?(q="changes",k.fields="kind,largestChangeId",_.qM(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.NB?(q="settings",u=_.Jd(a,3),k.namespace=f2c(u),u=a.xe(),p=!0):a instanceof _.oVc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&
(k.pageToken=a.pageToken),a.request.Ui()&&(k.maxResults=a.request.Ui()),k.q=nkd(a.request),(u=a.request.uw())&&1==u.getType()&&(k.orderBy="title"),u=a.request.xe(),p=!0):a instanceof _.IL?(q="changes/getRemainingCount",k.pageToken=_.C(a,2),_.T(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Dc()),u=a.xe()):a instanceof _.eL?(f["content-type"]="application/json",h="POST",q="files/"+a.Nc()+"/sendAccessRequest",r={},l=!0):_.f0c(a);p&&_.g0c(c,k);0!=e||l||u&&_.C(u,1)||_.nYc(this.Kd,
74438989);return _.h0c(this,e,q,k,f,h,u,r,M)};pkd.prototype.W=function(a,b){a=this.ma.zm.H(a);b.expectedParentIds=a?a.zk().join(","):[]};
var qkd=g2c("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"),rkd=
g2c("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"),
skd=g2c("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 tkd=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,D,G,I,M,R,W,oa,ha){this.Vpa=_.ei();this.Ega=new _.vYc;var va=new _.XYc(this.hK.bind(this),function(){return W("w8KrJc")}),Ca=new Nhd(b.zm),Aa=new Ehd(va);c=new whd(b,f,new rhd(d,e,c),h,this.Vpa.promise,k,l,c,W);d=new Mhd(b,p,q,r,u,d,e,D,k);this.O=new _.yYc(a,y);y=new pkd(b,a,k,oa);this.gua=new ckd(k,a,z,D);this.H=zcd(a,new _.k_c(this.O,this.Ega,y,this.gua,G,I,M),I,z,R,b.zm,this.Ega,this.Vpa.promise,M||void 0);this.Vpa.resolve(ha?ha:new _.JZc(new Ohd,
Ca,Aa,this.H,va,c,d,a))};tkd.prototype.hK=function(){return _.Pa(this.H,function(a){return a.hK()})};var Aed=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=$4c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var ukd=function(a,b){var c=this;this.context=a;this.Tg=b;this.ha=null;this.$R=0;this.ka=this.active=!1;this.H=this.ta=null;this.V={};this.Fa=this.Ba=!1;this.Kd=a.Yk();this.W=_.ei();this.O=a.Tc;this.Ha=_.SK(this.O)||new _.QK;b=_.pN(this.O);this.wa=new _.EYc(_.dk(b,2,37500),_.dk(b,3,6E5));this.ma=a.VQ;_.Ma(w9c,function(d){c.V[d]=[]});eO(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});eO(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});eO(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.pL().Og(_.Ff)})};_.g=ukd.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,MO(this.context).addCallback(function(b){a.ma.initialize().Vf(function(){a.ha=b;a.setActive(!0)},function(c){c&&H4c(a.context.hg(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.bL(c));a.log("Error initializing dump storage");a.AS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Ioa=function(a){this.active&&(this.$R+=a,this.$R>_.dk(_.pN(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.yR().hK()||0<b.Gf.NL.opa||b.Rj().hf()||b.Bk().hf())||((this.active=a)?(this.W.resolve(),this.H||this.pL().Og(_.Ff)):(this.W=_.ei(),_.n.clearTimeout(this.ta)))}};_.g.AS=function(){this.ka=!0};_.g.DXa=function(){return this.H?this.H.promise:_.$h()};
_.g.pL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.ei();_.fi(this.H.promise,function(){a.H=null});var b=this.Kd.H(106021)||void 0;this.W.promise.then(function(){return tcd(a.context.FD)}).then(function(c){var d=!c;return a.ka?d:_.ci([vkd(a,3,d,void 0,void 0,b),vkd(a,0,d,void 0,!0,b),vkd(a,1,d,void 0,!0,b),vkd(a,5,d,void 0,!0,b),vkd(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.kc("Failed to update dump",void 0,_.bL(e));return _.bi(e)})},function(){return _.bi(Error("kg"))}).then(function(c){a.H.resolve(c);
b&&(c=O4c(b),_.B(c,2,!0),b.ek())},function(c){a.H.reject(c);b&&(c=O4c(b),_.B(c,2,!1),b.ek())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.hi,e=this.Kd.H(106021)||void 0;e&&(w4c(O4c(e),_.yM(_.XTc,a)),d.then(function(){var f=O4c(e);_.B(f,2,!0);e.ek()},function(){var f=O4c(e);_.B(f,2,!1);e.ek()}));this.W.promise.then(function(){return tcd(c.context.FD)}).then(function(f){f=!f;c.ka?d.callback():_.li(vkd(c,a,f,b,void 0,e),d)});return d};
var vkd=function(a,b,c,d,e,f){var h=_.fa(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.Dg.Zm();var k=new _.hi;_.ki(h.Dg,function(){_.li(a.Ku(b,c,d,e,f),k)})}else k=a.Ku(b,c,d,e,f);var l={encrypt:c,Dg:k};a.V[b].push(l);_.ki(k,function(){_.ta(a.V[b],function(p){return l===p})});k.Jg(function(p){a.ma.O.qg()?a.AS():p instanceof _.kc&&(p=p.O||null,p instanceof _.yK&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.AS());return null});
return k};
ukd.prototype.Ku=function(a,b,c,d,e){var f=this,h=new _.hi;this.W.promise.then(function(){if(3===a)_.li(wkd(f,c||!1,b,e),h);else{switch(a){case 0:var k=f.context.rQ;k=k.H?k.H.clone():null;break;case 1:k=f.context.n_.Hq();break;case 5:k=xkd(f.context.pE);break;case 6:k=f.context.Gf.jr;k=X9c(new W9c,R$c(k.H));break;default:h.Od("Invalid data type to write to storage.");return}if(k){var l=_.uk(_.pN(f.O),nN,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):tbd(f.ma,
b?l:null,[k],e).then(h.callback,h.Od,h)}else d?(f.log("Skipping dump update: "+a),h.callback()):h.Od("Failed to get data to write to dump.")}});return h};
var wkd=function(a,b,c,d){_.n.clearTimeout(a.ta);a.ta=_.n.setTimeout((0,_.v)(a.La,a),a.wa.Xa());if(b&&0===a.$R)return _.ni();a.$R=0;var e=_.uk(_.pN(a.O),nN,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),_.ni();var f=[];_.Ma(s8c,function(k){0<k&&(k=ykd(a,k),k.length&&f.push(tbd(a.ma,c?e:null,k,d)))});var h=new _.hi;_.ci(f).then(function(){a.Fa&&a.context.FD.set(rcd,!0);h.callback()},h.Od,h);return h};ukd.prototype.La=function(){_.DG(this.wa);this.update(3,!0)};
var ykd=function(a,b){switch(b){case 1:return[zkd(a)];case 2:var c=(b=a.context.Gf.Tw.H)?b.yz():[];c=Akd(a,_.Ra(G1c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.dk(_.pN(a.O),5,2E4)&&(b&&n$c(b),c=[]);c=m8c(new RN,Bkd(c));var d=a.context.Gf.Tw;a=new R1c;(d=d.H)&&d.ZN&&(d=d.yz(),_.B(a,3,d.length));c=_.A(c,11,a);c=r8c(c,2);b&&p8c(c,b.XR());return[c];case 3:return Ckd(a);case 4:return Dkd(a);default:throw new _.kc("Unsupported CacheType");}},zkd=function(a){for(var b={},c=[],d=
B$c(a.context.Gf.Tw,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.yz(),l=Akd(a,F1c(k));k=l.length;var p=0<k?l[k-1]:null;_.Ka(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=j8c(new QN,h.Cd()),h.H||(_.B(l,2,k),_.A(l,3,p),e=!1),c.push(l)}d=_.Ra(b);a.log("Exporting "+d.length+" initial dump items.");return p8c(r8c(o8c(m8c(n8c(q8c((new RN).Fu(a.context.Zn()),_.rM(a.Tg)),a.ha.mW(null)),Bkd(d)),c),1),!e)},Ckd=function(a){var b=[],c=a.ha;a.context.Gf.Tw.tW().forEach(function(d){var e=c.mW(d.Dc());if(e){var f=
Akd(a,F1c(d.yz()));a.log("Exporting "+f.length+" TD dump items for: "+d.Dc());e=p8c(r8c(n8c(m8c(new RN,Bkd(f)),e),3),d.XR(d.Cd()));d=j8c(new QN,d.Cd());o8c(e,[d]);b.push(e)}});return b},Dkd=function(a){var b={},c=[];a.context.Gf.tW().forEach(function(d){1===d.KJ()&&null==_.L(d.Cd(),6)&&(F1c(d.yz()).forEach(function(e){b[e.getId()]=e}),d=k8c(j8c(new QN,new _.Ye),d.Cd()),c.push(d))});return[p8c(r8c(o8c(m8c(new RN,Bkd(Object.values(b))),c),4),!1)]},Akd=function(a,b){b=f1c(b);_.L(a.O,67)&&(b=Ekd(b));
_.IK(a.O)&&(_.F(a.Ha,9,!1)?jad(a.context.Gf.jr,b)&&(_.nYc(a.Kd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=had(a.context.Gf.jr,b)):b=had(a.context.Gf.jr,b));return b.filter(function(c){return 4!==dN(c)})},Ekd=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,W0c(c)?(c=c.clone(),G0c(c,V0c),b.push(c)):b.push(c);return b},Bkd=function(a){return a.map(function(b){return b.clone()})};
ukd.prototype.log=function(a,b){this.context.hg().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};ukd.prototype.oFa=function(){this.Fa=!0};
var Fkd=function(){};_.g=Fkd.prototype;_.g.setActive=function(){};_.g.AS=function(){};_.g.update=function(){return _.ni()};_.g.DXa=function(){return _.$h()};_.g.pL=function(){return _.$h()};_.g.Ioa=function(){};_.g.oFa=function(){};
var jN=function(a,b,c,d){_.Q.call(this);var e=this;this.Aa=a;this.Zr=c;this.rootId=null;this.Ha=!0;this.ha=null;this.ta=[];this.Ba=d||new _.oXc;this.Tc=b.clone();(a=_.SK(this.Tc))&&_.F(a,1,!1)&&_.VG(this.Tc,28);this.Tg=new _.xXc(this.Tc);this.wn=new c9c(_.rM(this.Tg),this.Tc);Gkd(this);this.ZX=new _.yo;this.Ab=_.n.setTimeout(function(){e.hg().info("drive.ds.sync.ThinContext","Page stable timed out.");e.ZX.resolve();e.Yk().O(106020)},1E4);this.m_=new _.hi;this.Fa=new _.ZXc(_.lM(this.Tc),_.F(this.Tc.eg(),
52,!1));this.connectionState=new _.SXc(_.lM(this.Tc)?3:1,!_.F(this.Tc.eg(),52,!1));this.Kd=_.oYc(this.Tc,this.Fa,this.connectionState,this.Ba,this.ZX.promise,this.Zr);this.Fga=new I9c(this.Kd);this.BQ=new _.hi;Hkd(this)};_.O(jN,_.Q);jN.prototype.getEnvironment=function(){return this.Zr};jN.prototype.tS=function(){this.hg().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.Ab);this.ZX.resolve()};
var Hkd=function(a){var b=function(){a.Hu().Og(_.Ff)},c=a.Aa;(c=c&&_.gc(c,_.Rk))?_.Ke(c,"A",b):_.bUc()||_.Ke(_.n,"unload",b)};jN.prototype.Hu=function(){this.Kd.O(106005);S4c(this.Kd);var a=this.ta.map(function(b){return b()});_.pa(this.ta);return _.di(a).then()};var Ikd=function(a,b){a.ta.push(b)};_.g=jN.prototype;_.g.hg=function(){return this.Ba};_.g.Fu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.m_.callback(a),a.length&&this.u5a(a,b||null))};_.g.u5a=function(){};
_.g.Zn=function(){return this.rootId};_.g.Yk=function(){return this.Kd};var Jkd=function(a){if(!a.ha)throw Error("lg");return a.ha},Kkd=function(a,b){a.ha=b};jN.prototype.JB=function(){return this.Ha||this.connectionState.isConnected()};jN.prototype.Rj=function(){return this.Fa};jN.prototype.Bk=function(){return this.connectionState};jN.prototype.DNb=function(a){this.BQ.callback(a)};
var Gkd=function(a){var b=a.Tc.eg();0===_.Jd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.B(b,19,3));if(!_.H(b,37,""))throw Error("mg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.B(b,57,"https://clients6.google.com"));if(_.F(_.pN(a.Tc),9,!1))if(b=_.uk(_.pN(a.Tc),nN,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.lM(a.Tc)&&!_.F(a.Tc,10,!1))throw Error("ng");}else _.B(_.pN(a.Tc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.F(_.pN(a.Tc),9,!1)&&(_.lM(a.Tc)||_.F(a.Tc,10,!1)))throw Error("og");var c=_.DK(a.Tc);b=!(!c||!_.CK(c));c=c&&_.jM(c)||"";if(!b&&!c)throw Error("pg");b&&_.mk(a.Tc,44);_.uk(a.Tc,_.Ye,44).forEach(function(d){try{g9c(a.wn,d)}catch(e){if(e instanceof _.kc&&(d=e.ih)&&3===d.ht())throw Error("qg");throw e;}})};jN.prototype.yJ=function(a){this.dispatchEvent(new _.lc(new _.kc(void 0,a)))};jN.prototype.log=function(a){this.hg().info("drive.ds.sync.ThinContext",a)};
var Lkd=function(a,b){this.H=a;this.Ue=b};
var Mkd=new Set([5,4,1,6,2]),Nkd=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),Okd=function(a,b,c){_.Q.call(this);this.ha=a;this.V=b;this.W=c;this.PF=new Map;this.O=new Map;this.status=6;this.H=null};_.O(Okd,_.Q);
Okd.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())&&q.kt())&&f.add(q)});[].concat(_.jd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=Mkd.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&r.kt();r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,Pkd(q))});var l=0,p=0;[].concat(_.jd(k.keys())).forEach(function(q){var r=k.get(q),u=e.PF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.C(z,2)))&&_.Bk(y,z)||l++}),[].concat(_.jd(u.values())).forEach(function(y){y=y.getKey();r.has(_.C(y,2))||p++}),e.PF.set(q,r),e.O.set(q,b)):(l+=r.size,e.PF.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,fO(this.V,"px2C2c");fO(this.V,"rkYxSd")}(l||p)&&Qkd(this,!h)}};
Okd.prototype.wD=function(){return 0<this.PF.size};var Qkd=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 _.xi("WPi0i"))};Okd.prototype.put=function(a){var b=a.getKey(),c=b&&b.kt();b=b&&_.C(b,2);if(c&&b&&(c=this.PF.get(c))){var d=c.get(b);a=Pkd(a);d&&_.Bk(a,d)||(c.set(b,a),Qkd(this))}};Okd.prototype.remove=function(a){var b=a&&a.kt();a=a&&_.C(a,2);b&&a&&(b=this.PF.get(b))&&b.delete(a)&&Qkd(this)};
var xkd=function(a,b){var c=[];(b||[].concat(_.jd(a.PF.keys()))).forEach(function(e){(e=a.PF.get(e))&&[].concat(_.jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.PF.has(e)}):[].concat(_.jd(a.PF.keys()));var d=new f5c;_.Db(d,1,c);_.jk(d,2,b);return d};
Okd.prototype.ZG=function(a){var b=this,c=xkd(this,a),d=new _.Ny;d.Gc(this.status);_.ghb(d,_.uk(c,_.Mp,1));_.A(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);Nkd.has(f)&&Infinity>Nkd.get(f)&&(e=f)});return new Lkd(d,e)};var Pkd=function(a){a=a.clone();a.wh()||a.Lb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Rkd=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},Tkd=function(a,b){return Skd(a[b])+(Skd(a[b+1])<<8)+(Skd(a[b+2])<<16)+(Skd(a[b+3])<<24)},Skd=function(a){return 127<a?a-256:a};
var lN=function(a,b,c,d,e,f){jN.call(this,a,b,c,d);var h=this;this.ab=_.ei();this.Aw=new r$c;this.W=null;this.O=_.ei();this.La=new _.hi;this.L6=null;this.Gga=new zad;this.V=null;this.kb=_.ei();this.wa=new _.hi;this.$F=new dbd;this.oz=new Had;this.oia=new l$c;this.Yaa=_.ei();this.Qa=!1;this.ka=_.ei();this.H={};this.ma=null;this.Ob=new _.Ce;this.Ma(this.Ob);this.Oj=e?e:new k$c(this.hg());this.Yk().W.O=this.Oj;this.PL=_.F(_.pN(b),9,!1)&&i2c()?Ukd(this,b):null;this.xy=new W8c(oN(_.DK(b)));this.FD=Vkd(this,
this.PL);this.VQ=Wkd(this,this.PL,b);this.Qs=Xkd(this);this.Gf=new QO(this,this.Tg);(a=(a=_.E(this.Tc,_.sl,12))&&a.getId())&&this.Fu(a,6);this.rQ=new Jed(this.Tc,this.Gf.jr,this.Oj,this.hg(),this.Qs);this.n_=new Oed(this.hg(),this.Oj,this.Qs);this.pE=new Okd(this.hg(),this.Oj,this.Qs);this.MI=new A9c(this.Pm(),this.hg(),function(k){return void h.yJ(k)});this.cz=_.F(this.Tc.eg(),52,!1)?new _.HM(this.Bk(),this.Pm(),this.hg(),this.Yk()):null;eO(this.Oj,["mrK8ic"],function(){h.kb.promise.then(function(){tfd(h,
h.V)})});this.PNa=new $ad(this.Tc);this.NA=new _.QYc(this.Tc,this.Gf.zm);this.hua=new nhd(this);this.K6=new Dad(this.O.promise,this.Pm());this.ob=new Fad(this.Pm(),this.K6);this.Hga=new Wad(this.O.promise,this.Pm(),this.hg(),this.Tc);this.Ta=new tkd(this.Tc,this.Gf,this.yJ.bind(this),this.K6,this.ob,this.Qs,this.Gga,this.Tg,this.Zn.bind(this),this.hua,this.n_,this.pE,this.Hga,this.$F,this.hg(),this.PNa,this.NA,this.MI,this.cz,this.Rj(),this.Lpb.bind(this),this.Yk(),f);this.ab.resolve(this.Ta);this.VKa=
new Ygd(this);eO(this.Oj,["BNEDtc"],function(){return h.ka.resolve()});Ikd(this,function(){h.Qs.AS();return _.$h()})};_.O(lN,jN);
var Ukd=function(a,b){var c=_.jM(_.DK(b)),d=_.kM(b),e=function(){},f=_.uk(_.pN(b),nN,11);f=f[0]&&_.C(f[0],1);var h=new Obd(c,d,_.dk(_.pN(b),10,0)||0,f||"",_.rM(a.Tg));_.lM(b)?c=gcd(c,d).then(function(l){return l?l:h}):_.F(b,10,!1)&&0<_.dk(_.pN(b),8,432E6)?(b=Ykd(a,c),c=gcd(c,d,b).then(function(l){return l&&(e=function(p){return p.Ol(h).Og(function(){return null})},!l.ha)?l:h})):c=_.$h(h);var k=new tO(c,a.hg(),a.Yk());k.initialize().then(function(){return e(k)},function(){return null});return k},Ykd=
function(a,b){var c=_.dk(_.pN(a.Tc),8,432E6);if(!_.lM(a.Tc)&&0<c){a=Math;var d=a.abs;b=_.kma(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+=Tkd(b,e),h.b+=Tkd(b,e+4),h.c+=Tkd(b,e+8),Rkd(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+=Tkd(b,e+4);h.a+=Tkd(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+=Tkd(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=Rkd(h);return d.call(a,b)%c}};lN.prototype.Ny=function(a){var b=this;return this.PL?this.PL.qg()?_.bi(Error("rg`"+this.PL.cWa())):tcd(this.FD).then(function(c){var d=b.PL,e=[];e.push(b.Qs.DXa());e.push(a?d.Ol():ccd(d));if(a===c)return _.ci(e).then(function(){return!1});!1===a&&(e.push(Ubd(d)),(c=b.Zn())&&e.push(b.FD.Fu(c)));return _.ci(e).then(function(){return b.FD.Ny(a)},function(){return!1})}):_.bi(Error("sg"))};
var Wkd=function(a,b,c){var d=null;b&&(d=new nbd(b,c,function(e){a.yJ(e)},a.Yk()),d.initialize());return d},Vkd=function(a,b){var c=new scd(b||void 0);c.Zn().then(function(d){d&&a.Fu(d,5)});b&&(tcd(c).then(function(d){a.Rj().Ny(d)}),_.ci([b.initialize(),a.ZX.promise]).then(function(){Zkd(a,c)},function(){}));return c},Zkd=function(a,b){wcd(b).then(function(c){(!c||c<Date.now()-864E5)&&jcd(_.jM(_.DK(a.Tc)),_.kM(a.Tc),a.hg()).then(function(d){d&&(d=Date.now(),b.set(qcd,d))},function(){})})},Xkd=function(a){if(!a.VQ)return new Fkd;
var b=new ukd(a,a.Tg);a.Ob.listen(a.Rj(),"Ab",function(c){return void b.setActive(!c.hf())});a.Ob.listen(a.Bk(),[].concat(_.jd(Object.values(_.uA))),function(){return void b.setActive(a.Bk().isConnected())});return b};lN.prototype.BY=function(a){this.L6=a;this.La.callback(a)};var MO=function(a){return a.La.Zm()},zed=function(a){return a.PL?a.PL.qg():null},$kd=function(a,b){a.Oj.H("NSockf")?fO(a.Oj,b):eO(a.Oj,["NSockf"],function(){fO(a.Oj,b)})};
lN.prototype.u5a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Aw.Fu(a),this.wn.Fu(a),6!==b&&1!==b||this.FD.Fu(a),$kd(this,"jroI5d"))};lN.prototype.wWa=function(){return this.wa.Zm()};var tfd=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.kb.resolve()):a.wa.kg()||(a.wa.callback(b),$kd(a,"T8oKm")))},Ted=function(a){if(!a.W)throw Error("tg");return a.W};_.g=lN.prototype;_.g.yR=function(){return this.Ta};_.g.Pm=function(){return this.ab.promise.then(function(a){return a.Vpa.promise})};
_.g.nFa=function(){this.Qa||(this.Qa=!0,this.Yaa.resolve(),fO(this.Oj,"aU7Ts"))};_.g.JB=function(){throw Error("ug");};_.g.Lpb=function(a){this.dispatchEvent(a)};var ald=function(a,b){Egd(a.Gf,b)},bld=function(a,b,c){a.H[b]=c},ued=function(a){a.ma||(a.ma=new Nad(a.O.promise,a.Pm(),a.hg()));return a.ma};
var UO=function(a,b,c){_.Q.call(this);var d=this;this.Ba=a;this.kb=b;this.ta=new _.hi;this.wa=this.channel=this.clientId=null;c.then(function(e){return cld(d,e)})};_.O(UO,_.Q);var cld=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.wa=b.H;XN(a.channel,a.Ba,function(c){c=u9c(c);a.Bma(c.H,!(!c.data||!c.Tb),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.ta.callback()};UO.prototype.Bma=function(){};
UO.prototype.send=function(a,b,c,d){var e=this,f=new _.hi;this.ta.addCallback(function(){var h=e.channel;YN(h,e.Ba,q9c(new p9c(e.clientId,a,b,d),h.W),function(k){return void dld(k,a,f,c||function(){})})});return f};var dld=function(a,b,c,d){a=u9c(a);a.data?c.callback(d(a.data,a.Tb)):(a.error?d=a.error:(d=new _.jc,d.Ib(2),_.OK(d,6),_.B(d,21,"Worker["+b+"]: An invalid response was received")),c.Od(new _.kc(void 0,d)))};UO.prototype.log=function(a){this.wa&&this.wa.info(this.kb,a)};
var eld=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var VO=function(a,b){_.P.call(this);this.V=a;this.wa=b;this.La=this.nV()};_.O(VO,_.P);VO.prototype.registerService=function(a){XN(a,this.V,(0,_.v)(this.sv,this))};
VO.prototype.sv=function(a){var b=this;a=r9c(a);var c=a.Tb,d=this.La[a.method],e=null;if(d)try{var f=d(a);if(f instanceof s9c)return t9c(f,c);if(f.then)return f.then(function(h){return t9c(h,c)},function(h){h=_.PK(h);return t9c(b.yd(void 0,h),c)})}catch(h){e=_.bL(h)}f=new _.jc;f.Ib(2);_.OK(f,3);_.lq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.B(f,20,e.stack);return t9c(this.yd(void 0,f),c)};
VO.prototype.yd=function(a,b,c){if(a&&!b)return new s9c(a,void 0,c);a=_.PK(b);return new s9c(void 0,a,c)};VO.prototype.update=function(a,b,c,d){(a=this.wa.channels[a]||null)&&YN(a,this.V,t9c(this.yd(c,d,b),a.W))};
var fld=function(){this.channels={};this.H=this.O=this.V=0},gld=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Qa(a.channels));return c},hld=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var ild=function(a,b){VO.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.Gf;this.O=this.context.Hga;this.W=ued(this.context);this.ka=this.context.K6};_.O(ild,VO);
ild.prototype.nV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.Ye);return a.ji(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.wK);return a.ji(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.xz);return a.ji(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.iF);return a.ji(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=iN(c.args[0],!!c.Tb,_.Ye);return a.lk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.wK);return a.lk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.xz);return a.lk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.iF);return a.lk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=iN(c.args[0],!!c.Tb,_.xz);c=iN(c.args[1],!!c.Tb,_.xz);return a.xZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=iN(c.args[0],!!c.Tb,_.iF);c=iN(c.args[1],!!c.Tb,_.iF);return a.xZ(d,e,c)},b["4.7"]=function(c){return a.MF(c)},b["4.8"]=function(c){return a.MF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.fz);return a.ji(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.kF);return a.ji(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.fz);return a.lk(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.kF);return a.lk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.vF);return a.ji(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.vF);return a.lk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.hF);return a.ji(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=iN(c.args[0],!!c.Tb,_.hF);return a.lk(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.hF){var d=a.W;xad(d,d.getKey(c)).refresh()}return a.yd([])},b};ild.prototype.ji=function(a,b){var c=this,d=new _.yo;this.H[a]={query:b,QSb:d.promise};b instanceof _.fz?d.resolve(this.O.ji(a,b)):b instanceof _.kF?d.resolve(vad(this.O,a,b)):b instanceof _.hF?d.resolve(this.W.ji(a,b)):b instanceof _.vF?d.resolve(this.ka.ji(a,b)):d.resolve(this.ha.ji(a,b));return d.promise.then(function(){return c.yd([])})};
ild.prototype.lk=function(a,b){jld(this,a,b);return this.yd([])};var jld=function(a,b,c){delete a.H[b];c instanceof _.fz?a.O.lk(b,c):c instanceof _.kF?wad(a.O,b,c):c instanceof _.hF?a.W.lk(b,c):c instanceof _.vF?a.ka.lk(b,c):a.ha.lk(b,c)};_.g=ild.prototype;_.g.xZ=function(a,b,c){jld(this,a,b);return this.ji(a,c)};
_.g.MF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.yi(a.args[0]);c instanceof _.fz?this.O.ji(b,c):c instanceof _.kF?vad(this.O,b,c):c instanceof _.hF?this.W.ji(b,c):c instanceof _.vF?this.ka.ji(b,c):this.ha.ji(b,c);return this.yd([])};
_.g.PO=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 _.GM||b instanceof _.DM?c.update(e,f,[b.response,b.pageToken,b.H,b.Ue,h]):(d.query instanceof _.Ye?I0c(d.query.O(),b.Id().filter(function(k){return!UN(k)})):d.query instanceof _.xz&&I0c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!UN(k)})),c.update(e,f,[b,h]))})}};
_.g.iY=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Vg(c[0]);c=c[1];var d=b.error;d.Dga(b.H);this.update(a,c,void 0,d)}};_.g.gA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Vg(a[0]),a[1],["cacheRefresh"]))};_.g.L9=function(){};_.g.Ula=function(a){if(!this.H[a])throw Error("Wf`"+a);return this.H[a].query};var kld=function(a,b){_.Ma(a.H,function(c,d){_.Vg(d.split(":")[0])===b&&jld(a,d,c.query)})};
var lld=function(a,b,c){UO.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.O(lld,UO);lld.prototype.Dya=function(a){var b=this;a=new ded(this.context.wn,this.context.BQ,this.context.hg(),this.context.Tc,function(c,d){return b.MF(c,d)},a,this.context.Yk());mld(this,a);return a};lld.prototype.Gya=function(a){var b=this;a=new ked(this.context.wn,this.context.BQ,this.context.hg(),function(c,d){return b.MF(c,d)},a,this.context.Tc);mld(this,a);return a};
var mld=function(a,b){a.ji(b);_.te(b,function(){a.lk(b);a.send("4.3",[b.Cd()],void 0,b.Xi())});a.send("4.1",[b.Cd()],void 0,b.Xi())};_.g=lld.prototype;_.g.Aya=function(a){var b=this,c=new hed(this.context.Tc,this.context.wn,this.context.hg(),this.context.m_,this.xZ.bind(this),a);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.4",[c.Cd()],void 0,c.Xi())});this.send("4.2",[c.Cd()],void 0,c.Xi());return c};
_.g.Jya=function(a){var b=this,c=new oed(a,this,this.context.Tc);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.11",[c.Cd()],void 0,c.Xi())});this.send("4.9",[c.Cd()],void 0,c.Xi());return c};_.g.Kya=function(a){var b=this,c=new ped(this.context,this,a);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.12",[c.Cd()],void 0,c.Xi())});this.send("4.10",[c.Cd()],void 0,c.Xi());return c};
_.g.Nya=function(a){var b=this,c=new sed(this.context,a,this);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.15",[c.Cd()],void 0,c.Xi())});this.send("4.13",[c.Cd()],void 0,c.Xi());return c};_.g.Oya=function(a){var b=this,c=new ged(this.context,a);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.16",[c.Cd()],void 0,c.Xi())});this.send("4.14",[c.Cd()],void 0,c.Xi());return c};
_.g.Hya=function(a){var b=this,c=new ned(this.context,a,function(){b.send("4.21",[],void 0,c.Xi())});this.ji(c);_.te(c,function(){b.lk(c);b.send("4.23",[c.Cd()],void 0,c.Xi())});this.send("4.22",[c.Cd()],void 0,c.Xi());return c};_.g.xya=function(a){var b=this,c=new bed(this.context.Rj(),this.context.Bk(),this.context.hg(),function(d,e){return b.MF(d,e)},a);this.ji(c);_.te(c,function(){b.lk(c);b.send("4.19",[c.Cd()],void 0,c.Xi())});this.send("4.18",[c.Cd()],void 0,c.Xi());return c};
_.g.ji=function(a){this.H.create(a.Xi(),a.Cd());this.O[a.Xi()]=a};_.g.lk=function(a){ZN(this.H,a.Xi(),4);delete this.O[a.Xi()]};_.g.xZ=function(a,b,c){if(b instanceof _.xz&&c instanceof _.xz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.iF&&c instanceof _.iF)this.send("4.6",[b,c],void 0,a);else throw Error("vg");};
_.g.MF=function(a,b){if(!this.O[a])throw Error("Wf`"+a);var c=this.O[a];if(c.Cd()instanceof _.Ye)var d="4.7";else if(c.Cd()instanceof _.wK)d="4.8";else if(c.Cd()instanceof _.vF)d="4.20";else if(c.Cd()instanceof _.fz)d="4.17";else throw Error("wg");c.Cd().yi(b);this.send(d,[b],void 0,a)};
_.g.Bma=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new $N(d,d.E7()),a.CB(b),ZN(this.H,a.Xi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.EW();return}var h=a.Cd();if(h instanceof _.Ye||h instanceof _.wK)h instanceof _.Ye&&_.AL(h)?e=iN(d,b,_.AM):e=iN(d,b,_.iA);else if(h instanceof _.xz||h instanceof _.iF)b?(e=new _.zM,c6c(e,function(k){return new _.sl(JSON.parse(k))},d)):e=d;else if(h instanceof _.vF)e=new _.DM(iN(d,b,CN),c[f++],c[f++],c[f++]);else if(h instanceof _.fz)e=new _.GM(iN(d,
b,cO),c[f++],c[f++],c[f++]);else if(h instanceof _.kF)e=iN(d,b,_.BM);else if(h instanceof _.hF)e=iN(d,b,FN);else throw Error("xg");}e&&(b=f,c&&"boolean"===typeof c[b]&&J9c(this.H,a.Xi(),!!c[b]),M9c(this.H,a.Xi(),e),a.update(e))}};
var WO=function(){_.Q.apply(this,arguments);this.commands=new _.om;this.ha=this.active=this.Ep=!1};_.O(WO,_.Q);WO.prototype.initialize=function(){this.Ep||(this.Ep=!0,this.V(),this.setActive(!0))};WO.prototype.V=function(){};WO.prototype.setActive=function(a){this.active=a;nld(this)};var nld=function(a){if(a.active&&!a.ha){var b=_.pm(a.commands);if(b)if(a.wa()){do a.ka(b);while(b=_.pm(a.commands))}else a.ha=!0,_.fi(a.Ba(b),function(){a.ha=!1;nld(a)})}};WO.prototype.ka=function(){};
WO.prototype.Ba=function(){};WO.prototype.wa=function(){return!0};WO.prototype.enqueue=function(a){try{var b=new _.hi;this.commands.enqueue(new old(a,b));nld(this);return b}catch(c){return _.pi(_.bL(c))}};var old=function(a,b){this.H=a;this.Dg=b};old.prototype.getCommand=function(){return this.H};old.prototype.MG=function(){return this.Dg};
var rld=function(a){WO.call(this);var b=this;this.context=a;this.O=null;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.context,"VMiG2e",function(){return void pld(b)});this.H=this.context.Gf.jr;_.IK(this.context.Tc)&&this.Rc.listen(this.H,"Kb",this.W);var c=a.Oj;eO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.ck(a.Tc.eg(),17,1)&&(d.push("iuEtc"),eO(c,["mrK8ic"],function(){fO(c,"iuEtc")}));eO(c,d,function(){qld(b)})};_.O(rld,WO);rld.prototype.V=function(){sld(this)};
var qld=function(a){if(1===a.context.rQ.Oh().Cb())Promise.resolve();else{var b=_.mf(_.of(new _.lf,!0),301);b=_.FK(new _.EK,b);a.refresh(b).then(null,function(c){c=_.PK(c);_.B(c,21,"Initial account request failed.");a.context.yJ(c)})}},pld=function(a){var b=_.mf(new _.lf,304);b=_.FK(new _.EK,b);a.refresh(b).then(null,function(){})};
rld.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.fi(this.context.Pm().then(function(d){return d.Ye(a,b)}).then(function(d){var e=d.Oh(),f=e.getUser();if(f&&!1===_.al(f))d=_.RK(_.DK(c.context.Tc)),d=Error("yg`"+d+"`"+_.uF(f)),_.ob(d),_.nYc(c.context.Yk(),73301807),d=Promise.reject(d);else{f=c.context.rQ;var h=0===f.sf()?1:6;_.IK(c.context.Tc)&&bad(c.H,e);h=Ked(f,e,h);(e=e.getMetadata())&&c.context.Fu(_.C(e,2),1);(d=_.C(d,4))&&tfd(c.context,d,!0);h&&c.dispatchEvent(new _.xi("WPi0i"));
d=Promise.resolve(new _.FM(f.Oh(),f.sf(),!1))}return d}).then(function(d){return d},function(d){d=_.PK(d);_.B(d,5,1);return Promise.reject(new _.kc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
rld.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.LD&&(c.LD=b.LD);this.refresh(b.request,c).then(function(e){return a.MG().callback(e)},function(e){return void a.MG().Od(e)})}else if(b=this.context.rQ,c=b.Oh(),_.IK(this.context.Tc)){c=c.Oh();var d=c.getUser();d=fad(this.H,_.uF(d));bad(this.H,c);Ked(b,c,b.sf())&&this.dispatchEvent(new _.xi("WPi0i"));a.MG().callback(new _.FM(b.Oh(),b.sf(),d))}else c.Cb(),b=new _.FM(c,b.sf(),!0),a.MG().callback(b)};
var sld=function(a){var b=a.context.Tc.eg();_.n.setTimeout(function(){var c=_.mf(new _.lf,306);c=_.FK(new _.EK,c);a.refresh(c).then(function(){sld(a)},function(){sld(a)})},Math.ceil(_.dk(b,7,9E5)*Math.random())+_.dk(b,3,72E5))};rld.prototype.W=function(a){var b=this.context.rQ,c=b.Oh().Oh();c&&a.getPeople().find(function(d){return _.C(d,1)===_.uF(c.getUser())})&&(bad(this.H,c),Ked(b,c,b.sf())&&this.dispatchEvent(new _.xi("WPi0i")))};var tld=function(a,b,c){this.request=a;this.H=!!b;this.LD=c||null};
var vld=function(a){WO.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.context.n_,"Qb",_.rb(this.dispatchEvent,new _.xi("Qb",this)));uld(this)};_.O(vld,WO);
var uld=function(a){var b=a.context.Oj;eO(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.lM(a.context.Tc)){var c=_.ck(a.context.Tc.eg(),18,1);eO(b,["NSockf"],function(){1===c?wld(a):a.setActive(!0)});2===c&&eO(b,["mrK8ic"],function(){a.W||wld(a)})}},wld=function(a){var b=new _.lf;_.of(b,!0);_.mf(b,301);var c=new _.DL;_.F4c(c,b);c.Ib(1);a.refresh(c).Og(function(){return null})};
vld.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.ei();this.O=d.promise;_.fi(this.O,function(){c.O=null;xld(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.DL;h.Ib(this.H);_.F4c(h,a.xe());this.context.Pm().then(function(k){return k.Ye(h,b)}).then(function(k){c.error=null;var l=c.context.n_;l.CQ(k,l.wD()?6:1);d.resolve()},function(k){c.H=e;k=_.tA(k);var l=k.ih;_.B(l,5,2);f?(l.Ib(1),k.message="Initial app settings refresh failed.",
_.B(k.ih,21,"Initial app settings refresh failed."),c.context.yJ(l),c.setActive(!0)):(l.Ib(2),k.message="Error occurred while loading the latest set of apps.",_.B(k.ih,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};vld.prototype.wa=function(){return!1};
vld.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Gka,f=c.LD?{LD:c.LD}:void 0;if(!yld(d))return this.context.Pm().then(function(l){return l.Ye(d,f)}).then(function(l){a.MG().callback(new _.CM(l,1,!1))},function(l){a.MG().Od(_.bL(l))}),_.$h();c=_.$h();var h=!1;this.O?zld(this,d.getType())?e=this.O:c=e=new _.Zh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&zld(this,d.getType())&&!this.error?(h=!0,e=_.$h()):e=this.refresh(d,f);
var k=a.MG();e.then(function(){var l=b.context.n_;k.callback(new _.CM(l.Hq(),l.sf(),h))},function(l){k.Od(l)});return c.then()};
var yld=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Jd(a,4),a=_.Jd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},zld=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},xld=function(a){var b=a.context.Tc.eg(),c=new _.lf;_.mf(c,306);var d=new _.DL;d.Ib(1);_.F4c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.dk(b,7,9E5)*Math.random())+_.dk(b,4,72E5))},Ald=function(a,b,c){this.request=a;this.Gka=!!b;this.LD=c||null};
var Cld=function(a){WO.call(this);var b=this;this.context=a;this.error=null;this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.context.pE,"WPi0i",function(){return b.dispatchEvent(new _.xi("WPi0i"))});this.H=_.ei();this.O=_.Jd(this.context.Tc.eg(),30);Bld(this)};_.O(Cld,WO);
var Bld=function(a){var b=a.context.Oj;eO(b,["rkYxSd"],function(){return a.initialize()});eO(b,["px2C2c"],function(){a.context.hg().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.ck(a.context.Tc.eg(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&eO(b,["mrK8ic"],function(){fO(b,"OZvrNc")}));!_.F(a.context.Tc,11,!1)&&_.F(a.context.Tc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.uk(xkd(a.context.pE),_.Mp,1).length||(b.H("NSockf")?
fO(b,"DEJoH"):eO(b,["NSockf"],function(){fO(b,"DEJoH")}))},12E3));eO(b,c,function(){if(!b.H("px2C2c")){var e=new _.lf;_.of(e,!0);_.mf(e,301);var f=new _.NB;_.A(f,1,e);O1c(f,Dld(a));a.query(f).Og(function(){a.initialize()})}})};Cld.prototype.V=function(){var a="User prefs detected: "+_.uk(xkd(this.context.pE),_.Mp,1).length;this.context.hg().info("drive.ds.sync.userprefs.UserPrefsManager",a);Eld(this)};
Cld.prototype.query=function(a,b){var c=this,d=b?{LD:b}:void 0;return this.context.Pm().then(function(e){return e.Ye(a,d)}).then(function(e){c.error=null;var f=c.context.pE;f.CQ(_.uk(e,_.Mp,3),f.wD()?6:1,_.Jd(a,3))}).then(null,function(e){e=_.tA(e);_.B(e.ih,5,4);0<c.commands.qc()||c.context.yJ(e.ih);c.error=e;throw e;})};
Cld.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.MG(),e=new Set([].concat(_.jd(this.context.pE.PF.keys()))),f=_.Jd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Gka=!0);this.error?d.Od(this.error):c.Gka?(O1c(c.request,Dld(this,f)),_.fi(this.H?this.H.promise:this.query(c.request,c.LD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var Dld=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.jd(a.O),_.jd([].concat(_.jd(a.context.pE.PF.keys()))),_.jd(b)));return[].concat(_.jd(a.values()))};
Cld.prototype.getData=function(a,b,c){b=this.context.pE.ZG(b);a.callback(new _.EM(b.H,b.Ue,c))};var Eld=function(a){var b=a.context.Tc.eg();_.n.setTimeout(function(){var c=new _.NB,d=new _.lf;_.mf(d,306);_.A(c,1,d);O1c(c,Dld(a));_.fi(a.query(c).Og(_.Ff),function(){Eld(a)})},Math.ceil(_.dk(b,7,9E5)*Math.random())+_.dk(b,5,72E5))},Fld=function(a,b,c){this.request=a;this.Gka=!!b;this.LD=c||null};
var Gld=function(a,b,c,d){VO.call(this,"IS",b);this.context=a;this.Rc=new _.Ce(this);this.Ba=_.ei();this.O=null;this.ha=!1;this.W=null;this.Fa=new yed(a);I1c(this.Fa);this.Ma(this.Rc);this.ka=new rld(a);this.Ma(this.ka);this.Rc.listen(this.ka,"WPi0i",function(){return c(new Ydd(1))});this.ma=new vld(a);this.Ma(this.ma);this.Rc.listen(this.ma,"Qb",function(){return c(new Ydd(2))});this.ta=new Cld(a);this.Ma(this.ta);this.Rc.listen(this.ta,"WPi0i",function(){return c(new Ydd(4))});this.Ha=d;this.H=
this.context.Pm()};_.O(Gld,VO);_.g=Gld.prototype;
_.g.nV=function(){var a={};return a["3.43"]=this.$_.bind(this),a["3.42"]=this.t8.bind(this),a["3.1"]=this.PN.bind(this),a["3.2"]=this.ZG.bind(this),a["3.3"]=this.zd.bind(this),a["3.35"]=this.pO.bind(this),a["3.4"]=this.nz.bind(this),a["3.5"]=this.Hq.bind(this),a["3.6"]=this.rS.bind(this),a["3.8"]=this.Ol.bind(this),a["3.36"]=this.Ny.bind(this),a["3.9"]=this.qF.bind(this),a["3.10"]=this.xr.bind(this),a["3.11"]=this.bba.bind(this),a["3.12"]=this.b9.bind(this),a["3.13"]=this.BT.bind(this),a["3.14"]=
this.$aa.bind(this),a["3.15"]=this.d9.bind(this),a["3.16"]=this.gu.bind(this),a["3.17"]=this.KDb.bind(this),a["3.18"]=this.ODb.bind(this),a["3.19"]=this.FQ.bind(this),a["3.20"]=this.MDb.bind(this),a["3.25"]=this.LDb.bind(this),a["3.22"]=this.c9.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.mpa.bind(this),a["3.29"]=this.$xb.bind(this),a["3.40"]=this.QDb.bind(this),a["3.33"]=this.RDb.bind(this),a["3.39"]=this.GP.bind(this),a["3.37"]=this.PDb.bind(this),a["3.38"]=this.Gab.bind(this),a["3.41"]=
this.tS.bind(this),a["3.44"]=this.H0.bind(this),a["3.45"]=this.Uo.bind(this),a["3.46"]=this.u8.bind(this),a};_.g.PN=function(a){var b=this,c=new _.EK(JSON.parse(a.args[0]));a=new tld(c,a.args[1],this.context.H[a.clientId]);fO(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.yd([d.response.Tb(),d.Ue,d.s0])},function(d){return b.yd(void 0,d)})};
_.g.ZG=function(a){var b=this,c=new _.NB(JSON.parse(a.args[0]));a=new Fld(c,a.args[1],this.context.H[a.clientId]);fO(this.context.Oj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.yd([d.response.Tb(),d.Ue,d.s0])},function(d){return b.yd(void 0,d)})};
_.g.zd=function(a){var b=this,c=new q1c(JSON.parse(a.args[0])),d=_.E(c,_.eL,16)||_.E(c,_.fL,1)||_.E(c,_.gL,2)||_.E(c,_.jL,3)||_.E(c,_.IM,4)||_.E(c,_.hL,5)||_.E(c,_.nL,6)||_.E(c,_.pL,7)||_.E(c,_.qL,8)||_.E(c,_.tL,9)||_.E(c,_.JL,10)||_.E(c,_.KL,11)||_.E(c,_.LL,12)||_.E(c,_.TK,13)||_.E(c,_.OL,14)||_.E(c,_.PL,15)||_.E(c,_.gN,17),e=XO(this,a);return this.H.then(function(f){return f.Ye(d,e)}).then(function(f){return b.yd([f.Tb()])},function(f){return b.yd(void 0,f)})};
_.g.pO=function(a){var b=this,c=new z1c(JSON.parse(a.args[0])),d=_.E(c,_.kL,1)||_.E(c,_.rL,2)||_.E(c,_.QL,3),e=XO(this,a);return this.H.then(function(f){return f.Ye(d,e)}).then(function(f){return b.yd([f.Tb()])},function(f){return b.yd(void 0,f)})};
_.g.nz=function(a){var b=this,c=new t1c(JSON.parse(a.args[0])),d=XO(this,a),e=[],f=[];v1c(c).forEach(function(h){h instanceof _.eL?e.push(String(h.Nc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Ye(h,d)}))});a=_.di(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.fi(a,function(){return void Wgd(b.context.Gf)});return a.then(function(h){return b.yd([(new g1c(e,h)).Tb()])})};
_.g.Hq=function(a){var b=this,c=new _.DL(JSON.parse(a.args[0])),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=XO(this,a);a=this.H.then(function(f){return f.Ye(c,e)}).then(function(f){return new _.CM(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.CM(f.response,f.Ue,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Ald(c,d,this.context.H[a.clientId]),fO(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.yd([f.response.Tb(),f.Ue,f.s0])},
function(f){return b.yd(void 0,f)})};_.g.rS=function(a){var b=this,c=new w1c(JSON.parse(a.args[0])),d=_.E(c,_.OB,1)||_.E(c,_.PB,2),e=XO(this,a);return this.H.then(function(f){return f.Ye(d,e)}).then(function(f){return b.yd([f.Tb()])},function(f){return b.yd(void 0,f)})};_.g.Ol=function(a){a=a.args[0];if(this.context.cz)a?_.KYc(this.context.cz,!0):this.context.Bk().hf()&&this.context.cz.BM(!0).then(null,function(){});else try{this.context.Rj().Ol(a)}catch(b){return this.yd(void 0,b)}return this.yd([])};
_.g.Ny=function(a){var b=this,c=a.args[0];return this.context.Ny(c).then(function(d){return d?(b.context.Rj().Ny(c),b.Ha(c),b.context.Qs.pL().Og(function(){return!c})):_.$h(!c)}).then(function(d){return b.yd([d])},function(d){return b.yd(void 0,d)})};_.g.sync=function(){var a=this;return _.ci([this.context.Yaa.promise,this.context.ka.promise]).then(function(){return a.context.Qs.pL()}).then(function(){return a.yd([])},function(b){return a.yd(void 0,b)})};
_.g.qF=function(){try{var a=this.context.L6;a&&a.U4();this.context.oia.qF();return this.yd([])}catch(b){return this.yd(void 0,b)}};_.g.tS=function(){this.context.tS();return this.yd([])};_.g.xr=function(a){var b=this,c=new _.vL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.bba=function(a){var b=this,c=new _.wL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.b9=function(a){var b=this,c=new _.lL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.BT=function(a){var b=this,c=new _.ML(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.$aa=function(a){var b=this,c=new _.yL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return _.IK(b.context.Tc)?ead(b.context.Gf.jr,[_.E(e,_.$k,2)],c.Nc()).then(function(){return e}):e}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.d9=function(a){var b=this,c=new _.oL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.gu=function(a){var b=this,c=new _.FL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d).then(function(f){return _.IK(b.context.Tc)?dad(b.context.Gf.jr,f):f})}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.KDb=function(a){var b=this,c=new _.Idd(JSON.parse(a.args[0])),d=new _.aVc(c,a.args[1],a.args[2]||void 0),e=XO(this,a);return this.H.then(function(f){return f.Ye(d,e)}).then(function(f){return b.yd([f.Tb()])},function(f){return b.yd(void 0,f)})};
_.g.ODb=function(a){var b=this,c=new _.EL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d).then(function(f){return _.IK(b.context.Tc)?ead(b.context.Gf.jr,_.uk(f.yd(),_.$k,2),c.Cd().getId()).then(function(){return f}):f})}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.FQ=function(){var a=this;return(_.F(this.context.Tc.eg(),52,!1)?_.$h(z9c(new y9c,0)):this.context.MI.FQ()).then(function(b){return a.yd([b.Tb()])},function(b){return a.yd(void 0,b)})};_.g.MDb=function(a){var b=this,c=new _.$Uc(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.LDb=function(a){var b=this,c=new _.CL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.c9=function(a){var b=this,c=new _.mL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.mpa=function(a){var b=this,c=new _.rK(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb(),null])},function(e){return b.yd([null,_.PK(e).Tb()])})};_.g.$xb=function(){return this.yd([!0])};_.g.QDb=function(a){var b=this,c=new _.gF(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.RDb=function(a){var b=this,c=new _.hF(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.$_=function(a){a=new _.Ye(JSON.parse(a.args[0]));lgd(this.context.Gf,[a]);return this.yd([])};
_.g.t8=function(a){var b=this,c=new _.iL(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.GP=function(a){var b=this,c=new _.DO(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return oad(c,e)}).then(function(e){return b.yd(e.map(function(f){return f.Tb()}))},function(e){return b.yd(void 0,e)})};
_.g.PDb=function(a){var b=this,c=new _.hVc(new _.fWb(JSON.parse(a.args[0])),a.args[1]),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.response.Tb(),e.pageToken])},function(e){return b.yd(void 0,e)})};_.g.Gab=function(a){var b=this,c=new _.fF(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};
_.g.H0=function(a){var b=this,c=new _.wM(JSON.parse(a.args[0])),d=XO(this,a);return this.H.then(function(e){return e.Ye(c,d)}).then(function(e){return b.yd([e.Tb()])},function(e){return b.yd(void 0,e)})};_.g.Uo=function(a){a=a.args[0].map(function(b){return new _.MK(JSON.parse(b))});this.context.Gf.Uo(a);Wgd(this.context.Gf);return this.yd([])};_.g.u8=function(){var a=this,b=this.context.cz;return(b?b.BM():_.$h(_.tYc(0))).then(function(c){return a.yd([c.Tb()])},function(c){return a.yd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.ei();this.context.hg().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Tc.Ri());this.Rc.listen(this.context,_.wc,function(e){e=e.error;var f=e.ih;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):H4c(a.context.hg(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.lM(this.context.Tc)&&c.push("BNEDtc");eO(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});eO(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){MO(a.context).then(function(e){return void e.start()})};eO(b,["T8oKm","ZA9qG"],function(){return void d()});eO(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();fO(b,"NSockf")}return this.O.promise};_.g.wca=function(){return this.Ba.promise};_.g.Hu=function(){var a=this.context.L6;a&&a.dispose();return this.context.Hu()};
var XO=function(a,b){return(a=a.context.H[b.clientId])?{LD:a}:{}};
var Hld=function(a,b,c){VO.call(this,"DU",b);this.context=a;this.O=c;this.H=new yed(a)};_.O(Hld,VO);_.g=Hld.prototype;
_.g.nV=function(){var a=this,b={};return b["5.1"]=function(){return a.cja()},b["5.2"]=function(c){return a.cN(c)},b["5.4"]=function(c){return a.Dz(c)},b["5.5"]=function(){return a.zR()},b["5.10"]=function(){return a.JN()},b["5.6"]=function(){return a.Bea()},b["5.7"]=function(){return a.oT()},b["5.9"]=function(c){return a.Pra(c)},b["5.8"]=function(c){return a.E5(c)},b["5.11"]=function(){return a.Qqa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Ol(c)},b};
_.g.cja=function(){var a=this;this.context.Qs.AS();var b=this.context.Tc;return kcd(_.jM(_.DK(b)),_.kM(b),this.context.hg()).Og(function(){}).then(function(){return a.yd([])})};_.g.cN=function(a){a=this.context.Gf.zm.H(a.args[0]);return this.yd([a?a.Tb():JSON.stringify(null)])};_.g.Dz=function(a){var b=this;return this.context.NA.Dz(a.args[0]).then(function(c){return b.yd([c.Tb()])})};_.g.zR=function(){for(var a=this.context.NA.zR(),b=[],c=0;c<a.length;c++)b.push(a[c].oe());return this.yd([JSON.stringify(b)])};
_.g.E5=function(a){var b=this,c=new _.DTc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.E(c,_.JK,3)||_.E(c,_.SL,4)||_.E(c,_.IM,5)||_.E(c,_.PL,6)||_.E(c,_.qL,7)||_.E(c,_.jL,8)||_.E(c,_.nL,9)||_.E(c,_.TK,10)){var f=G9c(c);return this.context.Pm().then(function(h){return h.Ye(f,{M7a:d,N7a:e})}).then(this.Hab.bind(this,a),function(h){return b.yd(void 0,h)})}return _.$h(this.yd(void 0,Error("Xf")))};
_.g.Hab=function(a,b){a=[];var c="";if(b instanceof _.JM){a=b.yd().Id();var d=_.C(b,2);c=b.Yn()}else if(b instanceof _.UL)b.getItem()&&a.push(b.getItem()),d=b.oN();else return this.yd(void 0,Error("Yf"));b=[];for(var e=0;e<a.length;e++)b.push(a[e].oe());return this.yd([JSON.stringify(b),d,c])};_.g.Pra=function(){var a=this.context.Tc,b=a.eg();a="email:"+_.DK(a).getEmail().replace(/@.*$/,"");_.B(b,13,a);return this.yd([])};_.g.Bea=function(){this.context.$F.H=new cbd(_.Tg().substring(0,8));return this.yd([])};
_.g.oT=function(){var a=this.context.$F.JN();if(a){for(var b=[],c=ebd(this.context.$F),d=0;d<c.length;d++)b.push(c[d].oe());a=[a.Zea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.$F;b.H=null;b.ZY=[];return this.yd(a)};_.g.JN=function(){var a=this.context.$F.JN();return this.yd(a?[a.Zea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.wa).then(function(b){return a.yd([b])})};
_.g.Qqa=function(){var a=[this.O.Hu(),_.Ki(3E4)];_.fi(_.Eja(a),function(){_.n.setTimeout(function(){self.close()})});return this.yd([])};_.g.Ol=function(a){this.H.Ol(a.args[0]);return this.yd([])};
var Ild=function(a,b,c,d,e,f,h){_.UM.call(this,a,b,c,d,f,h);this.H=e;this.Kd=null};_.O(Ild,_.UM);Ild.prototype.JM=function(a,b){var c=this;return _.oi(this.H.then(function(d){return d.H3a(z0c(c.O,c.wa,a,b,c.nj,c.ha))},null))};Ild.prototype.ma=function(a,b){var c=this.Cd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Dz();e&&(d=_.C(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.WYc(a,b,d))}};
var Jld=function(a,b,c,d,e,f,h,k){VO.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Kd=h;this.H={};this.O={};this.Rc=new _.Ce(this);this.Ma(this.Rc)};_.O(Jld,VO);_.g=Jld.prototype;
_.g.nV=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.pG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.JM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.yd([])},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.yd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=new _.jL(JSON.parse(a.args[0])),e=a.args[1];if(!this.H[c]){var f=new Ild(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Kd);this.Rc.listen(f,"Lb",_.rb(this.Iab,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.lj(),r=_.ei();b.O[q]=r;b.update(l,p,Kld(3,q,[h,k]));return r.promise}).then(function(h){return b.yd([h.Tb()])},function(h){return b.yd(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.yd([])};_.g.pG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].pG();return this.yd([])};
_.g.retry=function(a){var b=this,c=a.clientId+":"+a.requestId;if(this.H[c]){var d=a.args[0],e=a.args[1],f=this.H[c].retry(e),h={},k=0;_.Ka(e,function(l){h[l]=f[k++]});_.Ma(h,function(l,p){l.Vf(function(q){b.update(a.clientId,c,Kld(0,d,[p,q.Tb()]))},function(q){b.update(a.clientId,c,Kld(1,d,[p,q.ih.Tb()]))})});return this.yd([])}return this.yd(void 0,_.PK("Could not retry upload."))};
_.g.JM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args[1];return this.H[b]?(b=this.H[b],c=z0c(b.O,b.wa,c,a,b.nj,b.ha),this.yd([C1c(c)])):this.yd(void 0,_.PK("FileUploader not found."))};_.g.Iab=function(a,b,c){this.update(a,b,Kld(2,c.requestId,[c.progress,c.totalBytes]))};var Kld=function(a,b,c){return[Number(a),b].concat(_.jd(c))};
var Lld=function(a,b){VO.call(this,"IE",b);this.O=a;this.H=new Map};_.O(Lld,VO);Lld.prototype.nV=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};
Lld.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=new _.ZUc(JSON.parse(a.args[0]));e=new HO(this.O,e);var f=_.re(e,"Pb",function(h){b.update(a.clientId,c,[h.tQa,h.Gva])});_.te(e,function(){_.Fi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.yd([h.Tb()])},function(h){return b.yd(void 0,h)})};Lld.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.yd([])};
var Mld=function(a,b){VO.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.ei();this.O=new Ded(a,a.Tg)};_.O(Mld,VO);Mld.prototype.nV=function(){var a=this,b={};return b["6.1"]=function(c){return Nld(a,c)},b["6.2"]=function(c){return Old(a,c)},b["6.3"]=function(){a.H&&(Ged(a.O),a.H=!1,a.W=_.ei());return a.yd([])},b};
var Nld=function(a,b){if(!a.H){a.H=!0;var c=[];_.Ka(b.args,function(d){d=new _.sl(JSON.parse(d));c.push(d)});a.O.xl(c);fO(a.context.Oj,"GZTDpc");a.W.resolve()}return a.yd([])},Old=function(a,b){return a.W.promise.then(function(){var c=[];_.Ka(b.args,function(d){d=new _.MK(JSON.parse(d));c.push(d)});Fed(a.O,c);return a.yd([])})};
var Pld=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("zg`"+b);a.services.set(b,new _.hi)})};Pld.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.kg())b.callback(a);else throw Error("Ag`"+a.V);};var Qld=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)})};Pld.prototype.Eo=function(){return[].concat(_.jd(this.services.values())).every(function(a){return a.kg()})};
var Rld=function(){},Sld={0:2E3,1:3E3,2:5E3},Tld=function(a,b){this.request=a;this.W=b;this.H=_.ei();this.continuationToken="";this.V=0;this.JE=this.isRunning=!1;this.O=Rld};Tld.prototype.lh=function(a){var b=this;this.isRunning||(this.isRunning=!0,this.sendRequest());a&&(this.O=a);return this.H.promise.then(function(c){b.O=Rld;b.V=0;return c},function(c){b.O=Rld;b.V=0;return Promise.reject(c)})};
Tld.prototype.sendRequest=function(){var a=this;if(this.JE)this.H.resolve((new pdd).Gc(8));else{var b=new _.lVc(this.request,this.continuationToken);this.W.then(function(c){return c.Ye(b)}).then(function(c){Uld(a,c)},function(c){a.handleError(c)})}};var Uld=function(a,b){var c;a.continuationToken=null!==(c=b.Yn())&&void 0!==c?c:"";a.continuationToken?(a.O(b),setTimeout(function(){a.sendRequest()},Vld(a.V++,a.ha))):a.H.resolve(b)};Tld.prototype.handleError=function(a){a=_.tA(a);this.H.reject(a)};
Tld.prototype.cancel=function(){this.JE=!0};var Vld=function(a,b){return b?b:(a=Sld[a])?a:1E4};
var Wld=function(a,b){VO.call(this,"TM",b);this.O=a;this.H=new Map};_.O(Wld,VO);Wld.prototype.nV=function(){var a=this,b={};return b["10.1"]=function(c){return Xld(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};var Xld=function(a,b){var c=b.clientId+":"+b.requestId;b=new _.ndd(JSON.parse(b.args[0]));b=new Tld(b,a.O);a.H.set(c,b);return _.fi(b.lh().then(function(d){return a.yd([d])},function(d){return a.yd(void 0,d)}),function(){a.H.delete(c)})};
Wld.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.yd([])};
var YO=function(a,b,c){_.P.call(this);this.H=a;this.Zr=b;this.kb=c;this.fields=null;this.Ha=!1;this.La=_.ei();this.W=!1;this.Ba=_.ei();this.O=_.ei();this.ta=null;this.wa=this.Ta=!1;this.Ab=_.ei();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.iC=Date.now();this.services=new Pld;this.Ob=new _.Ce(this);this.Ma(this.Ob)};_.O(YO,_.P);YO.prototype.BY=function(a){this.O.promise.then(function(b){b.L6||a.oj(b)})};
var amd=function(a,b){var c=gld(a.H,b),d=a.Xb.bind(a,c);XN(b,"8.1",d);b.registerService("8.1",d);XN(b,"8.4",a.Qa.bind(a,c));b.registerService("8.5",function(f){return Yld(a,c,f)});XN(b,"8.2",a.Hb.bind(a,c));XN(b,"8.3",a.Sb.bind(a,c));Qld(a.services,b);b.start();Zld(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.ci([a.La.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.ta);_.ci(e).then(function(){return void $ld(a,c,b)},function(f){a.Ta=!0;YN(b,"2.2",{err:_.PK(f).Tb()},d)})},bmd=function(a){return Math.floor((Date.now()-
a.iC)/1E3)},cmd=function(a,b,c){var d=function(e){YN(b,"2.8",{au:"ib"===e.type})};a.Ob.listen(c.MI,["ib","jb"],d);_.te(b,a.Ob.$c.bind(a.Ob,c.MI,["ib","jb"],d))},dmd=function(a,b,c){var d=c.Bk(),e=[].concat(_.jd(Object.values(_.uA))),f=function(h){YN(b,"2.19",{cs:h.connectionState})};a.Ob.listen(d,e,f);_.te(b,function(){a.Ob.$c(d,e,f)})};
YO.prototype.Xb=function(a){var b=hld(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){kld(d,a)}),b.dispose(),this.log(_.nt("Client %d disconnected (num clients remaining: %d)",a,_.Qa(this.H.channels))),0===_.Qa(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.fi(d.Hu(),c)})}};
YO.prototype.Qa=function(a,b){if(this.ha.has(a))return _.$h();var c=new _.Rb(JSON.parse(b.dsc));_.B(c,24,!1);this.Ha||(this.Ha=!0,this.La.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){bld(d,a,_.H(c.eg(),37,""));ald(d,_.Jd(c,28));d.Gf.Mma(_.uk(c,_.Il,91));return d.ZX.promise.then(function(){lgd(d.Gf,_.uk(c,_.Ye,44))})},function(){})};
YO.prototype.Hb=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 sfd(e,e.Tg);e.lh(d);e.dispose();(e=c.H.channels[a]||null)&&YN(e,"2.16")})}};YO.prototype.Sb=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){emd(new Wfd(h),e);(h=c.H.channels[a]||null)&&YN(h,"2.17",{t:f})})}};
var emd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.lh(c)});a.dispose()};YO.prototype.ab=function(){for(var a=[],b={},c=_.m(_.Ra(this.H.channels)),d=c.next();!d.done;b={Bfa:b.Bfa,$fa:b.$fa},d=c.next())b.Bfa=d.value,b.$fa=_.ei(),YN(b.Bfa,"2.12",void 0,function(e){return function(){e.Bfa.dispose();e.$fa.resolve()}}(b)),a.push(b.$fa.promise);return _.ci(a).then()};
YO.prototype.initialize=function(a){var b=this;a=a[0];_.zWc(a,this.fields);var c=_.E(a,_.ZK,58);c=c&&_.F(c,1,!1)?this.kb:void 0;try{var d=new lN(null,a,this.Zr,c,void 0,void 0),e=d.Yk().H(106E3);Ikd(d,this.ab.bind(this));this.Ob.listen(d.Rj(),"Ab",function(k){k={os:k.hf()};for(var l=_.m(_.Ra(b.H.channels)),p=l.next();!p.done;p=l.next())YN(p.value,"2.6",k)});this.Ob.listen(d,_.wc,this.ob);this.Ob.listen(d,"w8KrJc",this.Qc);D9c(d.MI,this.ka.bind(this));var f=d.cz;f&&U4c(f,function(){return b.ka()});
this.O.resolve(d);var h=fmd(this,d,new Gld(d,this.H,(0,_.v)(this.Bc,this),(0,_.v)(this.Lc,this)));e&&h.then(function(){return e&&e.ek()});return h}catch(k){return _.bi(k)}};
var fmd=function(a,b,c){a.services.activate(c);a.services.activate(new ild(b,a.H));a.services.activate(new Hld(b,a.H,c));a.services.activate(new Mld(b,a.H));a.services.activate(new Jld(b.Tc,b.NA,b.yR().Ega,b.Pm(),b.BQ,b.hg(),b.Yk(),a.H));a.services.activate(new Lld(b.Pm(),a.H));a.services.activate(new Wld(b.Pm(),a.H));return c.initialize()},$ld=function(a,b,c){var d=_.Qa(a.H.channels);a.log(_.nt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));YN(c,"2.2",{id:b,
clients:d,uptimeSec:bmd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.m_.addCallback(function(f){c.isDisposed()||YN(c,"2.5",{id:f})});1<d&&MO(e).addCallback(function(f){return f.$xa()});(a.services.services.get("IS")||null).addCallback(function(f){f.wca().then(function(){c.isDisposed()||YN(c,"2.14")})});cmd(a,c,e);dmd(a,c,e)})};YO.prototype.Bc=function(a){a={dt:a.dataType};for(var b=_.m(_.Ra(this.H.channels)),c=b.next();!c.done;c=b.next())YN(c.value,"2.15",a)};
YO.prototype.Lc=function(a){var b={oois:a};_.Ra(this.H.channels).forEach(function(c){YN(c,"2.18",b)})};YO.prototype.ob=function(a){a={p:a.error.ih.Tb()};for(var b=_.m(_.Ra(this.H.channels)),c=b.next();!c.done;c=b.next())YN(c.value,"2.10",a)};YO.prototype.Qc=function(){for(var a=_.m(_.Ra(this.H.channels)),b=a.next();!b.done;b=a.next())YN(b.value,"2.7")};var Zld=function(a,b,c){a.ha.has(b)?_.$h():new _.Zh(function(d){YN(c,"2.1",void 0,function(e){d(a.Qa(b,e))})})};
YO.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.bi(Error("Bg"));if(this.W&&this.Fa.has(a))return _.$h()}b=b||_.Ra(this.H.channels)[0];if(!b)return _.bi(Error("Cg"));var d=_.ei();b.send("1.1",void 0,function(e){Yld(c,a,e);d.resolve()});return d.promise};var Yld=function(a,b,c){_.Ma(c.ac,function(d,e){_.n[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.wa&&(a.wa=!0,a.Ab.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
YO.prototype.log=function(a){this.O.promise.then(function(b){return b.hg().info("drive.ds.sync.cacheproxy.Worker",a)})};
var gmd=function(a,b){UO.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.O(gmd,UO);_.g=gmd.prototype;_.g.Ka=function(){return _.E(this.context.Tc,_.ZK,58)};_.g.getContext=function(){return this.context};_.g.Dz=function(){return this.send("5.4",[this.H],function(a){return new _.nXc(JSON.parse(a[0]))})};_.g.hg=function(){return this.context.hg()};_.g.cN=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.sl(b)})};
_.g.zR=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.DTc(a[c]));return b})};_.g.E5=function(a,b,c){return this.send("5.8",[a.Tb(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.sl(e[k]));return{items:h,Eja:f,pageToken:d}})};_.g.Pra=function(){this.send("5.9",[])};_.g.cja=function(){this.send("5.1",[])};_.g.a$=function(){return _.fUc[_.ck(this.context.Tc.eg(),8,0)]};
_.g.Bea=function(){this.send("5.6",[])};_.g.oT=function(){return this.send("5.7",[],function(a){if(0===a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new H9c(a[e]));return{traceId:new cbd(b,c),spanRecs:d}})};_.g.JN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new cbd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.Qqa=function(){this.send("5.11",[])};
_.g.Ol=function(a){this.send("5.13",[a])};
var hmd=function(a,b){UO.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Ea(this))};_.O(hmd,UO);hmd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request.Tb()],function(b){return new Ndd(JSON.parse(b[0]))},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};
hmd.prototype.cancel=function(){this.send("9.2",[this.request.Tb()],void 0,this.id)};hmd.prototype.Bma=function(a,b,c){this.dispatchEvent(new Zdd(c[0],c[1]))};
var imd=function(a){UO.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.O(imd,UO);imd.prototype.EY=function(a){if(this.H=a){a=this.V.bind(this);var b=this.O.bind(this);this.log("Querying all offline items.");this.H.QV().Vf(a,b);this.H.c0((0,_.v)(this.W,this))}else this.send("6.3",[])};imd.prototype.V=function(a){var b=[];_.Ka(a,function(c){b.push(c.Tb())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};imd.prototype.O=function(){this.log("Error fetching offline items.")};
imd.prototype.W=function(a){var b=[];_.Ka(a,function(c){b.push(c.Tb())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var jmd=function(a,b){nO.call(this,a,b)};_.O(jmd,nO);jmd.prototype.tja=function(a,b,c){return new _.hVc(a,c)};jmd.prototype.Ola=function(a){return a.pageToken||""};jmd.prototype.$ka=function(a){return a.response.O()};jmd.prototype.J6=function(){};
var kmd=function(a,b,c){GO.call(this,a.Rj(),a.Bk(),b.Ui()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new jmd(this.request,this.ka)};_.O(kmd,GO);_.g=kmd.prototype;_.g.aH=function(){this.V.lh().then(this.Jab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return fdd(new CO,this.O).Gc(this.status)};_.g.ds=function(){return new ddd};_.g.Zj=function(){return!this.hf()&&(!this.H||qad(this.V))};_.g.Jab=function(a){this.changed=this.H=!0;this.O=a;this.St()};
_.g.St=function(){if(this.active){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))}};_.g.qc=function(){return this.O.length};
var lmd=function(a,b,c){GO.call(this,a.Rj(),a.Bk(),b.Ui()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.DRc;this.suggestionSessionId=null;this.ka=c};_.O(lmd,GO);_.g=lmd.prototype;_.g.aH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.qk();a.suggestionSessionId=b.Sf();a.St()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.u0c(_.t0c((new _.YM).Gc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ds=function(){var a=this.V.Ez(this.O,this.data);this.O=this.data;var b=(new jdd).Gc(this.status);return _.Db(b,2,a)};_.g.EP=function(){};_.g.St=function(){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))};_.g.qc=function(){return this.data.length};
var mmd=function(){};_.g=mmd.prototype;_.g.LM=function(a,b){b=(new Fdd).Ib(1).setPosition(b);_.A(b,2,a);return b};_.g.KM=function(a,b){b=(new Fdd).Ib(2).setPosition(b);_.A(b,2,a);return b};_.g.NE=function(a,b,c){b=(new Fdd).Ib(3).Oy(b).setPosition(c);_.A(b,2,a);return b};_.g.NQ=function(a,b){b=(new Fdd).Ib(4).setPosition(b);_.A(b,2,a);return b};_.g.qN=function(a){return _.E(a,_.h8c,2)};
var omd=function(){_.sK.call(this,new mmd,function(a){return nmd(a)})};_.O(omd,_.sK);var nmd=function(a){switch(_.ak(a,g8c[0])){case 6:return _.Ww(_.E(a,_.Vw,6)).getTime().toString();case 7:var b=_.E(a,_.PN,7);a=b.getStartTime();b=b.Cr();return a&&b?(a=_.Ww(a).getTime(),_.Ww(b).getTime()+"--"+a):"";default:return""}},qmd=function(){pmd||(pmd=new omd);return pmd},pmd;
var rmd=function(a,b,c,d){GO.call(this,b.Rj(),b.Bk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.EYc(_.dk(b.Tc.eg(),6,1E3));this.ta=c};_.O(rmd,GO);_.g=rmd.prototype;_.g.activate=function(){GO.prototype.activate.call(this);this.St()};_.g.aH=function(){_.L(this.request,3)?this.page():this.poll()};_.g.Kr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;GO.prototype.Kr.call(this,a)};
_.g.getData=function(){var a=(new Kdd).Gc(this.status);_.Db(a,2,this.O.slice(0,this.limit));this.ka=_.wa(this.O);return a};_.g.ds=function(){var a=qmd().Ez(this.ka,this.O),b=new Hdd;a=_.Db(b,2,a).Gc(this.status);this.ka=_.wa(this.O);return a};_.g.Zj=function(){return!this.hf()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.Cd=function(){return this.request};_.g.QNa=function(a){this.dispatchEvent(new _.lc(a));this.V=!1};
_.g.Oxb=function(a,b){this.H=!0;var c=_.uk(b,_.h8c,1);this.O=this.O.concat(c);this.token=b.jy()||"";0<c.length&&(this.changed=!0);this.St();this.page(a)};_.g.gyb=function(a){qmd();this.H=!0;var b=_.uk(a,_.h8c,1);qN(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.jy()||"",this.changed=!0,this.St(),this.page()):(this.V=!1,smd(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Zj()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).Vf(_.rb(this.Oxb,a),this.QNa,this):(this.V=!1,a&&a.callback(),smd(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.ta(this.request,this.limit).Vf(this.gyb,this.QNa,this))};_.g.St=function(){if(this.active){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))}};
_.g.ML=function(){this.hf()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.EP=function(){this.active&&this.Zj()&&!this.V&&this.page(new _.hi)};var smd=function(a){_.L(a.request,3)||(_.DG(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Xa()))};rmd.prototype.qc=function(){return this.O.length};
var tmd=function(){};_.g=tmd.prototype;_.g.LM=function(a,b){return Ldd((new _.FO).Ib(1),a).setPosition(b)};_.g.KM=function(a,b){return Ldd((new _.FO).Ib(2).setPosition(b),a)};_.g.NE=function(a,b,c){return Ldd((new _.FO).Ib(3).Oy(b).setPosition(c),a)};_.g.NQ=function(a,b){return Ldd((new _.FO).Ib(4),a).setPosition(b)};_.g.qN=function(a){return _.E(a,_.vO,2)};
var umd=function(){_.sK.call(this,new tmd,function(a){return a.getId()})};_.O(umd,_.sK);var wmd=function(){vmd||(vmd=new umd);return vmd},vmd;
var xmd=function(a,b,c){GO.call(this,b.Rj(),b.Bk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.EYc(_.dk(b.Tc.eg(),54,1E3));this.ma=c};_.O(xmd,GO);_.g=xmd.prototype;_.g.activate=function(){GO.prototype.activate.call(this);this.St()};_.g.aH=function(){this.poll()};_.g.getData=function(){var a=new Tdd;a=_.Db(a,2,this.O).Gc(this.status);this.ka=_.wa(this.O);return a};_.g.ds=function(){var a=wmd().Ez(this.ka,this.O),b=new Rdd;a=_.Db(b,2,a).Gc(this.status);this.ka=_.wa(this.O);return a};
_.g.Zj=function(){return!this.hf()&&!this.H};_.g.poll=function(){var a=new _.hi;this.ma(this.request).Vf(_.rb(this.Lab,a),_.rb(this.Kab,a),this);return a};_.g.Kab=function(a,b){this.dispatchEvent(new _.lc(b));a.Od(b);ymd(this)};_.g.Lab=function(a,b){this.H=!0;b=_.uk(b,_.vO,2);qN(wmd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.St();a.callback();ymd(this)};
_.g.St=function(){if(this.active){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))}};_.g.EP=function(){};var ymd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Xa()),_.DG(a.V))};xmd.prototype.qc=function(){return this.O.length};
var zmd=function(){};_.g=zmd.prototype;_.g.LM=function(a,b){return Rcd((new yO).Ib(1),a).setPosition(b)};_.g.KM=function(a,b){return Rcd((new yO).Ib(2).setPosition(b),a)};_.g.NE=function(a,b,c){return Rcd((new yO).Ib(3).Oy(b).setPosition(c),a)};_.g.NQ=function(a,b){return Rcd((new yO).Ib(4),a).setPosition(b)};_.g.qN=function(a){return _.E(a,_.$k,2)};
var Amd=function(){_.sK.call(this,new zmd,function(a){return a.getId()})};_.O(Amd,_.sK);_.Gf(Amd);
var ZO=function(a,b,c){_.Q.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.O(ZO,_.Q);ZO.prototype.yi=function(a){this.limit=a};ZO.prototype.lh=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Bmd(this)};ZO.prototype.Qla=function(){return this.permissions};
var Bmd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.EL;c=_.A(c,3,a.request);c=_.B(c,2,a.nextPageToken);b=_.B(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};ZO.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Yn()||"";a=_.uk(a.yd(),_.$k,2);this.permissions=_.ua(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return Bmd(this);this.dispatchEvent("Fb")};
ZO.prototype.handleError=function(a){this.H=!1;a=new $N(_.PK(a),_.dk(this.context.Tc.eg(),1,1));this.dispatchEvent(a)};
var Cmd=function(a,b,c,d){GO.call(this,b.Rj(),b.Bk(),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 ZO(b,this.request,this.ma);_.te(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.O(Cmd,GO);_.g=Cmd.prototype;_.g.activate=function(){GO.prototype.activate.call(this);this.St()};_.g.aH=function(){this.query()};_.g.Kr=function(a){GO.prototype.Kr.call(this,a||100)};
_.g.getData=function(){var a=new sN;a=_.Db(a,2,this.permissions.slice(0,this.limit)).Gc(this.status);this.ka=_.wa(this.permissions);return a};_.g.ds=function(){var a=Amd.Fb().Ez(this.ka,this.permissions),b=new Wcd;a=_.Db(b,2,a).Gc(this.status);this.ka=_.wa(this.permissions);return a};_.g.Zj=function(){var a;(a=!this.hf())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.Cd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new ZO(this.context,this.request,this.ma);this.O.yi(this.limit);return this.O.lh().then(function(){return Dmd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){GO.prototype.handleError.call(this,a);Emd(this)};var Dmd=function(a){a.H=!0;var b=a.O.Qla();qN(Amd.Fb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.St();Emd(a)};
Cmd.prototype.St=function(){if(this.active){var a=this.status;this.ML();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.xi(_.xc,this))}};Cmd.prototype.EP=function(){var a=this;this.O.yi(this.limit);this.O.lh().then(function(){return Dmd(a)},function(b){return a.handleError(b)})};var Emd=function(a){if(a.active){var b=a.context.Tc.eg();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.dk(b,7,9E5)*Math.random())+_.dk(b,15,36E5))}};Cmd.prototype.qc=function(){return this.permissions.length};
var Fmd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.xi(_.xc,a))},0)};
var Gmd=function(a,b){UO.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.H=null;this.id=String(_.Ea(this))};_.O(Gmd,UO);Gmd.prototype.lh=function(){var a=this;this.H||(this.H=_.ei(),this.send("10.1",[this.request.Tb()],function(b,c){b=iN(b[0],c,pdd);a.H.resolve(b)},this.id).Jg(function(b){a.H.reject(b)}));return this.H.promise};Gmd.prototype.cancel=function(){this.send("10.2",[this.request.Tb()],void 0,this.id)};
var Hmd=function(a,b,c){_.Q.call(this);this.instanceId=a;this.H=b;this.O=c;this.Bu={};this.files={};_.te(this,(0,_.v)(this.Mab,this))};_.O(Hmd,_.Q);_.g=Hmd.prototype;_.g.getId=function(){return this.instanceId};_.g.MQ=function(){return _.Ug()};_.g.upload=function(a,b){!_.C(a,26)&&b&&b.lastModified&&_.B(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.EWc;_.B(d,1,b.size);_.A(a,15,d);this.files[a.lj()]=b}return this.H("7.1",[a.Tb(),c],function(e){return new _.UL(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.H("7.2",[a])};_.g.pG=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 _.hi;c=this.MQ();this.Bu[c]=b;this.H("7.4",[c].concat(_.jd(a)));return _.Ra(b)};_.g.JM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.jd(b)),function(d){return D1c(d[0])}).addCallback(function(d){return _.oi(c.O.then(function(e){return e.H3a(d)}))})};_.g.Mab=function(){this.H("7.6",[])};
var Imd=function(a,b,c,d){if(a.Bu[b]&&a.Bu[b][c]){var e=a.Bu[b][c];d instanceof _.UL?e.callback(d):e.Od(d);delete a.Bu[b][c];_.Ua(a.Bu[b])&&delete a.Bu[b]}};
var Jmd=function(a,b){UO.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.O(Jmd,UO);var Kmd=function(a){var b=_.Ug(),c=new Hmd(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.te(c,function(){return void a.H.delete(b)});return c};
Jmd.prototype.Bma=function(a,b,c){if((a=this.H.get(a))&&c){b=c[1];var d=c.slice(2);switch(c[0]){case 3:c=d[0];d=d[1];d=Math.min(d,1073741824);var e=a.files[b];a.H("7.7",[b,_.MUc(e,c,Math.min(e.size,c+d))]);break;case 0:c=new _.UL(JSON.parse(d[1]));Imd(a,b,d[0],c);break;case 1:c=new _.kc(void 0,new _.jc(JSON.parse(d[1])));Imd(a,b,d[0],c);break;case 2:a.dispatchEvent(new _.WYc(b,d[0],d[1]));break;default:throw Error("Dg");}}};
var Lmd=function(a,b){if(0===a.length)throw new _.kc("mutateUserPref requires a namespace.",_.aL(3));var c=null;b instanceof _.PB?c=(b=(b=_.E(b,_.Mp,1))&&b.getKey())&&b.kt()||null:b instanceof _.OB&&(c=(b=b.getKey())&&b.kt()||null);if(!c||!a.find(function(d){return d===c}))throw new _.kc("mutateUserPref unsupported for namespace: "+c,_.aL(3));};
var Mmd=function(a){this.H=a};
var kN=function(a){UO.call(this,"IS","drive.ds.sync.ItemServiceProxy",(Nmd=_.ei()).promise);var b=this;this.bo=null;this.La=this.Qa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.ab=new _.yo;this.Ha=new _.yo;this.V=Nmd;Nmd=void 0;this.context=a;Kkd(this.context,new imd(this.V.promise));K4c(this.context.Tg,_.Jd(this.context.Tc,28));this.H=this.context.Fga;this.O=new lld(this.V.promise,this.context,this.H);this.ob=new Jmd(this.V.promise,this.context.BQ);this.Fa=new gmd(this.V.promise,this.context);
this.Rc=new _.Ce(this);this.Ma(this.Rc);this.Rc.listen(this.context.Bk(),[].concat(_.jd(Object.values(_.uA))),function(c){return void b.dispatchEvent(c)})},Nmd;_.O(kN,UO);
kN.prototype.initialize=function(){var a=this;if(!this.bo){this.bo=_.$h(this.ta);var b=this.context.Yk().H(106E3);this.bo.then(function(){b&&b.ek();a.z2a()},function(){_.nYc(a.context.Yk(),181008852)});var c=_.lM(this.context.Tc)?"(coldstart) ":"";this.context.hg().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Tc.Ri());var d=p1c(this.context.Tc,this.Xi(),_.rM(this.context.Tg));Omd(this,d);2===d.H?(c=new YO(new fld,6,this.context.hg()),amd(c,d.O),this.Ha.resolve(c)):
I1c(this.Fa);this.context.hg().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();Ikd(this.context,function(){return Pmd(d.channel)})}return this.bo};
var Pmd=function(a){return _.Eja([new _.Zh(function(b){a.isDisposed()||YN(a,"8.1",void 0,function(){a.dispose();b()})}),_.Ki(1E4)])},Omd=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",(0,_.v)(a.Ab,a)):c.registerService("1.1",function(){return Qmd(a,b)});2===b.H?a.Ha.promise.then(function(){return void Rmd(a,b)}):Rmd(a,b);XN(c,"2.1",function(){return{dsc:a.context.Tc.Tb()}});XN(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new eld(d.id,c,a.context.hg(),d.clients)),d.dsp&&Smd(c),
d.ivd&&Tmd(a,c)):(d=new _.jc(JSON.parse(d.err)),a.ta.Od(new _.kc("Unable to initialize dataservice.",d)))});XN(c,"2.15",function(d){a.dispatchEvent(new Ydd(d.dt))});XN(c,"2.5",function(d){a.context.Fu(d.id)});XN(c,"2.6",function(d){a.context.Rj().Ol(d.os)});XN(c,"2.18",function(d){a.context.Rj().Ny(d.oois)});XN(c,"2.7",function(){a.ma=!1});XN(c,"2.8",function(d){a.context.Ha=d.au;a.dispatchEvent(new h5c(d.au?"ib":"jb"))});XN(c,"2.19",function(d){a.context.Bk().update(d.cs)});XN(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.nt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.hg().config(e,d);break;case "fine":_.pM(a.context.hg(),e,d,"fine");break;case "finer":_.pM(a.context.hg(),e,d,"finer");break;case "finest":_.pM(a.context.hg(),e,d,"finest");break;case "info":a.context.hg().info(e,d);break;case "warning":case "severe":H4c(a.context.hg(),e,d);break;default:H4c(a.context.hg(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),H4c(a.context.hg(),e,d)}});XN(c,"2.10",
function(d){return void a.Baa(d)});XN(c,"2.12",function(){a.La=!0;$O(a)});XN(c,"2.14",function(){return a.ab.resolve()});XN(c,"2.16",function(){return a.Ta=!0});XN(c,"2.17",function(d){a.context.hg().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},Rmd=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",Qmd(a,b));YN(b.channel,"8.4",{dsc:a.context.Tc.Tb()});Smd(b.channel);Tmd(a,b.channel)},Smd=function(a){_.n._DRIVE_dsp&&YN(a,"8.3",{dsp:Umd(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];YN(a,"8.3",{dsp:Umd(c)})}}},Tmd=function(a,b){_.F(a.context.Tc,24,!1)&&(_.n._DRIVE_ivd?YN(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&YN(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},Qmd=function(a,b){var c={};if(1===b.H){var d=new _.Ngb(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.Tc.Ri(),
ufds:b.V}};kN.prototype.Ab=function(){return{uid:this.Xi(),fds:_.rM(this.context.Tg)}};kN.prototype.Xi=function(){var a=_.mk(_.mk(_.VG(this.context.Tc.clone(),28),44),91),b=new _.vK;b.update(_.jM(_.DK(a)));b.update(String(_.RK(_.DK(a))));b.update(a.Tb());return _.LRc(b.digest())};var Umd=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=kN.prototype;_.g.Baa=function(a){this.dispatchEvent(new _.lc(new _.kc(void 0,new _.jc(JSON.parse(a.p)))))};
_.g.query=function(a){$O(this);g9c(this.context.wn,a,I4c(this.context.Tg));this.qF();var b=this.O.Dya(a);this.Qa||(a=a.xe(),a&&121===_.C(a,1)||(this.Qa=!0,this.Rc.listen(b,_.xc,this.RNa)));return b};_.g.RNa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Fa.H=this.Ta,this.Rc.$c(a,_.xc,this.RNa))};_.g.tr=function(a){$O(this);e9c(a);this.qF();return this.O.Aya(a)};
_.g.Iwa=function(a,b){var c=this;$O(this);if(this.ka&&_.Bk(this.ka.Cd(),a))return this.ka;var d=(0,_.v)(kN.prototype.vrb,this);this.ka=new rmd(a.clone(),this.context,d,b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.vrb=function(a,b,c){return this.send("3.17",[a.Tb(),b,c],function(d){return new u8c(JSON.parse(d[0]))})};
_.g.hHa=function(a,b){var c=this;$O(this);if(this.ha&&_.Bk(this.ha.Cd(),a))return Fmd(this.ha),this.ha;var d=(0,_.v)(kN.prototype.xrb,this);this.ha=new Cmd(a,this.context,d,b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.xrb=function(a){return this.send("3.18",[a.Tb()],function(b){return new Xcd(JSON.parse(b[0]))})};_.g.$aa=function(a){$O(this);return this.send("3.14",[a.Tb()],function(b){return new BO(JSON.parse(b[0]))})};
_.g.d9=function(a){$O(this);return this.send("3.15",[a.Tb()],function(b){return new BO(JSON.parse(b[0]))})};_.g.zd=function(a){$O(this);!this.ma&&_.VL(a)&&(this.ma=!0);a=r1c(a);return this.send("3.3",[a.Tb()],function(b){return new _.UL(JSON.parse(b[0]))})};_.g.pO=function(a){$O(this);a=B1c(a);return this.send("3.35",[a.Tb()],function(b){return new g5c(JSON.parse(b[0]))}).then()};
_.g.nz=function(a){$O(this);for(var b=0;b<a.length;b++)!this.ma&&_.VL(a[b])&&(this.ma=!0);a=u1c(a);return this.send("3.4",[a.Tb()],function(c){return v9c(c[0]).get()})};_.g.zya=function(){$O(this);return Kmd(this.ob)};_.g.rTa=function(a){$O(this);return new hmd(this.V.promise,a)};
_.g.Hq=function(a,b){var c=this;$O(this);var d=_.Tg();this.H.create(d,a);return this.send("3.5",[a.Tb(),!!b],function(e){var f=new aO(JSON.parse(e[0]));return new _.CM(f,e[1],e[2])}).addCallback(function(e){N9c(c.H,d,e);return e.response}).Jg(function(e){ZN(c.H,d);return e})};_.g.xr=function(a){$O(this);return this.send("3.10",[a.Tb()],function(b){return new Ucd(JSON.parse(b[0]))})};_.g.bba=function(a){$O(this);return this.send("3.11",[a.Tb()],function(b){return new Ycd(JSON.parse(b[0]))})};
_.g.b9=function(a){$O(this);return this.send("3.12",[a.Tb()],function(b){return new Ycd(JSON.parse(b[0]))})};_.g.BT=function(a){$O(this);return this.send("3.13",[a.Tb()],function(b){return new Ycd(JSON.parse(b[0]))})};_.g.PN=function(a,b){var c=this;$O(this);var d=_.Tg();this.H.create(d,a);return this.send("3.1",[a.Tb(),!!b],function(e){var f=new _.EO(JSON.parse(e[0]));return new _.FM(f,e[1],e[2])}).addCallback(function(e){N9c(c.H,d,e);return e.response}).Jg(function(e){ZN(c.H,d);return e})};
_.g.ZG=function(a,b){var c=this,d=_.Jd(this.context.Tc.eg(),30);if(!d||0===d.length)return _.pi(new _.kc("getUserPrefs requires a namespace.",_.aL(3)));0===_.Jd(a,3).length&&O1c(a,d);$O(this);var e=_.Tg();this.H.create(e,a);return this.send("3.2",[a.Tb(),!!b],function(f){var h=new _.Ny(JSON.parse(f[0]));return new _.EM(h,f[1],f[2])}).addCallback(function(f){N9c(c.H,e,f);return f.response}).Jg(function(f){ZN(c.H,e);return f})};
_.g.rS=function(a){$O(this);Lmd(_.Jd(this.context.Tc.eg(),30),a);a=y1c(a);return this.send("3.6",[a.Tb()],function(b){return new Zcd(JSON.parse(b[0]))})};_.g.gu=function(a){$O(this);return this.send("3.16",[a.Tb()],function(b){return new X4c(JSON.parse(b[0]))})};_.g.kDa=function(){return this.ma};_.g.Ol=function(a){$O(this);this.send("3.8",[a])};_.g.Ny=function(a){$O(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.EY=function(a){$O(this);Jkd(this.context).EY(a);this.Ny(!!a)};
_.g.qF=function(){$O(this);this.send("3.9",[])};_.g.tS=function(){$O(this);this.send("3.41",[]);this.context.tS();var a=R4c(this.context.Yk(),106006);a&&this.V.promise.then(function(b){var c=_.E(_.xM(a),n4c,6);if(!c){c=new n4c;var d=_.xM(a);_.A(d,6,c)}c=_.B(c,1,b.clientId);_.B(c,2,b.O);a.ek()},function(){})};_.g.JB=function(){$O(this);return this.context.JB()};_.g.FQ=function(){$O(this);return _.$h(this.send("3.19",[],function(a){return new y9c(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.context.Bk().isConnected()};
_.g.u8=function(){return this.send("3.46",[],function(a){return new _.sYc(JSON.parse(a[0]))}).then()};_.g.t$=function(){return this.Fa};_.g.sync=function(){$O(this);return this.send("3.28",[]).then()};_.g.Hu=function(){return this.context.Hu()};_.g.BY=function(a){this.Ha.promise.then(function(b){return void b.BY(a)})};_.g.Fra=function(a){$O(this);return this.O.Kya(a)};_.g.lZ=function(a){$O(this);return this.O.Jya(a)};_.g.eHa=function(a){$O(this);j9c(this.context.wn,a,I4c(this.context.Tg));return this.O.Gya(a)};
_.g.Gra=function(a){$O(this);return new Gmd(this.V.promise,a)};_.g.wxa=function(a){$O(this);if(!this.W||this.W.isDisposed()){var b=kN.prototype.wrb.bind(this);this.W=new xmd(a,this.context,b)}return this.W};_.g.wrb=function(a){return this.send("3.20",[a.Tb()],function(b){return new Tdd(JSON.parse(b[0]))})};_.g.NHa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.$h()};_.g.RV=function(a){$O(this);return this.send("3.25",[a.Tb()],function(b){return new Pdd(JSON.parse(b[0]))})};
_.g.c9=function(a){$O(this);return this.send("3.22",[a.Tb()],function(){return new Udd})};_.g.wca=function(){return this.ab.promise};_.g.mpa=function(a){var b=_.ei();this.send("3.30",[a.Tb()],function(c){c[0]?b.resolve(new Wdd(JSON.parse(c[0]))):b.reject(new _.kc(void 0,new _.jc(JSON.parse(c[1]))))}).Jg(function(c){return void b.reject(c)});return b.promise};_.g.Wxa=function(a){$O(this);return this.O.xya(a)};_.g.t8=function(a){$O(this);return this.send("3.42",[a.Tb()],function(b){return new j6c(JSON.parse(b[0]))}).then()};
_.g.GP=function(a){$O(this);var b=new _.yo;this.send("3.39",[a.Tb()],function(c){return c.map(function(d){return new Y9c(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new Mmd(b.promise))};_.g.zHa=function(a){var b=this;$O(this);return new kmd(this.context,a,function(c){return b.send("3.37",[c.request.Tb(),c.pageToken],function(d){return new A8c(new CO(JSON.parse(d[0])),d[1])}).then()})};
_.g.zpa=function(a){$O(this);return this.send("3.38",[a.Tb()],function(b){return new gdd(JSON.parse(b[0]))}).then()};_.g.rMa=function(a){$O(this);return this.O.Oya(a)};_.g.Bsa=function(a){$O(this);return this.O.Nya(a)};_.g.JKa=function(a){var b=this;$O(this);return new lmd(this.context,a,function(){return b.send("3.40",[a.Tb()],function(c){return new _.YM(JSON.parse(c[0]))}).then()})};_.g.wra=function(a){$O(this);return this.O.Hya(a)};_.g.$_=function(a){$O(this);this.send("3.43",[a.Tb()])};
_.g.H0=function(a){$O(this);return this.send("3.44",[a.Tb()],function(){return new m5c}).then()};_.g.Uo=function(a){$O(this);if(1!==_.kM(this.context.Tc))return Promise.reject(Error("Eg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Nc())return Promise.reject(Error("Fg"));if(!c.Ck()&&!c.getItem())return Promise.reject(Error("Gg"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Tb()})]))};
_.g.z2a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Ki(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Eja(b).then(function(c){c?_.Ii(a.z2a.bind(a),6E4):(a.La=!0,$O(a))})}};var $O=function(a){a.La&&a.dispatchEvent(new xed)};
var k2c=function(a){IO.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.ei();this.H=a.Pm()};_.O(k2c,IO);k2c.prototype.cTa=function(){this.Ha=new rld(this.context);this.Ma(this.Ha);this.La=new vld(this.context);this.Ma(this.La);this.Qa=new Cld(this.context);this.Ma(this.Qa)};
k2c.prototype.ab=function(){var a=this,b=["hVFf7"];_.lM(this.context.Tc)&&b.push("BNEDtc");eO(this.O,b,function(){return void a.VXa()});eO(this.O,["T8oKm","ZA9qG"],function(){return void Vmd(a)});eO(this.O,["T8oKm","mrK8ic"],function(){return void Vmd(a)});this.Rc.listen(this.Ha,"WPi0i",this.iua.bind(this,1));this.Rc.listen(this.La,"Qb",this.iua.bind(this,2));this.Rc.listen(this.Qa,"WPi0i",this.iua.bind(this,4));eO(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var Vmd=function(a){MO(a.context).addCallback(function(b){b.start()})};
_.g=k2c.prototype;_.g.iua=function(a){_.ma(n5c,a)&&this.dispatchEvent(new Ydd(a))};_.g.lZ=function(a){return this.V.Jya(a.clone())};_.g.eHa=function(a){j9c(this.context.wn,a,I4c(this.context.Tg));return this.V.Gya(a.clone())};_.g.Fra=function(a){return this.V.Kya(a.clone())};_.g.Gra=function(a){return new Tld(a,this.context.Pm())};
_.g.Iwa=function(a,b){var c=this;if(this.ta&&_.Bk(this.ta.Cd(),a))return this.ta;this.ta=new rmd(a.clone(),this.context,this.xkb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.xkb=function(a,b,c){var d=new _.aVc(a,b,c);return _.oi(this.H.then(function(e){return e.Ye(d)}).Og(function(e){return _.cL(e)}))};_.g.wxa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new xmd(a,this.context,function(c){return Wmd(b,c)});return this.ha};var Wmd=function(a,b){return _.oi(a.H.then(function(c){return c.Ye(b)}).Og(function(c){return _.cL(c)}))};
_.g=k2c.prototype;_.g.NHa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.$h()};_.g.RV=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}))};_.g.c9=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}))};_.g.hHa=function(a,b){var c=this;if(this.ka&&_.Bk(this.ka.Cd(),a))return Fmd(this.ka),this.ka;this.ka=new Cmd(a.clone(),this.context,this.EKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.EKb=function(a){var b=this;return this.H.then(function(c){return c.Ye(a)}).then(function(c){return _.IK(b.context.Tc)?ead(b.context.Gf.jr,_.uk(c.yd(),_.$k,2),a.Cd().getId()).then(function(){return c}):c},_.cL)};_.g.$aa=function(a){var b=this;return _.oi(this.H.then(function(c){return c.Ye(a)}).then(function(c){return _.IK(b.context.Tc)?ead(b.context.Gf.jr,[_.E(c,_.$k,2)],a.Nc()).then(function(){return c}):c},_.cL))};
_.g.d9=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};_.g.Wxa=function(a){return this.V.xya(a.clone())};_.g.t8=function(a){return this.H.then(function(b){return b.Ye(a)}).then(null,_.cL)};_.g.GP=function(a){return this.H.then(function(b){return b.Ye(a)}).then(function(b){var c=new _.yo;oad(a,b).then(function(d){return c.resolve(d)});return new Mmd(c.promise)},function(b){return void _.cL(b)})};_.g.zHa=function(a){var b=this;return new kmd(this.context,a,function(c){return b.H.then(function(d){return d.Ye(c)}).Og(function(d){return _.cL(d)})})};
_.g.zpa=function(a){return this.H.then(function(b){return b.Ye(a)}).then(null,_.cL)};_.g.zd=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};_.g.pO=function(a){return this.H.then(function(b){return b.Ye(a)}).then(null,_.cL)};_.g.nz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.eL?c.push(String(f.Nc())):c.push(String(f.getId()));d.push(b.zd(f))});a=new _.Xo(d);var e=new _.hi;a.addCallback(this.Wmb.bind(this,e,c));return e};
_.g.zya=function(){return new Ild(this.context.Tc,this.context.NA,this.context.yR().Ega,this.context.Pm(),this.context.BQ,this.context.hg(),this.context.Yk())};_.g.Hq=function(a,b){var c=this,d=_.Tg();this.W.create(d,a);3===a.getType()?a=IO.prototype.Hq.call(this,a).addCallback(function(e){return new _.CM(e,1,!1)}):(fO(this.O,"Qubz4b"),a=this.La.enqueue(new Ald(a,b)));return a.addCallback(function(e){N9c(c.W,d,e);return e.response}).Jg(function(){ZN(c.W,d)})};
_.g.xr=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};_.g.bba=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};_.g.b9=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};_.g.BT=function(a){return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};
_.g.PN=function(a,b){var c=this;fO(this.O,"iuEtc");var d=_.Tg();this.W.create(d,a);return this.Ha.enqueue(new tld(a,b)).addCallback(function(e){N9c(c.W,d,e);return e.response}).Jg(function(){ZN(c.W,d)})};
_.g.ZG=function(a,b){var c=this,d=_.Jd(this.context.Tc.eg(),30);if(!d||0===d.length)return _.pi(new _.kc("getUserPrefs requires a namespace.",_.aL(3)));0===_.Jd(a,3).length&&O1c(a,d);var e=_.Tg();this.W.create(e,a);fO(this.O,"OZvrNc");return this.Qa.enqueue(new Fld(a,b)).addCallback(function(f){N9c(c.W,e,f);return f.response}).Jg(function(){ZN(c.W,e)})};_.g.rS=function(a){Lmd(_.Jd(this.context.Tc.eg(),30),a);return _.oi(this.H.then(function(b){return b.Ye(a)}).then(null,_.cL))};
_.g.gu=function(a){var b=this;return _.oi(this.H.then(function(c){return c.Ye(a)}).then(function(c){return _.IK(b.context.Tc)?dad(b.context.Gf.jr,c):c},_.cL))};_.g.rMa=function(a){return this.V.Oya(a.clone())};_.g.Bsa=function(a){return this.V.Nya(a.clone())};_.g.JKa=function(a){var b=this;return new lmd(this.context,a,function(c){return b.H.then(function(d){return d.Ye(c)}).Og(function(d){return _.cL(d)})})};_.g.wra=function(a){return this.V.Hya(a.clone())};
_.g.$_=function(a){lgd(this.context.Gf,[a])};_.g.H0=function(a){return this.H.then(function(b){return b.Ye(a)}).then(null,_.cL)};_.g.Uo=function(a){if(1!==_.kM(this.context.Tc))return Promise.reject(Error("Eg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Nc())return Promise.reject(Error("Fg"));if(!c.Ck()&&!c.getItem())return Promise.reject(Error("Gg"))}this.context.Gf.Uo(a);Wgd(this.context.Gf);return Promise.resolve()};_.g.kDa=function(){return this.context.yR().hK()};
_.g.Ny=function(a){var b=this;return this.context.Ny(a).then(function(c){return c?(b.context.Rj().Ny(a),b.context.Qs.pL()):_.$h(!a)})};_.g.EY=function(a){Jkd(this.context).EY(a);this.Ny(!!a)};_.g.qF=function(){MO(this.context).addCallback(function(a){a&&a.U4()});this.context.oia.qF()};_.g.BY=function(a){a.oj(this.context)};_.g.Wmb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];Wgd(this.context.Gf);a.callback(d)};
_.g.sync=function(){var a=this;return _.ci([this.context.Yaa.promise,this.context.ka.promise]).then(function(){return a.context.Qs.pL()}).then()};_.g.Hu=function(){MO(this.context).addCallback(function(a){a&&a.dispose()});return IO.prototype.Hu.call(this)};_.g.wca=function(){return this.kb.promise};
var Xmd=function(){var a='<div class="'+_.J("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.J("la-Y-A")+" "+_.J("kc-A")+'" data-target="reload">');return(0,_.K)(a+"Reload</button>")};
_.No({id:_.Sk,callback:function(a){var b=_.w0c(a),c=n2c(a),d=_.E(a.get(_.Vc),_.Rb,10);_.zWc(d,b);_.jk(d,28,c);b=l2c(a,d);a.registerService(_.Tk,b.t$());_.Ke(b,"VbxEwf",function(){var e={};_.tc(_.$w.getService(a),new _.vq(new _.uq(Xmd,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.Ymd=function(a,b){return _.A(a,17,b)};_.Zmd=function(a,b){return _.B(a,2,b)};_.$md=function(a,b){return _.B(a,1,b)};_.and=function(a,b){return _.A(a,2,b)};_.bnd=function(a,b){return _.Db(a,1,b)};_.cnd=function(a,b){return _.jk(a,1,b)};_.dnd=function(a,b){return _.Db(a,2,b)};_.end=function(a,b){return _.A(a,3,b)};_.t("RsR2Mc");


_.w();

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