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

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

_.w();

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


_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.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{
_.Mtb=function(a,b,c,d,e,f,h){return(0,_.I)(_.Tn("a",b,!1)({fillColor:d,mb:c,color:"#000000",rb:!0,Es:e,size:f,Zd:h},a))};_.t("sy12a");

_.w();

}catch(e){_._DumpException(e)}
try{
_.$xb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.byb=function(a,b,c,d){var e=_.Ke.getService(a);a=e.ug(a,c);_.ayb(a.H.Hk,b,d);e.Zf(a)};_.ayb=function(a,b,c){var d=new _.cyb;b.UU&&_.y(d,2,b.UU);b.rG&&0<=b.rG&&_.y(d,1,b.rG);b.quotaType&&_.y(d,3,b.quotaType);_.dyb(a,d);c&&(b=new _.eyb,_.y(b,1,c),_.fyb(a,b))};_.gyb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.hyb=function(a,b){return!_.T(a,6,!1)||_.T(b,15,!1)};
_.dyb=function(a,b){b&&(a=a.ad(),_.J(a,29,b))};_.fyb=function(a,b){b&&(a=a.ad(),_.J(a,38,b))};_.cyb=function(a){_.K.call(this,a)};_.N(_.cyb,_.K);_.eyb=function(a){_.K.call(this,a)};_.N(_.eyb,_.K);_.eyb.prototype.Qh=function(){return _.B(this,1)};_.t("sy163");
_.jyb=function(a,b,c){var d=_.E(a.get(_.zDa),1,""),e=_.$xb(b);d=new _.dj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.ij(_.lj(_.lj(_.lj(_.lj(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.iyb(a,e,c)),-1!=parseInt(String(_.D(b,_.Xx,2)),10)?"upgrade":"")};
_.iyb=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"}}};
_.kyb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.B(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("sy17z");

var TAb=_.iyb,UAb=_.jyb,VAb=_.kyb;_.iyb=function(a,b,c){return"over"==b&&_.Pl(a.get(_.cc))?"widget_trial":TAb(a,b,c)};_.jyb=function(a,b,c){c=UAb(a,b,c);"over"===_.$xb(b)&&_.Pl(a.get(_.cc))&&_.lj(c,"eft","1");return c};_.kyb=function(a,b,c){b=VAb(a,b,c);a=_.Pl(a.get(_.cc));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("emk");


_.w();

}catch(e){_._DumpException(e)}
try{
var Etb,Htb;Etb=[4,5,6,7];_.mB=function(a){_.K.call(this,a)};_.N(_.mB,_.K);_.mB.prototype.Bb=function(){return _.B(this,1)};_.mB.prototype.Ec=function(a){return _.y(this,1,a)};_.mB.prototype.x$=function(){return _.B(this,2)};_.mB.prototype.Xb="JmcaR";_.Ftb=function(a){_.K.call(this,a)};_.N(_.Ftb,_.K);_.Ftb.prototype.O=function(){return _.R(this,1)};_.Ftb.prototype.Xb="dvhrqe";_.Gtb=function(a){_.K.call(this,a)};_.N(_.Gtb,_.K);_.Gtb.prototype.mp=function(){return _.B(this,2)};
_.Gtb.prototype.Z1=function(){return _.B(this,3)};Htb=[5];_.nB=function(a){_.K.call(this,a)};_.N(_.nB,_.K);_.nB.prototype.setActive=function(a){return _.y(this,4,a)};_.Itb=function(a){_.K.call(this,a,-1,Htb)};_.N(_.Itb,_.K);_.g=_.Itb.prototype;_.g.YZ=function(){return _.B(this,1)};_.g.XT=function(){return _.B(this,3)};_.g.bK=function(){return _.Yj(this,_.Gtb,5)};_.g.xm=function(){return _.B(this,6)};_.g.hs=function(){return _.B(this,7)};_.g.hv=function(){return _.B(this,10)};
_.g.Mm=function(){return _.B(this,13)};_.g.DAb=function(){return _.Q(this,16)};_.g.Xb="dzR11e";_.Jtb=function(a){_.K.call(this,a,-1,Etb)};_.N(_.Jtb,_.K);_.Jtb.prototype.O=function(){return _.D(this,_.Itb,1)};_.Jtb.prototype.lN=function(){return _.D(this,_.mB,8)};_.Jtb.prototype.V=function(){return _.D(this,_.Ftb,9)};_.t("sy126");
_.oB=function(a){_.K.call(this,a,-1,Ktb)};_.N(_.oB,_.K);_.oB.prototype.getUser=function(){return _.D(this,_.Hk,1)};_.oB.prototype.getMetadata=function(){return _.D(this,_.Jtb,3)};_.oB.prototype.Eo=function(){return _.Q(this,3)};var Ktb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy127");
var qmb;_.jA=function(a){_.K.call(this,a,-1,qmb)};_.N(_.jA,_.K);_.jA.prototype.O=function(){return _.Sd(this,1)};_.kA=function(a,b){return _.Qj(a,1,b)};_.jA.prototype.rn=function(){return _.Sd(this,2)};_.lA=function(a,b){return _.Qj(a,2,b)};_.jA.prototype.ze=function(){return _.D(this,_.qf,3)};_.mA=function(a,b){return _.J(a,3,b)};_.rmb=function(a,b){return _.y(a,5,b)};qmb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.pB=function(a){return a instanceof _.pc?a:a instanceof _.oc?new _.pc(void 0,a):a instanceof Error?new _.pc(a.message,void 0,a):new _.pc("Not an Error",void 0,Error("sb`"+JSON.stringify(a)))};_.Ltb=function(a){return a instanceof Error?_.pB(a).Sg:a instanceof _.pc?a.Sg:a};_.t("sy129");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy12b");
_.qB={BL:"eb",cha:"fb",yU:"gb",xU:"hb"};_.Ntb=new Map([[_.qB.BL,1],[_.qB.cha,2],[_.qB.yU,2],[_.qB.xU,3]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.$z=function(a){if(Array.isArray(a))return a.map(_.$z).join("");if(_.B(a,2)){if(!a.getId())throw Error("pd");return a.getId()+"/"+_.B(a,2)+","}return""};_.t("sy13m");

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var zxb;_.yxb=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")};zxb=function(a){var b=_.paa(_.JEa,function(c){return a==c});if(void 0===b)throw Error("qb`"+a);return b};_.Axb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.JEa[a.name]):(this.code=a=a.code,this.name=zxb(a));_.ea.call(this,_.yxb("%s %s",this.name,b))};_.Nf(_.Axb,_.ea);var Bxb=function(a,b){_.ii.call(this,a.type,b)};
_.Nf(Bxb,_.ii);_.t("sy15y");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Cxb=function(){_.P.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.u)(this.C0,this);this.H.onprogress=(0,_.u)(this.C0,this);this.H.onload=(0,_.u)(this.C0,this);this.H.onabort=(0,_.u)(this.C0,this);this.H.onerror=(0,_.u)(this.C0,this);this.H.onloadend=(0,_.u)(this.C0,this)};_.Nf(_.Cxb,_.P);_.g=_.Cxb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Axb(a,"aborting read");}};_.g.ek=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Axb(this.H.error,"reading file")};_.g.C0=function(a){this.dispatchEvent(new Bxb(a,this))};_.g.Za=function(){_.Cxb.wb.Za.call(this);delete this.H};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy17i");
_.MC=function(a){_.K.call(this,a)};_.N(_.MC,_.K);_.MC.prototype.ka=function(){return _.Lj(this,1)};_.MC.prototype.V=function(){return _.Lj(this,2)};_.MC.prototype.O=function(){return _.Lj(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.lsb=function(a){_.K.call(this,a)};_.N(_.lsb,_.K);_.lsb.prototype.O=function(){return _.B(this,1)};_.lsb.prototype.Bb=function(){return _.B(this,2)};_.lsb.prototype.Ec=function(a){return _.y(this,2,a)};_.lsb.prototype.V=function(){return _.B(this,3)};_.t("sy18b");
_.nsb=function(a){_.K.call(this,a,-1,msb)};_.N(_.nsb,_.K);_.nsb.prototype.O=function(){return _.Sd(this,1)};var msb=[1];
_.psb=function(a){_.K.call(this,a,-1,osb)};_.N(_.psb,_.K);_.psb.prototype.O=function(){return _.Yj(this,_.lsb,1)};var osb=[1];
_.rsb=function(a){_.K.call(this,a,-1,qsb)};_.N(_.rsb,_.K);_.rsb.prototype.O=function(){return _.Yj(this,_.psb,1)};var qsb=[1];
_.ssb=function(a){_.K.call(this,a)};_.N(_.ssb,_.K);_.ssb.prototype.V=function(){return _.D(this,_.rsb,1)};_.ssb.prototype.O=function(){return _.D(this,_.nsb,2)};
_.cB=function(a){_.K.call(this,a,-1,tsb)};_.N(_.cB,_.K);_.g=_.cB.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.Cd=function(){return _.Yj(this,_.dl,2)};_.g.Vw=function(a){return _.Tj(this,2,a)};_.g.qh=function(a,b){return _.bk(this,2,a,_.dl,b)};_.g.dk=function(){return _.B(this,3)};_.g.nl=function(){return _.T(this,5,!0)};_.g.l6=function(){return _.D(this,_.ssb,7)};_.g.osa=function(){return _.R(this,8)};_.g.Wf=function(){return _.B(this,17)};
_.g.EP=function(a){return _.y(this,17,a)};_.g.ef=function(){return _.B(this,12)};_.g.mj=function(a){return _.y(this,12,a)};_.g.Zn=function(){return _.B(this,15)};_.g.tka=function(){return _.Sd(this,18)};var tsb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy19i");
_.xD=function(a){_.K.call(this,a)};_.N(_.xD,_.K);_.xD.prototype.getKey=function(){return _.D(this,_.Tb,1)};_.xD.prototype.ws=function(){return _.Q(this,1)};_.xD.prototype.ze=function(){return _.D(this,_.qf,2)};
_.yD=function(a){_.K.call(this,a)};_.N(_.yD,_.K);_.yD.prototype.ze=function(){return _.D(this,_.qf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy19j");
_.wD=function(a){_.K.call(this,a,-1,iCb)};_.N(_.wD,_.K);_.wD.prototype.ze=function(){return _.D(this,_.qf,1)};var iCb=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.OD=function(a,b,c){_.O.call(this);this.Mn=null!=c?(0,_.u)(a,c):a;this.ka=b;this.Lg=(0,_.u)(this.B$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Nf(_.OD,_.O);_.g=_.OD.prototype;_.g.xe=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Kf()+this.ka:this.H=_.ti(this.Lg,this.ka)};_.g.stop=function(){this.H&&(_.ui(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Mn.apply(null,this.ha)))};_.g.Za=function(){this.stop();_.OD.wb.Za.call(this)};_.g.B$a=function(){this.H&&(_.ui(this.H),this.H=null);this.W?(this.H=_.ti(this.Lg,this.W-_.Kf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Mn.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1c5");
_.bG=function(a){_.K.call(this,a)};_.N(_.bG,_.K);_.bG.prototype.getName=function(){return _.B(this,1)};_.bG.prototype.ud=function(a){return _.y(this,1,a)};_.bG.prototype.ze=function(){return _.D(this,_.qf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1c8");
_.cG=function(a){_.K.call(this,a)};_.N(_.cG,_.K);_.g=_.cG.prototype;_.g.Mi=function(){return _.B(this,1)};_.g.yi=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.ze=function(){return _.D(this,_.qf,3)};_.g.Sp=function(){return _.B(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1c9");
_.dG=function(a){_.K.call(this,a)};_.N(_.dG,_.K);_.dG.prototype.Mi=function(){return _.B(this,1)};_.dG.prototype.yi=function(a){return _.y(this,1,a)};_.dG.prototype.ze=function(){return _.D(this,_.qf,2)};_.dG.prototype.Xb="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ca");
var cUb;_.eG=function(a){_.K.call(this,a,-1,cUb)};_.N(_.eG,_.K);_.eG.prototype.O=function(){return _.Sd(this,1)};_.eG.prototype.rn=function(){return _.Sd(this,2)};_.dUb=function(a,b){return _.Qj(a,2,b)};_.eG.prototype.ze=function(){return _.D(this,_.qf,3)};_.eUb=function(a,b){return _.J(a,3,b)};cUb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.fG=function(a){_.K.call(this,a)};_.N(_.fG,_.K);_.g=_.fG.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.getState=function(){return _.B(this,5)};_.g.Pd=function(a){return _.y(this,5,a)};_.g.vt=function(){return _.Q(this,5)};_.t("sy1cb");
_.gG=function(a){_.K.call(this,a,-1,fUb)};_.N(_.gG,_.K);_.gG.prototype.rn=function(){return _.Sd(this,1)};_.gUb=function(a,b){return _.Qj(a,1,b)};_.gG.prototype.ze=function(){return _.D(this,_.qf,2)};var fUb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.hG=function(a,b){return _.y(a,4,b)};_.hUb=function(a,b){_.y(a,11,b)};_.iUb=function(a,b){return _.y(a,25,b)};_.t("sy1cc");

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1cg");
_.nG=function(a){_.K.call(this,a)};_.N(_.nG,_.K);_.nG.prototype.Dc=function(){return _.B(this,1)};_.fVb=function(a){var b=new _.nG;return _.y(b,1,a)};_.nG.prototype.Mi=function(){return _.B(this,2)};_.nG.prototype.yi=function(a){return _.y(this,2,a)};_.nG.prototype.ze=function(){return _.D(this,_.qf,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.FUb=function(a){_.K.call(this,a)};_.N(_.FUb,_.K);_.t("sy1ci");

_.w();

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

_.w();

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

_.w();

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

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.JH=function(a,b,c,d){this.ha=a;this.W=b;this.H=this.V=a;this.ka=c||0;this.ma=d||2};_.JH.prototype.O=0;_.JH.prototype.reset=function(){this.H=this.V=this.ha;this.O=0};_.JH.prototype.Ya=function(){return this.V};_.KH=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{
_.Sac=function(a,b,c){_.aj(a.url,function(d){d=d.target;d.uv()?b(d.ol()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.Tac=function(a,b,c,d){return _.E(a,1).split("/").pop()==d?(d=_.B(a,2),Array.isArray(d)?new b(d):c(_.vb(a.Ya()))):null};_.t("sy1i0");
_.Vac=function(a){_.K.call(this,a,-1,Uac)};_.N(_.Vac,_.K);var Uac=[2];
_.Wac=function(a){_.K.call(this,a)};_.N(_.Wac,_.K);var Xac=function(){var a=new _.Wac,b=document.documentElement.getAttribute("lang");return _.y(a,5,b)};_.Wac.prototype.Li=function(){return _.B(this,7)};
_.Yac=function(a){_.K.call(this,a)};_.N(_.Yac,_.K);
var Zac;_.LH=function(a){_.K.call(this,a,31,Zac)};_.N(_.LH,_.K);_.MH=function(a,b){return _.y(a,8,b)};Zac=[3,20,27];
var abc=function(a){_.K.call(this,a,17,$ac)};_.N(abc,_.K);var bbc=function(a){var b=Date.now().toString();return _.y(a,4,b)},cbc=function(a,b){return _.Tj(a,3,b)},dbc=function(a,b){return _.y(a,14,b)},$ac=[3,5];
var fbc=function(a){_.K.call(this,a,6,ebc)};_.N(fbc,_.K);var ebc=[5];
var gbc=function(a){_.K.call(this,a)};_.N(gbc,_.K);
var hbc=new _.wk(175237375,gbc);
_.NH=function(a,b,c,d,e,f,h,k,l,p,q){_.P.call(this);var r=this;this.Ka="";this.O=[];this.Lc="";this.Gb=this.Nb=this.ha=!1;this.Tc=this.nb=-1;this.Rb=!1;this.Fa=this.V=null;this.va=0;this.je=1;this.timeoutMillis=0;this.kb=!1;_.P.call(this);this.Wc=a;this.uc=b||_.If;this.ka=new abc;this.Fd=d;this.Ab=q;this.qe=_.Db(_.$ia,0,1);this.Ba=e||null;this.Ha=c||null;this.Ta=h||!1;this.$a=l||null;this.Gd=null;this.withCredentials=!k;this.Cc=f||!1;this.Yd=!this.Cc&&(_.rj.xn&&_.Fb(65)||_.rj.Uw&&_.Fb(45)||_.rj.$v&&
_.Fb(12)||_.Sg()&&0<=_.fg(_.Aia(),12))&&!!_.of()&&!!_.of().navigator&&!!_.of().navigator.sendBeacon;a=_.y(new _.Yac,1,1);f||(f=Xac(),_.J(a,11,f));_.J(this.ka,1,a);_.y(this.ka,2,this.Wc);this.ma=new _.JH(1E4,3E5,.1);this.H=new _.si(this.ma.Ya());this.Ma(this.H);_.xe(this.H,"tick",_.pga(ibc(this,p)),!1,this);this.Pa=new _.si(6E5);this.Ma(this.Pa);_.xe(this.Pa,"tick",_.pga(ibc(this,p)),!1,this);this.Ta||this.Pa.start();this.Cc||(_.xe(_.of(),"beforeunload",this.ta,!1,this),_.xe(_.of(),"unload",this.ta,
!1,this),_.xe(document,"visibilitychange",function(){"hidden"===document.visibilityState&&r.ta()}),_.xe(document,"pagehide",this.ta,!1,this))};_.N(_.NH,_.P);var ibc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.NH.prototype.Za=function(){this.ta();_.P.prototype.Za.call(this)};var jbc=function(a){a.Ba||(a.Ba=.01>a.qe()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};
_.NH.prototype.W=function(a){a instanceof _.LH?this.log(a):(a=_.MH(new _.LH,a.kc()),this.log(a))};_.kbc=function(a,b){b?(a.V||(a.V=new _.Vac),b=b.kc(),_.y(a.V,4,b)):a.V&&_.Rj(a.V,4)};_.lbc=function(a){a.Nb=a.Yd};_.mbc=function(a,b){a.ma=new _.JH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.NH.prototype.log=function(a){a=a.clone();var b=this.je++;_.y(a,21,b);this.Ka&&_.y(a,26,this.Ka);if(!_.B(a,1)){b=a;var c=Date.now().toString();_.y(b,1,c)}_.Q(a,15)||_.y(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.J(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new nbc(a));this.Ta||this.H.enabled||this.H.start()};
_.NH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.kb)obc(this);else{var d=Date.now();if(this.Tc>d&&this.nb<d)b&&b("throttled");else{var e=dbc(cbc(bbc(this.ka.clone()),this.O),this.va);d={};var f=this.uc();f&&(d.Authorization=f);var h=jbc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Ui(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Ui(h,"pageId",this.$a));if(f&&this.Lc===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.kc(),l;this.Fa&&this.Fa.yu(k.length)&&(l=this.Fa.I8b(k));var p={url:h,body:k,imb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Ya());if(z){var A=null;try{var C=JSON.parse(z.replace(")]}'\n",""));A=new fbc(C)}catch(F){}A&&(z=Number(_.ena(A,1,"-1")),0<z&&(c.nb=Date.now(),c.Tc=c.nb+z),A=_.sb(A,hbc))&&(A=_.fk(A,1,-1),-1!=A&&(c.Rb||_.mbc(c,A)))}a&&a()},r=
function(z){var A=_.Yj(e,_.LH,3);_.KH(c.ma);c.H.setInterval(c.ma.Ya());401===z&&f&&(c.Lc=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Ta||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.Ab?c.Ab.send(p,q,r):c.Fd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.imb=2;v()},function(){v()}):v()}}}};_.NH.prototype.ta=function(){this.ha||(this.Nb&&obc(this),this.Gb&&pbc(this),this.flush())};
var obc=function(a){qbc(a,32,10,function(b,c){b=_.Ui(b,"format","json");b=_.of().navigator.sendBeacon(b,c.kc());a.kb&&!b&&(a.kb=!1);return b})},pbc=function(a){qbc(a,6,5,function(b,c){b=_.Si(b,"format","base64json","p",_.sj(c.kc(),3));_.zg(new Image,b);return!0})},qbc=function(a,b,c,d){if(0!==a.O.length){var e=_.Sla(jbc(a),"format");e=_.Si(e,"auth",a.uc(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=cbc(bbc(a.ka.clone()),h);0===f&&dbc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},nbc=function(){_.ii.call(this,"event-logged",void 0)};_.N(nbc,_.ii);

_.w();

}catch(e){_._DumpException(e)}
try{
var rbc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],C=e[2],F=e[3],H=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var L=F^A&(C^F);var M=1518500249}else L=A^C^F,M=1859775393;else 60>z?(L=A&C|F&(A|C),M=2400959708):(L=A^C^F,M=3395469782);L=((r<<5|r>>>27)&4294967295)+
L+H+M+v[z]&4294967295;H=F;F=C;C=(A<<30|A>>>2)&4294967295;A=r;r=L}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+C&4294967295;e[3]=e[3]+F&4294967295;e[4]=e[4]+H&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,C=r.length;A<C;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}};_.t("sy1i6");
var sbc=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("Le`"+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("Me`"+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 ubc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,tbc(sbc(d),a,c||null)].join(" "):null},tbc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ja(d,function(k){e.push(k)}),vbc(e.join(" "));var f=[],h=[];_.Ja(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.qa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ja(d,function(k){e.push(k)});a=vbc(e.join(" "));a=[c,a];_.qa(h)||a.push(h.join(""));return a.join("_")},vbc=function(a){var b=
rbc();b.update(a);return b.digestString().toLowerCase()};
var wbc={};
var xbc,zbc;xbc=function(a){return!!wbc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.ybc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;xbc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.MPa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");xbc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};zbc=function(a,b,c,d){(a=_.n[a])||(a=(new _.MPa(document)).get(b));return a?ubc(a,c,d):null};
_.Abc=function(a,b){b=void 0===b?!1:b;var c=sbc(String(_.n.location.href)),d=[];if(_.ybc(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 _.MPa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?ubc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&xbc(b)&&((b=zbc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=zbc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.OH=function(a,b){a.H=b;a.ka=0};_.PH=function(a,b){return _.y(a,b,_.pb([]))};_.t("sy1i9");
_.QH=function(a,b,c,d,e,f,h){_.NH.call(this,a,_.Abc,b,_.Sac,c,d,e,void 0,f,h)};_.N(_.QH,_.NH);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iu");
_.Bbc=function(a){_.K.call(this,a)};_.N(_.Bbc,_.K);_.g=_.Bbc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.ws=function(){return _.Q(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Kb=function(a){return _.y(this,2,a)};_.g.Wi=function(){return _.Rj(this,2)};_.g.kh=function(){return _.Q(this,2)};
_.RH=function(a){_.K.call(this,a,-1,Cbc)};_.N(_.RH,_.K);_.RH.prototype.Nz=function(){return _.B(this,1)};_.RH.prototype.getUrl=function(){return _.B(this,3)};var Cbc=[2,4,6];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1iv");
_.Dbc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.Ebc=_.ab(_.Dbc);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1kg");
var Fbc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};Fbc.prototype.get=function(a){return Gbc(this)[a]||null};Fbc.prototype.set=function(a){Gbc(this)[this.V(a)]=a;this.O=null};var Gbc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.SH=function(a,b){this.H=a;this.gB=b};
_.SH.prototype.Hz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!Hbc(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.DM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.FM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&Hbc(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++)Hbc(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&&Hbc(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.FM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.DM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.gB(this.H.fN(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.KE(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.Ni()||0;var q=l.py()||0;l.setPosition((l.Ni()||0)+Ibc(e,l.Ni()||0));d[f].setPosition((d[f].Ni()||0)+c);3==d[f].getType()&&(l.Sy((l.py()||0)+Ibc(e,l.py()||0)),d[f].Sy((d[f].py()||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 Fbc(a,this.gB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.gB(f)))&&!_.ek(h||void 0,f||void 0)&&d.push(this.H.xQ(f,e));return c.concat(d)};var Ibc=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};
_.SH.prototype.KE=function(a,b){var c=b.Ni()||0;c>(a.Ni()||0)&&--c;return this.H.KE(this.H.fN(b),a.Ni()||0,c)};var Hbc=function(a,b,c){return a.gB(b)==a.gB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Jbc=function(a){var b=new _.N$a;return _.y(b,1,a)};_.t("sy1kh");
var Kbc=function(){};_.g=Kbc.prototype;_.g.FM=function(a,b){return _.Jbc(1).setItem(a).setPosition(b)};_.g.DM=function(a,b){return _.Jbc(2).setPosition(b).setItem(a)};_.g.KE=function(a,b,c){return _.Jbc(3).Sy(b).setPosition(c).setItem(a)};_.g.xQ=function(a,b){return _.Jbc(4).setItem(a).setPosition(b)};_.g.fN=function(a){return a.getItem()};
var Mbc;_.Lbc=function(){_.SH.call(this,new Kbc,function(a){return a.getId()})};_.N(_.Lbc,_.SH);_.Nbc=function(){Mbc||(Mbc=new _.Lbc);return Mbc};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.TH=function(a,b){a.V.remove(b);return a};_.UH=function(){return"goog_"+_.tia++};_.Qbc=function(a,b,c,d,e,f){var h=new _.dj(null,void 0);a&&_.ej(h,a);b&&_.ima(h,b);c&&_.fj(h,c);d&&_.gj(h,d);e&&h.Hi(e);f&&_.hj(h,f);return h};_.VH=function(a){return new _.Ph(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{m9:!0,value:p}:{m9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Rja(h,_.Db(e,f,!0),_.Db(e,f,!1));else b(d)})};
_.WH=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new _.Dq(c,e,d-c,a-e)}return null};_.XH=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.XH.prototype.clone=function(){return new _.XH(this.start,this.end)};_.YH=function(a){return a.end-a.start};_.t("sy1kz");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ZH=function(a,b,c){_.O.call(this);this.Mn=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};_.N(_.ZH,_.O);_.g=_.ZH.prototype;_.g.xe=function(a){this.W=arguments;this.H||this.V?this.O=!0:Rbc(this)};_.g.stop=function(){this.H&&(_.ui(this.H),this.H=null,this.O=!1,this.W=null)};_.g.pause=function(){this.V++};_.g.resume=function(){this.V--;this.V||!this.O||this.H||(this.O=!1,Rbc(this))};_.g.Za=function(){_.O.prototype.Za.call(this);this.stop()};
var Rbc=function(a){a.H=_.ti(function(){a.H=null;a.O&&!a.V&&(a.O=!1,Rbc(a))},a.ha);var b=a.W;a.W=null;a.Mn.apply(null,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
var Sbc,Vbc;Sbc=[3,42];_.Tbc=function(a){_.K.call(this,a,-1,Sbc)};_.N(_.Tbc,_.K);_.Tbc.prototype.getMimeType=function(){return _.B(this,27)};_.Ubc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};Vbc=function(a,b){if(b&&a in b)return a;var c=_.EFa();return c?(c=c.toLowerCase(),a=c+_.wia(a),void 0===b||a in b?a:null):null};_.t("sy1l0");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Wbc=function(a){_.ii.call(this,"visibilitychange");this.hidden=a};_.N(Wbc,_.ii);
_.Xbc=function(a){_.P.call(this);this.jd=a||_.kh();if(this.Cz=this.Msb())this.H=_.xe(this.jd.Vb(),this.Cz,(0,_.u)(this.nab,this))};_.Nf(_.Xbc,_.P);_.g=_.Xbc.prototype;_.g.Msb=_.eda(function(){var a=this.yu(),b="hidden"!=this.Rza();if(a){var c;b?c=((_.EFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Rza=_.eda(function(){return Vbc("hidden",this.jd.Vb())});_.g.tub=_.eda(function(){return Vbc("visibilityState",this.jd.Vb())});_.g.yu=function(){return!!this.Rza()};
_.g.yB=function(){return!!this.jd.Vb()[this.Rza()]};_.g.nab=function(){var a=this.yu()?this.jd.Vb()[this.tub()]:null;a=new Wbc(this.yB(),a);this.dispatchEvent(a)};_.g.Za=function(){_.qi(this.H);_.Xbc.wb.Za.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.$H=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Nf(_.$H,_.Pbc);_.$H.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 Ybc=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};
_.$H.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;)Ybc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){Ybc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){Ybc(this,d);e=0;break}}this.O=e;this.V+=b};
_.$H.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 Zbc;Zbc=[2];_.aI=function(a){_.K.call(this,a,-1,Zbc)};_.N(_.aI,_.K);_.aI.prototype.Bb=function(){return _.B(this,1)};_.aI.prototype.Ec=function(a){return _.y(this,1,a)};_.aI.prototype.nVa=function(){return _.Yj(this,_.N$a,2)};_.aI.prototype.dk=function(){return _.B(this,3)};_.t("sy1lu");
var $bc;_.bI=function(a){_.K.call(this,a,-1,$bc)};_.N(_.bI,_.K);_.bI.prototype.O=function(){return _.Sd(this,1)};_.bI.prototype.ze=function(){return _.D(this,_.qf,2)};_.acc=function(a,b){return _.J(a,2,b)};_.bI.prototype.Mi=function(){return _.fk(this,3,20)};_.bI.prototype.yi=function(a){return _.y(this,3,a)};_.bI.prototype.Em=function(){return _.R(this,4)};_.bcc=function(a,b){return _.y(a,4,b)};$bc=[1];

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ccc=function(a){_.O.call(this);this.O=a;this.H={};this.O.DO((0,_.u)(this.V,this))};_.Nf(_.ccc,_.O);_.ecc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ne`"+b);if(b in a.H)throw Error("Oe`"+b);var c=new dcc(a,b);return a.H[b]=c};_.ccc.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)}};_.ccc.prototype.Za=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var dcc=function(a,b){_.O.call(this);this.Pg=a;this.H=b};_.Nf(dcc,_.O);_.g=dcc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Pg.O.registerService(this.H+":"+a,(0,_.u)(this.wTa,this,b),c)};_.g.DO=function(a){this.O=(0,_.u)(this.wTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Pe");this.Pg.O.send(this.H+":"+a,b)};_.g.wTa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Za=function(){this.Pg=this.Pg.H[this.H]=null};

_.w();

}catch(e){_._DumpException(e)}
try{
var fcc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.fga);try{delete a[_.fga]}catch(b){}},cI=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(_.Ca(f)){f[_.fga]||c.push(f);var l=_.Da(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var 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++)fcc(c[a]);return b.join("")};_.t("sy1m9");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var gcc,eI,icc,hcc;_.dI=function(a,b,c){if("number"===typeof a)var d={name:hcc(a)};else d=a,a=icc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Nf(_.dI,_.ea);_.dI.prototype.getName=function(){return this.O.name||""};eI={Xjb:1,bjb:2,NOT_FOUND_ERR:3,u9a:4,A9a:5,djb:6,Sjb:7,ABORT_ERR:8,sjb:9,Q6b:10,TIMEOUT_ERR:11,pjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.jcc=(_.n.zI||_.n.tL||eI).Xjb;_.kcc=(_.n.zI||_.n.tL||eI).bjb;_.lcc=(_.n.zI||_.n.tL||eI).NOT_FOUND_ERR;
_.mcc=(_.n.zI||_.n.tL||eI).u9a;_.ncc=(_.n.zI||_.n.tL||eI).A9a;_.occ=(_.n.zI||_.n.tL||eI).djb;_.pcc=(_.n.zI||_.n.tL||eI).Sjb;_.qcc=(_.n.zI||_.n.tL||eI).ABORT_ERR;_.rcc=(_.n.zI||_.n.tL||eI).sjb;_.scc=(_.n.zI||_.n.tL||eI).TIMEOUT_ERR;_.tcc=(_.n.zI||_.n.tL||eI).pjb;_.ucc=(_.n.DOMException||eI).INVALID_ACCESS_ERR;_.vcc=(_.n.DOMException||eI).INVALID_STATE_ERR;
icc=function(a){switch(a){case "UnknownError":return _.jcc;case "NotFoundError":return _.lcc;case "ConstraintError":return _.mcc;case "DataError":return _.ncc;case "TransactionInactiveError":return _.pcc;case "AbortError":return _.qcc;case "ReadOnlyError":return _.rcc;case "TimeoutError":return _.scc;case "QuotaExceededError":return _.tcc;case "InvalidAccessError":return _.ucc;case "InvalidStateError":return _.vcc;default:return _.jcc}};
hcc=function(a){switch(a){case _.jcc:return"UnknownError";case _.lcc:return"NotFoundError";case _.mcc:return"ConstraintError";case _.ncc:return"DataError";case _.pcc:return"TransactionInactiveError";case _.qcc:return"AbortError";case _.rcc:return"ReadOnlyError";case _.scc:return"TimeoutError";case _.tcc:return"QuotaExceededError";case _.ucc:return"InvalidAccessError";case _.vcc:return"InvalidStateError";default:return"UnknownError"}};
_.fI=function(a,b){return"error"in a?new _.dI(a.error,b):new _.dI({name:"UnknownError"},b)};_.gI=function(a,b){if("name"in a)return b=b+": "+a.message,new _.dI(a,b);if("code"in a){var c=hcc(a.code);b=b+": "+a.message;return new _.dI({name:c},b)}return new _.dI({name:"UnknownError"},b)};
_.wcc=function(a){this.H=a};_.xcc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.wcc.prototype.range=function(){return this.H};
var ycc=function(a){this.H=a};ycc.prototype.getName=function(){return this.H.name};var zcc=function(a,b,c,d){var e=new _.Vh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+cI(d),e.Jd(_.gI(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+cI(d);e.Jd(_.fI(h.target,c))};return e};ycc.prototype.get=function(a){return zcc(this,"get","getting from index "+this.getName(),a)};
ycc.prototype.getKey=function(a){return zcc(this,"getKey","getting key from index "+this.getName(),a)};ycc.prototype.getAll=function(a,b){return _.Acc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.Acc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.wcc?d.range():(new _.wcc(_.xcc.only(d))).range();var h=new _.Vh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?cI(f):"<all>"),h.Jd(_.gI(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?cI(f):"<all>");h.Jd(_.fI(l.target,c))};return h};
var Bcc=function(a){this.H=a};Bcc.prototype.getName=function(){return this.H.name};var Ccc=function(a,b,c,d,e){var f=new _.Vh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=cI(d),e&&(c+=", with key "+cI(e)),f.Jd(_.gI(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=cI(d);e&&(c+=", with key "+cI(e));f.Jd(_.fI(k.target,c))};return f};_.g=Bcc.prototype;_.g.put=function(a,b){return Ccc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return Ccc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.Vh;try{var c=this.H["delete"](a instanceof _.wcc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+cI(a),b.Jd(_.gI(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+cI(a);b.Jd(_.fI(e.target,f))};return b};
_.g.get=function(a){var b=new _.Vh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+cI(a),b.Jd(_.gI(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 "+cI(a);b.Jd(_.fI(e.target,f))};return b};_.g.getAll=function(a,b){return Dcc(this,"getting all from index "+this.getName(),a,b)};
var Dcc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.wcc?c.range():(new _.wcc(_.xcc.only(c))).range();var f=new _.Vh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?cI(e):"<all>"),f.Jd(_.gI(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?cI(e):"<all>");f.Jd(_.fI(k.target,b))};return f};
Bcc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Vh;try{var c=this.H.clear()}catch(d){return b.Jd(_.gI(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Jd(_.fI(d.target,a))};return b};Bcc.prototype.getIndex=function(a){try{return new ycc(this.H.index(a))}catch(b){throw _.gI(b,"getting index "+a);}};
Bcc.prototype.count=function(a){var b=new _.Vh;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.Jd(_.fI(e.target,d.getName()))}}catch(e){b.Jd(_.gI(e,this.getName()))}return b};
var Ecc=function(a,b){_.P.call(this);this.H=a;this.O=b;this.Cb=new _.Ie(this);this.Cb.listen(this.H,"complete",(0,_.u)(this.dispatchEvent,this,"complete"));this.Cb.listen(this.H,"abort",(0,_.u)(this.dispatchEvent,this,"abort"));this.Cb.listen(this.H,"error",this.oab)};_.Nf(Ecc,_.P);_.g=Ecc.prototype;_.g.oab=function(a){a.target instanceof _.dI?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.fI(a.target,"in transaction")})};_.g.Jh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new Bcc(this.H.objectStore(a))}catch(b){throw _.gI(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.gI(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Vh;_.Oe(this,"complete",(0,_.u)(a.callback,a));var b=_.Oe(this,"abort",function(){_.qi(c);a.Jd(new _.dI(_.qcc,"waiting for transaction to complete"))});var c=_.Oe(this,"error",function(e){_.qi(b);a.Jd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Za=function(){Ecc.wb.Za.call(this);this.Cb.dispose()};
var Fcc=function(a){_.P.call(this);this.H=a;this.Cb=new _.Ie(this);this.Cb.listen(this.H,"abort",(0,_.u)(this.dispatchEvent,this,"abort"));this.Cb.listen(this.H,"error",this.pab);this.Cb.listen(this.H,"versionchange",this.Zpb);this.Cb.listen(this.H,"close",(0,_.u)(this.dispatchEvent,this,"close"))};_.Nf(Fcc,_.P);_.g=Fcc.prototype;_.g.zsa=!0;_.g.pab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Zpb=function(a){this.dispatchEvent(new Gcc(a.oldVersion,a.newVersion))};_.g.close=function(){this.zsa&&(this.H.close(),this.zsa=!1)};_.g.Kg=function(){return this.zsa};_.g.getName=function(){return this.H.name};_.g.Di=function(){return Number(this.H.version)};_.Hcc=function(a,b,c){try{return new Bcc(a.H.createObjectStore(b,c))}catch(d){throw _.gI(d,"creating object store "+b);}};
_.Icc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new Ecc(d,a)}catch(e){throw _.gI(e,"creating transaction");}};Fcc.prototype.Za=function(){Fcc.wb.Za.call(this);this.Cb.dispose()};var Gcc=function(a,b){_.ii.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Nf(Gcc,_.ii);
_.Jcc=function(){void 0==gcc&&(gcc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return gcc};
_.Kcc=function(a,b,c,d){var e=new _.Vh;b=b?_.Jcc().open(a,b):_.Jcc().open(a);b.onsuccess=function(f){f=new Fcc(f.target.result);e.callback(f)};b.onerror=function(f){e.Jd(_.fI(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new Fcc(f.target.result);c(new Gcc(f.oldVersion,f.newVersion),h,new Ecc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new Gcc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Lcc=function(a,b){this.ka=a;this.va=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.Sac;this.H=""};_.t("sy1ma");
_.Lcc.prototype.build=function(){var a=new _.NH(this.ka,this.Ka?this.Ka:_.Abc,this.va,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.B(b,1)||_.y(b,1,1);_.J(a.ka,1,b)}if(this.O){b=this.O;var c=_.D(a.ka,_.Yac,1),d=_.D(c,_.Wac,11);d||(d=new _.Wac);_.y(d,7,b);_.J(c,11,d);_.B(c,1)||_.y(c,1,1);_.J(a.ka,1,c)}this.ha&&(a.Fa=this.ha);this.H&&(a.Ka=this.H);this.Ba&&_.kbc(a,this.Ba);this.Pa&&(b=this.Pa,a.V||(a.V=new _.Vac),_.Qj(a.V,2,b));this.Ha&&(b=this.Ha,
a.Rb=!0,_.mbc(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Mcc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1mb");
_.Ncc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.Ncc.prototype.uA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.MH(new _.LH,a.kc());b(a);return new _.Ph(function(d){c(d,function(){d()})}.bind(this))};
_.Occ=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.lbc(this.O)};_.Occ.prototype.uA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.MH(new _.LH,a.kc());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var Pcc=function(a){_.K.call(this,a)};_.N(Pcc,_.K);Pcc.prototype.getEmail=function(){return _.E(this,3,"")};Pcc.prototype.Ap=function(){return _.Q(this,3)};_.hI=function(a){return _.D(a,Pcc,36,1)};_.t("sy1lw");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lv");
_.iI=function(a){_.K.call(this,a)};_.N(_.iI,_.K);_.iI.prototype.ze=function(){return _.D(this,_.qf,1)};_.jI=function(a,b){return _.J(a,1,b)};_.iI.prototype.Og=function(){return _.B(this,4)};_.iI.prototype.Voa=function(a){return _.y(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var Qcc=function(a){_.K.call(this,a)},Vcc;_.N(Qcc,_.K);var Rcc=function(a){_.K.call(this,a)};_.N(Rcc,_.K);_.kI=function(a){_.K.call(this,a)};_.N(_.kI,_.K);_.kI.prototype.R4=function(a){_.y(this,3,a)};_.kI.prototype.Ml=function(a){return _.J(this,5,a)};_.kI.prototype.getMimeType=function(){return _.B(this,7)};var Scc=[2],Tcc=function(a){_.K.call(this,a,-1,Scc)};_.N(Tcc,_.K);var Ucc=function(a){_.K.call(this,a)};_.N(Ucc,_.K);Vcc=function(a){this.H=a};_.Wcc=function(a){this.qd=a};
_.Wcc.prototype.getId=function(){return this.qd};var Xcc=function(a){_.K.call(this,a)};_.N(Xcc,_.K);Xcc.prototype.Di=function(){return _.B(this,1)};var Ycc=function(a){_.K.call(this,a)};_.N(Ycc,_.K);
var $cc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.aBa.length;a++){var b=_.aBa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;Zcc(this,b);break}}},Zcc=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})};
$cc.prototype.uA=function(a){if(this.ha&&this.O){var b=_.D(a,_.Pb,2)||new _.Pb,c=_.D(a,_.Xo,5)||new _.Xo,d=_.D(a,_.kI,3)||new _.kI;a=_.Yj(a,_.gza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.kc(),session_info:b.kc(),session_invariants:c.kc(),client_info:d.kc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy1lz");
var adc=function(){_.Qo.call(this)};_.N(adc,_.Qo);adc.prototype.tv=function(){return 1==_.B(_.D(this.H,Qcc,7),1)};var bdc=new _.Mo("high_frequency_builder");
var cdc=function(a,b,c){a=new _.si(a);c.Ma(a);var d=new _.Ie(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var ddc=function(){_.Qo.call(this)};_.N(ddc,_.Qo);var edc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.Do;var e=new _.Aya;e=_.y(e,1,d);_.J(b,1,e);_.y(b,3,1);_.J(a.H,8,b);_.y(a.H,12,c);_.y(a.H,13,c);_.y(a.H,4,d);_.y(a.H,3,c)}else 1==b&&(b=new _.Do,e=new _.Bya,d=_.y(e,1,d),_.J(b,2,d),_.y(b,3,2),_.J(a.H,8,b),_.y(a.H,12,c),_.y(a.H,3,c));return a},fdc=new _.Mo("system_builder");
var gdc=function(a,b){_.O.call(this);this.O=a;this.H=new _.Xbc(b);this.Ma(this.H);this.Cb=new _.Ie(this);this.Ma(this.Cb);this.H.yu()&&this.Cb.listen(this.H,"visibilitychange",this.V)};_.N(gdc,_.O);gdc.prototype.V=function(){if(this.O.DP()){var a=this.H.yB()?102001:102E3;a=this.O.YF(a,0);this.O.tq(a)}};
var hdc=function(a,b,c){c=void 0===c?!1:c;_.O.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.N(hdc,_.O);_.g=hdc.prototype;_.g.tq=function(a){var b=this.H;_.y(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.hc()&&b.O.xe();return new Vcc(a)};_.g.YF=function(a,b){a=edc(idc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.HL=function(){return this.H.O};
_.g.PM=function(a){var b=this.H,c=_.Ro(a,fdc),d=b.ha++,e=_.D(_.D(c.H,_.Do,8),_.Bya,2),f=1E3*Date.now();_.y(e,2,f);_.y(c.H,13,d);b.ka.remove(_.B(a.H,12))};_.g.ZZ=function(){var a=this.O;if(!a.ha||a.H.V){var b=jdc(a.H,691).build();b=kdc(a.H,[b]);a.ka.uA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.$Z=function(){var a=this.H,b=jdc(a,716);ldc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.xe();this.W&&(this.V=new gdc(this))};_.g.uja=function(){this.O.W();return _.VH(Array.from(this.O.V)).then()};
_.g.DP=function(){var a=this.H;return a.va&&a.ma&&!0};
var mdc=function(a,b,c,d,e){_.O.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.ZH(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.N(mdc,_.O);mdc.prototype.initialize=function(){cdc(this.ma,this.O.xe,this.O);cdc(36E5,this.va,this)};mdc.prototype.W=function(){var a=this;if(0!=this.H.H.hc()&&(!this.ha||this.H.V)){var b=ndc(this.H),c=this.ta.uA(b);c&&(_.Uh(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
mdc.prototype.va=function(){var a=this.H,b=jdc(a,1153).build();a.H.add(b);this.O.xe()};
var odc=function(a){_.O.call(this);this.H=a;this.Ma(this.H)};_.N(odc,_.O);_.g=odc.prototype;_.g.tq=function(a){a=this.H.tq(a);this.uja();return a};_.g.YF=function(a,b){return this.H.YF(a,b)};_.g.HL=function(){return this.H.HL()};_.g.PM=function(a){return this.H.PM(a)};_.g.ZZ=function(){return this.H.ZZ()};_.g.$Z=function(){return this.H.$Z()};_.g.uja=function(){return this.H.uja()};_.g.DP=function(){return this.H.DP()};
var pdc=function(){};pdc.prototype.RQ=function(){return new adc};
var qdc=function(){this.H=[]};qdc.prototype.add=function(a){this.H.push(a)};qdc.prototype.hc=function(){return this.H.length};
var rdc=function(){this.H={}};rdc.prototype.add=function(a){var b=_.B(a.H,12);this.H[b]=a};rdc.prototype.remove=function(a){delete this.H[a]};
var sdc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new rdc;this.H=new qdc;this.ma=this.va=this.V=!1},idc=function(a,b){a=_.Ro((new _.Qo).initialize(new _.gza,a.Ba),fdc);_.y(a.H,10,b);return a},ndc=function(a){var b=a.H,c=b.H;b.H=[];return kdc(a,c)},kdc=function(a,b){var c=new _.pAa;var d=a.O.W.clone();c=_.J(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.J(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.D(b[h],_.Ko,5);if(k&&_.D(k,_.Tbc,1)){k=_.D(k,_.Tbc,1);_.Q(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.D(k,Rcc,20);if(void 0!==k&&void 0===f){f=new Ycc;var l=_.R(k,2);void 0!==l&&_.y(f,2,l);k=_.R(k,1);void 0!==k&&_.y(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 _.kI),void 0!==e&&_.y(d,6,e),void 0!==f&&_.J(d,13,f);(e=d)&&_.J(c,3,e);a=a.O.ha.clone();_.J(c,4,a);_.Tj(c,1,b);return c},jdc=function(a,b){var c=edc(idc(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 Ucc;k=_.y(p,1,k);l=_.B(l.H,10);l=_.y(k,2,l);f.push(l)}d=f}716!=b&&(b=a.ta,_.y(c.H,6,a.W),e=new Tcc,b=_.y(e,1,b),d&&_.Tj(b,2,d),d=_.So(c),_.J(d,3,b));ldc(a,c);return c},ldc=function(a,b){a.W=_.B(b.H,12);a.ta=_.B(_.D(_.D(b.H,_.Do,8),_.Aya,1),1)};
var tdc=function(){};tdc.prototype.RQ=function(){return new ddc};
var udc=function(){this.H=this.O=null};udc.prototype.build=function(){null==this.H&&(this.H=new _.Jza);_.Uo(this.H,fdc,new tdc);_.Uo(this.H,bdc,new pdc);var a=this.H;var b=this.O;if(!_.Q(_.vdc(b),1)){var c=_.vdc(b),d=new _.aAa;_.J(c,1,d)}b=_.D(_.vdc(b),_.aAa,1);a.H=b;b=_.Ra(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new sdc(this.O,this.H)};
var wdc=function(){this.W=new _.Pb;this.O=null;this.ha=new Xcc;_.y(this.ha,1,6);this.H=this.V=null};wdc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.xdc=function(a,b){_.y(a.W,2,b);return a};_.ydc=function(a,b){if(null==a.V){a.V=new _.nAa;var c=_.vdc(a);_.J(c,2,a.V)}_.y(a.V,1,b)};_.vdc=function(a){null==a.O&&(a.O=new _.Xo);return a.O};_.zdc=function(a){null==a.H&&(a.H=new _.kI);return a.H};
_.Adc=function(){this.H=this.ha=null;this.W=new wdc;this.V=null;this.ka=this.ma=!1;this.O=null};_.Bdc=function(a,b){a.ha=b;return a};_.Cdc=function(a,b){a.H=b;return a};_.Ddc=function(a,b){a.V=b;return a};_.Adc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.Edc=function(a,b){_.y(a.W.W,6,b);return a};
_.Adc.prototype.build=function(){var a=new udc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new $cc;this.H=this.ha=b}b=new mdc(a,this.ha,this.H,this.ma,this.O);a=new hdc(a,b,!1);this.ka&&(a=new odc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.lI=function(a){return a instanceof Error};_.mI=function(a){return _.T(a,84,!1)};_.t("sy1lo");
_.Fdc=function(a){_.K.call(this,a)};_.N(_.Fdc,_.K);
_.nI=function(a){_.K.call(this,a)};_.N(_.nI,_.K);_.nI.prototype.getOptions=function(){return _.D(this,_.Fdc,1)};_.nI.prototype.Zn=function(){return _.B(this,2)};_.nI.prototype.wd=function(){return _.D(this,_.cf,3)};
_.Gdc=function(a){_.K.call(this,a,-1,void 0,_.oI)};_.N(_.Gdc,_.K);_.oI=[[3,4,5,6,7,8,9,10]];
var pI,Idc;pI={};_.Hdc=(pI[1]="modifiedDate",pI[2]="modifiedByMeDate",pI[3]="quotaBytesUsed",pI[4]="title",pI[6]="lastViewedByMeDate",pI[10]="createdDate",pI[7]="sharedWithMeDate",pI[9]="starred",pI[11]="recency",pI[5]="relevance",pI[12]="trashedDate",pI[13]="lastViewedByMeDate",pI);Idc={};_.Jdc=(Idc[1]="asc",Idc[2]="desc",Idc);
_.Kdc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Ldc=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():_.Kf();this.date=new Date(a)};_.Nf(_.Ldc,_.Kt);_.g=_.Ldc.prototype;_.g.clone=function(){var a=new _.Ldc(this.date);a.LG=this.LG;a.wV=this.wV;return a};_.g.add=function(a){(a.W||a.V)&&_.Jt.prototype.add.call(this,new _.It(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.iw))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Kt.prototype.getUTCFullYear;
_.g.getMonth=_.Kt.prototype.getUTCMonth;_.g.getDate=_.Kt.prototype.getUTCDate;_.g.getHours=_.Kt.prototype.getUTCHours;_.g.getMinutes=_.Kt.prototype.getUTCMinutes;_.g.getSeconds=_.Kt.prototype.j$a;_.g.getMilliseconds=_.Kt.prototype.i$a;_.g.getDay=_.Kt.prototype.getUTCDay;_.g.setFullYear=_.Kt.prototype.setUTCFullYear;_.g.setMonth=_.Kt.prototype.setUTCMonth;_.g.setDate=_.Kt.prototype.setUTCDate;_.g.setHours=_.Kt.prototype.$La;_.g.setMinutes=_.Kt.prototype.aMa;_.g.setSeconds=_.Kt.prototype.bMa;
_.g.setMilliseconds=_.Kt.prototype.k$a;
var Mdc,Odc;Mdc={};_.Ndc=(Mdc[1]="0",Mdc[2]="1",Mdc[3]="2",Mdc);Odc={};_.Pdc=(Odc[1]="asc",Odc[2]="desc",Odc);
_.Qdc=new _.Mo("drive_dataservice_builder");
_.Rdc=_.Xg&&0>_.fg(_.$g,"533");
_.Sdc=new _.Wcc("drive_dataservice_invariants");
_.Tdc=new Map([[[1],1],[[6],7],[[2],2]]);_.Udc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.Vdc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.T(a,3,!1)}],[9,function(a){return _.T(a,17,!1)}],[21,function(a){return _.mI(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.T(a,8,!0)}],[6,function(a){return _.T(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.T(a,56,!1)}],[17,function(a){return _.T(a,57,!1)}],[18,function(a){return _.T(a,54,!1)}],[19,function(a){return _.T(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.Wdc=new Map([[36,function(a){return _.T(a,11,!1)}],[34,function(a){return _.T(a,9,!1)}],[25,function(a){return _.T(a,1,!1)}],[33,function(a){return _.T(a,8,!1)}],[26,function(a){return _.T(a,2,!1)}],[27,function(a){return _.T(a,3,!1)}],[29,function(a){return _.T(a,4,!1)}],[32,function(a){return _.T(a,7,!1)}],[40,function(a){return _.T(a,15,!1)}],[42,function(a){return _.T(a,17,!1)}],[30,function(a){return _.T(a,5,!1)}],[31,function(a){return _.T(a,6,!1)}],[35,function(a){return _.T(a,10,!1)}],[38,
function(a){return _.T(a,13,!1)}],[39,function(a){return _.T(a,14,!1)}],[41,function(a){return _.T(a,16,!1)}]]);_.Xdc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.Ydc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252]]);_.Zdc=new Map([[[2],3],[[1],2],[[0],1]]);_.$dc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.aec=new Map([[[_.kcc],1],[[_.lcc],2],[[_.mcc],3],[[_.ncc],4],[[_.occ],5],[[_.pcc],6],[[_.qcc],7],[[_.rcc],8],[[_.scc],10],[[_.tcc],11],[[_.ucc],12],[[_.vcc],13]]);_.bec=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lt");
_.qI=function(a){_.K.call(this,a,-1,cec)};_.N(_.qI,_.K);_.qI.prototype.Dc=function(){return _.B(this,2)};_.rI=function(a,b){return _.y(a,2,b)};_.g=_.qI.prototype;_.g.vk=function(){return _.T(this,3,!1)};_.g.getItem=function(){return _.D(this,_.dl,4)};_.g.setItem=function(a){return _.J(this,4,a)};_.g.Bc=function(){return _.B(this,7)};_.g.d$=function(){return _.B(this,13)};_.g.PHa=function(a){_.y(this,13,a)};var cec=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lr");
_.$F=function(a){_.K.call(this,a,-1,WTb)};_.N(_.$F,_.K);_.$F.prototype.getId=function(){return _.B(this,1)};_.$F.prototype.Pb=function(a){return _.y(this,1,a)};_.$F.prototype.Tz=function(){return _.B(this,2)};var WTb=[5,6,9,10,12,13,15,16];
var XTb;_.aG=function(a){_.K.call(this,a,-1,XTb)};_.N(_.aG,_.K);_.aG.prototype.nn=function(){return _.B(this,1)};_.YTb=function(a,b){return _.y(a,1,b)};XTb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var gec;_.uI=function(a){if(a instanceof _.oc)return a;if(_.lI(a)){if(a=_.Ltb(a))return a}else a="string"===typeof a?_.zEa(a):_.zEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.sI(a,2);_.tI(a,6);return a};_.dec=function(a){var b=a.tk();a=a.jG();return 15===b||32===b||33===b||401===a};_.eec=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.fec=function(a){_.K.call(this,a)};_.N(_.fec,_.K);
_.vI=function(a){return _.fk(a,1,0)};_.wI=function(a){return _.D(a,_.fec,4)};_.sI=function(a,b){return _.y(a,1,b)};_.tI=function(a,b){return _.y(a,2,b)};gec=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.xI=function(a){_.K.call(this,a,-1,gec)};_.N(_.xI,_.K);_.g=_.xI.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.Qe=function(){return _.B(this,3)};
_.g.tm=function(a){return _.y(this,3,a)};_.g.Fv=function(a){return _.y(this,4,a)};_.g.Wh=function(){return _.R(this,5)};_.g.Rn=function(a){return _.y(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.xE=function(a,b){_.Wj(this,8,a,b)};_.g.Yi=function(){return _.B(this,12)};_.g.ze=function(){return _.D(this,_.qf,17)};_.g.Di=function(){return _.B(this,20)};_.g.Bc=function(){return _.B(this,21)};_.yI=function(a,b){return _.y(a,16,b)};_.t("sy1ls");
_.AI=function(a){_.K.call(this,a,-1,hec)};_.N(_.AI,_.K);_.AI.prototype.YQ=function(){return _.fk(this,2,100)};_.AI.prototype.MS=function(a){return _.y(this,2,a)};_.AI.prototype.ze=function(){return _.D(this,_.qf,6)};_.AI.prototype.Bc=function(){return _.B(this,8)};var hec=[5];
var iec;iec={};_.jec=(iec[0]="/drive/v2internal",iec[1]="/drive/v2internal.corp",iec[2]="/drive/v2internal.scary",iec[4]="/drive/v2internal.scary",iec[5]="/drive/v2beta",iec[6]="/drive/v2.1beta",iec);
_.kec=new Set([0,1,2,3]);
_.lec=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.mec=_.y(new _.xI,15,!0);_.nec=_.yI(new _.xI,!0);_.oec=_.yI(new _.xI,!1);
_.pec=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("sy1m7");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.rec=function(a){a=_.gb(a);return 0===a.length?_.Oha:new _.kg(a,_.Kha)};_.t("sy1md");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sec=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)};_.Nf(_.sec,_.Pbc);_.sec.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.sec.prototype.update=function(a,b){this.H.update(a,b)};
_.sec.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.tec=function(a,b){a.reset();a.update(b);return a.digest()};
_.uec=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()};_.Nf(_.uec,_.Pbc);_.uec.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 vec=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};
_.uec.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;)vec(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){vec(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){vec(this,e);f=0;break}}this.O=f;this.V+=b}};
_.uec.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;vec(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{
_.BI=function(a,b){return _.y(a,82,b)};_.CI=function(a){return _.y(a,3,!0)};_.wec=function(a,b){return _.y(a,7,b)};_.t("sy1lp");
_.xec=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.DI={F_:"Versions",j7:"Metadata",Z5:"Data",xU:"Offline"};_.yec=new Map([[_.DI.F_,"versionKey"],[_.DI.j7,"k"]]);_.zec=new Set([1004]);

_.w();

}catch(e){_._DumpException(e)}
try{
var Dec;_.Aec=function(a){var b={};_.Ma(a,function(c,d){b[d.toLowerCase()]=c});return b};_.Bec=function(a){return(a=a&&_.Aec(a))&&a["x-guploader-uploadid"]};_.Cec=function(a){return(a=a&&_.Aec(a))&&a["x-google-trace"]};Dec=[6];_.EI=function(a){_.K.call(this,a,-1,Dec)};_.N(_.EI,_.K);_.FI=function(a,b){return _.y(a,14,b)};_.t("sy1mf");
var Eec,Gec;
_.Fec=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=Eec(e)||new _.oc;_.y(e,8,!0);k&&(k=_.hj(new _.dj(k),void 0).toString(),_.y(e,19,k));e.jG()||_.y(e,15,a||f);e.getMessage()||_.eq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.B(e,4)||_.fq(e,d);e.tk()||(5===f?_.FI(e,7):0!==a||d?403===a?_.FI(e,22):503===a||429===a?_.FI(e,24):(_.Rj(e,14),_.y(e,10,1),_.y(e,8,!0)):l||_.FI(e,2));e.Vca(_.Bec(c));e.Lca(_.Cec(c));
return e};Eec=function(a){if(!_.Ca(a))return null;var b=new _.oc,c=a.error;if(!c)return _.fq(b,JSON.stringify(a)),null;_.y(b,15,c.code);_.eq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=Gec[c];d?_.y(b,10,d):c&&!d&&_.y(b,10,2);(a=a.debugInfo)&&_.fq(b,a);return b};
Gec={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,expiredMoveValidationToken:66,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,
teamDriveFileLimitExceeded:40,teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.w();

}catch(e){_._DumpException(e)}
try{
_.Hec=function(a,b){return _.y(a,1,b)};_.Iec=function(a,b){return _.J(a,1,b)};_.Jec=function(a,b){return _.y(a,2,b)};_.Kec=function(a,b){return _.J(a,3,b)};_.t("sy1mg");

_.w();

}catch(e){_._DumpException(e)}
try{
_.Lec=function(a){for(var b in a)delete a[b]};_.GI=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.lla)(a)};_.HI=function(a){return _.T(a,5,!1)};_.Mec=function(a,b){var c=_.D(a.H,_.Cya,9);null==c&&(c=new _.Cya);var d=_.B(b.H,10);d=_.y(c,5,d);b=_.B(b.H,12);_.y(d,2,b);_.J(a.H,9,c)};_.Nec=function(a,b){a=_.Gi(a);b=_.Gi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.Oec=function(a){var b=_.tla(a);if("undefined"==typeof b)throw Error("X");var c=new _.kj(null,void 0);a=_.sla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.rma(c,e,f):c.add(e,f)}return c};_.t("sy1mh");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Pec=function(a,b,c){c&&(a=_.Hg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Gg(a));return a};_.Qec=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("sy1mr");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Rec=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 Sec,Tec,Xec,afc,bfc,cfc,ufc,FJ,vfc,wfc,Dfc,Zec,kgc,Yec,Agc,Bgc,Igc,Kgc,Mgc,Ogc,Pgc,Qgc,Sgc,ihc,jhc,mhc,nhc,ohc,qhc,rhc,thc,whc,nfc,Ahc,ofc,Bhc,Chc,Dhc,bK,dK,Fhc,Hhc,Khc,Lhc,Mhc,Nhc,Ohc,Phc,Shc,Uhc,Vhc,Xhc,Yhc,mic,lic,pic,ric,sic,tic,yic,Bic,Dic,Eic,Kic,Jic,Iic,Gic,Hic,Efc,Sic,Tic,Oic,Uic,Pic,xfc,Vic,yfc,zfc,Afc,Bfc,Cfc,Wic,Yic;_.II=function(a,b,c){var d=new _.oc,e=_.rka(_.II);_.y(d,20,e);_.tI(d,a);_.sI(d,b?b:2);c&&_.FI(d,c);return d};
_.JI=function(a){var b;a instanceof _.oc?b=new _.pc(null,a):_.lI(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("rb`"+a);b.stack||(b.stack=_.rka(_.JI));return b};_.KI=function(a){throw _.pB(a);};Sec=function(a){return 7===a.tk()||24===a.Op()&&(a=a.jG(),503===a||429===a)?!0:!1};Tec=function(a,b){return b?b+"("+a+")":a};
_.LI=function(a,b,c){var d={},e=[];b&&e.push("kind");a.vBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.Uec.includes(p)){var q=_.Rcb.get(p);if(q){var r=_.Ucb[p];a.JG&&r&&(q=r);a.qr&&(a.JG?(p=_.Tcb[p])&&(q=p):(p=_.Scb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.xia(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={S5:f.S5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.S5=[];l.forEach(function(p){return function(q){p.S5.push(q)}}(f));"owners"==k&&b&&f.S5.push("kind");e.push(Tec(f.S5.join(","),k))}return Tec(e.join(","),c)};_.Vec=function(a){var b=new _.To;b.append(_.LI(a,!0));return b.toString()};_.Wec=function(a,b){return a.filter(function(c){return b.includes(c)})};Xec=function(a){a=a.filter(function(b){return!_.Rcb.has(b)});if(a.length)throw Error("Rc`"+a.join(", "));};
_.$ec=function(a){if(a){var b=a.getMimeType();b&&_.hG(a,b.toLowerCase());Yec(a,_.Yj(a,Zec,58).map(function(c){var d=c.getMimeType();d&&_.y(c,1,d.toLowerCase());return c}))}};afc=function(a){if(_.Ua(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};bfc=function(a,b){b&&(_.lj(a,"openDrive",!!_.T(b,2,!1)),_.lj(a,"reason",_.B(b,1)||0),_.lj(a,"syncType",_.B(b,3)||0),_.lj(a,"errorRecovery",!!_.T(b,4,!1)))};
cfc=function(a){a=_.eq(_.FI(_.sI(new _.oc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.pB(a);};
ufc=function(a){if(a instanceof _.MI)return"request access";if(a instanceof _.NI)return"admin migrate to TD";if(a instanceof _.OI)return"authorize app";if(a instanceof _.PI)return"copy item";if(a instanceof _.QI)return"change category links";if(a instanceof _.RI)return"create item";if(a instanceof _.SI)return"create ws";if("undefined"!=typeof _.TI&&a instanceof _.TI)return"delete app";if("undefined"!=typeof _.UI&&a instanceof _.UI)return"delete backup";if(a instanceof _.VI)return"delete item";if("undefined"!=
typeof _.WI&&a instanceof _.WI)return"delete permission";if(a instanceof _.XI)return"delete revision";if(a instanceof _.YI)return"delete TD";if(a instanceof _.xD)return"delete pref";if(a instanceof _.ZI)return"delete ws";if(a instanceof _.$I)return"download item";if(a instanceof _.aJ||a instanceof _.bJ)return"empty trash";if(a instanceof _.cJ)return"find by ID";if(a instanceof _.jA)return"find by IDs";if(a instanceof _.dfc)return"item export start";if("undefined"!=typeof _.dJ&&a instanceof _.dJ)return"get app";
if("undefined"!=typeof _.eJ&&a instanceof _.eJ)return"insert app";if("undefined"!=typeof _.fJ&&a instanceof _.fJ)return"insert permission";if(a instanceof _.nI)return a=a.wd(),_.gJ(a)?"quick access item query":_.hJ(a)?"people predict item query":_.iJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.jJ&&a instanceof _.jJ)return"list android backup items request";if(a instanceof _.kJ){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 _.efc&&a instanceof _.efc?"list backups":a instanceof _.AI?"list changes":a instanceof _.lJ?"list permissions":"undefined"!=typeof _.mJ&&a instanceof _.mJ?"list revisions":a instanceof _.nJ?"partial download item":a instanceof _.oJ?"people api":a instanceof _.bG?"get published category":"undefined"!=typeof _.pJ&&a instanceof _.pJ?"get remaining changes":a instanceof _.uJ?"remove item":
"undefined"!=typeof _.vJ&&a instanceof _.vJ?"reparent item":a instanceof _.wJ?"restore item":a instanceof _.cG?"list suggested workspace items":a instanceof _.dG?"list suggested workspaces":"undefined"!=typeof _.xJ&&a instanceof _.xJ?"update app":a instanceof _.yJ?"update category metadata":a instanceof _.xI?"update item":a instanceof _.zJ?"update revision":a instanceof _.BJ?"update TD":a instanceof _.yD?"update pref":a instanceof _.CJ?"update ws":a instanceof _.iI?"get account":a instanceof _.gG?
"get workspace":a instanceof _.ffc?"list activity":a instanceof _.gfc?"list category metadata":a instanceof _.hfc?"create TD":"undefined"!=typeof _.ifc&&a instanceof _.ifc?"item export cancel":"undefined"!=typeof _.jfc&&a instanceof _.jfc?"item export status":"undefined"!=typeof _.kfc&&a instanceof _.kfc?"generate cse token":"undefined"!=typeof _.lfc&&a instanceof _.lfc?"get largest change ID":a instanceof _.wD?"list prefs":a instanceof _.DJ?"multipart upload":a instanceof _.mfc?"list published categories":
a instanceof nfc?"init resumable upload":a instanceof ofc?"resumable upload chunk":a instanceof _.pfc?"resumable upload":a instanceof _.eG?"get TD":"undefined"!=typeof _.qfc&&a instanceof _.qfc?"move TD preflight":a instanceof _.EJ?"list TDs":"undefined"!=typeof _.rfc&&a instanceof _.rfc?"get TD stats":a instanceof _.sfc?"test connection":"undefined"!=typeof _.tfc&&a instanceof _.tfc?"list workspaces":"unknown"};
FJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};vfc=function(a){if(a instanceof _.RI||a instanceof _.DJ||a instanceof _.pfc||a instanceof nfc||a instanceof ofc)return(new _.GJ).Ec(8);throw Error("cf");};wfc=function(a){if(a instanceof _.xI){var b=_.Sj(_.Rj(a.clone(),1),17);b=_.ek(b,_.mec)}else b=!1;b||(a instanceof _.xI?(a=_.Sj(_.Rj(a.clone(),1),17),b=_.ek(a,_.nec)||_.ek(a,_.oec)):b=!1);return b?!1:!0};
_.HJ=function(a){return xfc.includes(a.constructor)?wfc(a):!1};Dfc=function(a,b){if(yfc.includes(a.constructor))return!0;if(b){if(_.T(b,54,!1)&&zfc.includes(a.constructor))return!0;var c=_.wI(b);if(c&&!_.T(c,7,!1)&&Afc.includes(a.constructor)&&!_.IJ(a)||_.T(b,56,!1)&&_.IJ(a)||_.T(b,57,!1)&&Bfc.includes(a.constructor)||!(!_.T(b,53,!1)||zfc.includes(a.constructor)||Afc.includes(a.constructor)||_.IJ(a)||Bfc.includes(a.constructor)||Cfc.includes(a.constructor)))return!0}return!1};
_.JJ=function(a,b,c,d,e){if(_.T(a,89,!1)){if(c&&c.length&&d){c=b.concat(Efc(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)!==_.B(d,2)&&cfc(h):(a.set(h,_.B(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.$z(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.Ffc=function(a){var b=new _.Hk;return _.y(b,1,a)};_.Gfc=function(a,b){return _.y(a,7,b)};_.Hfc=function(a,b){return _.y(a,8,b)};
_.Ifc=function(a,b){return _.y(a,11,b)};_.Jfc=function(a,b){return _.y(a,1,b)};_.Kfc=function(a,b){return _.y(a,4,b)};_.Lfc=function(a,b){return _.y(a,5,b)};_.Mfc=function(a,b){return _.y(a,6,b)};_.Nfc=function(a,b){return _.y(a,7,b)};_.Ofc=function(a,b){return _.y(a,8,b)};_.Pfc=function(a,b){return _.y(a,9,b)};_.Qfc=function(a,b){return _.y(a,10,b)};_.Rfc=function(a,b){return _.y(a,11,b)};_.Sfc=function(a,b){return _.y(a,12,b)};_.Tfc=function(a,b){return _.y(a,16,b)};
_.Ufc=function(a,b){return _.y(a,17,b)};_.Vfc=function(a,b){return _.y(a,20,b)};_.Wfc=function(a,b){return _.y(a,21,b)};_.Xfc=function(a,b){return _.y(a,31,b)};_.Yfc=function(a,b){return _.y(a,32,b)};_.Zfc=function(a,b){return _.y(a,33,b)};_.$fc=function(a,b){return _.y(a,42,b)};_.agc=function(a,b){return _.y(a,43,b)};_.bgc=function(a,b){return _.y(a,46,b)};_.cgc=function(a,b){return _.y(a,47,b)};_.dgc=function(a,b){return _.y(a,48,b)};_.KJ=function(a){_.K.call(this,a)};_.N(_.KJ,_.K);
_.egc=function(a){_.K.call(this,a)};_.N(_.egc,_.K);_.fgc=function(a,b){return _.y(a,1,b)};_.ggc=function(a,b){return _.y(a,2,b)};Zec=function(a){_.K.call(this,a)};_.N(Zec,_.K);Zec.prototype.getMimeType=function(){return _.B(this,1)};Zec.prototype.getUrl=function(){return _.B(this,2)};_.LJ=function(a){_.K.call(this,a)};_.N(_.LJ,_.K);_.LJ.prototype.Ie=function(){return _.B(this,2)};_.LJ.prototype.yh=function(a){return _.y(this,2,a)};_.LJ.prototype.xh=function(a){return _.y(this,3,a)};
_.hgc=function(a,b){return _.y(a,1,b)};_.igc=function(a,b){return _.Tj(a,2,b)};_.jgc=function(a,b){return _.Tj(a,3,b)};kgc=[2];_.MJ=function(a){_.K.call(this,a,-1,kgc)};_.N(_.MJ,_.K);_.MJ.prototype.Qe=function(){return _.B(this,1)};_.MJ.prototype.tm=function(a){return _.y(this,1,a)};_.MJ.prototype.$ua=function(a,b){return _.Wj(this,2,a,b)};_.NJ=function(a){_.K.call(this,a)};_.N(_.NJ,_.K);_.NJ.prototype.Ie=function(){return _.B(this,1)};_.NJ.prototype.yh=function(a){return _.y(this,1,a)};
_.NJ.prototype.xh=function(a){return _.y(this,2,a)};_.OJ=function(a,b){return _.Qj(a,2,b)};_.lgc=function(a,b){_.y(a,8,b)};_.mgc=function(a,b){return _.Tj(a,15,b)};_.ngc=function(a,b){return _.J(a,17,b)};_.ogc=function(a,b){return _.y(a,19,b)};_.pgc=function(a,b){_.y(a,26,b)};_.qgc=function(a,b){_.y(a,31,b)};_.rgc=function(a,b){_.y(a,34,b)};_.sgc=function(a,b){return _.y(a,44,b)};_.tgc=function(a,b){return _.y(a,52,b)};Yec=function(a,b){_.Tj(a,58,b)};_.ugc=function(a,b){return _.y(a,72,b)};
_.PJ=function(a,b){return _.J(a,84,b)};_.vgc=function(a,b){_.J(a,85,b)};_.wgc=function(a,b){return _.y(a,92,b)};_.xgc=function(a,b){return _.y(a,93,b)};_.ygc=function(a,b){return _.y(a,136,b)};_.zgc=function(a){_.K.call(this,a)};_.N(_.zgc,_.K);_.QJ=function(a){return _.T(a,2,!1)};Agc=[3];Bgc=function(a){_.K.call(this,a,-1,Agc)};_.N(Bgc,_.K);Bgc.prototype.Pi=function(){var a=_.B(this,3);this.Ta||(this.Ta={});if(!this.Ta[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ta[3]=!0}_.mb(this)&&_.nb(a);return a};
var Cgc=[3],Dgc=function(a){_.K.call(this,a,-1,Cgc)};_.N(Dgc,_.K);Dgc.prototype.Pi=function(){return _.Sd(this,3)};var Egc=[3],Fgc=function(a){_.K.call(this,a,-1,Egc)};_.N(Fgc,_.K);Fgc.prototype.Pi=function(){return _.Sd(this,3)};_.RJ=function(a){_.K.call(this,a)};_.N(_.RJ,_.K);_.RJ.prototype.Ya=function(){return _.B(this,1)};_.RJ.prototype.Kb=function(a){return _.y(this,1,a)};_.RJ.prototype.Wi=function(){return _.Rj(this,1)};_.RJ.prototype.kh=function(){return _.Q(this,1)};
_.SJ=function(a){return _.Kj(a,45,1)};_.gJ=function(a){return _.T(a,47,!1)};_.hJ=function(a){return _.T(a,49,!1)};_.iJ=function(a){return _.T(a,52,!1)};_.TJ=function(a){return _.E(a,2,"")};_.Ggc=function(a,b){return _.Qj(a,27,b)};_.UJ=function(a){return _.Kj(a,39,0)};_.VJ=function(a){return _.T(a,40,!1)};_.Hgc=function(a){return _.Jt.prototype.fP.call(a,!0)+"T"+_.Lg(a.getHours(),2)+":"+_.Lg(a.getMinutes(),2)+":"+_.Lg(a.getSeconds(),2)+a.v$()};
Igc=function(a,b){return _.Acc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.Jgc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.gI(c,"deleting object store "+b);}};Kgc=function(){var a=new _.Adc;a.O=12E4;a.ma=!0;return a};_.Lgc=function(a){_.K.call(this,a)};_.N(_.Lgc,_.K);Mgc=[3,4,10,18,19,28];_.RI=function(a){_.K.call(this,a,-1,Mgc)};_.N(_.RI,_.K);_.g=_.RI.prototype;_.g.getMimeType=function(){return _.B(this,1)};_.g.getTitle=function(){return _.B(this,2)};
_.g.setTitle=function(a){return _.y(this,2,a)};_.g.xE=function(a,b){_.Wj(this,3,a,b)};_.g.ze=function(){return _.D(this,_.qf,7)};_.g.hj=function(){return _.B(this,9)};_.g.Bc=function(){return _.B(this,14)};_.g.Gz=function(){return _.D(this,_.Lgc,15)};_.g.b2=function(){return _.B(this,21)};_.g.Dc=function(){return _.B(this,23)};_.WJ=function(a,b){return _.y(a,1,b)};_.XJ=function(a,b){return _.Qj(a,3,b)};_.Ngc=function(a,b){return _.y(a,12,b)};_.VI=function(a){_.K.call(this,a)};_.N(_.VI,_.K);
_.VI.prototype.getId=function(){return _.B(this,1)};_.VI.prototype.Pb=function(a){return _.y(this,1,a)};_.VI.prototype.ze=function(){return _.D(this,_.qf,3)};_.YI=function(a){_.K.call(this,a)};_.N(_.YI,_.K);_.YI.prototype.getId=function(){return _.B(this,1)};_.YI.prototype.Pb=function(a){return _.y(this,1,a)};_.YI.prototype.ze=function(){return _.D(this,_.qf,2)};Ogc=[7,8];_.BJ=function(a){_.K.call(this,a,-1,Ogc)};_.N(_.BJ,_.K);_.g=_.BJ.prototype;_.g.getId=function(){return _.B(this,1)};
_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.ze=function(){return _.D(this,_.qf,4)};_.g.Em=function(){return _.R(this,15)};_.EJ=function(a){_.K.call(this,a)};_.N(_.EJ,_.K);_.EJ.prototype.getOptions=function(){return _.D(this,_.Fdc,1)};_.EJ.prototype.Zn=function(){return _.B(this,2)};_.EJ.prototype.wd=function(){return _.D(this,_.bI,3)};Pgc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};
Qgc=null;_.Rgc=function(a){if(_.Ama)return _.n.atob(a);var b="";_.Cma(a,function(c){b+=String.fromCharCode(c)});return b};Sgc=function(){this.O=0;this.H=[]};_.g=Sgc.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=Tgc(this,a);return this.H[a]};_.g.set=function(a,b){a=Tgc(this,a);this.H[a]=b};_.g.hc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};
_.g.Jg=function(){var a=this.hc(),b=this.hc(),c=[];for(a=this.hc()-a;a<b;a++)c.push(this.get(a));return c};_.g.nf=function(){for(var a=[],b=this.hc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ce=function(a){return a<this.hc()};_.g.Fq=function(a){for(var b=this.hc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var Tgc=function(a,b){if(b>=a.H.length)throw Error("ha");return 40>a.H.length?b:(a.O+Number(b))%40},Ugc=function(a){_.K.call(this,a)};_.N(Ugc,_.K);_.Vgc=function(a){_.K.call(this,a)};_.N(_.Vgc,_.K);
_.Vgc.prototype.ef=function(){return _.B(this,1)};_.Vgc.prototype.mj=function(a){return _.y(this,1,a)};_.Vgc.prototype.Bb=function(){return _.B(this,4)};_.Vgc.prototype.Ec=function(a){return _.y(this,4,a)};var Wgc=function(a){_.K.call(this,a)};_.N(Wgc,_.K);Wgc.prototype.Bo=function(){return _.B(this,5)};var Xgc=function(a,b){_.y(a,6,b)},Ygc=function(a){_.K.call(this,a)};_.N(Ygc,_.K);_.g=Ygc.prototype;_.g.Xhb=function(a){_.y(this,1,a)};_.g.QOb=function(a){_.y(this,2,a)};
_.g.sy=function(){return _.R(this,3)};_.g.Yhb=function(a){_.y(this,3,a)};_.g.xOb=function(a){_.y(this,4,a)};var Zgc=function(a){_.K.call(this,a)};_.N(Zgc,_.K);Zgc.prototype.sy=function(){return _.R(this,2)};var $gc=function(a,b){return _.y(a,2,b)},ahc=function(a,b){_.y(a,3,b)};Zgc.prototype.oB=function(){return _.B(this,6)};var bhc=function(a,b){return _.y(a,8,b)},chc=function(a){_.K.call(this,a)};_.N(chc,_.K);var dhc=function(a){_.K.call(this,a)};_.N(dhc,_.K);
dhc.prototype.sy=function(){return _.R(this,1)};dhc.prototype.Bo=function(){return _.B(this,5)};dhc.prototype.Tm=function(){return _.B(this,6)};dhc.prototype.It=function(a){return _.y(this,6,a)};var ehc=function(a){_.K.call(this,a)};_.N(ehc,_.K);var fhc=function(a,b){_.y(a,4,b)},ghc=function(a){_.K.call(this,a)};_.N(ghc,_.K);_.g=ghc.prototype;_.g.wd=function(){return _.D(this,_.Vgc,1)};_.g.getState=function(){return _.D(this,Wgc,2)};_.g.Pd=function(a){return _.J(this,2,a)};
_.g.vt=function(){return _.Q(this,2)};_.g.VE=function(){return _.D(this,dhc,16)};var hhc=function(a){_.K.call(this,a)};_.N(hhc,_.K);hhc.prototype.getEnvironment=function(){return _.B(this,2)};hhc.prototype.setEnvironment=function(a){return _.y(this,2,a)};_.Uec=[42,1005,20,50,18,1003,1002];ihc=[73,71];_.YJ=function(a){_.K.call(this,a)};_.N(_.YJ,_.K);_.YJ.prototype.getId=function(){return _.B(this,1)};_.YJ.prototype.Pb=function(a){return _.y(this,1,a)};
_.YJ.prototype.getMimeType=function(){return _.B(this,2)};_.YJ.prototype.cG=function(){return _.B(this,8)};jhc=[22];_.GJ=function(a){_.K.call(this,a,-1,jhc)};_.N(_.GJ,_.K);_.g=_.GJ.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.getItem=function(){return _.D(this,_.dl,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.dk=function(){return _.B(this,3)};_.g.Dc=function(){return _.B(this,5)};_.khc=function(a,b){return _.y(a,5,b)};_.g=_.GJ.prototype;
_.g.ZJ=function(){return _.B(this,7)};_.g.Vca=function(a){return _.y(this,7,a)};_.g.Dfa=function(a){_.y(this,9,a)};_.g.xMa=function(a){_.y(this,10,a)};_.g.dN=function(){return _.B(this,16)};_.g.Lca=function(a){return _.y(this,16,a)};var lhc=function(a){_.ii.call(this,a);this.connectionState=_.Ntb.get(a)};_.N(lhc,_.ii);mhc=function(a){var b=new _.Vh;a.listen("loadend",_.Db(function(c,d){var e=d.ek(),f=d.getError();null==e||f?c.Jd(f):c.callback(e);d.dispose()},b,a));return b};
_.MI=function(a){_.K.call(this,a)};_.N(_.MI,_.K);_.MI.prototype.Dc=function(){return _.B(this,1)};_.NI=function(a){_.K.call(this,a)};_.N(_.NI,_.K);_.NI.prototype.getId=function(){return _.B(this,1)};_.NI.prototype.Pb=function(a){return _.y(this,1,a)};_.NI.prototype.Lk=function(){return _.B(this,2)};_.OI=function(a){_.K.call(this,a)};_.N(_.OI,_.K);_.OI.prototype.Bh=function(){return _.B(this,1)};_.OI.prototype.Dc=function(){return _.B(this,2)};_.OI.prototype.ze=function(){return _.D(this,_.qf,4)};
nhc=[3,7];_.PI=function(a){_.K.call(this,a,-1,nhc)};_.N(_.PI,_.K);_.g=_.PI.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.xE=function(a,b){_.Wj(this,3,a,b)};_.g.ze=function(){return _.D(this,_.qf,5)};_.SI=function(a){_.K.call(this,a)};_.N(_.SI,_.K);_.SI.prototype.getTitle=function(){return _.B(this,1)};_.SI.prototype.setTitle=function(a){return _.y(this,1,a)};
_.SI.prototype.ze=function(){return _.D(this,_.qf,2)};_.XI=function(a){_.K.call(this,a)};_.N(_.XI,_.K);_.XI.prototype.Dc=function(){return _.B(this,1)};_.XI.prototype.ze=function(){return _.D(this,_.qf,3)};_.ZI=function(a){_.K.call(this,a)};_.N(_.ZI,_.K);_.ZI.prototype.getId=function(){return _.B(this,1)};_.ZI.prototype.Pb=function(a){return _.y(this,1,a)};_.ZI.prototype.ze=function(){return _.D(this,_.qf,3)};_.aJ=function(a){_.K.call(this,a)};_.N(_.aJ,_.K);
_.aJ.prototype.ze=function(){return _.D(this,_.qf,1)};_.uJ=function(a){_.K.call(this,a)};_.N(_.uJ,_.K);_.g=_.uJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.Gg=function(a){return _.y(this,2,a)};_.g.ze=function(){return _.D(this,_.qf,3)};_.wJ=function(a){_.K.call(this,a)};_.N(_.wJ,_.K);_.g=_.wJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};
_.g.getParent=function(){return _.B(this,2)};_.g.Gg=function(a){return _.y(this,2,a)};_.g.ze=function(){return _.D(this,_.qf,3)};_.zJ=function(a){_.K.call(this,a)};_.N(_.zJ,_.K);_.zJ.prototype.Dc=function(){return _.B(this,1)};_.zJ.prototype.ze=function(){return _.D(this,_.qf,4)};_.CJ=function(a){_.K.call(this,a)};_.N(_.CJ,_.K);_.g=_.CJ.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};
_.g.setTitle=function(a){return _.y(this,2,a)};_.g.getState=function(){return _.B(this,3)};_.g.Pd=function(a){return _.y(this,3,a)};_.g.vt=function(){return _.Q(this,3)};_.g.ze=function(){return _.D(this,_.qf,5)};ohc=[2,3];_.QI=function(a){_.K.call(this,a,-1,ohc)};_.N(_.QI,_.K);_.QI.prototype.Bc=function(){return _.B(this,1)};_.QI.prototype.ze=function(){return _.D(this,_.qf,4)};_.phc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};qhc=[3,4];_.kJ=function(a){_.K.call(this,a,-1,qhc)};
_.N(_.kJ,_.K);_.kJ.prototype.getType=function(){return _.B(this,1)};_.kJ.prototype.ze=function(){return _.D(this,_.qf,2)};rhc=[1];_.oJ=function(a){_.K.call(this,a,-1,rhc)};_.N(_.oJ,_.K);_.oJ.prototype.rn=function(){return _.Sd(this,1)};_.shc=function(a){_.K.call(this,a)};_.N(_.shc,_.K);_.g=_.shc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.ws=function(){return _.Q(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Kb=function(a){return _.y(this,2,a)};
_.g.Wi=function(){return _.Rj(this,2)};_.g.kh=function(){return _.Q(this,2)};_.g.Qe=function(){return _.B(this,3)};_.g.tm=function(a){return _.y(this,3,a)};_.g.getType=function(){return _.B(this,4)};thc=[1];_.uhc=function(a){_.K.call(this,a,-1,thc)};_.N(_.uhc,_.K);_.vhc=function(){var a=void 0===a?1E3:a;this.O=new _.ol;this.H=new _.ol;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};
_.xhc=function(a){var b=a.O.Jg();a.V&&b.push(whc("...","...","...","..."));_.za(b,a.H.Jg());return b};_.yhc=function(a){var b=[];a=_.xhc(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")};_.vhc.prototype.info=function(a,b){_.ZJ(this,a,b,"info")};_.vhc.prototype.config=function(a,b){_.ZJ(this,a,b,"config")};
_.vhc.prototype.log=function(a,b,c){if(!Qgc){Qgc={};for(var d=0,e;e=_.wka[d];d++)Qgc[e.value]=e,Qgc[e.name]=e}_.ZJ(this,a,b,c)};_.ZJ=function(a,b,c,d){a.H.hc()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=whc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.hc()<a.W?a.O.enqueue(b):a.H.enqueue(b)};whc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.ffc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};
_.hfc=function(a){this.request=a;this.requestId=_.Ng()};_.zhc=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};_.DJ=function(a,b,c,d){this.request=a;this.file=b;this.rQ=void 0===c?null:c;this.metadata=d};_.pfc=function(a,b,c,d){this.request=a;this.file=b;this.rQ=void 0===c?null:c;this.metadata=d};nfc=function(a,b){this.request=a;this.metadata=b};Ahc=function(a,b,c){this.O=a;this.H=b;this.V=c};
ofc=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};_.sfc=function(){this.H=_.rf(new _.qf,312)};Bhc=function(){};_.gfc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.mfc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};Chc=function(a,b){this.H=a;this.O=b};Dhc=function(a){_.ii.call(this,"Ab");this.H=a};_.N(Dhc,_.ii);Dhc.prototype.We=function(){return this.H};_.$J=function(a){a.supportsTeamDrives=!0};
_.Ehc=function(a){this.O=new Set;this.H=[].concat(_.od(_.Sd(a,27)));this.initialize(a)};_.Ehc.prototype.initialize=function(a){var b=_.Wec(this.H,_.Sd(a,28));if(0<b.length)throw Error("Re`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.HI(_.hI(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Ea(this.H);this.H.sort();Xec(this.H)};_.aK=function(a){return[].concat(_.od(a.H))};
bK=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.cK=function(a,b,c){0!==b.length&&(a.UI.length&&a.append(" "+(c||"and")+" "),a.append(b))};dK=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(bK(c));e.push("in");e.push(b);_.cK(a,e.join(" "))}};_.eK=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());_.cK(a,e.join(" "),d)}};
Fhc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.cK(a,d.join(""))}};_.Ghc=function(a){var b=new _.Ldc;b.setTime(a);return b};Hhc=function(a,b){b=_.Sd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(bK(b));_.cK(a,c.join(" "))}};_.Ihc=function(a){a=_.Yj(a,_.RJ,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Ya());return b.join(",")};
_.Jhc=function(a){a=a.qB();return null==a||0==a.length?"":a.map(function(b){b=_.B(b,1);if(0==b)throw Error("Se");return _.Ebc[b]}).join(",")};Khc=function(a,b){if(a.length){var c=new _.To;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(bK(d.Ya()));_.cK(c,e.join(" "),"or")}return c.toString()}return""};
Lhc=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 bK(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};Mhc=function(a){if(_.R(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};Nhc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
Ohc=function(a,b,c){if(null!=_.B(c,2)){var d=Nhc(_.B(c,1));c=bK(_.Hgc(_.Ghc(_.B(c,2)||0)));_.cK(a,[b,d,c].join(" "))}};Phc=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""};
_.Qhc=function(a){for(var b=new _.To,c=_.Yj(a,_.Cl,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.B(e,1),k=_.T(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(bK(f));_.cK(b,l.join(" "))}}for(var p=_.Yj(a,_.Bl,5),q=0;q<p.length;q++){var r=p[q],v=r.Ya();if(v){var z=[];_.T(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(bK(v));_.cK(b,z.join(" "))}}var A=_.Gl(a);if(A&&0!=A.length){for(var C=[],F=[],H=[],L=[],M=[],S=[],ja=0;ja<
A.length;ja++){var oa=A[ja];oa.Ya()&&(1===_.Kj(oa,3,0)?_.R(oa,4)?F.push(oa):C.push(oa):_.R(oa,4)?_.T(oa,2,!1)?S.push(oa):M.push(oa):_.T(oa,2,!1)?L.push(oa):H.push(oa))}var ia=Khc(C,!1),wa=Khc(F,!0),ha=Lhc(H,!1,!1),Va=Lhc(L,!0,!1),La=Lhc(M,!1,!0),rb=Lhc(S,!0,!0),$a=new _.To;if(ha||La||ia||wa)_.cK($a,ha,"or"),_.cK($a,La,"or"),_.cK($a,ia,"or"),_.cK($a,wa,"or");$a.UI.length&&_.cK(b,"("+$a.toString()+")","and");var Bb=new _.To;if(Va||rb)_.cK(Bb,Va,"and"),_.cK(Bb,rb,"and");Bb.UI.length&&_.cK(b,"("+Bb.toString()+
")","and")}for(var Yb=_.Yj(a,_.zl,7),wc=0;wc<Yb.length;wc++)Ohc(b,"modifiedDate",Yb[wc]);for(var Rd=_.Yj(a,_.zl,8),kd=0;kd<Rd.length;kd++)Ohc(b,"lastViewedByMeDate",Rd[kd]);_.eK(b,"trashed",a.Wh());_.eK(b,"explicitlyTrashed",_.R(a,17));_.eK(b,"starred",_.R(a,10));_.eK(b,"hidden",a.Em());for(var ld=_.Hl(a),hf=0;hf<ld.length;hf++){var sd=ld[hf];dK(b,"parents",sd.Ya(),_.T(sd,2,!1))}for(var ob=_.Yj(a,_.ff,13),Og=0;Og<ob.length;Og++){var ig=ob[Og];dK(b,"owners",ig.Ya(),_.T(ig,2,!1))}for(var De=_.Yj(a,
_.ff,14),vj=0;vj<De.length;vj++){var Mf=De[vj];dK(b,"writers",Mf.Ya(),_.T(Mf,2,!1))}for(var li=_.Yj(a,_.ff,15),Eg=0;Eg<li.length;Eg++){var fm=li[Eg];dK(b,"readers",fm.Ya(),_.T(fm,2,!1))}_.R(a,16)&&_.cK(b,"sharedWithMe");_.eK(b,"unparented",_.R(a,34));for(var df=_.Yj(a,_.wl,35)||[],Qe=_.m(df),hh=Qe.next();!hh.done;hh=Qe.next())dK(b,"ancestors",hh.value.Ya(),!1);for(var mi=_.Yj(a,_.wl,38)||[],jj=_.m(mi),gm=jj.next();!gm.done;gm=jj.next())dK(b,"descendants",gm.value.Ya(),!1);for(var Nn=_.Yj(a,_.Al,37)||
[],hm=_.m(Nn),zi=hm.next();!zi.done;zi=hm.next())dK(b,"folderFeatures",zi.value.Ya(),!1);for(var Gm=_.Sd(a,39),wj=_.m(Gm),yg=wj.next();!yg.done;yg=wj.next()){var xj=yg.value,jk=[];jk.push("templateData.description");jk.push("contains");jk.push(bK(xj));_.cK(b,jk.join(" "))}for(var yj=_.Sd(a,40),Ji=0;Ji<yj.length;Ji++){var kk=[];0==Ji&&kk.push("(");kk.push(bK(yj[Ji]));kk.push("in");kk.push("templateData.categories");Ji==yj.length-1&&kk.push(")");_.cK(b,kk.join(" "),0==Ji?"and":"or")}var Oj=_.B(a,41);
if(null!=Oj){var Ki=[];Ki.push("templateData.galleryState");Ki.push("=");Ki.push(bK(_.Ndc[Oj]||""));_.cK(b,Ki.join(" "))}var Xi=_.B(a,42);if(null!=Xi){var Gh=[];Gh.push("visibility");Gh.push("=");Gh.push(bK(Phc(Xi)));_.cK(b,Gh.join(" "))}for(var Ok=_.Yj(a,_.vl,44),zj=0;zj<Ok.length;++zj){var Aj=Ok[zj];dK(b,"actionItems",Mhc(Aj),_.T(Aj,3,!1))}if(_.Q(a,50)){var Pj=[];Pj.push("pairedDocType");var lk=_.T(a,50,!1)?"!=":"=";Pj.push(lk);Pj.push(bK("NONE"));_.cK(b,Pj.join(" "))}dK(b,"workspaceIds",a.Sp(),
!1);for(var Hm=_.Yj(a,_.xl,57),mk=0;mk<Hm.length;mk++){var Pk=[];0==mk&&Pk.push("(");Pk.push(bK(Hm[mk].Ya()));Pk.push("in");Pk.push("approvals");mk==Hm.length-1&&Pk.push(")");_.cK(b,Pk.join(" "),0==mk?"and":"or")}if(_.Q(a,58)){var vf=a.Lq(),Bj=vf.Ya(),Im=_.T(vf,2,!1);if(Bj){var Jm=[];Im&&Jm.push("not");Jm.push("creator");Jm.push("=");Jm.push(bK(Bj));_.cK(b,Jm.join(" "))}}var On=_.D(a,_.Loa,59);if(On)for(var Li=_.m(_.Yj(On,_.Ioa,1)),nk=Li.next();!nk.done;nk=Li.next()){var Gc=nk.value;dK(b,"categoryMetadata",
Gc.nn());for(var Qk=_.m(_.Yj(Gc,_.Goa,2)),ih=Qk.next();!ih.done;ih=Qk.next()){var Rg=ih.value,Xe=_.B(Rg,1),Km=_.Ij(Rg,_.yl[0]);if(10==Km){_.D(Rg,_.zoa,10);var Lm=_.R(Rg,15);(void 0===Lm?0:Lm)?_.cK(b,Xe+" is null"):_.cK(b,"not ("+Xe+" is null)")}else{var jh=new _.To,Yi=void 0;switch(Km){case 3:Yi=_.D(Rg,Bgc,3);for(var ll=_.m(Yi.Pi()),Hh=ll.next();!Hh.done;Hh=ll.next())_.eK(jh,Xe,Hh.value,"or");break;case 14:for(var mn=Yi=_.D(Rg,_.soa,14),Pn=new Map([[1,"="],[2,">"],[3,"<"]]),nn=_.m(mn.Pi()),Rk=nn.next();!Rk.done;Rk=
nn.next()){var Sk=Rk.value,Bo=Pn.get(_.B(mn,2));if(!Bo)throw Error("Te");var rq=[Xe,Bo,bK(Sk.getYear()+"-"+Sk.getMonth()+"-"+Sk.getDay())];_.cK(jh,rq.join(" "),"or")}break;case 8:for(var on=Yi=_.D(Rg,_.yoa,8),Co=new Map([[1,"="],[2,">"],[3,"<"]]),bj=_.m(on.Pi()),um=bj.next();!um.done;um=bj.next()){var Gp=um.value,Hp=Co.get(_.B(on,2));if(!Hp)throw Error("Te");_.cK(jh,[Xe,Hp,Gp].join(" "),"or")}break;case 9:for(var zr=Yi=_.D(Rg,Dgc,9),Ow=new Map([[1,"in"]]),Ar=_.m(zr.Pi()),Fs=Ar.next();!Fs.done;Fs=
Ar.next()){var xA=Fs.value,ZC=Ow.get(_.B(zr,2));if(!ZC)throw Error("Te");_.cK(jh,[xA,ZC,Xe].join(" "),"or")}break;case 6:for(var $C=Yi=_.D(Rg,_.Doa,6),jv=new Map([[1,"="]]),Ip=_.m($C.Pi()),Jp=Ip.next();!Jp.done;Jp=Ip.next()){var yA=Jp.value,zA=jv.get(_.B($C,2));if(!zA)throw Error("Te");_.cK(jh,[Xe,zA,bK(yA)].join(" "),"or")}break;case 7:for(var RF=Yi=_.D(Rg,_.Boa,7),QN=new Map([[1,"in"]]),SF=_.m(RF.Pi()),AA=SF.next();!AA.done;AA=SF.next()){var BA=AA.value,kS=QN.get(_.B(RF,2));if(!kS)throw Error("Te");
_.cK(jh,[bK(BA),kS,Xe].join(" "),"or")}break;case 4:for(var lS=Yi=_.D(Rg,_.Foa,4),sy=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Pw=_.m(lS.Pi()),ul=Pw.next();!ul.done;ul=Pw.next()){var Qw=ul.value,Br=sy.get(_.B(lS,2));if(!Br)throw Error("Te");_.cK(jh,[Xe,Br,bK(Qw)].join(" "),"or")}break;case 5:for(var mS=Yi=_.D(Rg,Fgc,5),TF=new Map([[1,"in"]]),Rw=_.m(mS.Pi()),Zh=Rw.next();!Zh.done;Zh=Rw.next()){var UF=Zh.value,VF=TF.get(_.B(mS,2));if(!VF)throw Error("Te");_.cK(jh,[bK(UF),VF,Xe].join(" "),
"or")}break;case 12:for(var Sw=Yi=_.D(Rg,_.woa,12),cZ=new Map([[1,"="]]),Kh=_.m(Sw.Pi()),aD=Kh.next();!aD.done;aD=Kh.next()){var Tw=aD.value,kv=cZ.get(_.B(Sw,2));if(!kv)throw Error("Te");_.cK(jh,[Xe,kv,bK(Tw)].join(" "),"or")}break;case 11:for(var Gs=Yi=_.D(Rg,_.uoa,11),Cr=new Map([[1,"in"]]),RN=_.m(Gs.Pi()),qJ=RN.next();!qJ.done;qJ=RN.next()){var c7=qJ.value,Hq=Cr.get(_.B(Gs,2));if(!Hq)throw Error("Te");_.cK(jh,[bK(c7),Hq,Xe].join(" "),"or")}}_.R(Rg,15)?_.cK(b,"not ("+jh+")"):_.cK(b,1<Yi.Pi().length?
"("+jh+")":""+jh)}}}null!=_.R(a,60)&&_.eK(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var Uw=_.R(a,65);if(null!=Uw){var Vw=[];Vw.push("clientEncryptionDetails.encryptionState");Vw.push("=");Vw.push(bK(Uw?"encrypted":"unencrypted"));_.cK(b,Vw.join(" "))}var rJ=_.Yj(a,_.ff,68);if(rJ.length){for(var d7=[],ty=[],nS=_.m(rJ),uy=nS.next();!uy.done;uy=nS.next()){var WF=uy.value,e7="sharedFrom = "+bK(WF.Ya());_.T(WF,2,!1)?ty.push(e7):d7.push(e7)}Fhc(b,d7,!1);Fhc(b,ty,!0)}var XF=_.Yj(a,_.ff,67);
if(XF.length){for(var sJ=[],f7=[],oS=_.m(XF),tJ=oS.next();!tJ.done;tJ=oS.next()){var dZ=tJ.value,CA="sharedTo = "+bK(dZ.Ya());_.T(dZ,2,!1)?f7.push(CA):sJ.push(CA)}Fhc(b,sJ,!1);Fhc(b,f7,!0)}null!=_.R(a,69)&&_.eK(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.eK(b,"canAcceptOwnership",_.R(a,72));1==_.SJ(a)&&Hhc(b,a);return b.toString()};
_.Rhc=function(a){var b=new _.To(_.Qhc(a));_.gJ(a)?_.cK(b,"isQuickAccessRequest"):_.hJ(a)?_.cK(b,"isPeoplePredictRequest"):_.iJ(a)&&_.cK(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.Hdc[c.getType()]);d.push(_.Pdc[c.xf()]);_.R(c,3)&&d.push("foldersFirst");_.cK(b,d.join(" "))}_.eK(b,"domainSearch",_.R(a,18));_.eK(b,"offline",_.R(a,19));_.Yj(a,_.RJ,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.Ihc(a)),_.cK(b,c.join(" ")));a.qB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.Jhc(a)),_.cK(b,c.join(" ")));if(c=_.SJ(a))d=[],d.push("corpora"),d.push("="),d.push(bK(_.phc[c])),_.cK(b,d.join(" "));_.T(a,66,!0)||_.eK(b,"includeItemsFromAllDrives",_.T(a,66,!0));1!=_.SJ(a)&&Hhc(b,a);_.T(a,48,!1)&&_.cK(b,"cachedOnly");return b.toString()};_.IJ=function(a){if(a instanceof _.nI)a=a.wd();else if(!a)return!1;return a instanceof _.dG||a instanceof _.cG||"undefined"!=typeof _.fK&&a instanceof _.fK||a instanceof _.cf&&(_.gJ(a)||_.hJ(a)||_.iJ(a))};
Shc=function(){_.Qo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.N(Shc,_.Qo);_.Thc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};Uhc=function(a,b){a.V||(a.V=b)};Shc.prototype.ak=function(){_.Thc(this);(0,this.ha)()};Vhc=function(a,b){a.ha||(a.ha=b)};_.gK=function(a){if(!a.O){a.O=new ghc;var b=_.So(a);_.J(b,56,a.O)}return a.O};Shc.prototype.getState=function(){var a=_.gK(this).getState();a||(a=new Wgc,_.gK(this).Pd(a));return a};
var Whc=function(a,b){var c=new Ugc;_.y(c,1,b);a=_.So(a);_.J(a,12,c)};Shc.prototype.VE=function(){var a=_.gK(this).VE();if(!a){a=new dhc;var b=_.gK(this);_.J(b,16,a)}return a};Shc.prototype.ma=function(){var a=_.D(_.gK(this),Ygc,4);if(!a){a=new Ygc;var b=_.gK(this);_.J(b,4,a)}return a};Xhc=function(a){var b=_.D(_.gK(a),Zgc,8);b||(b=new Zgc,a=_.gK(a),_.J(a,8,b));return b};Yhc=function(a){var b=_.D(_.gK(a),ehc,19);b||(b=new ehc,a=_.gK(a),_.J(a,19,b));return b};
_.Zhc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.P.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.N(_.Zhc,_.P);_.g=_.Zhc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Jl=function(){return 1===this.connectionState||2===this.connectionState};_.g.We=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?_.qB.yU:_.qB.cha;else 1===a?(b=_.qB.BL,this.O=!0):3===a&&(b=_.qB.xU);if(b)return b=new lhc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var $hc=function(a,b){this.userId=a;this.H=b;this.db=null},bic=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return aic(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("We"))},function(d){return a.handleError(d)})},"readwrite")};$hc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.tBb=_.ck(b),d)).then(null,function(e){c.handleError(e)})};
var cic=function(a){return new _.Ph(function(b){var c=new Map;aic(a,function(d){return Igc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={ora:f.ora},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.ora=k;l.then(function(p){return function(q){q&&c.set(p.ora,new _.pAa(q.tBb))}}(f))}return _.VH([].concat(_.od(e.values()))).then(function(){return b(c)})})})})},dic=function(a,b){return aic(a,
function(c){return c.remove(b)},"readwrite")},aic=function(a,b,c){c=void 0===c?"readonly":c;return eic(a).then(function(d){try{var e=_.Icc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.JI(f):void 0)}},function(d){return a.handleError(d)})},eic=function(a){return a.db?_.Qh(a.db):_.Kcc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.Jgc(c,"OfflineImpressions");b=_.Hcc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.gI(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Xe"))}).then(function(b){return a.db=b},function(b){return _.Rh(_.JI(b))})};$hc.prototype.handleError=function(a){a||(a=Error("Ye"));_.ZJ(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Qh()};
_.fic=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.P.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.N(_.fic,_.P);_.fic.prototype.We=function(){return this.H};_.fic.prototype.Ml=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new Dhc(a)))};_.fic.prototype.Ry=function(a){this.O=a};
var hic=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Lb=new _.Ie(this);this.Lb.listen(b,"Ab",function(k){k.We()||gic(h)});this.Lb.listen(c,[_.qB.BL,_.qB.yU],function(){return void gic(h)});this.W=e;f.then(function(){return gic(h)})};_.N(hic,_.P);hic.prototype.uA=function(a){return(this.H.We()||this.connectionState.We())&&this.H.O?bic(this.O,a):this.V.uA(a)};
var gic=function(a){return a.H.O?cic(a.O).then(function(b){b.forEach(function(c,d){a.V.uA(c).then(function(){return iic(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},iic=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return dic(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
hic.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var jic=function(){};jic.prototype.RQ=function(){return new Shc};var kic=function(){this.H=new hhc};kic.prototype.O=function(a){_.J(a,13,this.H)};kic.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
mic=function(a,b,c,d){this.V=b;this.connectionState=c;this.lw=d;this.O=this.H=null;this.client=_.hK(_.Ydc,_.UJ(a));this.W=_.B(a,94);this.ka=_.hK(_.bec,_.Kj(a.$f(),8,0));this.Swa=_.hK(_.Zdc,_.Kj(a.$f(),9,2));this.ma=_.T(a,10,!1);this.wu=_.HI(_.hI(a));this.hCa=_.VJ(a);this.ha=lic(a);this.buildLabel=a.Li()};lic=function(a){var b=[].concat(_.od(_.Vdc.keys())),c=[].concat(_.od(_.Wdc.keys())),d=_.wI(a);return b.filter(function(e){return _.Vdc.get(e)(a)}).concat(c.filter(function(e){return d&&_.Wdc.get(e)(d)}))};
_.hK=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};mic.prototype.Bo=function(a){return null==a?0:a?2:1};var nic=function(a){if(a.O)return a.O.H("aU7Ts")};
mic.prototype.Bb=function(a){return a instanceof _.cB||"undefined"!=typeof _.iK&&a instanceof _.iK||"undefined"!=typeof _.jK&&a instanceof _.jK||"undefined"!=typeof _.kK&&a instanceof _.kK?a.Bb():"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK||"undefined"!=typeof _.nK&&a instanceof _.nK||"undefined"!=typeof _.oK&&a instanceof _.oK||"undefined"!=typeof _.pK&&a instanceof _.pK?a.response?a.response.Bb():null:null};mic.prototype.Li=function(){return this.buildLabel};
var oic=function(a){return a.V.We()||a.connectionState.We()?2:1};mic.prototype.getEnvironment=function(){return this.lw};pic=function(a,b){this.H=a;var c=new _.Nya;_.Oya(c,b.ha);a=this.H.HL();var d=_.zdc(a);_.J(d,10,c);(c=b.Li())&&_.ydc(a,c);this.H.$Z();this.O=b};
_.qic=function(a,b,c){var d=_.Ro(a.H.YF(b,c),_.Qdc);Whc(d,oic(a.O));b=nic(a.O);"boolean"===typeof b&&Xgc(d.getState(),b);1===c&&Uhc(d,function(){return void a.H.PM(d)});Vhc(d,function(){var e=a.O;e=e.H?e.H.Od():void 0;var f=d.getState();_.y(f,1,e);a.H.tq(d)});return d};
ric=function(a){var b=new _.Jza,c=new kic;_.y(c.H,1,a.client);_.y(c.H,8,a.W);_.y(c.H,3,a.ka);_.y(c.H,4,a.Swa);_.y(c.H,5,a.ma);_.y(c.H,6,a.wu);_.y(c.H,7,a.hCa);a=c.setEnvironment(a.getEnvironment());_.Mcc(b,_.Sdc,a);_.Uo(b,_.Qdc,new jic);return b};
sic=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.QH(906,b,void 0,_.eec());l.ha=!1;var p=new _.Ncc(l);b=new Date;l=_.Edc(_.Ddc(_.Cdc(Kgc(),new _.Occ(l)),ric(c)),109).setSessionId(b.getTime()+"_"+_.Ng());if(k){a=new hic(p,d,e,new $hc(a,f),f,h);_.Bdc(l,a);d=l.build();_.xdc(d.HL(),1E3*b.getTime());var q=new pic(d,c);(new _.Ie).listen(a,"Bb",function(){_.qic(q,106008,0).ak()});return q}_.Bdc(l,p);a=l.build();_.xdc(a.HL(),1E3*b.getTime());return new pic(a,c)};
tic=function(a,b){this.V=a;this.W=b};tic.prototype.O=function(a,b){this.V&&_.uic(this)&&(a=_.qic(this.V,a,0),b&&_.Mec(a,b),a.ak())};_.qK=function(a,b){if(a.V&&_.uic(a)){a=_.qic(a.V,106018,0);var c=_.D(_.gK(a),chc,15);if(!c){c=new chc;var d=_.gK(a);_.J(d,15,c)}c=_.y(c,1,1);_.y(c,2,b);a.ak()}};tic.prototype.H=function(a,b){return this.V&&_.uic(this)?(a=_.qic(this.V,a,1),b&&_.Mec(a,b),a):null};_.uic=function(a){return!(!a.V||!a.V.H.DP())};
_.vic=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.vI(_.hI(a)).toString(),l=_.TJ(_.hI(a));f=new mic(a,b,c,f);a=h?sic(l,k,f,b,c,d,e,_.T(a,17,!1)):null;return new tic(a,f)};_.cJ=function(a){_.K.call(this,a)};_.N(_.cJ,_.K);_.wic=function(a){_.K.call(this,a)};_.N(_.wic,_.K);_.wic.prototype.getId=function(){return _.B(this,1)};_.wic.prototype.Pb=function(a){return _.y(this,1,a)};_.wic.prototype.ze=function(){return _.D(this,_.qf,2)};_.lJ=function(a){_.K.call(this,a)};_.N(_.lJ,_.K);
_.lJ.prototype.Zn=function(){return _.B(this,2)};_.lJ.prototype.wd=function(){return _.D(this,_.wic,3)};_.bJ=function(a){_.K.call(this,a)};_.N(_.bJ,_.K);_.bJ.prototype.wd=function(){return _.D(this,_.aJ,1)};_.bJ.prototype.bda=function(a){return _.y(this,2,a)};_.$I=function(a){_.K.call(this,a)};_.N(_.$I,_.K);_.$I.prototype.getId=function(){return _.B(this,1)};_.$I.prototype.Pb=function(a){return _.y(this,1,a)};_.xic=function(a,b){return _.y(a,2,b)};_.nJ=function(a){_.K.call(this,a)};_.N(_.nJ,_.K);
_.nJ.prototype.wd=function(){return _.D(this,_.$I,1)};yic=[2];_.yJ=function(a){_.K.call(this,a,-1,yic)};_.N(_.yJ,_.K);_.yJ.prototype.Dc=function(){return _.B(this,1)};_.yJ.prototype.PV=function(){return _.Yj(this,_.aG,2)};_.yJ.prototype.ze=function(){return _.D(this,_.qf,3)};_.zic=function(a){_.K.call(this,a)};_.N(_.zic,_.K);_.zic.prototype.uk=function(){return _.B(this,1)};_.Aic=function(a){var b=new _.zic;return _.y(b,1,a)};Bic=[1];_.dfc=function(a){_.K.call(this,a,-1,Bic)};_.N(_.dfc,_.K);
_.Cic=function(){this.H={}};Dic=function(a,b,c){if(a.H[b])throw Error("Ze");a.H[b]=c};_.Cic.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)}};Eic=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.Fic=function(a,b){this.H=a;this.V=b;this.O=_.jec[_.Kj(a.$f(),8,0)];this.W=_.jec[_.Kj(a.$f(),51,5)];this.nonce=_.Ng()};
_.Fic.prototype.tc=function(a,b){if(b.TN)Gic(this,a,b),Hic(this,a,b);else if(11===a.en){if(b.JKb){var c=b.BD||_.E(this.H.$f(),37,"");_.lj(a.uri,"key",c)}Gic(this,a,b);Iic(this,a,b)}else switch(a.uri=Jic(this,a.en,a.uri),a.en){case 1:Iic(this,a,b);Gic(this,a,b);break;case 0:b.wu||_.HI(_.hI(this.H))||(b.Pkb?_.lj(a.uri,"dsNonce",_.Ng()):_.T(this.H,83,!1)&&_.lj(a.uri,"dsNonce",this.nonce));Iic(this,a,b);Hic(this,a,b);Gic(this,a,b);break;case 2:case 3:case 4:case 5:Iic(this,a,b);Hic(this,a,b);Gic(this,
a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:Iic(this,a,b);Hic(this,a,b);break;default:throw Error("$e`"+a.en);}};Kic=function(a,b){var c=Jic(a,b,new _.dj);if(!c.H)throw Error("bf");return _.gj(_.fj(_.ej(new _.dj,c.O),c.H),c.W).Hi(_.kec.has(b)?"/batch"+a.O:"/batch")};
Jic=function(a,b,c){var d=_.B(a.H.$f(),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=_.E(a.H.$f(),62,"");break;case 8:a=_.B(a.H.$f(),53);break;case 9:a=_.B(a.H.$f(),56);break;case 10:a=_.B(a.H.$f(),22);break;case 13:a=_.B(a.H.$f(),55);break;case 12:a=_.B(a.H.$f(),43);break;default:throw Error("$e`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.dj(a);
_.Gd(c,"/")&&(c=c.slice(1));return new _.dj(a+"/"+c)};Iic=function(a,b,c){a=_.hI(a.H);c.wu||_.HI(a)||(c=[{key:"u",value:_.TJ(a)}],b.headers.authorization=_.Abc(c)||"",c=_.vI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
Gic=function(a,b,c){var d=_.hI(a.H),e=a.H.$f(),f=c.A7a||!!_.B(e,13);c=c.B7a||_.T(e,14,!1);var h=11===b.en;f&&((f=_.B(e,13))&&_.Gd(f,"email:")?_.lj(b.uri,"trace",f):f&&"trace:true"===f?_.lj(b.uri,"$trace","true"):f?_.lj(b.uri,"trace","token:"+f):_.lj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.lj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Kj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
Hic=function(a,b,c){c.wu||_.HI(_.hI(a.H))?_.lj(b.uri,"key",_.E(a.H.$f(),36,"")):(a=c.BD||_.E(a.H.$f(),37,""),_.lj(b.uri,"key",a))};_.Lic=function(a,b){_.JH.call(this,a?a:500,b?b:6E5)};_.N(_.Lic,_.JH);_.Mic=function(a,b){this.O=b;this.H=new Map;this.Ala(_.Yj(a,_.Dl,91))};_.Mic.prototype.Ala=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.B(c,2);if(!b||!c)break;var d=_.Nic(this,b);if(d){d!==c&&cfc(b);break}this.H.set(b,c)}};
Efc=function(a,b){return[].concat(_.od(new Set(b))).map(function(c){var d=(new _.Dl).Pb(c);a.H.has(c)?_.El(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.El(d,_.kl(c));return d}).filter(function(c){return _.Q(c,2)})};_.Nic=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.Q(a,140)?_.kl(a):null};_.rK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Gd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.rK.prototype.getState=function(){return this.state};
_.rK.prototype.vM=function(a){var b=this;if(this.W)return this.W;var c=_.Th();this.W=c.promise.then(function(){return _.Aic(1)},function(d){d=_.pB(d).Sg;var e=0;2===d.Op()?e=3:_.dec(d)&&(e=2);return _.Aic(e)});a&&this.W.then(function(d){3===d.uk()&&_.qK(b.Gd,186469046)});this.H&&(a=_.B(Yhc(this.H),4)||0,fhc(Yhc(this.H),a+1));setTimeout(function(){b.W=null},5E3);Oic(this,c);return this.W};_.Ric=function(a,b){Pic(a,3)&&_.Qic(a,b)};_.rK.prototype.reset=function(){this.O=null;Sic(this)};
Sic=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.Qic=function(a,b){if(!a.O&&!a.V){a.H=a.Gd.H(106025);if(a.H){var c=Yhc(a.H);var d=!(!a.state.isConnected()&&a.state.Jl());c=_.y(c,1,d);c=_.y(c,2,a.state.O);_.y(c,5,!!b)}a.O=new _.Lic(5E3,6E4);Tic(a)}};Tic=function(a){Sic(a);Oic(a);a.O&&(a.timeout=setTimeout(function(){return void Tic(a)},a.O.Ya()),_.KH(a.O))};
Oic=function(a,b){_.Uh((a.ha?a.ha():_.Qh()).then(null,function(){return null}),function(){if(a.H){var c=_.B(Yhc(a.H),3)||0,d=Yhc(a.H);_.y(d,3,c+1)}Uic(a,b)})};Uic=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Te(new _.sfc)}).then(null,function(d){d=_.pB(d);_.dec(d.Sg)&&Pic(a,2);return _.Rh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.rK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
Pic=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.lec.get(b)),!0):!1};xfc=[_.MI,_.OI,_.NI,_.QI,_.PI,_.RI,_.SI,_.VI,_.XI,_.YI,_.ZI,_.aJ,_.bJ,_.uJ,_.wJ,_.yJ,_.xI,_.zJ,_.BJ,_.CJ,_.hfc,_.DJ];Vic=[_.AI];yfc=[_.bG,_.mfc];zfc=[_.lJ,_.iI,_.wD,_.EJ];Afc=[_.nI,_.cJ,_.jA,_.AI,_.gfc];Bfc=[_.EJ,_.eG];Cfc=[_.$I,_.dfc,_.kJ,_.nJ,_.oJ,_.ffc,_.DJ,ofc,nfc];
Wic=function(a){return a instanceof _.nI||a instanceof _.EJ||"undefined"!=typeof _.sK&&a instanceof _.sK||a instanceof _.BJ||a instanceof _.YI||a instanceof _.RI||a instanceof _.VI||a instanceof _.xI&&_.HJ(a)};_.Xic=function(a,b){this.O=b;this.H={};this.lj=new Sgc;b=_.LI({fields:_.Sd(a,28),qr:_.HI(_.hI(a))});this.Kb("SecondaryFields",b);this.Kb("SdkBackfillEnabled",!!_.T(a,45,!1)+" (Include corpus cache: "+!!_.T(a,46,!1)+")")};_.Xic.prototype.Kb=function(a,b){this.H[a]=Yic(a,b)};
var Zic=function(a,b){var c=a.H[b];c||(c=Yic(b,0,2),a.H[b]=c);c.Kb(String(Number(c.Ya())+1))};_.Xic.prototype.Gz=function(a){var b=_.Ra(this.H);this.O&&b.push(Yic("CacheSize",this.O.Od()));b.push(Yic("InitialViewDataLoaded",a));a=new _.uhc;_.Tj(a,1,b);return _.ai(a)};Yic=function(a,b,c){var d=new _.shc;_.y(d,1,a);_.y(d,4,c||1);d.Kb(String(b));d.tm(_.pec.get(a));return d};
_.$ic=function(a,b,c){var d=new _.Gdc;_.y(d,2,"Pending...");b instanceof _.nI?_.ak(d,3,_.oI[0],b):b instanceof _.EJ?_.ak(d,4,_.oI[0],b):"undefined"!=typeof _.sK&&b instanceof _.sK?_.ak(d,5,_.oI[0],b):b instanceof _.BJ?_.ak(d,6,_.oI[0],b):b instanceof _.YI?_.ak(d,7,_.oI[0],b):b instanceof _.RI?_.ak(d,8,_.oI[0],b):b instanceof _.VI?_.ak(d,9,_.oI[0],b):b instanceof _.xI&&_.ak(d,10,_.oI[0],b);var e=ufc(b),f=[];if(b instanceof _.NI)FJ(f,"ID",b.getId()),FJ(f,"Parent ID",b.Lk());else if(b instanceof _.YI)FJ(f,
"TD ID",b.getId());else if(b instanceof _.nI)b=_.Rhc(b.wd()),FJ(f,"Query",b);else if(b instanceof _.EJ)FJ(f,"Query","All");else if(b instanceof _.BJ)FJ(f,"TD ID",b.getId()),FJ(f,"Title",b.getTitle()),FJ(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.RI)FJ(f,"MimeType",b.getMimeType()),FJ(f,"Title",b.getTitle()),FJ(f,"Parents",_.Sd(b,3)),FJ(f,"Convert",_.R(b,8)),FJ(f,"Request ID",b.hj()),FJ(f,"Parent Request IDs",_.Sd(b,10)),FJ(f,"Revision Item ID",_.B(b,12)),FJ(f,"Pinned",_.R(b,8));else if(b instanceof
_.SI)FJ(f,"Title",b.getTitle());else if(b instanceof _.VI)FJ(f,"ID",b.getId());else if(b instanceof _.ZI)FJ(f,"WS ID",b.getId());else if(b instanceof _.xI){if(FJ(f,"ID",b.getId()),FJ(f,"Title",b.getTitle()),FJ(f,"Description",b.Qe()),FJ(f,"Starred",_.R(b,4)),FJ(f,"Trashed",b.Wh()),FJ(f,"MimeType",b.getMimeType()),FJ(f,"Parents",_.Sd(b,8)),FJ(f,"Parents to add",_.Sd(b,9)),FJ(f,"Parents to remove",_.Sd(b,10)),FJ(f,"Restricted",_.R(b,11)),FJ(f,"Folder Color",b.Yi()),FJ(f,"Update Last Viewed",_.R(b,15)),
FJ(f,"Subscribed",_.R(b,16)),FJ(f,"Available Offline",_.R(b,18)),FJ(f,"Wksp to add",_.Sd(b,31)),FJ(f,"Wksp to remove",_.Sd(b,32)),b=_.D(b,_.$k,25))FJ(f,"Read Only",_.R(b,1)),FJ(f,"Reason",_.B(b,2))}else b instanceof _.CJ?(FJ(f,"WS ID",b.getId()),FJ(f,"Title",b.getTitle()),FJ(f,"State",b.getState())):b instanceof _.hfc&&FJ(f,"Title",b.request.getTitle());_.y(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.lj.add(d);return d};
_.ajc=function(a,b){for(var c=new _.To,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.Pec(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.y(a,2,c.toString()||"Done.")};_.Xic.prototype.iR=function(){return this.lj.Jg()};_.t("sy1mk");
_.tK=function(a){_.K.call(this,a)};_.N(_.tK,_.K);_.tK.prototype.od=function(){return _.D(this,_.cB,1)};_.bjc=function(a,b){return _.J(a,1,b)};_.tK.prototype.Zn=function(){return _.B(this,3)};
_.cjc=function(a,b,c){_.ii.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.N(_.cjc,_.ii);
_.djc=function(a,b){this.O=a;this.V=b;this.H=null};
var uK=function(a){_.P.call(this);this.name=a};_.N(uK,_.P);_.g=uK.prototype;_.g.j4=function(){};_.g.EEa=function(){};_.g.M0a=function(){};_.g.wMa=function(){};_.g.L0a=function(){};_.g.ZF=function(){this.dispatchEvent(new _.ii("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var ejc=function(a,b){uK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.O,"Ab",function(d){d.We()||c.ZF()});this.Sc.listen(this.H,"ib",this.ZF)};_.N(ejc,uK);ejc.prototype.max=function(){var a=this.O.We(),b=this.H.xB();return!a&&b?Infinity:0};ejc.prototype.j4=function(){this.ZF()};
var fjc=function(a){uK.call(this,"Online");var b=this;this.connectionState=a;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.connectionState,[_.qB.BL,_.qB.cha,_.qB.yU],function(){return b.ZF()})};_.N(fjc,uK);fjc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};fjc.prototype.j4=function(){this.ZF()};
_.gjc=function(a,b){this.H=a;this.O=b};_.hjc=function(a){return a.H instanceof _.rK?new fjc(a.H.getState()):new ejc(a.O,a.H)};_.gjc.prototype.Ij=function(){return this.H instanceof _.rK?this.H.getState():this.O};
var jjc;_.ijc=function(a,b,c){this.BK=c;this.O=!0;this.V=0;this.H=new _.JH(a,b,.5)};jjc=function(a){return a.H.O+a.V};
_.vK=function(a,b){uK.call(this,"Backoff");this.H=a;this.O=b};_.N(_.vK,uK);_.vK.prototype.max=function(){return this.H.O?Infinity:0};_.vK.prototype.wMa=function(){var a=this.H;a.V=0;a.H.reset()};_.vK.prototype.L0a=function(a){var b=this;kjc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Ya(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.ZF()},a),_.KH(this.H.H))};
var kjc=function(a){var b;return(a=null===(b=_.fa(a.HD))||void 0===b?void 0:b.response)?Sec(_.Ltb(a)):!1};_.vK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.ljc=function(a,b){uK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.N(_.ljc,uK);_.ljc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.ljc.prototype.j4=function(a){a>=this.O?this.ZF():null==this.H&&mjc(this)};_.ljc.prototype.EEa=function(a,b){0<b?mjc(this):this.H=null};var mjc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.ZF.bind(a),a.V)};
_.wK=function(){this.lj=[]};_.g=_.wK.prototype;_.g.add=function(a,b){b?this.lj.unshift(a):this.lj.push(a);return!0};_.g.Asa=function(a){return _.Ba(this.lj,0,a)};_.g.Od=function(){return this.lj.length};_.g.cancel=function(a){return _.va(this.lj,function(b){return b.Cv.config.requestId===a?(b.oe.resolve(vfc(b.Cv.request)),!0):!1})};_.g.hK=function(){return _.cg(this.lj,function(a){return _.HJ(a.Cv.request)})};
var njc=function(){uK.call(this,"Immediate")};_.N(njc,uK);njc.prototype.max=function(){return Infinity};njc.prototype.j4=function(){this.ZF()};
var ojc=function(){uK.call(this,"One Request")};_.N(ojc,uK);ojc.prototype.max=function(){return 1};
_.xK=function(a){uK.call(this,"Parallel");this.limit=a;this.H=0};_.N(_.xK,uK);_.xK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.xK.prototype.j4=function(){this.H<this.limit&&this.ZF()};_.xK.prototype.EEa=function(a){this.H+=a.length};_.xK.prototype.M0a=function(a){this.H-=a.length;this.H<this.limit&&this.ZF()};
var pjc=function(){_.P.apply(this,arguments)};_.N(pjc,_.P);var rjc=function(a,b){a.dispatchEvent(new qjc(b))};pjc.prototype.O=function(){};var qjc=function(a){_.ii.call(this,"Nb");this.request=a};_.N(qjc,_.ii);
_.yK=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ma=0;this.W=new Map;this.Sc=new _.Ie(this);this.Ma(this.Sc);for(a=0;a<this.H.length;a++)this.Sc.listen(this.H[a],"Mb",this.J_a);for(a=0;a<this.O.length;a++)this.Sc.listen(this.O[a],"Nb",function(k){sjc(h,!0,k.request)});this.ka=_.yt("drive.ds.network.queue.Queue [%s]",f)};_.N(_.yK,_.P);_.yK.prototype.add=function(a){return sjc(this,!1,{Cv:a,oe:_.Th(),HD:[]})};
_.yK.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};_.yK.prototype.hK=function(){return this.V.hK()?!0:this.buckets.some(function(a){return a.hK()})};
var sjc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.eq(new _.oc,"No queue bucket accepted request."),_.Rh(_.pB(a));for(var d=tjc(a),e=0;e<a.H.length;e++)a.H[e].j4(d);return c.oe.promise};_.g=_.yK.prototype;
_.g.J_a=function(){var a=tjc(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].Asa(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.xwb.bind(this,a[e]),this.wwb.bind(this,a[e]));e=tjc(this);for(var f=0;f<this.H.length;f++)this.H[f].EEa(a,e);_.Uh(_.VH(d).then(this.vwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.J_a.bind(this),0)};
_.g.xwb=function(a,b){var c=a.Cv.config;this.log(ufc(a.Cv.request)+" request completed successfully. xd4: "+!(!c||!c.TN));this.H.forEach(function(d){return d.wMa()});this.O.forEach(function(d){return d.O(a)});a.oe.resolve(b)};
_.g.wwb=function(a,b){b=_.pB(b);this.log(ufc(a.Cv.request)+(" request failed with error: "+b.ha+"."));a.HD.push({response:b,vRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].L0a(a);a.Cv.config.zEa||!this.O.some(function(d){return d.intercept(a)})?a.oe.reject(b):this.log(ufc(a.Cv.request)+" encountered an error, but was intercepted to be retried.")};_.g.vwb=function(a){tjc(this);for(var b=0;b<this.H.length;b++)this.H[b].M0a(a)};
var tjc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Od()){b=a.buckets[c].Od();break}return b};_.yK.prototype.log=function(a){this.ha.info(this.ka,a)};
_.ujc=function(a,b,c,d){pjc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.fk(a,21,1E3);this.ta=_.fk(a,1,1);this.ma=function(){return new _.ijc(_.fk(a,63,1E3),_.fk(a,64,3E5),_.fk(a,65,10))}};_.N(_.ujc,pjc);
_.ujc.prototype.intercept=function(a){var b=a.HD.length,c=0<b&&_.fa(a.HD).response||null;if(c){c=_.uI(c);if(2===c.Op())return vjc(this,a);if(_.dec(c))return 2>=b?(rjc(this,a),a=!0):a=!1,a;var d=c.tk();if(3===d||31===d||13===d||9===d)return wjc(this,a,b);if(Sec(c))return b=jjc(this.V),c=this.V,jjc(c)<c.BK?(this.log("Backoff number "+b+" for a User Rate Limit error."),rjc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var vjc=function(a,b){var c=xjc(a,b),d=jjc(c);if(jjc(c)<c.BK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.We()?(d=c.H.Ya(),_.n.setTimeout(function(){return rjc(a,b)},d),_.KH(c.H)):(_.n.setTimeout(function(){return rjc(a,b)}),c.V++),!0;a.H.delete(b);return!1},xjc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},wjc=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 rjc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.ujc.prototype.O=function(a){this.H.delete(a)};_.ujc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var yjc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.eec()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Cxb,d=mhc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Axb(_.JI(e),"reading data"))}},zjc=function(a){return yjc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var Ajc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ka=c;this.W=d;this.Pa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.va=this.ha=null;this.oe=_.Th();this.finished=!1;this.Ba=this.Eu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Gz();a=_.eec()&&a?_.B(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.yO="progress_"+this.requestId;h.yO=this.yO;this.ma=!!f.metadata};
Ajc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};Ajc.prototype.start=function(){var a=this,b=new nfc(this.request.request,this.request.metadata),c=Bjc(this);this.Ha.then(function(d){return d.Te(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;Cjc(a)},function(d){return void a.oe.reject(d)});return _.Uh(this.oe.promise.then(function(d){Djc(a,d);return d},function(d){d=_.pB(d);Djc(a,d.Sg);return _.Rh(d)}),function(){Eic(a.H,[a.yO])})};
var Bjc=function(a){var b=_.Za(a.config);Dic(a.H,a.yO,Pgc(function(){return void a.H.notify([a.requestId],0)}));return b};Ajc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.oe.resolve(vfc(this.request)),!0)};
var Cjc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),Ejc(a,4))},Ejc=function(a,b){Fjc(a).then(function(c){if(c){var d=Gjc(a,c.blob.size);a.Ha.then(function(f){return f.Te(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.ZJ()&&(a.va=f.ZJ());f.dN()&&(a.Fa=f.dN());a.progress<a.fileSize?Cjc(a):a.oe.resolve(f)},function(f){if(d.zEa)a.cancel();else{var h=_.uI(f);h.CBa()||h.qla()||a.ma?Hjc(a,b,h,!1):zjc(c.blob).then(function(k){k=k?_.KEa.get(k)||
25:38;_.FI(h,k);k=38===h.Op();var l=38!==h.Op()&&25!==h.Op();Hjc(a,b,h,k,l)},function(){})}})}else{var e=_.pB(_.FI(_.eq(new _.oc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.oe.reject(e)}})},Hjc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Dfa(f);!e&&0<b?(a.Eu++,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+"."));Ejc(a,b)},a.Pa*Math.pow(1.5,f))):a.oe.reject(_.pB(c))},Fjc=function(a,b){return a.ma&&a.V?_.Qh(a.V):Ijc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return Fjc(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 ofc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.B(a.request.request,
12)||void 0);return a.V})},Ijc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.rQ?a.request.rQ(b,a.O):_.Qh(_.Rec(a.request.file,b,b+a.O))},Gjc=function(a,b){var c=_.Za(a.config);c.wRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;Eic(a.H,[a.yO]);Dic(a.H,a.yO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},Djc=function(a,b){b.xMa(3);b.Dfa(a.Eu);b.ZJ()||b.Vca(a.va);b.dN()||b.Lca(a.Fa)};
_.Jjc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.Jjc.prototype.create=function(a,b){return new Ajc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.Kjc=function(a){this.O=a;this.H={}};_.Kjc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Cv.request instanceof _.pfc)b.push(Ljc(this,a[c].Cv));else{var d=_.eq(new _.oc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.pB(d)))}return b};_.Kjc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.Kjc.prototype.hK=function(){return!_.Ua(this.H)};
var Ljc=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Uh(d,function(){delete a.H[e]})};
_.Mjc=function(a,b){return new _.yK(b,a,[new njc],[new _.wK],[],"immediate")};_.Njc=function(a,b,c,d,e){return new _.yK(e,a,[_.hjc(d),new _.vK(c,e),new ojc],[new _.wK],[new _.ujc(b,c,d.Ij(),e)],"connected")};_.Ojc=function(a,b,c,d,e,f,h){h=void 0===h?_.fk(b,10,50):h;return new _.yK(e,a,[_.hjc(d),new _.ljc(h,_.fk(b,12,10)),new _.xK(3*h),new _.vK(c,e)],[new _.wK],[new _.ujc(b,c,d.Ij(),e)],f)};_.Pjc=function(a,b,c){b=_.fk(b,46,1);return new _.yK(c,a,[new _.xK(b)],[new _.wK],[],"resumable_upload")};
_.Qjc=function(a,b,c,d,e,f,h,k){this.sI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.Qjc.prototype.Te=function(a,b){return Rjc(this,a,b).then(null,function(c){c=_.pB(c);var d=c.Sg;wfc(a)||_.gq(d);return _.Rh(c)})};
var Rjc=function(a,b,c){c=void 0===c?{}:c;var d=a.sI.validate(b);if(d)return _.Rh(_.pB(d));var e=a.ma.translate(b);e instanceof _.oc?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.V.execute(a,f,c)}).filter(function(f){return!!f}),d=0<d.length?Promise.all(d):void 0):d=a.V.execute(a,e,c)||void 0;return _.Qh(d).then(function(){if(e instanceof _.oc)return _.Rh(_.pB(e));if(Array.isArray(e)){var f=e.map(function(h){return Sjc(a,b,h,c)});return _.VH(f)}return Sjc(a,b,e,c)},function(f){return _.Rh(_.pB(f))})},
Sjc=function(a,b,c,d){var e=Tjc(a,c);if(!e)return b=_.FI(_.eq(new _.oc,"Failed to choose a queue for server request."),18),_.Rh(_.pB(b));if(b instanceof _.$I||b instanceof _.nJ)d.Pkb=!0;if(e===a.H[7]||e===a.H[8])d.TN=!0;d=e.add({request:c,config:d});(_.HJ(b)||_.HJ(c))&&_.Uh(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};_.Qjc.prototype.cancel=function(a){return _.Pa(this.H,function(b){return b.cancel(a)})};
var Tjc=function(a,b){var c,d=!1;b instanceof _.cJ?d=!(null===(c=_.D(b,_.jA,2))||void 0===c||!_.R(c,7)):b instanceof _.jA?d=!!_.R(b,7):b instanceof _.nI&&(d=(d=b.wd())&&!!_.R(d,46));return(b instanceof _.sfc||b instanceof _.RH&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.pfc&&a.H[5]?a.H[5]:d&&Dfc(b,a.O)&&a.H[7]?a.H[7]:Dfc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.cJ||b instanceof _.jA)&&a.H[6]?a.H[6]:(d||Vic.includes(b.constructor))&&a.H[3]?a.H[3]:xfc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var Ujc=function(a){this.H=a};Ujc.prototype.build=function(a,b){var c="====="+_.Ng()+"=====",d=a[0].en,e=b.every(function(l){return l.TN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=Kic(this.H,a[0].en);_.lj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=Vjc[d],h=Wjc[d]||{},h["content-type"]=_.yt('multipart/mixed; boundary="%s"',c),d=Xjc[d],k=new _.dj("");a=Yjc(this,a,b,c,e);return{en:f,body:a,headers:h,method:d,uri:k}};
var Yjc=function(a,b,c,d,e){for(var f=afc(Zjc[b[0].en]||{}),h="",k=0;k<b.length;k++){e&&Iic(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=Jic(p,q.en,q.uri);switch(q.en){case 0:case 5:Hic(p,q,r);Gic(p,q,r);break;case 2:Iic(p,q,r);Hic(p,q,r);var v=q,z=_.B(p.H.$f(),57);v.headers.host=_.pj(z).H;v.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;Gic(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("af`"+q.en);default:throw Error("$e`"+
q.en);}p=l;q=p.uri.clone();_.ej(q,"");_.fj(q,"");_.gj(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+afc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},$jc={},Vjc=($jc[0]=1,$jc[2]=3,$jc),akc={},Xjc=(akc[0]="POST",akc[2]="PUT",akc[12]="POST",akc),bkc={},ckc={},Wjc=(ckc[2]=(bkc["x-goog-upload-protocol"]="batch",bkc),ckc),dkc={},ekc={},fkc={},gkc={},Zjc=(gkc[0]=(dkc["content-type"]="application/http",dkc["content-transfer-encoding"]="binary",dkc),gkc[12]=
(ekc["content-type"]="application/http",ekc["content-transfer-encoding"]="binary",ekc),gkc[2]=(fkc["content-type"]="application/http",fkc),gkc);
var hkc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,ikc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var jkc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.lj=new Map};jkc.prototype.add=function(a,b){var c="DEFAULT";b.TN&&(c=Kic(this.V,a.en).toString());this.lj.has(c)||this.lj.set(c,[]);c=this.lj.get(c);if(1<=c.length&&!b.TN&&!Vjc[a.en])return a=_.eq(new _.oc,"Unsupported batch API: "+a.en),_.Rh(_.pB(a));var d=_.Th();c.push({request:a,config:b,oe:d});return d.promise};
jkc.prototype.send=function(){var a=this;this.lj.forEach(function(b,c){try{kkc(a,b)}catch(f){var d=_.fq(_.eq(new _.oc,"Error executing XHR: "+f.message),f.stack),e=_.pB(d);b.forEach(function(h){h.oe.reject(e)});a.lj.delete(c)}})};
var kkc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.eCa&&!c.config.TN){var d=!1;if(Vjc[c.request.en]){var e={en:c.request.en,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.tc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){lkc(a,c);return}}}mkc(a,b)},lkc=function(a,b){var c=b.oe;a.W.dh(b.request,b.config).then(function(d){c.resolve(d);nkc(a,b)},function(d){a.handleError(b,d);c.reject(_.pB(d))})},mkc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.dh(a.ha.build(c,d),{eCa:!0,TN:d.every(function(e){return e.TN})}).then(function(e){e.headers=_.Aec(e.headers);var f=ikc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.pc("Could not extract batch boundary.",_.FI(_.fq(new _.oc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Gd(_.oia(h[0]),f)&&_.ge(h[1]))h=_.oia(h[0]).substring(f.length);else throw new _.pc("Could not parse batch response; did not begin and end with boundary.",
_.FI(_.fq(new _.oc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,C=f[l],F=p&&p.uri,H=C.split("\r\n\r\n");if(2>H.length)v=new _.pc("Individual batch response contained too few parts.",_.FI(_.fq(new _.oc,C),17));else{var L=H[1].split("\r\n");if(z=hkc.exec(L[0])){p=_.Qg(z[1]);z=z[2];L.shift();A=_.Za(A);for(var M=Object,S=M.assign,ja={},oa=0;oa<L.length;oa++){var ia=_.xia(L[oa],":",1);ia&&2===
ia.length&&(ja[(0,_.eg)(ia[0])]=(0,_.eg)(ia[1]))}L=_.Aec(ja);S.call(M,A,L);try{v=_.ge(_.Mg(H[2]))?void 0:JSON.parse(H[2])}catch(wa){}v=(p=_.Fec(p,z,A,C,v,void 0,void 0,F&&F.toString()))?_.pB(p):{headers:A,text:C,json:v||void 0}}else v=new _.pc("Could not extract HTTP status code and text.",_.FI(_.fq(new _.oc,C),16))}r.call(q,v)}return k}).then(null,function(e){e=_.pB(e);return _.Obc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].oe,l=e[h];l instanceof _.oc||l instanceof
_.pc?(l=_.pB(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||nkc(a,b[0])})},nkc=function(a,b){var c=b.request.en;b=!b.config.wu&&_.pa(okc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=Pic(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.ak(),a.H=null)}else a.O&&b&&a.O.va()};
jkc.prototype.handleError=function(a,b){a=_.Ltb(b);if(2===a.Op()){if(this.H)return _.Ric(this.H),!0}else if(_.dec(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.Qic(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var okc=[0,2,4,7,8];
var pkc=function(){_.$i.apply(this,arguments)};_.N(pkc,_.$i);pkc.prototype.getAllResponseHeaders=function(){return _.oia(_.$i.prototype.getAllResponseHeaders.call(this))};
var qkc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=qkc.prototype;_.g.dh=function(a,b){try{this.W.tc(a,b);var c=new pkc;c.pC=!0;var d=b.requestId||"",e=_.Th();c.listen("complete",this.qab.bind(this,c,e,d,b.eCa,4===a.en));d&&b.yO&&!b.TN&&(this.O[d]=c,this.H[d]=b,c.Gb=!0,c.listen("uploadprogress",(0,_.u)(this.fAb,this,b)),b.wRa||c.listen("downloadprogress",(0,_.u)(this.gwb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.Rh(_.pB(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.zEa=!0,b.abort(),!0):!1};_.g.qab=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:_.fma(a),text:a.ol()};if(!d)try{c.json=_.GI(a)}catch(f){}d=_.Fec(a.Bb(),_.cma(a),c.headers,c.text,c.json,a.O,_.gma(a),String(a.ta),e);a.dispose();d?b.reject(_.pB(d)):b.resolve(c)};_.g.fAb=function(a,b){b.lengthComputable&&this.V.notify([a.yO],a.wRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.gwb=function(a,b){b.lengthComputable&&this.V.notify([a.yO],b.loaded/b.total/2+.5)};
_.rkc=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new Ujc(this.O);this.W=new qkc(this.O,this.va)};_.g=_.rkc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Cv;this.V.push(e);b.push(this.Ba.JE(e,a[d].HD));c.push(Wic(e.request)?_.$ic(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.pB(_.Fec(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new jkc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={dra:e.dra},k++){e.dra=a[k].Cv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.dra)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].Cv,l=d[e].then(this.pob.bind(this,k.request,c[e],a[e].HD)).then(null,function(p){return Promise.reject(_.pB(p))}),l.then(this.yMa.bind(this,k),this.yMa.bind(this,k)),b.push(l);return b};_.g.pob=function(a,b,c,d){a=this.ta.JE(a,d,c);b&&(c=a.Cd?a.Cd():[],_.ajc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.hK=function(){return this.V.some(function(a){return _.HJ(a.request)})};
_.g.yMa=function(a){_.ua(this.V,a)};
_.skc=function(){};_.skc.prototype.execute=function(){return null};
var tkc;tkc=function(a){this.H=a};_.zK=function(a,b){if(!_.Ca(b))throw new _.pc("Expected an object, but got a "+_.ega(b)+".",_.II(11,void 0,8));var c=b.kind;if(!c)throw new _.pc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.II(11,void 0,21));if(!a.includes(c))throw new _.pc("Expected "+a.join(" or ")+" but got a "+c+".",_.II(11,void 0,9));};_.AK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.ukc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.Jfc(new _.Yk,a.canAddChildren);c=_.y(c,18,a.canChangeTeamDriveBackground);c=_.y(c,2,a.canComment);c=_.y(c,3,a.canCopy);b=_.Sfc(_.Nfc(_.Tfc(_.Ufc(_.Vfc(_.Rfc(_.Qfc(_.Mfc(_.Lfc(_.Kfc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.y(b,13,a.canRenameTeamDrive);b=_.Wfc(_.Pfc(_.Ofc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.y(b,27,a.canModifyContentRestriction);b=_.y(b,26,a.canShareOutsideDomain);b=_.Zfc(_.Yfc(_.Xfc(_.y(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.y(b,34,a.canDeleteChildren);b=_.y(b,35,a.canTrashChildren);b=_.y(b,36,a.canRequestApproval);b=_.y(b,37,a.canReadCategoryMetadata);b=_.y(b,38,a.canEditCategoryMetadata);b=_.y(b,39,a.canChangeCategoryReferences);b=_.y(b,49,a.canSetMissingRequiredFields);
b=_.y(b,40,a.canAddMyDriveParent);b=_.y(b,41,a.canRemoveMyDriveParent);b=_.agc(_.$fc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.y(b,44,a.canRead);b=_.dgc(_.cgc(_.bgc(_.y(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.y(b,50,a.canChangeSecurityUpdateEnabled);b=_.y(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.y(b,52,a.canCreateDecryptedCopy);b=_.y(b,53,a.canCreateEncryptedCopy);b=_.y(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.y(b,55,a.canBlockOwner)};_.BK=function(a,b){_.zK(["drive#user"],b);var c=_.Hfc(_.Ifc(_.Ffc(1).Pb(b.permissionId),b.id).ud(b.displayName),b.emailAddress);b.picture&&c.Qn(b.picture.url);_.mI(a.H)&&_.Hfc(c,b.emailAddressFromAccount||b.emailAddress);_.Gfc(c,a.Of(b.id));_.y(c,9,b.domain);return c};tkc.prototype.Of=function(a){if(a)return _.TJ(_.hI(this.H))==a};
var vkc,Bkc,Qkc,ykc,Gkc,Fkc,Hkc,Jkc,Lkc,xkc,Nkc,Mkc,Okc,Pkc,Skc,Tkc,Rkc,Ikc;vkc=function(a,b){this.H=a;this.O=b};
_.zkc=function(a,b,c){var d=new _.tK,e=new _.cB,f=e.Vw;_.zK(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.wkc(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.wkc(a,k[l]);h.push(p)}e=f.call(e,h);e=_.y(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.zK(["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 _.lsb).Ec(xkc[p.status]);
r=_.y(r,1,p.original);p=_.y(r,3,p.correction);a.push(p)}k=new _.psb;a=_.Tj(k,1,a);f.push(a)}q=new _.rsb;_.Tj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.nsb;_.Qj(v,1,f)}q||v?(f=new _.ssb,q&&_.J(f,1,q),v&&_.J(f,2,v),v=f):v=null;_.J(e,7,v);v=ykc(b);_.Qj(e,18,v)}d=_.bjc(d,e);c=_.Cec(c);c=_.y(d,2,c);b.nextPageToken&&_.y(c,3,b.nextPageToken);return c};
Bkc=function(a,b,c,d,e){_.zK(["drive#adminFile","drive#file","drive#revision"],b);var f=_.khc(new _.GJ,c);"drive#adminFile"==b.kind?(_.zK(["drive#adminFile"],b),c=(new _.dl).Pb(b.id),b.parentId&&_.OJ(c,[b.parentId]),_.ugc(c,b.teamDriveId),f.setItem(c),_.khc(f,c.getId())):"drive#file"==b.kind?(b=_.wkc(a,b),f.setItem(b),c||_.khc(f,b.getId())):"drive#revision"==b.kind&&(b=_.Akc(a,b),_.J(f,4,b));f.Vca(_.Bec(d));f.Lca(_.Cec(d));(d=(d=d&&_.Aec(d))&&d["x-server-object-version"])&&e&&(e=(new _.YJ).Pb(d),
_.J(f,4,e));f.Ec(1);return f};_.Ckc=function(a,b){return _.khc(new _.GJ,a).Ec(1).Vca(_.Bec(b)).Lca(_.Cec(b))};_.Ekc=function(a,b,c,d){d||_.zK(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.Dkc(a,b[c],d);f&&e.push(f)}return e};
_.Dkc=function(a,b,c){c||_.zK(["drive#permission"],b);c=_.Gfc(_.Ifc(_.Ffc(Fkc[b.type]).Pb(b.id),b.userId),a.H.Of(b.userId));c=_.y(c,4,b.withLink);c=_.Hfc(c.ud(b.name).Qn(b.photoLink),b.emailAddress);c=_.y(c,9,b.domain);c=_.y(c,10,b.deleted);c=_.y(c,12,b.audienceId);c=_.y(c,13,b.customerId);c.getId()||c.Pb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.mI(a.O)&&c.ud(b.nameIfNotUser);a=Gkc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.y(c,6,a);
return c};
_.wkc=function(a,b){_.zK(["drive#file"],b);var c=b.title,d=(new _.dl).Pb(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.sgc(_.ogc(_.hG(_.OJ(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.y(c,90,Number(b.thumbnailVersion));_.y(c,21,b.iconLink);c.tm(b.description);_.pgc(c,b.explicitlyTrashed);_.y(c,22,b.shared);null!=b.quotaBytesUsed&&_.y(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.y(c,14,Number(b.fileSize));_.y(c,
30,b.copyable);b.labels&&(d=b.labels,c.Fv(d.starred),_.y(c,6,d.hidden),c.Rn(d.trashed),_.lgc(c,d.restricted),_.y(c,9,d.viewed));_.y(c,10,_.AK(b.createdDate));_.y(c,69,_.AK(b.serverCreatedDate));_.hUb(c,_.AK(b.modifiedDate));_.y(c,12,_.AK(b.modifiedByMeDate));_.y(c,13,_.AK(b.lastViewedByMeDate));_.y(c,23,_.AK(b.sharedWithMeDate));_.y(c,62,_.AK(b.subscribedDate));_.y(c,70,_.AK(b.recency));b.recencyReason&&_.y(c,71,Hkc[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.BK(a.H,
e[f]))&&d.push(h);_.mgc(c,d);b.lastModifyingUser&&(d=_.BK(a.H,b.lastModifyingUser),_.ngc(c,d));b.userPermission&&_.iUb(c,Gkc[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.LJ).yh(e.width).xh(e.height),d=_.y(d,4,e.rotation),e.date&&(e=e.date,f=new _.Ldc,f.setMilliseconds(0),Ikc.parse(e,f),_.y(d,1,f.getTime())),_.J(c,27,d));null!=b.folderColor&&_.rgc(c,Number(b.folderColor));_.qgc(c,b.subscribed);_.y(c,45,b.fileExtension);_.Qj(c,50,b.folderFeatures);_.y(c,36,b.flaggedForAbuse);
_.y(c,53,b.gplusMedia);_.y(c,46,b.primarySyncParentId||void 0);_.y(c,35,b.hasChildFolders);b.source&&(_.y(c,42,b.source.client_service_id),_.y(c,43,b.source.value));b.sharingUser&&(d=_.BK(a.H,b.sharingUser),_.J(c,47,d));b.sources?_.Qj(c,56,b.sources):b.gplusMedia&&_.Qj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.Dbc[h]&&(h=_.$e(new _.Ze,_.Dbc[h]),e.push(h));c.yA(e)}_.y(c,63,b.ownedByMe);_.y(c,29,b.shareable);b.sourceAppId&&_.y(c,61,b.sourceAppId);_.y(c,74,
b.changed);null!=b.recursiveFileSize&&_.y(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.y(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.Rna).Pb(h.id);h=_.y(k,2,Jkc[h.type]);e.push(h)}_.Tj(c,83,e)}b.capabilities&&_.PJ(c,_.ukc(b.capabilities));b.permissionsSummary&&_.vgc(c,_.Kkc(a,b.permissionsSummary));b.headRevisionId&&_.y(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.MJ).tm(d.description),
e=_.y(e,3,Lkc[d.galleryState]),d=_.Qj(e,2,d.category),_.J(c,86,d));_.ugc(c,b.teamDriveId);_.y(c,76,b.hasAugmentedPermissions);_.y(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.BK(a.H,b.creator),_.J(c,91,d));_.wgc(c,b.primaryDomainName);_.xgc(c,b.organizationDisplayName);_.y(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.BK(a.H,b.trashingUser),_.J(c,95,d));c.bda(_.AK(b.trashedDate));b.version&&_.y(c,75,Number(b.version));_.y(c,98,b.hasVisitorPermissions);_.y(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.y(c,101,Mkc[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.NJ).yh(d.width).xh(d.height),d.durationMillis&&_.y(e,3,Number(d.durationMillis)),_.J(c,103,e));_.Qj(c,104,b.detectors);_.y(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=_.ggc(_.fgc(new _.$k,f.readOnly),f.reason),d.push(f);_.Tj(c,125,d)}if(d=b.publishingInfo)_.y(c,118,d.published),_.y(c,119,d.publishedUrl);_.Qj(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.y(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 _.Tna).Pb(f.approvalId).Ec(Nkc[f.status]),d.push(f);_.Tj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.coa,e=_.y(e,1,d.targetId),e=_.y(e,3,d.targetMimeType),e=_.y(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.y(e,4,Okc[d.targetLookupStatus]||0),d.targetFile&&(d=_.wkc(a,d.targetFile),_.J(e,5,d)),_.J(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.KJ,e=_.y(e,1,Pkc[d.encryptionState]),d.decryptionMetadata&&(d=Qkc(d.decryptionMetadata),_.J(e,2,d)),_.J(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Una,e=_.y(e,2,d.securityUpdateEligible),e=_.y(e,3,d.securityUpdateEnabled),d=_.y(e,5,d.securityUpdateExplicitlySet),_.J(c,139,d));_.y(c,140,b.resourceKey);_.Qj(c,135,b.authorizedAppIds);
_.ygc(c,b.customerId);_.y(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&_.y(c,145,Rkc[b.abuseNoticeReason]);_.$ec(c);_.mI(a.O)&&_.tgc(c,5);return c};
_.Akc=function(a,b){_.zK(["drive#revision"],b);var c=(new _.YJ).Pb(b.id);c=_.y(c,2,b.mimeType);c=_.y(c,3,_.AK(b.modifiedDate));c=_.y(c,4,b.pinned);c=_.y(c,5,b.downloadUrl);c=_.y(c,7,b.originalFilename);null!=b.fileSize&&_.y(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.BK(a.H,b.lastModifyingUser),_.J(c,9,a));b.decryptionMetadata&&(b=Qkc(b.decryptionMetadata),_.J(c,10,b));return c};
_.Kkc=function(a,b){a=_.jgc(_.igc(_.hgc(new _.Yna,b.entryCount),_.Ekc(a,b,"visibility",!0)),_.Ekc(a,b,"selectPermissions",!0));a=_.y(a,4,b.memberCount);a=_.y(a,5,b.userEntryCount);return _.y(a,6,b.groupEntryCount)};Qkc=function(a){var b=a.wrappedKey;var c=new _.egc;b=b?_.Rgc(b):void 0;c=_.y(c,1,b);c=_.y(c,2,Number(a.kaclsId));c=_.y(c,5,a.kaclsName);c=_.y(c,3,Skc[a.aes256GcmChunkSize]);c=_.y(c,6,Tkc[a.keyFormat]);return _.y(c,4,a.jwt)};
ykc=function(a){_.zK(["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};Gkc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};Fkc={anyone:4,audience:5,domain:3,group:2,user:1};Hkc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};Jkc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};Lkc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};xkc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
Nkc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};Mkc={docs:1,sheets:2,slides:3};Okc={ok:1,notFound:2,permissionDenied:3};Pkc={unencrypted:1,encrypted:2};Skc={unset:0,"default":1,small:2,size16kb:3};Tkc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};Rkc={UNKNOWN_REASON:0,ACCESSIBLE_ONLY_TO_OWNER:1,ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER:2,SUSPICIOUS_OTHER:3,SUSPICIOUS_PHISHING:4,SUSPICIOUS_MALWARE:5};Ikc=new _.dWa("yyyy:MM:dd HH:mm:ss");
var Xkc;_.Ukc=function(a){this.V=new tkc(a);this.vF=new vkc(this.V,a)};_.Ukc.prototype.JE=function(a,b,c){c=void 0===c?[]:c;try{return Vkc(this,a,b,c)}catch(d){_.KI(d)}};
var Vkc=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.RI)return _.Wkc(a,b,c);if(b instanceof _.$I)return Xkc(0,c,d);if(b instanceof _.jA||b instanceof _.cJ){if(!c.json)throw _.CK();return _.zkc(a.vF,c.json,c.headers)}if(b instanceof _.DJ)return _.Wkc(a,b,c);if("undefined"!=typeof _.kfc&&b instanceof _.kfc){if(!c.json)throw _.CK();a=c.json;return new _.zhc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.Ykc&&b instanceof _.Ykc){if(!c.json)throw _.CK();
return _.Akc(a.vF,c.json)}if(b instanceof _.nJ)return Xkc(b.wd(),c,d);if(b instanceof ofc){if(b.V){if(!c.json)throw _.CK();a=Bkc(a.vF,c.json,null,c.headers,!!b.revisionId)}else a=_.Ckc(null,c.headers);return a}if(b instanceof nfc){a=_.Aec(c.headers);b=a.location;if(!b)throw a=_.FI(new _.oc,10),new _.pc("No upload session URI included.",a);return new Ahc(b,_.Bec(a),_.Cec(a))}if(b instanceof _.sfc)return new Bhc;throw new _.pc("FromXhrConverter: Unsupported request type.",new _.oc);};
_.Ukc.prototype.ha=function(){return null};Xkc=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new Chc(_.Naa(b.text),c.length):new Chc(new Uint8Array(_.vma(b.text)),c.length)};_.Wkc=function(a,b,c){if(!c.json){if(b instanceof _.xI)return _.Ckc(_.Zkc(b));throw _.CK();}var d=!1;b instanceof _.DJ&&(d=!!_.B(b.request,12));return Bkc(a.vF,c.json,_.Zkc(b),c.headers,d)};_.CK=function(){var a=_.FI(new _.oc,11);return new _.pc("FromXhrConverter: JSON required, but none found",a)};
_.Zkc=function(a){return a.getId?a.getId():a.Dc?a.Dc():null};
var clc,dlc,flc,$kc,glc,alc;
clc=function(a,b){var c={};_.ge(_.Mg(a.getTitle()))||(_.B(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Dc()&&_.efa(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.sj(b.ka()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=$kc[d?d.O():0],h.keyFormat=alc[e?e.O():0],h);c.clientEncryptionDetails=f}_.blc(c,_.Sd(a,3));(b=a.Dc())&&(c.id=b);_.B(a,16)&&(c.embeddingParent=_.B(a,16));a.b2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.b2());"number"===typeof _.B(a,26)&&(c.modifiedDate=_.Hgc(_.Ghc(_.B(a,26)||0)));return c};_.blc=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)}}};dlc={};_.elc=(dlc[1]="active",dlc[2]="archived",dlc);flc={};$kc=(flc[0]="unset",flc[1]="default",flc[2]="small",flc[3]="size16kb",flc);glc={};alc=(glc[0]="unsetKeyFormat",glc[1]="tinkKeyset",glc[2]="tinkAesGcmKey",glc);
var jlc=function(a,b,c){return(a.rQ?a.rQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return yjc(d)}).then(function(d){return hlc(a,b,d,c)},ilc)},hlc=function(a,b,c,d){var e=!!_.B(a.request,12),f="files";e&&(f+="/"+_.B(a.request,12));f=new _.dj(f);_.lj(f,"uploadType","multipart");_.lj(f,"supportsTeamDrives",!0);_.lj(f,"pinned",!!_.T(a.request,13,!1));null!=_.R(a.request,8)&&_.lj(f,"convert",_.R(a.request,8));_.lj(f,"fields",_.Vec({fields:_.aK(b).filter(function(q){return 194!=q}),qr:!1}));
bfc(f,a.request.ze());var h=clc(a.request,a.metadata),k=_.Ng();b={};b=(b["content-type"]=_.yt('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());_.JJ(d,_.Yj(a.request,_.Dl,28),[],null,b);a="--"+k;a=a+"\r\n"+afc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+afc(p)+"\r\n"+c+"\r\n"+
a+"--";return{en:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},ilc=function(a){if(a instanceof _.Axb){var b=new _.oc;_.eq(b,"fs.Error: "+a.message);a=(a=a.name)?_.KEa.get(a)||25:38;_.FI(b,a);b=_.pB(b)}else b=_.JI(a);return Promise.reject(b)};
_.DK=function(a,b,c,d){this.H=a;this.Mg=b;this.O=c;this.Gd=d;this.ka=_.wI(a)||new _.fec};_.DK.prototype.JE=function(a,b){try{return a.request instanceof _.DJ?jlc(a.request,this.Mg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.pc?a=c.Sg:(a=new _.oc,_.eq(a,"Error converting XHR: "+c.message),_.fq(a,c.stack),_.FI(a,4)),Promise.reject(a)}};
_.DK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.RI){h=(e=!!_.B(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.B(a,12),k.pinned=!!_.T(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.Vec({fields:this.Og(c),qr:_.HI(_.hI(this.H)),JG:_.mI(this.H)});e=clc(a);f["content-type"]="application/json";var r=a.ze();p=!0;_.$J(k);_.klc(this.H,k);_.JJ(this.H,_.Yj(a,_.Dl,28),_.Sd(a,3).concat([_.B(a,16),a.b2(),a.Dc()]),this.O,f)}else if(a instanceof _.$I||a instanceof
_.nJ)a instanceof _.nJ?(l=a.wd(),_.Q(a,2)&&(q="bytes="+_.B(a,2)+"-",_.Q(a,3)&&(q+=_.B(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.B(l,2)&&(k.revisionId=_.B(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.JJ(this.H,[_.El((new _.Dl).Pb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.cJ||a instanceof _.jA){if(a instanceof _.cJ)q=_.B(a,1),a=_.D(a,_.jA,2);else if(a instanceof _.jA)q=0,_.qK(this.Gd,190196159);else throw Error("Zf");p=a.rn()[q];q="files/"+
p;r=_.xa(this.Og(c),this.Og(c,a.O()));_.Ea(r);k.fields=_.Vec({fields:r,qr:_.HI(_.hI(this.H)),JG:_.mI(this.H)});_.$J(k);_.llc(this.H,k);_.mlc(this.H,k);this.W(p,k);r=a.ze();p=!0;_.R(a,7)&&(b.eCa=!0);_.JJ(this.H,_.Yj(a,_.Dl,11),a.rn(),this.O,f)}else if("undefined"!=typeof _.kfc&&a instanceof _.kfc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.Ykc&&a instanceof _.Ykc)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 ofc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var v=a.H;b=a.O;f["content-range"]=a.V?_.yt("bytes %d-%d/%d",v,b,b+1):_.yt("bytes %d-%d/*",v,b)}v=a.blob;p=!0}else a instanceof nfc?(d=2,h=(e=!!_.B(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.B(a.request,12)),k.uploadType="resumable",k.pinned=!!_.T(a.request,13,!1),null!=_.R(a.request,8)&&(k.convert=_.R(a.request,8)),k.fields=_.Vec({fields:this.Og(c).filter(function(z){return 194!=
z}),qr:_.HI(_.hI(this.H)),JG:_.mI(this.H)}),_.$J(k),e=clc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.JJ(this.H,[],_.Sd(a.request,3),this.O,f),r=a.request.ze(),p=!0):a instanceof _.sfc?(q="about",k.fields="kind",r=a.H,p=!0):_.nlc(a);p&&_.olc(c,k);0!=d||l||r&&_.B(r,1)||_.qK(this.Gd,74438989);return _.plc(this,d,q,k,f,h,r,e,v)};
_.plc=function(a,b,c,d,e,f,h,k,l){c=new _.dj(c);[10,12,13].includes(b)||bfc(c,h);_.T(a.ka,11,!1)&&(a=a.H.Li())&&(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,_.mj(c,a,h);return{en:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.llc=function(a,b){_.T(a.$f(),23,!1)&&(b.includePermissionsForView="published")};_.DK.prototype.W=function(){};
_.mlc=function(a,b){_.T(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.klc=function(a,b){_.T(a,3,!1)&&(b.enforceSingleParent=!0)};_.olc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).vRb):b.retryCount=0};_.DK.prototype.Og=function(a,b){b||(b=_.aK(this.Mg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return ihc.includes(c)}));return b};_.nlc=function(a){var b=_.FI(new _.oc,4);throw new _.pc("ToXhrConverter: Unsupported request type: "+ufc(a),b);};
_.EK=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.ta=f;this.lj={};this.ha={};this.Gd=null;_.ze(this,function(){h.tG()})};_.N(_.EK,_.P);_.EK.prototype.wQ=function(){return _.UH()};
_.EK.prototype.upload=function(a,b,c,d){Zic(this.V,"UploadTotalCount");var e=a.hj();if(e&&this.lj[e])throw new _.pc("Upload requested with a duplicate request ID.");var f=_.Sd(a,10);if(f&&f.length){if(1!==f.length)throw new _.pc("Multi-parented uploads are not supported.");var h=this.lj[f[0]];if(!h)throw new _.pc("The parent upload request must precede this request.");}!_.B(a,26)&&b&&b.lastModified&&_.y(a,26,b.lastModified);e||(e=this.wQ(),_.y(a,9,e));a=a.clone();f=qlc(this,e);this.lj[e]={request:a,
file:b,og:f,QM:!1,Eu:0,success:!1,FE:!1,children:[],metadata:c,Bla:void 0,rQ:d};h?rlc(this,e,h):this.ka(e);return f.hn()};
var qlc=function(a,b){var c=new _.Vh;c.Rf(_.Db(a.Fa,b),_.Db(a.Ha,b),a);return c},rlc=function(a,b,c,d){var e=a.lj[b];c.children.push(b);_.Ea(c.children);c.og.then(function(f){if(1===f.Bb()&&(f=f.Dc(),_.Sd(e.request,3).push(f),_.PH(e.request,10),!c.FE||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.og.Jd(_.lI(f)?f:Error(f))})};
_.EK.prototype.Fa=function(a,b){Zic(this.V,"UploadSuccessCount");a=this.lj[a];a.success=1===b.Bb();(b=a.Bla)&&!a.FE&&($gc(bhc(Xhc(b),a.Eu),!0),b.ak())};_.EK.prototype.Ha=function(a,b){var c=_.D(this.O,_.EI,58);c&&_.T(c,1,!1)&&(this.ha[a]=b);Zic(this.V,"UploadFailureCount");c=this.lj[a];(a=c.Bla)&&!c.FE&&($gc(bhc(Xhc(a),c.Eu),!1),b=(c=b&&b.Sg)&&c.tk(),c=c&&c.Op(),b?ahc(Xhc(a),slc.get(b)||13):c&&ahc(Xhc(a),tlc.get(c)||0),a.ak())};
_.EK.prototype.ka=function(a){var b=this.lj[a];if(!b.QM){b.QM=!0;a=this.lj[a];var c=a.request,d=_.D(this.O,_.EI,58);d&&_.T(d,4,!1)&&(d=c.getTitle().match(ulc))&&(!d[1]||a.Eu<Number(d[1].substr(1)))&&(c=c.clone(),_.sa(_.Sd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Gz())?_.B(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.$f();d=_.fk(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.Bla=f;f=Xhc(f);f=_.y(f,1,2===d?2:1);f=_.y(f,4,!!b.metadata);
var h=!!_.B(a,12);f=_.y(f,5,h);e=_.y(f,6,e);c=_.fk(c,32,1073741824);_.y(e,7,c)}}switch(d){case 2:b.file&&vlc(this,new _.pfc(a,b.file,b.rQ,b.metadata),b.og,a.hj());break;case 1:b.file&&(c=b.og,d=b.file,e=b.metadata,b=b.rQ,f=_.D(this.O,_.zgc,2),vlc(this,new _.DJ(a,d,b,f&&_.QJ(f)?e:void 0),c,a.hj()));break;case 3:vlc(this,a,b.og,a.hj());break;default:throw new _.pc("Upload type ${uploadType} not supported.");}}};
var vlc=function(a,b,c,d){Dic(a.Ba,d,a.ma.bind(a,d));_.Uh(a.W.then(function(e){return e.Te(b,{requestId:d})}).then(null,function(e){return wlc(a,b,e)}),function(){Eic(a.Ba,[d])}).then(c.callback,c.Jd,c)},wlc=function(a,b,c){var d=_.pB(c),e=b instanceof _.DJ&&b.request.Dc()||"";c=d.Sg;if(e&&8===c.tk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.lA(new _.jA,[e]);return _.bi(a.W.then(function(h){return h.Te(f)}).then(function(h){h=h.od().Cd()[0];var k=b.request;if(h&&!h.Wh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.khc((new _.GJ).setItem(h),e).Ec(1);a.log("No matching item found for: "+e);return _.Rh(d)}))}return _.ci(d)};_.g=_.EK.prototype;
_.g.cancel=function(a){var b=this,c=this.lj[a];if(c&&(!c.FE||0!==c.children.length))if(c.FE=!0,c.og.dg())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ja(c.children,this.cancel,this);else{var d=c.Bla;d&&(ahc($gc(bhc(Xhc(d),c.Eu),!1),2),d.ak());var e=_.Th();c.QM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.QM=!0,c.og.callback(vfc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.tG=function(){var a=this;_.Ma(this.lj,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.lj[f]){var h=[];do{h.push(f);var k=(_.Sd(b.lj[f].request,10)||[])[0];if(k){var l=b.lj[k];if(l.success||!l.og.dg()||e[k])break;else if(!c.has(k)){e[f]=new _.pc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ka(h,function(p){var q=b.lj[p];q.Eu++;if(!e[p])if(!q.og.dg()||q.success)e[p]=new _.pc("Unable to retry request.");else{var r=(_.Sd(q.request,10)||[])[0];e[r]instanceof _.pc?
e[p]=e[r]:(q.og=qlc(b,p),q.QM=!1,q.FE=!1,(r=r?b.lj[r]:null)?rlc(b,p,r,!0):d.push(p),e[p]=q.og.hn())}})}else e[f]=new _.pc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Vh?f:_.ci(f)});_.Ja(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.wd=function(a){return this.lj[a]};var ulc=/^uploadTestFailMe(\.[1-9])?$/,tlc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),slc=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.qc=function(a){_.ii.call(this,_.Bc);this.error=a};_.N(_.qc,_.ii);_.t("sy1mq");
_.xlc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var ylc;ylc=[1];_.FK=function(a){_.K.call(this,a,-1,ylc)};_.N(_.FK,_.K);_.FK.prototype.O=function(){return _.Sd(this,1)};_.t("sy1mm");
var zlc;_.GK=function(a){_.K.call(this,a,-1,zlc)};_.N(_.GK,_.K);_.GK.prototype.Bb=function(){return _.B(this,1)};_.GK.prototype.Ec=function(a){return _.y(this,1,a)};_.GK.prototype.Hj=function(){return _.Yj(this,_.dl,2)};_.Alc=function(a,b){return _.Tj(a,2,b)};_.GK.prototype.pr=function(a,b){return _.bk(this,2,a,_.dl,b)};_.GK.prototype.Wf=function(){return _.B(this,4)};_.Blc=function(a,b){return _.y(a,4,b)};zlc=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ml");
_.jUb=function(a){_.K.call(this,a)};_.N(_.jUb,_.K);_.jUb.prototype.Mi=function(){return _.B(this,3)};_.jUb.prototype.yi=function(a){return _.y(this,3,a)};_.jUb.prototype.ze=function(){return _.D(this,_.qf,5)};_.jUb.prototype.getCustomer=function(){return _.B(this,6)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.HK=function(a,b){_.y(a,1,b)};_.t("sy1ms");

_.w();

}catch(e){_._DumpException(e)}
try{
_.Dlc=function(a){return _.re(a).Og(_.T(a.get(_.cp),19,!1)?Clc:_.pe)};_.t("sy1mu");
var Clc=[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 Elc,Flc,Glc,Hlc,Ilc,Jlc,Klc,Llc,Mlc,Nlc,Plc,Qlc,Rlc,Slc,Tlc,JK,Ylc,Zlc,KK,LK,$lc,amc,cmc,dmc,emc,gmc,hmc,imc,jmc,kmc,lmc,mmc,omc,qmc,xmc,zmc,Cmc,Dmc,Gmc,Jmc,QK,Kmc,Lmc,Mmc,Nmc,Omc,Pmc,Qmc,Smc,Tmc,Umc,Vmc,Ymc,Xmc,anc,cnc,enc,gnc,knc,mnc,nnc,onc,pnc,qnc,rnc,vnc,xnc,ync,znc,RK,Anc,Bnc,Vlc,MK,Ulc,Wlc,Xlc,Soc,Toc,WK,Woc,gpc,jpc,kpc,lpc,opc,Wmc,YK,Opc,Ppc,Qpc,Rpc,Tpc,Upc,Vpc,Wpc,ZK,Xpc,Ypc,Zpc,$pc,aqc,bqc,cqc,dqc,eqc,fqc,gqc,hqc,iqc,$K,lqc,mqc,nqc,Rmc,oqc,pqc,qqc,rqc,mrc,nrc,prc,qrc,vrc,Jrc,Krc,Rrc,
asc,ssc,ysc,Fsc,Hsc,Msc,Ssc,itc,jtc,mtc,otc,ytc,Ktc,Mtc,Ntc,Ttc,Utc,Vtc,jnc,Wtc,Suc,tmc,Tuc,Wuc,ezc,fzc,gzc,hzc,izc,jzc,kzc,lzc,mzc,nzc;Elc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Sd(a,3),Convert:_.R(a,8),ID:a.hj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
Flc=function(a){var b=[];b.push(Elc(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.Eu&&b.push("# of retries by client: "+a.Eu);var d="";a.QM?a.og.dg()?a.og.Rf(function(){d="Completed successfully."},function(e){d=e instanceof _.Wh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
Glc=function(a,b,c,d,e,f){var h=_.yt("Drive Upload Report: %d/%d failed",_.Qa(f),_.Qa(e));a=a.$f();d.push("Batch query interval: "+_.fk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.fk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.fk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.fk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.fk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(Flc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.yhc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.yt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.hj()||"");var v=p.Sg;v=v?_.B(v,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+v})});return{title:h,description:d,fQ:k,yd:152391,j9:c,w0:361003}};Hlc=function(a){return Array.prototype.concat.apply([],arguments)};Ilc=function(a,b,c){c=_.Ga(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
Jlc=function(a){return String.fromCharCode(10>a?48+a:87+a)};Klc=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]=Jlc(d>>4);b[2*c+3]=Jlc(d&15)}return b.join("")};Llc=function(a){var b=new _.To;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.LI(a,!0,"file"));a.u7&&(b.append(",teamDriveId,teamDrive("),b.append(a.u7),b.append(")"));b.append(")");return b.toString()};
Mlc=function(a){var b=new _.To;b.append("kind,nextPageToken,items(");b.append(_.LI(a,!0));b.append("),incompleteSearch");a.u7&&(b.append(","),b.append(a.u7));return b.toString()};
Nlc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.D(d,_.KJ,138),k=_.D(d,_.$k,111),l=_.D(d,_.LJ,27),p=_.jl(d),q=d.Pf(),r=d.zg(),v=_.D(d,_.NJ,103);switch(e){case 227:_.Rj(d,144);break;case 228:_.Rj(d,145);break;case 74:_.Uj(d,83);break;case 188:_.Rj(d,137);break;case 149:_.PH(d,128);break;case 148:_.Uj(d,127);break;case 138:_.Rj(d,126);break;case 184:_.PH(d,135);break;case 76:f&&_.Rj(f,1);break;case 223:f&&_.Rj(f,54);break;case 208:f&&_.Rj(f,48);break;case 185:f&&
_.Rj(f,40);break;case 224:f&&_.Rj(f,55);break;case 213:f&&_.Rj(f,50);break;case 156:f&&_.Rj(f,39);break;case 61:f&&_.Rj(f,2);break;case 216:f&&_.Rj(f,52);break;case 217:f&&_.Rj(f,53);break;case 77:f&&_.Rj(f,4);break;case 134:f&&_.Rj(f,34);break;case 147:f&&_.Rj(f,38);break;case 81:f&&_.Rj(f,10);break;case 82:f&&_.Rj(f,11);break;case 114:f&&_.Rj(f,27);break;case 133:f&&_.Rj(f,33);break;case 202:f&&_.Rj(f,47);break;case 132:f&&_.Rj(f,32);break;case 101:f&&_.Rj(f,20);break;case 201:f&&_.Rj(f,46);break;
case 131:f&&_.Rj(f,31);break;case 200:f&&_.Rj(f,45);break;case 130:f&&_.Rj(f,30);break;case 93:f&&_.Rj(f,17);break;case 191:f&&_.Rj(f,44);break;case 146:f&&_.Rj(f,37);break;case 90:f&&_.Rj(f,16);break;case 78:f&&_.Rj(f,7);break;case 186:f&&_.Rj(f,41);break;case 222:f&&_.Rj(f,51);break;case 85:f&&_.Rj(f,12);break;case 137:f&&_.Rj(f,36);break;case 209:f&&_.Rj(f,49);break;case 79:f&&_.Rj(f,8);break;case 189:f&&_.Rj(f,42);break;case 190:f&&_.Rj(f,43);break;case 80:f&&_.Rj(f,9);break;case 135:f&&_.Rj(f,
35);break;case 102:f&&_.Rj(f,21);break;case 69:_.Rj(d,74);break;case 194:h&&_.Sj(h,2);break;case 193:h&&_.Rj(h,1);break;case 1004:_.Rj(d,108);break;case 136:_.Uj(d,125);break;case 115:k&&_.Rj(k,1);break;case 116:k&&_.Rj(k,2);break;case 34:_.Rj(d,30);f&&_.Rj(f,3);break;case 9:_.Rj(d,10);break;case 91:_.Sj(d,91);break;case 43:_.Rj(d,42);_.Rj(d,43);break;case 187:_.Rj(d,136);break;case 26:_.Rj(d,24);break;case 108:_.PH(d,104);break;case 41:_.Rj(d,40);f&&_.Rj(f,5);break;case 42:_.Rj(d,41);break;case 1005:_.Uj(d,
117);break;case 59:f&&_.Rj(f,6);break;case 28:_.Rj(d,26);break;case 44:_.Rj(d,45);break;case 13:_.Rj(d,14);break;case 48:_.Rj(d,36);break;case 38:_.Rj(d,34);break;case 49:_.PH(d,50);break;case 51:_.Rj(d,53);break;case 104:_.Rj(d,102);break;case 39:_.Rj(d,35);break;case 87:_.Rj(d,76);break;case 100:_.Rj(d,98);break;case 72:_.Rj(d,78);break;case 5:_.Rj(d,6);break;case 20:_.Rj(d,21);break;case 21:break;case 29:l&&_.Rj(l,1);break;case 31:l&&_.Rj(l,3);break;case 92:l&&_.Rj(l,4);break;case 30:l&&_.Rj(l,
2);break;case 16:_.Sj(d,17);break;case 12:_.Rj(d,13);break;case 211:p&&_.Rj(p,2);break;case 212:p&&_.Rj(p,3);break;case 220:p&&_.Rj(p,5);break;case 157:r&&_.Uj(r,8);break;case 3:_.Rj(d,4);break;case 11:_.Rj(d,12);break;case 10:_.Rj(d,11);break;case 50:_.Rj(d,49);_.Rj(d,51);_.Sj(d,81);break;case 18:_.Rj(d,19);break;case 95:_.Rj(d,93);break;case 58:_.Rj(d,63);break;case 14:_.Uj(d,15);break;case 103:_.Rj(d,101);break;case 1:_.PH(d,2);break;case 96:_.Rj(d,94);break;case 1003:_.Uj(d,107);break;case 75:_.Sj(d,
85);break;case 94:_.Rj(d,92);break;case 45:_.Rj(d,46);break;case 124:_.Rj(d,118);break;case 125:_.Rj(d,119);break;case 1002:_.Sj(d,100);break;case 32:_.Rj(d,28);break;case 67:_.Rj(d,70);break;case 68:_.Rj(d,71);break;case 73:_.Rj(d,79);break;case 71:_.Rj(d,77);break;case 221:r&&_.Rj(r,9);break;case 210:_.Rj(d,140);break;case 7:_.Rj(d,8);break;case 122:_.Sj(d,109);break;case 66:_.Rj(d,69);break;case 33:_.Rj(d,29);break;case 24:_.Rj(d,22);break;case 25:_.Rj(d,23);break;case 46:_.Sj(d,47);break;case 192:q&&
_.Rj(q,6);break;case 159:q&&_.Sj(q,5);break;case 154:q&&_.Rj(q,1);break;case 158:q&&_.Rj(q,4);break;case 155:q&&_.Rj(q,3);break;case 52:_.PH(d,56);break;case 56:_.Rj(d,61);break;case 55:_.Uj(d,60);break;case 4:_.Rj(d,5);break;case 35:_.Rj(d,31);break;case 57:_.Rj(d,62);break;case 83:_.Rj(d,72);break;case 84:_.Sj(d,86);break;case 19:_.Rj(d,20);_.Rj(d,44);_.Rj(d,90);break;case 2:_.Rj(d,3);break;case 6:_.Rj(d,7);break;case 98:_.Rj(d,96);break;case 97:_.Sj(d,95);break;case 27:_.Rj(d,25);break;case 70:_.Rj(d,
75);break;case 107:v&&_.Rj(v,3);break;case 106:v&&_.Rj(v,2);break;case 105:v&&_.Rj(v,1);break;case 8:_.Rj(d,9);break;case 126:_.PH(d,120);break;default:throw Error("Oc`"+e);}}};Plc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.od(a),_.od(Olc)));a=[].concat(_.od(_.Rcb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Nlc(b[d],a)}};
Qlc=function(a,b){var c=a.getCapabilities()||new _.Yk,d=_.D(a,_.KJ,138),e=_.D(a,_.$k,111),f=_.D(a,_.LJ,27),h=_.jl(a),k=a.Pf(),l=a.zg(),p=_.D(a,_.NJ,103);switch(b){case 227:return null!=_.R(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.hu().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Sd(a,128).length;case 148:return 0<a.ka().length;case 138:return null!=a.V();case 184:return 0<_.Sd(a,135).length;case 76:return null!=_.Zk(c);case 223:return null!=_.R(c,54);case 208:return null!=
_.R(c,48);case 185:return null!=_.R(c,40);case 224:return null!=_.R(c,55);case 213:return null!=_.R(c,50);case 156:return null!=_.R(c,39);case 61:return null!=_.R(c,2);case 216:return null!=_.R(c,52);case 217:return null!=_.R(c,53);case 77:return null!=_.R(c,4);case 134:return null!=_.R(c,34);case 147:return null!=_.R(c,38);case 81:return null!=_.R(c,10);case 82:return null!=_.R(c,11);case 114:return null!=_.R(c,27);case 133:return null!=_.R(c,33);case 202:return null!=_.R(c,47);case 132:return null!=
_.R(c,32);case 101:return null!=_.R(c,20);case 201:return null!=_.R(c,46);case 131:return null!=_.R(c,31);case 200:return null!=_.R(c,45);case 130:return null!=_.R(c,30);case 93:return null!=_.R(c,17);case 191:return null!=_.R(c,44);case 146:return null!=_.R(c,37);case 90:return null!=_.ne(c);case 78:return null!=_.R(c,7);case 186:return null!=_.R(c,41);case 222:return null!=_.R(c,51);case 85:return null!=_.R(c,12);case 137:return null!=_.R(c,36);case 209:return null!=_.R(c,49);case 79:return null!=
_.R(c,8);case 189:return null!=_.R(c,42);case 190:return null!=_.R(c,43);case 80:return null!=_.R(c,9);case 135:return null!=_.R(c,35);case 102:return null!=_.R(c,21);case 69:return null!=_.R(a,74);case 194:return null!=d&&null!=_.D(d,_.egc,2);case 193:return null!=d&&null!=_.B(d,1);case 1004:return null!=_.R(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.R(e,1);case 116:return null!=e&&null!=_.B(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.SC();
case 91:return null!=a.Lq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=_.B(a,136);case 26:return null!=a.Qe();case 108:return 0<_.Sd(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.il(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.TI();case 44:return null!=_.B(a,45);case 13:return null!=a.cG();case 48:return null!=_.R(a,36);case 38:return null!=a.Yi();case 49:return 0<_.Sd(a,50).length;case 51:return null!=
_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.ika();case 87:return null!=_.fl(a);case 100:return null!=_.R(a,98);case 72:return null!=_.B(a,78);case 5:return null!=a.Em();case 20:return null!=a.Ue();case 21:return null!=a.getId();case 29:return!(!f||null==_.B(f,1));case 31:return!(!f||null==_.B(f,3));case 92:return!(!f||null==_.B(f,4));case 30:return!(!f||null==f.Ie());case 16:return null!=a.Am();case 12:return null!=a.gz();case 211:return null!=h&&null!=_.R(h,2);case 212:return null!=
h&&null!=_.R(h,3);case 220:return null!=h&&null!=_.R(h,5);case 157:return!(!l||!_.Yj(l,_.cl,8));case 3:return null!=a.getMimeType();case 11:return null!=a.jB();case 10:return null!=a.Cq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Um();case 18:return null!=a.Rq();case 14:return 0<_.el(a).length;case 95:return null!=a.Rl();case 58:return null!=_.R(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.rk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.hl(a).length;case 75:return null!=
a.Yv();case 94:return null!=a.sN();case 45:return null!=a.Bw();case 124:return null!=_.R(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.gl(a);case 32:return null!=a.Su();case 67:return null!=a.XJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.U1();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.kl(a);case 7:return null!=a.f7();case 122:return null!=_.IK(a);case 66:return null!=_.B(a,69);case 33:return null!=_.R(a,29);case 24:return null!=
a.Gj();case 25:return null!=a.qy();case 46:return null!=a.Wt();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Wd(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.Yd(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.Sd(a,56).length;case 55:return 0<a.qB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.UA();case 35:return null!=_.R(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.Bc();case 84:return null!=_.D(a,
_.MJ,86);case 2:return null!=a.getTitle();case 19:return null!=a.Ux()||null!=_.R(a,44)||null!=_.B(a,90);case 6:return null!=a.Wh();case 98:return null!=a.Zv();case 97:return null!=a.iD();case 27:return null!=a.kp();case 70:return null!=a.Di();case 107:return null!=p&&null!=_.B(p,3);case 106:return null!=p&&null!=_.B(p,2);case 105:return null!=p&&null!=p.Ie();case 8:return null!=_.R(a,9);case 126:return 0<_.Sd(a,120).length;default:throw Error("Pc`"+b);}};
Rlc=function(a,b){return b.every(function(c){return Qlc(a,c)})};Slc=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)})};Tlc=function(a,b){var c=new Set(b.concat(_.Uec));return a.filter(function(d){return!c.has(d)})};
JK=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(Qlc(b,e))if(_.Vcb.has(e)){if(d){var f=a.getCapabilities()||new _.Yk;_.PJ(a,f);switch(e){case 76:_.Jfc(f,_.Zk(d));break;case 223:var h=_.R(d,54);_.y(f,54,h);break;case 208:_.dgc(f,_.R(d,48));break;case 185:var k=_.R(d,40);_.y(f,40,k);break;case 224:var l=_.R(d,55);_.y(f,55,l);break;case 213:var p=_.R(d,50);_.y(f,50,p);break;case 156:var q=_.R(d,39);_.y(f,39,q);break;case 61:var r=_.R(d,2);_.y(f,2,r);break;case 216:var v=
_.R(d,52);_.y(f,52,v);break;case 217:var z=_.R(d,53);_.y(f,53,z);break;case 77:_.Kfc(f,_.R(d,4));break;case 134:var A=_.R(d,34);_.y(f,34,A);break;case 147:var C=_.R(d,38);_.y(f,38,C);break;case 81:_.Qfc(f,_.R(d,10));break;case 82:_.Rfc(f,_.R(d,11));break;case 114:var F=_.R(d,27);_.y(f,27,F);break;case 133:_.Zfc(f,_.R(d,33));break;case 202:_.cgc(f,_.R(d,47));_.Yfc(f,_.R(d,32));break;case 132:_.Yfc(f,_.R(d,32));break;case 101:_.Vfc(f,_.R(d,20));break;case 201:_.bgc(f,_.R(d,46));break;case 131:_.Xfc(f,
_.R(d,31));break;case 200:var H=_.R(d,45);_.y(f,45,H);break;case 130:var L=_.R(d,30);_.y(f,30,L);break;case 93:_.Ufc(f,_.R(d,17));break;case 191:var M=_.R(d,44);_.y(f,44,M);break;case 146:var S=_.R(d,37);_.y(f,37,S);break;case 90:_.Tfc(f,_.ne(d));break;case 78:_.Nfc(f,_.R(d,7));break;case 186:var ja=_.R(d,41);_.y(f,41,ja);break;case 222:var oa=_.R(d,51);_.y(f,51,oa);break;case 85:_.Sfc(f,_.R(d,12));break;case 137:var ia=_.R(d,36);_.y(f,36,ia);break;case 209:var wa=_.R(d,49);_.y(f,49,wa);break;case 79:_.Ofc(f,
_.R(d,8));break;case 189:_.$fc(f,_.R(d,42));break;case 190:_.agc(f,_.R(d,43));break;case 80:_.Pfc(f,_.R(d,9));break;case 135:var ha=_.R(d,35);_.y(f,35,ha);break;case 102:_.Wfc(f,_.R(d,21));break;case 34:var Va=_.R(b,30);_.y(a,30,Va);var La=_.R(d,3);_.y(f,3,La);break;case 41:var rb=_.R(b,40);_.y(a,40,rb);_.Lfc(f,_.R(d,5));break;case 59:_.Mfc(f,_.R(d,6))}}}else if(_.Wcb.has(e)){var $a=_.D(b,_.KJ,138);if($a){var Bb=_.D(a,_.KJ,138)||new _.KJ;_.J(a,138,Bb);switch(e){case 194:var Yb=_.D($a,_.egc,2);_.J(Bb,
2,Yb);break;case 193:var wc=_.B($a,1);_.y(Bb,1,wc)}}}else if(_.Xcb.has(e)){var Rd=_.D(b,_.$k,111);if(Rd){var kd=_.D(a,_.$k,111)||new _.$k;_.J(a,111,kd);switch(e){case 115:_.fgc(kd,_.R(Rd,1));break;case 116:_.ggc(kd,_.B(Rd,2))}}}else if(_.Ycb.has(e)){var ld=_.D(b,_.LJ,27);if(ld){var hf=_.D(a,_.LJ,27)||new _.LJ;_.J(a,27,hf);switch(e){case 29:var sd=_.B(ld,1);_.y(hf,1,sd);break;case 31:hf.xh(_.B(ld,3));break;case 92:var ob=_.B(ld,4);_.y(hf,4,ob);break;case 30:hf.yh(ld.Ie())}}}else if(_.Zcb.has(e)){var Og=
_.jl(b);if(Og){var ig=_.jl(a)||new _.Una;_.J(a,139,ig);switch(e){case 211:var De=_.R(Og,2);_.y(ig,2,De);break;case 212:var vj=_.R(Og,3);_.y(ig,3,vj);break;case 220:var Mf=_.R(Og,5);_.y(ig,5,Mf)}}}else if(_.$cb.has(e)){var li=b.Pf();if(li){var Eg=a.Pf()||new _.coa;_.J(a,132,Eg);switch(e){case 192:var fm=_.R(li,6);_.y(Eg,6,fm);break;case 159:var df=_.Wd(li);_.J(Eg,5,df);break;case 154:var Qe=_.B(li,1);_.y(Eg,1,Qe);break;case 158:var hh=_.Yd(li);_.y(Eg,4,hh);break;case 155:var mi=_.B(li,3);_.y(Eg,3,
mi)}}}else if(_.adb.has(e)){var jj=b.zg();switch(e){case 157:if(jj){var gm=a.zg()||new _.aoa;Ulc(a,gm);Vlc(gm,_.Yj(jj,_.cl,8))}break;case 221:if(jj){var Nn=a.zg()||new _.aoa;Ulc(a,Nn);var hm=_.R(jj,9);_.y(Nn,9,hm)}}}else if(_.bdb.has(e)){var zi=_.D(b,_.NJ,103);if(zi){var Gm=_.D(a,_.NJ,103)||new _.NJ;_.J(a,103,Gm);switch(e){case 107:var wj=_.B(zi,3);_.y(Gm,3,wj);break;case 106:Gm.xh(_.B(zi,2));break;case 105:Gm.yh(zi.Ie())}}}else switch(e){case 227:var yg=_.R(b,144);_.y(a,144,yg);break;case 228:var xj=
_.B(b,145);_.y(a,145,xj);break;case 74:var jk=b.hu();_.Tj(a,83,jk);break;case 188:var yj=_.R(b,137);_.y(a,137,yj);break;case 149:var Ji=_.Sd(b,128);_.Qj(a,128,Ji);break;case 148:var kk=b.ka();_.Tj(a,127,kk);break;case 138:var Oj=b.V();_.y(a,126,Oj);break;case 184:var Ki=_.Sd(b,135);_.Qj(a,135,Ki);break;case 69:var Xi=_.R(b,74);_.y(a,74,Xi);break;case 1004:var Gh=_.R(b,108);_.y(a,108,Gh);break;case 136:var Ok=b.O();_.Tj(a,125,Ok);break;case 9:var zj=b.SC();_.y(a,10,zj);break;case 91:var Aj=b.Lq();
_.J(a,91,Aj);break;case 43:var Pj=_.B(b,42);_.y(a,42,Pj);var lk=_.B(b,43);_.y(a,43,lk);break;case 187:_.ygc(a,_.B(b,136));break;case 26:a.tm(b.Qe());break;case 108:var Hm=_.Sd(b,104);_.Qj(a,104,Hm);break;case 42:var mk=_.B(b,41);_.y(a,41,mk);break;case 1005:var Pk=_.il(b);_.Tj(a,117,Pk);break;case 28:_.pgc(a,b.TI());break;case 44:var vf=_.B(b,45);_.y(a,45,vf);break;case 13:var Bj=b.cG();_.y(a,14,Bj);break;case 48:var Im=_.R(b,36);_.y(a,36,Im);break;case 38:_.rgc(a,b.Yi());break;case 49:var Jm=_.Sd(b,
50);_.Qj(a,50,Jm);break;case 51:var On=_.R(b,53);_.y(a,53,On);break;case 104:var Li=_.R(b,102);_.y(a,102,Li);break;case 39:var nk=b.ika();_.y(a,35,nk);break;case 87:var Gc=_.fl(b);_.y(a,76,Gc);break;case 100:var Qk=_.R(b,98);_.y(a,98,Qk);break;case 72:var ih=_.B(b,78);_.y(a,78,ih);break;case 5:var Rg=b.Em();_.y(a,6,Rg);break;case 20:var Xe=b.Ue();_.y(a,21,Xe);break;case 21:a.Pb(b.getId());break;case 16:_.ngc(a,b.Am());break;case 12:var Km=b.gz();_.y(a,13,Km);break;case 3:_.hG(a,b.getMimeType());break;
case 11:var Lm=b.jB();_.y(a,12,Lm);break;case 10:_.hUb(a,b.Cq());break;case 50:var jh=_.R(b,49);_.y(a,49,jh);var Yi=_.R(b,51);_.y(a,51,Yi);var ll=b.Um();_.J(a,81,ll);break;case 95:_.xgc(a,b.Rl());break;case 18:_.ogc(a,b.Rq());break;case 58:var Hh=_.R(b,63);_.y(a,63,Hh);break;case 14:_.mgc(a,_.el(b));break;case 1:_.OJ(a,b.rk());break;case 96:var mn=_.R(b,94);_.y(a,94,mn);break;case 103:var Pn=_.B(b,101);_.y(a,101,Pn);break;case 1003:Wlc(a,_.hl(b));break;case 75:_.vgc(a,b.Yv());break;case 94:_.wgc(a,
b.sN());break;case 45:var nn=b.Bw();_.y(a,46,nn);break;case 124:var Rk=_.R(b,118);_.y(a,118,Rk);break;case 125:var Sk=_.B(b,119);_.y(a,119,Sk);break;case 1002:var Bo=_.gl(b);_.J(a,100,Bo);break;case 32:var rq=b.Su();_.y(a,28,rq);break;case 67:var on=b.XJ();_.y(a,70,on);break;case 68:var Co=_.B(b,71);_.y(a,71,Co);break;case 73:var bj=_.B(b,79);_.y(a,79,bj);break;case 71:var um=b.U1();_.y(a,77,um);break;case 210:var Gp=_.kl(b);_.y(a,140,Gp);break;case 7:_.lgc(a,b.f7());break;case 122:Xlc(a,_.IK(b));
break;case 66:var Hp=_.B(b,69);_.y(a,69,Hp);break;case 33:var zr=_.R(b,29);_.y(a,29,zr);break;case 24:var Ow=b.Gj();_.y(a,22,Ow);break;case 25:var Ar=b.qy();_.y(a,23,Ar);break;case 46:var Fs=b.Wt();_.J(a,47,Fs);break;case 52:var xA=_.Sd(b,56);_.Qj(a,56,xA);break;case 56:var ZC=_.B(b,61);_.y(a,61,ZC);break;case 55:a.yA(b.qB());break;case 4:a.Fv(b.UA());break;case 35:_.qgc(a,_.R(b,31));break;case 57:var $C=_.B(b,62);_.y(a,62,$C);break;case 83:_.ugc(a,b.Bc());break;case 84:var jv=_.D(b,_.MJ,86);_.J(a,
86,jv);break;case 98:a.bda(b.Zv());break;case 97:var Ip=b.iD();_.J(a,95,Ip);break;case 19:var Jp=b.Ux();_.y(a,20,Jp);_.sgc(a,_.R(b,44));var yA=_.B(b,90);_.y(a,90,yA);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Rn(b.Wh());break;case 27:_.iUb(a,b.kp());break;case 70:var zA=b.Di();_.y(a,75,zA);break;case 8:var RF=_.R(b,9);_.y(a,9,RF);break;case 126:var QN=_.Sd(b,120);_.Qj(a,120,QN);break;default:throw Error("Qc`"+e);}})};
Ylc=function(a,b){var c=_.oz[a];return b.filter(function(d){return!c||!c.has(d)})};Zlc=function(a,b,c){a=Ylc(c,a);return Slc(b,a,_.Uec)};KK=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};LK=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&KK(a)?(a=a.Pf(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};$lc=function(a){var b=a&&a.getId()||null;a&&KK(a)&&(a=(a=a.Pf())&&_.B(a,1))&&(b=a);return b};
amc=function(a){return!!_.R(a,31)&&!_.R(a,94)};cmc=function(a){return bmc.some(function(b){return Qlc(a,b)})};dmc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(MK(b))})};emc=function(a){return dmc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.fmc=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};gmc=function(a,b){var c=_.Aec(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};
hmc=function(a,b){return 0<=b?!a||a<=b:!0};imc=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.Qac()&&4===b.getType()?"title_natural":_.Hdc[b.getType()];b=_.Jdc[b.xf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};jmc=function(a,b){var c=a.Um();c||(c=new _.Vna,b&&_.J(a,81,c));return c};kmc=function(a){if(LK(a))_.HK(jmc(a,!0),!0);else if(LK(a,!0)){var b=a.Pf();if(b=b&&_.Wd(b))_.HK(jmc(b,!0),!0),_.HK(jmc(a,!0),!0)}};lmc=function(a){return!!a.Um()&&!LK(a)};
mmc=function(a){var b=[];_.Ja(a,function(c){if(3!=MK(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Um())c=c.clone(),_.Rj(c,49),_.Rj(c,51),_.Sj(c,81);b.push(c)}});return b};omc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.kc():c&&c instanceof _.iK?a[b]=c.kc(function(d){return d?d.kc():null}):c&&c instanceof nmc&&(a[b]=c.kc())}};qmc=function(a){var b=a.slice(0),c=new Set(b);pmc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
xmc=function(a,b,c){var d=_.D(a,rmc,66);if(d){var e=_.B(d,1),f=_.VJ(a);a=_.vI(_.hI(a));e=new _.dj(e);var h=new _.dj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.sj(k,3);_.lj(e,"co",h);h=e.Ne();!f&&0<a&&(h+="u/"+a+"/");e.Hi(h+"_/dataservice/cacheproxy");f=_.B(d,5)||"";if(_.Nec(window.location.href,e.toString())&&f)return e=qmc(c),c=_.B(d,6),b="#"+b+"_",d=new _.$H,d.update(e.join(",")),b+=_.Ubc(d.digest()),c&&(b+="&jobset="+c),b=_.By(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.Sga(b),
void 0),b=new smc(c.port),c.port.start()):b=new smc(new Worker(_.Sga(b),void 0)),new tmc(new umc(b,!0),1,f,e);c=e.toString();b="cpiframe_"+_.UH();c=_.rh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Nha(_.rec(_.Tf("display: none;")));document.body.appendChild(c);c=_.Qbc(e.O,void 0,e.H,e.W).toString();return new tmc(new umc(vmc(window.frames[b],c),!0),0,e.toString())}b=new wmc;return new tmc(new umc(b.O,!1),2,"inline",c,new umc(b.H,!1))};
zmc=function(a){var b=new ymc;if(a instanceof _.MI)_.ak(b,16,NK[0],a);else if(a instanceof _.NI)_.ak(b,1,NK[0],a);else if(a instanceof _.OI)_.ak(b,2,NK[0],a);else if(a instanceof _.OK)_.ak(b,17,NK[0],a);else if(a instanceof _.RI)_.ak(b,3,NK[0],a);else if(a instanceof _.sK)_.ak(b,4,NK[0],a);else if(a instanceof _.PI)_.ak(b,5,NK[0],a);else if(a instanceof _.VI)_.ak(b,6,NK[0],a);else if(a instanceof _.XI)_.ak(b,7,NK[0],a);else if(a instanceof _.YI)_.ak(b,8,NK[0],a);else if(a instanceof _.aJ)_.ak(b,9,
NK[0],a);else if(a instanceof _.uJ)_.ak(b,10,NK[0],a);else if(a instanceof _.vJ)_.ak(b,11,NK[0],a);else if(a instanceof _.wJ)_.ak(b,12,NK[0],a);else if(a instanceof _.xI)_.ak(b,13,NK[0],a);else if(a instanceof _.zJ)_.ak(b,14,NK[0],a);else if(a instanceof _.BJ)_.ak(b,15,NK[0],a);else throw new _.pc("Unsupported request type");return b};
Cmc=function(a){a=a.map(function(c){var d=new Amc;if(c instanceof _.MI)_.ak(d,6,PK[0],c);else if(c instanceof _.OK)_.ak(d,7,PK[0],c);else if(c instanceof _.VI)_.ak(d,1,PK[0],c);else if(c instanceof _.uJ)_.ak(d,2,PK[0],c);else if(c instanceof _.vJ)_.ak(d,3,PK[0],c);else if(c instanceof _.xI)_.ak(d,4,PK[0],c);else if(c instanceof _.BJ)_.ak(d,5,PK[0],c);else throw new _.pc("Unsupported request type");return d});var b=new Bmc;_.Tj(b,1,a);return b};
Dmc=function(a){return _.Yj(a,Amc,1).map(function(b){return _.D(b,_.MI,6)||_.D(b,_.VI,1)||_.D(b,_.uJ,2)||_.D(b,_.vJ,3)||_.D(b,_.xI,4)||_.D(b,_.BJ,5)||_.D(b,_.OK,7)})};Gmc=function(a){var b=new Emc;if(a instanceof _.xD)_.ak(b,1,Fmc[0],a);else if(a instanceof _.yD)_.ak(b,2,Fmc[0],a);else throw new _.pc("Unsupported request type");return b};
Jmc=function(a){var b=new Hmc;if(a instanceof _.SI)_.ak(b,1,Imc[0],a);else if(a instanceof _.ZI)_.ak(b,2,Imc[0],a);else if(a instanceof _.CJ)_.ak(b,3,Imc[0],a);else throw new _.pc("Unsupported request type");return b};QK=function(a,b,c){return b?new c(JSON.parse(a)):a};Kmc=function(a){a={t:a.title,d:a.description,c:a.yd,fi:a.j9,dti:a.w0,a:a.fQ?a.fQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.U8})}):void 0};return JSON.stringify(a)};
Lmc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,yd:a.c,j9:a.fi,w0:a.dti,fQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,U8:b.ec}}):void 0}};Mmc=function(a,b,c){a=a?1:2;a=_.cd(_.bd(new _.ad,12),a);var d=(new _.cf).Rn(!0);d=_.y(d,17,!0);a=_.ef(d,a);c&&_.Il(a,c);c=new _.Fdc;b&&_.Hec(c,b);return _.Iec(_.Kec(new _.nI,a),c)};Nmc=function(a){return a.map(function(b){return b.getItem()})};
Omc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};Pmc=function(a,b){var c=new _.dj(_.E(b,16,"")+"/open"),d=a.getId();KK(a)&&(d=$lc(a));_.lj(c,"id",d);_.lj(c,"authuser",_.vI(_.hI(b)));_.T(b,89,!1)&&_.Q(a,140)&&_.lj(c,"resourcekey",_.kl(a));return c.toString()};
Qmc=function(a){_.Lf("drive.DebugUtil.printFindById",function(c){a.UM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Lf("drive.DebugUtil.getLogs",function(){return _.yhc(a.Tf())});_.Lf("drive.DebugUtil.printLogs",function(){window.console.log(_.yhc(a.Tf()))});_.Lf("drive.DebugUtil.printRequestHistory",function(){a.iR().addCallback(function(c){c.forEach(function(d){window.console.log(_.B(d,1));window.console.log(_.B(d,2))})})});_.Lf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.T(b,1,!1)&&(_.Lf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Lf("drive.DebugUtil.setOffline",function(c){return void a.Ml(c)}))};Smc=function(a,b){var c=new _.FK,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.xlc.get(MK(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}Rmc(c,[].concat(_.od(d)));return c};
Tmc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={dfa:c.dfa},d=a.next())if(d=d.value){c.dfa=new Map;[].concat(_.od(_.el(d)),[d.Am(),d.Wt(),d.Lq()]).forEach(function(p){return function(q){q&&p.dfa.set(RK(q),q)}}(c));for(var e=[],f=_.m(c.dfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(RK(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Jk(h))}b.push(d.getId()+","+MK(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+b.join("|"):
""};Umc=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?_.ek(d,f)||(d=_.Jbc(4).setItem(f),c[e]=d):(d=_.Jbc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.Jbc(1).setItem(d),c[e]=d)});return c};Vmc=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Ua(Umc(a,b))};
Ymc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.qf;_.rf(b,305);_.sf(b,!0);_.y(b,3,2);var c=new _.wD;_.J(c,1,b);Wmc(c,[7]);a=a.then(function(d){return d.Te(c)}).then(Xmc);return _.bi(a)};Xmc=function(a){a=_.Yj(a,_.kp,3);var b=new Zmc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.B(d,2))&&(c=_.Qg(c.Ya()),_.y(b,3,c))});return"number"===typeof _.B(b,3)?b:null};
anc=function(a,b){var c=$mc(a.ym,b.Dc());if(c){var d=c.getItem(),e=d.Yv();if(e){var f=e.mR(),h=_.va(f,function(k){return k.getId()===_.B(b,2)});_.igc(e,f);h||(f=_.Yj(e,_.Hk,3),_.va(f,function(k){return k.getId()===_.B(b,2)}),_.jgc(e,f));_.hgc(e,(_.B(e,1)||1)-1);a.tl([d],c.H)}}};
cnc=function(a,b,c){if(b=$mc(a.ym,b.Dc())){var d=b.getItem(),e=d.Yv();if(e){if(1===c.getType()||2===c.getType()){var f=_.Yj(e,_.Hk,3);f.push(c);_.Ha(f,bnc);_.jgc(e,f)}else f=e.mR(),f.push(c),_.Ha(f,bnc),_.igc(e,f);_.hgc(e,(_.B(e,1)||0)+1);a.tl([d],b.H)}}};enc=function(a){return a.map(function(b){var c=new _.Gtb;c=_.y(c,3,dnc[b.serviceName]);return _.y(c,2,Number(b.bytesUsed))})};
gnc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return fnc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
knc=function(a){var b=a.json.exportJob,c=hnc[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=_.af(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.af(b.failedItemInfos||[],function(l){var p=_.hG((new _.dl).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.inc).setItem(p);p=_.y(p,3,l.relativePath);return _.y(p,4,l.cause)});return new jnc(c,d,k,f,h,e,a,b)};
mnc=function(a){var b={},c=a.getKey(),d=c&&_.B(c,2);b.key=d;b.value=a.Ya();(a=c&&_.lp(c))&&(b.namespace=lnc[a]);return b};nnc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(lnc[a[c]]);return b};onc=function(a){return"kind,defaultAppIds,items("+a+")"};pnc=function(a,b){return _.T(b,93,!1)?a+",adminSecureLinkSetting":a};qnc=function(a,b){var c;return(null===(c=_.wI(b))||void 0===c?0:_.T(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
rnc=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
vnc=function(a,b){var c,d;b=b.clone();if(null===(c=_.wI(b))||void 0===c?0:_.T(c,17,!1))null===(d=_.wI(b))||void 0===d?void 0:_.y(d,15,!0);_.y(b,75,1<_.n.devicePixelRatio);var e=b;var f=_.T(e,61,!1),h=_.wI(e),k=!!h&&_.T(h,10,!1);if(_.HI(_.hI(e))||!f&&!k)_.y(e,61,!1),_.Sj(e,66),h&&_.y(h,10,!1),e=!1;else{if(f){_.n.SharedWorker||(f=!1);var l=_.D(e,rmc,66);l&&_.B(l,1)||(f=!1);_.VJ(e)&&!_.T(e,52,!1)&&(f=!1)}f?h&&_.y(h,10,!1):(_.y(e,61,!1),_.Sj(e,66));e=f||k}if(e)return e=_.T(b,61,!1)?3:5,a=new SK(a,b,e),
new snc(a);e=_.HI(_.hI(b))?2:1;a=new TK(a,b,e,void 0,void 0,void 0);return _.HI(_.hI(b))?new tnc(a):new unc(a)};xnc=function(a){return _.re(a).Og(_.T(a.get(_.cp),19,!1)?wnc:_.oVa)};ync=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};znc=function(a,b){return _.Tj(a,1,b)};RK=function(a){return _.B(a,11)};Anc=[1];Bnc=function(a){_.K.call(this,a,-1,Anc)};_.N(Bnc,_.K);Bnc.prototype.rha=function(a){_.bk(this,1,a,_.Hk,void 0)};
var Cnc=function(a){var b=new Bnc;return _.Tj(b,1,a)},Dnc=function(a,b){return _.J(a,1,b)},Enc=function(a,b){_.Tj(a,2,b)},Fnc=function(a,b){_.J(a,6,b)},Gnc=function(a,b){return _.ak(a,3,_.Lk[0],b)},Hnc=function(a){_.K.call(this,a)};_.N(Hnc,_.K);var Inc=function(a){_.K.call(this,a)};_.N(Inc,_.K);var UK=function(a){_.K.call(this,a)};_.N(UK,_.K);var Jnc=function(a){_.K.call(this,a)};_.N(Jnc,_.K);var Knc=function(a){_.K.call(this,a)};_.N(Knc,_.K);var Lnc=function(a){_.K.call(this,a)};_.N(Lnc,_.K);
var Mnc=function(a){_.K.call(this,a)};_.N(Mnc,_.K);var Nnc=function(a){_.K.call(this,a)};_.N(Nnc,_.K);var Onc=function(a){_.K.call(this,a)};_.N(Onc,_.K);var Pnc=function(a){_.K.call(this,a)};_.N(Pnc,_.K);var Qnc=function(a){_.K.call(this,a)};_.N(Qnc,_.K);var Rnc=function(a){_.K.call(this,a)};_.N(Rnc,_.K);var Snc=function(a){_.K.call(this,a)};_.N(Snc,_.K);var Tnc=function(a){_.K.call(this,a)};_.N(Tnc,_.K);
var Unc=function(a,b){_.Tj(a,1,b)},Vnc=function(a,b){return _.y(a,2,b)},Wnc=function(a,b){return _.J(a,3,b)},Xnc=function(a,b){return _.y(a,4,b)},Ync=[[1,2,3,4]],Znc=function(a){_.K.call(this,a,-1,void 0,Ync)};_.N(Znc,_.K);var $nc=function(a,b){_.Tj(a,1,b)},aoc=function(a,b){return _.J(a,2,b)},boc=[[1]],coc=function(a){_.K.call(this,a,-1,void 0,boc)};_.N(coc,_.K);
var doc=function(a,b){_.Tj(a,1,b)},eoc=function(a,b){return _.J(a,4,b)},foc=function(a,b){_.J(a,5,b)},goc=function(a,b){_.Tj(a,2,b)},hoc=function(a,b){_.Tj(a,4,b)},ioc=function(a,b){return _.J(a,5,b)},joc=[[1,2]],koc=function(a){_.K.call(this,a,-1,void 0,joc)};_.N(koc,_.K);var loc=function(a,b){_.Tj(a,1,b)},moc=function(a,b){return _.J(a,2,b)},noc=[[1]],ooc=function(a){_.K.call(this,a,-1,void 0,noc)};_.N(ooc,_.K);
var poc=function(a,b){_.Tj(a,2,b)},qoc=function(a){var b=new _.Vk;return _.Tj(b,3,a)},roc=[[1,2]],soc=function(a){_.K.call(this,a,-1,void 0,roc)};_.N(soc,_.K);soc.prototype.XG=function(){return _.D(this,UK,1)};soc.prototype.Bg=function(a){return _.ak(this,1,roc[0],a)};var toc=[1],uoc=function(a){_.K.call(this,a,-1,toc)};_.N(uoc,_.K);uoc.prototype.Sp=function(){return _.B(this,2)};
var voc=function(a,b){_.Tj(a,1,b)},woc=function(a,b){return _.y(a,2,b)},xoc=function(a,b){return _.J(a,3,b)},yoc=[[1]],zoc=function(a){_.K.call(this,a,-1,void 0,yoc)};_.N(zoc,_.K);var Aoc=[2],Boc=function(a){_.K.call(this,a,-1,Aoc)};_.N(Boc,_.K);var Coc=function(a,b){_.Tj(a,2,b)},Doc=function(a,b){return _.J(a,3,b)},Eoc=[[1]],Foc=function(a){_.K.call(this,a,-1,void 0,Eoc)};_.N(Foc,_.K);Foc.prototype.XG=function(){return _.D(this,Jnc,1)};Foc.prototype.Bg=function(a){return _.ak(this,1,Eoc[0],a)};
var Goc=function(a,b){_.Tj(a,1,b)},Hoc=function(a,b){return _.Tj(a,2,b)},Ioc=[[1,2]],Joc=function(a){_.K.call(this,a,-1,void 0,Ioc)};_.N(Joc,_.K);var Koc=function(a,b){_.Tj(a,1,b)},Loc=function(a,b){return _.J(a,2,b)},Moc=[[1]],Noc=function(a){_.K.call(this,a,-1,void 0,Moc)};_.N(Noc,_.K);var Ooc=function(a,b){return _.J(a,1,b)},Poc=function(a,b){return _.y(a,2,b)},Qoc=function(a,b){return _.y(a,3,b)},Roc=function(a){_.K.call(this,a)};_.N(Roc,_.K);Vlc=function(a,b){_.Tj(a,8,b)};
MK=function(a){return _.Kj(a,52,1)};Ulc=function(a,b){return _.J(a,73,b)};Wlc=function(a,b){_.Tj(a,107,b)};_.IK=function(a){return _.D(a,Roc,109)};Xlc=function(a,b){_.J(a,109,b)};Soc=function(a){var b=new _.pk;var c=_.B(a,1);null!=c&&_.uk(b,1,c);c=_.B(a,2);null!=c&&_.uk(b,2,c);return _.rk(b)};Toc=function(a){_.K.call(this,a)};_.N(Toc,_.K);var rmc=function(a){_.K.call(this,a)};_.N(rmc,_.K);var Uoc=[11],Voc=function(a){_.K.call(this,a,-1,Uoc)};_.N(Voc,_.K);var VK=function(a){_.K.call(this,a)};
_.N(VK,_.K);VK.prototype.getKey=function(){return _.B(this,2)};VK.prototype.ws=function(){return _.Q(this,2)};WK=function(a){return _.E(a,4,"en")};_.XK=function(a){return _.D(a,Voc,34,1)};Woc=function(a,b){return _.y(a,5,b)};_.Xoc=function(a,b){return _.y(a,2,b)};_.Yoc=function(a,b){return _.y(a,3,b)};_.Zoc=function(a,b){return _.y(a,1,b)};_.$oc=function(a,b){return _.y(a,2,b)};_.apc=function(a,b){return _.Tj(a,5,b)};_.bpc=function(a,b){return _.y(a,6,b)};_.cpc=function(a,b){return _.y(a,7,b)};
_.dpc=function(a,b){return _.y(a,8,b)};_.epc=function(a,b){return _.y(a,10,b)};_.fpc=function(a,b){return _.y(a,15,b)};gpc=[2];_.hpc=function(a){_.K.call(this,a,-1,gpc)};_.N(_.hpc,_.K);_.hpc.prototype.Qh=function(){return _.B(this,1)};_.ipc=function(a,b){return _.J(a,1,b)};jpc=function(a,b){return _.y(a,2,b)};kpc=function(a,b){return _.y(a,3,b)};lpc=function(a,b){_.Tj(a,4,b)};_.mpc=function(a,b){_.J(a,8,b)};_.npc=function(a,b){_.J(a,9,b)};opc=function(a){_.K.call(this,a)};_.N(opc,_.K);
opc.prototype.Ya=function(){return _.Lj(this,1)};opc.prototype.Kb=function(a){return _.Vj(this,1,a,0)};Wmc=function(a,b){_.Qj(a,3,b)};YK=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ek(b[a]||void 0,c[a]||void 0))return!0;return!1};_.ppc=function(a){_.K.call(this,a)};_.N(_.ppc,_.K);_.ppc.prototype.getId=function(){return _.B(this,1)};_.ppc.prototype.Pb=function(a){return _.y(this,1,a)};_.ppc.prototype.Ie=function(){return _.B(this,4)};
_.ppc.prototype.yh=function(a){return _.y(this,4,a)};_.sK=function(a){_.K.call(this,a)};_.N(_.sK,_.K);_.sK.prototype.getTitle=function(){return _.B(this,1)};_.sK.prototype.setTitle=function(a){return _.y(this,1,a)};_.sK.prototype.ze=function(){return _.D(this,_.qf,2)};
var qpc=function(a,b){return _.Qj(a,9,b)},rpc=function(a,b){return _.Qj(a,10,b)},spc=function(a,b){return _.y(a,36,b)},tpc=function(a,b){return _.Tj(a,38,b)},upc=function(a,b){return _.y(a,2,b)},vpc=function(a,b){return _.J(a,3,b)},wpc=function(a){_.K.call(this,a)};_.N(wpc,_.K);var xpc=function(a){_.K.call(this,a)};_.N(xpc,_.K);var ypc=function(a){_.K.call(this,a)};_.N(ypc,_.K);var zpc=function(a){_.K.call(this,a)};_.N(zpc,_.K);var Apc=function(a){_.K.call(this,a)};_.N(Apc,_.K);
var Epc=function(a,b){return _.y(a,1,b)},Fpc=function(a,b){return _.y(a,3,b)},Gpc=function(a,b){return _.y(a,4,b)},Hpc=function(a,b){_.y(a,7,b)},Ipc=function(a){_.K.call(this,a)};_.N(Ipc,_.K);Ipc.prototype.sy=function(){return _.R(this,2)};var Jpc=function(a,b){_.y(a,1,b)},Kpc=function(a){_.K.call(this,a)};_.N(Kpc,_.K);Kpc.prototype.Tm=function(){return _.B(this,3)};Kpc.prototype.It=function(a){return _.y(this,3,a)};Kpc.prototype.Bo=function(){return _.B(this,4)};
var Lpc=function(a){_.K.call(this,a)};_.N(Lpc,_.K);var Mpc=[1,3,5],Npc=function(a){_.K.call(this,a,-1,Mpc)};_.N(Npc,_.K);Npc.prototype.ZE=function(){return _.Sd(this,1)};Npc.prototype.sy=function(){return _.R(this,2)};Npc.prototype.Bo=function(){return _.B(this,7)};Opc=function(a,b){_.y(a,2,b)};Ppc=function(a,b){_.Wj(a,5,b,void 0)};Qpc=function(a,b){_.y(a,6,b)};Rpc=function(a,b){_.y(a,7,b)};_.Spc=function(a,b){_.J(a,2,b)};Tpc=function(a,b,c){_.ZJ(a,b,c,"warning")};Upc=function(a){return[].concat(_.od(a.O))};
Vpc=function(a){return a.H.concat([].concat(_.od(a.O)))};Wpc=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(_.od(c))};ZK=function(a){var b=_.gK(a).wd();b||(b=new _.Vgc,a=_.gK(a),_.J(a,1,b));return b};Xpc=function(a){var b=_.D(_.gK(a),Npc,3);b||(b=new Npc,a=_.gK(a),_.J(a,3,b));return b};Ypc=function(a){var b=_.D(_.gK(a),ypc,7);b||(b=new ypc,a=_.gK(a),_.J(a,7,b));return b};
Zpc=function(a){var b=_.D(_.gK(a),Apc,12);b||(b=new Apc,a=_.gK(a),_.J(a,12,b));return b};$pc=function(a){var b=_.D(_.gK(a),Ipc,17);b||(b=new Ipc,a=_.gK(a),_.J(a,17,b));return b};
aqc=function(a){if(a instanceof _.bI)return 2;if(a instanceof _.eG)return 10;if(a instanceof _.cf)return _.gJ(a)?3:_.hJ(a)?7:_.iJ(a)?8:1;if(a instanceof _.jA)return 9;if(a instanceof _.nG)return 11;if(a instanceof _.oJ)return 15;if(a instanceof _.iI)return 6;if(a instanceof _.kJ){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 _.wD)return 4;if(a instanceof _.Tz)return 12;if(a instanceof _.gG)return 13}return 0};
bqc=function(a){var b=null;a instanceof _.cB||"undefined"!=typeof _.iK&&a instanceof _.iK||"undefined"!=typeof _.jK&&a instanceof _.jK?b=a.ef()||0:"undefined"!=typeof _.lK&&a instanceof _.lK||"undefined"!=typeof _.mK&&a instanceof _.mK||"undefined"!=typeof _.nK&&a instanceof _.nK||"undefined"!=typeof _.oK&&a instanceof _.oK||"undefined"!=typeof _.pK&&a instanceof _.pK?b=a.Pe:"undefined"!=typeof _.kK&&a instanceof _.kK&&(b=a.ef());return b||0};
cqc=function(a,b,c){return a.V&&_.uic(a)?(a=_.qic(a.V,b,0),c&&_.Mec(a,c),a):null};dqc=function(a){a.V&&_.uic(a)&&(a=a.V,a.H.DP()&&a.H.ZZ())};eqc=function(a){var b=new _.cJ;return _.y(b,1,a)};fqc=function(a,b){return _.J(a,2,b)};gqc=function(a,b){return _.J(a,1,b)};hqc=function(a,b){a.ha=b};iqc=[2];$K=function(a){_.K.call(this,a,-1,iqc)};_.N($K,_.K);$K.prototype.Bb=function(){return _.B(this,1)};$K.prototype.Ec=function(a){return _.y(this,1,a)};$K.prototype.rha=function(a){_.bk(this,2,a,_.Hk,void 0)};
$K.prototype.dk=function(){return _.B(this,3)};var jqc=[2],kqc=function(a){_.K.call(this,a,-1,jqc)};_.N(kqc,_.K);kqc.prototype.Bb=function(){return _.B(this,1)};kqc.prototype.Ec=function(a){return _.y(this,1,a)};kqc.prototype.dk=function(){return _.B(this,3)};lqc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.Bn,a.H.promise):null};mqc=function(a){var b=[];a.lj.forEach(function(c){(c=c.Cv.config.timestamp)&&b.push(c)});return b};
nqc=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.Cv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,mqc(c))});return b};Rmc=function(a,b){return _.Qj(a,1,b)};oqc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b};
pqc=function(a,b){if(!(a instanceof b.constructor))throw Error("ea");var c=_.Zj(a,!0);b=_.Zj(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++)_.bna(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
qqc={SUCCESS:1,$6b:2,bZb:3,KUb:4,m7b:5,F1b:6,w1b:7,rVb:8,Y5b:9,m6b:10,Z6b:11,WWb:12,AWb:13,b_b:14,vYb:15,EWb:16,DWb:17,JWb:18,GWb:19,HWb:20,D6b:21,i7b:22,X1b:23,c1b:24,kVb:25,PERMISSION_DENIED:26,t0b:27,wVb:28,vVb:29,INTERRUPTED:30,w2b:31,P2b:32,kXb:33,qXb:34,e6b:35,xXb:36,wYb:37,pXb:38,v1b:39,dWb:40,r2b:41,R2b:42,W5b:43,PVb:44,cWb:45,tYb:46,o0b:47,t1b:48,O1b:49,s2b:50,P5b:51,BWb:52,X5b:53,V5b:54,VVb:55,SVb:56,IXb:57,N0b:58,t2b:59,O_b:60,h4b:61,W4b:62,C5b:63,q_b:64,e1b:65,p7b:66,zXb:67,xYb:68,Y6b:69,
v_b:70,uVb:71,HVb:72,d5b:73,D5b:74,z5b:75,x5b:76,S4b:190,w5b:191,e5b:192,k5b:126,g5b:128,h5b:129,i5b:130,j5b:131,l5b:132,m5b:133,q4b:127,n4b:134,o4b:135,s4b:136,t4b:137,u4b:138,p4b:194,r4b:195,v4b:196,m4b:197,V4b:189,g4b:139,i4b:140,w4b:141,x4b:142,J4b:143,M4b:144,N4b:145,O4b:146,P4b:147,Q4b:148,R4b:149,U4b:150,$4b:151,b5b:152,c5b:153,f5b:154,n5b:155,p5b:156,q5b:157,r5b:158,s5b:159,t5b:160,u5b:161,y5b:162,B5b:163,E5b:164,j4b:165,k4b:166,l4b:167,e4b:168,f4b:169,A4b:170,y4b:171,z4b:172,B4b:173,C4b:174,
D4b:175,E4b:176,F4b:177,G4b:178,H4b:179,I4b:180,K4b:181,L4b:182,T4b:106,a5b:183,o5b:184,v5b:185,X4b:186,Y4b:187,Z4b:188,A5b:244,q2b:77,c7b:78,h7b:79,B0b:80,g_b:81,i_b:82,HXb:83,sYb:84,u0b:85,w6b:86,oXb:87,x_b:88,w_b:89,H5b:90,F5b:91,G5b:92,d7b:93,qWb:94,pWb:95,mWb:96,oWb:97,nWb:98,o7b:99,Q3b:100,MWb:101,FWb:102,KWb:103,IWb:104,LWb:105,yYb:107,j6b:108,K3b:109,S6b:110,BYb:111,AYb:112,T_b:113,U_b:114,V2b:115,WVb:116,a0b:117,RXb:118,e7b:119,B1b:120,C1b:121,c_b:193,CWb:122,eXb:123,f_b:124,Z0b:125,y_b:198,
B2b:199,n_b:200,nUb:201,t_b:202,r_b:203,xVb:204,N7b:205,h0b:206,jWb:207,y1b:208,Q2b:209,M3b:210,OUb:211,R_b:212,Y_b:213,$5b:214,Z5b:215,p_b:216,a_b:217,o_b:218,BXb:219,n6b:220,CXb:221,P_b:222,g6b:223,y7b:224,i1b:225,f6b:226,gXb:227,g0b:228,GXb:229,fWb:230,u6b:231,$0b:232,FILE_TOO_LARGE:233,u_b:234,AXb:235,pYb:236,M2b:237,f1b:238,ZTb:239,gWb:240,m1b:241,X3b:242,mXb:243,lUb:245,j_b:246,Q1b:247,h_b:248,A0b:249,d1b:250,uYb:251,iZb:252,S_b:253,TVb:254,zYb:255,n7b:256,VYb:257,K0b:258,b3b:259,A2b:260,F_b:261,
RWb:262,nXb:263,jVb:264,s0b:265,l7b:266,cUb:267,bVb:268,aVb:269,u1b:270};rqc=[2,6];_.jK=function(a){_.K.call(this,a,-1,rqc)};_.N(_.jK,_.K);_.g=_.jK.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.Cd=function(){return _.Yj(this,_.dl,2)};_.g.Vw=function(a){return _.Tj(this,2,a)};_.g.qh=function(a,b){return _.bk(this,2,a,_.dl,b)};_.g.dk=function(){return _.B(this,3)};_.g.nl=function(){return _.T(this,4,!0)};var sqc=function(a,b){return _.Tj(a,6,b)};
_.jK.prototype.Wf=function(){return _.B(this,10)};_.jK.prototype.EP=function(a){return _.y(this,10,a)};_.jK.prototype.ef=function(){return _.B(this,9)};_.jK.prototype.mj=function(a){return _.y(this,9,a)};var Olc=[1004,1005,1002,1003],bmc=[1002,1003,1005],tqc=[1,2],uqc=function(a){_.K.call(this,a,-1,tqc)};_.N(uqc,_.K);_.vqc=function(a){_.K.call(this,a)};_.N(_.vqc,_.K);_.vqc.prototype.Bb=function(){return _.B(this,1)};_.vqc.prototype.Ec=function(a){return _.y(this,1,a)};
_.vqc.prototype.tn=function(){return _.D(this,_.fG,2)};var wqc=function(a){_.ii.call(this,a)};_.N(wqc,_.ii);var xqc=[5,7,9],yqc=function(a){_.K.call(this,a,-1,xqc)};_.N(yqc,_.K);_.g=yqc.prototype;_.g.getUser=function(){return _.D(this,_.Hk,1)};_.g.OA=function(a){_.y(this,2,a)};_.g.setBooleanValue=function(a){return _.y(this,3,a)};_.g.setTextValue=function(a){return _.y(this,4,a)};_.g.hpa=function(a){return _.Qj(this,5,a)};_.g.addTextValues=function(a,b){return _.Wj(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.y(this,6,a)};_.g.dpa=function(a){return _.Qj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Wj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.y(this,8,a)};_.g.Woa=function(a){return _.Qj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Wj(this,9,a,b)};var zqc=[7,10,12,16,13,3],aL=function(a){_.K.call(this,a,-1,zqc)};_.N(aL,_.K);var bL=function(a){return _.B(a,4)};_.g=aL.prototype;_.g.OA=function(a){_.y(this,4,a)};
_.g.setBooleanValue=function(a){return _.y(this,5,a)};_.g.M$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.y(this,6,a)};_.g.hpa=function(a){return _.Qj(this,7,a)};_.g.addTextValues=function(a,b){return _.Wj(this,7,a,b)};_.g.K$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.y(this,8,a)};_.g.L$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.y(this,9,a)};_.g.qMa=function(){return _.Sd(this,10)};
_.g.dpa=function(a){return _.Qj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Wj(this,10,a,b)};_.g.J$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.y(this,11,a)};_.g.Woa=function(a){return _.Qj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Wj(this,12,a,b)};_.g.N$a=function(){return _.D(this,_.Hk,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.MWa=function(){return _.Yj(this,_.Hk,16)};var Aqc=function(a,b){_.Tj(a,16,b)};
aL.prototype.addUserValues=function(a,b){return _.bk(this,16,a,_.Hk,b)};aL.prototype.O=function(){return _.B(this,17)};aL.prototype.setDateStringValue=function(a){return _.y(this,17,a)};aL.prototype.V=function(){return _.Q(this,17)};var Bqc=function(a,b){_.Tj(a,13,b)};aL.prototype.getId=function(){return _.B(this,14)};aL.prototype.Pb=function(a){return _.y(this,14,a)};aL.prototype.getName=function(){return _.B(this,1)};aL.prototype.ud=function(a){return _.y(this,1,a)};
var Cqc=[2],cL=function(a){_.K.call(this,a,-1,Cqc)};_.N(cL,_.K);cL.prototype.getName=function(){return _.B(this,1)};cL.prototype.ud=function(a){return _.y(this,1,a)};cL.prototype.O=function(){return _.Yj(this,aL,2)};var Dqc=function(a,b){_.Tj(a,2,b)};cL.prototype.Dc=function(){return _.B(this,3)};var Eqc=function(a,b){return _.y(a,3,b)},Fqc=function(a){_.K.call(this,a)};_.N(Fqc,_.K);Fqc.prototype.O=function(){return _.D(this,_.MC,1)};Fqc.prototype.V=function(){return _.D(this,_.MC,2)};
Fqc.prototype.ka=function(){return _.D(this,_.MC,3)};var Gqc=function(a){_.K.call(this,a)};_.N(Gqc,_.K);_.g=Gqc.prototype;_.g.Fn=function(){return _.R(this,1)};_.g.Yj=function(a){return _.y(this,1,a)};_.g.Em=function(){return _.R(this,2)};_.g.O$a=function(){return _.R(this,3)};_.g.$n=function(){return _.R(this,4)};var dL=[[13,19,12,11,10,15,14,9,8,18,17,16]],Hqc=function(a){_.K.call(this,a)};_.N(Hqc,_.K);Hqc.prototype.O=function(){return _.R(this,1)};Hqc.prototype.V=function(){return _.R(this,2)};
var Iqc=function(a){_.K.call(this,a)};_.N(Iqc,_.K);Iqc.prototype.mVa=function(){return _.B(this,1)};Iqc.prototype.O=function(){return _.B(this,4)};var Jqc=function(a){_.K.call(this,a)};_.N(Jqc,_.K);Jqc.prototype.V=function(){return _.B(this,1)};Jqc.prototype.O=function(){return _.B(this,2)};var Kqc=function(a){_.K.call(this,a)};_.N(Kqc,_.K);Kqc.prototype.V=function(){return _.B(this,1)};Kqc.prototype.O=function(){return _.B(this,2)};var Lqc=function(a){_.K.call(this,a)};_.N(Lqc,_.K);
var Mqc=[1],Nqc=function(a){_.K.call(this,a)};_.N(Nqc,_.K);Nqc.prototype.O=function(){return _.R(this,1)};Nqc.prototype.V=function(){return _.R(this,2)};var Oqc=function(a){_.K.call(this,a)};_.N(Oqc,_.K);_.g=Oqc.prototype;_.g.Fn=function(){return _.R(this,1)};_.g.Yj=function(a){return _.y(this,1,a)};_.g.Em=function(){return _.R(this,2)};_.g.Z$a=function(){return _.D(this,Fqc,3)};_.g.bab=function(){return _.Q(this,3)};_.g.aab=function(){return _.D(this,Fqc,4)};_.g.dab=function(){return _.Q(this,4)};
_.g.$$a=function(){return _.B(this,5)};_.g.cab=function(){return _.Q(this,5)};var Pqc=function(a){_.K.call(this,a)};_.N(Pqc,_.K);_.g=Pqc.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Hr=function(){return _.Q(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Kb=function(a){return _.y(this,2,a)};_.g.Wi=function(){return _.Rj(this,2)};_.g.kh=function(){return _.Q(this,2)};_.g.Qe=function(){return _.B(this,5)};_.g.tm=function(a){return _.y(this,5,a)};_.g.Y$a=function(){return _.Q(this,5)};
_.g.getCapabilities=function(){return _.D(this,Nqc,3)};_.g.X$a=function(){return _.D(this,Oqc,4)};var Qqc=function(a){_.K.call(this,a,-1,Mqc)};_.N(Qqc,_.K);Qqc.prototype.O=function(){return _.Yj(this,Pqc,1)};var Rqc=function(a,b){_.Tj(a,1,b)},Sqc=function(a){_.K.call(this,a)};_.N(Sqc,_.K);Sqc.prototype.px=function(){return _.B(this,1)};Sqc.prototype.vW=function(){return _.Q(this,1)};Sqc.prototype.getOptions=function(){return _.D(this,Qqc,2)};var Tqc=function(a){_.K.call(this,a)};_.N(Tqc,_.K);
Tqc.prototype.px=function(){return _.B(this,1)};Tqc.prototype.vW=function(){return _.Q(this,1)};Tqc.prototype.getOptions=function(){return _.D(this,Kqc,2)};var Uqc=function(a){_.K.call(this,a)};_.N(Uqc,_.K);var Vqc=function(a){_.K.call(this,a)};_.N(Vqc,_.K);Vqc.prototype.px=function(){return _.B(this,1)};Vqc.prototype.vW=function(){return _.Q(this,1)};Vqc.prototype.getOptions=function(){return _.D(this,Uqc,2)};var eL=[[3,4,5,6,7,8,9,10,11,12]],Wqc=function(a){_.K.call(this,a,-1,void 0,eL)};
_.N(Wqc,_.K);_.g=Wqc.prototype;_.g.$ca=function(a){return _.ak(this,3,eL[0],a)};_.g.Z4a=function(a){return _.ak(this,4,eL[0],a)};_.g.m4a=function(a){return _.ak(this,5,eL[0],a)};_.g.l4a=function(a){return _.ak(this,6,eL[0],a)};_.g.Z3a=function(a){return _.ak(this,7,eL[0],a)};_.g.M4a=function(a){return _.ak(this,8,eL[0],a)};_.g.L4a=function(a){return _.ak(this,9,eL[0],a)};_.g.d5a=function(a){return _.ak(this,10,eL[0],a)};_.g.lpa=function(a){return _.ak(this,11,eL[0],a)};
_.g.Soa=function(a){return _.ak(this,12,eL[0],a)};var Xqc=function(a){_.K.call(this,a)};_.N(Xqc,_.K);var Yqc=function(a){_.K.call(this,a)};_.N(Yqc,_.K);Yqc.prototype.px=function(){return _.B(this,1)};Yqc.prototype.vW=function(){return _.Q(this,1)};Yqc.prototype.getOptions=function(){return _.D(this,Xqc,2)};var Zqc=function(a){_.K.call(this,a,-1,void 0,dL)};_.N(Zqc,_.K);_.g=Zqc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};
_.g.R$a=function(){return _.B(this,2)};_.g.ve=function(){return _.B(this,4)};_.g.Q$a=function(){return _.D(this,Gqc,5)};_.g.getCapabilities=function(){return _.D(this,Hqc,6)};_.g.W$a=function(){return _.B(this,7)};_.g.Z3a=function(a){return _.ak(this,13,dL[0],a)};_.g.P$a=function(){return _.D(this,Iqc,19)};_.g.Soa=function(a){return _.ak(this,19,dL[0],a)};_.g.l4a=function(a){return _.ak(this,12,dL[0],a)};_.g.m4a=function(a){return _.ak(this,11,dL[0],a)};_.g.Ctb=function(){return _.D(this,Jqc,10)};
_.g.S$a=function(){return _.D(this,Sqc,15)};_.g.L4a=function(a){return _.ak(this,15,dL[0],a)};_.g.T$a=function(){return _.D(this,Qqc,14)};_.g.M4a=function(a){return _.ak(this,14,dL[0],a)};_.g.Z4a=function(a){return _.ak(this,9,dL[0],a)};_.g.U$a=function(){return _.D(this,Kqc,8)};_.g.$ca=function(a){return _.ak(this,8,dL[0],a)};_.g.V$a=function(){return _.D(this,Yqc,18)};_.g.lpa=function(a){return _.ak(this,18,dL[0],a)};_.g.d5a=function(a){return _.ak(this,17,dL[0],a)};
var $qc=[5],arc=function(a){_.K.call(this,a)};_.N(arc,_.K);arc.prototype.ka=function(){return _.R(this,1)};arc.prototype.O=function(){return _.R(this,2)};arc.prototype.ma=function(){return _.R(this,3)};arc.prototype.V=function(){return _.R(this,4)};var fL=function(a){_.K.call(this,a,-1,$qc)};_.N(fL,_.K);fL.prototype.getName=function(){return _.B(this,1)};fL.prototype.ud=function(a){return _.y(this,1,a)};fL.prototype.nn=function(){return _.B(this,2)};var brc=function(a,b){return _.y(a,2,b)};
fL.prototype.V=function(){return _.B(this,14)};var crc=function(a,b){return _.y(a,14,b)};_.g=fL.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.y(this,3,a)};_.g.Qe=function(){return _.B(this,4)};_.g.tm=function(a){return _.y(this,4,a)};_.g.fab=function(){return _.B(this,15)};_.g.eab=function(){return _.Yj(this,Zqc,5)};
var drc=function(a,b){return _.Tj(a,5,b)},erc=function(a,b){_.J(a,6,b)},frc=function(a,b){_.J(a,7,b)},grc=function(a,b){_.J(a,8,b)},hrc=function(a,b){return _.y(a,9,b)},irc=function(a,b){return _.y(a,10,b)},jrc=function(a,b){return _.y(a,11,b)};fL.prototype.O=function(){return _.D(this,Gqc,12)};var krc=function(a,b){_.J(a,12,b)};fL.prototype.getCapabilities=function(){return _.D(this,arc,13)};var lrc=function(a,b){_.J(a,13,b)};fL.prototype.getCustomer=function(){return _.B(this,16)};
mrc=function(a,b){return _.y(a,16,b)};nrc=[3];_.gL=function(a){_.K.call(this,a,-1,nrc)};_.N(_.gL,_.K);_.gL.prototype.getType=function(){return _.B(this,1)};_.gL.prototype.Dc=function(){return _.B(this,2)};_.OK=function(a){_.K.call(this,a)};_.N(_.OK,_.K);_.OK.prototype.getId=function(){return _.B(this,1)};_.OK.prototype.Pb=function(a){return _.y(this,1,a)};_.OK.prototype.ze=function(){return _.D(this,_.qf,3)};_.orc=function(a){_.K.call(this,a)};_.N(_.orc,_.K);
_.orc.prototype.getFeature=function(){return _.B(this,1)};prc=[1];_.fK=function(a){_.K.call(this,a,-1,prc)};_.N(_.fK,_.K);qrc=[2,3,8];_.vJ=function(a){_.K.call(this,a,-1,qrc)};_.N(_.vJ,_.K);_.vJ.prototype.getId=function(){return _.B(this,1)};_.vJ.prototype.Pb=function(a){return _.y(this,1,a)};_.vJ.prototype.ze=function(){return _.D(this,_.qf,4)};_.vJ.prototype.Bc=function(){return _.B(this,5)};var rrc=function(a){_.K.call(this,a)};_.N(rrc,_.K);
var src=[1,2,4],trc={f7b:0,L0b:1,Z1b:2,M1b:3,A_b:4,LUb:5,M0b:6,N1b:7,IZb:8,iVb:9,K1b:10},hL=function(){this.map={};this.status=6;this.Pe=null};hL.prototype.Bb=function(){return this.status};hL.prototype.Ec=function(a){this.status=a};hL.prototype.ef=function(){return this.Pe};hL.prototype.mj=function(a){this.Pe=a};var urc=function(a,b){a.map=b};hL.prototype.kc=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.Pe,me:b})};
vrc=function(a,b,c){c=JSON.parse(c);a.Ec(c.s);a.mj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.iK=function(){hL.apply(this,arguments)};_.N(_.iK,hL);var wrc=function(){hL.apply(this,arguments)};_.N(wrc,hL);var xrc=function(a){_.K.call(this,a)};_.N(xrc,_.K);xrc.prototype.getType=function(){return _.B(this,1)};var yrc=function(a){var b=new xrc;return _.y(b,1,a)},zrc=function(a,b){return _.J(a,2,b)};xrc.prototype.py=function(){return _.B(this,3)};
xrc.prototype.Sy=function(a){return _.y(this,3,a)};xrc.prototype.Ni=function(){return _.B(this,4)};xrc.prototype.setPosition=function(a){return _.y(this,4,a)};var Arc=[2],Brc=function(a){_.K.call(this,a,-1,Arc)};_.N(Brc,_.K);Brc.prototype.Bb=function(){return _.B(this,1)};Brc.prototype.Ec=function(a){return _.y(this,1,a)};var Crc=[2],iL=function(a){_.K.call(this,a,-1,Crc)};_.N(iL,_.K);iL.prototype.Bb=function(){return _.B(this,1)};iL.prototype.Ec=function(a){return _.y(this,1,a)};
iL.prototype.O=function(){return _.Yj(this,cL,2)};var Drc=function(a,b){return _.Tj(a,2,b)};iL.prototype.dk=function(){return _.B(this,3)};var Erc=function(a){_.K.call(this,a)};_.N(Erc,_.K);Erc.prototype.Bb=function(){return _.B(this,1)};Erc.prototype.Ec=function(a){return _.y(this,1,a)};var Frc=function(a,b){return _.J(a,2,b)},Grc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},Hrc=function(a){_.K.call(this,a)};_.N(Hrc,_.K);Hrc.prototype.Qe=function(){return _.E(this,1)};
Hrc.prototype.tm=function(a){return _.ik(this,1,a)};Hrc.prototype.getUrl=function(){return _.E(this,2)};_.Irc=function(a){_.K.call(this,a)};_.N(_.Irc,_.K);_.Irc.prototype.getType=function(){return _.Kj(this,1,0)};_.Irc.prototype.getContext=function(){return _.D(this,Hrc,2)};_.Irc.prototype.Zi=function(a){return _.J(this,2,a)};Jrc=[1];Krc=[2,4];_.Lrc=function(a){_.K.call(this,a,-1,Krc)};_.N(_.Lrc,_.K);_.Lrc.prototype.getLabel=function(){return _.E(this,1)};
_.Lrc.prototype.getTitle=function(){return _.E(this,3)};_.Lrc.prototype.setTitle=function(a){return _.ik(this,3,a)};_.Mrc=function(a){_.K.call(this,a,-1,Jrc)};_.N(_.Mrc,_.K);_.Nrc=[[2,3,4]];_.jL=function(a){_.K.call(this,a)};_.N(_.jL,_.K);_.jL.prototype.ve=function(){return _.E(this,3)};_.jL.prototype.Qn=function(a){return _.ik(this,4,a)};_.Orc=function(a){_.K.call(this,a)};_.N(_.Orc,_.K);_.Prc=function(a){_.K.call(this,a,-1,void 0,_.Nrc)};_.N(_.Prc,_.K);var Qrc=function(a){_.K.call(this,a)};
_.N(Qrc,_.K);Rrc=[3,5];_.kL=[[8,9,10,11,12,13,14]];_.Src=function(a){_.K.call(this,a)};_.N(_.Src,_.K);_.Trc=function(a){_.K.call(this,a,-1,Rrc,_.kL)};_.N(_.Trc,_.K);_.Trc.prototype.Bb=function(){return _.Kj(this,6,0)};_.Trc.prototype.Ec=function(a){return _.ok(this,6,a)};var Urc=function(a){_.K.call(this,a)};_.N(Urc,_.K);var Vrc=function(a){_.K.call(this,a)};_.N(Vrc,_.K);var Wrc=function(a){_.K.call(this,a)};_.N(Wrc,_.K);var Xrc=[1],Yrc=function(a){_.K.call(this,a,-1,Xrc)};_.N(Yrc,_.K);
var Zrc=function(a){_.K.call(this,a)};_.N(Zrc,_.K);var $rc=function(a){_.K.call(this,a)};_.N($rc,_.K);asc=[7];_.bsc=[[1,2,3]];_.csc=function(a){_.K.call(this,a)};_.N(_.csc,_.K);_.dsc=function(a){_.K.call(this,a)};_.N(_.dsc,_.K);_.esc=function(a){_.K.call(this,a)};_.N(_.esc,_.K);_.fsc=function(a){_.K.call(this,a,-1,asc,_.bsc)};_.N(_.fsc,_.K);_.gsc=function(a){_.K.call(this,a)};_.N(_.gsc,_.K);_.gsc.prototype.getName=function(){return _.E(this,1)};_.gsc.prototype.ud=function(a){return _.ik(this,1,a)};
var hsc=function(a){_.K.call(this,a)};_.N(hsc,_.K);hsc.prototype.getName=function(){return _.E(this,1)};hsc.prototype.ud=function(a){return _.ik(this,1,a)};hsc.prototype.getTitle=function(){return _.E(this,2)};hsc.prototype.setTitle=function(a){return _.ik(this,2,a)};var isc=[[1,4]],jsc=function(a){_.K.call(this,a,-1,void 0,isc)};_.N(jsc,_.K);jsc.prototype.getUser=function(){return _.D(this,_.Prc,1)};var ksc=[[8,9,10]],lsc=function(a){_.K.call(this,a)};_.N(lsc,_.K);
var msc=function(a){_.K.call(this,a)};_.N(msc,_.K);msc.prototype.getType=function(){return _.Kj(this,6,0)};var nsc=function(a){_.K.call(this,a)};_.N(nsc,_.K);_.osc=function(a){_.K.call(this,a,-1,void 0,ksc)};_.N(_.osc,_.K);_.g=_.osc.prototype;_.g.getName=function(){return _.E(this,1)};_.g.ud=function(a){return _.ik(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ik(this,2,a)};_.g.getFile=function(){return _.D(this,lsc,3)};
_.g.Yja=function(){return _.D(this,msc,9)};_.g.Fza=function(){return _.D(this,nsc,10)};_.g.Di=function(){return _.fk(this,5)};_.g.getMimeType=function(){return _.E(this,6)};_.g.$C=function(){return _.D(this,jsc,7)};var psc=function(a){_.K.call(this,a)};_.N(psc,_.K);var qsc=[[8,9,10]],rsc=function(a){_.K.call(this,a,-1,void 0,qsc)};_.N(rsc,_.K);_.g=rsc.prototype;_.g.getName=function(){return _.E(this,1)};_.g.ud=function(a){return _.ik(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};
_.g.setTitle=function(a){return _.ik(this,2,a)};_.g.getFile=function(){return _.D(this,lsc,3)};_.g.Yja=function(){return _.D(this,msc,9)};_.g.Fza=function(){return _.D(this,nsc,10)};ssc=[[1,3]];_.lL=function(a){_.K.call(this,a,-1,void 0,ssc)};_.N(_.lL,_.K);_.lL.prototype.ti=function(){return _.D(this,rsc,1)};_.tsc=[[1,2,3]];_.usc=function(a){_.K.call(this,a)};_.N(_.usc,_.K);_.vsc=function(a){_.K.call(this,a,-1,void 0,_.tsc)};_.N(_.vsc,_.K);var wsc=function(a){_.K.call(this,a)};_.N(wsc,_.K);
var xsc=function(a){_.K.call(this,a)};_.N(xsc,_.K);ysc=[2,3];_.zsc=function(a){_.K.call(this,a,-1,ysc)};_.N(_.zsc,_.K);_.zsc.prototype.getType=function(){return _.Kj(this,1,0)};_.Asc=function(a){_.K.call(this,a)};_.N(_.Asc,_.K);_.Asc.prototype.getType=function(){return _.Kj(this,1,0)};var Bsc=function(a){_.K.call(this,a)};_.N(Bsc,_.K);Bsc.prototype.getType=function(){return _.Kj(this,1,0)};var Csc=function(a){_.K.call(this,a)};_.N(Csc,_.K);_.Dsc=function(a){_.K.call(this,a)};_.N(_.Dsc,_.K);
_.Dsc.prototype.O=function(){return _.T(this,1)};var Esc=function(a){_.K.call(this,a)};_.N(Esc,_.K);Fsc=[1,2,4];_.Gsc=function(a){_.K.call(this,a)};_.N(_.Gsc,_.K);Hsc=[1,2];_.Isc=function(a){_.K.call(this,a)};_.N(_.Isc,_.K);_.Isc.prototype.getParent=function(){return _.D(this,_.lL,1)};_.Isc.prototype.Gg=function(a){return _.J(this,1,a)};_.Jsc=function(a){_.K.call(this,a,-1,Hsc)};_.N(_.Jsc,_.K);_.Ksc=function(a){_.K.call(this,a,-1,Fsc)};_.N(_.Ksc,_.K);_.mL=function(a){_.K.call(this,a)};_.N(_.mL,_.K);
_.mL.prototype.getEmail=function(){return _.E(this,1)};_.mL.prototype.getTitle=function(){return _.E(this,2)};_.mL.prototype.setTitle=function(a){return _.ik(this,2,a)};_.nL=[[2,3,4,5]];_.oL=function(a){_.K.call(this,a,-1,void 0,_.nL)};_.N(_.oL,_.K);_.oL.prototype.Df=function(){return _.Kj(this,1,0)};_.oL.prototype.getUser=function(){return _.D(this,_.Prc,2)};var Lsc=function(a){_.K.call(this,a)};_.N(Lsc,_.K);Msc=[1,2,3,4];_.Nsc=function(a){_.K.call(this,a,-1,Msc)};_.N(_.Nsc,_.K);
_.Osc=function(a){_.K.call(this,a)};_.N(_.Osc,_.K);_.Psc=function(a){_.K.call(this,a)};_.N(_.Psc,_.K);_.Qsc=function(a){_.K.call(this,a)};_.N(_.Qsc,_.K);_.Rsc=function(a){_.K.call(this,a)};_.N(_.Rsc,_.K);_.Rsc.prototype.getType=function(){return _.Kj(this,1,0)};Ssc=[1];_.Tsc=function(a){_.K.call(this,a)};_.N(_.Tsc,_.K);_.Tsc.prototype.getFeature=function(){return _.Kj(this,1,0)};_.Usc=function(a){_.K.call(this,a,-1,Ssc)};_.N(_.Usc,_.K);var Vsc=function(a){_.K.call(this,a)};_.N(Vsc,_.K);
var Wsc=function(a){_.K.call(this,a)};_.N(Wsc,_.K);var Xsc=function(a){_.K.call(this,a)};_.N(Xsc,_.K);Xsc.prototype.getType=function(){return _.Kj(this,1,0)};_.pL=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.rL=function(a){_.K.call(this,a,-1,void 0,_.pL)};_.N(_.rL,_.K);_.rL.prototype.Uz=function(){return _.D(this,Xsc,10)};_.Ysc=function(a){_.K.call(this,a)};_.N(_.Ysc,_.K);var Zsc=function(a){_.K.call(this,a)};_.N(Zsc,_.K);_.$sc=function(a){_.K.call(this,a)};_.N(_.$sc,_.K);
_.atc=function(a){_.K.call(this,a)};_.N(_.atc,_.K);_.atc.prototype.getType=function(){return _.Kj(this,1,0)};_.btc=[[1,2,3,4,5]];_.ctc=function(a){_.K.call(this,a,-1,void 0,_.btc)};_.N(_.ctc,_.K);_.ctc.prototype.getUser=function(){return _.D(this,_.Prc,1)};var dtc=function(a){_.K.call(this,a)};_.N(dtc,_.K);dtc.prototype.getType=function(){return _.Kj(this,2,0)};dtc.prototype.Bh=function(){return _.E(this,1)};_.etc=function(a){_.K.call(this,a)};_.N(_.etc,_.K);_.g=_.etc.prototype;
_.g.getName=function(){return _.E(this,1)};_.g.ud=function(a){return _.ik(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ik(this,2,a)};_.g.Na=function(){return _.D(this,_.osc,3)};_.ftc=function(a){_.K.call(this,a)};_.N(_.ftc,_.K);_.ftc.prototype.getParent=function(){return _.D(this,_.osc,4)};_.ftc.prototype.Gg=function(a){return _.J(this,4,a)};_.gtc=[[1,5,3]];_.htc=function(a){_.K.call(this,a,-1,void 0,_.gtc)};_.N(_.htc,_.K);
_.htc.prototype.ti=function(){return _.D(this,_.osc,1)};itc=function(a,b){return new _.wcc(_.xcc.bound(a,b,void 0,void 0))};jtc=function(){var a=new _.Vh,b=_.Jcc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Jd(_.fI(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.ktc=function(a){_.K.call(this,a)};_.N(_.ktc,_.K);_.ktc.prototype.Iq=function(){return _.B(this,1)};_.ktc.prototype.Od=function(){return _.B(this,2)};
_.ktc.prototype.setSize=function(a){return _.y(this,2,a)};_.ktc.prototype.getUrl=function(){return _.B(this,3)};_.ltc=function(a){_.K.call(this,a)};_.N(_.ltc,_.K);_.ltc.prototype.getType=function(){return _.B(this,1)};mtc=[2,3];_.ntc=function(a){_.K.call(this,a,-1,mtc)};_.N(_.ntc,_.K);otc=[4,5,6,17,18,24];_.sL=function(a){_.K.call(this,a,-1,otc)};_.N(_.sL,_.K);_.sL.prototype.getId=function(){return _.B(this,1)};_.sL.prototype.Pb=function(a){return _.y(this,1,a)};
_.sL.prototype.getName=function(){return _.B(this,2)};_.sL.prototype.ud=function(a){return _.y(this,2,a)};var ptc=function(a,b){return _.Qj(a,4,b)},qtc=function(a,b){return _.Qj(a,5,b)};_.sL.prototype.SQ=function(){return _.B(this,8)};_.sL.prototype.wAa=function(){return _.R(this,22)};_.sL.prototype.getType=function(){return _.B(this,23)};_.sL.prototype.Em=function(){return _.R(this,33)};var Zmc=function(a){_.K.call(this,a)};_.N(Zmc,_.K);var rtc=[3],uL=function(a){_.K.call(this,a,-1,rtc)};
_.N(uL,_.K);uL.prototype.oq=function(){return _.B(this,1)};var stc=function(a,b){return _.y(a,1,b)};uL.prototype.getTitle=function(){return _.B(this,2)};uL.prototype.setTitle=function(a){return _.y(this,2,a)};uL.prototype.Cd=function(){return _.Yj(this,_.dl,3)};var ttc=function(a,b){return _.Tj(a,3,b)};uL.prototype.qh=function(a,b){return _.bk(this,3,a,_.dl,b)};uL.prototype.V=function(){return _.B(this,4)};var utc=function(a,b){return _.y(a,4,b)};uL.prototype.O=function(){return _.D(this,_.Kk,5)};
var vtc=function(a,b){return _.J(a,5,b)},wtc=[2],vL=function(a){_.K.call(this,a,-1,wtc)};_.N(vL,_.K);vL.prototype.Bb=function(){return _.B(this,1)};vL.prototype.Ec=function(a){return _.y(this,1,a)};vL.prototype.ql=function(){return _.Yj(this,uL,2)};var xtc=function(a,b){return _.Tj(a,2,b)};vL.prototype.Wf=function(){return _.B(this,4)};ytc=function(a,b){return _.y(a,4,b)};_.kK=function(a){_.K.call(this,a)};_.N(_.kK,_.K);_.g=_.kK.prototype;_.g.Bb=function(){return _.B(this,1)};
_.g.Ec=function(a){return _.y(this,1,a)};_.g.ZT=function(){return _.Mj(this,2,void 0,_.fG)};_.g.dk=function(){return _.B(this,3)};_.g.ef=function(){return _.B(this,5)};_.g.mj=function(a){return _.y(this,5,a)};var ztc=[1],PK=[[1,2,3,4,5,6,7]],Amc=function(a){_.K.call(this,a,-1,void 0,PK)};_.N(Amc,_.K);var Bmc=function(a){_.K.call(this,a,-1,ztc)};_.N(Bmc,_.K);var wL=function(a){_.K.call(this,a)};_.N(wL,_.K);wL.prototype.getQuery=function(){return _.D(this,_.cf,1,1)};
var Atc=function(a,b){return _.J(a,1,b)};wL.prototype.Zn=function(){return _.B(this,4)};var Btc=function(a,b){return _.J(a,5,b)},Ctc=[1,2,5,7,9,10,12,14],xL=function(a){_.K.call(this,a,-1,Ctc)};_.N(xL,_.K);xL.prototype.Cd=function(){return _.Yj(this,_.dl,1)};var Dtc=function(a,b){return _.Tj(a,1,b)};xL.prototype.qh=function(a,b){return _.bk(this,1,a,_.dl,b)};xL.prototype.rha=function(a){_.bk(this,2,a,_.Hk,void 0)};var Etc=function(a,b){return _.y(a,3,b)};
xL.prototype.ao=function(){return _.B(this,4)};xL.prototype.Iu=function(a){return _.y(this,4,a)};var Ftc=function(a,b){return _.Tj(a,5,b)},Gtc=function(a,b){return _.y(a,6,b)};xL.prototype.Cf=function(){return _.D(this,_.oB,8)};var Htc=function(a,b){return _.Qj(a,12,b)};xL.prototype.Bo=function(){return _.Kj(this,13,0)};var Itc=function(a,b){return _.y(a,13,b)},Jtc={mVb:0,lVb:1,$_b:2,h6b:3,k6b:4},NK=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],ymc=function(a){_.K.call(this,a,-1,void 0,NK)};
_.N(ymc,_.K);var Fmc=[[1,2]],Emc=function(a){_.K.call(this,a,-1,void 0,Fmc)};_.N(Emc,_.K);var Imc=[[1,2,3]],Hmc=function(a){_.K.call(this,a,-1,void 0,Imc)};_.N(Hmc,_.K);_.yL=function(a){_.K.call(this,a)};_.N(_.yL,_.K);_.yL.prototype.xY=function(a){_.J(this,1,a)};_.yL.prototype.Dr=function(){return _.D(this,_.Vx,2)};_.yL.prototype.FF=function(a){_.J(this,2,a)};Ktc=[[5,6]];_.Ltc=function(a){_.K.call(this,a,-1,void 0,Ktc)};_.N(_.Ltc,_.K);_.Ltc.prototype.Qh=function(){return _.D(this,dtc,2)};
_.Ltc.prototype.O=function(a){_.ak(this,5,Ktc[0],a)};Mtc=[3,4,5];Ntc=[[6,7]];_.Otc=function(a){_.K.call(this,a,-1,Mtc,Ntc)};_.N(_.Otc,_.K);_.Otc.prototype.O=function(a){_.ak(this,6,Ntc[0],a)};var Ptc=[1],Qtc=function(a){_.K.call(this,a,-1,Ptc)};_.N(Qtc,_.K);Qtc.prototype.oy=function(){return _.E(this,2)};
var Rtc=function(a,b){return 1<a?2===b:a===b},Stc=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("Qe");},zL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.H=void 0===c?1:c;this.V=d;this.O=e};_.g=zL.prototype;_.g.clone=function(){return new zL(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.hc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a;return this};_.g.OD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.hc()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ek(this.item,a.getItem())};Ttc=function(a,b){a.O=b;return a};_.lK=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.d0=void 0===c?null:c};_.ifc=function(a){this.H=a;this.type=1};Utc=function(){};Vtc=function(a){this.H=a};_.jfc=function(a){this.H=a;this.type=0};
jnc=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.hA=f;this.H=h;this.W=k};_.nK=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.d0=void 0===c?null:c};_.qfc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.tfc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.oK=function(a,b,c){this.response=a;this.Pe=void 0===b?0:b;this.d0=void 0===c?null:c};
_.pK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};_.mK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Pe=void 0===d?0:d};Wtc=function(a){_.mK.call(this,a,void 0,void 0,void 0);this.W3a=new _.Bn};_.N(Wtc,_.mK);
var Xtc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},Ytc=function(a){return[].concat(_.od(new Set(a.map(function(b){return _.Kdc.get(b)}).filter(function(b){return b})))).join(",")},AL=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.od(b));b=Ytc(b);var d=_.mI(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.T(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.T(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.T(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},Ztc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+AL(a,b,!1)+")"},BL=function(a){return a instanceof _.dl?null!=a.getId()&&a.getId()==a.Bc():null!=a.Dc()&&a.Dc()==a.Bc()},$tc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.zg();null!=e&&Ulc(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Yk,h=_.R(e,13);_.y(f,13,h);_.PJ(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Yk,e=_.R(e,18),_.y(f,18,e),_.PJ(a,f));JK(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.zg()&&JK(a,d,c)},auc=function(a,b,c){c=void 0===c?[]:c;if(!b||!BL(a)&&!BL(b))return a;if(2==MK(a)){c=_.B(a,82);var d=b.clone();$tc(d,a);_.tgc(d,MK(b));_.BI(d,c);return d}a=a.clone();$tc(a,b,c);return a},buc=function(a){return(a=a?a.zg():null)&&a.Em()||!1},cuc=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},duc=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]={}})},fuc=function(a,b,c){b.every(function(d){return BL(d)})?euc(b,c,a.H,a.O):b.every(function(d){return!BL(d)})&&euc(b,c,a.items,a.fields)},euc=function(a,b,c,d){var e=_.Wec(b,[].concat(_.od(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&JK(f,k,[h])})})};cuc.prototype.update=function(a,b,c){b&&BL(b)?guc(a,b,this.H,this.O,c):guc(a,b,this.items,this.fields,c)};cuc.prototype.CJ=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 guc=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&&Rlc(b,[h])){var k=new _.dl;k.Pb(b.getId());JK(k,b,[h]);f[a]=k}});b&&Nlc(b,[].concat(_.od(d)))};
cuc.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};cuc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var huc=function(a,b,c){var d=this;this.zt=b;this.vv=c;this.Ld=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=huc.prototype;_.g.jy=function(){return this.Ld};
_.g.wk=function(a){var b=new Map;a=_.m(a.rn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Ld.has(c)&&b.set(c,this.Ld.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(iuc(a)){for(var d=_.m(this.Ld.values()),e=d.next();!e.done;e=d.next())e=e.value,CL(this.zt,a,e.getItem())&&(void 0===b||Rtc(e.H,b))&&c.push(e);this.vv.sort(a,c)}return c};_.g.get=function(a){return this.Ld.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Ld.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,juc(this,a.H)?(this.Ld.delete(a.id),a.H.count--):this.Ld.set(a.id,a.H)):(this.Ld.delete(a.id),a.O.count--)};var juc=function(a,b){return 1<b.hc()||Rtc(b.H,2)||b.getItem().TI()||lmc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
huc.prototype.CJ=function(){for(var a=_.m(this.Ld.values()),b=a.next();!b.done;b=a.next())b=b.value,juc(this,b)&&(this.Ld.delete(b.getId()),b.count--)};var kuc=function(a,b,c,d){this.Mg=a;this.W=b;this.O=c;this.V=d},$mc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),fuc(a.V,[b.getItem()],Vpc(a.Mg)),b):null};kuc.prototype.H=function(a){return(a=$mc(this,a))?a.getItem():null};
var luc=function(a,b){var c={};b.forEach(function(d){var e=$mc(a,d);e&&(c[d]=e)});return c},muc=function(a,b){return _.Oa(luc(a,b),function(c){return c.getItem()})},nuc=function(a,b){b=DL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};kuc.prototype.query=function(a){return nuc(this,a).map(function(b){return b.getItem()})};kuc.prototype.Od=function(){return this.O.jy().size};
var ouc=function(a){var b=new Set;a=_.m(a.O.jy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.el(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||RK(e));(d=c.Am())&&b.add(d.getId()||RK(d));(d=c.Wt())&&b.add(d.getId()||RK(d));(d=c.Lq())&&b.add(d.getId()||RK(d));(c=c.iD())&&b.add(c.getId()||RK(c))}return b.size},puc=function(a){var b=new _.To;_.eK(b,"hidden",a.Em());a=_.R(a,6);null!=a&&_.eK(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
quc=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}},ruc=function(a){var b=_.Qac(),c={};b&&(c.numeric=b);this.H=_.Rac(a,c)};ruc.prototype.compare=function(a,b,c){b=suc(b);c=suc(c);a=a.Ac();var d=quc(a);if(a&&d){d=tuc(this,a);var e=4===a.getType()?this.H:_.Fa;return uuc(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
ruc.prototype.sort=function(a,b,c){a=a.Ac();var d=quc(a);a&&d&&(d=tuc(this,a),d=vuc(b,d),_.Ha(b,wuc(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var suc=function(a){return a instanceof _.dl?a:a.getItem()},tuc=function(a,b){b=quc(b);return _.u(a.O,a,b,_.Fa)},vuc=function(a,b){var c={};a.forEach(function(d){d=suc(d);var e=d.getId();c[e]=b(d)});return c},wuc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Fa;d=suc(d);e=suc(e);return uuc(b,function(h){return c[h.getId()]},f,d,e)}},uuc=function(a,b,c,d,e){var f=1===a.xf()?1:-1;if(_.R(a,3)){a=LK(d,!0);var h=LK(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Fa(d.getId(),
e.getId()))};ruc.prototype.O=function(a,b,c){for(var d=xuc(a[0],c),e=1;e<a.length;e++){var f=xuc(a[e],c);d=1===b(f,d)?f:d}return d};
var xuc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.UA()||!1;case 12:return b.gz()||0;case 11:return b.jB()||0;case 10:return b.Cq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.qy()||0;case 57:return _.B(b,62)||0;case 32:return b.Su()||0;case 9:return b.SC()||0;case 67:return b.XJ()||0;case 98:return b.Zv()||0;default:return""}},yuc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.qr=_.HI(_.hI(b));
a=_.wI(b);this.V=!(!a||!_.T(a,1,!1));this.O=!(!a||!_.T(a,8,!1))};yuc.prototype.Iu=function(a){this.rootId=a||""};
var DL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Hl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Kb(a.rootId)});_.lf(b,_.Gl(b).map(function(d){d.Kb(d.Ya().toLowerCase());return d}));c&&_.Fl(b,a.fields);b.O().sort();return b},EL=function(a,b,c){if(b instanceof _.cf){b=DL(a,b);var d=_.Rhc(b)}else if(b instanceof _.jA)d=b.rn().sort().join(","),_.T(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.bI)return d=puc(b),d+"|tdList";if(b instanceof _.eG)return d=
b.rn().sort().join(","),b.O().length&&(d+="|"+Ytc(b.O())),d+"|tdMap";throw Error("Ue");}return 3===c?d:d+"|"+zuc(a,b.O(),2===c)},zuc=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(_.od(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.LI({fields:[].concat(_.od(f)),qr:a.qr}));e.size&&(d=d+" + "+_.LI({fields:[].concat(_.od(e)),qr:a.qr}));
return d};yuc.prototype.equals=function(a,b,c){var d;c&&(d=3);return EL(this,a,d)===EL(this,b,d)};
var Auc=function(a){if(!a.rn().every(function(b){return!_.ge(b)}))throw new _.pc("Invalid ids for FindByIdsRequest");},Cuc=function(a,b,c){if(_.hJ(b))throw new _.pc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");Buc(a,b,c)},Buc=function(a,b,c){var d;a.O||(d=_.II(3));if(b.getId())throw new _.pc("Use findByIds() for find by id queries.",d?d:_.II(3));if(!b.Mi()||0>=b.Mi())throw new _.pc("A positive limit is required on an ItemQueryRequest.",d?d:_.II(3));
_.Sd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),Duc(a,d,b.O()));if(c=(c=b.Ac())&&quc(c))d=b.O().length?b.O():a.fields,Duc(a,d,c);if(_.gJ(b)){if(a.qr)throw new _.pc("User must be authenticated for a Quick Access request.");if(!Euc(a)&&20<b.Mi())throw new _.pc("Limit must be in the range [1, 20].");c=2===_.SJ(b);d=_.Sd(b,33).length;if(c&&1!==d||d&&!c)throw new _.pc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Uj(_.Rj(_.Rj(_.Rj(_.PH(_.Rj(_.Sj(_.PH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.cf;if(!_.ek(c,d))throw new _.pc("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: "+pqc(d,c));}if(_.iJ(b)){if(a.qr)throw new _.pc("User must be authenticated for a DrivePriority request.");if(2===_.SJ(b))throw new _.pc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Rj(_.Rj(_.Rj(_.Sj(_.PH(b.clone(),1),30),32),45),52);
b=new _.cf;if(!_.ek(a,b))throw new _.pc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+pqc(b,a));}},Fuc=function(a,b,c){if(!_.hJ(b))throw new _.pc("Expected a PeoplePredict request.");Buc(a,b,c);if(a.qr)throw new _.pc("User must be authenticated for a People Predict request.");if(2===_.SJ(b))throw new _.pc("Team Drive corpora is not valid for a People Predict request.");a=_.Rj(_.Rj(_.Rj(_.Sj(_.PH(b.clone(),
1),30),32),45),49);b=new _.cf;if(!_.ek(a,b))throw new _.pc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+pqc(b,a));},Duc=function(a,b,c){var d;a.O||(d=_.II(3));if(!Slc(b,c,_.Uec)){var e=_.LI({fields:c,qr:a.qr}),f=_.LI({fields:b,qr:a.qr});a=_.LI({fields:Tlc(c,b),qr:a.qr});throw new _.pc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.II(3));
}},Euc=function(a){return 200<=_.UJ(a.H)&&300>_.UJ(a.H)},Guc=function(a){var b=new Set;a=_.m(_.Gl(a));for(var c=a.next();!c.done;c=a.next())switch(_.mOa(c.value.Ya())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("DRIVE_FORM")}return[].concat(_.od(b))},Huc=function(a){switch(_.UJ(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"}},Iuc=function(a){_.O.call(this);this.H=a};_.Nf(Iuc,_.O);_.g=Iuc.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.DO=function(a){this.H.addCallback(function(b){b.DO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Za=function(){this.cancel();Iuc.wb.Za.call(this)};var smc=function(a){_.Hy.call(this);this.H=a;this.V=_.xe(this.H,"message",this.xpb,!1,this)};_.Nf(smc,_.Hy);_.g=smc.prototype;_.g.Gd=null;
_.g.send=function(a,b){var c=[];b=this.Aya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.Rdc&&(a=(0,_.wi)(a));this.H.postMessage(a,c)};_.g.xpb=function(a){a=a.Fe;var b=a.data;if(_.Rdc)try{b=JSON.parse(b)}catch(e){return}if(_.Ca(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.ZBa(a.ports||[],b),d.KEa),null!=b&&d.callback(b))}};
_.g.Aya=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map((0,_.u)(this.Aya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.Aya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.ZBa=function(a,b){return Array.isArray(b)?b.map((0,_.u)(this.ZBa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.ZBa(a,"_port"==d?c.val:c)},this):b};_.g.Za=function(){_.qi(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;smc.wb.Za.call(this)};
var vmc=function(a,b){if("*"==b)return new Iuc(_.ci(Error("Ve")));var c=new _.si(50),d=_.Db(_.aa,c),e=new _.Vh(d);_.Xh(e,d);c.start();_.xe(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new smc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new Iuc(e)},Juc=function(a){_.O.call(this);this.H=new _.ccc(a);this.V={};this.O=_.ecc(this.H,
"private");this.W=_.ecc(this.H,"public");this.O.registerService("mics",(0,_.u)(this.Umb,this),!0)};_.Nf(Juc,_.O);_.g=Juc.prototype;_.g.aGb=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.aGb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Umb=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,_.u)(this.Tmb,this,b),!0)};
_.g.Tmb=function(a,b){a=a(b.data);var c=b.signature;_.Qh(a).then((0,_.u)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var Kuc=function(a,b){_.O.call(this);this.W=b;this.started=!1;this.H=new _.ccc(a);this.Ma(this.H);this.O=new Juc(_.ecc(this.H,"direct"));this.Ma(this.O)};_.N(Kuc,_.O);Kuc.prototype.registerService=function(a,b){this.O.registerService(a,b)};Kuc.prototype.send=function(a,b,c){this.O.send(a,b||{},function(d){return(c||_.If)(d)})};
var umc=function(a,b){Kuc.call(this,a,b);this.V=new Juc(_.ecc(this.H,"passthrough"));this.Ma(this.V)};_.N(umc,Kuc);var FL=function(a,b,c){a.V.registerService(b,function(d){return c(d)})},GL=function(a,b,c,d){a.V.send(b,c||{},d||_.If)};umc.prototype.start=function(){this.started||(this.started=!0)};var pmc=[],Luc=function(){_.Hy.call(this);this.H=null};_.N(Luc,_.Hy);Luc.prototype.send=function(a,b){_.K7a(this.H,a,b)};
var wmc=function(){this.O=new Luc;this.H=new Luc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},Muc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.kc=null},Nuc=function(a,b){b=void 0===b?!1:b;null==a.kc&&(a.kc=b)&&omc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.kc}},Ouc=function(a){var b=new Muc(a.c,a.m,a.a,a.req);b.kc=a.s;return b},Puc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.kc=null},Quc=function(a,
b){b=void 0===b?!1:b;null==a.kc&&a.data&&(a.kc=b)&&omc(a.data);return{d:a.data,err:a.error&&b?a.error.kc():a.error,uid:a.H,s:b}},Ruc=function(a){var b=a.s,c=a.err&&b?new _.oc(JSON.parse(a.err)):a.err;a=new Puc(c?void 0:a.d,c,a.uid);c||(a.kc=b);return a},nmc=function(a,b){this.H=a;this.HD=b};nmc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.HD[b];return a};
nmc.prototype.kc=function(){for(var a={},b={},c=0;c<this.HD.length;c++){var d=this.HD[c],e=this.H[c];d instanceof Error?b[e]=_.uI(d).kc():a[e]=d.kc()}return{r:a,e:b}};Suc=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.GJ(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.oc(JSON.parse(e));d.push(_.JI(e))});return new nmc(c,d)}return a};tmc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
Tuc={YTb:0,rUb:1,l_b:3,z7b:5,kjb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.TI=function(a){_.K.call(this,a)};_.N(_.TI,_.K);_.TI.prototype.Bh=function(){return _.B(this,1)};_.TI.prototype.ze=function(){return _.D(this,_.qf,3)};_.WI=function(a){_.K.call(this,a)};_.N(_.WI,_.K);_.WI.prototype.Dc=function(){return _.B(this,1)};_.WI.prototype.ze=function(){return _.D(this,_.qf,3)};_.dJ=function(a){_.K.call(this,a)};_.N(_.dJ,_.K);_.dJ.prototype.Bh=function(){return _.B(this,1)};
_.dJ.prototype.ze=function(){return _.D(this,_.qf,2)};_.eJ=function(a){_.K.call(this,a)};_.N(_.eJ,_.K);_.eJ.prototype.Bh=function(){return _.B(this,1)};_.eJ.prototype.ze=function(){return _.D(this,_.qf,2)};_.fJ=function(a){_.K.call(this,a)};_.N(_.fJ,_.K);_.g=_.fJ.prototype;_.g.Dc=function(){return _.B(this,1)};_.g.Df=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};_.g.Kb=function(a){return _.y(this,4,a)};
_.g.Wi=function(){return _.Rj(this,4)};_.g.kh=function(){return _.Q(this,4)};_.g.ze=function(){return _.D(this,_.qf,7)};_.mJ=function(a){_.K.call(this,a)};_.N(_.mJ,_.K);_.mJ.prototype.Dc=function(){return _.B(this,1)};_.mJ.prototype.ze=function(){return _.D(this,_.qf,2)};_.mJ.prototype.Mi=function(){return _.fk(this,3,1E3)};_.mJ.prototype.yi=function(a){return _.y(this,3,a)};_.pJ=function(a){_.K.call(this,a)};_.N(_.pJ,_.K);_.pJ.prototype.ze=function(){return _.D(this,_.qf,1)};
var Uuc=function(){var a=new _.pJ,b=_.rf(new _.qf,301);return _.J(a,1,b)};_.pJ.prototype.Bc=function(){return _.B(this,3)};_.rfc=function(a){_.K.call(this,a)};_.N(_.rfc,_.K);_.rfc.prototype.Bc=function(){return _.B(this,1)};_.xJ=function(a){_.K.call(this,a)};_.N(_.xJ,_.K);_.xJ.prototype.Bh=function(){return _.B(this,1)};_.xJ.prototype.ze=function(){return _.D(this,_.qf,4)};var Vuc=function(a){_.K.call(this,a)};_.N(Vuc,_.K);Wuc=function(a,b){return _.y(a,1,b)};_.UI=function(a){_.K.call(this,a)};
_.N(_.UI,_.K);_.UI.prototype.getId=function(){return _.B(this,1)};_.UI.prototype.Pb=function(a){return _.y(this,1,a)};_.jJ=function(a){_.K.call(this,a)};_.N(_.jJ,_.K);_.jJ.prototype.getId=function(){return _.B(this,1)};_.jJ.prototype.Pb=function(a){return _.y(this,1,a)};_.efc=function(a){_.K.call(this,a)};_.N(_.efc,_.K);var Xuc=function(a,b,c){_.P.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};_.N(Xuc,_.P);Xuc.prototype.xB=function(){return this.O};
Xuc.prototype.pQ=function(){var a=this;if(this.W)return this.W;var b=_.Th();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);Yuc(this,b);return b.promise};Xuc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,Zuc(this))};Xuc.prototype.va=function(){!1===this.O&&(this.log("Became authenticated."),this.O=!0,this.H=null,this.V=!1,this.timeout&&(_.n.clearTimeout(this.timeout),this.timeout=null),this.dispatchEvent(new wqc("ib")))};
var $uc=function(a,b){a.ha=b},Zuc=function(a){a.H||(a.H=new _.Lic(5E3),a.timeout=_.n.setTimeout(function(){return avc(a)},a.H.Ya()))},avc=function(a){Yuc(a);a.H&&(_.KH(a.H),a.timeout=_.n.setTimeout(function(){return avc(a)},a.H.Ya()))},Yuc=function(a,b){var c=_.Qh();a.ha&&(c=a.ha());c.then(function(){return bvc(a,b)})},bvc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Te(new _.sfc)});b?c.then(function(){b.resolve(Wuc(new Vuc,1))},function(d){var e=_.pB(d).Sg;
d=0;_.dec(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.gq(e),_.y(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new Vuc;Wuc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.pB(d);_.dec(d.Sg)&&a.V&&(a.dispatchEvent(new wqc("jb")),a.V=!1)})};Xuc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var cvc=function(a){return _.D(a,_.nI,3)||_.D(a,_.EJ,4)||_.D(a,_.sK,5)||_.D(a,_.BJ,6)||_.D(a,_.YI,7)||_.D(a,_.RI,8)||_.D(a,_.VI,9)||_.D(a,_.xI,10)},dvc=function(a){_.K.call(this,a)};_.N(dvc,_.K);_.g=dvc.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.y(this,1,a)};_.g.Nz=function(){return _.B(this,3)};_.g.Ne=function(){return _.B(this,4)};_.g.Hi=function(a){return _.y(this,4,a)};var evc=function(a){this.Gd=a;this.H=new Map;this.O=this.Gd.W};
evc.prototype.create=function(a,b){if(0!=aqc(b)){var c=this.Gd.H(106001);if(c){var d=aqc(b),e=ZK(c);_.y(e,2,d);d=ZK(c);e=null;if(b instanceof _.nG||b instanceof _.jA||b instanceof _.cf||b instanceof _.kJ||b instanceof _.wD||b instanceof _.eG||b instanceof _.bI||b instanceof _.iI||b instanceof _.gG||b instanceof _.Tz)e=b.ze();e=e&&_.T(e,2,!1);_.y(d,7,"boolean"==typeof e?e:void 0);d=ZK(c);b=b instanceof _.cf?0<_.Hl(b).length:void 0;_.y(d,8,b);this.H.set(a,c)}}};
var fvc=function(a,b,c){if(a=a.H.get(b))a=ZK(a),_.y(a,5,c)},gvc=function(a,b,c){(a=a.H.get(b))&&_.R(ZK(a),8)&&(a=ZK(a),_.y(a,9,c))},hvc=function(a,b,c,d,e){var f=a.H.get(b);f&&(ZK(f).Ec(c),ZK(f).mj(d),null!=e&&(c=ZK(f),_.y(c,6,e)),f.ak(),a.H.delete(b))},ivc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=bqc(c);if(1==e||2==c)e=_.hK(_.Udc,c),d=ZK(d),d=3==e||8==e?!_.R(d,5):0!=e?_.qec.has(e):null,hvc(a,b,1,e,d)}},jvc=function(a,b,c){var d=a.O.Bb(c);d=_.hK(_.Tdc,d||22);var e=bqc(c);e=_.hK(_.Udc,
e);hvc(a,b,d,e,"undefined"!=typeof _.lK&&c instanceof _.lK||"undefined"!=typeof _.nK&&c instanceof _.nK||"undefined"!=typeof _.oK&&c instanceof _.oK?c.d0:null)},HL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(ZK(d).Ec(c),d.ak(),a.H.delete(b))},IL=function(a,b){_.ii.call(this,"Gb");this.error=a;this.H=b};_.N(IL,_.ii);var kvc=[2,4],JL=function(a){_.K.call(this,a,-1,kvc)};_.N(JL,_.K);JL.prototype.Bb=function(){return _.B(this,1)};JL.prototype.Ec=function(a){return _.y(this,1,a)};
JL.prototype.dk=function(){return _.B(this,3)};var lvc=[4,9],mvc=function(a){_.K.call(this,a,-1,lvc)};_.N(mvc,_.K);_.g=mvc.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.bWa=function(){return _.B(this,2)};_.g.tMa=function(){return _.B(this,3)};_.g.rtb=function(){return _.Yj(this,_.qI,4)};var nvc={g7b:0,I1b:1,L1b:2,J1b:4,s_b:5,FXb:6,z_b:7,Y1b:8},ovc=function(a){_.K.call(this,a)};_.N(ovc,_.K);ovc.prototype.getUrl=function(){return _.B(this,1)};
var KL=function(a){_.K.call(this,a)};_.N(KL,_.K);var pvc=function(a,b){return _.y(a,1,b)};KL.prototype.getName=function(){return _.B(this,2)};KL.prototype.ud=function(a){return _.y(this,2,a)};KL.prototype.getEmail=function(){return _.B(this,3)};var qvc=function(a,b){return _.y(a,3,b)};KL.prototype.Ap=function(){return _.Q(this,3)};var rvc=[1],svc=function(a){_.K.call(this,a,-1,rvc)};_.N(svc,_.K);var tvc=function(a,b){return _.Tj(a,1,b)},uvc=function(a){_.K.call(this,a)};_.N(uvc,_.K);_.g=uvc.prototype;
_.g.Dc=function(){return _.B(this,1)};_.g.Bb=function(){return _.B(this,2)};_.g.Ec=function(a){return _.y(this,2,a)};_.g.getError=function(){return _.D(this,_.oc,3)};_.g.Se=function(a){return _.J(this,3,a)};_.g.co=function(){return _.Q(this,3)};var vvc=[2],LL=function(a){_.K.call(this,a,-1,vvc)};_.N(LL,_.K);LL.prototype.Bb=function(){return _.B(this,1)};LL.prototype.Ec=function(a){return _.y(this,1,a)};LL.prototype.ql=function(){return _.Yj(this,_.fG,2)};var wvc=function(a,b){return _.Tj(a,2,b)};
LL.prototype.dk=function(){return _.B(this,3)};var xvc=[1],yvc=function(a){_.K.call(this,a,-1,xvc)};_.N(yvc,_.K);var zvc=function(a,b){return _.Qj(a,1,b)},Avc=function(a,b){this.O=a|0;this.H=b|0};Avc.prototype.equals=function(a){return this===a?!0:a instanceof Avc?this.O===a.O&&this.H===a.H:!1};Avc.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var Bvc=function(a,b){return new Avc(a,b)},Cvc=function(a,b){b=~b;a?a=~a+1:b+=1;return Bvc(a,b)},Dvc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?Cvc:Bvc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},Evc=function(){this.H=this.W=this.O=this.V=null},Fvc=function(a,b,c){this.id=a;this.O=b;this.H=c},Gvc=function(a,b){return new Fvc((a?a:b).getId(),a,b)},ML=function(a){return new Fvc(a.getId(),null,a)},Hvc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},NL=function(a,b,c){if(a.started)throw Error("df");c={Jo: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)}},OL=function(a,b){if(!a.started)throw Error("ef");if(!a.enabled)throw Error("ff`"+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.Jo.delete(b);if(0===e.Jo.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.JI(f):null,f;}}}};Hvc.prototype.H=function(a){return this.V.has(a)};Hvc.prototype.start=function(){this.started=!0};Hvc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var Ivc=function(){_.P.call(this);this.H=Date.now()};_.N(Ivc,_.P);Ivc.prototype.qF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var Jvc=function(a,b){this.zt=a;this.vv=b;this.lH=!0;this.j8=!1;this.Pe=0},PL=function(a,b){(a.lH=b)||a.CJ()};_.g=Jvc.prototype;
_.g.Vka=function(a,b){if(5===this.DE(a))throw Error("gf");for(var c=[],d=_.m(this.jy()),e=d.next();!e.done;e=d.next())e=e.value,CL(this.zt,a,e.getItem())&&c.push(e);this.vv.sort(a,c,b);return c};_.g.Od=function(){return this.jy().length};_.g.wk=function(a){var b=this.Vka(a,void 0);b=Nmc(b);var c=new _.cB;c.Vw(b);c.Ec(this.QN(a)?6:1);return c};_.g.update=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(!b&&!c)return!1;b&&this.tJ(a.O);c&&this.zR(a.H);return!0};
_.g.DE=function(a){return this.lH&&this.j8?iuc(a)?1:5:5};_.g.kX=function(){this.j8=!0};_.g.Bs=function(a){return!!a&&this.lH};_.g.mj=function(a){this.Pe=a};_.g.ef=function(){return this.Pe};var QL=function(a,b,c,d,e,f){f=void 0===f?"":f;Jvc.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Ld=[];this.O={};this.request=DL(c,d,!0);this.H=!e;Kvc(this,e);this.V=function(k,l){return h.vv.compare(h.request,k,l)}};_.N(QL,Jvc);_.g=QL.prototype;_.g.wd=function(){return this.request};
_.g.zR=function(a){var b=this.O[a.getId()];b&&this.tJ(b);Ilc(this.Ld,a,this.V);this.O[a.getId()]=a;a.count++;this.Ld.length>this.request.Mi()&&(this.tJ(_.fa(this.Ld)),this.H=!1)};_.g.tJ=function(a){var b=this.Ld,c=_.Ga(b,a,this.V);0<=c&&_.ta(b,c);_.Wa(this.O,a.getId());a.count--};_.g.CJ=function(){this.Ld.forEach(function(a){a.count--});this.Ld=[];this.O={}};_.g.jy=function(){return this.Ld};
_.g.DE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=Slc(b,a,_.Uec);return b?this.H?1:6:5};_.g.Vka=function(a,b){if(5===this.DE(a))throw Error("gf");b=b?Math.min(b,this.Ld.length):this.Ld.length;return _.Aa(this.Ld,0,b)};_.g.Bs=function(a){if(!Jvc.prototype.Bs.call(this,a)||!CL(this.zt,this.request,a.getItem()))return!1;if(this.H||_.T(this.request,48,!1))return!0;var b=_.fa(this.Ld);return!!b&&0>=this.V(a,b)};_.g.QN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.tl=function(a,b){var c=this,d=_.fa(this.Ld);!this.H&&d&&_.ma(a,function(e){return e.getId()===d.getId()})&&(b?(this.tJ(d),Kvc(this,_.fa(a))):this.H=!0);_.Ja(a,function(e){c.update(ML(e))})};var Kvc=function(a,b){b&&CL(a.zt,a.request,b.getItem())&&a.zR(b)};QL.prototype.oy=function(){return this.nextPageToken};var RL=function(a,b){Jvc.call(this,a,b);this.Ld=new Map};_.N(RL,Jvc);RL.prototype.zR=function(a){this.Ld.set(a.getId(),a);a.count++};
RL.prototype.tJ=function(a){this.Ld.delete(a.getId());a.count--};RL.prototype.CJ=function(){for(var a=_.m(this.Ld.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Ld=new Map};RL.prototype.jy=function(){return Array.from(this.Ld.values())};var Lvc=function(a,b){RL.call(this,a,b);this.kX()};_.N(Lvc,RL);_.g=Lvc.prototype;
_.g.DE=function(a){var b=this,c=RL.prototype.DE.call(this,a);if(5===c)return c;if(0<_.Sd(a,33).length)return 5;a=_.Hl(a);return 0<a.length?a.every(function(d){return(d=b.Ld.get(d.Ya()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Bs=function(a){return RL.prototype.Bs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.Vka=function(a,b){for(var c=[],d=_.m(this.jy()),e=d.next();!e.done;e=d.next())e=e.value,CL(this.zt,a,e.getItem())&&c.push(e);this.vv.sort(a,c,b);return c};_.g.wd=function(){return new _.cf};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.QN=function(){return!1};var Mvc=function(a){return[].concat(_.od(a.Ld.values())).filter(function(b){return b.O}).map(function(b){return b.getId()})},SL=function(a,b,c,d){RL.call(this,a,b);var e=this;this.H=d;NL(c,["aU7Ts","BNEDtc"],function(){return e.kX()})};_.N(SL,RL);
SL.prototype.DE=function(a){var b=this,c=RL.prototype.DE.call(this,a);if(5==c)return c;if(0<_.Sd(a,33).length)return 5;a=_.Hl(a);return 0<a.length&&!a.every(function(d){d=b.Ld.get(d.Ya());return null!=d&&!d.getItem().Bc()&&amc(d.getItem())&&!_.R(d.getItem(),108)})?5:1};SL.prototype.Bs=function(a){return RL.prototype.Bs.call(this,a)&&Nvc(this,a.getItem())};var Nvc=function(a,b){if(_.R(b,31)||!a.j8)return!0;var c=a.H();return b.rk().some(function(d){var e=a.Ld.get(d);return d==c||null!=e&&amc(e.getItem())})};
SL.prototype.kX=function(){RL.prototype.kX.call(this);for(var a=_.m(this.Ld),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;Nvc(this,c.getItem())||(c.count--,this.Ld.delete(b))}};SL.prototype.wd=function(){return new _.cf};SL.prototype.getType=function(){return"SubscribedCorpusCache"};SL.prototype.QN=function(){return!1};var Ovc=/^[\x00-\x7F]*$/,Pvc=function(){this.rootId=""};Pvc.prototype.Iu=function(a){this.rootId=a||""};
var iuc=function(a){return Qvc(a)&&0==_.Sd(a,40).length&&void 0==_.B(a,41)},Qvc=function(a){var b=!0;_.Yj(a,_.ff,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.Yj(a,_.Bl,5).length&&0==_.Yj(a,_.ff,14).length&&0==_.Yj(a,_.ff,15).length&&!_.Q(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.Yj(a,_.wl,35).length&&0==_.Yj(a,_.wl,38).length&&c&&b&&0==_.Sd(a,39).length&&!_.B(a,42)&&0==_.Yj(a,_.vl,44).length&&!_.gJ(a)&&!_.hJ(a)&&!_.iJ(a)&&0==_.Yj(a,_.xl,57).length&&Rvc(a)&&
!_.D(a,_.Loa,59)&&null==_.R(a,60)&&0==_.Yj(a,_.ff,68).length&&0==_.Yj(a,_.ff,67).length&&null==_.R(a,69)},Rvc=function(a){return _.Yj(a,_.Cl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&Ovc.test(b)})};Pvc.prototype.c9=function(a,b){var c=this;return b.filter(function(d){return CL(c,a,d)})};
var CL=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!BL(c);if(d){d=!0;var e=_.Yj(b,_.Cl,4);if(Rvc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Ya()){var k=_.T(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Ya().toLowerCase();if(2==_.B(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)||[]),v=r.next();!v.done;v=r.next())h.push(v.value),p=p.replace(q,"");h.push.apply(h,_.od(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.eg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Jg(q)+"($|[^\\w])|(^|[ ])"+_.Jg(q)):new RegExp(_.Jg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Gl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Ya()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Pf())&&_.B(p,3)||""),p=_.T(h,2,!1),r=h.Ya(),_.IJ(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Kj(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=_.Yj(b,_.zl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Cq(),d=d&&Svc(k,f);if(d)for(d=!0,e=_.Yj(b,_.zl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.gz(),d=d&&Svc(k,f);d&&(d=b.Wh(),e=(e=_.SJ(b))&&(2==e||3==e),d=null==d||d==!!c.Wh()&&(!d||1==c.kp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.UA());d&&(d=null==b.Em()||b.Em()==!!c.Em());if(d)a:{d=_.Hl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Ya()&&(f="root"==e.Ya()&&a.rootId||e.Ya(),f=c.rk().includes(f),_.T(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.Yj(b,_.ff,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Ya()&&(e=1==c.kp(),_.T(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.qy():!0));a&&(a=_.R(b,17),d=(d=_.SJ(b))&&(2==d||3==d),a=null==a||a==!!c.TI()&&(!a||1==c.kp()||!!d));a&&(a=jmc(c),a=null==_.R(b,19)||_.R(b,19)==!!_.al(a));a&&(a=!0);if(a=a&&Tvc(b,c)&&Uvc(b,c))a=_.Sd(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&Vvc(b,c))_.B(b,41)?(a=_.D(c,_.MJ,86),a=null!=a&&
_.B(b,41)==_.B(a,3)):a=!0;if(a=a&&Wvc(b,c))a=_.SJ(b),1==a?(a=_.R(c,31),a=!!_.Hl(b).length||!!_.Yj(b,_.wl,35).length||1==_.R(b,18)||_.gJ(b)||_.hJ(b)||_.iJ(b)||!!b.Sp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.gJ(b)?!!_.gl(c)&&!c.Wh():!0);a&&(a=_.hJ(b)?!!_.hl(c).length&&!c.Wh():!0);a&&(a=_.iJ(b)?!!_.il(c).length&&!c.Wh():!0);a&&(a=_.Q(b,50)?_.T(b,50,!1)?_.Q(c,101)&&0!==_.B(c,101):!_.Q(c,101):!0);a&&(a=b.Sp(),a=!a||_.Sd(c,120).includes(a));a&&(c=_.D(c,_.KJ,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.B(c,
1),a=_.R(b,65)==c));return a},Svc=function(a,b){if(null!=_.B(b,2))switch(_.B(b,1)){case 1:return a<=_.B(b,2);case 2:return a<_.B(b,2);case 3:return a==_.B(b,2);case 4:return a>_.B(b,2);case 5:return a>=_.B(b,2);default:return!1}return!0},Tvc=function(a,b){var c=_.cb(_.Sd(b,56));a=_.Yj(a,_.RJ,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Uvc=function(a,b){if(0==a.qB().length)return!0;var c=_.cb(b.qB().map(function(d){return _.B(d,1)}));a=_.cb(a.qB().map(function(d){return _.B(d,
1)}));return _.Pa(a,function(d,e){return c[e]})},Vvc=function(a,b){var c=_.cb(_.Sd(b,50));a=_.Yj(a,_.Al,37);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Wvc=function(a,b){if(_.Sd(a,40).length){if(b=_.D(b,_.MJ,86)){var c=_.cb(_.Sd(b,2));return _.Sd(a,40).some(function(d){return c[d]})}return!1}return!0},TL=function(a,b,c,d){d=void 0===d?5E3:d;RL.call(this,a,b);this.teamDriveId=c;this.limit=d};_.N(TL,RL);_.g=TL.prototype;
_.g.DE=function(a){var b=this,c=RL.prototype.DE.call(this,a);if(5==c)return c;c=_.Hl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Ld.get(f)||b.teamDriveId==f)&&!_.T(e,2,!1)});if(0<c.length&&d)return 1;a=_.Sd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Bs=function(a){return RL.prototype.Bs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!BL(a.getItem())};_.g.QN=function(){return!1};_.g.wd=function(){var a=new _.cf;_.Jl(a,[this.teamDriveId]);_.Kl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Xvc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.cf;_.y(a,48,!0);b=new _.ad;_.bd(b,11);_.cd(b,2);_.ef(a,b);this.ma=DL(this.W,a,!0)};Xvc.prototype.add=function(a){a instanceof SL?this.H=a:a instanceof Lvc?this.O=a:a instanceof QL?(this.log("Adding new cache hint for "+EL(this.W,a.wd(),2)),this.ha.push(a)):a instanceof TL&&this.V.push(a)};
Xvc.prototype.remove=function(a){var b=this;if(a instanceof SL)this.H&&(PL(this.H,!1),this.H=null);else if(a instanceof Lvc)this.O&&(PL(this.O,!1),this.O=null);else if(a instanceof QL){var c=_.la(this.ha,function(d){return b.W.equals(d.wd(),a.wd())});0<=c&&(PL(this.ha[c],!1),_.ta(this.ha,c))}else a instanceof TL&&(c=_.la(this.V,function(d){return b.W.equals(d.wd(),a.wd())}),0<=c&&(PL(this.V[c],!1),_.ta(this.V,c)))};
var Yvc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.za(b,_.ya(a.ha));_.za(b,_.ya(a.V));return b},Zvc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.wd().clone(),_.Rj(c,32),_.Uj(c,26),!_.ek(a.ma,c)):!0})};Xvc.prototype.kW=function(){return _.ya(this.V)};var $vc=function(a,b){return _.cg(a.V,function(c){return c.Bc()===b})},awc=function(a,b){return Zvc(a).find(function(c){return a.W.equals(c.wd(),DL(a.W,b,!0))})};
Xvc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var bwc=function(a,b){_.ii.call(this,"Ib");this.ids=a;this.error=b};_.N(bwc,_.ii);bwc.prototype.getError=function(){return this.error};bwc.prototype.H=function(){return this.ids};var cwc=function(a){_.ii.call(this,"Jb");this.people=a};_.N(cwc,_.ii);cwc.prototype.getPeople=function(){return this.people};var dwc=function(a){_.ii.call(this,"Kb");this.people=a};_.N(dwc,_.ii);
dwc.prototype.getPeople=function(){return this.people};var fwc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Pe=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);ewc(this)};fwc.prototype.ef=function(){return this.Pe};
var gwc=function(a){return 0===a.Pe?1:2===a.Pe||(1===a.Pe||4===a.Pe)&&(a.person.Ap()||a.O)?3:2},hwc=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=gwc(a),e=a.ef();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=qvc(b.clone(),a.getEmail(b)),e=!_.ek(a.person,b),a.person=b,a.Pe=c,ewc(a),e||d!==gwc(a);if(4===c)return a.Pe=c,ewc(a),d!==gwc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(qvc(a.person,a.getEmail(b)),!0):!1};
fwc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var ewc=function(a){1===a.Pe?(a.W=Date.now(),a.V=null):4===a.Pe&&(a.V=Date.now())},jwc=function(a,b,c,d){_.P.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.ZH(function(){return iwc(e)},100,this)};_.N(jwc,_.P);jwc.prototype.dh=function(a){a&&_.mI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.xe())};
var iwc=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)}})};jwc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Te;var e=new _.oJ;e=_.Qj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Yj(c,KL,1);b.dispatchEvent(new cwc(c))},function(c){c=_.pB(c);b.dispatchEvent(new bwc(a,c))})};
jwc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var mwc=function(a,b,c,d,e){_.P.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.ka=b;this.ha=d;this.ta=_.fk(_.D(a,Toc,85)||new Toc,1,864E5);this.W=new jwc(a,b,c,e);this.ma=new _.OD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:cqc(h,106015);if(k){h=_.D(_.gK(k),zpc,11);if(!h){h=new zpc;var l=_.gK(k);_.J(l,11,h)}h=_.y(h,1,f.H.size);_.y(h,2,f.O.size);k.ak()}},500,this);this.Sc.listen(this.W,"Jb",function(h){h=h.getPeople();kwc(f,
h,1);f.ma.xe()});this.Sc.listen(this.W,"Ib",function(h){lwc(f,h)})};_.N(mwc,_.P);mwc.prototype.get=function(a){var b=this.H.get(a);return b?(nwc(this,b)&&owc(this,a),b):null};var owc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.dh(b);var c=new _.Bn;a.V.set(b,c);return c.promise};mwc.prototype.Tb=function(a){var b=this;return pwc(this,a)?Promise.resolve(this.H.get(a)):owc(this,a).then(function(){return b.H.get(a)})};
mwc.prototype.wc=function(){return 0===this.H.size};mwc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var qwc=function(a){return[].concat(_.od(a.H.values())).filter(function(b){return 3===gwc(b)&&4!==b.ef()}).map(function(b){return b.person.clone()})},rwc=function(a,b){return(a=a.H.get(b))?[].concat(_.od(a.H)):[]},swc=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(_.od(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},kwc=function(a,b,c){if(![1,2].includes(c))throw Error("hf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(nvc)[c]+".")),twc(a,b,c))},vwc=function(a,b,c,d){0!==b.length&&uwc(a,b,c,void 0===d?0:d)},pwc=function(a,b){b=a.H.get(b);return!(!b||3!==gwc(b)||nwc(a,b))},uwc=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=_.B(f,1),k=a.H.get(h);if(k)hwc(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&&owc(k,_.B(f,1));l=new fwc(f,p,l);k.H.set(_.B(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},nwc=function(a,
b){switch(b.ef()){case 1:return Date.now()-Number(b.W)>a.ta;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};mwc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var lwc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():pvc(new KL,c)});twc(a,b,4)},twc=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.B(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}uwc(a,b,void 0,c)&&a.dispatchEvent(new dwc(b))},wwc=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.H=new mwc(a,b,c,e,f);this.O=_.wI(a)||new _.fec;this.Sc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.N(wwc,_.P);wwc.prototype.mP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=xwc(this,[c]).map(function(e){return ywc(b,e)});vwc(this.H,d,a.H.getId(),this.ef(_.B(c,82)))}a.O&&swc(this.H,a.id,zwc(this,a))};wwc.prototype.ef=function(a){return _.xec.get(a)||0};
var zwc=function(a,b){var c=Awc(a,b.O),d=Awc(a,b.H);return c.filter(function(e){return!d.includes(e)})},Awc=function(a,b){return b?Bwc(a,[b.getItem()]):[]},Dwc=function(a,b){b=b.getUser();vwc(a.H,[ywc(a,b)],"ACCOUNT");Cwc(a,b)},Fwc=function(a,b){var c=_.Yj(b,_.YJ,2).map(function(d){var e=_.D(d,_.Hk,9,1);return a.H.Tb(RK(e)).then(function(){return void Ewc(a,[e])})});return Promise.all(c).then(function(){return b})},Gwc=function(a,b){Ewc(a,xwc(a,b))},Ewc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,RK(c)&&Cwc(a,c)},Hwc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,RK(f)&&(d.add(RK(f)),vwc(a.H,[ywc(a,f)],c));return Promise.all([].concat(_.od(d)).map(function(h){return a.H.Tb(h)})).then(function(){return Ewc(a,b)})},Jwc=function(a,b){return Bwc(a,[b]).some(function(c){return!Iwc(a,c)})},Iwc=function(a,b){return pwc(a.H,b)},Bwc=function(a,b){var c=new Set;a=xwc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=RK(b.value))&&c.add(b);return[].concat(_.od(c))},
xwc=function(a,b){return b.map(function(c){var d=c.Yv();d=d?[].concat(_.od(d.mR()),_.od(_.Yj(d,_.Hk,3))):[];var e=c.Pf();e=(e=e&&_.Wd(e))?xwc(a,[e]):[];return[].concat(_.od(_.el(c)),[c.Am(),c.Wt(),c.Lq(),c.iD()],_.od(d),_.od(e))}).flat().filter(function(c){return c&&!!RK(c)})};wwc.prototype.Id=function(a){return rwc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Kwc=function(a){return tvc(new svc,qwc(a.H))},Lwc=function(a,b){return b.map(function(c){c=c.clone();var d=xwc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Rj(e,3),_.Rj(e,8),_.Rj(e,5);return c})},Nwc=function(a,b){return b.some(function(c){return Mwc(a,c)})},Mwc=function(a,b){return xwc(a,[b]).some(function(c){return _.Q(c,3)||c.Ap()||_.Q(c,5)})},Cwc=function(a,b){var c=a.H.get(RK(b));if(c){a=c.person.clone();var d=_.Hfc(b.ud(a.getName()),a.getEmail());c=gwc(c);_.y(d,16,c);
(a=_.D(a,ovc,4))&&b.Qn(a.getUrl())}},ywc=function(a,b){var c=RK(b);c=qvc(pvc(new KL,c).ud(b.getName()),b.getEmail());var d=new ovc;var e=_.B(b,5);d=_.y(d,1,e);c=_.J(c,4,d);_.T(a.O,9,!1)&&(_.Rj(b,3),_.Rj(b,8),_.Rj(b,5));return c},Owc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Owc.prototype.Wf=function(){return this.suggestionSessionId};Owc.prototype.iAa=function(){return this.O};Owc.prototype.wc=function(){return this.H};
var Pwc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Qwc=function(a,b){a=Pwc(a);b=Pwc(b);return!(!a||!b||a!==b)},Rwc=function(a){return a.Dc()+"_"+Pwc(a.getName())},Swc=function(a,b){var c=_.Sd(a,1).map(function(d,e){return b[Number(e)].value.W3a.promise});return Promise.allSettled(c).then(function(d){return _.Sd(a,1).map(function(e,f){e=e.toString();var h=new uvc;e=_.y(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Ec(1):(e.Ec(3),e.Se(f.reason.Sg));return e})})},UL=function(a,
b){_.O.call(this);this.O=a;this.request=b;this.By=new Set;this.status=6;this.V=new Map;this.Pe=0};_.N(UL,_.O);_.g=UL.prototype;_.g.ii=function(a){var b=this;this.By.add(a);return this.resize().then(function(){return b.AO(a)})};_.g.jk=function(a){this.By.delete(a);0===this.By.size&&this.dispose()};_.g.ef=function(){return this.Pe};_.g.mj=function(a){this.Pe=a};
_.g.pD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Mu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.SX():_.Qh([])};_.g.SX=function(){for(var a=[],b=_.m(this.By.values()),c=b.next();!c.done;c=b.next())a.push(this.AO(c.value));return _.Sh(a)};
_.g.RX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.By.values()),e=d.next();!e.done;c={ira:c.ira},e=d.next())c.ira=e.value,b.push(this.O.then(function(f){return function(h){return void h.RX(f.ira,a)}}(c)));return _.Sh(b)};_.g.kA=function(){for(var a=this,b=[],c={},d=_.m(this.By.values()),e=d.next();!e.done;c={jra:c.jra},e=d.next())c.jra=e.value,b.push(this.O.then(function(f){return function(h){return void h.kA(f.jra)}}(c)));return _.Sh(b).then(function(){a.mj(0===a.ef()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.By.forEach(function(d){d=b.Ika(d);c=Math.max(c,d.Mi?d.Mi()||0:0)});a.Cfa(c)})};var Twc=function(a,b){return b?a.V.get(a.oka(b))||null:null};_.g=UL.prototype;_.g.hI=function(a,b){var c=Twc(this,a);b=Stc(c,b);this.V.set(this.oka(a),b)};_.g.oka=function(a){return a};_.g.uMa=function(){return[]};_.g.AO=function(a){var b=this;return this.O.then(function(c){return void c.AO(a,b.wk())})};_.g.removeItem=function(){};
var VL=function(a,b){_.P.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.N(VL,_.P);var Uwc=function(a){return!a.O||""!==a.pageToken};VL.prototype.dh=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Uwc(this)?Vwc(this):_.Qh()};
var Vwc=function(a){a.O=!0;a.H=!0;var b=a.oia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Wwc(a,c)},function(c){return a.handleError(c)})},Wwc=function(a,b){a.H=!1;a.pageToken=a.Cka(b);b=a.Qja(b);b.forEach(function(c){return a.data.push(c)});a.m6(b);return a.data.length<a.limit&&Uwc(a)?_.Sh([_.Qh(b),Vwc(a)]).then(function(c){return c[0].concat(c[1])}):_.Qh(b)};
VL.prototype.handleError=function(a){this.H=!1;a=_.uI(a);var b=new IL(a);this.vMa(b);this.dispatchEvent(b);return _.Rh(a)};VL.prototype.m6=function(){};VL.prototype.vMa=function(){};var Xwc=function(a,b,c){VL.call(this,c,function(d){return a.then(function(e){return e.Te(d)}).wg(function(e){return void _.KI(e)})});this.V=b};_.N(Xwc,VL);_.g=Xwc.prototype;_.g.oia=function(a,b,c){a=a.clone();a.yi(b);return new _.gfc(a,c)};_.g.Cka=function(a){return a.pageToken||""};_.g.Qja=function(a){return a.response.O()};
_.g.m6=function(a){this.V.pD(a,!1,1)};_.g.vMa=function(a){this.V.sB(this.request,a)};var Ywc=function(a,b,c,d){UL.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.N(Ywc,UL);_.g=Ywc.prototype;_.g.refresh=function(){this.kA();this.H=new Xwc(this.ha,this.W,this.request);return this.H.dh(this.request.Mi()||100)};_.g.Iq=function(a){return this.data.find(function(b){return Qwc(b.getName(),a)})};
_.g.Cfa=function(a){this.H&&a===this.request.Mi()||(this.request.yi(a),this.H?this.H.dh(a):this.refresh())};_.g.wk=function(){var a=this,b=Drc((new iL).Ec(this.status),this.data.filter(function(c){return a.W.$Ca(c)}).map(function(c){return c.clone()}));return new _.mK(b,void 0,void 0,this.ef())};_.g.pD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Dc()===d.request.Dc()});return UL.prototype.pD.call(this,a,b,c)};
_.g.Mu=function(a,b){b=void 0===b?1:b;if(!hmc(Twc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Qwc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.hI(a.getName(),b);return!0};_.g.removeItem=function(a){_.va(this.data,function(b){return Qwc(b.getName(),a)})&&(this.V.delete(this.oka(a)),this.SX())};_.g.oka=function(a){return Pwc(a)};_.g.hI=function(a,b){this.Iq(a)&&UL.prototype.hI.call(this,a,b)};
_.g.uMa=function(a){var b=this;return a instanceof _.yJ&&a.Dc()===this.request.Dc()?a.PV().map(function(c){return b.Iq(c.nn())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var WL=function(){this.H=new Map};WL.prototype.ii=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.qia(b),this.H.set(c,d));d.ii(a);return e};var Zwc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.$wa(c),a.H.set(d,e));e.ii(b);return f};
WL.prototype.jk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.jk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var $wc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.jk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},axc=function(a,b){return a.H.get(b)};WL.prototype.pD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.$Ca(f)});this.H.forEach(function(f){f.pD(e,b,c)})};WL.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var bxc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.uMa(b)});return[].concat.apply([],_.od(a))};WL.prototype.hI=function(a,b){this.H.forEach(function(c){c.hI(a,b)})};WL.prototype.$Ca=function(){return!0};WL.prototype.sB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.RX(b)};WL.prototype.T2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.qia(b),f.mj(c),this.H.set(e,f),this.pD(a,d))};var cxc=function(){this.V=new Set;this.O=0;this.H=[]},dxc=function(a,b){a.V.add(b)};
cxc.prototype.W=function(a){this.V.delete(a)};var exc=function(a,b){var c;if(c=b instanceof _.dl)c=b.Zv(),c=!!(b.Wh()&&c&&c<=Math.max.apply(Math,_.od([a.O].concat(_.od(a.H)))));if(c)return!0;b=b instanceof _.dl?b.getId():b;return a.V.has(b)},fxc=function(a,b){return _.va(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};cxc.prototype.c9=function(a){var b=this;return a.filter(function(c){return!exc(b,c)})};var gxc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new cxc};_.N(gxc,WL);
var hxc=function(a,b){dxc(a.O,Rwc(b));(a=axc(a,b.Dc()))&&a.SX()};_.g=gxc.prototype;_.g.getKey=function(a){return a.Dc()};_.g.qia=function(a){return new Ywc(this.V,this.W,this,a)};_.g.$wa=function(a){return new Ywc(this.V,this.W,this,a)};_.g.To=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=axc(this,b.getId()))&&b.refresh()};_.g.$Ca=function(a){return!exc(this.O,Rwc(a))};
var ixc=function(a,b){this.O=a;this.H=b},jxc=function(a,b){b=_.fVb(b);var c=new Xwc(a.O,a.H,b);new Promise(function(d,e){return c.dh(100).then(d,e)})},kxc=function(){this.Ld={}},XL=function(a,b){lxc(a,"subscribed");b&&lxc(a,b);return a.Ld[b||"subscribed"].oe.promise},lxc=function(a,b){a.Ld[b]||(a.Ld[b]={count:0,GR:[],Y1a:[],oe:_.Th()});a.Ld[b].count++},nxc=function(a,b){b&&!mxc(a,b)||mxc(a,"subscribed")},mxc=function(a,b){if(!a.Ld[b])return!1;a.Ld[b].count--;0===a.Ld[b].count&&(a.Ld[b].oe.resolve({items:a.Ld[b].GR,
yLb:a.Ld[b].Y1a}),_.Wa(a.Ld,b));return!0};kxc.prototype.To=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Dc()&&c.Ld[f]&&c.Ld[f].Y1a.push(e);c.Ld[d]&&c.Ld[d].GR.push(e)})};var oxc=function(a,b,c){VL.call(this,a,c);this.V=b};_.N(oxc,VL);oxc.prototype.oia=function(a,b){return a.clone().yi(b)};oxc.prototype.Cka=function(){return""};oxc.prototype.Qja=function(a){return[a]};oxc.prototype.m6=function(a){this.V(a)};
var pxc=function(a,b,c,d){UL.call(this,a,d.clone());this.ha=b;this.H=this.bT=null;this.W=c};_.N(pxc,UL);pxc.prototype.refresh=function(){var a=this;this.kA();this.H=new oxc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.dh(this.request.Mi()||0)};pxc.prototype.Cfa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.yi(a),this.H?this.H.dh(a):this.refresh())};
pxc.prototype.wk=function(){if(this.bT)return this.bT;var a=new vL;a.Ec(this.status);return a};pxc.prototype.Mu=function(a){this.bT=a;return!0};var qxc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.N(qxc,WL);_.g=qxc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.qia=function(a){var b=this;return new pxc(this.O,this.W,function(c){b.pD(c,!1)},a)};_.g.$wa=function(){throw Error("jf");};
_.g.T2=function(a,b,c,d){var e=a[0].ql();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.oq()}).join(", "));WL.prototype.T2.call(this,a,b,c,d)};var YL=function(a,b,c,d){_.P.call(this);this.request=a;this.Fa=b;this.ta=c;this.Ba=d;this.ma=0;this.oe=null;this.O=new Set};_.N(YL,_.P);
YL.prototype.dh=function(){var a=this;if(this.oe)return this.oe.promise;this.oe=_.Th();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Te(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.oe.promise};YL.prototype.va=function(a,b){this.V(b);rxc(this,a)};var rxc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.oe.resolve()):a.dispatchEvent("Cb")};
YL.prototype.handleError=function(a,b){b=_.pB(b);var c=b.Sg;5===c.kt()||4===c.tk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),rxc(this,a)):(a=new IL(c,_.fk(this.ta.$f(),1,1)),this.dispatchEvent(a),this.oe.reject(b))};var sxc=function(a){var b=new _.fG;b.Pb(a);return b},txc=function(a,b,c,d,e){YL.call(this,a.clone(),c,d,e);this.H=b};_.N(txc,YL);
txc.prototype.W=function(a){var b=new Map;a.rn().forEach(function(c){var d=_.gUb(a.clone(),[c]);b.set(c,d)});return b};txc.prototype.V=function(a){var b=[];a.ZT().forEach(function(c){b.push(c)});this.H(b,!0)};txc.prototype.ha=function(){this.H([],!1)};txc.prototype.ka=function(a){this.H([sxc(a)],!0)};var uxc=function(a,b,c,d,e,f){UL.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Zk={};this.H=null};_.N(uxc,UL);
uxc.prototype.refresh=function(){this.H=new txc(this.request,this.ha,this.ma,this.W,this.ka);return this.H.dh()};uxc.prototype.Cfa=function(){this.H||this.refresh()};uxc.prototype.wk=function(){var a=new _.kK;a.Ec(this.status);_.Ma(this.Zk,function(b,c){a.ZT().set(c,b||new _.fG)});a.mj(this.ef());return a};uxc.prototype.Mu=function(a){var b=a.getId();if(_.ek(a,sxc(a.getId()))){if(this.Zk[b])return delete this.Zk[b],!0}else if(0<=this.request.rn().indexOf(b))return this.Zk[b]=a,!0;return!1};
var vxc=function(a,b){a=a.getState();return null==a||b.getState()==a},wxc=function(a,b,c){VL.call(this,a,c);this.V=b};_.N(wxc,VL);wxc.prototype.oia=function(a,b,c){a=a.clone();a.yi(b);return new _.tfc(a,c)};wxc.prototype.Cka=function(a){return a.pageToken||""};wxc.prototype.Qja=function(a){return a.response.ql()};wxc.prototype.m6=function(a){this.V(a)};var xxc=function(a){this.H=_.Rac(a,{numeric:!0})};
xxc.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=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};xxc.prototype.V=function(a,b,c){var d=_.B(b,4),e=_.B(c,4),f;d!==e?f=_.Fa(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};var yxc=function(a,b,c,d,e){UL.call(this,a,e.clone());this.ha=b;this.Zk=[];this.H=null;this.W=d;a=new xxc(c);b=(c=this.request.Cw())?c.getType():0;c=c?c.xf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.N(yxc,UL);yxc.prototype.refresh=function(){var a=this;this.kA();this.H=new wxc(this.request,this.W,function(b){return a.ha.then(function(c){return c.Te(b)})});return this.H.dh(this.request.Mi()||0)};yxc.prototype.Cfa=function(a){1===this.status||this.H&&a===this.request.Mi()||(this.request.yi(a),this.H?this.H.dh(a):this.refresh())};yxc.prototype.wk=function(){var a=new LL;a.Ec(this.status);wvc(a,this.Zk.map(function(b){return b.clone()}));return new _.pK(a,void 0,1!==this.status&&Uwc(this.H),this.ef())};
yxc.prototype.Mu=function(a){var b=_.va(this.Zk,function(c){return c.getId()===a.getId()});return a&&vxc(this.request,a)&&!_.ek(a,sxc(a.getId()))?Ilc(this.Zk,a,this.ka):b};var zxc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.N(zxc,WL);_.g=zxc.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.qia=function(a){var b=this;return new yxc(this.V,this.ha,WK(_.hI(this.O)),function(c){return void b.pD(c,!1)},a)};_.g.$wa=function(a){var b=this;return new uxc(this.V,this.ha,this.O,this.W,function(c,d){return b.pD(c,d)},a)};_.g.T2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));WL.prototype.T2.call(this,a,b,c,d)};
var Axc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();KK(a)&&(c=(c=a.Pf())?_.B(c,3):"");LK(a)&&(a.Yi()&&(c+="+"+String(a.Yi())),a.Gj()&&(c+="+shared"));return _.ITa(c,b?"32":"16")},Bxc=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("&")},Cxc=function(a,b){var c=_.R(a,44),d=a.Pf();if(d){if(1!==_.Yd(d))return null;c=(c=_.Wd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();KK(a)&&(d=$lc(a));
d=[_.E(b,65,"https://lh3.google.com"),"u",_.vI(_.hI(b)),"d",d].join("/");d+="={size}";_.T(b,89,!1)&&_.Q(a,140)&&(c.resourcekey=_.kl(a));return d=Bxc(d,c)},Dxc=function(a){this.H=a},Fxc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=Axc(b,_.T(a.H,75,!1));_.y(b,21,d)}c.includes(18)&&_.ogc(b,Pmc(b,a.H));c.includes(19)&&(d=Cxc(b,a.H),_.y(b,20,d));Exc(a,b,c);if(KK(b)){if(d=(d=b.Pf())&&_.Wd(d)){if(c.includes(20)&&c.includes(3)){var e=Axc(d,_.T(a.H,75,!1));_.y(d,21,e)}c.includes(18)&&_.ogc(d,Pmc(d,
a.H));c.includes(19)&&(e=Cxc(d,a.H),_.y(d,20,e));Exc(a,d,c)}_.sgc(b,!!b.Ux())}},Exc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!LK(b)&&!KK(b)&&!_.Fd(e)&&(!b.f7()||2!==b.kp()),d&&_.y(b,40,e),e&&c&&(a=a.H,d=b.getId(),KK(b)&&(d=$lc(b)),c=new _.dj(_.E(a,16,"")+"/uc"),_.lj(c,"id",d),_.lj(c,"authuser",_.vI(_.hI(a))),_.lj(c,"export","download"),_.T(a,89,!1)&&_.Q(b,140)&&_.lj(c,"resourcekey",_.kl(b)),_.y(b,41,c.toString())))}},Gxc=function(a,b){this.yia="";
this.startTime=b||new Date;this.Zda=a;this.V$=Klc(a)};Gxc.prototype.clone=function(){return new Gxc(this.Zda,this.startTime)};var Hxc=function(){this.H=null;this.JY=[]},Ixc=function(a){return _.af(a.JY,function(b){return _.Za(b)})};Hxc.prototype.wN=function(){return this.H};
Hxc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new Evc;e.V=Dvc(d.V$);var f=_.Ng().substring(0,8);d=Klc(f);f=(new dvc).Pb(f);f=_.y(f,2,d);b=_.y(f,3,b).Hi(c);this.JY.push(b);e.O=Dvc(d);e.H=Bvc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.pk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.qk(d,1,1);var k=d.O;ync(k,f);ync(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.qk(d,2,1),k=d.O,ync(k,f),ync(k,h));f=e.W;null!=f&&(_.qk(d,3,5),ync(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.qk(d,4,1),h=d.O,ync(h,f),ync(h,e));e=_.rk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Jxc=function(){this.Db=[];this.O=this.H=0};Jxc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Db,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.O=c};
var Kxc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Db,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.O=e},Lxc=function(a){this.key=a;this.H=new _.uec;this.O=new _.sec(new _.uec,_.vma(a))};Lxc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=oqc(b);c=Mxc(this,a);return b.concat(c,Nxc(this,b,a,!0))};
var Oxc=function(a,b){var c=Nxc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Mxc(a,c);if(b!==a)throw Error("kf");return c},Mxc=function(a,b){a=_.tec(a.O,_.Qec(b));return oqc(a)},Nxc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Jxc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Db,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.Qec(c.substring(8192*
e,8192*(e+1))),Kxc(b,a),d+=oqc(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;Kxc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("lf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=Pxc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Pxc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=Pxc(d,e++),k=Pxc(d,e++),l=Pxc(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=Pxc(d,e++),k=Pxc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Pxc=function(a,b){return a[Math.floor(b/8192)][b%8192]},Qxc=function(a,b,c){this.data=a;this.KZa=b;this.H=c;this.isEncrypted=!1};Qxc.prototype.getData=function(){return this.data};
Qxc.prototype.Tm=function(){return this.KZa};var Rxc=function(a,b,c,d){this.O=a;this.H=_.Th();this.Vo=!1;this.V=_.E(b,7,"");this.W=_.fk(_.XK(b),6,2E7);this.JG=_.mI(b);this.ha=_.fk(_.XK(b),12,0);this.ka=c;this.Gd=d||null};Rxc.prototype.initialize=function(){var a=this;this.Vo||(this.Vo=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.bi(this.H.promise)};
Rxc.prototype.VC=function(a){if(a instanceof _.oB)return 0;if(a instanceof JL)return 1;if(a instanceof uqc)return 5;if(a instanceof xL)return 3;if(a instanceof svc)return 6;throw new _.pc("Unsupported dataShard in getDataType");};var Sxc=function(a){if(0==a)return _.oB;if(1==a)return JL;if(5==a)return uqc;if(3==a)return xL;if(6==a)return svc;throw new _.pc("Unsupported dataType:"+a+" in getDataTypeCtor");};Rxc.prototype.Bo=function(a){if(a instanceof xL)return a.Bo()};
Rxc.prototype.Tm=function(a){if(a instanceof xL)return a.Cd().length};
var Xxc=function(a,b,c,d){if(0==c.length)return _.Qh();var e=a.VC(c[0]);c.forEach(function(){});var f=a.Bo(c[0]),h=0;3==e&&Txc(a,c);var k=!!b;return Uxc(a,c).then(function(l){if(k){var p=a.Gd?a.Gd.H(106023,d):null;h=l.reduce(function(r,v){return r+v.Tm()},0);var q=Vxc(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.Rh(Error("mf"));r.forEach(function(v,z){z=l[z];z.data=v;z.isEncrypted=!0});return l});p&&(Hpc(Gpc(Fpc(p.VE(),_.hK(_.$dc,e)),_.hK(_.Xdc,f)),!0),
q.then(function(){var r=h;Epc(p.VE(),!0).It(r);p.ak()},function(){var r=h;Epc(p.VE(),!1).It(r);p.ak()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Wxc(a.O,l,e,f,k,d)})})},Uxc=function(a,b){return new _.Ph(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.kc();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Tm(l);l instanceof xL?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new Qxc(p,r,l))}}});if(e){var h=Error("nf"),k=new _.oc;_.sI(k,2);_.FI(k,23);
_.y(k,21,h.message);_.gq(k);a.ka(k);d(h)}c(f)})},Txc=function(a,b){a.Bo(b[0]);b.forEach(function(){});a.JG||Yxc(b);Zxc(a,b)},ZL=function(a,b,c,d,e,f){var h=_.Th(),k;_.Uh(a.H.promise.then(function(){return $xc(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.Vh;if(l[0]&&l[0].R0){if(k=a.Gd?a.Gd.H(106022,f):null)Hpc(Gpc(Fpc(k.VE(),_.hK(_.$dc,c)),_.hK(_.Xdc,d)),!0),q.hn().then(function(r){var v=k;r=void 0!=r;Epc(v.VE(),r);_.Thc(v)});ayc(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 (Sxc(c))(JSON.parse(r));q+=a.Tm(r);p.push(r)});3==c&&(a.JG||byc(p),cyc(p));k&&k.VE().It(q)}h.resolve(p)}),function(){k&&k.ak()}).wg(h.reject,h);return h.promise},Yxc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Yj(a[b],_.Hk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Cd()||[]).forEach(function(h){_.mgc(h,dyc(_.el(h),c,d));_.ngc(h,dyc([h.Am()],c,d)[0]);var k=dyc([h.Wt()],c,d)[0];_.J(h,
47,k);k=dyc([h.Lq()],c,d)[0];_.J(h,91,k);k=dyc([h.iD()],c,d)[0];_.J(h,95,k);if(h=h.Yv())_.igc(h,dyc(h.mR(),c,d)),_.jgc(h,dyc(_.Yj(h,_.Hk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Tj(a[0],2,e)}},dyc=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)?_.ek(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Hk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},byc=function(a){var b=new Map,c=new Map;a[0]&&_.Yj(a[0],
_.Hk,2)&&_.Yj(a[0],_.Hk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Hk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Cd()||[]).forEach(function(e){_.mgc(e,eyc(_.el(e),b,c));_.ngc(e,eyc([e.Am()],b,c)[0]);var f=eyc([e.Wt()],b,c)[0];_.J(e,47,f);f=eyc([e.Lq()],b,c)[0];_.J(e,91,f);f=eyc([e.iD()],b,c)[0];_.J(e,95,f);if(e=e.Yv())_.igc(e,eyc(e.mR(),b,c)),_.jgc(e,eyc(_.Yj(e,_.Hk,3),b,c))});_.Uj(d,2)})},eyc=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.ek(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Zxc=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].Bo()){for(var d=[],e=b[c].Cd();e.length>a;){var f=_.Ba(e,a-1,a);f=Dtc(new xL,f);d.push(f)}Dtc(b[c],e);d.length&&_.Db(_.Ba,b,c+1,0).apply(null,d)}}},cyc=function(a){for(var b={},c=1;c<a.length;b={yea:b.yea},c++)if(!a[c].Bo()){for(var d=0,e=c;e<a.length&&!a[e].Bo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.yea=e.Cd();d.forEach(function(f){return function(h){_.za(f.yea,
h.Cd())}}(b));Dtc(e,b.yea)}},Vxc=function(a,b,c){if(!_.eec()&&a.V){var d=new Worker(_.Sga(_.By(a.V)),void 0),e=new _.Vh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Jd(Error(String(k)))},!1);c=zvc(new yvc,c);d.postMessage({command:"encrypt",data:{request:c.kc(),key:b}});return e}try{a=[];var f=new Lxc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.ai(a)}catch(k){h=_.ci(k)}return h},ayc=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(!_.eec()&&a.V){var f=new Worker(_.Sga(_.By(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 Lxc(c);for(c=0;c<d.length;c++)a.push(Oxc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},fyc=function(a,b,c){return[a.Tz(),
a.clientId,b?"#":$L(a)].join(":")+":"+(c||"")},gyc=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};gyc.prototype.getKey=function(){return this.key};gyc.prototype.Ya=function(){return this.value};
var hyc=function(a,b){a=fyc(a,b);return itc(a+"A",a+"z")},iyc=function(a,b){this.H=a;this.O=b},jyc=function(a){return a?new iyc(a.versionKey,a.versionChangeTimestamp):null},kyc=function(a,b){return a+":"+b},lyc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.R0=void 0===e?null:e},myc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.R0}},nyc=function(a,b,c,d){a=$L(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.yt(":%02d",c)},oyc=function(a,b,
c,d){c=nyc(a,b,void 0===c?0:c,d);a=$L(a)+"_"+b;3===b&&(a+="_"+d);return itc(c,a+":a")},pyc=function(a){var b=$L(a)+"_";a=$L(a)+"_A";return itc(b,a)},qyc=function(a){return a?new lyc(a.data,a.index,a.size,a.timestamp,a.e):null},ryc=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=_.ya(e);_.Ha(this.fields);_.Ea(this.fields);this.H=f};ryc.prototype.Tz=function(){return this.userId};
ryc.prototype.Og=function(){return _.ya(this.fields)};
var $L=function(a){if(!a.O){var b=new _.$H;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.Ubc(b.digest())}return a.O},syc=function(a){return{versionKey:$L(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},tyc=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 ryc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:$L(a)!==d&&(a=null);return a},aM=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.O.call(this);var e=this;this.Gd=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.va=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Pa=a.then(function(f){e.version=f});this.Lb=new _.Ie(this);this.Ma(this.Lb)};_.N(aM,_.O);aM.prototype.initialize=function(){return uyc(this)};
var uyc=function(a,b){a.V||(a.V=_.Th(),a.Pa.then(function(){b?(a.va=!1,vyc(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.ma=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.Kcc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).Rf(a.Ka.bind(a),a.ta.bind(a)),_.vi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.pc("Database version error",void 0,_.lI(c)?c:void 0))}));return a.V.promise},vyc=function(a,b){a.H=b;a.Lb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Lb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};aM.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ja(b.H.objectStoreNames,function(c){return _.Jgc(b,c)});_.Ma(_.DI,function(c){var d=_.yec.get(c);_.Hcc(b,c,d?{keyPath:d}:void 0)})};
aM.prototype.ta=function(a){var b;a&&a instanceof _.dI&&"InvalidStateError"==a.getName()&&_.rj.Uw?b=Error("of"):_.lI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);wyc(this,!1)};aM.prototype.Ka=function(a){this.ka?a.dispose():(vyc(this,a),this.Ma(this.H),this.readOnly||xyc(this).wg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),wyc(this,!0))};
var wyc=function(a,b){if(a.ma){var c=a.ma,d=_.D(_.gK(c),wpc,5);d||(d=new wpc,c=_.gK(c),_.J(c,5,d));d=_.y(d,1,2);c=a.Di().W;d=_.y(d,2,c);c=a.Di().ka;d=_.y(d,5,c);b=_.y(d,3,b);b=_.y(b,4,a.Ba);d=a.Di().ma;_.y(b,6,d);a.ma.ak();a.ma=null}};aM.prototype.Ha=function(){this.H||this.Ef()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("pf")))};aM.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};aM.prototype.Ef=function(){return this.ka};
var yyc=function(a){return a.ka?a.O:null};aM.prototype.Di=function(){return this.version};
var bM=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.Icc(a,[b],c)}catch(d){return null}},xyc=function(a){var b=_.DI.F_,c=bM(a,b,"readwrite");if(!c)return _.Rh(Error("qf"));c.objectStore(b).put(syc(a.Di()));return c.wait().then(function(){})},zyc=function(a){if(!a.H)return _.Rh(Error("rf"));if(a.Ef())return _.Rh(Error(a.O));var b=_.DI.F_,c=bM(a,b,"readwrite");return c?c.objectStore(b).remove($L(a.Di())).then():_.Rh(Error("sf"))},Ayc=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=qyc(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("tf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("uf")),0;var e=d[0].size;if(!e)return b.reject(Error("vf")),0;if(e>d.length)return b.reject(Error("wf`"+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("xf`"+e)),0;if(c&&a<c)return b.reject(Error("yf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},$xc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Rh(Error("zf"));if(a.Ef())return _.Rh(Error(a.O));var e=oyc(a.Di(),b,0,c),f=_.DI.Z5,h=bM(a,f);if(!h)return _.Rh(Error("Af"));e=h.objectStore(f).getAll(e);var k=_.Th();e.Rf(function(l){l=Ayc(l,k,d);a.readOnly||null==l||Byc(a,b,c,l).wg(function(){})},k.reject);return k.promise},Wxc=function(a,b,c,d,e,f){if(a.H){if(a.Ef())return _.Rh(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.Rh(Error("Bf"))}else return _.Rh(Error("Cf"));
var h=Date.now(),k=b.length;b=b.map(function(r,v){return{key:nyc(a.Di(),c,v,d),data:new lyc(r.getData(),v,k,h,e),metadata:r}});var l=_.DI.Z5,p=bM(a,l,"readwrite");if(!p)return _.Rh(Error("Df"));var q=p.objectStore(l);b.forEach(function(r){var v=Cyc(a,c,d,r.metadata,f);q.put(myc(r.data),r.key).then(function(){v&&(Epc(v.VE(),!0),v.ak())},function(z){var A=z instanceof _.dI?z.code:_.jcc;v&&a.W&&(z=Epc(v.VE(),!1),A=_.hK(_.aec,A),_.y(z,2,A),v.ak())})});return p.wait().then(function(){})},Cyc=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=Gpc(Fpc(a.VE(),_.hK(_.$dc,b)),_.hK(_.Xdc,c)),f=f.Bo(d.H),f=_.y(b,5,f),Hpc(f,d.isEncrypted),void 0!=d.Tm()&&a.VE().It(d.Tm());return a}return null},Byc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Ef())return _.Rh(Error(a.O));if(3==b&&void 0==c)return _.Rh(Error("Ef"))}else return _.Rh(Error("Ff"));b=oyc(a.Di(),b,d,c);c=_.DI.Z5;a=bM(a,c,"readwrite");if(!a)return _.Rh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})},Dyc=
function(a){if(!a.H)return _.Rh(Error("Hf"));if(a.Ef())return _.Rh(Error(a.O));var b=pyc(a.Di()),c=_.DI.Z5;a=bM(a,c,"readwrite");if(!a)return _.Rh(Error("If"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
aM.prototype.getMetadata=function(a){if(this.H){if(this.Ef())return _.Rh(Error(this.O));if(a&&0==a.length)return _.Rh(Error("Jf"))}else return _.Rh(Error("Kf"));var b=this.Di(),c=_.DI.j7,d=bM(this,c);if(!d)return _.Rh(Error("Lf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(fyc(b,k.global,k.key)).then())});a=_.Sh(f)}else a=_.Sh([e.getAll(hyc(b,!1)).then(),e.getAll(hyc(b,!0)).then()]).then(function(k){return Hlc(k[0],k[1])});var h=_.Th();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]!==$L(b)||p[0]!==b.Tz()||p[1]!==String(b.clientId)?null:new gyc(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var Eyc=function(a,b){if(a.H){if(a.Ef())return _.Rh(Error(a.O));if(0==b.length)return _.Rh(Error("Mf"))}else return _.Rh(Error("Nf"));var c=_.DI.j7,d=bM(a,c,"readwrite");if(!d)return _.Rh(Error("Of"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Di();h={k:fyc(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Sh(f).then(function(){})},Fyc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Ef())return _.Rh(Error(a.O))}else return _.Rh(Error("Qf"));var c=a.Di(),
d=_.DI.j7;a=bM(a,d,"readwrite");if(!a)return _.Rh(Error("Rf"));d=a.objectStore(d);a=[];a.push(d.remove(hyc(c,!1)).then());b&&a.push(d.remove(hyc(c,!0)).then());return _.Sh(a).then(function(){})},Gyc=function(a){if(!a.H)return _.Rh(Error("Sf"));if(a.Ef())return _.Rh(Error(a.O));var b=kyc(a.Di().Tz(),a.Di().clientId),c=_.DI.xU;return(a=bM(a,c))?a.objectStore(c).get(b).then(function(d){return jyc(d)}):_.Rh(Error("Tf"))},Hyc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Rh(Error("Uf"));if(a.Ef())return _.Rh(Error(a.O));
var c=a.Di(),d=kyc(c.Tz(),c.clientId);b=new iyc($L(c),b?Date.now():void 0);c=_.DI.xU;a=bM(a,c,"readwrite");if(!a)return _.Rh(Error("Vf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
aM.prototype.Ml=function(a){var b=this;return this.H?this.Ef()?_.Rh(Error(this.O)):Gyc(this).then(function(c){var d=$L(b.Di());if(c)if(a){if(!c.O&&d==c.H&&d!=$L(a))return Hyc(b,!0);if(c.O&&d==$L(a))return Hyc(b)}else{if(d!=c.H)return Hyc(b)}else if(!a)return Hyc(b)}):_.Rh(Error("Wf"))};var Iyc=function(a){if(!a.H)return _.Rh(Error("Xf"));if(a.Ef())return _.Rh(Error(a.O));var b=a.Di(),c=kyc(b.Tz(),b.clientId);return Gyc(a).then(function(d){if(d){d=_.DI.xU;var e=bM(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
aM.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Ef()?_.Rh(Error(this.O)):Gyc(this).then(function(c){var d=c&&c.H==$L(b.Di());return d&&!a?!1:(c&&d?Iyc(b):_.Qh()).then(function(){return _.Sh([Fyc(b,a),Dyc(b),zyc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Rh(Error("Yf"))};aM.prototype.close=function(){this.ha("Closing database")};aM.prototype.log=function(a){this.Gd.info("drive.ds.sync.storage.VersionedDb",a)};
var Jyc=function(a){if(1>=a.Di())return!1;var b=a.H.objectStoreNames;return _.Ra(_.DI).every(function(c){return b&&b.contains(c)})},Kyc=function(){var a=_.Th();_.Kcc("GoogleDriveDs").Rf(function(b){b?Jyc(b)?a.resolve(b):(b.close(),_.Uh(jtc().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},Lyc=function(a,b,c){var d=_.Th();a?_.Icc(a,[_.DI.F_],"readonly").objectStore(_.DI.F_).getAll().Rf(function(e){e=_.Ra(e).map(function(f){return tyc(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Tz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Myc=function(a,b,c){var d=_.Th();Kyc().then(function(e){if(e){var f=_.DI.xU;_.Icc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return jyc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.DI.F_,p=_.Icc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=tyc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Xh(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},Nyc=function(a,b,c){var d=_.Th(),e=new aM(_.Qh(a),b);uyc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Oyc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Nyc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Sh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+$L(l)))});d.resolve(k)})},Pyc=function(a,b,c){var d=Date.now()-12096E5,e=_.Th();Kyc().then(function(f){f?(_.Uh(e.promise,function(){f.close()}),Lyc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Oyc(h,c,f,e)})):e.resolve([])});return e.promise},Qyc=function(a,b,c){var d=_.Th();Kyc().then(function(e){e?(_.Uh(d.promise,function(){e.close()}),
Lyc(e,a,b).then(function(f){Oyc(f,c,e,d,!0)})):d.resolve([])});return d.promise},Ryc=function(a,b,c,d){if(a.length){var e=_.DI.Z5,f=a.shift(),h=nyc(f,3,0,1);try{_.Icc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=qyc(k))&&(!k.R0||k.R0&&d.has(f.V))?b.resolve(f):Ryc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Syc=function(a,b,c,d,e,f,h){var k=_.Th();Kyc().then(function(l){l?(_.Uh(k.promise,function(){l.close()}),Lyc(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=$L(q))&&q.W==c&&q.H>=e&&Zlc(d.filter(function(r){return!_.zec.has(r)}),q.Og(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Ryc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Tyc={key:"rid",global:!0},Uyc={key:"ooi",global:!0},Vyc={key:"rtds",global:!1},Wyc={key:"dct",global:!1},Xyc={key:"pc",global:!1},Yyc=function(a){this.H=new _.Ph(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Yyc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Ef())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};Yyc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Ef()?Eyc(c,[new gyc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Yyc.prototype.ao=function(){return this.get(Tyc).then(function(a){return a?a:null})};Yyc.prototype.Iu=function(a){return this.set(Tyc,a)};
var Zyc=function(a){return a.get(Uyc).then(function(b){return"boolean"===typeof b?b:null})};Yyc.prototype.Ry=function(a){return this.set(Uyc,a)};var $yc=function(a){return a.get(Xyc).then(function(b){return"boolean"===typeof b?b:null})},azc=function(a){return a.get(Vyc).then(function(b){return Array.isArray(b)?b:null})},bzc=function(a){return a.get(Wyc).then(function(b){return"number"===typeof b?b:null})},czc=function(){this.lj=[]};_.N(czc,_.wK);
czc.prototype.add=function(a,b){var c=a.Cv.request;return c instanceof _.DJ&&_.B(c.request,12)?_.wK.prototype.add.call(this,a,b):!1};czc.prototype.Asa=function(a){return this.lj.splice(0,Math.min(a,1))};var dzc=function(a,b){this.lj=[];this.H=b};_.N(dzc,_.wK);dzc.prototype.add=function(a,b){return a.Cv.request instanceof _.DJ?!1:_.wK.prototype.add.call(this,a,b)};
dzc.prototype.Asa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.lj.length&&b.length<a;f++){var h=this.lj[f],k=h.Cv.request;k instanceof _.TI||k instanceof _.eJ||k instanceof _.xJ?k="app|"+k.Bh():k instanceof _.OI||k instanceof _.PI||k instanceof _.VI||k instanceof _.xI?k="item|"+(k instanceof _.OI?k.Dc():k.getId()):k instanceof _.WI||k instanceof _.fJ?k="item|"+k.Dc():k instanceof _.XI||k instanceof _.zJ?k="item|"+k.Dc():k instanceof _.yD||k instanceof _.xD?(k=k instanceof _.yD?_.D(k,_.kp,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.lp(k)):k=k instanceof _.YI?"td|"+k.getId():null;var l=h.Cv.request;if(l instanceof _.RI)l=!!_.R(l,8);else if(l instanceof _.PI){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.cdb.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++)_.ta(this.lj,c[a]);return b};
ezc=function(a,b,c,d,e,f,h,k,l){a=a.$f();h=new _.Jjc(k,h,d,_.fk(a,32,1073741824),_.fk(a,21,1E3));h=new _.Kjc(h);k=new _.ijc(_.fk(a,59,2E3),_.fk(a,60,2E4),_.fk(a,61,6));c=new _.gjc(l?l:c,l?void 0:e);e={};e[1]=_.Mjc(b,d);e[2]=_.Njc(b,a,k,c,d);e[3]=_.Ojc(b,a,k,c,d,"batch");l=_.fk(a,10,50);f=new _.yK(d,b,[_.hjc(c),new _.ljc(l,_.fk(a,11,100)),new _.xK(l),new _.vK(k,d)],[new dzc(a,f),new czc,new _.wK],[new _.ujc(a,k,c.Ij(),d)],"mutation");return e[4]=f,e[5]=_.Pjc(h,a,d),e[6]=_.Ojc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.Ojc(b,a,k,c,d,"xd4_batch"),e[8]=_.Ojc(b,a,k,c,d,"xd4_batch_one",1),e};fzc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};gzc=function(a){var b={};return b.parentId=a.Lk(),b};hzc=function(a){var b={};_.ge(_.Mg(a.getTitle()))||(b.title=a.getTitle());_.blc(b,_.Sd(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
izc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b};jzc=function(a){var b={};b.sourceIds=_.Sd(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
kzc=function(a){var b={},c={};_.ge(_.Mg(a.getTitle()))||(b.title=a.getTitle());null!=a.Qe()&&(b.description=a.Qe());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Wh()&&(c.trashed=a.Wh());_.ge(_.Mg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.B(a,7)&&(b.modifiedDate=_.Hgc(_.Ghc(_.B(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Qa(c)&&(b.labels=c);null!=a.Yi()&&(b.folderColor=a.Yi());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.D(a,_.$k,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.B(c,2)&&(d.reason=_.B(c,2));b.contentRestrictions.push(d)}_.blc(b,_.Sd(a,8));return b};lzc=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
mzc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.B(a,3))b.backgroundImageId=_.B(a,3);else{var c=_.B(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Kg)("0",6-c.length)+c);c=_.D(a,_.ppc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.B(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.B(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Ie())&&(a.width=c);b.backgroundImageFile=a}}return b};
nzc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.elc[a.getState()])&&(b.state=a);return b};_.ozc=function(a){_.K.call(this,a)};_.N(_.ozc,_.K);_.ozc.prototype.O=function(){return _.B(this,1)};var pzc=function(a){_.K.call(this,a)};_.N(pzc,_.K);pzc.prototype.O=function(){return _.R(this,1)};pzc.prototype.V=function(){return _.B(this,2)};_.cM=function(a){_.K.call(this,a)};_.N(_.cM,_.K);_.g=_.cM.prototype;_.g.getId=function(){return _.B(this,1)};
_.g.Pb=function(a){return _.y(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.y(this,2,a)};_.g.Csa=function(){return _.B(this,3)};_.g.bz=function(){return _.B(this,4)};_.g.A$=function(){return _.D(this,pzc,6)};_.g.Isb=function(){return _.D(this,_.ozc,7)};_.g.yVa=function(){return _.B(this,8)};_.g.Bsa=function(){return _.R(this,9)};_.dM=function(a){_.K.call(this,a)};_.N(_.dM,_.K);_.g=_.dM.prototype;_.g.getType=function(){return _.B(this,1)};
_.g.getId=function(){return _.B(this,2)};_.g.Pb=function(a){return _.y(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.y(this,3,a)};_.g.Od=function(){return _.B(this,5)};_.g.setSize=function(a){return _.y(this,5,a)};_.g.rab=function(){return _.B(this,6)};_.qzc=function(a,b){return _.y(a,6,b)};_.dM.prototype.Qe=function(){return _.B(this,8)};_.dM.prototype.tm=function(a){return _.y(this,8,a)};_.dM.prototype.O=function(){return _.R(this,9)};
_.eM=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.V=a;this.va=b;this.Fa=c;this.request=e;this.Ba=f;this.H=[];this.items=[];this.ha=!0;this.O=!1;this.suggestionSessionId=null;this.Ha=d;this.status=6;this.ka=Rmc(new _.FK,[1]);this.limit=e.Mi();this.Pe=0;_.ze(this,function(){h.O=!1;h.H=[]})};_.N(_.eM,_.P);_.g=_.eM.prototype;_.g.xi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};_.g.activate=function(){this.O=!0;_.qa(this.items)&&6===this.Bb()&&this.Uj()||rzc(this)};
_.g.wd=function(){return this.request};_.g.Mi=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Tq=function(){return this.ka};_.g.Uj=function(){return this.ha};_.g.Br=function(){var a=_.Nbc().Hz(this.H,this.items),b=(new _.aI).Ec(this.Bb());a=_.Tj(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 szc=function(a,b){return a.Bb()!==b.Bb()||YK(_.Nbc(),a.items,b.Cd())},tzc=function(a,b){a.items=b.Cd();a.status=b.Bb();_.mI(a.Ba)&&(a.ka=Smc(a.status,a.items));a.ha=b.nl();a.Pe=b.ef()};_.eM.prototype.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.eM.prototype.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};
_.eM.prototype.Du=function(a,b){var c=this;b+="\n\n\nQuery:\n"+EL(this.V,this.wd());return _.bi(this.va.then(function(d){return d.CMb(a,b,c.wd(),c.Mi(),c.items)}))};
var rzc=function(a){a.isActive()&&(a.log("Livelist "+a.xi()+" returning "+a.items.length+". Status: "+(_.ab(qqc)[a.Bb()]+". Datasource: ")+(_.ab(trc)[a.Pe]+". Query: ")+(EL(a.V,a.request)+" ")+Tmc(a.items)),uzc(a,a.items,a.request),a.dispatchEvent(new _.ii(_.Cc,a)))},uzc=function(a,b,c){if(_.gJ(c))c="quick access";else if(_.hJ(c))c="people predict";else if(_.iJ(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))};_.eM.prototype.refresh=function(){};_.eM.prototype.log=function(a){this.Fa.info(this.W,a)};var wnc=[90,59,75];_.t("sy1mj");
var vzc=function(a){_.K.call(this,a)};_.N(vzc,_.K);
var wzc=function(a){_.K.call(this,a)};_.N(wzc,_.K);wzc.prototype.getType=function(){return _.B(this,1)};var xzc=function(a){var b=new wzc;return _.y(b,1,a)},yzc=function(a,b){return _.J(a,2,b)};wzc.prototype.py=function(){return _.B(this,3)};wzc.prototype.Sy=function(a){return _.y(this,3,a)};wzc.prototype.Ni=function(){return _.B(this,4)};wzc.prototype.setPosition=function(a){return _.y(this,4,a)};
var fM=function(a){_.K.call(this,a)};_.N(fM,_.K);fM.prototype.getType=function(){return _.B(this,1)};var zzc=function(a){var b=new fM;return _.y(b,1,a)};fM.prototype.tn=function(){return _.D(this,uL,2)};var Azc=function(a,b){return _.J(a,2,b)};fM.prototype.py=function(){return _.B(this,3)};fM.prototype.Sy=function(a){return _.y(this,3,a)};fM.prototype.Ni=function(){return _.B(this,4)};fM.prototype.setPosition=function(a){return _.y(this,4,a)};
var gM=function(a){_.K.call(this,a)};_.N(gM,_.K);gM.prototype.getType=function(){return _.B(this,1)};var Bzc=function(a){var b=new gM;return _.y(b,1,a)};gM.prototype.tn=function(){return _.D(this,_.fG,2)};var Czc=function(a,b){return _.J(a,2,b)};gM.prototype.py=function(){return _.B(this,3)};gM.prototype.Sy=function(a){return _.y(this,3,a)};gM.prototype.Ni=function(){return _.B(this,4)};gM.prototype.setPosition=function(a){return _.y(this,4,a)};
var Dzc=function(a){_.K.call(this,a)};_.N(Dzc,_.K);Dzc.prototype.Bb=function(){return _.B(this,1)};Dzc.prototype.Ec=function(a){return _.y(this,1,a)};Dzc.prototype.yr=function(){return _.D(this,_.sL,2)};
var Fzc=function(a){_.K.call(this,a,-1,Ezc)};_.N(Fzc,_.K);Fzc.prototype.Bb=function(){return _.B(this,1)};Fzc.prototype.Ec=function(a){return _.y(this,1,a)};Fzc.prototype.dk=function(){return _.B(this,3)};var Ezc=[2];
var Gzc=function(a){_.K.call(this,a)};_.N(Gzc,_.K);Gzc.prototype.od=function(){return _.D(this,$K,1)};Gzc.prototype.Zn=function(){return _.B(this,2)};
var Hzc=function(a){_.K.call(this,a)};_.N(Hzc,_.K);_.g=Hzc.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.yr=function(){return _.D(this,_.sL,2)};_.g.dk=function(){return _.B(this,3)};_.g.Bh=function(){return _.B(this,4)};
var hM=function(a){_.K.call(this,a)};_.N(hM,_.K);hM.prototype.Bb=function(){return _.B(this,1)};hM.prototype.Ec=function(a){return _.y(this,1,a)};hM.prototype.dk=function(){return _.B(this,3)};
var Izc=function(a){_.K.call(this,a)};_.N(Izc,_.K);_.g=Izc.prototype;_.g.Bb=function(){return _.B(this,1)};_.g.Ec=function(a){return _.y(this,1,a)};_.g.dk=function(){return _.B(this,2)};_.g.zMa=function(){return _.D(this,_.kp,3)};_.g.getKey=function(){return _.D(this,_.Tb,4)};_.g.ws=function(){return _.Q(this,4)};
var Kzc=function(a){_.K.call(this,a,-1,void 0,Jzc)};_.N(Kzc,_.K);Kzc.prototype.getKey=function(){return _.B(this,1)};Kzc.prototype.ws=function(){return _.Q(this,1)};var Mzc=function(a){_.K.call(this,a,-1,Lzc)};_.N(Mzc,_.K);var Jzc=[[2,4,6,10],[3,5,7,8,9]],Lzc=[1];
var Nzc=function(a){_.K.call(this,a)};_.N(Nzc,_.K);
var iM=function(a){_.K.call(this,a,-1,Ozc)};_.N(iM,_.K);iM.prototype.Bb=function(){return _.B(this,1)};iM.prototype.Ec=function(a){return _.y(this,1,a)};iM.prototype.O=function(){return _.Yj(this,fL,2)};var Pzc=function(a,b){return _.Tj(a,2,b)};iM.prototype.dk=function(){return _.B(this,3)};var Ozc=[2];
var Qzc=function(a){_.K.call(this,a)};_.N(Qzc,_.K);Qzc.prototype.Bb=function(){return _.B(this,1)};Qzc.prototype.Ec=function(a){return _.y(this,1,a)};Qzc.prototype.O=function(){return _.D(this,fL,2)};Qzc.prototype.dk=function(){return _.B(this,3)};
var Rzc=function(a){_.K.call(this,a)};_.N(Rzc,_.K);Rzc.prototype.oy=function(){return _.B(this,2)};
var Tzc=function(a){_.K.call(this,a,-1,Szc)};_.N(Tzc,_.K);Tzc.prototype.Bb=function(){return _.B(this,1)};Tzc.prototype.Ec=function(a){return _.y(this,1,a)};Tzc.prototype.Hj=function(){return _.Yj(this,_.N$a,2)};Tzc.prototype.pr=function(a,b){return _.bk(this,2,a,_.N$a,b)};var Szc=[2];
var Vzc=function(a){_.K.call(this,a,-1,Uzc)};_.N(Vzc,_.K);Vzc.prototype.Bb=function(){return _.B(this,1)};Vzc.prototype.Ec=function(a){return _.y(this,1,a)};Vzc.prototype.ql=function(){return _.Yj(this,fM,2)};var Uzc=[2];
_.Xzc=function(a){_.K.call(this,a,-1,Wzc)};_.N(_.Xzc,_.K);var Wzc=[1];
var jM=function(a){_.K.call(this,a,-1,Yzc)},aAc,bAc;_.N(jM,_.K);jM.prototype.Zn=function(){return _.B(this,1)};var Zzc=function(a,b){return _.y(a,1,b)},$zc=function(a,b){return _.y(a,2,b)};jM.prototype.Bb=function(){return _.B(this,3)};jM.prototype.Ec=function(a){return _.y(this,3,a)};aAc=function(a,b){return _.y(a,4,b)};bAc=function(a,b){return _.Tj(a,5,b)};_.cAc=function(a){_.K.call(this,a)};_.N(_.cAc,_.K);_.cAc.prototype.hc=function(){return _.B(this,2)};_.eAc=function(a){_.K.call(this,a,-1,dAc)};
_.N(_.eAc,_.K);var fAc=function(a,b){return _.y(a,1,b)},gAc=function(a,b){return _.y(a,2,b)},hAc=function(a,b){return _.Tj(a,3,b)},Yzc=[5],dAc=[3];
_.kM=function(a){_.K.call(this,a,-1,iAc)};_.N(_.kM,_.K);_.kM.prototype.PV=function(){return _.Yj(this,_.aG,2)};_.kM.prototype.ze=function(){return _.D(this,_.qf,3)};var iAc=[1,2];
_.lM=function(a){_.K.call(this,a)};_.N(_.lM,_.K);_.lM.prototype.Bb=function(){return _.B(this,1)};_.lM.prototype.Ec=function(a){return _.y(this,1,a)};_.lM.prototype.Cf=function(){return _.D(this,_.oB,2)};_.jAc=function(a,b){return _.J(a,2,b)};_.lM.prototype.dk=function(){return _.B(this,3)};
var kAc=function(a){_.K.call(this,a)};_.N(kAc,_.K);kAc.prototype.Bb=function(){return _.B(this,1)};kAc.prototype.Ec=function(a){return _.y(this,1,a)};
var mAc=function(a){_.K.call(this,a,-1,lAc)};_.N(mAc,_.K);mAc.prototype.Bb=function(){return _.B(this,1)};mAc.prototype.Ec=function(a){return _.y(this,1,a)};mAc.prototype.ql=function(){return _.Yj(this,gM,2)};var lAc=[2];
var nAc=function(a){_.K.call(this,a)};_.N(nAc,_.K);nAc.prototype.getType=function(){return _.B(this,1)};var oAc=function(a){var b=new nAc;return _.y(b,1,a)};nAc.prototype.py=function(){return _.B(this,3)};nAc.prototype.Sy=function(a){return _.y(this,3,a)};nAc.prototype.Ni=function(){return _.B(this,4)};nAc.prototype.setPosition=function(a){return _.y(this,4,a)};
var qAc=function(a){_.K.call(this,a,-1,pAc)};_.N(qAc,_.K);qAc.prototype.Bb=function(){return _.B(this,1)};qAc.prototype.Ec=function(a){return _.y(this,1,a)};qAc.prototype.dk=function(){return _.B(this,3)};var pAc=[2];
_.rAc=function(a){_.K.call(this,a)};_.N(_.rAc,_.K);_.rAc.prototype.getId=function(){return _.B(this,1)};_.rAc.prototype.Pb=function(a){return _.y(this,1,a)};_.rAc.prototype.ze=function(){return _.D(this,_.qf,4)};
var tAc=function(a){_.K.call(this,a,-1,sAc)};_.N(tAc,_.K);tAc.prototype.Bb=function(){return _.B(this,1)};tAc.prototype.Ec=function(a){return _.y(this,1,a)};tAc.prototype.dk=function(){return _.B(this,3)};var sAc=[2];
_.mM=function(a){_.K.call(this,a)};_.N(_.mM,_.K);_.mM.prototype.getType=function(){return _.B(this,1)};var uAc=function(a){var b=new _.mM;return _.y(b,1,a)},vAc=function(a,b){return _.J(a,2,b)};_.mM.prototype.py=function(){return _.B(this,3)};_.mM.prototype.Sy=function(a){return _.y(this,3,a)};_.mM.prototype.Ni=function(){return _.B(this,4)};_.mM.prototype.setPosition=function(a){return _.y(this,4,a)};
_.inc=function(a){_.K.call(this,a)};_.N(_.inc,_.K);_.g=_.inc.prototype;_.g.getItem=function(){return _.D(this,_.dl,1)};_.g.setItem=function(a){return _.J(this,1,a)};_.g.getError=function(){return _.D(this,_.oc,2)};_.g.Se=function(a){return _.J(this,2,a)};_.g.co=function(){return _.Q(this,2)};_.g.kt=function(){return _.B(this,4)};
var xAc=function(a){_.K.call(this,a,-1,wAc)};_.N(xAc,_.K);var wAc=[2,4];
var zAc=function(a){_.K.call(this,a,-1,yAc)};_.N(zAc,_.K);var yAc=[1];
var BAc=function(a){_.K.call(this,a,-1,AAc)};_.N(BAc,_.K);BAc.prototype.Bb=function(){return _.B(this,1)};BAc.prototype.Ec=function(a){return _.y(this,1,a)};BAc.prototype.dk=function(){return _.B(this,3)};var AAc=[2];
var DAc=function(a){_.K.call(this,a,-1,CAc)};_.N(DAc,_.K);DAc.prototype.Bb=function(){return _.B(this,1)};DAc.prototype.Ec=function(a){return _.y(this,1,a)};DAc.prototype.dk=function(){return _.B(this,3)};var CAc=[2];
var EAc=function(a){_.K.call(this,a)};_.N(EAc,_.K);
var GAc=function(a){_.K.call(this,a,-1,FAc)};_.N(GAc,_.K);GAc.prototype.O=function(){return _.B(this,2)};var HAc=function(a,b){_.y(a,2,b)},FAc=[1];
var IAc=function(a){_.ii.call(this,"Ob");this.dataType=a};_.N(IAc,_.ii);
var JAc=function(a,b){_.ii.call(this,"Pb");this.mPa=a;this.dua=b};_.N(JAc,_.ii);
var KAc=function(){};_.g=KAc.prototype;_.g.FM=function(a,b){return zrc(yrc(1),a).setPosition(b)};_.g.DM=function(a,b){return zrc(yrc(2).setPosition(b),a)};_.g.KE=function(a,b,c){return zrc(yrc(3).Sy(b).setPosition(c),a)};_.g.xQ=function(a,b){return zrc(yrc(4),a).setPosition(b)};_.g.fN=function(a){return _.D(a,cL,2)};
var LAc=function(){_.SH.call(this,new KAc,function(a){return a&&a.getName()})};_.N(LAc,_.SH);
var nM=function(a,b,c){c=void 0===c?50:c;_.P.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=Rmc(new _.FK,[1]);this.ha=this.H=!1;this.Sc=new _.Ie(this);this.Ma(this.Sc);_.ze(this,function(){d.active=!1;d.Sc.removeAll()})};_.N(nM,_.P);_.g=nM.prototype;_.g.xi=function(){return String(_.Da(this))};_.g.We=function(){return this.W.We()||this.connectionState.We()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Sc.listen(this.W,"Ab",_.Db(this.$t)),this.Sc.listen(this.connectionState,[].concat(_.od(Object.values(_.qB))),_.Db(this.$t)),this.W.We()?this.Sc.ld(this.W,"Ab",function(b){b.We()||(a.dH(),a.dispatchEvent(new _.ii(_.lq)))}):this.connectionState.We()?this.Sc.ld(this.connectionState,[_.qB.BL,_.qB.yU],function(){a.dH();a.dispatchEvent(new _.ii(_.lq))}):(this.dH(),this.dispatchEvent(new _.ii(_.lq))))};_.g.dH=function(){};
_.g.Kr=function(a){var b=this;if(this.Uj()){var c=this.limit;this.limit+=a||50;this.hc()>c&&this.$t();this.W.We()?this.Sc.ld(this.W,"Ab",function(d){d.We()||b.iP()}):this.iP()}};_.g.IL=function(){this.We()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Tq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.qc(a))};_.g.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};_.g.Uj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Sc.removeAll();this.activate()};_.g.iP=function(){};
var MAc=function(a,b,c,d,e){nM.call(this,a,b,e.Mi()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new LAc;this.ma=d};_.N(MAc,nM);_.g=MAc.prototype;_.g.dH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.getData=function(){return Drc(new iL,this.data).Ec(this.status)};_.g.Br=function(){var a=this.V.Hz(this.O,this.data);this.O=this.data;var b=(new Brc).Ec(this.status);return _.Tj(b,2,a)};
_.g.iP=function(){this.ma(this.xi(),this.limit)};_.g.$t=function(){if(this.active){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,NAc(this)}};_.g.hc=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||YK(0,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,NAc(this)};
var NAc=function(a){a.log("Livelist "+a.xi()+" returning "+a.data.length+" for "+(a.request.Dc()+". Status: ")+(_.ab(qqc)[a.Bb()]+"."));a.dispatchEvent(new _.ii(_.Cc,a))};MAc.prototype.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};MAc.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var OAc=function(a,b,c,d,e,f,h){_.eM.call(this,a,b,c,e,f,d);this.Gd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.ta=null;this.ma=void 0};_.N(OAc,_.eM);OAc.prototype.getData=function(){this.H=this.items;var a=Woc((new _.cB).Ec(this.Bb()).Vw(this.items),this.Uj());a=_.J(a,7,this.ta).EP(this.suggestionSessionId).mj(this.Pe);return _.Qj(a,18,this.ma)};
OAc.prototype.update=function(a){if(szc(this,a)&&(tzc(this,a),this.ta=a.l6(),this.suggestionSessionId=a.Wf(),this.ma=a.tka(),rzc(this),this.suggestionSessionId&&Euc(this.V)&&(a=this.Gd.H(106027)))){var b=_.D(_.gK(a),Lpc,20);if(!b){b=new Lpc;var c=_.gK(a);_.J(c,20,b)}_.y(b,1,this.suggestionSessionId);a.ak()}};
var PAc=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?_.ek(d,f)||(d=Czc(Bzc(4),f),c[e]=d):(d=Czc(Bzc(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=Czc(Bzc(1),d),c[e]=d)});return c},QAc=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Ua(PAc(a,b))};
var RAc=function(a,b){_.P.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.N(RAc,_.P);_.g=RAc.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Ua(this.data)&&6===this.status||this.dispatchEvent(new _.ii(_.Cc,this)))};_.g.Bb=function(){return this.status};_.g.Tq=function(){return new _.FK};_.g.getData=function(){this.H=this.data;var a=(new _.kK).Ec(this.status);_.Ma(this.data,function(b,c){a.ZT().set(c,b||new _.fG)});return a};
_.g.Br=function(){var a=PAc(this.H,this.data);this.H=this.data;var b=(new kAc).Ec(this.status);_.Ma(a,function(c,d){_.Mj(b,2,void 0,gM).set(d,c)});return b};_.g.qT=function(){throw Error("$f");};_.g.xi=function(){return String(_.Da(this))};_.g.wd=function(){return this.request};_.g.update=function(a){var b={};a.ZT().forEach(function(c,d){c||(c=sxc(d));b[d]=c});if(this.status!==a.Bb()||QAc(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.ii(_.Cc,this))};
_.g.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};
var SAc=function(a,b,c,d,e,f){_.P.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=Rmc(new _.FK,[1]);this.log("Creating find by ids live map: "+this.request.rn().join(", "));_.ze(this,function(){h.O=!1;h.H=[]})};_.N(SAc,_.P);_.g=SAc.prototype;_.g.xi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Ua(this.items)&&6===this.status||TAc(this)};_.g.wd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.iK;_.mI(this.V)?a.Ec(dmc(Object.values(this.items))?6:this.status):a.Ec(this.status);a.map=this.items;return a};_.g.Br=function(){var a=Umc(this.H,this.items),b=new wrc;b.Ec(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Tq=function(){return this.W};_.g.qT=function(a){Auc(a);var b=this.request;this.request=a;this.ta(this.xi(),b,a)};
_.g.update=function(a){var b=this;0<=_.na(this.wd().rn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Wa(a.map,c),a.map.root=d);UAc(b,a)}):UAc(this,a)};var UAc=function(a,b){if(a.status!==b.Bb()||Vmc(a.items,b.map))a.status=b.Bb(),a.items=b.map,_.mI(a.V)&&(a.W=Smc(a.status,Object.values(a.items))),TAc(a)};SAc.prototype.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};SAc.prototype.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};
var TAc=function(a){a.O&&(a.log("Livelist "+a.xi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(qqc)[a.Bb()]+". Query: ")+(EL(a.ka,a.request)+" ")+Tmc(Object.values(a.items))),a.dispatchEvent(new _.ii(_.Cc,a)))};SAc.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var VAc=function(a,b,c,d,e,f){_.eM.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.N(VAc,_.eM);VAc.prototype.getData=function(){this.H=this.items;var a=(new _.jK).Ec(this.Bb()).Vw(this.items);var b=this.Uj();a=_.y(a,4,b);return sqc(a,this.ma).EP(this.suggestionSessionId).mj(this.Pe)};VAc.prototype.update=function(a){szc(this,a)&&(tzc(this,a),this.ma=_.Yj(a,_.Hk,6),this.suggestionSessionId=a.Wf(),rzc(this))};
var WAc=function(){};_.g=WAc.prototype;_.g.FM=function(a,b){return Azc(zzc(1),a).setPosition(b)};_.g.DM=function(a,b){return Azc(zzc(2).setPosition(b),a)};_.g.KE=function(a,b,c){return Azc(zzc(3).Sy(b).setPosition(c),a)};_.g.xQ=function(a,b){return Azc(zzc(4),a).setPosition(b)};_.g.fN=function(a){return a.tn()};
var XAc=function(){_.SH.call(this,new WAc,function(a){return a&&a.oq()})};_.N(XAc,_.SH);
var YAc=function(a,b,c){nM.call(this,a.Ij(),a.uk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new XAc;this.suggestionSessionId=null;this.ka=c};_.N(YAc,nM);_.g=YAc.prototype;_.g.dH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.getData=function(){this.O=this.data;return ytc(xtc((new vL).Ec(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.Br=function(){var a=this.V.Hz(this.O,this.data);this.O=this.data;var b=(new Vzc).Ec(this.status);return _.Tj(b,2,a)};_.g.iP=function(){};_.g.$t=function(){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))};_.g.hc=function(){return this.data.length};_.g.wd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||YK(0,this.data,a.ql())){this.changed=this.H=!0;this.data=a.ql();if(a=a.Wf())this.suggestionSessionId=a;this.$t()}};_.g.refresh=function(){this.ka()};_.g.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var ZAc=function(a,b,c){_.P.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=Rmc(new _.FK,[1]);this.O=!0;this.limit=a.Mi();_.ze(this,function(){d.H=!1;d.V=[]})};_.N(ZAc,_.P);_.g=ZAc.prototype;_.g.xi=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.qa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.ii(_.Cc,this))};_.g.wd=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Tq=function(){return this.W};_.g.Uj=function(){return this.O};_.g.getData=function(){this.V=this.items;return Woc((new _.cB).Ec(this.status).Vw(this.items),this.O)};_.g.Br=function(){var a=_.Nbc().Hz(this.V,this.items),b=(new _.aI).Ec(this.status);a=_.Tj(b,2,a);this.V=this.items;return a};_.g.Kr=function(a){this.H&&(this.limit+=a||20,this.ka.PF(this.xi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||YK(_.Nbc(),this.items,a.Cd()))this.items=a.Cd(),this.status=a.Bb(),_.mI(this.ha)&&(this.W=Smc(this.status,this.items)),this.O=a.nl(),this.H&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};_.g.Du=function(){throw Error("ag");};_.g.refresh=function(){};
var $Ac=function(a,b,c){_.P.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=Rmc(new _.FK,[1]);this.context.Tf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.rn().join(", "));_.ze(this,function(){d.V=!1;d.O=[]})};_.N($Ac,_.P);_.g=$Ac.prototype;_.g.xi=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.wd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.iK;a.Ec(this.status);a.map=this.H;return a};_.g.Br=function(){var a=Umc(this.O,this.H),b=new wrc;b.Ec(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Tq=function(){return this.W};
_.g.qT=function(a){var b=this.request;this.request=a;this.ha.lZ(this.xi(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||Vmc(this.H,a.map))this.status=a.Bb(),this.H=a.map,_.mI(this.context.Pc)&&(this.W=Smc(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.tW=function(){this.dispatchEvent(new _.ii(_.IEa))};
var aBc=function(){};_.g=aBc.prototype;_.g.FM=function(a,b){return Czc(Bzc(1),a).setPosition(b)};_.g.DM=function(a,b){return Czc(Bzc(2).setPosition(b),a)};_.g.KE=function(a,b,c){return Czc(Bzc(3).Sy(b).setPosition(c),a)};_.g.xQ=function(a,b){return Czc(Bzc(4),a).setPosition(b)};_.g.fN=function(a){return a.tn()};
var bBc=function(){_.SH.call(this,new aBc,function(a){return a&&a.getId()})};_.N(bBc,_.SH);
var cBc=function(a,b,c){nM.call(this,a.Ij(),a.uk(),b.Mi()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new bBc};_.N(cBc,nM);_.g=cBc.prototype;_.g.dH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.ii(_.Cc,this))};_.g.getData=function(){this.O=this.data;return wvc((new LL).Ec(this.status),this.data.slice(0))};_.g.Br=function(){var a=this.V.Hz(this.O,this.data);this.O=this.data;var b=(new mAc).Ec(this.status);return _.Tj(b,2,a)};
_.g.iP=function(){this.ka.PF(this.xi(),this.limit)};_.g.$t=function(){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))};_.g.hc=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||YK(0,this.data,b.ql()))this.H=!0,this.status=b.Bb(),this.data=b.ql(),this.ha=a.H,this.dispatchEvent(new _.ii(_.Cc,this))};
_.g.sB=function(a){this.dispatchEvent(new _.qc(new _.pc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var dBc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.wf;this.O=this.context.Ifa;this.ta=this.context.n6};_.g=dBc.prototype;_.g.axa=function(a){var b=this,c=new OAc(this.context.Nm,this.context.kQ,this.context.Tf(),this.context.Pc,function(d,e){b.PF(d,e)},a,this.context.Uk());this.ii(c);_.ze(c,function(){b.jk(c)});return c};
_.g.dxa=function(a){var b=this,c=new VAc(this.context.Nm,this.context.kQ,this.context.Tf(),function(d,e){b.PF(d,e)},a,this.context.Pc);this.ii(c);_.ze(c,function(){b.jk(c)});return c};_.g.Ywa=function(a){var b=this,c=new SAc(this.context.Pc,this.context.Nm,this.context.Tf(),this.context.a_,this.lZ.bind(this),a);this.ii(c);_.ze(c,function(){b.jk(c)});return c};_.g.gxa=function(a){var b=this,c=new ZAc(a,this,this.context.Pc);this.ii(c);_.ze(c,function(){b.jk(c)});return c};
_.g.hxa=function(a){var b=this,c=new $Ac(this.context,this,a);this.ii(c);_.ze(c,function(){b.jk(c)});return c};_.g.kxa=function(a){var b=this,c=new cBc(this.context,a,this);this.ii(c);_.ze(c,function(){b.jk(c)});return c};_.g.exa=function(a){var b=this,c=new YAc(this.context,a,function(){if(a instanceof _.dG){var d=eBc(b.context);axc(d,d.getKey(a)).refresh()}});this.ii(c);_.ze(c,function(){b.jk(c)});return c};
_.g.lxa=function(a){var b=this,c=new RAc(this.context,a);this.ii(c);_.ze(c,function(){b.jk(c)});return c};_.g.Uwa=function(a){var b=this,c=new MAc(this.context.Ij(),this.context.uk(),this.context.Tf(),function(d,e){b.PF(d,e)},a);this.ii(c);_.ze(c,function(){b.jk(c)});return c};
_.g.ii=function(a){var b=a.xi();this.H[b]=a;this.ha.create(b,a.wd());if(a.wd()instanceof _.Tz)a=this.O.ii(b,a.wd());else if(a.wd()instanceof _.gG)a=Zwc(this.O,b,a.wd());else if(a.wd()instanceof _.dG)a=eBc(this.context).ii(b,a.wd());else if(a.wd()instanceof _.nG)a=this.ta.ii(b,a.wd());else{var c=a.wd(),d=EL(this.context.Nm,c,2);this.log("Registering LiveList "+a.xi()+" "+d);a=this.W.ii(b,c)}"boolean"===typeof a&&fvc(this.ha,b,a)};
_.g.jk=function(a){if(a.wd()instanceof _.Tz)this.O.jk(a.xi(),a.wd());else if(a.wd()instanceof _.gG)$wc(this.O,a.xi(),a.wd());else if(a.wd()instanceof _.dG)eBc(this.context).jk(a.xi(),a.wd());else if(a.wd()instanceof _.nG)this.ta.jk(a.xi(),a.wd());else{var b=a.wd(),c=EL(this.context.Nm,b,2);this.log("Unregistering LiveList "+a.xi()+" "+c);this.W.jk(a.xi(),b)}HL(this.ha,a.xi(),4);delete this.H[a.xi()]};_.g.lZ=function(a,b,c){this.W.jk(a,b);this.W.ii(a,c)};
_.g.PF=function(a,b){var c=fBc(this,a).wd();c.yi(b);c instanceof _.Tz?this.O.ii(a,c):c instanceof _.gG?Zwc(this.O,a,c):c instanceof _.nG?this.ta.ii(a,c):this.W.ii(a,c)};_.g.AO=function(a,b){var c=this.H[a]&&this.H[a].wd();c&&(c instanceof _.cf?Plc(c.O(),b.Cd().filter(function(d){return!BL(d)})):c instanceof _.jA&&Plc(c.O(),Object.values(b.map).filter(function(d){return d&&!BL(d)})));this.ka[a]=b;this.V||(this.V=_.ti(this.g9,50,this))};
_.g.RX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ti(this.g9,50,this))};_.g.kA=function(a){(a=this.H[a])&&a.tW()};_.g.g9=function(){_.ui(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&&(ivc(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])HL(this.ha,a,3),d.sB(c)};
_.g.Ika=function(a){return fBc(this,a).wd()};var fBc=function(a,b){if(!a.H[b])throw Error("bg`"+b);return a.H[b]};dBc.prototype.log=function(a,b){this.context.Tf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var oM=function(a,b){_.P.call(this);this.O=a;this.request=b;this.oe=_.Th();this.complete=!1;this.H=""};_.N(oM,_.P);oM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Te(a.request)}).then(this.W.bind(this)).wg(this.handleError.bind(this));return this.oe.promise};oM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new JAc(0,this.H));gBc(this)};
var gBc=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Te(new _.jfc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new xAc;c=_.Qj(c,2,b.V);c=_.y(c,3,a.H);c=_.y(c,5,b.ka);c=_.y(c,6,b.ha);c=_.y(c,7,b.hA);c=_.y(c,8,b.H);b=_.Tj(c,4,b.W);a.oe.resolve(b)}else b=_.tI(_.fq(_.eq(new _.oc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new JAc(b.O,
a.H)),gBc(a)}).wg(function(b){a.handleError(b)})},5E3)};oM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Te(new _.ifc(a.H))}).then(this.V.bind(this)).wg(this.handleError.bind(this))};oM.prototype.V=function(){if(!this.complete){var a=new xAc;a=_.y(a,3,this.H);a=_.y(a,1,!0);this.oe.resolve(a);this.complete=!0;this.dispose()}};oM.prototype.handleError=function(a){this.complete=!0;this.oe.reject(_.JI(a));this.dispose()};
var hBc=function(){_.ii.call(this,"VbxEwf")};_.N(hBc,_.ii);
var iBc=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=iBc.prototype;_.g.La=function(){return _.D(this.context.Pc,_.EI,58)};_.g.getContext=function(){return this.context};_.g.Gz=function(){return this.context.PA.Gz(this.H)};_.g.Tf=function(){return this.context.Tf()};_.g.UM=function(a){return _.ai(this.context.wf.ym.H(a))};_.g.iR=function(){return _.ai(this.context.PA.iR())};
_.g.l5=function(a,b,c){var d=new _.Vh;if(_.D(a,_.nI,3)||_.D(a,_.EJ,4)||_.D(a,_.sK,5)||_.D(a,_.BJ,6)||_.D(a,_.YI,7)||_.D(a,_.RI,8)||_.D(a,_.VI,9)||_.D(a,_.xI,10)){var e=cvc(a);this.context.Wm().then(function(f){return f.Te(e,{A7a:b,B7a:c})}).then(this.sab.bind(this,d),d.Jd,d);return d}throw Error("cg");};
_.g.sab=function(a,b){var c=[],d="";if(b instanceof _.tK){c=b.od().Cd();var e=_.B(b,2);d=b.Zn()}else if(b instanceof _.GJ)b.getItem()&&c.push(b.getItem()),e=b.dN();else throw Error("dg");a.callback({items:c,yia:e,pageToken:d})};_.g.gqa=function(){var a=this.context.Pc,b=a.$f();a="email:"+_.hI(a).getEmail().replace(/@.*$/,"");_.y(b,13,a)};_.g.$ha=function(){this.context.Us.nS();var a=this.context.Pc;Qyc(_.TJ(_.hI(a)),_.UJ(a),this.context.Tf()).wg(function(){})};
_.g.q9=function(){return _.jec[_.Kj(this.context.Pc.$f(),8,0)]};_.g.wda=function(){this.context.$F.H=new Gxc(_.Ng().substring(0,8))};_.g.ZS=function(){var a=this.context.$F.wN(),b=null;a&&(b=Ixc(this.context.$F),b={traceId:a,spanRecs:b});a=this.context.$F;a.H=null;a.JY=[];return _.ai(b)};_.g.wN=function(){return _.ai(this.context.$F.wN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Pc.Li();b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.wf.ym.Od();c=this.context.wf.Zs;var d=c.H;d&&(b.cs_sutd=d.j8,b.cs_ss=d.Od());b.cs_ch=Zvc(c).length;b.cs_td=c.kW().length;(c=this.context.o6)&&(b.t_cps=c.hub().join(","));b.t_id=jBc(this.context);var e=
[];kBc(this.context.hR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.cz?this.context.uk().isConnected():this.context.FI.xB();b.n_o=this.context.cz?this.context.uk().We():this.context.Ij().We();b.n_csm=!!this.context.cz;a&&(b.csw_cc=_.Qa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.ai(JSON.stringify(b))};_.g.wpa=function(){this.vc&&(this.vc.dispatchEvent(new hBc),this.vc.Ku())};
_.g.Ml=function(a){var b=this.context.cz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.Qic(b))};
var nBc=function(a,b){this.context=a;this.Mg=b;this.H=_.Wec(_.aK(this.Mg),lBc);this.O=_.Wec(_.aK(this.Mg),mBc)};
nBc.prototype.tl=function(a){var b=this,c=this.context.bQ.Cf().Cf(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.$ec(h);var k=h.getId(),l=b.context.ao();_.tgc(h,3);_.BI(h,5);var p=jmc(h,!0);h.getCapabilities()||_.PJ(h,new _.Yk);_.R(p,2)&&((p=h.rk())&&p.length?_.y(h,46,p[0]):(_.OJ(h,[l]),_.y(h,46,l)),l=h.Cq(),_.y(h,12,l),l=new _.Hk,l.Pb(d),_.y(l,6,1),_.Gfc(l,!0),_.ngc(h,l),_.mgc(h,[l]),_.iUb(h,1));e[k]=h});a=Object.keys(e);c=this.context.wf;var f=luc(c.ym,a);_.Ma(f,function(h,
k){JK(h.getItem(),e[k],b.H);(b.context.Ij().We()||b.context.uk().We()||3===MK(h.getItem()))&&JK(h.getItem(),e[k],b.O);_.Wa(e,k)});_.Ma(e,function(h){_.al(h.Um())&&(f[h.getId()]=new zL(h))});oBc(c,Object.values(f))};
var pBc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.tl(c)},qBc=function(a){a=a.context.wf;var b=new _.cf;b.Ml(!0);b=nuc(a.ym,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===MK(f)){var h=new _.qI;_.rI(h,f.getId());_.CI(h);d.push(h)}else h=new _.Vna,_.HK(h,!1),_.y(h,2,!1),_.J(f,81,h),c.push(b[e])}oBc(a,c);a.To(d)},lBc=[50],mBc=[12,11,10,67,68];
var rBc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new nBc(a,a.Mg)};_.g=rBc.prototype;_.g.sY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.vab.bind(this);var b=this.uab.bind(this);this.log("Querying all offline items.");this.H.EV().Rf(a,b);this.V||(this.H.O_((0,_.u)(this.Uxb,this)),this.V=!0)}}else qBc(this.O)};_.g.vab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.tl(a);OL(this.context.Oj,"GZTDpc")};_.g.uab=function(){this.log("Error fetching offline items.")};
_.g.Uxb=function(a){this.log("Handling offline change(s): "+a.length);pBc(this.O,a)};_.g.log=function(a){this.context.Tf().info("drive.ds.sync.offline.LocalDataService",a)};
var pM=function(a){_.P.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Sc=new _.Ie(this);this.ma=null;this.Ta=this.va=!1;var b=new rBc(a);this.context.ha=b;this.Fa=new iBc(a,this);Qmc(this.Fa);(b=_.D(a.Pc,_.EI,58))&&_.T(b,1,!1);this.Ma(this.Sc);this.O=this.context.Oj;this.W=a.Ffa;this.V=new dBc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.iSa()};_.N(pM,_.P);_.g=pM.prototype;_.g.iSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Th();var b=this.context.Uk().H(106E3);this.ma.promise.then(function(){b&&b.ak()},function(){_.qK(a.context.Uk(),181008852)});var c=_.VJ(this.context.Pc)?"(coldstart) ":"";this.context.Tf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Pc.Li());this.Sc.listen(this.context,_.Bc,this.xvb);this.Sc.listen(this.context.FI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Sc.listen(this.context.uk(),[].concat(_.od(Object.values(_.qB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();OL(this.O,"NSockf")}return this.ma.promise};_.g.dXa=function(){this.context.Tf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.xvb=function(a){var b=a.error,c=b.Sg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.ZY=function(){throw qM("teamDriveQuery");};_.g.Mda=function(){throw qM("teamDriveFindByIds");};
_.g.$pa=function(){throw qM("teamDriveMovePreflight");};_.g.JFa=function(){throw qM("peoplePredictQuery");};_.g.query=function(a){Cuc(this.context.Nm,a,Upc(this.context.Mg));this.qF();var b=a.clone();b=this.V.axa(b);this.Ta||(a=a.ze(),a&&121===_.B(a,1)||(this.Ta=!0,this.Sc.listen(b,_.Cc,this.AMa)));return b};_.g.AMa=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Sc.Yc(a,_.Cc,this.AMa)}};_.g.Hq=function(a){this.qF();Auc(a);return this.V.Ywa(a.clone())};
_.g.Yua=function(){throw qM("activityQuery");};_.g.Mva=function(){throw qM("backupsQuery");};_.g.tGa=function(){throw qM("refreshBackups");};_.g.FV=function(){throw qM("getAndroidBackupItems");};_.g.y8=function(){throw qM("deleteBackup");};_.g.MFa=function(){throw qM("permissionQuery");};_.g.faa=function(){throw qM("insertPermission");};_.g.z8=function(){throw qM("deletePermission");};_.g.xd=function(){throw qM("mutate");};_.g.bO=function(){throw qM("mutateWorkspace");};
_.g.qz=function(){throw qM("bulkMutate");};_.g.Xwa=function(){throw qM("createFileUploader");};_.g.xSa=function(a){return new oM(this.context.Wm(),a)};_.g.zr=function(a){if(3===a.getType())return _.bi(this.context.Wm().then(function(b){return b.Te(a)}).then(null,_.KI));throw qM("getApps with type "+a.getType());};_.g.yr=function(){throw qM("getApp");};_.g.haa=function(){throw qM("installApp");};_.g.x8=function(){throw qM("deleteApp");};_.g.nT=function(){throw qM("updateApp");};
_.g.AN=function(){throw qM("getUserAccount");};_.g.bH=function(){throw qM("getUserPrefs");};_.g.cS=function(){throw qM("mutateUserPref");};_.g.ou=function(){throw qM("getRevisions");};_.g.FBa=function(){return!1};_.g.Ml=function(a){this.context.cz?a?_.Ric(this.context.cz,!0):this.context.uk().We()&&this.context.cz.vM(!0).then(null,function(){}):this.context.Ij().Ml(a)};_.g.Ry=function(){throw qM("setOfflineOptIn");};_.g.sY=function(){throw qM("setLocalItemService");};_.g.qF=function(){};
_.g.eS=function(){this.context.eS();this.context.Uk().O(106006)};_.g.H9=function(){return this.Fa};_.g.qY=function(){};_.g.xB=function(){return this.context.FI.xB()};_.g.pQ=function(){return _.T(this.context.Pc.$f(),52,!1)?_.Qh(Wuc(new Vuc,0)):this.context.FI.pQ()};_.g.isConnected=function(){return 1===this.context.uk().get()};_.g.T7=function(){var a=this.context.cz;return a?a.vM():_.Qh(_.Aic(0))};_.g.sync=function(){throw qM("sync");};_.g.Ku=function(){return this.context.Ku()};
_.g.zba=function(){throw qM("offlineDataLoaded");};_.g.Wna=function(a){return this.context.Wm().then(function(b){return b.Te(a)}).then(function(b){return b})};_.g.nwa=function(){throw qM("categoryMetadataQuery");};_.g.S7=function(){throw qM("changeCategoryLinks");};_.g.lP=function(){throw qM("updateCategoryMetadata");};_.g.dGa=function(){throw qM("publishedCategoriesQuery");};_.g.eGa=function(){throw qM("publishedCategoryQuery");};_.g.eLa=function(){throw qM("workspaceFindByIdsRequest");};
_.g.Uqa=function(){throw qM("workspaceQueryRequest");};_.g.tJa=function(){throw qM("suggestedWorkspaceItemQueryRequest");};_.g.uJa=function(){throw qM("suggestedWorkspaceQueryRequest");};_.g.L_=function(){throw qM("addCacheHint");};_.g.r0=function(){throw qM("createUserFeedback");};_.g.To=function(){throw qM("handleChanges");};var qM=function(a){return new _.pc(a+" is unsupported",_.II(3))};
var tnc=function(a){pM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Iu("")};_.N(tnc,pM);tnc.prototype.$a=function(){NL(this.O,["NSockf"],this.dXa.bind(this))};
var sBc=new Set([1,2,4,5,6]),tBc=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.Pe=0};tBc.prototype.Cf=function(){var a=new _.lM;a.Ec(this.status);this.H&&_.jAc(a,uBc(this));return a};
var vBc=function(a,b,c,d){d=void 0===d?!1:d;var e=sBc.has(c);if(1===a.status&&!e)return!1;a.Pe=c;var f=a.status;c=!a.H;if(_.mI(a.O)){var h=(h=b&&b.getUser())&&RK(h);h=!(!h||!Iwc(a.ka,h));a.status=h&&e||d?1:6}f=!_.ek(a.H,b)||(_.mI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.mI(a.O)||(a.status=e||d?1:6);c&&(OL(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};tBc.prototype.ef=function(){return this.Pe};
var uBc=function(a){return a.H?a.H.clone():null};
var wBc=function(a){_.P.call(this);this.ha=a;this.Pe=0};_.N(wBc,_.P);var xBc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};ptc(a,_.Sd(a,4).map(b));qtc(a,_.Sd(a,5).map(b));return a};_.g=wBc.prototype;_.g.zr=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.lQ=function(){};_.g.nD=function(){return 0!==this.Pe};_.g.ef=function(){return this.Pe};
var yBc=new Set([1,2,4,5,6]),zBc=function(a,b,c){wBc.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Vo=!1};_.N(zBc,wBc);zBc.prototype.zr=function(){var a=new JL;if(!_.Ua(this.H)){_.Qj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Tj(a,2,b)}a.Ec(this.status);return a};zBc.prototype.put=function(a){this.H[a.getId()]=xBc(a);this.V.update(1);this.dispatchEvent(new _.ii("Qb",this))};zBc.prototype.remove=function(a){_.Wa(this.H,a)&&this.V.update(1)};
zBc.prototype.lQ=function(a,b,c){c=void 0===c?!1:c;var d=!yBc.has(b);1===this.status&&d||(this.Pe=b,ABc(this,a,!d||c),d||this.V.update(1),this.Vo||(this.Vo=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),OL(this.ha,"nVUlO")))};
var ABc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Sd(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Ea(f);d=f.length!==a.O.length}a.O=e;var h=_.Za(a.H);_.Lec(a.H);b=_.Yj(b,_.sL,2);d||(d=b.length!==_.Qa(h));b.forEach(function(k){var l=xBc(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ek(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.ii("Qb",a))};
var rM=function(a){_.O.call(this);this.context=a;this.By=new Set;this.Mp=6;this.tCa=!0;this.Pe=0;this.Sc=new _.Ie(this);this.Ma(this.Sc)};_.N(rM,_.O);_.g=rM.prototype;_.g.ii=function(a){this.vRa(a);this.By.add(a);this.resize(!0);this.AO(a)};_.g.vRa=function(){};_.g.jk=function(a){this.By.delete(a);0!=this.By.size||this.oZa()?this.resize(!1):this.dispose()};_.g.ef=function(){return this.Pe};_.g.mj=function(a){this.Pe=a};_.g.UB=function(a){this.tCa=!1;this.Mp=a};_.g.KJ=function(){return this.Mp};
_.g.refresh=function(){};_.g.wk=function(){};
var CBc=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)}}BBc(a.context.wf,d,b);d.forEach(function(k){Fxc(a.context.EMa,k,b);if(k.Bc()){var l=k.getCapabilities();BL(k)?l&&(_.Sfc(l,_.R(l,13)),_.Pfc(l,!1),_.Wfc(l,!1)):LK(k)?(l&&_.y(l,3,!1),_.y(k,30,!1)):l&&(_.$fc(l,!1),_.agc(l,!1))}k.getCapabilities()||_.PJ(k,
new _.Yk)})};rM.prototype.resize=function(){};rM.prototype.wd=function(){};rM.prototype.tl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=ML(e);d=c.Mu(e,!0)||d});b||(1!=this.KJ()&&(d=!0),this.UB(1));d&&this.SX()};var DBc=function(a,b){var c=!1;b.forEach(function(d){c=a.Mu(d)||c});c&&a.SX();return c};_.g=rM.prototype;_.g.update=function(a){return DBc(this,[a])};_.g.Mu=function(){};_.g.SX=function(){var a=this;this.uRa();this.By.forEach(function(b){a.AO(b)})};_.g.uRa=function(){};
_.g.AO=function(a){var b=EBc(this.context).Ika(a);this.AYa(b)||(b=this.wk(b),EBc(this.context).AO(a,b))};_.g.RX=function(a){var b=this;this.UB(3);this.By.forEach(function(c){EBc(b.context).RX(c,a)})};_.g.kA=function(){var a=this;this.By.forEach(function(b){EBc(a.context).kA(b)});this.mj(0==this.ef()?1:6)};_.g.oZa=function(){return!1};_.g.AYa=function(){return!1};
var FBc=function(a){_.ii.call(this,"Db");this.id=a};_.N(FBc,_.ii);
var GBc=function(a,b,c,d){d=void 0===d?!1:d;_.P.call(this);this.request=a;this.context=b;this.VKa=d;this.oe=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.N(GBc,_.P);
GBc.prototype.dh=function(){var a=this;if(this.oe)return this.oe.promise;this.oe=_.Th();for(var b={},c=_.m(this.request.rn().entries()),d=c.next();!d.done;b={xra:b.xra,Hea:b.Hea,kra:b.kra},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.kra=e;b.xra=fqc(eqc(d),this.request);b.Hea=void 0;this.VKa&&(b.Hea={VKa:!0});this.context.Wm().then(function(f){return function(h){return h.Te(f.xra,f.Hea)}}(b)).then(function(f){return void HBc(a,f)},function(f){return function(h){var k=f.kra;h=
_.pB(h);5===h.Sg.kt()||4===h.Sg.tk()?(a.context.Tf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),IBc(a)):a.handleError(h)}}(b))}return this.oe.promise};var HBc=function(a,b){b.od().Cd().forEach(function(c){_.BI(c,1);a.W.push(c)});IBc(a)},IBc=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
GBc.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;JBc(this);KBc(this);this.O.size===this.request.rn().length?(this.context.wf.tl([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.oe.resolve(this.items)):this.dispatchEvent("Cb")};
var JBc=function(a){var b=a.W;a.W=[];b=a.context.Hfa.c9(b);if(_.HI(_.hI(a.context.Pc))){var c=a.context.wf.ym;_.Ja(b,function(d){var e=c.H(d.getId());e&&_.OJ(d,e.rk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.wf.tl(b,1,a.originalRequest,!0)},KBc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.CI(_.rI(new _.qI,c));a.context.wf.To([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new FBc(c))})};
GBc.prototype.handleError=function(a){var b=new IL(a.Sg,_.fk(this.context.Pc.$f(),1,1));this.context.wf.sB(this.request,b);this.dispatchEvent(b);this.oe.reject(a)};
var LBc=function(a,b,c,d){rM.call(this,a);this.Mg=b;this.request=c;this.Ld={};this.H=null;this.O=_.wI(a.Pc)||new _.fec;d&&this.tl(d,!0)};_.N(LBc,rM);
LBc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Mp=6;if(_.T(this.request,5,!1))return this.UB(1),_.Qh();var b=!this.tCa&&_.T(this.O,3,!1)?!1:!Slc(_.aK(this.Mg),this.request.O()),c=[],d=this.context.ao();this.request.rn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Ld[h],l=k&&k.getItem();if(k=!k||l&&1!==MK(l)||b)l=l&&l.Um(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.tl([],!1),_.Qh();this.H=_.Th();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.lA(e,c);var f=new GBc(e,this.context,this.request);this.context.Ij().We()?(this.Sc.listen(this.context.Ij(),"Ab",function(h){h.We()||(a.Sc.Yc(a.context.Ij(),"Ab"),MBc(a,f,a.H))}),this.Mp=0<Object.values(this.Ld).length?1:2):(this.context.uk().We()&&(this.Mp=0<Object.values(this.Ld).length?1:2),MBc(this,f,this.H));return this.H.promise};var MBc=function(a,b,c){a.Sc.listen(b,"Db",function(d){a.Ld[d.id]=null});a.kA();b.dh().then(function(){c.resolve()},c.reject)};
_.g=LBc.prototype;_.g.Wha=function(a){var b=this;if(this.context.Nm.equals(a,this.request,!0)){if(Slc(_.aK(this.Mg),a.O()))return!0;if(Slc(this.request.O(),a.O(),_.aK(this.Mg))){if(this.tCa)return!0;if(_.T(this.O,5,!1)&&_.T(this.O,3,!1))return this.request.rn().every(function(c){return(c=b.Ld[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.wk=function(a){var b=new _.iK;_.mI(this.context.Pc)?b.Ec(emc(Object.values(this.Ld))?6:this.Mp):b.Ec(this.Mp);b.mj(this.ef());urc(b,_.Oa(this.Ld,function(c){return c?c.getItem():null}));CBc(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};_.g.Mu=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Ld[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Ld[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Bs=function(a){return!!a&&_.pa(this.request.rn(),a.getId())};
var NBc=function(a,b){_.ii.call(this,a);this.changes=b};_.N(NBc,_.ii);
var OBc=function(a){var b=new Owc;if(a.Wf()){var c=a.Wf();b.H=!1;b.suggestionSessionId=c}a instanceof _.jK&&_.Yj(a,_.Hk,6).length?(a=_.Yj(a,_.Hk,6),b.H=!1,b.V=a):a instanceof _.cB&&(a.l6()||a.osa()||a.tka().length)&&(c=a.l6(),b.H=!1,b.W=c,c=a.osa()||!1,b.H=!1,b.incompleteSearch=c,a=a.tka(),b.H=!1,b.O=a);return b};
var sM=function(a,b,c,d,e){e=void 0===e?"":e;_.P.call(this);this.context=a;this.request=b;this.nextPageToken=e;this.W=0;this.va=!1;this.V=[];this.O=!1;this.ka=0;this.Ka=a.Tf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.aGa(b);this.ha=new Owc};_.N(sM,_.P);var PBc=function(a){return!a.va||""!==a.nextPageToken},RBc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&PBc(a)?QBc(a):_.ai()};sM.prototype.hc=function(){return this.V.length};sM.prototype.H=function(){return this.V.slice()};
var QBc=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 _.Vh;d.addCallback(function(f){return void SBc(a,c,f)});var e=_.Jec(_.Kec(new _.nI,a.Fa),c);b=_.Hec(new _.Fdc,b);a.Ha&&_.y(b,10,!0);_.Iec(e,b);a.va=!0;a.O=!0;a.context.Wm().then(function(f){return f.Te(e)}).then(a.ta.bind(a,d),a.handleError.bind(a,d,b));return d};
sM.prototype.ta=function(a,b){this.O=!1;if(b instanceof _.jK)var c=b;else c=b.od(),this.nextPageToken=b.Zn()||"";this.ha=OBc(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Cd())};
sM.prototype.handleError=function(a,b,c){c=_.pB(c);this.O=!1;if(5===c.Sg.kt())a.callback([]);else{if(10===c.Sg.kt()&&(_.Hec(b,Math.ceil(_.fk(b,1,1E3)/2-2E-15)),1<_.fk(b,1,1E3))){var d=_.Iec(_.Jec(_.Kec(new _.nI,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Wm().then(function(e){return e.Te(d)}).then(this.ta.bind(this,a),this.handleError.bind(this,a,b));return}b=new IL(c.Sg,_.fk(this.context.Pc.$f(),1,1));this.BMa(b);this.dispatchEvent(b);a.Jd(c)}};
var SBc=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: ")+(_.Rhc(a.request)+" paginationToken: ")+b;b=_.gq(_.eq(_.tI(_.sI(new _.oc,2),9),f));a.context.dispatchEvent(new _.qc(new _.pc(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())_.BI(b.value,
a.ma?2:1);c=[];b=_.m(a.W1a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.rI(new _.qI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new NBc("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return QBc(a);a.dispatchEvent("Fb")};_.g=sM.prototype;_.g.W1a=function(a){return a};_.g.BMa=function(){};_.g.wd=function(){return this.request};_.g.aGa=function(a){a=a.clone();this.ma&&_.y(a,46,!0);return a};_.g.log=function(a){this.Ka.info("drive.ds.sync.query.QueryRunner",a)};
var TBc=function(a,b,c,d){sM.call(this,a,b,void 0,c,d)};_.N(TBc,sM);TBc.prototype.W1a=function(a){a=this.context.Hfa.c9(a);this.context.wf.tl(a,1,this.request,PBc(this));return a};TBc.prototype.BMa=function(a){this.context.wf.sB(this.request,a)};TBc.prototype.aGa=function(a){var b=a=sM.prototype.aGa.call(this,a),c=_.Hl(b);0===_.Sd(b,33).length&&1===c.length&&(c=this.context.wf.ym.H(c[0].Ya()))&&(c=c.Bc())&&(_.Jl(b,[c]),_.Kl(b,2));UBc(this,a);return a};
var UBc=function(a,b){if(_.Hl(b).some(function(d){return(d=a.context.wf.ym.H(d.Ya()))&&_.R(d,108)})){var c=b.ze();c||(c=new _.qf,_.Il(b,c));_.rf(c,937)}};
var VBc=function(a,b,c,d){this.context=a;this.Mg=b;this.W=d;this.Yna=0;this.H=c},ZBc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Kl(_.Fl(_.Jl(new _.cf,[b]),_.aK(a.Mg)),1),d=_.rf(new _.qf,306);_.Il(c,d);WBc(a);c=new TBc(a.context,c);RBc(c,5E3).addCallback(a.V.bind(a,c));XBc(a);YBc(a,b)}},XBc=function(a){var b=_.Ra(a.H);b=b.filter(function(d){return d instanceof LBc});var c=new Set;b.forEach(function(d){d.wd().rn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.rf(new _.qf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.CO([].concat(_.od(c)),b)},YBc=function(a,b){var c=[];(a.context.wf.jGa.vQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ek(e.wd(),d)&&c.push(e)})});_.Ea(c);0<c.length&&(WBc(a),c.forEach(function(d){d=EL(a.context.Nm,d.wd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Uh(_.Sh(c.map(function(d){return d.refresh().wg(_.If)})),a.O.bind(a)))};
VBc.prototype.CO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ge(f)});if(0===a.length)return _.Qh({});a=_.y(_.kA(_.lA(new _.jA,a),d||_.aK(this.Mg)),7,!0);_.mA(a,b);e&&e.length&&_.Tj(a,11,e);WBc(this);b=new GBc(a,this.context,void 0,c);return _.Uh(b.dh(),this.V.bind(this,b))};VBc.prototype.V=function(a){a.dispose();this.O()};var WBc=function(a){a.Yna++;a.context.Us.setActive(!1)};VBc.prototype.O=function(){this.Yna--;0===this.Yna&&this.context.Us.setActive(!0)};
VBc.prototype.log=function(a){this.context.Tf().info("drive.ds.sync.cache.CacheRefresher",a)};
var $Bc=function(a,b,c){_.O.call(this);this.context=a;this.H=b;this.request=c;this.O=this.oe=null;a=new _.qf;_.sf(a,!1);_.rf(a,305);_.Il(this.request,a);this.Sc=new _.Ie(this);this.Ma(this.Sc)};_.N($Bc,_.O);
$Bc.prototype.dh=function(){if(!this.oe){this.oe=_.Th();if(_.T(this.request,48,!1))return this.H.mj(9),this.oe.resolve(this.H),this.oe.promise;this.O=new sM(this.context,this.request,!0);this.Sc.listen(this.O,"Cb",this.W);this.Sc.listen(this.O,"Fb",this.V.bind(this));this.Sc.listen(this.O,"Gb",this.oe.reject.bind(this.oe));RBc(this.O,this.request.Mi())}return this.oe.promise};$Bc.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(ML(new zL(b)))};
$Bc.prototype.V=function(){this.H instanceof QL?this.H.H=!PBc(this.O):PBc(this.O)&&PL(this.H,!1);this.H.mj(5);this.oe.resolve(this.H)};
var bCc=function(a,b){_.ii.call(this,aCc);this.cache=a;this.changes=b};_.N(bCc,_.ii);var aCc="Rb";
var cCc=function(a,b){return new _.Ph(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.jy()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();kmc(k.getItem());f.set(l,Ttc(new zL(k.getItem()),k.O))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.Dc(),l=f.get(l)||null,k.vk()?l&&a.update(new Fvc(l.getId(),l,null)):(k=k.getItem(),kmc(k),a.update(Gvc(l,Ttc(new zL(k),null===l||void 0===l?void 0:l.O))));a.kX();c(e.yLb)},d)})};
var dCc=function(a,b){_.O.call(this);this.context=a;this.Mg=b};_.N(dCc,_.O);
dCc.prototype.dh=function(a){this.log("Running initial view populator (IVDP).");try{var b=new xL(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.JI(q));return}a=_.hI(this.context.Pc);if(!_.HI(a)){var c=b.Cf();if(c){var d=c.getUser();d&&d.getId()===_.E(a,6,"")&&vBc(this.context.bQ,c,4)}(a=b.ao())&&this.context.Iu(a,6)}var e=_.B(b,3)||void 0;e&&eCc(this.context,e,!0);if((a=_.Yj(b,_.kp,9))&&a.length){c=(c=this.context.Pc.$f())&&_.Sd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.lp(q))&&f.add(q)});this.context.kE.lQ(a,4,[].concat(_.od(f.values())))}a=b.Cd();a.forEach(function(q){_.$ec(q);_.BI(q,6)});if(c=_.Yj(b,wL,5)[0])if(b=this.context.Nm,Zlc(_.aK(this.Mg),c.getQuery().O(),_.UJ(this.context.Pc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.Qac())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=DL(b,c.getQuery());var h=_.B(c,2)||void 0;d.yi(h);h=a.map(function(q){return new zL(q,void 0,1,e)});var k=_.D(c,_.dl,
3);if(k&&_.B(c,2)){var l=h[h.length-1];_.BI(k,6);if(!_.ek(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.wI(this.context.Pc))&&_.T(k,2,!1)&&c.Zn()||"";var p=new QL(this.context.zt,this.context.vv,this.context.Nm,d,l,c);p.mj(4);h.forEach(function(q){p.update(ML(q))});fCc(this.context.wf,p);l=p.wd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+EL(b,l));b=new _.nI;_.Kec(b,l);l=_.$ic(this.context.PA,
b,"IVDP");_.ajc(l,a);OL(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+zuc(b,c.getQuery().O()));else this.handleError("No initial query found")};dCc.prototype.handleError=function(a,b){var c=b?void 0:_.gq(_.tI(_.sI(new _.oc,2),6));b=new _.pc(a,c,b);this.context.xJ(b.Sg);this.log("Initial view dump population failed. Message: "+a);OL(this.context.Oj,"DEJoH")};dCc.prototype.log=function(a){this.context.Tf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var gCc=function(a){_.P.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new SL(a.zt,a.vv,a.Oj,function(){return a.ao()});this.H=this.context.Pc;this.ta=new Lvc(a.zt,a.vv)};_.N(gCc,_.P);
var hCc=function(a,b){var c=_.fk(a.H,31,2E4);("number"===typeof _.B(b,3)?_.B(b,3):c+1)>c?(PL(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.PA.Kb("CachedCorpusType",b)};gCc.prototype.log=function(a,b){this.context.Tf().log(this.W,a,b||"info")};var iCc=function(a,b){0===a.V&&(a.V=b)};
var jCc=function(a,b){var c;if(c=!!b&&!!b.zg())a=a.Em(),c=null==a||!!b.zg().Em()==a;return c};
var kCc=function(a,b){_.P.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.N(kCc,_.P);kCc.prototype.dh=function(){return this.H||this.O&&""===this.nextPageToken?_.ai():lCc(this)};kCc.prototype.hc=function(){return this.V.length};
var lCc=function(a){a.O=!0;a.H=!0;var b=upc(vpc(new _.EJ,a.request),a.nextPageToken),c=_.$ic(a.context.PA,b);return _.bi(a.context.Wm().then(function(d){return d.Te(b)}).then(function(d){var e=d.od().Cd();a.nextPageToken=d.Zn()||"";mCc(a,c,e)},function(d){return void a.handleError(d)}))},mCc=function(a,b,c){_.ajc(b,c);for(b=0;b<c.length;b++)_.BI(c[b],1);a.context.wf.tl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ja(c,function(e){this.V.push(e.getId());e=_.rI(new _.qI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new NBc("Cb",d));a.nextPageToken?lCc(a):(a.H=!1,a.dispatchEvent("Fb"))};kCc.prototype.handleError=function(a){this.H=!1;a=new IL(_.uI(a),_.fk(this.context.Pc.$f(),1,1));this.dispatchEvent(a)};kCc.prototype.wd=function(){return this.request};
var nCc=function(a){this.H=_.Rac(a,{numeric:!0})};nCc.prototype.sort=function(a){_.Ha(a,this.compare.bind(this))};nCc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Fa(a.getId(),b.getId()):c};
var oCc=function(a,b,c,d){d=void 0===d?!1:d;rM.call(this,a);this.Mg=b;this.Ld=[];this.oe=null;this.request=c.clone();this.Av=new kCc(a,this.request);this.jQb=new nCc(WK(_.hI(a.Pc)));this.FCa=null!=_.R(this.request,6);_.ze(this,this.Bnb,this);d&&(this.oe=_.Th(),this.oe.resolve())};_.N(oCc,rM);_.g=oCc.prototype;_.g.refresh=function(){3===this.Mp&&(this.Mp=6,this.oe=null);return this.zca()};_.g.isInitialized=function(){return!!this.oe};
_.g.zca=function(){var a=this;if(this.isInitialized())return this.oe.promise;this.oe=_.Th();this.context.Ij().We()?this.Sc.listen(this.context.Ij(),"Ab",function(b){b.We()||(a.Sc.Yc(a.context.Ij(),"Ab"),a.kA(),a.Av.dh().Rf(a.oe.resolve,a.oe.reject,a.oe))}):this.context.uk().We()?this.Sc.ld(this.context.uk(),[_.qB.BL,_.qB.yU],function(){a.kA();a.Av.dh().Rf(a.oe.resolve,a.oe.reject,a.oe)}):(this.kA(),this.Av.dh().Rf(this.oe.resolve,this.oe.reject,this.oe));return this.oe.promise};_.g.resize=function(){};
_.g.wd=function(){return this.request};_.g.jy=function(){return this.Ld};_.g.Wha=function(a){return this.context.Nm.equals(a,this.request)};_.g.wk=function(a){a=a.Mi();this.jQb.sort(this.Ld);var b=Nmc(_.Aa(this.Ld,0,Math.min(a,this.Ld.length)));CBc(this,Vpc(this.Mg),b);var c=new _.cB;c.Vw(b);c.Ec(this.Ewa(a));c.mj(this.ef());Woc(c,a<this.Ld.length||!(this.context.Ij().We()||this.context.uk().We())&&1!==this.Mp);return c};
_.g.Ewa=function(a){return 1===this.Mp||a<=this.Ld.length?1:this.context.Ij().We()||this.context.uk().We()?0<this.Ld.length?1:2:6};_.g.tl=function(a,b){this.isInitialized()&&rM.prototype.tl.call(this,a,b)};_.g.Mu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ma(this.Ld,function(h){return h.getId()===c}),e=!!d;b=this.Bs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.BKa(f,a.H):this.tJ(f):this.zR(a.H);else return!1;return!0};_.g.zR=function(a){this.Ld.push(a);a.count++};
_.g.tJ=function(a){_.ua(this.Ld,a);a.count--};_.g.Jya=function(a){return _.na(this.Ld,a)};_.g.BKa=function(a,b){this.Ld[this.Jya(a)]=b;b.count++;a.count--};_.g.Bs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.FCa&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Ld.find(function(d){return c===d.getId()},this);a=BL(a.getItem())&&jCc(this.request,a.getItem());return b&&a}return BL(a.getItem())&&jCc(this.request,a.getItem())};_.g.Bnb=function(){this.Ld.forEach(function(a){a.count--})};
_.g.oZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Od=function(){return this.Ld.length};_.g.kX=function(){this.Mp=1};
var pCc=function(a){this.H=a},qCc=function(a,b,c,d,e){if(0===e||null===b){var f=new Rzc;_.y(f,2,b);_.y(f,1,d);return _.Qh(f)}var h=Uuc();_.y(h,2,b);c&&_.y(h,3,c);return a.H.then(function(k){return k.Te(h)}).then(function(k){var l,p=null!==(l=k.oy())&&void 0!==l?l:null;k=d+_.B(k,1);return qCc(a,p,c,k,e-1)})};
var rCc=function(a,b){gCc.call(this,a);this.Mg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.CD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.N(rCc,gCc);rCc.prototype.handleError=function(){this.log("Local dump population failed.");OL(this.context.Oj,"mrK8ic")};
rCc.prototype.dh=function(){var a=this;if(this.ka)return this.ka;if(this.context.CQ){var b=new _.Vh;this.ka=b;this.initialize().then(function(){var c=_.Yj(_.XK(a.H),VK,11);c=c[0]&&c[0].getKey()||"";return sCc(a,a.context.CQ,c,4)}).wg(function(c){if(_.T(a.H,8,!0))return tCc(a);throw c;}).then(function(){_.mI(a.H)||a.context.wf.zq.H.clear();OL(a.context.Oj,"zaOY7");b.callback()},function(c){iCc(a,8);a.handleError();b.Jd(c)});return b}this.handleError();return _.ci(Error("eg"))};
rCc.prototype.initialize=function(){var a=this;return this.context.CQ.initialize().then(function(){if(!_.VJ(a.H)){var b=_.fk(_.XK(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Ph(function(c,d){$yc(a.context.wD).then(function(e){e?c():d(Error("fg"))})})}})};
var sCc=function(a,b,c,d){var e=a.ha;uCc(a,b,c,e);vCc(a,b,c,e);wCc(a,b,c,e);return xCc(a,b,c,e).then(function(){return Promise.all([yCc(a,b,c,d,e),zCc(a,b,c,d,e),ACc(a,b,c,d,e),BCc(a,b,c,d,e)])})},uCc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};ZL(b,c,0,void 0,d,a.CD).then(function(f){f[0]?vBc(a.context.bQ,f[0],a.ef(),_.VJ(a.H)):e()},function(){return e()})},vCc=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};ZL(b,
c,1,void 0,d,a.CD).then(function(f){f[0]?a.context.b_.lQ(f[0],a.ef(),_.VJ(a.H)):e()},function(){return e()})},wCc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};ZL(b,c,5,void 0,d,a.CD).then(function(f){if(f[0]){f=f[0];var h=_.Yj(f,_.kp,1);h.length&&a.context.kE.lQ(h,a.ef(),_.Sd(f,2),_.VJ(a.H))}else e()},function(){return e()})},yCc=function(a,b,c,d,e){var f=new _.Bn;ZL(b,c,3,1,e,a.CD).then(function(h){return CCc(a,h[0])}).then(function(h){if(h){b!==a.context.CQ||
Zlc(_.Sd(h,12),_.aK(a.Mg),_.UJ(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Us.nS());var k=_.B(h,3);if(!k||0>k)throw Error("ig");a.context.Iu(h.ao(),d);k=_.B(h,3);"number"===typeof k&&eCc(a.context,Number(k));_.VJ(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.NDa());a.tl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},zCc=function(a,b,c,d,e){var f=new _.Bn;ZL(b,c,3,2,e,a.CD).then(function(h){h[0]?
(a.tl(h[0],d),f.resolve()):f.reject(Error("gg"))},f.reject,f);return f.promise},ACc=function(a,b,c,d,e){var f=new _.Bn;ZL(b,c,3,4,e,a.CD).then(function(h){h.forEach(function(k){a.tl(k,d)});f.resolve()},f.reject,f);return f.promise},BCc=function(a,b,c,d,e){var f=new _.Bn;ZL(b,c,3,3,e,a.CD).then(function(h){h.length?h.forEach(function(k){a.tl(k,d)}):OL(a.context.Oj,"rVezo");f.resolve()},f.reject,f);return f.promise},xCc=function(a,b,c,d){var e=new _.Bn;ZL(b,c,6,void 0,d,a.CD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.Yj(h,KL,1).length&&(a.log("Importing "+_.Yj(h,KL,1).length+" people into the PeopleCache."),h=_.Yj(h,KL,1),kwc(a.context.wf.zq.H,h,2));e.resolve()},e.reject,e);return e.promise},CCc=function(a,b){var c=_.B(b,3);if(c&&!_.VJ(a.H)){var d=new pCc(a.context.Wm()),e=_.fk(_.XK(a.H),13,5);return qCc(d,c,null,0,e).then(function(f){return _.Q(f,2)?(a.log("Encrypted dump too stale."),a.context.Uk().O(106007),iCc(a,9),null):b},function(){return b})}return _.Qh(b)},
tCc=function(a){var b=$L(a.context.JL.Di()),c=_.Yj(_.XK(a.H),VK,11).filter(function(d){return d.ws()});return Syc(_.TJ(_.hI(a.H)),_.UJ(a.H),_.fk(_.XK(a.H),10,0)||0,_.aK(a.Mg),a.ha||0,c.map(function(d){return _.B(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.B(k,1)}),f=new aM(_.Qh(d),a.context.Tf(),null,!0),h=new Rxc(f,a.H,function(k){a.context.xJ(k)});h.initialize();a.ma=!0;return sCc(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Xyc])}).then(function(k){if(k[0])return k=
k[0].Ya(),a.context.wD.set(Xyc,k)}).then(function(){f.close()})}return _.Rh(Error("hg"))})},GCc=function(a,b,c){switch(b.Bo()){case 1:return DCc(a,b,c);case 2:var d;b=_.D(b,Zmc,11);if(!b)throw Error("jg");hCc(a,b);(b=a.O.lH?a.O:(null===(d=_.wI(a.H))||void 0===d?0:_.T(d,17,!1))?a.ta:null)?(b.mj(a.ef()),a=[{cache:b,changes:XL(a.context.rz,null)}]):a=[];return a;case 3:return ECc(a,b);case 4:return FCc(a,b);default:return null}},DCc=function(a,b,c){var d=[];_.Yj(b,wL,5).forEach(function(e){var f=void 0,
h=_.D(e,_.dl,3);h&&(_.$ec(h),_.R(a.H,67)&&Nlc(h,bmc),_.BI(h,c),f=new zL(h));var k=e.getQuery();if(!_.T(k,48,!1)||_.Yj(a.H,_.cf,44).some(function(l){if(!_.T(l,48,!1))return!1;l=DL(a.context.Nm,l,!0);return _.ek(l,k)}))e=new QL(a.context.zt,a.context.vv,a.context.Nm,k,f),e.mj(a.ef()),d.push({cache:e,changes:XL(a.context.rz,null)})});return d},FCc=function(a,b){return _.Yj(b,wL,5).map(function(c){c=new oCc(a.context,a.Mg,_.D(c,_.bI,5),!0);c.mj(a.ef());return{cache:c,changes:XL(a.context.rz,null)}})},
ECc=function(a,b){var c=_.Sd(_.Yj(b,wL,5)[0].getQuery(),33)[0],d=_.B(b,3)||void 0;b=XL(a.context.rz,c);tM(a.context).addCallback(function(f){f.hva(c,d)});var e=new TL(a.context.zt,a.context.vv,c);e.mj(a.ef());return[{cache:e,changes:b}]};
rCc.prototype.tl=function(a,b){var c=this,d=GCc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.Cd()),f=e.next();!f.done;f=e.next()){var h=f.value;_.$ec(h);_.R(this.H,67)&&Nlc(h,bmc);_.BI(h,b);_.mI(this.H)||this.context.wf.zq.H.wc()||Gwc(this.context.wf.zq,[h]);f=new zL(h);_.Sd(a,14).includes(h.getId())&&Ttc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(ML(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new bCc(l,k.changes));c.log("Imported "+l.Od()+" items into the "+l.getType());var p=null;
l instanceof TL&&(p=l.Bc());c.context.daa.promise.then(function(){nxc(c.context.rz,p)})});1===a.Bo()&&OL(this.context.Oj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Bo()+".")};rCc.prototype.ef=function(){return this.ma?7:3};
var HCc=function(a){_.O.call(this);this.context=a};_.N(HCc,_.O);HCc.prototype.dh=function(a){try{ICc(this,new Kzc(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var ICc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:JCc(a,b);break;case 4:KCc(a,b);break;case 6:LCc(a,b);break;case 2:MCc(a,b);break;case 7:NCc(a,b);break;case 5:_.Yj(_.D(b,Mzc,7),Kzc,1).forEach(function(c){ICc(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},JCc=function(a,b){var c=_.D(b,_.cf,2);b=JSON.parse(_.B(b,3)||"{}");var d=new _.nI;_.Kec(d,c);b=a.context.hR().Esa.JE(d,{headers:{},text:"",json:b}).od();
OCc(a,c,b)},LCc=function(a,b){OCc(a,_.D(b,_.cf,2),_.D(b,_.cB,9))},OCc=function(a,b,c){for(var d=c.Cd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.BI(f.value,7);c=OBc(c);a=a.context.wf;b=DL(a.context.Nm,b);e=uM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new vM(a.context,b),f.mj(2),a.O[e]=f);c.wc()||f.Dsa(c);a.tl(d,1,b)},MCc=function(a,b){b=_.D(b,_.Qz,5);var c=a.context.Pc.$f();c=c&&_.Sd(c,30)||[];var d=new Set(c);_.Yj(b,_.kp,3).forEach(function(e){(e=(e=e.getKey())&&
_.lp(e))&&d.add(e)});a.context.kE.lQ(_.Yj(b,_.kp,3),2,[].concat(_.od(d.values())))},KCc=function(a,b){a.context.Ifa.T2(_.D(b,LL,8).ql(),_.D(b,_.Tz,6),2,!1)},NCc=function(a,b){var c=_.D(b,_.dG,10);b=JSON.parse(_.B(b,3)||"{}");b=a.context.hR().Esa.JE(c,{headers:{},text:"",json:b});eBc(a.context).T2([b],c,2,!1)};HCc.prototype.handleError=function(a,b){var c=b?void 0:_.gq(_.tI(_.sI(new _.oc,2),6));this.context.dispatchEvent(new _.qc(new _.pc(a,c,b)));this.log("Prefetched request population failed.")};
HCc.prototype.log=function(a){this.context.Tf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var wM=function(a){gCc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.va=Math.ceil(1.1*_.fk(a.Pc,31,2E4))};_.N(wM,gCc);wM.prototype.dh=function(){if(!_.T(this.H,45,!1))return iCc(this,5),this.handleError(),_.ci(Error("kg"));this.log("Drive SDK cache population initiated.");return this.context.IVa().addCallback(this.Fa,this).addCallback(this.Ba,this).Rg(this.handleError,this)};
wM.prototype.Fa=function(){var a=this;OL(this.context.Oj,"L6uQWd");tM(this.context).addCallback(function(b){b.dea()});if(_.T(this.H,46,!1))return Ymc(this.context.Wm(),this.context.Tf()).addCallback(function(b){if(!b)throw iCc(a,4),Error("lg");hCc(a,b)});this.log("Subscribed corpus cache population disabled.");PL(this.O,!1);return _.ai()};
wM.prototype.Ba=function(){this.context.NDa();var a=new _.Vh;if(this.O.lH){this.log("Starting subscribed corpus cache population.");var b=this.O.wd();b.yi(this.va);this.O.mj(5);PCc(this,this.O,b)}b=_.Yj(this.H,_.cf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new QL(this.context.zt,this.context.vv,this.context.Nm,c.value),c.mj(5),PCc(this,c,c.wd()),c=EL(this.context.Nm,c.wd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Sh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var PCc=function(a,b,c){var d=XL(a.context.rz,null);b=new $Bc(a.context,b,c);a.ha.push(b);b=_.Uh(b.dh().then(function(e){!e.lH&&e instanceof SL&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.PA.Kb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new bCc(e,d))}),function(){a.context.daa.promise.then(function(){nxc(a.context.rz,null)})});a.ka.push(b)};
wM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();iCc(this,7);c=b;b instanceof IL?c=_.JI(b.error):_.lI(b)||(c=Error("mg`"+b));a.Jd(c)};wM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");OL(this.context.Oj,"Gv4zef")};wM.prototype.ef=function(){return 5};
var QCc=function(a,b){_.O.call(this);this.context=a;this.V=b;this.Sc=new _.Ie(this);this.impression=null;this.W=[];this.Ma(this.Sc);this.H=new rCc(this.context,this.context.Mg);this.Ma(this.H);this.O=new wM(this.context);this.Ma(this.O)};_.N(QCc,_.O);
QCc.prototype.dh=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Uk().H(106002);_.n._DRIVE_dsp&&RCc(this);_.n._DRIVE_dspc=function(c){RCc(a,c)};XL(this.context.rz,null);_.T(this.context.Pc,24,!1)&&!_.VJ(this.context.Pc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?SCc(this):_.n._DRIVE_ivdc=function(){SCc(a)});var b=this.context.CQ;if(b)return this.Sc.listen(this.H,aCc,this.ha),this.Sc.listen(this.O,aCc,this.ha),(!_.T(this.context.Pc,10,!1)&&_.R(this.context.Pc,
69)?this.context.HX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.CD=a.impression);return a.H.dh().Rf(function(){return TCc(a,a.H.ef())},function(){UCc(a,a.H.ef(),a.H.V);return _.VJ(a.context.Pc)?a.handleError(Error("ng")):a.O.dh().then(function(){return TCc(a,a.O.ef())},function(c){UCc(a,a.O.ef(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.lI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var RCc=function(a,b){var c=new HCc(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.dh(d)});c.dispose()};QCc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(VCc(this,b,a.changes))};
var TCc=function(a,b){nxc(a.context.rz,null);OL(a.context.Oj,"L6uQWd");tM(a.context).addCallback(function(c){c.dea()});return Promise.all(a.W).then(function(){WCc(a,b)})},WCc=function(a,b){if(!a.isDisposed()){_.VJ(a.context.Pc)||XCc(a.V,_.Yj(a.context.Pc,_.cf,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Us.ODa():$yc(a.context.wD).then(function(d){d&&a.context.Us.ODa()},function(){});OL(c,"rVezo");OL(c,"BNEDtc");a.impression&&(b=_.hK(_.Udc,
b),Ppc(Xpc(a.impression),b),Opc(Xpc(a.impression),!0),Qpc(Xpc(a.impression),ouc(a.V.ym)),Rpc(Xpc(a.impression),a.context.wf.Bo()),a.impression.ak());a.dispose()}},UCc=function(a,b,c){a.impression&&(b=_.hK(_.Udc,b),Ppc(Xpc(a.impression),b),a=Xpc(a.impression),_.Wj(a,3,c,void 0))};
QCc.prototype.handleError=function(a,b){b=void 0===b?!1:b;nxc(this.context.rz,null);var c=this.context.Oj;OL(c,"L6uQWd");tM(this.context).addCallback(function(d){d.dea()});OL(c,"mrK8ic");OL(c,"Gv4zef");OL(c,"rVezo");OL(c,"BNEDtc");this.context.PA.Kb("CachedCorpusType","partialCorpus");c=!!this.H.context.CQ||_.T(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.lI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.pc(b,void 0,c),c=a.Sg,_.sI(c,_.VJ(this.context.Pc)?3:1),_.tI(c,
6),_.eq(c,b),_.gq(c),this.context.dispatchEvent(new _.qc(a))):this.log("Corpus population skipped");this.impression&&(Opc(Xpc(this.impression),!1),this.impression.ak());this.dispose()};var VCc=function(a,b,c){return cCc(b,c).then(function(d){d.some(function(e){return b instanceof TL&&e.vk()&&e.Dc()===b.Bc()})||fCc(a.V,b,d)},function(){return a.handleError(Error("og"))})},SCc=function(a){if(_.n._DRIVE_ivd){var b=new dCc(a.context,a.context.Mg);a.Ma(b);b.dh(_.n._DRIVE_ivd)}else OL(a.context.Oj,"DEJoH")};
QCc.prototype.log=function(a){this.context.Tf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var YCc=function(){RL.apply(this,arguments)};_.N(YCc,RL);YCc.prototype.Bs=function(a){var b;if(b=RL.prototype.Bs.call(this,a))a=a&&a.getItem()&&a.getItem().Um(),b=!(!a||!_.R(a,3));return b};YCc.prototype.wd=function(){};YCc.prototype.getType=function(){};YCc.prototype.QN=function(){};
var ZCc=function(a,b){this.context=a;this.H=b;this.vQ={}},aDc=function(a,b){if(!_.gJ(b)){var c=_.Sd(b,33);if(1===c.length)$Cc(a,c[0],b);else{c=_.Hl(b);if(1===c.length&&!_.T(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.wf.EI;var e=_.rf(new _.qf,310);c.CO([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.ne(h)&&(f=f.Bc(),$Cc(a,f,b))}else $Cc(a,null,b)});return}if(c.getItem().Bc()&&_.ne(c.getItem().getCapabilities())){c=c.getItem().Bc();$Cc(a,c,b);return}}$Cc(a,
null,b)}}},$Cc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!BL(d.getItem()))return}d=b||"subscribed";a.vQ[d]||(a.vQ[d]=[]);a.vQ[d].push(c);b&&(tM(a.context).addCallback(function(e){e.hva(b)}),bDc(a.context.FJa,b))},cDc=function(a,b){if(!_.gJ(b)){var c={},d;for(d in a.vQ){c.KT=d;for(var e=0;e<a.vQ[c.KT].length;e++)if(_.ek(b,a.vQ[c.KT][e])){_.ta(a.vQ[c.KT],e);"subscribed"!==c.KT&&tM(a.context).addCallback(function(f){return function(h){h.MGa(f.KT,!1)}}(c));return}c={KT:c.KT}}}};
var dDc=function(){this.H=new Map;this.O=[];this.V=[]};
dDc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();KK(e)&&(a?(e=a.getItem().Pf())&&_.B(e,1)&&(1===_.Yd(e)||3===_.Yd(e))&&(e=_.B(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&&!_.ek(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var eDc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},fDc=function(a){a.O=[];a.V=[]};
var gDc=function(a,b){YL.call(this,a.clone(),b.Wm(),b.Pc,b.Tf());this.context=b};_.N(gDc,YL);gDc.prototype.W=function(a){var b=new Map;a.rn().forEach(function(c){var d=_.dUb(a.clone(),[c]);b.set(c,d)});return b};gDc.prototype.V=function(a){a=a.Cd()[0];this.context.wf.tl([a],1,void 0,!0,this.request.O())};gDc.prototype.ha=function(a){this.context.wf.tl([],1,a,!1,this.request.O())};gDc.prototype.ka=function(a){a=_.CI(_.rI(new _.qI,a));this.context.wf.To([a])};
var hDc=function(a,b,c,d){rM.call(this,a);this.Mg=b;this.request=c;this.Ld={};d&&this.tl(d,!0)};_.N(hDc,rM);_.g=hDc.prototype;
_.g.refresh=function(){var a=this;this.Mp=6;var b=AL(this.context.Pc)!==AL(this.context.Pc,this.request.O()),c=[];this.request.rn().forEach(function(h){var k=a.Ld[h];k&&k.getItem().zg()&&!b||c.push(h)});if(0===c.length)return this.tl([],!1),_.Qh();var d=this.request.clone();_.dUb(d,c);var e=new gDc(d,this.context),f=_.Th();this.context.Ij().We()?(this.Sc.listen(this.context.Ij(),"Ab",function(h){h.We()||(a.Sc.Yc(a.context.Ij(),"Ab"),a.kA(),e.dh().then(f.resolve,f.reject,f))}),this.Mp=0<_.Qa(this.Ld)?
1:2):(this.context.uk().We()&&(this.Mp=0<_.Qa(this.Ld)?1:2),this.kA(),e.dh().then(f.resolve,f.reject,f));return f.promise};_.g.Wha=function(a){return this.context.Nm.equals(a,this.request)&&Slc(_.aK(this.Mg),a.O())};_.g.wk=function(a){var b=new _.iK;b.Ec(this.Mp);b.mj(this.ef());urc(b,_.Oa(this.Ld,function(c){return c?c.getItem():null}));CBc(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};
_.g.Mu=function(a){var b=this.Bs(a.O),c=this.Bs(a.H);if(b||c)c?(this.Ld[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Ld[a.id]=null,a.O.count--);else return!1;return!0};_.g.Bs=function(a){return!!a&&this.request.rn().includes(a.getId())};
var vM=function(a,b,c,d,e){rM.call(this,a);var f=this;this.V=0;this.Ld=[];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.Av=new TBc(this.context,this.request,!1,e);b=this.request.Ac()&&quc(this.request.Ac());var h=this.context.vv;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.FCa=!b||!iuc(this.request)||_.HI(_.hI(a.Pc));this.Fa=Qvc(this.request);
c&&this.tl(c,!d);this.va=_.fk(a.Pc.$f(),16,36E5);_.IJ(this.request)&&this.Sc.listen(this.context.lha,"Hb",this.Ha);_.ze(this,function(){_.aa(f.Av);f.clear()})};_.N(vM,rM);vM.prototype.refresh=function(){return iDc(this,!1)};var iDc=function(a,b){a.Mp=6;if(_.T(a.request,48,!1))return a.Mp=1,_.Qh();if(_.IJ(a.request)){var c=jDc,d=a.context.lha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return kDc(a,b)};
vM.prototype.initialize=function(){return this.count>=this.request.Mi()||1===this.Mp?_.Qh():this.refresh()};vM.prototype.clear=function(){lDc(this)};var lDc=function(a){a.Ld.forEach(function(b){b.count--});a.count=0;a.Ld=[];a.O.clear()},jDc=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return iDc(a,!0)},b)};vM.prototype.Ha=function(){Date.now()-this.ta>this.va&&jDc(this,0)};
var kDc=function(a,b){a.Av&&(a.Sc.Yc(a.Av,"Eb",a.Dsa),a.Sc.Yc(a.Av,"Fb",a.CMa),a.Av.dispose());var c=a.request.ze();c&&_.sf(c,!1);a.Av=new TBc(a.context,a.request,b);a.V=0;a.Sc.listen(a.Av,"Eb",function(){return a.Dsa(a.Av.ha)});a.Sc.listen(a.Av,"Fb",a.CMa);return a.zca()};
vM.prototype.zca=function(){var a=this,b=_.Th();this.context.Ij().We()?this.Sc.listen(this.context.Ij(),"Ab",function(c){c.We()||(a.Sc.Yc(a.context.Ij(),"Ab"),mDc(a,b))}):this.context.uk().We()?this.Sc.ld(this.context.uk(),[_.qB.BL,_.qB.yU],function(){mDc(a,b)}):mDc(this,b);return b.promise};var mDc=function(a,b){a.kA();var c=a.request.Mi()+a.V;_.gka(RBc(a.Av,c).Rf(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=vM.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.od(this.By)))),d=c.next();!d.done;d=c.next())d=d.value,d=EBc(this.context).Ika(d),b=Math.max(b,d.Mi());_.IJ(this.request)?(this.request.yi(b),2!==this.ef()&&!this.Av.O&&(b>this.count||a)?this.refresh():this.CJ()):this.request.Mi()!==b&&(this.request.yi(b),b>this.count?this.zca():this.CJ())};_.g.wd=function(){return this.request};_.g.Wha=function(a){return this.context.Nm.equals(a,this.request)};
_.g.wk=function(a){var b=a.Mi(),c,d=!1;if(_.hJ(this.request)){var e=this.Ld.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=_.hl(k.getItem()).filter(function(l){return h.includes(_.D(l,_.Hk,1).getId())});k=k.clone();Wlc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.hl(l.getItem()).length})}d=emc(e);c=new _.jK;_.y(c,4,!1);sqc(c,f)}else e=this.Ld.slice(0,b),c=new _.cB,Woc(c,b<this.Ld.length||!(this.context.Ij().We()||
this.context.uk().We())&&1!==this.Mp),_.J(c,7,this.ka),_.y(c,8,this.incompleteSearch),_.Qj(c,18,this.ha),d=emc(e);e=Nmc(e);CBc(this,a.O(),e);c.Vw(e);c.Ec(d?6:this.Ewa(b));c.mj(this.ef());c.EP(this.suggestionSessionId);return c};_.g.Ewa=function(a){return 1===this.Mp||a<=this.count?1:this.context.Ij().We()||this.context.uk().We()?0<this.Ld.length?1:2:6};_.g.Dsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.iAa();this.W=a.V;this.suggestionSessionId=a.Wf()};
_.g.CMa=function(){var a=this.request.Mi()-this.count;0<a&&PBc(this.Av)&&(this.V+=a,this.zca())};_.g.tl=function(a,b){_.IJ(this.request)&&lDc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=ML(d.value),c=this.Mu(d,!0)||c;b||(1!==this.Mp&&(c=!0),this.Mp=1);if(a=this.H){a:{a=this.Ld;d=this.H||_.Fa;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.vv.sort(this.request,this.Ld));c&&(this.SX(),nDc(this,b))};
var nDc=function(a,b){_.Hl(a.request).length&&a.Ld.length&&a.context.a_.then(function(c){var d=cqc(a.context.Uk(),106024,a.ma);if(d){var e=_.Hl(a.request)[0].Ya(),f=_.D(_.gK(d),Kpc,18);if(!f){f=new Kpc;var h=_.gK(d);_.J(h,18,f)}f=_.y(f,1,!b);c=_.y(f,2,c===e).It(a.Ld.length);e=a.context.wf.Bo();_.y(c,4,e);a.ma=d;d.ak()}})};_.g=vM.prototype;
_.g.Mu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Bs(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.BKa(f,a.H):(this.tJ(f),_.IJ(this.request)&&jDc(this,0));else{if(_.IJ(this.request)&&!b)return!1;this.zR(a.H)}else return!1;return!0};_.g.zR=function(a){this.H?Ilc(this.Ld,a,this.H):this.Ld.push(a);a.count++;oDc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.tJ=function(a){if(this.H){var b=this.Ld,c=_.Ga(b,a,this.H);0<=c&&_.ta(b,c)}else _.ua(this.Ld,a);a.count--;oDc(a)&&this.count--;this.O.delete(a.getId())};_.g.Jya=function(a){return this.H?_.Ga(this.Ld,a,this.H):_.na(this.Ld,a)};_.g.BKa=function(a,b){this.H&&0!==this.H(a,b)?(this.tJ(a),this.zR(b)):(this.Ld[this.Jya(a)]=b,b.count++,oDc(b)&&this.count++,a.count--,oDc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Bs=function(a,b){if(!a)return!1;if(this.FCa&&!_.IJ(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Ld.find(function(e){return c===e.getId()},this);a=CL(this.context.zt,this.request,a.getItem());return b&&a}}if(!CL(this.context.zt,this.request,a.getItem()))return!1;var d=1.2*this.request.Mi();if(1===this.Mp||!this.H||Rtc(a.H,2)||this.count<d||b||lmc(a.getItem()))return!0;b=0===this.Ld.length?null:this.Ld[this.Ld.length-1];return!!b&&0>=this.H(a,b)};
_.g.CJ=function(){if(1!==this.Mp&&!this.context.Ij().We()&&!this.context.uk().We()){var a=1.2*this.request.Mi();if(!(a>=this.count||this.Av&&a>=this.Av.hc())){a=this.count-this.request.Mi();for(var b=this.Ld.length-1;0<=b&&0<a;b--){var c=this.Ld[b];Rtc(c.H,2)||lmc(c.getItem())||(c.count--,oDc(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Ld,b),a--)}kDc(this,!1)}}};_.g.Nn=function(a){var b=new _.oc;_.sI(b,2);_.tI(b,6);_.gq(b);this.context.dispatchEvent(new _.qc(new _.pc(a,b)))};
var oDc=function(a){return!Rtc(a.H,2)&&3!==MK(a.getItem())};vM.prototype.vRa=function(a){var b=this,c=_.Hl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.wf.ym.H(d.Ya()))&&_.R(d,108)}),gvc(this.context.Ffa,a,c))};vM.prototype.uRa=function(){this.CJ()};vM.prototype.AYa=function(a){return 1!==this.Mp&&a.Mi()>this.count&&this.Av.O};
var xM=function(a,b){var c;_.O.call(this);var d=this;this.O={};this.W=new dDc;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.context=a;this.Mg=b;this.Zs=new Xvc(a.Nm,a.Tf());if(null===(c=_.wI(this.context.Pc))||void 0===c?0:_.T(c,15,!1))b=new Lvc(a.zt,a.vv),this.Zs.add(b),a.Gfa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.Zs)||void 0===e?void 0:e.O)||void 0===f?void 0:PL(f,!(null===(k=null===(h=d.Zs)||void 0===h?void 0:h.H)||void 0===k?0:k.lH))});this.H=new huc(a.a_,a.zt,a.vv);_.R(a.Pc,
60)&&(this.va=new YCc(a.zt,a.vv));this.V=new cuc(a.Tf(),_.aK(this.Mg));pDc(this,_.Sd(this.context.Pc,28));this.ym=new kuc(this.Mg,this.context.Nm,this.H,this.V);this.context.Uk().W.H=this.ym;this.EI=new VBc(this.context,this.Mg,this.O,this.H);this.jGa=new ZCc(this.context,this.H);this.ka=new QCc(this.context,this);_.ze(this.ka,function(){d.ka=null});this.ta=_.Wec(_.aK(this.Mg),qDc);NL(this.context.Oj,["NSockf"],function(){return d.initialize()});NL(this.context.Oj,["NSockf","jroI5d"],function(){var e=
d.context.Pc;if(_.D(e,_.dl,12))e=_.D(e,_.dl,12);else{var f=_.Gfc(_.Ifc(new _.Hk,_.TJ(_.hI(e))),!0);f=_.y(f,6,1);var h=_.E(_.hI(e),6,"");h&&f.Pb(h);f=_.iUb(_.mgc(_.ngc(_.hG((new _.dl).Pb(d.context.ao()).setTitle(_.E(e,38,"My Drive")),"application/vnd.google-apps.folder").Rn(!1),f),[f]),1);f=_.y(f,29,!0);f=_.y(f,63,!0);e=_.Jfc(new _.Yk,_.T(e,6,!0));e=_.y(e,2,!1);e=_.PJ(f,_.Wfc(_.Pfc(_.Ofc(_.Sfc(_.Tfc(_.Rfc(_.Qfc(_.Nfc(_.Mfc(_.Lfc(_.Kfc(_.y(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.tl([e],
1);OL(d.context.Oj,"hVFf7")});this.ha=_.Th();NL(this.context.Oj,["BNEDtc"],function(){d.ha.resolve()});this.zq=new wwc(this.context.Pc,this.context.Tf(),a.Wm(),a.Ffa,this.context.Uk(),this.context.HX.promise);_.mI(this.context.Pc)&&this.Sc.listen(this.zq,"Kb",this.ma);this.DMa=new _.Mic(this.context.Pc,this.ym)};_.N(xM,_.O);
xM.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.B(d.value,1);for(var e=this.zq.Id(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.zq.H.get(d),e=!(!d||1!==d.ef()&&4!==d.ef()||3===gwc(d));e&&a.add(h)}b=[];c=_.m(c);for(h=c.next();!h.done;h=c.next())h=h.value,(d=this.H.get(h))?(h=d.getItem().clone(),rDc(this,h),b.push(Gvc(d,new zL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");sDc(this,b,[]);this.context.Us.update(6);a.size&&this.EI.CO([].concat(_.od(a)),_.rf(new _.qf,311))};xM.prototype.initialize=function(){this.ka.dh()};
xM.prototype.ii=function(a,b){if(b instanceof _.cf)b=DL(this.context.Nm,b),tDc(this,b.O()),aDc(this.jGa,b),b=uDc(this,b),b.cache.ii(a);else if(b instanceof _.jA)b=vDc(this,b),tDc(this,b.O()),b=wDc(this,b),b.cache.ii(a);else if(b instanceof _.bI){var c=uM(this,b),d=this.O[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,tv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new oCc(this.context,this.Mg,b),d.refresh().wg(_.If),this.O[c]=d,b={cache:d,tv:!0});b.cache.ii(a)}else if(b instanceof _.eG)c=b.O(),d=this.V,duc(d,d.H,d.O,c),b=wDc(this,b),b.cache.ii(a);else throw Error("pg");return b.tv};xM.prototype.jk=function(a,b){if(b instanceof _.cf)b=DL(this.context.Nm,b),cDc(this.jGa,b);else if(b instanceof _.jA)b=vDc(this,b);else if(!(b instanceof _.bI||b instanceof _.eG))throw Error("pg");b=uM(this,b);var c=this.O[b];c&&(c.jk(a),c.isDisposed()&&delete this.O[b])};
var uM=function(a,b){return EL(a.context.Nm,b,2)},uDc=function(a,b){var c=uM(a,b),d=a.O[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,tv:!1};d=[];for(var e=5,f,h,k=Yvc(a.Zs),l=0;l<k.length;l++){var p=k[l];e=p.DE(b);if(5!=e){f=1==e?void 0:b.Mi();d=p.Vka(b,f);f=p.ef();h=p instanceof QL?p.oy():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Od()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Ij().We()||a.context.uk().We())d=d.concat(a.H.query(b,1)),_.Ea(d,void 0,function(q){return q.getId()}),e=(e=a.Zs.H)&&e.j8&&5!=e.DE(b)?e.DE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new vM(a.context,b,d,1==e,h);f&&d.mj(f);d.tl(a.H.query(b,2),1!=e);d.initialize().wg(function(q){q=_.uI(q);_.gq(q);a.context.dispatchEvent(new _.qc(new _.pc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
tv:!0}},wDc=function(a,b){var c=uM(a,b),d=!1,e=a.O[c];if(e&&e.Wha(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.rn()),h;b instanceof _.jA?h=new LBc(a.context,a.Mg,b,f):h=new hDc(a.context,a.Mg,b,f);f.length&&h.mj(8);h.refresh().wg(_.If);b=h;d=!0;a.O[c]=b;e?(xDc(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,tv:d}};
xM.prototype.kW=function(){return Object.values(this.O).filter(function(a){return a.wd()instanceof _.bI})};
xM.prototype.o2a=function(a){for(var b=_.rf(new _.qf,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=zuc(this.context.Nm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.EI.CO([a],b,!1,c))};
var BBc=function(a,b,c){c&&c.length&&fuc(a.V,b,c);_.mI(a.context.Pc)&&Gwc(a.zq,b)},fCc=function(a,b,c){var d,e,f;if(b instanceof oCc){var h=uM(a,b.wd());if(a.O[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof Jvc&&a.Zs.remove(b);h=new Map;var k=a.H.jy(),l=new Map(k);k=[];for(var p=_.m(b.jy()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.H.get(r);if(v){var z=MK(v.getItem());(null===(d=_.wI(a.context.Pc))||void 0===d?0:_.T(d,15,!1))&&!0===q.O&&Ttc(v,
q.O);3==z||4==z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new Fvc(q.getId(),q,v));l.delete(r)}else{r=ML(q);if(null===(e=_.wI(a.context.Pc))||void 0===e?0:_.T(e,15,!1))null===(f=a.Zs.O)||void 0===f?void 0:f.update(r);a.H.update(r);a.W.update(r);_.mI(a.context.Pc)&&a.zq.mP(r)}_.mI(a.context.Pc)&&rDc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(ML(q.value));k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);b instanceof oCc?(k=uM(a,b.wd()),a.O[k]=b):a.Zs.add(b);
k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.qI,_.rI(p,l.getId()),p.setItem(l),k.push(p);a.To(k);a.log("Merged cache: "+b.getType());b instanceof TL&&c.forEach(function(A){yDc(a.context.Fsa,A)});a.context.Us.update(3)},xDc=function(a,b){(new Set([].concat(_.od(a.By)))).forEach(function(c){b.ii(c);a.jk(c)})};
xM.prototype.tl=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.od(c.O().filter(function(C){return!_.aK(f.Mg).includes(C)}))):[]);c&&c instanceof _.cf&&_.IJ(c)&&zDc(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new zL(q,void 0,b),v=this.H.get(q.getId()),z=v?v.getItem():null,A=ADc(this,v,r);if(null!=A)r.OD(A),BDc(this,z,q),kmc(q),q=auc(q,z,e),r.setItem(q);else if(null!=v)r=v,q=z;else continue;_.mI(this.context.Pc)&&rDc(this,q);!v||CDc(this,z,q,e)?(l.push(Gvc(v,r)),k.push(r)):k.push(v)}a=
null;if(c){if(c instanceof _.cf){if(null===(h=_.wI(this.context.Pc))||void 0===h?0:_.T(h,15,!1))a=_.Hl(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.O&&Ttc(a,!d));(a=awc(this.Zs,c))&&a.tl(k,!!d)}c=uM(this,c);(a=this.O[c])&&a.tl(k,!!d)}0<l.length&&(_.mI(this.context.Pc)&&l.forEach(function(C){return f.zq.mP(C)}),sDc(this,l,e,a?[a]:[]),DDc(this,k));EBc(this.context).g9()};
var rDc=function(a,b){Jwc(a.zq,b)||5!=MK(b)||_.tgc(b,1)},CDc=function(a,b,c,d){(b=b?_.Rj(b.clone(),82):null)&&BBc(a,[b],d);c=_.Rj(c.clone(),82);BBc(a,[c],[]);return!_.ek(b,c)},zDc=function(a,b,c){EDc(a,b,c);b.forEach(function(d,e){var f=a.ym.H(d.getId());f&&(JK(f,d,[1002]),JK(f,d,[1003]),JK(f,d,[1005]),b[e]=f);_.gJ(c)&&0<_.Sd(c,33).length&&_.ugc(d,_.Sd(c,33)[0])})},EDc=function(a,b,c){var d;_.gJ(c)?d="quick access":_.hJ(c)?d="people predict":_.iJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},oBc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.H)||c.set(d.H,[]),c.get(d.H).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.tl(Nmc(d),b)};xM.prototype.Ala=function(a){this.DMa.Ala(a)};
xM.prototype.To=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.vk()?null:e.getItem(),h=e.Dc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new zL(f,void 0,void 0,_.B(e,1)||void 0);var p=ADc(this,h,l);if(null==p)continue;l.OD(p);BDc(this,k,f);_.T(e,5,!1)&&Nlc(f,bmc);kmc(f);f=auc(f,k);l.setItem(f);_.mI(this.context.Pc)&&rDc(this,f)}if(k&&!f||f&&CDc(this,k,f,[]))this.context.FJa.ty(e),c.push(Gvc(h,l))}_.mI(this.context.Pc)&&c.forEach(function(q){return b.zq.mP(q)});sDc(this,
c,[])};var BDc=function(a,b,c){b&&!c.Um()&&JK(c,b,a.ta);var d=b?b.Pf():null,e=c.Pf();e=e?_.Wd(e):null;d&&e&&BDc(a,_.Wd(d),e);b&&!_.gl(c)&&JK(c,b,[1002]);b&&!_.hl(c).length&&JK(c,b,[1003]);b&&!_.il(c).length&&JK(c,b,[1005]);b&&null==c.U1()&&JK(c,b,[71]);b&&null==_.B(c,79)&&JK(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(Nlc(c,bmc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
xM.prototype.sB=function(a,b){if(a instanceof _.cf||a instanceof _.jA||a instanceof _.bI)a=uM(this,a),(a=this.O[a])&&a.RX(b);else throw Error("pg");};var ADc=function(a,b,c){var d=c.getItem();if(exc(a.context.Hfa,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!=MK(a)&&!BL(a)&&!BL(d)&&a.Bc()==d.Bc())if(a.Di()&&d.Di()){if(a.Di()>d.Di())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Cq()>d.Cq())return null}return Stc(b&&b.H,c.H)};
xM.prototype.hI=function(a,b){(a=this.H.get(a))&&a.OD(Stc(a.H,b))};
var sDc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.wI(a.context.Pc))||void 0===e?0:_.T(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&Ttc(h.H,h.O.O);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.V.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.ua(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())DBc(h.value,b);h=Yvc(a.Zs);d=0;c=_.m(h);for(h=c.next();!h.done;h=c.next()){f=h.value;var k=
!1,l=_.m(b);for(h=l.next();!h.done;h=l.next())f.update(h.value)&&(k=!0);k&&d++;f instanceof TL&&f.Od()>=1.2*f.limit&&FDc(a.context.FJa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Pc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.CJ(h.id),a.W.update(h);0<d&&a.context.Us.sna(d);GDc(a)},GDc=function(a){var b=a.W.O.slice(0),c=eDc(a.W);fDc(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.qf;_.rf(d,308);a.EI.CO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=luc(a.ym,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Pf(),k=_.B(h,1);if(k=a.ym.H(k))_.J(h,5,k),_.y(h,4,1),e.push(f)});oBc(a,e)}},HDc=function(a){EBc(a.context).g9();a.H.CJ()},vDc=function(a,b){_.Ha(b.O());var c=_.na(b.rn(),"root");if(0>c)return b;b=b.clone();b.rn()[c]=a.context.ao();return b},pDc=function(a,b){var c;null!==(c=_.wI(a.context.Pc))&&void 0!==c&&_.T(c,1,!1)||(b=Wpc(a.Mg,b),a=a.V,duc(a,a.items,a.fields,b))},tDc=function(a,b){var c;if(null===(c=_.wI(a.context.Pc))||
void 0===c?0:_.T(c,1,!1))b=Wpc(a.Mg,b),a=a.V,duc(a,a.items,a.fields,b)},DDc=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==MK(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.rf(new _.qf,311);a.EI.CO(c,d)}})},XCc=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!awc(a.Zs,c)){a.log("Adding new cache hint for "+uM(a,c));var d=new QL(a.context.zt,a.context.vv,a.context.Nm,
c);c=new $Bc(a.context,d,c);var e=XL(a.context.rz,null);_.Uh(c.dh().then(function(){cCc(d,e).then(function(f){fCc(a,d,f)})}),function(){nxc(a.context.rz,null)})}})})};xM.prototype.Bo=function(){var a=this.Zs.H;return a&&a.lH?1:2};xM.prototype.log=function(a,b){this.context.Tf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var qDc=[50];
var JDc=function(a){_.O.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ol;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Th();this.va=c.promise;azc(this.context.wD).then(function(d){b.H=d||[];c.resolve();IDc(b)},function(){return c.resolve()});NL(this.context.Oj,["rVezo"],(0,_.u)(this.W,this))};_.N(JDc,_.O);
var bDc=function(a,b){_.T(a.context.Pc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.ua(a.H,b);for(buc(a.context.wf.ym.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.fk(a.context.Pc,47,5);)a.H.pop();a.context.wD.set(Vyc,a.H)}a.context.wf.Zs.kW().length+a.O.size<_.fk(a.context.Pc,47,5)&&(IDc(a),a.W())})},KDc=function(a,b){_.ua(a.H,b)&&a.context.wD.set(Vyc,a.H)};
JDc.prototype.ty=function(a){yDc(this.context.Fsa,a);if(BL(a)){var b=a.Bc();a.vk()?FDc(this,b,!0):(a=a.getItem(),buc(a)&&KDc(this,b))}};var FDc=function(a,b,c){KDc(a,b);a.V.contains(b)&&a.V.remove(b);var d=a.O.get(b);d&&d.dispose();a.O.delete(b);d=a.context.wf.Zs;for(var e=d.kW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Us.update(3);break}}tM(a.context).addCallback(function(k){k.MGa(b,c)});a.W()};
JDc.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.wf.Zs;LDc(this);for(var b={};this.V.hc()&&!(this.ha>=_.fk(this.context.Pc,47,5));){var c=_.pl(this.V);this.ha++;$vc(a,c)||this.O.has(c)||(this.O.set(c,null),b.cfa=new _.rfc,_.y(b.cfa,1,c),this.context.Wm().then(function(d){return function(e){return e.Te(d.cfa)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={cfa:b.cfa}}}};
var IDc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},LDc=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){IDc(a);a.W()},36E5)};JDc.prototype.ta=function(a,b){var c=_.B(b,1);c&&c>_.fk(this.context.Pc,48,1E3)?(this.log(a,"Too large to backfill: "+_.B(b,1)),MDc(this,a,!1)):NDc(this,a)};
JDc.prototype.ma=function(a,b){(b=_.uI(b).tk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.CI(_.wec(_.rI(new _.qI,a),a)),this.context.wf.To([a])):NDc(this,a)};
var NDc=function(a,b){var c=new TL(a.context.zt,a.context.vv,b),d=c.wd().clone();d.yi(_.fk(a.context.Pc,48,1E3));d=new $Bc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=XL(a.context.rz,b);tM(a.context).addCallback(function(f){f.hva(b)});_.Uh(d.dh().then(function(){ODc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;MDc(a,b,!0)}),function(){nxc(a.context.rz,b)})},ODc=function(a,b,c,d){c.lH?(c.kX(),cCc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Od());fCc(a.context.wf,
c,e);MDc(a,b,!1)},function(){a.log(b,"Backfill changes failed");MDc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),MDc(a,b,!0))},MDc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&tM(a.context).addCallback(function(e){e.MGa(b,!1)});a.W();0<a.O.size||a.context.wf.Zs.kW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){FDc(a,e,!0)})};
JDc.prototype.log=function(a,b){this.context.Tf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var PDc=function(){_.O.apply(this,arguments)};_.N(PDc,_.O);
var SDc=function(a,b){b=QDc(b);var c=a.getItem(),d=RDc(c.getCapabilities());b.h4.forEach(function(e){_.iUb(e.getItem(),c.kp());_.PJ(e.getItem(),d.clone())});return b},VDc=function(a,b,c){var d=TDc(c);c=c.find(function(e){return e.getId()===b.getId()});c={rK:c?c:new zL(b),children:[]};UDc(a,d,c);return c},TDc=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().rk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},UDc=
function(a,b,c){var d=c.rK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(UDc(a,b,{rK:e,parent:c,children:[]}))});return c},XDc=function(a,b){b=b.children.filter(function(l){return!_.fl(l.rK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.rK.getItem();if(!c.has(f.getId())){_.iUb(f,a.kp());WDc(a,f,e.parent?e.parent.rK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.fl(k.rK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.rK)}}return d},
YDc=function(a){a=a.children.filter(function(h){return!_.fl(h.rK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.rK.getItem();if(!b.has(e.getId())){c.push(_.CI(_.rI(new _.qI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.fl(f.rK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},QDc=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();_.fl(e)||_.R(e,137)?c.push(e):b.push(d)}return{zQ:c,h4:b}},RDc=
function(a){a=a.clone();var b=null!=_.R(a,34)?_.R(a,34):_.R(a,7),c=null!=_.R(a,35)?_.R(a,35):_.R(a,7);_.y(a,45,c);_.bgc(a,b);_.y(a,30,c);_.Xfc(a,b);_.cgc(a,c);_.Yfc(a,c);_.Zfc(a,b);_.Kfc(a,b);_.Pfc(a,c);_.Vfc(a,b);_.Ufc(a,_.R(a,7));_.Ofc(a,_.R(a,10)||_.R(a,11));_.Wfc(a,_.Zk(a));_.Rj(a,18);_.Rj(a,13);_.Rj(a,10);_.$fc(a,_.R(a,42));_.agc(a,_.R(a,43));_.dgc(a,_.R(a,48));return a},WDc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.y(e,30,f);_.Xfc(e,_.R(d,31));_.cgc(e,_.R(d,
47));_.Yfc(e,_.R(d,32));_.Zfc(e,_.R(d,33));_.Kfc(e,_.R(d,4));_.Pfc(e,_.R(d,9));_.Wfc(e,_.R(d,21));_.Vfc(e,_.R(d,20));_.Ufc(e,_.R(d,17));_.Jfc(e,_.Zk(d));_.Nfc(e,_.R(d,7));_.Qfc(e,_.R(d,10));_.Rfc(e,_.R(d,11));f=_.R(d,45);_.y(e,45,f);_.bgc(e,_.R(d,46));_.dgc(e,_.R(d,48));a=_.fl(a);_.y(b,137,a);c&&(c=c.getCapabilities(),LK(b)?(_.Ofc(e,_.R(c,43)),_.agc(e,_.R(c,43)),_.$fc(e,_.R(c,42))):_.Ofc(e,_.R(c,42)))};
var ZDc=function(a){this.context=a;this.V=new PDc;this.O=_.rf(new _.qf,306);this.H=a.wf},yDc=function(a,b){if(BL(b))b.vk()?$Dc(a,b):aEc(a,b);else if(_.T(a.context.Pc,86,!1)){var c=b.Dc(),d=a.H.ym.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!LK(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.fl(d),!b.vk()){var h=b.getItem();f=_.fl(d)!==_.fl(h);h=h.kp()!==d.kp();e=f||e&&h}if(e)if(b.vk()){if(b=bEc(a,d.Bc()),d=a.V,e=(new _.dl).Pb(c),b=(b=VDc(d,e,b))?YDc(b):[],a.context.wf.To(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=cqc(a.context.Uk(),106009))c=Ypc(a),_.y(c,2,b.length),a.ak()}else if(c=b.getItem(),d=bEc(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=VDc(e,c,d))?XDc(c,d):[],oBc(a.context.wf,c),a.log(b.Dc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=cqc(a.context.Uk(),106010))b=Ypc(a),_.y(b,1,c.length),a.ak()}},$Dc=function(a,b){var c=b.Dc();b=bEc(a,c);b=QDc(b);var d=_.af(b.h4,function(e){return _.CI(_.rI(new _.qI,e.getId()))});a.context.wf.To(d);
a.H.EI.CO(b.zQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.zQ.map(function(e){return _.El((new _.Dl).Pb(e.getId()),_.kl(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.zQ.length+" divergent items"));if(a=cqc(a.context.Uk(),106016))c=Zpc(a),_.y(c,1,b.zQ.length),_.y(c,2,b.h4.length),a.ak()},aEc=function(a,b){var c=b.Dc(),d=bEc(a,c),e=a.H.ym.H(c);b=SDc(b,d);oBc(a.context.wf,b.h4);a.H.EI.CO(b.zQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.zQ.map(function(h){return _.El((new _.Dl).Pb(h.getId()),
_.kl(h))}));a.log(c,"SD update | Update "+b.h4.length+" item(s), "+(b.zQ.length+" divergent items"));if(d=cqc(a.context.Uk(),106017)){var f=Zpc(d);_.y(f,1,b.zQ.length);_.y(f,2,b.h4.length);d.ak()}e||ZBc(a.H.EI,c)},bEc=function(a,b){var c=new _.cf;_.Jl(c,[b]);_.Kl(c,2);return nuc(a.H.ym,c)};ZDc.prototype.log=function(a,b){this.context.Tf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var cEc=function(a,b,c){this.H=a;this.V=b;this.xJ=c};
cEc.prototype.ax=function(a,b){var c=this;if(a.PV().length){var d=axc(this.H,a.Dc());if(d){var e=d?bxc(this.H,a):[];for(var f={},h=_.m(a.PV()),k=h.next();!k.done;f={xL:f.xL},k=h.next())if(k=k.value,f.xL=dEc(e,k.nn(),a.Dc()),_.R(k,3))hxc(this.H,f.xL),_.Uh(b,function(r){return function(){c.H.O.W(Rwc(r.xL))}}(f));else{for(var l=_.m(_.Yj(k,_.$F,2)),p=l.next();!p.done;p=l.next())eEc(this,f.xL,p.value);k=_.m(_.Sd(k,4));for(l=k.next();!l.done;l=k.next())fEc(f.xL,l.value);this.H.pD([f.xL],!1,-1);b.then(function(r){return function(){return void c.H.hI(r.xL.getName(),
-2)}}(f),function(r){return function(){c.H.hI(r.xL.getName(),-2)}}(f))}e=this.od(d.wk().response)}}e=e?e:this.od();var q=e.W3a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.pB(r));c.handleError(a.Dc(),r)});return e};cEc.prototype.od=function(a){a=void 0===a?new iL:a;return new Wtc(a.Ec(1))};var dEc=function(a,b,c){var d=a.find(function(e){return Qwc(e.getName(),b)});d||(d=Eqc((new cL).ud(b),c),a.push(d));return d};
cEc.prototype.handleError=function(a,b){jxc(this.V,a);a=_.uI(b);_.y(a,21,"Server error updating metadata after optimistic application.");this.xJ(a)};
var eEc=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new aL,d.Pb(c.getId()),Dqc(b,b.O().concat([d])),gEc(d,c));if(1===bL(d))d.setBooleanValue(_.R(c,3));else if(12===bL(d))d.setDateStringValue(_.B(c,17));else if(2===bL(d))d.setTextValue(_.B(c,4));else if(3===bL(d))_.Sd(c,6).length?d.hpa(_.Sd(c,6)):_.Sd(c,5).length&&(a=_.Sd(d,7).concat(_.Sd(c,5)),d.hpa(a));else if(4===bL(d))d.setLongTextValue(_.B(c,7));else if(5===bL(d))d.setSelectionValue(_.B(c,8));else if(6===
bL(d))_.Sd(c,10).length?d.dpa(_.Sd(c,10)):_.Sd(c,9).length&&(a=d.qMa().concat(_.Sd(c,9)),d.dpa(a));else if(7===bL(d))d.setIntegerValue(_.B(c,11));else if(8===bL(d))_.Sd(c,13).length?d.Woa(_.Sd(c,13)):_.Sd(c,12).length&&(a=_.Sd(d,12).concat(_.Sd(c,12)),d.Woa(a));else if(10===bL(d))d.setUserValue(a.O(_.B(c,14)));else if(11===bL(d))_.Sd(c,16).length?Aqc(d,_.Sd(c,16).map(a.O)):_.Sd(c,15).length&&Aqc(d,d.MWa().concat(_.Sd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(bL(d)+
"."),new _.pc(d,new _.oc);},fEc=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===bL(a))_.Rj(a,5);else if(12===bL(a))_.Rj(a,17);else if(2===bL(a))_.Rj(a,6);else if(3===bL(a))_.PH(a,7);else if(4===bL(a))_.Rj(a,8);else if(5===bL(a))_.Rj(a,9);else if(6===bL(a))_.PH(a,10);else if(7===bL(a))_.Rj(a,11);else if(8===bL(a))_.PH(a,12);else if(10===bL(a))_.Sj(a,15);else if(11===bL(a))_.Uj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(bL(a)+"."),new _.pc(a,new _.oc);
},gEc=function(a,b){_.Q(b,3)?a.OA(1):_.Q(b,17)?a.OA(12):_.Q(b,4)?a.OA(2):_.Sd(b,6).length||_.Sd(b,5).length?a.OA(3):_.Q(b,7)?a.OA(4):_.Q(b,8)?a.OA(5):_.Sd(b,10).length||_.Sd(b,9).length?a.OA(6):_.Q(b,11)?a.OA(7):_.Sd(b,13).length||_.Sd(b,12).length?a.OA(8):_.Q(b,14)?a.OA(10):(_.Sd(b,16).length||_.Sd(b,15).length)&&a.OA(11)};cEc.prototype.O=function(a){return _.Hfc(_.Ffc(1),a)};
var hEc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.va=c;this.O=d;this.ka=e;this.Mg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};hEc.prototype.apply=function(a,b){var c=this;if(!_.HJ(a))return b;var d=null;a instanceof _.VI?d=iEc(this,a,b):a instanceof _.bJ?d=jEc(this,a,b):a instanceof _.xI?d=this.ax(a,b):a instanceof _.QI?d=kEc(this,a,b):a instanceof _.yJ&&(d=this.va.ax(a,b));d&&(this.W++,this.ha.setActive(!1),_.Uh(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Qh(d):b};
var iEc=function(a,b,c){dxc(a.O,b.getId());var d=a.H.ym.H(b.getId());_.Uh(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=_.uI(e);_.y(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.GJ).Ec(1)},jEc=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&fxc(a.O,d)&&_.Uh(lEc(a,d,new _.Lic(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.ua(a.O.H,
d)});c.then(null,function(e){e=_.uI(e);_.y(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.GJ).Ec(1)},lEc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Qh();var f=_.Th(),h=c.Ya();_.KH(c);setTimeout(function(){a.ka.then(function(k){var l=_.rf(new _.qf,1425);l=Mmc(!0,1,l);return k.Te(l).then(function(p){if(p=p.od())if(p=p.Cd()[0],!p||(p.Zv()||0)>b){f.resolve();return}_.Uh(lEc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Uh(lEc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},kEc=function(a,b,c){var d=b.Bc(),e=a.H.ym.H(d);if(!e)return null;e=e.clone();BBc(a.H,[e],[157]);var f=e.zg();mEc(f,_.Yj(b,_.cl,2));nEc(f,_.Yj(b,_.cl,3));a.H.tl([e],-1,void 0,void 0,[157]);_.Uh(c,function(){a.H.hI(d,-2)}).then(function(h){a.H.tl([_.D(h,_.dl,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.uI(h);_.y(h,21,"Server error updating item after optimistic application.");a.V(h)});return Frc(new Erc,e).Ec(1)},
mEc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={Uea:c.Uea},d=b.next())c.Uea=d.value,_.Yj(a,_.cl,8).some(function(e){return function(f){return f.nn()==e.Uea.nn()}}(c))||_.bk(a,8,c.Uea,_.cl,void 0)},nEc=function(a,b){var c=b.map(function(d){return d.nn()});b=_.Yj(a,_.cl,8).filter(function(d){return!c.includes(d.nn())});Vlc(a,b)};
hEc.prototype.ax=function(a,b){var c=this,d=this.H.ym.H(a.getId());if(!d||d.Bc()&&0==a.Wh()||null!=_.R(a,40))return null;var e=_.Sd(a,10),f=_.Sd(a,9);if(0<e.length&&0<f.length&&(e=Object.values(muc(this.H.ym,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Ea(e),1<e.length))return null;var h=d.clone();oEc(this,a,h);this.H.tl([h],-1,void 0,void 0,Upc(this.Mg));b.then(function(){return c.H.hI(a.getId(),-2)},function(){c.H.hI(a.getId(),-2);c.ta(a.getId(),d)});b.then(null,function(k){k=_.uI(k);
if(63==k.tk()){var l=h.getId();_.y(k,22,l);_.y(k,23,f[0])}_.y(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.khc((new _.GJ).setItem(h),h.getId()).Ec(1)};
var oEc=function(a,b,c){null!=b.Qe()&&c.tm(b.Qe());null!=b.Yi()&&_.rgc(c,b.Yi());null!=b.getMimeType()&&_.hG(c,b.getMimeType());null!=_.B(b,7)&&_.hUb(c,_.B(b,7));null!=_.R(b,11)&&_.lgc(c,_.R(b,11));null!=_.R(b,4)&&c.Fv(_.R(b,4));null!=_.R(b,16)&&_.qgc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Wh()&&(c.Rn(b.Wh()),_.pgc(c,b.Wh()));null!=_.R(b,18)&&_.HK(jmc(c,!0),_.R(b,18));_.Sd(b,8).length&&_.OJ(c,_.Sd(b,8));if(_.Sd(b,9).length){var d=new Set(c.rk());_.Sd(b,9).forEach(function(p){return d.add(p)});
_.OJ(c,[].concat(_.od(d)))}if(_.Sd(b,10).length){var e=new Set(c.rk());_.Sd(b,10).forEach(function(p){return e.delete(p)});_.OJ(c,[].concat(_.od(e)));var f=c.Bw();f&&_.Sd(b,10).includes(f)&&_.Rj(c,46)}if(!c.Bw()){var h=a.Ba();f=c.rk().find(function(p){var q=a.H.ym.H(p);return q&&!!q.Bw()||p==h});_.y(c,46,f||void 0)}c.rk().length&&(f=a.H.ym.H(c.rk()[0]))&&_.ugc(c,f.Bc());if(f=_.D(b,_.$k,25)){var k=_.D(c,_.$k,111)||new _.$k;null!=_.R(f,1)&&_.fgc(k,_.R(f,1));null!=_.B(f,2)&&_.ggc(k,_.B(f,2));_.J(c,111,
k)}var l=_.Sd(c,120);_.Sd(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Sd(b,32).forEach(function(p){_.ua(l,p)});_.Qj(c,120,l)};hEc.prototype.ta=function(a,b){var c=this,d=_.lA(new _.jA,[a]);this.ka.then(function(e){return e.Te(d)}).then(function(e){e=e.od().Cd()[0];c.H.tl([e.clone()],1)},function(){b&&c.H.tl([b.clone()],1)})};
var pEc=function(a){this.H=a};_.N(pEc,_.skc);pEc.prototype.execute=function(a,b,c){var d=_.skc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.VKa||b instanceof _.nI&&_.IJ(b.wd()))if(c=lqc(this.H))return c;return b instanceof _.bJ?(c=_.rf(new _.qf,1424),a.Te(Mmc(!1,1,c)).then(function(e){(e=e.od())&&(e=e.Cd()[0])&&_.Q(e,96)&&b.bda(e.Zv())},function(){})):null};
var bnc=function(a,b){return[qEc,rEc,sEc,tEc].reduce(function(c,d){var e;0!==c?e=c:e=_.Fa(d(a),d(b));return e},0)},qEc=function(a){return uEc[a.Df()]},rEc=function(a){return vEc[a.getType()]},sEc=function(a){return a.getName()||""},tEc=function(a){return a.getId()||""},yM={},uEc=(yM[5]=0,yM[7]=1,yM[1]=2,yM[3]=3,yM[4]=4,yM[2]=5,yM[6]=6,yM),wEc={},vEc=(wEc[1]=0,wEc[2]=1,wEc[3]=2,wEc[4]=3,wEc);
var xEc=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.Mg=l};
xEc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.GJ&&8===b.Bb()))if(a instanceof _.PI||a instanceof _.RI||a instanceof _.hfc||a instanceof _.xI||a instanceof _.BJ||a instanceof _.pfc||a instanceof _.DJ||a instanceof _.OK){var d=_.BI(b.getItem().clone(),9);this.H.tl([d],1);Fxc(this.ta,b.getItem(),_.aK(this.Mg))}else a instanceof _.VI?(b=_.CI(_.rI(new _.qI,a.getId())),this.H.To([b])):a instanceof _.YI?(b=_.CI(_.wec(_.rI(new _.qI,a.getId()),a.getId())),this.H.To([b]),yDc(this.ma,b)):
a instanceof _.bJ?(b=Mmc(!0).wd(),b=this.H.ym.query(b).map(function(e){return _.CI(_.rI(new _.qI,e.getId()))}),this.H.To(b)):a instanceof _.TI?this.O.remove(a.Bh()):a instanceof _.eJ||a instanceof _.xJ?this.O.put(b.yr()):a instanceof _.WI?anc(this.H,a):a instanceof _.xD?this.W.remove(a.getKey()):a instanceof _.fJ?cnc(this.H,a,_.D(b,_.Hk,2)):a instanceof _.yD?this.W.put(b.zMa()):a instanceof _.SI||a instanceof _.CJ?this.ha.pD([b.tn()],!1):a instanceof _.ZI?this.ha.pD([sxc(a.getId())],!1):a instanceof
_.gfc?this.V.pD(b.response.O(),!1,1):a instanceof _.yJ?(a.PV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.nn()||"",a.Dc())}),jxc(this.ka,a.Dc()),this.H.o2a(a.Dc())):a instanceof _.fK&&_.Yj(a,_.orc,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.D(e,_.gL,2),e.getType()){case 1:case 2:if(e=c.H.ym.H(e.Dc())){var f=new _.qI;f=_.y(f,5,!0);e=_.rI(f,e.getId()).setItem(e.clone());c.H.To([e])}}}})};
var yEc=function(a){this.H=a};
yEc.prototype.translate=function(a){if(a instanceof _.uJ){var b=this.H.H(a.getId());if(!b)return new _.oc;var c=(new _.xI).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.ne(d)||_.R(d,9)?c.Rn(!0):_.yI(c,!1)}else d=a.getParent(),1===b.kp()?c.Rn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?rpc(c,[d]):_.yI(c,!1)):_.yI(c,!1);return c}if(a instanceof _.vJ)return tpc(spc(rpc(qpc((new _.xI).Pb(a.getId()),_.Sd(a,2)),_.Sd(a,3)),_.R(a,6)),_.Yj(a,_.Dl,8));if(a instanceof _.wJ){b=this.H.H(a.getId());
if(!b)return new _.oc;c=(new _.xI).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.ne(d)||_.R(d,9)?c.Rn(!1):_.yI(c,!0)):(d=a.getParent(),1===b.kp()?c.Rn(!1):d?(b=this.H.H(d),!b||_.Zk(b.getCapabilities())?qpc(c,[d]):_.yI(c,!0)):_.yI(c,!0));return c}if(a instanceof _.sK)return new _.hfc(a);if(a instanceof _.kM)return _.Sd(a,1).map(function(f){var h=new _.yJ;f=_.y(h,1,f);h=a.PV();f=_.Tj(f,2,h);h=a.ze();return _.J(f,3,h)});if(a instanceof _.aJ){c=Mmc(!1,1).wd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Zv())&&(e=Math.max(e,f))});return gqc(new _.bJ,a).bda(e)}return a};
var zEc=function(){};zEc.prototype.validate=function(a){var b=null;a instanceof _.jJ?(a=a.getId()||"",_.ge(a)&&(b="Tried to request backup with no id.")):a instanceof _.UI&&(a=a.getId()||"",_.ge(a)&&(b="Tried to delete backup with no id."));return b?_.uI(b):null};
var AEc=function(a,b){this.H=a;this.O=b},EEc=function(a,b){_.zK(["drive#about"],b);var c=new _.lM,d=new _.oB;if(b.user){var e=_.BK(a.H,b.user);_.J(d,1,e)}a=BEc(a,b);a=kpc(jpc(_.ipc(new _.Jtb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.mpc(a,_.Yoc(_.Xoc((new _.mB).Ec(CEc[e.status]),Number(e.trialMillisRemaining)),_.AK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.npc(a,_.$oc(_.Zoc(new _.Ftb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&lpc(a,b.importFormats.map(function(f){var h=new _.hpc;h=_.y(h,1,f.source);return _.Qj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.y(a,10,DEc[b.adminSecureLinkSetting]);_.J(d,3,a);_.jAc(c,d);b=b.largestChangeId;null!=b&&_.y(c,4,Number(b));return c},BEc=function(a,b){var c;var d=new _.Itb;d=_.y(d,1,Number(b.quotaBytesTotal));d=_.y(d,2,Number(b.quotaBytesUsed));d=_.y(d,3,Number(b.quotaBytesUsedAggregate));d=_.y(d,4,Number(b.quotaBytesUsedInTrash));d=_.dpc(_.cpc(_.bpc(_.apc(d,
enc(b.quotaBytesByService||[])),FEc[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-gnc(b);d=_.y(d,9,e);d=_.epc(d,Number(b.quotaBytesUsedAggregate));d=_.y(d,11,Number(b.quotaBytesUsedInTrash));d=_.y(d,13,_.fmc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.fpc(d,GEc[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.nB;var f=
_.M3a(new Date(b.graceQuotaInfo.endDate));e=_.J(e,1,f);e=_.y(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.J(d,12,e)}(null===(c=_.wI(a.O))||void 0===c?0:_.T(c,16,!1))?(a=_.y(d,16,Number(b.individualQuotaBytesTotal)),a=_.y(a,17,_.fmc(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.y(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},GEc={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},fnc=new Set(["POOLED_STORAGE","FAMILY"]),CEc={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},dnc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},FEc={LIMITED:1,UNLIMITED:2,POOLED:3},DEc={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var HEc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},IEc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},JEc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},KEc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},LEc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},MEc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},NEc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},OEc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},PEc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},QEc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},REc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},SEc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},TEc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},UEc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},VEc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},WEc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},XEc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},YEc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},ZEc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},$Ec={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},aFc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},bFc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},iFc=function(a){return a.map(function(b){var c=new _.Otc;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=cFc(e);_.J(c,2,d);break;case "actors":d=dFc(e);_.Tj(c,3,d);break;case "actions":d=eFc(e);_.Tj(c,
4,d);break;case "targets":d=fFc(e);_.Tj(c,5,d);break;case "timestamp":c.O(gFc(e));break;case "timeRange":d=hFc(e),_.ak(c,7,Ntc[0],d)}}return c})},eFc=function(a){return a.map(function(b){var c=new _.Ltc;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=cFc(e);_.J(c,1,d);break;case "source":d=new dtc;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":_.ok(d,2,HEc[h]);break;case "appId":_.ik(d,1,h)}}_.J(c,2,d);break;case "actor":d=jFc(e);_.J(c,3,d);break;case "target":d=kFc(e);_.J(c,4,d);break;case "timestamp":c.O(gFc(e));break;case "timeRange":d=hFc(e),_.ak(c,6,Ktc[0],d)}}return c})},fFc=function(a){return a.map(function(b){return kFc(b)})},mFc=function(a){return a.map(function(b){return lFc(b)})},nFc=function(a){return a.map(function(b){var c=new _.Isc;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(lFc(e));break;case "shortcut":d=lFc(e),_.J(c,2,d)}}return c})},kFc=function(a){var b=new _.htc;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=oFc(d);_.ak(b,1,_.gtc[0],c);break;case "drive":c=new _.etc;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.ud(f);
break;case "title":c.setTitle(f);break;case "root":e=oFc(f),_.J(c,3,e)}}_.ak(b,5,_.gtc[0],c);break;case "fileComment":c=new _.ftc;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":_.ik(c,1,f);break;case "legacyDiscussionId":_.ik(c,2,f);break;case "linkToDiscussion":_.ik(c,3,f);break;case "parent":c.Gg(oFc(f))}_.ak(b,3,_.gtc[0],c)}}return b},lFc=function(a){var b=new _.lL;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 rsc;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.ud(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new psc;_.ak(e,8,qsc[0],f);break;case "driveFolder":e=pFc(f);_.ak(c,9,qsc[0],e);break;case "driveShortcut":e=qFc(f),_.ak(c,10,qsc[0],e)}}_.ak(b,1,ssc[0],c);break;case "drive":c=rFc(d),_.ak(b,3,
ssc[0],c)}}return b},oFc=function(a){var b=new _.osc;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.ud(d);break;case "title":b.setTitle(d);break;case "mimeType":_.ik(b,6,d);break;case "version":_.hk(b,5,d);break;case "owner":c=new jsc;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=sFc(f);_.J(c,3,e);break;case "user":e=
zM(f);_.ak(c,1,isc[0],e);break;case "drive":e=rFc(f),_.ak(c,4,isc[0],e)}}_.J(b,7,c);break;case "driveFile":c=new psc;_.ak(b,8,ksc[0],c);break;case "driveFolder":c=pFc(d);_.ak(b,9,ksc[0],c);break;case "driveShortcut":c=qFc(d),_.ak(b,10,ksc[0],c)}}return b},rFc=function(a){var b=new hsc;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.ud(d);break;case "title":b.setTitle(d)}}return b},pFc=function(a){var b=new msc;
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":_.ok(b,6,IEc[d])}}return b},qFc=function(a){var b=new nsc;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":_.ik(b,1,d);break;case "targetMimeType":_.ik(b,2,d)}}return b},dFc=function(a){return a.map(function(b){return jFc(b)})},jFc=function(a){var b=new _.ctc;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=zM(d);_.ak(b,1,_.btc[0],c);break;case "anonymous":c=new Zsc;_.ak(b,2,_.btc[0],c);break;case "impersonation":c=new _.$sc;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=zM(f),_.J(c,1,e)}}_.ak(b,3,_.btc[0],c);break;case "system":c=new _.atc;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":_.ok(c,1,JEc[f])}_.ak(b,4,_.btc[0],c);break;case "administrator":c=new _.Ysc,_.ak(b,5,_.btc[0],c)}}return b},tFc=function(a){return a.map(function(b){return zM(b)})},zM=function(a){var b=new _.Prc;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 _.jL;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":_.ik(c,1,f);break;case "isCurrentUser":_.gk(c,2,f);break;case "displayName":_.ik(c,3,f);break;case "photoUrl":c.Qn(f)}}_.ak(b,2,_.Nrc[0],c);break;case "unknownUser":c=new Qrc;_.ak(b,4,_.Nrc[0],c);break;case "deletedUser":c=new _.Orc,_.ak(b,3,_.Nrc[0],c)}}return b},gFc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.L3a((new _.Vx).setSeconds(a),b)},hFc=function(a){var b=new _.yL;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.xY(gFc(d));break;case "endTime":b.FF(gFc(d))}}return b},sFc=function(a){var b=new _.gsc;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.ud(d);break;case "legacyId":_.ik(b,3,d);break;case "audienceDisplayName":_.ik(b,4,d)}}return b},cFc=function(a){for(var b=new _.rL,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 _.vsc,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,v=q.next().value;switch(r){case "new":var z=k,A=new wsc;_.ak(z,1,_.tsc[0],A);break;case "upload":var C=k,F=new xsc;_.ak(C,2,_.tsc[0],F);break;case "copy":for(var H=v,L=new _.usc,M=_.m(Object.entries(H)),S=M.next();!S.done;S=M.next()){var ja=_.m(S.value),oa=ja.next().value,ia=ja.next().value;
switch(oa){case "originalObject":var wa=lFc(ia);_.J(L,1,wa)}}_.ak(k,3,_.tsc[0],L)}}_.ak(b,1,_.pL[0],k);break;case "edit":var ha=new Csc;_.ak(b,2,_.pL[0],ha);break;case "move":for(var Va=new _.Ksc,La=_.m(Object.entries(h)),rb=La.next();!rb.done;rb=La.next()){var $a=_.m(rb.value),Bb=$a.next().value,Yb=$a.next().value;switch(Bb){case "addedParents":var wc=mFc(Yb);_.Tj(Va,1,wc);break;case "removedParents":var Rd=mFc(Yb);_.Tj(Va,2,Rd);break;case "fromOwnershipTransfer":_.gk(Va,3,Yb);break;case "reparents":var kd=
Yb.map(uFc);_.Tj(Va,4,kd);break;case "multiparentingMigration":for(var ld=Yb,hf=new _.Jsc,sd=_.m(Object.entries(ld)),ob=sd.next();!ob.done;ob=sd.next()){var Og=_.m(ob.value),ig=Og.next().value,De=Og.next().value;switch(ig){case "removedParents":var vj=mFc(De);_.Tj(hf,2,vj);break;case "migratedParents":var Mf=nFc(De);_.Tj(hf,1,Mf)}}_.J(Va,5,hf)}}_.ak(b,3,_.pL[0],Va);break;case "rename":for(var li=new _.Qsc,Eg=_.m(Object.entries(h)),fm=Eg.next();!fm.done;fm=Eg.next()){var df=_.m(fm.value),Qe=df.next().value,
hh=df.next().value;switch(Qe){case "oldTitle":_.ik(li,1,hh);break;case "newTitle":_.ik(li,2,hh)}}_.ak(b,4,_.pL[0],li);break;case "delete":for(var mi=new _.Asc,jj=_.m(Object.entries(h)),gm=jj.next();!gm.done;gm=jj.next()){var Nn=_.m(gm.value),hm=Nn.next().value,zi=Nn.next().value;switch(hm){case "type":_.ok(mi,1,KEc[zi])}}_.ak(b,5,_.pL[0],mi);break;case "restore":for(var Gm=new _.Rsc,wj=_.m(Object.entries(h)),yg=wj.next();!yg.done;yg=wj.next()){var xj=_.m(yg.value),jk=xj.next().value,yj=xj.next().value;
switch(jk){case "type":_.ok(Gm,1,LEc[yj])}}_.ak(b,6,_.pL[0],Gm);break;case "permissionChange":for(var Ji=new _.Nsc,kk=_.m(Object.entries(h)),Oj=kk.next();!Oj.done;Oj=kk.next()){var Ki=_.m(Oj.value),Xi=Ki.next().value,Gh=Ki.next().value;switch(Xi){case "addedPermissions":var Ok=vFc(Gh);_.Tj(Ji,1,Ok);break;case "removedPermissions":var zj=vFc(Gh);_.Tj(Ji,2,zj);break;case "resharedPermissions":var Aj=vFc(Gh);_.Tj(Ji,3,Aj);break;case "otherActivePermissions":var Pj=vFc(Gh);_.Tj(Ji,4,Pj)}}_.ak(b,7,_.pL[0],
Ji);break;case "comment":for(var lk=new _.fsc,Hm=_.m(Object.entries(h)),mk=Hm.next();!mk.done;mk=Hm.next()){var Pk=_.m(mk.value),vf=Pk.next().value,Bj=Pk.next().value;switch(vf){case "post":for(var Im=Bj,Jm=new _.csc,On=_.m(Object.entries(Im)),Li=On.next();!Li.done;Li=On.next()){var nk=_.m(Li.value),Gc=nk.next().value,Qk=nk.next().value;switch(Gc){case "subtype":_.ok(Jm,1,NEc[Qk])}}_.ak(lk,1,_.bsc[0],Jm);break;case "assignment":for(var ih=Bj,Rg=new _.dsc,Xe=_.m(Object.entries(ih)),Km=Xe.next();!Km.done;Km=
Xe.next()){var Lm=_.m(Km.value),jh=Lm.next().value,Yi=Lm.next().value;switch(jh){case "subtype":_.ok(Rg,1,OEc[Yi]);break;case "assignedUser":var ll=zM(Yi);_.J(Rg,7,ll)}}_.ak(lk,2,_.bsc[0],Rg);break;case "suggestion":for(var Hh=Bj,mn=new _.esc,Pn=_.m(Object.entries(Hh)),nn=Pn.next();!nn.done;nn=Pn.next()){var Rk=_.m(nn.value),Sk=Rk.next().value,Bo=Rk.next().value;switch(Sk){case "subtype":_.ok(mn,1,PEc[Bo])}}_.ak(lk,3,_.bsc[0],mn);break;case "mentionedUsers":var rq=tFc(Bj);_.Tj(lk,7,rq)}}_.ak(b,8,
_.pL[0],lk);break;case "dlpChange":for(var on=new _.zsc,Co=_.m(Object.entries(h)),bj=Co.next();!bj.done;bj=Co.next()){var um=_.m(bj.value),Gp=um.next().value,Hp=um.next().value;switch(Gp){case "type":_.ok(on,1,QEc[Hp])}}_.ak(b,9,_.pL[0],on);break;case "view":for(var zr=new Xsc,Ow=_.m(Object.entries(h)),Ar=Ow.next();!Ar.done;Ar=Ow.next()){var Fs=_.m(Ar.value),xA=Fs.next().value,ZC=Fs.next().value;switch(xA){case "type":_.ok(zr,1,REc[ZC]);break;case "viewHistoryVisibility":for(var $C=ZC,jv=new Wsc,
Ip=_.m(Object.entries($C)),Jp=Ip.next();!Jp.done;Jp=Ip.next()){var yA=_.m(Jp.value),zA=yA.next().value,RF=yA.next().value;switch(zA){case "domainPolicyVisibilityState":_.ok(jv,1,SEc[RF]);break;case "namedPartyState":_.ok(jv,2,TEc[RF])}}_.J(zr,2,jv)}}_.ak(b,10,_.pL[0],zr);break;case "download":for(var QN=new Bsc,SF=_.m(Object.entries(h)),AA=SF.next();!AA.done;AA=SF.next()){var BA=_.m(AA.value),kS=BA.next().value,lS=BA.next().value;switch(kS){case "type":_.ok(QN,1,UEc[lS])}}_.ak(b,11,_.pL[0],QN);break;
case "reference":for(var sy=new _.Irc,Pw=_.m(Object.entries(h)),ul=Pw.next();!ul.done;ul=Pw.next()){var Qw=_.m(ul.value),Br=Qw.next().value,mS=Qw.next().value;switch(Br){case "type":_.ok(sy,1,VEc[mS]);break;case "context":for(var TF=sy,Rw=TF.Zi,Zh=mS,UF=new Hrc,VF=_.m(Object.entries(Zh)),Sw=VF.next();!Sw.done;Sw=VF.next()){var cZ=_.m(Sw.value),Kh=cZ.next().value,aD=cZ.next().value;switch(Kh){case "description":UF.tm(aD);break;case "url":_.ik(UF,2,aD)}}Rw.call(TF,UF)}}_.ak(b,12,_.pL[0],sy);break;case "settingsChange":for(var Tw=
new _.Usc,kv=_.m(Object.entries(h)),Gs=kv.next();!Gs.done;Gs=kv.next()){var Cr=_.m(Gs.value),RN=Cr.next().value,qJ=Cr.next().value;switch(RN){case "restrictionChanges":var c7=wFc(qJ);_.Tj(Tw,1,c7)}}_.ak(b,13,_.pL[0],Tw);break;case "approvalChange":for(var Hq=new _.Trc,Uw=_.m(Object.entries(h)),Vw=Uw.next();!Vw.done;Vw=Uw.next()){var rJ=_.m(Vw.value),d7=rJ.next().value,ty=rJ.next().value;switch(d7){case "approvalName":_.ik(Hq,2,ty);break;case "approvalEventNames":_.Qj(Hq,3,ty);break;case "initiator":var nS=
zM(ty);_.J(Hq,4,nS);break;case "reviewers":var uy=tFc(ty);_.Tj(Hq,5,uy);break;case "status":Hq.Ec(YEc[ty]);break;case "dueTime":var WF=gFc(ty);_.J(Hq,7,WF);break;case "approvalRequested":var e7=Hq,XF=new Urc;_.ak(e7,8,_.kL[0],XF);break;case "approvalCancelled":var sJ=Hq,f7=new Vrc;_.ak(sJ,9,_.kL[0],f7);break;case "reviewerResponded":for(var oS=ty,tJ=new _.Src,dZ=_.m(Object.entries(oS)),CA=dZ.next();!CA.done;CA=dZ.next()){var Lha=_.m(CA.value),KS=Lha.next().value,cO=Lha.next().value;switch(KS){case "reviewerDecision":_.ok(tJ,
1,ZEc[cO])}}_.ak(Hq,10,_.kL[0],tJ);break;case "commentAdded":var Qt=Hq,yy=new Wrc;_.ak(Qt,11,_.kL[0],yy);break;case "reviewersChanged":for(var Qya=ty,I7=new Yrc,Rya=_.m(Object.entries(Qya)),LS=Rya.next();!LS.done;LS=Rya.next()){var Sya=_.m(LS.value),Fzb=Sya.next().value,J7=Sya.next().value;switch(Fzb){case "reviewerChanges":var K7=xFc(J7);_.Tj(I7,1,K7)}}_.ak(Hq,12,_.kL[0],I7);break;case "dueTimeChanged":for(var Bpc=ty,Gzb=new $rc,Tya=_.m(Object.entries(Bpc)),Uya=Tya.next();!Uya.done;Uya=Tya.next()){var Hzb=
_.m(Uya.value),Izb=Hzb.next().value,YYa=Hzb.next().value;switch(Izb){case "oldDueTime":var dD=gFc(YYa);_.J(Gzb,1,dD)}}_.ak(Hq,13,_.kL[0],Gzb)}}_.ak(b,18,_.pL[0],Hq);break;case "lock":var Jzb=new Esc;_.ak(b,15,_.pL[0],Jzb);break;case "unlock":var Kzb=new Vsc;_.ak(b,16,_.pL[0],Kzb);break;case "appliedLabelChange":for(var ZYa=new _.Mrc,$Ya=_.m(Object.entries(h)),Vya=$Ya.next();!Vya.done;Vya=$Ya.next()){var aZa=_.m(Vya.value),bZa=aZa.next().value,Lzb=aZa.next().value;switch(bZa){case "changes":var Mzb=
yFc(Lzb);_.Tj(ZYa,1,Mzb)}}_.ak(b,19,_.pL[0],ZYa);break;case "publishChange":for(var Wya=new _.Psc,Nzb=_.m(Object.entries(h)),xZ=Nzb.next();!xZ.done;xZ=Nzb.next()){var Mha=_.m(xZ.value),MS=Mha.next().value,Ozb=Mha.next().value;switch(MS){case "oldPublishState":var Cpc=zFc(Ozb);_.J(Wya,1,Cpc);break;case "newPublishState":var Dpc=zFc(Ozb);_.J(Wya,2,Dpc)}}_.ak(b,20,_.pL[0],Wya);break;case "linkShareMetadataChange":for(var cZa=new _.Dsc,AJ=_.m(Object.entries(h)),dZa=AJ.next();!dZa.done;dZa=AJ.next()){var Xya=
_.m(dZa.value),Pzb=Xya.next().value,eZa=Xya.next().value;switch(Pzb){case "securityUpdateEnabled":_.gk(cZa,1,eZa)}}_.ak(b,21,_.pL[0],cZa)}}return b},uFc=function(a){var b=new _.Gsc;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":_.ok(b,1,bFc[d])}}return b},vFc=function(a){return a.map(function(b){var c=new _.oL;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":_.ok(c,1,MEc[e]);break;case "user":d=zM(e);_.ak(c,2,_.nL[0],d);break;case "group":d=new _.mL;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":_.ik(d,1,h);break;case "title":d.setTitle(h)}}_.ak(c,3,_.nL[0],d);break;case "domain":d=sFc(e);_.ak(c,4,_.nL[0],d);break;case "anyone":d=new Lsc;_.ak(c,5,_.nL[0],d);break;case "allowDiscovery":_.gk(c,6,e)}}return c})},wFc=function(a){return a.map(function(b){var c=
new _.Tsc;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":_.ok(c,1,WEc[e]);break;case "newRestriction":_.ok(c,2,XEc[e])}}return c})},xFc=function(a){return a.map(function(b){var c=new Zrc;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=zM(e);_.J(c,3,d);break;case "addedReviewer":d=zM(e),_.J(c,4,d)}}return c})},
yFc=function(a){return a.map(function(b){var c=new _.Lrc;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":_.ik(c,1,e);break;case "types":d=AFc(e),_.Qj(c,2,d)}}return c})},AFc=function(a){return a.map(function(b){return $Ec[b]})},zFc=function(a){var b=new _.Osc;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":_.ok(b,
1,aFc[d]);break;case "signinRequired":_.gk(b,2,d);break;case "publishedTime":c=gFc(d),_.J(b,3,c)}}return b};
var CFc=function(a,b){var c=new Hzc;b=_.y(c,4,b);a&&"drive#app"==a.kind&&(a=BFc(a),_.J(b,2,a));return b},BFc=function(a){_.zK(["drive#app"],a);var b=(new _.sL).Pb(a.id);b=_.y(b,3,a.useByDefault).ud(a.name);b=_.y(b,7,a.openUrlTemplate);b=qtc(ptc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.y(b,8,a.createUrl);b=_.y(b,9,a.createInFolderTemplate);b=_.y(b,10,a.objectType);b=_.y(b,11,a.supportsCreate);b=_.y(b,12,a.supportsImport);b=_.y(b,13,a.supportsMultiOpen);b=_.y(b,27,a.supportsOfflineCreate);b=
_.y(b,14,a.installed);b=_.y(b,15,a.authorized);b=_.y(b,16,a.productUrl);b=_.Qj(b,17,a.primaryFileExtensions);b=_.Qj(b,18,a.secondaryFileExtensions);b=_.y(b,19,a.shortDescription);b=_.y(b,20,a.longDescription);b=_.y(b,21,a.productId);b=_.y(b,22,a.removable);b=_.y(b,23,DFc[a.type]);b=_.y(b,25,a.hasAppData);b=_.y(b,26,a.appDataQuotaBytesUsed);b=_.y(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.y(b,30,a.hasDriveWideScope);b=_.y(b,31,a.driveSource);b=_.y(b,32,a.driveBranded);b=_.y(b,33,a.hidden);b=_.y(b,
34,a.supportsMobileBrowser);b=_.y(b,35,a.supportsTeamDrives);b=_.y(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 _.ktc;l=_.y(l,3,k.iconUrl).setSize(k.size);k.category&&_.y(l,1,EFc[k.category]);h.call(f,l)}_.Tj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Qj(b,24,d);c=a.rankingInfo||{};a=new _.ntc;d=c.absoluteScore;null!=d&&_.y(a,1,Number(d));d=FFc(c.mimeTypeScores||[]);_.Tj(a,2,d);c=FFc(c.fileExtensionScores||[]);
_.Tj(a,3,c);_.J(b,29,a);return b},FFc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.ltc;d=_.y(d,1,a[c].type);d=_.y(d,2,Number(a[c].score));b.push(d)}return b},DFc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},EFc={application:1,document:2,documentShared:3};
var HFc=function(a){var b=new DAc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.cM).Pb(c.id).setTitle(c.title);d=_.y(d,3,_.AK(c.updateTime));d=_.y(d,4,GFc[c.backupSource]);d=_.y(d,5,c.iconUri);d=_.y(d,8,_.AK(c.expiryTime));d=_.y(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.bz()){var e=new pzc;e=_.y(e,1,c.whatsappOngoingBackupEnabled);c=_.y(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2===d.bz()&&(e=new _.ozc,e=_.y(e,1,c.deviceName),e=_.y(e,2,c.deviceModelName),
e=_.y(e,3,c.shouldIncludeSpecialSyncItems),c=_.y(e,4,c.deviceAndroidId),_.J(d,7,c));return d});_.Tj(b,2,a);return b},JFc=function(a){var b=new zAc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.dM).Pb(c.id);d=_.y(d,1,IFc[c.type]).setTitle(c.title);d=_.y(d,4,c.iconUri);d=_.qzc(d.setSize(c.size),_.AK(c.updateTime));d=_.y(d,7,c.hasCustomBehavior).tm(c.description);return _.y(d,9,c.ongoingSyncEnabled)});_.Tj(b,1,a);return b},GFc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},IFc={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 KFc=function(a,b){this.H=a;this.O=b};
var LFc={read:2,write:3,comment:4},MFc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.hG((new _.dl).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.PJ(d,_.ukc(c.userCapabilities));_.aK(b).includes(19)&&_.sgc(d,!0);Fxc(a,d,_.aK(b));_.tgc(d,4);return d},OFc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Zna;f=_.y(f,2,NFc(e));e=MFc(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.cB).Vw(d).EP(c.suggestionSessionId);return _.bjc(new _.tK,c)},QFc=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=PFc(f.person).Pb(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()===h})||e.push(k);var p=l.itemId,q=d.find(function(r){return r.getId()===p});q||(q=MFc(a,b,l),d.push(q));l=Qoc(Poc(Ooc(new _.Wna,k.clone()),NFc(l)),l.url);_.bk(q,107,l,_.Wna,void 0)})}});return sqc((new _.jK).Vw(d),e).EP(c.suggestionSessionId)},PFc=function(a){return _.Hfc((new _.Hk).Pb(a.id).ud(a.displayName),a.emailAddress).Qn(a.photoUrl)},
SFc=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=MFc(a,b,e);e=RFc(e);f=_.Tj(f,117,e);d.push(f)}});c=(new _.cB).Vw(d).EP(c.suggestionSessionId);return _.bjc(new _.tK,c)},RFc=function(a){var b=a.action;return b?b.map(function(c){var d=new _.Dna,e=TFc(c);e&&_.ak(d,2,_.Lk[0],e);(e=UFc(c))&&Gnc(d,e);(e=VFc(c))&&_.ak(d,4,_.Lk[0],e);(e=WFc(c))&&_.ak(d,5,_.Lk[0],e);(e=XFc(c))&&_.ak(d,6,_.Lk[0],e);(e=YFc(c))&&_.ak(d,7,_.Lk[0],e);(e=ZFc(c))&&_.ak(d,8,_.Lk[0],e);(e=$Fc(c))&&
_.ak(d,9,_.Lk[0],e);(e=aGc(c))&&_.ak(d,10,_.Lk[0],e);(c=bGc(c))&&_.ak(d,11,_.Lk[0],c);return d}):(a=AM(a),a=qoc([a]),[Gnc(new _.Dna,a)])},dGc=function(a){return(a.justification||[]).map(function(b){return cGc(b)})},AM=function(a){return(a=a.justification)?cGc(a):null},cGc=function(a){var b=Dnc(new _.Kk,eGc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=PFc(c),_.ak(b,3,_.Cna[0],c),Enc(b,[c])):d?(c=(d.person||[]).map(function(e){return PFc(e)}),d=Cnc(c),_.ak(b,4,_.Cna[0],d),Enc(b,c)):(c=(a.person||
[]).map(function(e){return PFc(e)}),c.length&&(d=Cnc(c),_.ak(b,4,_.Cna[0],d),Enc(b,c)));_.y(b,5,_.AK(a.eventTime));Fnc(b,eGc(a.justificationDescription));return b},eGc=function(a){if(!a)return null;a=a.textSegment||[];return znc(new _.Ana,a.map(function(b){var c=(new _.Fk).nh(b.text),d=b.link;if(d){var e=new _.Gk;d=_.y(e,1,d.url)}else d=null;c=_.J(c,2,d);c=_.y(c,3,b.bold);return _.y(c,4,b.italic)}))},TFc=function(a){a=a.documentDocosAction;if(!a)return null;var b=eoc(new _.Jna,AM(a));doc(b,(a.subAction||
[]).map(function(c){var d=new _.Lna;c.reply?(c=new _.Fna,_.ak(d,1,_.Kna[0],c)):c.resolve?(c=new Nnc,_.ak(d,2,_.Kna[0],c)):c.reassign?(c=new Lnc,_.ak(d,3,_.Kna[0],c)):c.acceptSuggestion?(c=new Hnc,_.ak(d,4,_.Kna[0],c)):c.rejectSuggestion?(c=new Mnc,_.ak(d,5,_.Kna[0],c)):c.openThread&&(c=new _.Ena,_.ak(d,6,_.Kna[0],c));return d}));_.y(b,2,a.discussionId);_.y(b,3,a.postId);foc(b,eGc(a.anchorText));return b},VFc=function(a){a=a.documentShareAction;if(!a)return null;var b=ioc(new _.Tk,AM(a));hoc(b,(a.subAction||
[]).map(function(c){var d=new koc;c.suggestedShare?(c=new Rnc,_.ak(d,1,joc[0],c)):c.responseToRequest&&(c=new Onc,_.ak(d,2,joc[0],c));return d}));goc(b,(a.sharee||[]).map(function(c){return PFc(c)}));_.y(b,3,LFc[a.shareeRole]);return b},UFc=function(a){a=a.documentViewAction;if(!a)return null;var b=qoc(dGc(a));poc(b,(a.subAction||[]).map(function(c){var d=new soc;c.open?d.Bg(new UK):c.reviewEdits&&(c=new Pnc,_.ak(d,2,roc[0],c));return d}));return b},WFc=function(a){a=a.emailViewAction;if(!a)return null;
var b=Doc(new Boc,AM(a));Coc(b,(a.subAction||[]).map(function(c){var d=new Foc;c.openEmail&&d.Bg(new Jnc);return d}));return b},XFc=function(a){a=a.calendarEventAction;if(!a)return null;var b=Xnc(Wnc(Vnc(new _.Mk,a.eventId),AM(a)),a.guestCount);Unc(b,(a.subAction||[]).map(function(c){var d=new Znc;if(c.viewCalendarEvent){var e=new Snc;_.ak(d,1,Ync[0],e)}c.shareWithAttendees&&(e=new Qnc,_.ak(d,2,Ync[0],e));c.present&&(e=new Knc,_.ak(d,3,Ync[0],e));c.openDocument&&(c=new UK,_.ak(d,4,Ync[0],c));return d}));
return b},YFc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=xoc(woc(new uoc,a.workspaceId),AM(a));voc(b,(a.subAction||[]).map(function(c){var d=new zoc;c.addToWorkspace&&(c=new Inc,_.ak(d,1,yoc[0],c));return d}));return b},ZFc=function(a){a=a.documentTopicAction;if(!a)return null;var b=moc(new _.Uk,AM(a));loc(b,(a.subAction||[]).map(function(c){var d=new ooc;c.openDocument&&(c=new UK,_.ak(d,1,noc[0],c));return d}));return b},$Fc=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=Loc(new _.Xk,AM(a));Koc(b,(a.subAction||[]).map(function(c){var d=new Noc;c.openDocument&&(c=new UK,_.ak(d,1,Moc[0],c));return d}));return b},aGc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=aoc(new _.Nk,AM(a));$nc(b,(a.subAction||[]).map(function(c){var d=new coc;c.openDocument&&(c=new UK,_.ak(d,1,boc[0],c));return d}));return b},bGc=function(a){a=a.formResponseAction;if(!a)return null;var b=Hoc(new _.Wk,dGc(a));Goc(b,(a.subAction||[]).map(function(c){var d=new Joc;c.openDocument?
(c=new UK,_.ak(d,1,Ioc[0],c)):c.viewResponses&&(c=new Tnc,_.ak(d,2,Ioc[0],c));return d}));return b},NFc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var fGc=function(a,b){this.H=a;this.O=b},hGc=function(a,b,c){_.zK(["drive#categoryMetadataList"],c);var d=new iL,e=Object.values(c.categoryMetadata||{});Drc(d,e.map(function(f){return gGc(a,f,b.Dc())}));d.Ec(1);return new _.mK(d,fzc(c))},jGc=function(a,b){var c=new iM;Pzc(c,(b.categories||[]).map(function(d){return iGc(a,d)}));c.Ec(1);return new Xtc(c,fzc(b))},gGc=function(a,b,c){_.zK(["drive#categoryMetadata"],b);c=Eqc((new cL).ud(b.categoryName),c);b=Object.values(b.attributeValues||[]);Dqc(c,b.map(function(d){return kGc(a,
d)}).filter(function(d){return d}));return c},iGc=function(a,b){var c,d=mrc(drc(jrc(irc(hrc(crc(brc((new fL).ud(b.name),b.categoryName),b.latestName).setTitle(b.title).tm(b.description),_.AK(b.createTime)),_.AK(b.updateTime)),_.AK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new Zqc).Pb(e.id);h=_.y(h,2,e.queryGuid);h=_.y(h,3,e.helpText);h=_.y(h,4,e.displayName);if(e.attributeDisplayHints){var k=lGc(e.attributeDisplayHints);_.J(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new Hqc;l=_.y(l,1,k.canSearch);k=_.y(l,2,k.canWrite);_.J(h,6,k)}_.y(h,7,mGc[f]);e=e[nGc(f)+"Options"];return oGc(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&erc(d,pGc(b.createdBy));b.updatedBy&&frc(d,pGc(b.updatedBy));b.publishedBy&&grc(d,pGc(b.publishedBy));b.displayHints&&krc(d,lGc(b.displayHints));b.capabilities&&lrc(d,qGc(b.capabilities));b.learnMoreUri&&_.y(d,15,b.learnMoreUri);return d},kGc=function(a,b){_.zK(["drive#categoryAttributeValue"],
b);var c=(new aL).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),Bqc(c,b.map(function(d){_.zK(["drive#userScopedAttributeValue"],d);var e=new yqc,f=_.BK(a.H,d.scopedUser);e=_.J(e,1,f);return a.Kb(e,d)?e:null}).filter(function(d){return d})),c.OA(9);else if(!a.Kb(c,b))return null;return c},lGc=function(a){var b=(new Gqc).Yj(a.disabled);b=_.y(b,2,a.hidden);b=_.y(b,3,a.activatedInAllDrives);return _.y(b,4,!!a.required)},qGc=function(a){var b=new arc;b=_.y(b,1,a.canSearch);b=_.y(b,2,a.canApply);
b=_.y(b,4,a.canRemove);return _.y(b,3,a.canManageSharedDriveActivation)},oGc=function(a,b,c,d){return rGc(a,function(){sGc(a)[c](b,d)},c,b)},tGc=function(a){a=void 0===a?{}:a;var b=new Kqc;b=_.y(b,1,a.minSize);return _.y(b,2,a.maxSize)},vGc=function(a){var b=new Qqc;Rqc(b,(a.choices||[]).map(function(c){var d=new Pqc;d=_.y(d,1,c.label).Kb(c.value);c.description&&d.tm(c.description);if(c.capabilities){var e=c.capabilities;var f=new Nqc;f=_.y(f,1,e.canSearch);e=_.y(f,2,e.canSelect);_.J(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new Oqc).Yj(c.disabled),e=_.y(e,2,c.hidden),c.badgePriority&&_.y(e,5,c.badgePriority),c.badgeColors&&(f=uGc(c.badgeColors),_.J(e,3,f)),c.darkBadgeColors&&(c=uGc(c.darkBadgeColors),_.J(e,4,c)),_.J(d,4,e));return d}));return b},uGc=function(a){var b=new Fqc;var c=wGc(a.backgroundColor);b=_.J(b,1,c);c=wGc(a.foregroundColor);b=_.J(b,2,c);a=wGc(a.soloColor);return _.J(b,3,a)},wGc=function(a){var b=new _.MC;b=_.Vj(b,1,a.red,0);b=_.Vj(b,2,a.green,0);b=_.Vj(b,3,a.blue,0);a.alpha&&(a=
(new opc).Kb(a.alpha),_.J(b,4,a));return b},xGc=function(a){var b=new Uqc;b=_.y(b,1,a.showThousandsSeparator);b=_.y(b,2,a.minValue);return _.y(b,3,a.maxValue)},yGc=function(a){var b=(new _.qoa).setYear(a.year).setMonth(a.month);return _.y(b,3,a.day)};fGc.prototype.Kb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.OA(mGc[d]);return rGc(this,function(){zGc(c)[d](a,b[b.valueType])},b.valueType)};
var rGc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof Wqc))return Tpc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},pGc=function(a){return _.Ffc(1).Pb(a.personName.split("/")[1])},nGc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},sGc=function(a){return{BOOLEAN:function(b,c){var d=b.Z3a;var e=new Lqc;e=_.y(e,1,c.trueLabel);c=_.y(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.$ca(tGc(c))},TEXT_LIST:function(b,c){var d=b.Z4a;var e=new Tqc;e=_.y(e,1,c.maxEntries);c=tGc(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new Jqc;d=_.y(d,1,c.minSize);c=_.y(d,2,c.maxSize);return _.ak(b,10,dL[0],c)},SELECTION:function(b,c){return b.M4a(vGc(c))},SELECTION_LIST:function(b,c){var d=b.L4a;var e=new Sqc;e=_.y(e,1,c.maxEntries);c=vGc(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.m4a(xGc(c))},INTEGER_LIST:function(b,
c){var d=b.l4a;var e=new Vqc;e=_.y(e,1,c.maxEntries);c=xGc(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.d5a(new Xqc)},USER_LIST:function(b,c){var d=b.lpa,e=new Yqc;c=_.y(e,1,c.maxEntries);e=new Xqc;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Soa;var e=new Iqc;e=_.y(e,4,c.dateFormat);var f=yGc(c.minValue);e=_.J(e,2,f);c=yGc(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new Wqc;d=_.y(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.y(d,2,mGc[e]);c=c[nGc(e)+"Options"];oGc(a,d,e,c);return _.ak(b,16,dL[0],d)}}},zGc=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.hpa(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.dpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.Woa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.BK(a.H,c))},USER_LIST:function(b,c){Aqc(b,c.map(function(d){return _.BK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},mGc={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 AGc=function(a){a=a.personResponse;return tvc(new svc,a.map(function(b){var c=b.person;b=pvc(new KL,b.personId);var d=b.ud,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=qvc(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new ovc;c=_.y(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))};
var BGc=function(a){this.H=a},DGc=function(a,b){_.zK(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return CGc(a,c)})},CGc=function(a,b){_.zK(["drive#teamDrive","drive#drive"],b);var c=new _.aoa,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.y(c,2,d);_.y(c,1,b.backgroundImageLink);_.y(c,3,b.trusted);_.y(c,5,b.backgroundImageGridViewLink);_.y(c,6,b.backgroundImageListViewLink);_.y(c,7,b.hidden);_.y(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
Vlc(c,d.map(function(e){_.zK(["drive#driveCategoryReference"],e);var f=new _.cl;return _.y(f,1,e.category)}));c=_.ygc(_.xgc(_.wgc(_.tgc(_.ugc(Ulc(_.hG((new _.dl).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.Tfc(_.ukc(b.capabilities),!0),_.PJ(c,d));b.permissionsSummary&&_.vgc(c,_.Kkc(a.H,b.permissionsSummary));b.restrictions&&Xlc(c,EGc(b.restrictions));return c},EGc=function(a){var b=new Roc;
b=_.y(b,1,a.copyRequiresWriterPermission);b=_.y(b,2,a.disallowDriveFileStream);b=_.y(b,3,a.domainUsersOnly);return _.y(b,4,a.teamMembersOnly)};
var FGc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},lnc=_.ab(FGc);
var GGc=function(a){_.zK(["drive#setting"],a);var b=new _.Tb;b=_.y(b,2,a.key);b=_.y(b,1,FGc[a.namespace]);return _.vBa(new _.kp,b).Kb(a.value)};
var IGc=function(a){_.zK(["drive#workspaceList"],a);var b=a.items||[];b=wvc(new LL,b.map(function(c){return HGc(c)}));return new _.pK(b,fzc(a))},HGc=function(a){_.zK(["drive#workspace"],a);var b=(new _.fG).Pb(a.id).setTitle(a.title);b=_.y(b,3,_.AK(a.createdDate));return _.y(b,4,_.AK(a.modifiedDate)).Pd(JGc[a.state])},KGc=function(a,b,c){var d=c.item||[];return _.Blc(_.Alc(new _.GK,d.map(function(e){return MFc(a,b,e)})),c.suggestionSessionId)},MGc=function(a,b,c){var d=c.item||[];return ytc(xtc(new vL,
d.map(function(e){return LGc(a,b,e)})),c.suggestionSessionId)},LGc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return vtc(ttc(utc(stc(new uL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return MFc(a,b,f)})),AM(c))},NGc=function(a){var b=new _.vqc;a.kind&&(a=HGc(a),_.J(b,2,a));b.Ec(1);return b},JGc={active:1,archived:2};
var hnc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var OGc=function(a,b,c,d){_.Ukc.call(this,b);this.Mg=a;this.ka=c;this.O=d;this.W=null;this.ma=new AEc(this.V,b);this.H=new BGc(this.vF);this.ta=new KFc(this.vF,this.H)};_.N(OGc,_.Ukc);var PGc=function(a){a.W||(a.W=new fGc(a.V,a.ka));return a.W};
OGc.prototype.ha=function(a,b){if(a instanceof _.MI)var c=_.Ckc(_.Zkc(a));else{if(a instanceof _.NI)var d=_.Wkc(this,a,b);else{if(a instanceof _.gfc)var e=QGc(this,a.request,b);else{if(a instanceof _.OI)var f=_.Wkc(this,a,b);else{if(a instanceof _.QI){if(!b.json)throw _.CK();var h=Frc((new Erc).Ec(1),CGc(this.H,b.json))}else{if(a instanceof _.PI)var k=_.Wkc(this,a,b);else{if(a instanceof _.fK)var l=new rrc;else{if(a instanceof _.SI)var p=RGc(a,b);else{if(a instanceof _.TI)var q=CFc(void 0,a.Bh());
else{if(a instanceof _.UI)var r=new EAc;else{if(a instanceof _.VI)var v=_.Ckc(_.Zkc(a));else{if(a instanceof _.WI)var z=new hM;else{if(a instanceof _.XI)var A=_.Ckc(_.Zkc(a));else{if(a instanceof _.YI)var C=_.Ckc(_.Zkc(a));else{if(a instanceof _.xD){var F=new Izc,H=a.getKey();var L=_.J(F,4,H)}else{if(a instanceof _.ZI)var M=RGc(a,b);else{if(a instanceof _.bJ)var S=_.Ckc(_.Zkc(a));else{if(a instanceof _.dfc){if(!b.json)throw _.CK();var ja=new Vtc(b.json.exportJob.id)}else{if(a instanceof _.dJ){if(!b.json)throw _.CK();
var oa=b.json,ia=new Dzc,wa=BFc(oa);var ha=_.J(ia,2,wa).Ec(1)}else{if(a instanceof _.eJ)var Va=SGc(a,b);else{if(a instanceof _.fJ){if(!b.json)throw _.CK();var La=(new hM).Ec(1),rb=_.Dkc(this.vF,b.json);var $a=_.J(La,2,rb)}else{if(a instanceof _.nI)a:{if(!b.json)throw _.CK();if(a instanceof _.nI){var Bb=a.wd();if(Bb&&_.gJ(Bb)){var Yb=OFc(this.O,this.Mg,b.json);break a}if(Bb&&_.hJ(Bb)){Yb=QFc(this.O,this.Mg,b.json);break a}if(Bb&&_.iJ(Bb)){Yb=SFc(this.O,this.Mg,b.json);break a}}Yb=_.zkc(this.vF,b.json,
b.headers)}else{if(a instanceof _.jJ){if(!b.json)throw _.CK();var wc=JFc(b.json)}else{if(a instanceof _.kJ){if(!b.json)throw _.CK();var Rd=b.json;_.zK(["drive#appList"],Rd);for(var kd=new JL,ld=[],hf=Rd.items||[],sd=0;sd<hf.length;sd++)ld.push(BFc(hf[sd]));var ob=_.Tj(kd,2,ld);var Og=_.Qj(ob,4,Rd.defaultAppIds).Ec(1)}else{if(a instanceof _.efc){if(!b.json)throw _.CK();var ig=HFc(b.json)}else{if(a instanceof _.AI)var De=TGc(this,b);else{if(a instanceof _.lJ){if(!b.json)throw _.CK();var vj=new Gzc,
Mf=this.vF,li=b.json,Eg=new $K,fm=_.Ekc(Mf,li,"items");var df=_.Tj(Eg,2,fm);var Qe=_.J(vj,1,df);var hh=_.y(Qe,2,fzc(b.json))}else{if(a instanceof _.mJ){if(!b.json)throw _.CK();var mi=this.vF,jj=b.json,gm=new kqc;_.zK(["drive#revisionList"],jj);for(var Nn=[],hm=jj.items||[],zi=0;zi<hm.length;zi++){var Gm=_.Akc(mi,hm[zi]);Nn.push(Gm)}var wj=_.Tj(gm,2,Nn)}else{if(a instanceof _.RH)var yg=UGc(a,b);else{if(a instanceof _.oJ){if(!b.json)throw _.CK();var xj=AGc(b.json)}else{if(a instanceof _.mfc){if(!b.json)throw _.CK();
var jk=jGc(PGc(this),b.json)}else{if(a instanceof _.bG){if(!b.json)throw _.CK();var yj=PGc(this),Ji=b.json,kk=new Qzc,Oj=iGc(yj,Ji);var Ki=_.J(kk,2,Oj).Ec(1)}else{if(a instanceof _.pJ){if(!b.json)throw _.CK();var Xi=b.json;_.zK(["drive#remainingCount"],Xi);var Gh=new Rzc,Ok=Xi.nextPageToken;null!=Ok&&_.y(Gh,2,Number(Ok));_.y(Gh,1,Number(Xi.remainingCount));var zj=Gh}else{if(a instanceof _.eG){if(!b.json)throw _.CK();var Aj=(new _.cB).Vw([CGc(this.H,b.json)])}else{if(a instanceof _.EJ){if(!b.json)throw _.CK();
var Pj=(new _.cB).Vw(DGc(this.H,b.json)),lk=_.bjc(new _.tK,Pj);var Hm=_.y(lk,3,fzc(b.json))}else{if(a instanceof _.xJ)var mk=SGc(a,b);else{if(a instanceof _.yJ)var Pk=QGc(this,a,b);else{if(a instanceof _.xI)var vf=_.Wkc(this,a,b);else{if(a instanceof _.zJ)var Bj=_.Wkc(this,a,b);else{if(a instanceof _.BJ)var Im=VGc(this,b);else{if(a instanceof _.yD){if(!b.json)throw _.CK();var Jm=GGc(b.json),On=new Izc;var Li=_.J(On,3,Jm);var nk=Jm.getKey();var Gc=_.J(Li,4,nk)}else{if(a instanceof _.CJ)var Qk=RGc(a,
b);else{if(a instanceof _.iI){if(!b.json)throw _.CK();var ih=EEc(this.ma,b.json)}else{if(a instanceof _.gG){if(!b.json)throw _.CK();var Rg=HGc(b.json),Xe=new _.kK;Xe.ZT().set(Rg.getId(),Rg);var Km=Xe}else{if(a instanceof _.ffc){if(!b.json)throw _.CK();for(var Lm=b.json,jh=new Qtc,Yi=_.m(Object.entries(Lm)),ll=Yi.next();!ll.done;ll=Yi.next()){var Hh=_.m(ll.value),mn=Hh.next().value,Pn=Hh.next().value;switch(mn){case "nextPageToken":_.ik(jh,2,Pn);break;case "activities":var nn=iFc(Pn);_.Tj(jh,1,nn)}}var Rk=
jh}else{if(a instanceof _.hfc)var Sk=VGc(this,b);else{if("undefined"!=typeof _.lfc&&a instanceof _.lfc)var Bo=TGc(this,b);else{if(a instanceof _.ifc){if(!b.json)throw _.CK();var rq=new Utc}else{if(a instanceof _.jfc){if(!b.json)throw _.CK();var on=knc(b)}else{if(a instanceof _.wD){if(!b.json)throw _.CK();var Co=b.json,bj=new _.Qz;_.zK(["drive#settingList"],Co);for(var um=[],Gp=Co.items||[],Hp=0;Hp<Gp.length;Hp++){var zr=GGc(Gp[Hp]);zr&&um.push(zr)}var Ow=_.zjb(bj,um)}else{if(a instanceof _.dG){if(!b.json)throw _.CK();
var Ar=MGc(this.O,this.Mg,b.json).Ec(1)}else{if(a instanceof _.cG){if(!b.json)throw _.CK();var Fs=KGc(this.O,this.Mg,b.json)}else{if(a instanceof _.rfc){if(!b.json)throw _.CK();var xA=b.json;_.zK(["drive#teamDrive"],xA);var ZC=xA.recursiveFolderCount,$C=xA.recursiveFileCount,jv=new vzc;var Ip=_.y(jv,1,$C);var Jp=_.y(Ip,2,ZC)}else{if(a instanceof _.qfc)var yA=WGc(b);else{if(a instanceof _.tfc){if(!b.json)throw _.CK();var zA=IGc(b.json)}else zA=a instanceof _.OK?VGc(this,b):null;yA=zA}Jp=yA}Fs=Jp}Ar=
Fs}Ow=Ar}on=Ow}rq=on}Bo=rq}Sk=Bo}Rk=Sk}Km=Rk}ih=Km}Qk=ih}Gc=Qk}Im=Gc}Bj=Im}vf=Bj}Pk=vf}mk=Pk}Hm=mk}Aj=Hm}zj=Aj}Ki=zj}jk=Ki}xj=jk}yg=xj}wj=yg}hh=wj}De=hh}ig=De}Og=ig}wc=Og}Yb=wc}$a=Yb}Va=$a}ha=Va}ja=ha}S=ja}M=S}L=M}C=L}A=C}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var RGc=function(a,b){if(!b.json){if(a instanceof _.ZI)return NGc({});throw _.CK();}return NGc(b.json)},VGc=function(a,b){if(!b.json)throw _.CK();a=CGc(a.H,b.json);return(new _.GJ).Ec(1).setItem(a)},QGc=function(a,b,c){if(!c.json)throw _.CK();return hGc(PGc(a),b,c.json)},SGc=function(a,b){if(!b.json)throw _.CK();return CFc(b.json,a.Bh())},TGc=function(a,b){if(!b.json)throw _.CK();a=a.ta;var c=b.json;_.zK(["drive#about","drive#changeList"],c);b=new mvc;var d=c.nextPageToken;null!=d&&_.y(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.y(b,3,Number(d));if("drive#changeList"==c.kind){_.zK(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.zK(["drive#change"],h);var k=new _.qI;k=_.y(k,1,Number(h.id));h.teamDriveId?(_.wec(k,h.teamDriveId),_.rI(k,h.teamDriveId)):_.rI(k,h.fileId);h.file?k.setItem(_.wkc(f.H,h.file)):h.teamDrive&&k.setItem(CGc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.CI(k);d.push(k)}_.Tj(b,4,d)}return b},WGc=function(a){var b,c;if(!a.json)throw _.CK();
a=a.json;var d=a.result&&a.result.status;d=d&&XGc[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 hAc(gAc(fAc(new _.eAc,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.cAc;p=_.y(p,1,l.unmovableReason);return _.y(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return bAc(aAc($zc(Zzc(new jM,fzc(a)),a.processedFileCount).Ec(d),a.result&&a.result.validationToken),
e)},UGc=function(a,b){var c=new GAc;if(_.Sd(a,6).length){var d=[];gmc(_.Sd(a,6),b.headers).forEach(function(e,f){var h=new _.Bbc;e=_.y(h,1,f).Kb(e);d.push(e)});_.Tj(c,1,d)}HAc(c,b.json?JSON.stringify(b.json):b.text);return c},XGc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var ZGc=function(a){var b=new _.To;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(YGc[a]);_.cK(b,c.join(" "))}return b.toString()},$Gc={},YGc=($Gc[1]="active",$Gc[2]="archived",$Gc);
var aHc=function(a,b,c,d){_.DK.call(this,b,c,a.DMa,d);this.ma=a;this.ha=new yuc(_.aK(c),b)};_.N(aHc,_.DK);
aHc.prototype.V=function(a,b,c){var d=this;try{return _.DK.prototype.V.call(this,a,b,c)}catch(M){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.NI){h="POST";var q="admin/files/"+a.getId()+"/migrateToTeamDrive";_.R(a,3)&&(k.useDomainAdminAccess=!0);k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();_.Q(a,4)&&(k.preflightValidationToken=_.B(a,4));var r=gzc(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.OI){h="POST";q="files/"+a.Dc()+"/authorize";k.appId=a.Bh();
_.R(a,3)&&(k.propagate=!0);var v=a.ze();p=!0;_.$J(k);_.JJ(this.H,[],[a.Dc()],this.O,f)}else if(a instanceof _.OK)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.T(a,2,!1),r),f["content-type"]="application/json",k.fields=AL(this.H,[],!0),v=a.ze(),p=!0;else if(a instanceof _.hfc)h="POST",q="teamdrives/"+a.requestId,k.fields=AL(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",v=a.request.ze(),p=!0;else if(a instanceof _.SI)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=izc(a),f["content-type"]="application/json",v=a.ze(),p=!0;else if(a instanceof _.PI)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.Vec({fields:this.Og(c),qr:_.HI(_.hI(this.H)),JG:_.mI(this.H)}),k.convert=_.T(a,4,!1),r=hzc(a),f["content-type"]="application/json",v=a.ze(),a=_.Sd(a,3).concat([a.getId()]),_.JJ(this.H,[],a,this.O,f),p=!0,_.$J(k),_.klc(this.H,k);else if(a instanceof _.TI)h="DELETE",q="apps/"+a.Bh(),k.appId=a.Bh(),k.deleteAppData=
!!_.R(a,2),v=a.ze(),p=!0;else if(a instanceof _.UI)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.VI)h="DELETE",q="files/"+a.getId(),v=a.ze(),p=!0,_.$J(k),_.klc(this.H,k),_.JJ(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.WI)h="DELETE",q="files/"+a.Dc()+"/permissions/"+_.B(a,2),v=a.ze(),p=!0,_.$J(k);else if(a instanceof _.XI)h="DELETE",q="files/"+a.Dc()+"/revisions/"+_.B(a,2),v=a.ze(),p=!0,_.JJ(this.H,[],[a.Dc()],this.O,f);else if(a instanceof _.YI)h="DELETE",q="teamdrives/"+
a.getId(),v=a.ze(),p=!0;else if(a instanceof _.xD)h="DELETE",v=a.getKey(),q="settings/"+_.B(v,2),_.lp(v)&&(k.namespace=lnc[_.lp(v)]),v=a.ze(),p=!0;else if(a instanceof _.ZI)h="DELETE",q="workspaces/"+a.getId(),v=a.ze(),p=!0;else if(a instanceof _.bJ)h="DELETE",q="files/trash",v=a.wd().ze(),p=!0,_.klc(this.H,k);else if(a instanceof _.dJ)q="apps/"+a.Bh(),v=a.ze(),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 _.jJ)q="backups/"+a.getId()+"/items",e=9,k.languageCode=WK(_.hI(this.H));else if(a instanceof _.eJ)h="POST",q="apps",k.appId=a.Bh(),v=a.ze(),p=!0;else if(a instanceof _.fJ)h="POST",q="files/"+a.Dc()+"/permissions",k.fields=_.mI(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=
_.B(a,5)||"",k.sendNotificationEmail=!_.T(a,6,!1),r={},1==a.Df()?r.role="owner":3==a.Df()?r.role="writer":4==a.Df()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.Df()&&(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.Ya()&&(r.value=a.Ya()),r.withLink=!_.T(a,8,!1),f["content-type"]="application/json",v=a.ze(),p=!0,_.$J(k);else if(a instanceof _.dfc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Sd(a,1).map(function(M){if(_.T(d.H,89,!1)){var S=_.Nic(d.O,M);if(null!==S)return{id:M,resource_key:{resource_key:S}}}return{id:M}}),r={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.nI||a instanceof _.fK||a instanceof _.dG||a instanceof _.cG)if(b=a instanceof _.nI?a.wd():a,_.IJ(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var z=9==_.UJ(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
A={};A.applicationType=Huc(this.H);A.platformType=z;A.languageCode=WK(_.hI(this.H));A.timeZone=(new _.Jt).v$();A.requestType="LIVE_REQUEST";a instanceof _.nI&&(z=a.getOptions())&&_.T(z,10,!1)&&(A.requestType="BACKGROUND_REQUEST");b instanceof _.cf?_.gJ(b)?(Euc(this.ha)?(A.scenarioType="ONE_PICK",this.Gd.O(106026)):A.scenarioType="QUICK_ACCESS",2==_.SJ(b)&&(Euc(this.ha)||(A.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Sd(b,33)[0]}),_.Gl(b).length&&
(r.itemType=Guc(b))):_.hJ(b)?A.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.iJ(b)&&(A.scenarioType="DRIVE_PRIORITY"):b instanceof _.fK?(q="/v1/userfeedback",r.userFeedback=_.Yj(b,_.orc,1).map(function(M){var S=_.D(M,_.gL,2),ja={},oa={};oa.feedbackType=Grc[S.getType()];ja.item=oa;ja.clientInfo=A;switch(M.getFeature()){case 1:A.scenarioType="DRIVE_PRIORITY";oa.itemId=S.Dc();break;case 3:A.scenarioType="QUICK_ACCESS";oa.itemId=S.Dc();break;case 2:A.scenarioType="DRIVE_WORKSPACES",oa.itemId=S.Dc(),oa.childItem=
_.Yj(S,_.gL,3).map(function(ia){var wa={};wa.itemId=ia.Dc();return wa})}return ja})):b instanceof _.dG?A.scenarioType="DRIVE_WORKSPACES":b instanceof _.cG?(A.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Sp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.nlc(a);b instanceof _.fK||(r.maxSuggestions=b.Mi(),r.clientInfo=A)}else{v=b.ze();p=!0;q="files";k.q=_.Qhc(b);z=[];var C;(C=_.wI(this.H))&&
_.T(C,4,!1)?(C=_.xa(this.Og(c),this.Og(c,b.O())),_.Ea(C)):C=_.ya(this.Og(c));var F=void 0,H=!1;0<_.Yj(b,_.Bl,5).length&&(F=_.B(this.H.$f(),50),H=!0);k.fields=Mlc({fields:C,qr:_.HI(_.hI(this.H)),u7:F||void 0,JG:_.mI(this.H),vBb:H});k.appDataFilter="NO_APP_DATA";0<_.Yj(b,_.RJ,25).length&&(k.sources=_.Ihc(b));0<b.qB().length&&(k.spaces=_.Jhc(b));a.Zn()&&(k.pageToken=a.Zn());(a=a.getOptions())&&_.fk(a,1,1E3)&&(k.maxResults=_.fk(a,1,1E3));_.T(b,36,!1)&&(k.includeUnsubscribed=!0);_.B(b,43)&&(k.rawUserQuery=
_.B(b,43));_.$J(k);k.includeItemsFromAllDrives=_.T(b,66,!0);0<_.Sd(b,33).length&&2==_.SJ(b)&&(a=_.Sd(b,33)[0],k.teamDriveId=a,z.push(a));k.corpora=_.phc[_.SJ(b)];_.R(b,18)&&(_.Wa(k,"corpora"),k.corpus="DOMAIN");a=_.Hl(b);C=_.Yj(b,_.wl,35);F=_.Yj(b,_.wl,38);z=z.concat(a.filter(function(M){return!_.T(M,2,!1)}).map(function(M){return M.Ya()})).concat(C.map(function(M){return M.Ya()})).concat(F.map(function(M){return M.Ya()}));_.JJ(this.H,_.Yj(b,_.Dl,63),z,this.O,f);imc(k,b.Ac());_.llc(this.H,k);_.mlc(this.H,
k);_.D(b,_.xea,64)&&(a=Soc(_.D(b,_.xea,64)),a=_.qb(a,4),k.searchSessionData=a)}else if(a instanceof _.kJ){q="apps";switch(a.getType()){case 1:k.fields=bHc;break;case 2:k.fields=cHc;break;case 4:k.fields=dHc;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.wu=!0}k.languageCode=WK(_.hI(this.H));
0<_.Sd(a,3).length&&(k.appFilterExtensions=_.Sd(a,3).join(","));0<_.Sd(a,4).length&&(k.appFilterMimeTypes=_.Sd(a,4).join(","));v=a.ze();p=!0}else if(a instanceof _.efc)q="backups",e=9,k.languageCode=WK(_.hI(this.H));else if(a instanceof _.AI)q="changes",k.includeDeleted=_.T(a,3,!0),k.includeSubscribed=_.T(a,4,!0),k.maxResults=a.YQ(),k.startChangeId=_.B(a,1),k.fields=Llc({fields:this.Og(c),u7:AL(this.H,_.Sd(a,5)),qr:_.HI(_.hI(this.H)),JG:_.mI(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),v=_.Sd(this.H.$f(),31),v.length&&(k.spaces=_.af(v,function(M){return _.Ebc[M]}).join(",")),_.$J(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),v=a.ze(),p=!0;else if(a instanceof _.lJ)b=a.wd(),q="files/"+b.getId()+"/permissions",k.fields=_.mI(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.Zn()&&(k.pageToken=a.Zn()),_.B(a,1)&&(k.maxResults=_.B(a,1)),v=b.ze(),p=!0,_.$J(k),_.llc(this.H,k),_.mlc(this.H,k),_.JJ(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.mJ)k.fields=_.mI(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.Mi(),q="files/"+a.Dc()+"/revisions",v=a.ze(),p=!0,_.JJ(this.H,[],[a.Dc()],this.O,f);else if(a instanceof _.eG)q="teamdrives/"+a.rn()[0],k.fields=AL(this.H,a.O()),v=a.ze(),p=!0;else if(a instanceof _.qfc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=jzc(a),f["content-type"]="application/json",p=l=!0,_.JJ(this.H,[],_.Sd(a.request,1),this.O,f);else if(a instanceof _.EJ)v=a.wd(),q="teamdrives",k.fields=Ztc(this.H,v.O()),k.q=puc(v),
a.Zn()&&(k.pageToken=a.Zn()),(v=(v=a.getOptions())&&_.fk(v,1,1E3))&&(k.maxResults=v),v=a.wd().ze(),p=!0;else if(a instanceof _.rfc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.xJ)h="PUT",q="apps/"+a.Bh(),k.appId=a.Bh(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",v=a.ze(),p=!0;else if(a instanceof _.xI)h="PUT",q="files/"+a.getId(),k.fields=_.Vec({fields:this.Og(c),qr:_.HI(_.hI(this.H)),
JG:_.mI(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Sd(a,9).length&&(k.addParents=_.Sd(a,9).join(",")),_.Sd(a,10).length&&(k.removeParents=_.Sd(a,10).join(",")),_.Sd(a,31).length&&(k.addWorkspaces=_.Sd(a,31).join(",")),_.Sd(a,32).length&&(k.removeWorkspaces=_.Sd(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=WK(_.hI(this.H)),r=kzc(a),f["content-type"]="application/json",v=a.ze(),p=!0,_.$J(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.klc(this.H,k),b=_.Sd(a,9).concat(_.Sd(a,10)),b.push(a.getId()),_.JJ(this.H,_.Yj(a,_.Dl,38),b,this.O,f);else if(a instanceof _.zJ)h="PUT",q="files/"+a.Dc()+"/revisions/"+_.B(a,2),r=lzc(a),f["content-type"]="application/json",v=a.ze(),_.JJ(this.H,[],[a.Dc()],this.O,f);else if(a instanceof _.BJ)q="teamdrives/"+a.getId(),null!=a.Em()?(h="POST",q+="/"+(a.Em()?"hide":"unhide")):(h="PUT",r=mzc(a),f["content-type"]="application/json"),k.fields=AL(this.H),v=a.ze(),p=!0;else if(a instanceof
_.CJ)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=nzc(a),f["content-type"]="application/json",v=a.ze(),p=!0;else if(a instanceof _.yD)h="PUT",r=_.D(a,_.kp,1),v=r.getKey(),q="settings/"+_.B(v,2),(v=_.lp(v))&&(k.namespace=lnc[v]),r=mnc(r),f["content-type"]="application/json",v=a.ze(),p=!0;else if(a instanceof _.iI)q="about",k.fields=_.mI(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=pnc(k.fields,this.H),k.fields=qnc(k.fields,this.H),v=a.ze(),p=!0;else if(a instanceof _.RH){e=11;h=a.Nz();q=a.getUrl();var L=_.B(a,5)||"";_.Yj(a,_.Bbc,2).forEach(function(M){f[M.getKey()]=
M.Ya()});_.Yj(a,_.Bbc,4).forEach(function(M){k[M.getKey()]=M.Ya()});_.R(a,7)&&(b.JKb=!0);_.R(a,8)&&(b.wu=!0);_.R(a,9)&&(b.zEa=!0)}else a instanceof _.gfc?(b=a.request.Dc(),q="files/"+b+"/listCategoryMetadata",v=a.request.ze(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),k.fields="kind,nextPageToken,categoryMetadata",_.JJ(this.H,[],[b],this.O,f)):a instanceof _.yJ?(f["content-type"]="application/json",h="POST",b=a.Dc(),q="files/"+b+"/updateCategoryMetadata",
v=a.ze(),r={categoryMetadata:a.PV().map(function(M){var S=_.Yj(M,_.$F,2).map(function(oa){return{id:oa.getId(),userId:oa.Tz(),setBooleanValue:_.R(oa,3),setTextValue:_.B(oa,4),setTextValues:_.Sd(oa,6),addTextValues:_.Sd(oa,5),setLongTextValue:_.B(oa,7),setSelectionValue:_.B(oa,8),setSelectionValues:_.Sd(oa,10),addSelectionValues:_.Sd(oa,9),setIntegerValue:_.B(oa,11),setIntegerValues:_.Sd(oa,13),addIntegerValues:_.Sd(oa,12),setUserValue:_.B(oa,14),setUserValues:_.Sd(oa,16),addUserValues:_.Sd(oa,15),
setDateStringValue:_.B(oa,17)}}),ja={categoryName:M.nn()};S.length?ja.categoryAttributeValueDeltas=S:_.Sd(M,4).length?ja.revertAttributeIds=_.Sd(M,4):_.R(M,3)&&(ja.removeCategory=_.R(M,3));return ja})},_.JJ(this.H,[],[b],this.O,f)):a instanceof _.oJ?(e=13,q=_.HI(_.hI(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.rn(),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"],_.HI(_.hI(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.mfc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=WK(_.hI(this.H))):a instanceof _.bG?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
WK(_.hI(this.H))):a instanceof _.QI?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",v=a.ze(),p=!0,k.fields=AL(this.H,[157],!0),r={},b=_.Yj(a,_.cl,2),b.length&&(r.addCategoryReferences=b.map(function(M){return{category:M.nn()}})),a=_.Yj(a,_.cl,3),a.length&&(r.removeCategoryReferences=a.map(function(M){return M.nn()}))):a instanceof _.gG?(q="workspaces/"+a.rn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",v=a.ze(),p=!0):a instanceof _.ffc?
(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(),_.T(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.wI(this.H))&&_.T(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.ifc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.jfc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.lfc&&a instanceof _.lfc?(q="changes",k.fields="kind,largestChangeId",_.$J(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),v=a.H,p=!0):a instanceof _.wD?(q="settings",v=_.Sd(a,3),k.namespace=nnc(v),v=a.ze(),p=!0):a instanceof _.tfc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Mi()&&(k.maxResults=a.request.Mi()),k.q=ZGc(a.request),(v=a.request.Cw())&&
1==v.getType()&&(k.orderBy="title"),v=a.request.ze(),p=!0):a instanceof _.pJ?(q="changes/getRemainingCount",k.pageToken=_.B(a,2),_.Q(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),v=a.ze()):a instanceof _.MI?(f["content-type"]="application/json",h="POST",q="files/"+a.Dc()+"/sendAccessRequest",r={},l=!0):_.nlc(a);p&&_.olc(c,k);0!=e||l||v&&_.B(v,1)||_.qK(this.Gd,74438989);return _.plc(this,e,q,k,f,h,v,r,L)};
aHc.prototype.W=function(a,b){a=this.ma.ym.H(a);b.expectedParentIds=a?a.rk().join(","):[]};
var bHc=onc("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"),cHc=
onc("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"),
dHc=onc("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 eHc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,C,F,H,L,M,S,ja,oa){this.Goa=_.Th();this.Efa=new _.Cic;var ia=new _.djc(this.hK.bind(this),function(){return S("w8KrJc")}),wa=new yEc(b.ym),ha=new pEc(ia);c=new hEc(b,f,new cEc(d,e,c),h,this.Goa.promise,k,l,c,S);d=new xEc(b,p,q,r,v,d,e,C,k);this.O=new _.Fic(a,z);z=new aHc(b,a,k,ja);this.Esa=new OGc(k,a,A,C);this.H=ezc(a,new _.rkc(this.O,this.Efa,z,this.Esa,F,H,L),H,A,M,b.ym,this.Efa,this.Goa.promise,L||void 0);this.Goa.resolve(oa?oa:new _.Qjc(new zEc,
wa,ha,this.H,ia,c,d,a))};eHc.prototype.hK=function(){return _.Pa(this.H,function(a){return a.hK()})};var kBc=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=nqc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var fHc=function(a,b){var c=this;this.context=a;this.Mg=b;this.ha=null;this.GR=0;this.ka=this.active=!1;this.H=this.ta=null;this.V={};this.Fa=this.Ba=!1;this.Gd=a.Uk();this.W=_.Th();this.O=a.Pc;this.Ha=_.wI(this.O)||new _.fec;b=_.XK(this.O);this.va=new _.Lic(_.fk(b,2,37500),_.fk(b,3,6E5));this.ma=a.CQ;_.Ma(Tuc,function(d){c.V[d]=[]});NL(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});NL(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});NL(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.nL().wg(_.If)})};_.g=fHc.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,tM(this.context).addCallback(function(b){a.ma.initialize().Rf(function(){a.ha=b;a.setActive(!0)},function(c){c&&Tpc(a.context.Tf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.JI(c));a.log("Error initializing dump storage");a.nS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.sna=function(a){this.active&&(this.GR+=a,this.GR>_.fk(_.XK(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.hR().hK()||0<b.wf.EI.Yna||b.Ij().We()||b.uk().We())||((this.active=a)?(this.W.resolve(),this.H||this.nL().wg(_.If)):(this.W=_.Th(),_.n.clearTimeout(this.ta)))}};_.g.nS=function(){this.ka=!0};_.g.LWa=function(){return this.H?this.H.promise:_.Qh()};
_.g.nL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.Th();_.Uh(this.H.promise,function(){a.H=null});var b=this.Gd.H(106021)||void 0;this.W.promise.then(function(){return Zyc(a.context.wD)}).then(function(c){var d=!c;return a.ka?d:_.Sh([gHc(a,3,d,void 0,void 0,b),gHc(a,0,d,void 0,!0,b),gHc(a,1,d,void 0,!0,b),gHc(a,5,d,void 0,!0,b),gHc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.pc("Failed to update dump",void 0,_.JI(e));return _.Rh(e)})},function(){return _.Rh(Error("qg"))}).then(function(c){a.H.resolve(c);
b&&(c=$pc(b),_.y(c,2,!0),b.ak())},function(c){a.H.reject(c);b&&(c=$pc(b),_.y(c,2,!1),b.ak())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.Vh,e=this.Gd.H(106021)||void 0;e&&(Jpc($pc(e),_.hK(_.$dc,a)),d.then(function(){var f=$pc(e);_.y(f,2,!0);e.ak()},function(){var f=$pc(e);_.y(f,2,!1);e.ak()}));this.W.promise.then(function(){return Zyc(c.context.wD)}).then(function(f){f=!f;c.ka?d.callback():_.Yh(gHc(c,a,f,b,void 0,e),d)});return d};
var gHc=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.og.hn();var k=new _.Vh;_.Xh(h.og,function(){_.Yh(a.Mu(b,c,d,e,f),k)})}else k=a.Mu(b,c,d,e,f);var l={encrypt:c,og:k};a.V[b].push(l);_.Xh(k,function(){_.va(a.V[b],function(p){return l===p})});k.Rg(function(p){a.ma.O.Ef()?a.nS():p instanceof _.pc&&(p=p.O||null,p instanceof _.dI&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.nS());return null});
return k};
fHc.prototype.Mu=function(a,b,c,d,e){var f=this,h=new _.Vh;this.W.promise.then(function(){if(3===a)_.Yh(hHc(f,c||!1,b,e),h);else{switch(a){case 0:var k=uBc(f.context.bQ);break;case 1:k=f.context.b_.zr();break;case 5:k=iHc(f.context.kE);break;case 6:k=Kwc(f.context.wf.zq);break;default:h.Jd("Invalid data type to write to storage.");return}if(k){var l=_.Yj(_.XK(f.O),VK,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):Xxc(f.ma,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Jd(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Jd("Failed to get data to write to dump.")}});return h};
var hHc=function(a,b,c,d){_.n.clearTimeout(a.ta);a.ta=_.n.setTimeout((0,_.u)(a.Ka,a),a.va.Ya());if(b&&0===a.GR)return _.ai();a.GR=0;var e=_.Yj(_.XK(a.O),VK,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),_.ai();var f=[];_.Ma(Jtc,function(k){0<k&&(k=jHc(a,k),k.length&&f.push(Xxc(a.ma,c?e:null,k,d)))});var h=new _.Vh;Promise.all(f).then(function(){a.Fa&&a.context.wD.set(Xyc,!0);h.callback()},function(k){return void h.Jd(k)});return h};
fHc.prototype.Ka=function(){_.KH(this.va);this.update(3,!0)};
var jHc=function(a,b){switch(b){case 1:return[kHc(a)];case 2:var c;b=null===(c=_.wI(a.context.Pc))||void 0===c?void 0:_.T(c,17,!1);c=a.context.wf.Zs;var d=c.H;c=(b=!b||d&&d.lH?d:c.O)?b.jy():[];c=lHc(a,_.Ra(Omc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.fk(_.XK(a.O),5,2E4)&&(b&&PL(b,!1),c=[]);c=Dtc(new xL,mHc(c));d=a.context.wf.Zs;a=new Zmc;(d=d.H)&&d.lH&&(d=d.jy(),_.y(a,3,d.length));a=_.J(c,11,a);a=Itc(a,2);b&&Gtc(a,b.QN());b instanceof Lvc&&(b=Mvc(b),_.Qj(a,14,b));return[a];
case 3:return nHc(a);case 4:return oHc(a);default:throw new _.pc("Unsupported CacheType");}},kHc=function(a){for(var b={},c=[],d=Zvc(a.context.wf.Zs,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.jy(),l=lHc(a,Nmc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ja(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=Atc(new wL,h.wd()),h.H||(_.y(l,2,k),_.J(l,3,p),e=!1),c.push(l)}d=_.Ra(b);a.log("Exporting "+d.length+" initial dump items.");return Gtc(Itc(Ftc(Dtc(Etc(Htc((new xL).Iu(a.context.ao()),_.aK(a.Mg)),a.ha.eR(null)),
mHc(d)),c),1),!e)},nHc=function(a){var b=[],c=a.ha;a.context.wf.Zs.kW().forEach(function(d){var e=c.eR(d.Bc());if(e){var f=lHc(a,Nmc(d.jy()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=Gtc(Itc(Etc(Dtc(new xL,mHc(f)),e),3),d.QN(d.wd()));d=Atc(new wL,d.wd());Ftc(e,[d]);b.push(e)}});return b},oHc=function(a){var b={},c=[];a.context.wf.kW().forEach(function(d){1===d.KJ()&&null==_.R(d.wd(),6)&&(Nmc(d.jy()).forEach(function(e){b[e.getId()]=e}),d=Btc(Atc(new wL,new _.cf),d.wd()),c.push(d))});
return[Gtc(Itc(Ftc(Dtc(new xL,mHc(Object.values(b))),c),4),!1)]},lHc=function(a,b){b=mmc(b);_.R(a.O,67)&&(b=pHc(b));_.mI(a.O)&&(_.T(a.Ha,9,!1)?Nwc(a.context.wf.zq,b)&&(_.qK(a.Gd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Lwc(a.context.wf.zq,b)):b=Lwc(a.context.wf.zq,b));return b.filter(function(c){return 4!==MK(c)})},pHc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,cmc(c)?(c=c.clone(),Nlc(c,bmc),b.push(c)):b.push(c);
return b},mHc=function(a){return a.map(function(b){return b.clone()})};fHc.prototype.log=function(a,b){this.context.Tf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};fHc.prototype.ODa=function(){this.Fa=!0};
var qHc=function(){};_.g=qHc.prototype;_.g.setActive=function(){};_.g.nS=function(){};_.g.update=function(){return _.ai()};_.g.LWa=function(){return _.Qh()};_.g.nL=function(){return _.Qh()};_.g.sna=function(){};_.g.ODa=function(){};
var SK=function(a,b,c,d){_.P.call(this);var e=this;this.Aa=a;this.lw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.vhc;this.Pc=b.clone();(a=_.wI(this.Pc))&&_.T(a,1,!1)&&_.PH(this.Pc,28);this.Mg=new _.Ehc(this.Pc);this.Nm=new yuc(_.aK(this.Mg),this.Pc);rHc(this);this.HX=new _.Bn;this.nb=_.n.setTimeout(function(){e.Tf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.HX.resolve();e.Uk().O(106020)},1E4);this.a_=new _.Vh;this.Ba=new _.fic(_.VJ(this.Pc),_.T(this.Pc.$f(),
52,!1));this.connectionState=new _.Zhc(_.VJ(this.Pc)?3:1,!_.T(this.Pc.$f(),52,!1));this.Gd=_.vic(this.Pc,this.Ba,this.connectionState,this.va,this.HX.promise,this.lw);this.Ffa=new evc(this.Gd);this.kQ=new _.Vh;sHc(this)};_.N(SK,_.P);SK.prototype.getEnvironment=function(){return this.lw};SK.prototype.eS=function(){this.Tf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.nb);this.HX.resolve()};
var sHc=function(a){var b=function(){a.Ku().wg(_.If)},c=a.Aa;(c=c&&_.lc(c,_.Yl))?_.Oe(c,"w",b):_.eec()||_.Oe(_.n,"unload",b)};SK.prototype.Ku=function(){this.Gd.O(106005);dqc(this.Gd);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.VH(a).then()};var tHc=function(a,b){a.ma.push(b)};_.g=SK.prototype;_.g.Tf=function(){return this.va};_.g.Iu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.a_.callback(a),a.length&&this.H4a(a,b||null))};_.g.H4a=function(){};
_.g.ao=function(){return this.rootId};_.g.Uk=function(){return this.Gd};var uHc=function(a){if(!a.ha)throw Error("rg");return a.ha},vHc=function(a,b){a.ha=b};SK.prototype.xB=function(){return this.Fa||this.connectionState.isConnected()};SK.prototype.Ij=function(){return this.Ba};SK.prototype.uk=function(){return this.connectionState};SK.prototype.ZNb=function(a){this.kQ.callback(a)};
var rHc=function(a){var b=a.Pc.$f();0===_.Sd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.y(b,19,3));if(!_.E(b,37,""))throw Error("sg");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.y(b,57,"https://clients6.google.com"));if(_.T(_.XK(a.Pc),9,!1))if(b=_.Yj(_.XK(a.Pc),VK,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.VJ(a.Pc)&&!_.T(a.Pc,10,!1))throw Error("tg");}else _.y(_.XK(a.Pc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.T(_.XK(a.Pc),9,!1)&&(_.VJ(a.Pc)||_.T(a.Pc,10,!1)))throw Error("ug");var c=_.hI(a.Pc);b=!(!c||!_.HI(c));c=c&&_.TJ(c)||"";if(!b&&!c)throw Error("vg");b&&_.Uj(a.Pc,44);_.Yj(a.Pc,_.cf,44).forEach(function(d){try{Cuc(a.Nm,d)}catch(e){if(e instanceof _.pc&&(d=e.Sg)&&3===d.kt())throw Error("wg");throw e;}})};SK.prototype.xJ=function(a){this.dispatchEvent(new _.qc(new _.pc(void 0,a)))};SK.prototype.log=function(a){this.Tf().info("drive.ds.sync.ThinContext",a)};
var wHc=function(a,b){this.H=a;this.Pe=b};
var xHc=new Set([5,4,1,6,2]),yHc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),zHc=function(a,b,c){_.P.call(this);this.ha=a;this.V=b;this.W=c;this.QF=new Map;this.O=new Map;this.status=6;this.H=null};_.N(zHc,_.P);
zHc.prototype.lQ=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())&&_.lp(q))&&f.add(q)});[].concat(_.od(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=xHc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.lp(r);r=r&&_.B(r,2);v=k.get(v);r&&v&&v.set(r,AHc(q))});var l=0,p=0;[].concat(_.od(k.keys())).forEach(function(q){var r=k.get(q),v=e.QF.get(q);v?h&&
(r.forEach(function(z){var A=z.getKey();(A=v.get(A&&_.B(A,2)))&&_.ek(z,A)||l++}),[].concat(_.od(v.values())).forEach(function(z){z=z.getKey();r.has(_.B(z,2))||p++}),e.QF.set(q,r),e.O.set(q,b)):(l+=r.size,e.QF.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,OL(this.V,"px2C2c");OL(this.V,"rkYxSd")}(l||p)&&BHc(this,!h)}};
zHc.prototype.nD=function(){return 0<this.QF.size};var BHc=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 _.ii("WPi0i"))};zHc.prototype.put=function(a){var b=a.getKey(),c=b&&_.lp(b);b=b&&_.B(b,2);if(c&&b&&(c=this.QF.get(c))){var d=c.get(b);a=AHc(a);d&&_.ek(a,d)||(c.set(b,a),BHc(this))}};zHc.prototype.remove=function(a){var b=a&&_.lp(a);a=a&&_.B(a,2);b&&a&&(b=this.QF.get(b))&&b.delete(a)&&BHc(this)};
var iHc=function(a,b){var c=[];(b||[].concat(_.od(a.QF.keys()))).forEach(function(e){(e=a.QF.get(e))&&[].concat(_.od(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.QF.has(e)}):[].concat(_.od(a.QF.keys()));var d=new uqc;_.Tj(d,1,c);_.Qj(d,2,b);return d};
zHc.prototype.bH=function(a){var b=this,c=iHc(this,a),d=new _.Qz;d.Ec(this.status);_.zjb(d,_.Yj(c,_.kp,1));_.J(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);yHc.has(f)&&Infinity>yHc.get(f)&&(e=f)});return new wHc(d,e)};var AHc=function(a){a=a.clone();a.kh()||a.Kb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var CHc=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},EHc=function(a,b){return DHc(a[b])+(DHc(a[b+1])<<8)+(DHc(a[b+2])<<16)+(DHc(a[b+3])<<24)},DHc=function(a){return 127<a?a-256:a};
var TK=function(a,b,c,d,e,f){SK.call(this,a,b,c,d);var h=this;this.Ta=_.Th();this.zt=new Pvc;this.W=null;this.O=_.Th();this.Ha=new _.Vh;this.o6=null;this.Hfa=new cxc;this.V=null;this.$a=_.Th();this.ta=new _.Vh;this.$F=new Hxc;this.rz=new kxc;this.lha=new Ivc;this.daa=new _.Bn;this.Ka=!1;this.Gfa=new _.Bn;this.H={};this.ka=null;this.Lb=new _.Ie;this.Ma(this.Lb);this.Oj=e?e:new Hvc(this.Tf());this.Uk().W.O=this.Oj;this.JL=_.T(_.XK(b),9,!1)&&rnc()?FHc(this,b):null;this.vv=new ruc(WK(_.hI(b)));this.wD=
GHc(this,this.JL);this.CQ=HHc(this,this.JL,b);this.Us=IHc(this);this.wf=new xM(this,this.Mg);(a=(a=_.D(this.Pc,_.dl,12))&&a.getId())&&this.Iu(a,6);this.bQ=new tBc(this.Pc,this.wf.zq,this.Oj,this.Tf(),this.Us);this.b_=new zBc(this.Tf(),this.Oj,this.Us);this.kE=new zHc(this.Tf(),this.Oj,this.Us);this.FI=new Xuc(this.Wm(),this.Tf(),function(k){return void h.xJ(k)});this.cz=_.T(this.Pc.$f(),52,!1)?new _.rK(this.uk(),this.Wm(),this.Tf(),this.Uk()):null;NL(this.Oj,["mrK8ic"],function(){h.$a.promise.then(function(){eCc(h,
h.V)})});this.EMa=new Dxc(this.Pc);this.PA=new _.Xic(this.Pc,this.wf.ym);this.Fsa=new ZDc(this);this.n6=new gxc(this.O.promise,this.Wm());this.kb=new ixc(this.Wm(),this.n6);this.Ifa=new zxc(this.O.promise,this.Wm(),this.Tf(),this.Pc);this.Pa=new eHc(this.Pc,this.wf,this.xJ.bind(this),this.n6,this.kb,this.Us,this.Hfa,this.Mg,this.ao.bind(this),this.Fsa,this.b_,this.kE,this.Ifa,this.$F,this.Tf(),this.EMa,this.PA,this.FI,this.cz,this.Ij(),this.Ypb.bind(this),this.Uk(),f);this.Ta.resolve(this.Pa);this.FJa=
new JDc(this);NL(this.Oj,["BNEDtc"],function(){return h.Gfa.resolve()});tHc(this,function(){h.Us.nS();return _.Qh()})};_.N(TK,SK);
var FHc=function(a,b){var c=_.TJ(_.hI(b)),d=_.UJ(b),e=function(){},f=_.Yj(_.XK(b),VK,11);f=f[0]&&_.B(f[0],1);var h=new ryc(c,d,_.fk(_.XK(b),10,0)||0,f||"",_.aK(a.Mg));_.VJ(b)?c=Myc(c,d).then(function(l){return l?l:h}):_.T(b,10,!1)&&0<_.fk(_.XK(b),8,432E6)?(b=JHc(a,c),c=Myc(c,d,b).then(function(l){return l&&(e=function(p){return p.Ml(h).wg(function(){return null})},!l.ha)?l:h})):c=_.Qh(h);var k=new aM(c,a.Tf(),a.Uk());k.initialize().then(function(){return e(k)},function(){return null});return k},JHc=
function(a,b){var c=_.fk(_.XK(a.Pc),8,432E6);if(!_.VJ(a.Pc)&&0<c){a=Math;var d=a.abs;b=_.vma(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+=EHc(b,e),h.b+=EHc(b,e+4),h.c+=EHc(b,e+8),CHc(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+=EHc(b,e+4);h.a+=EHc(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+=EHc(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=CHc(h);return d.call(a,b)%c}};TK.prototype.Ry=function(a){var b=this;return this.JL?this.JL.Ef()?_.Rh(Error("xg`"+yyc(this.JL))):Zyc(this.wD).then(function(c){var d=b.JL,e=[];e.push(b.Us.LWa());e.push(a?d.Ml():Iyc(d));if(a===c)return _.Sh(e).then(function(){return!1});!1===a&&(e.push(xyc(d)),(c=b.ao())&&e.push(b.wD.Iu(c)));return _.Sh(e).then(function(){return b.wD.Ry(a)},function(){return!1})}):_.Rh(Error("yg"))};
var HHc=function(a,b,c){var d=null;b&&(d=new Rxc(b,c,function(e){a.xJ(e)},a.Uk()),d.initialize());return d},GHc=function(a,b){var c=new Yyc(b||void 0);c.ao().then(function(d){d&&a.Iu(d,5)});b&&(Zyc(c).then(function(d){a.Ij().Ry(d)}),_.Sh([b.initialize(),a.HX.promise]).then(function(){KHc(a,c)},function(){}));return c},KHc=function(a,b){bzc(b).then(function(c){(!c||c<Date.now()-864E5)&&Pyc(_.TJ(_.hI(a.Pc)),_.UJ(a.Pc),a.Tf()).then(function(d){d&&(d=Date.now(),b.set(Wyc,d))},function(){})})},IHc=function(a){if(!a.CQ)return new qHc;
var b=new fHc(a,a.Mg);a.Lb.listen(a.Ij(),"Ab",function(c){return void b.setActive(!c.We())});a.Lb.listen(a.uk(),[].concat(_.od(Object.values(_.qB))),function(){return void b.setActive(a.uk().isConnected())});return b};TK.prototype.qY=function(a){this.o6=a;this.Ha.callback(a)};var tM=function(a){return a.Ha.hn()},jBc=function(a){return a.JL?a.JL.Ef():null},LHc=function(a,b){a.Oj.H("NSockf")?OL(a.Oj,b):NL(a.Oj,["NSockf"],function(){OL(a.Oj,b)})};
TK.prototype.H4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.zt.Iu(a),this.Nm.Iu(a),6!==b&&1!==b||this.wD.Iu(a),LHc(this,"jroI5d"))};TK.prototype.IVa=function(){return this.ta.hn()};var eCc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.ta.dg()||(a.ta.callback(b),LHc(a,"T8oKm")))},EBc=function(a){if(!a.W)throw Error("zg");return a.W};_.g=TK.prototype;_.g.hR=function(){return this.Pa};_.g.Wm=function(){return this.Ta.promise.then(function(a){return a.Goa.promise})};
_.g.NDa=function(){this.Ka||(this.Ka=!0,this.daa.resolve(),OL(this.Oj,"aU7Ts"))};_.g.xB=function(){throw Error("Ag");};_.g.Ypb=function(a){this.dispatchEvent(a)};var MHc=function(a,b){pDc(a.wf,b)},NHc=function(a,b,c){a.H[b]=c},eBc=function(a){a.ka||(a.ka=new qxc(a.O.promise,a.Wm(),a.Tf()));return a.ka};
var BM=function(a,b,c){_.P.call(this);var d=this;this.Ba=a;this.kb=b;this.ta=new _.Vh;this.va=this.channel=this.clientId=null;c.then(function(e){return OHc(d,e)})};_.N(BM,_.P);var OHc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;FL(a.channel,a.Ba,function(c){c=Ruc(c);a.M$(c.H,!(!c.data||!c.kc),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.ta.callback()};BM.prototype.M$=function(){};
BM.prototype.send=function(a,b,c,d){var e=this,f=new _.Vh;this.ta.addCallback(function(){var h=e.channel;GL(h,e.Ba,Nuc(new Muc(e.clientId,a,b,d),h.W),function(k){return void PHc(k,a,f,c||function(){})})});return f};var PHc=function(a,b,c,d){a=Ruc(a);a.data?c.callback(d(a.data,a.kc)):(a.error?d=a.error:(d=new _.oc,_.sI(d,2),_.tI(d,6),_.y(d,21,"Worker["+b+"]: An invalid response was received")),c.Jd(new _.pc(void 0,d)))};BM.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var QHc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var CM=function(a,b){_.O.call(this);this.V=a;this.va=b;this.Ka=this.bV()};_.N(CM,_.O);CM.prototype.registerService=function(a){FL(a,this.V,(0,_.u)(this.Ew,this))};
CM.prototype.Ew=function(a){var b=this;a=Ouc(a);var c=a.kc,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof Puc)return Quc(f,c);if(f.then)return f.then(function(h){return Quc(h,c)},function(h){h=_.uI(h);return Quc(b.od(void 0,h),c)})}catch(h){e=_.JI(h)}f=new _.oc;_.sI(f,2);_.tI(f,3);_.eq(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.y(f,20,e.stack);return Quc(this.od(void 0,f),c)};
CM.prototype.od=function(a,b,c){if(a&&!b)return new Puc(a,void 0,c);a=_.uI(b);return new Puc(void 0,a,c)};CM.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&GL(a,this.V,Quc(this.od(c,d,b),a.W))};
var RHc=function(){this.channels={};this.H=this.O=this.V=0},SHc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Qa(a.channels));return c},THc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var UHc=function(a,b){CM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.wf;this.O=this.context.Ifa;this.W=eBc(this.context);this.ka=this.context.n6};_.N(UHc,CM);
UHc.prototype.bV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.cf);return a.ii(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.bI);return a.ii(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.jA);return a.ii(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.eG);return a.ii(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=QK(c.args[0],!!c.kc,_.cf);return a.jk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.bI);return a.jk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.jA);return a.jk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.eG);return a.jk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=QK(c.args[0],!!c.kc,_.jA);c=QK(c.args[1],!!c.kc,_.jA);return a.lZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=QK(c.args[0],!!c.kc,_.eG);c=QK(c.args[1],!!c.kc,_.eG);return a.lZ(d,e,c)},b["4.7"]=function(c){return a.PF(c)},b["4.8"]=function(c){return a.PF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.Tz);return a.ii(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.gG);return a.ii(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.Tz);return a.jk(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.gG);return a.jk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.nG);return a.ii(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.nG);return a.jk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.dG);return a.ii(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=QK(c.args[0],!!c.kc,_.dG);return a.jk(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.dG){var d=a.W;axc(d,d.getKey(c)).refresh()}return a.od([])},b};UHc.prototype.ii=function(a,b){var c=this,d=new _.Bn;this.H[a]={query:b,lTb:d.promise};b instanceof _.Tz?d.resolve(this.O.ii(a,b)):b instanceof _.gG?d.resolve(Zwc(this.O,a,b)):b instanceof _.dG?d.resolve(this.W.ii(a,b)):b instanceof _.nG?d.resolve(this.ka.ii(a,b)):d.resolve(this.ha.ii(a,b));return d.promise.then(function(){return c.od([])})};
UHc.prototype.jk=function(a,b){VHc(this,a,b);return this.od([])};var VHc=function(a,b,c){delete a.H[b];c instanceof _.Tz?a.O.jk(b,c):c instanceof _.gG?$wc(a.O,b,c):c instanceof _.dG?a.W.jk(b,c):c instanceof _.nG?a.ka.jk(b,c):a.ha.jk(b,c)};_.g=UHc.prototype;_.g.lZ=function(a,b,c){VHc(this,a,b);return this.ii(a,c)};
_.g.PF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.yi(a.args[0]);c instanceof _.Tz?this.O.ii(b,c):c instanceof _.gG?Zwc(this.O,b,c):c instanceof _.dG?this.W.ii(b,c):c instanceof _.nG?this.ka.ii(b,c):this.ha.ii(b,c);return this.od([])};
_.g.AO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Pg(a[0]),f=a[1];d.lTb.then(function(h){b instanceof _.pK||b instanceof _.mK?c.update(e,f,[b.response,b.pageToken,b.H,b.Pe,h]):(d.query instanceof _.cf?Plc(d.query.O(),b.Cd().filter(function(k){return!BL(k)})):d.query instanceof _.jA&&Plc(d.query.O(),Object.values(b.map).filter(function(k){return k&&!BL(k)})),c.update(e,f,[b,h]))})}};
_.g.RX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Pg(c[0]);c=c[1];var d=b.error;d.Dfa(b.H);this.update(a,c,void 0,d)}};_.g.kA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Pg(a[0]),a[1],["cacheRefresh"]))};_.g.g9=function(){};_.g.Ika=function(a){if(!this.H[a])throw Error("bg`"+a);return this.H[a].query};var WHc=function(a,b){_.Ma(a.H,function(c,d){_.Pg(d.split(":")[0])===b&&VHc(a,d,c.query)})};
var XHc=function(a,b,c){BM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.N(XHc,BM);XHc.prototype.axa=function(a){var b=this;a=new OAc(this.context.Nm,this.context.kQ,this.context.Tf(),this.context.Pc,function(c,d){return b.PF(c,d)},a,this.context.Uk());YHc(this,a);return a};XHc.prototype.dxa=function(a){var b=this;a=new VAc(this.context.Nm,this.context.kQ,this.context.Tf(),function(c,d){return b.PF(c,d)},a,this.context.Pc);YHc(this,a);return a};
var YHc=function(a,b){a.ii(b);_.ze(b,function(){a.jk(b);a.send("4.3",[b.wd()],void 0,b.xi())});a.send("4.1",[b.wd()],void 0,b.xi())};_.g=XHc.prototype;_.g.Ywa=function(a){var b=this,c=new SAc(this.context.Pc,this.context.Nm,this.context.Tf(),this.context.a_,this.lZ.bind(this),a);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.4",[c.wd()],void 0,c.xi())});this.send("4.2",[c.wd()],void 0,c.xi());return c};
_.g.gxa=function(a){var b=this,c=new ZAc(a,this,this.context.Pc);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.11",[c.wd()],void 0,c.xi())});this.send("4.9",[c.wd()],void 0,c.xi());return c};_.g.hxa=function(a){var b=this,c=new $Ac(this.context,this,a);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.12",[c.wd()],void 0,c.xi())});this.send("4.10",[c.wd()],void 0,c.xi());return c};
_.g.kxa=function(a){var b=this,c=new cBc(this.context,a,this);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.15",[c.wd()],void 0,c.xi())});this.send("4.13",[c.wd()],void 0,c.xi());return c};_.g.lxa=function(a){var b=this,c=new RAc(this.context,a);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.16",[c.wd()],void 0,c.xi())});this.send("4.14",[c.wd()],void 0,c.xi());return c};
_.g.exa=function(a){var b=this,c=new YAc(this.context,a,function(){b.send("4.21",[],void 0,c.xi())});this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.23",[c.wd()],void 0,c.xi())});this.send("4.22",[c.wd()],void 0,c.xi());return c};_.g.Uwa=function(a){var b=this,c=new MAc(this.context.Ij(),this.context.uk(),this.context.Tf(),function(d,e){return b.PF(d,e)},a);this.ii(c);_.ze(c,function(){b.jk(c);b.send("4.19",[c.wd()],void 0,c.xi())});this.send("4.18",[c.wd()],void 0,c.xi());return c};
_.g.ii=function(a){this.H.create(a.xi(),a.wd());this.O[a.xi()]=a};_.g.jk=function(a){HL(this.H,a.xi(),4);delete this.O[a.xi()]};_.g.lZ=function(a,b,c){if(b instanceof _.jA&&c instanceof _.jA)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.eG&&c instanceof _.eG)this.send("4.6",[b,c],void 0,a);else throw Error("Bg");};
_.g.PF=function(a,b){if(!this.O[a])throw Error("bg`"+a);var c=this.O[a];if(c.wd()instanceof _.cf)var d="4.7";else if(c.wd()instanceof _.bI)d="4.8";else if(c.wd()instanceof _.nG)d="4.20";else if(c.wd()instanceof _.Tz)d="4.17";else throw Error("Cg");c.wd().yi(b);this.send(d,[b],void 0,a)};
_.g.M$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new IL(d,d.h7()),a.sB(b),HL(this.H,a.xi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.tW();return}var h=a.wd();if(h instanceof _.cf||h instanceof _.bI)h instanceof _.cf&&_.hJ(h)?e=QK(d,b,_.jK):e=QK(d,b,_.cB);else if(h instanceof _.jA||h instanceof _.eG)b?(e=new _.iK,vrc(e,function(k){return new _.dl(JSON.parse(k))},d)):e=d;else if(h instanceof _.nG)e=new _.mK(QK(d,b,iL),c[f++],c[f++],c[f++]);else if(h instanceof _.Tz)e=new _.pK(QK(d,
b,LL),c[f++],c[f++],c[f++]);else if(h instanceof _.gG)e=QK(d,b,_.kK);else if(h instanceof _.dG)e=QK(d,b,vL);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&fvc(this.H,a.xi(),!!c[b]),ivc(this.H,a.xi(),e),a.update(e))}};
var DM=function(){_.P.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.Vo=!1};_.N(DM,_.P);DM.prototype.initialize=function(){this.Vo||(this.Vo=!0,this.V(),this.setActive(!0))};DM.prototype.V=function(){};DM.prototype.setActive=function(a){this.active=a;ZHc(this)};var ZHc=function(a){if(a.active&&!a.ha){var b=_.pl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.pl(a.commands))}else a.ha=!0,_.Uh(a.Ba(b),function(){a.ha=!1;ZHc(a)})}};DM.prototype.ka=function(){};
DM.prototype.Ba=function(){};DM.prototype.va=function(){return!0};DM.prototype.enqueue=function(a){try{var b=new _.Vh;this.commands.enqueue(new $Hc(a,b));ZHc(this);return b}catch(c){return _.ci(_.JI(c))}};var $Hc=function(a,b){this.H=a;this.og=b};$Hc.prototype.getCommand=function(){return this.H};$Hc.prototype.OG=function(){return this.og};
var cIc=function(a){DM.call(this);var b=this;this.context=a;this.O=null;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.context,"VMiG2e",function(){return void aIc(b)});this.H=this.context.wf.zq;_.mI(this.context.Pc)&&this.Sc.listen(this.H,"Kb",this.W);var c=a.Oj;NL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Kj(a.Pc.$f(),17,1)&&(d.push("iuEtc"),NL(c,["mrK8ic"],function(){OL(c,"iuEtc")}));NL(c,d,function(){bIc(b)})};_.N(cIc,DM);cIc.prototype.V=function(){dIc(this)};
var bIc=function(a){if(1===a.context.bQ.Cf().Bb())Promise.resolve();else{var b=_.rf(_.sf(new _.qf,!0),301);b=_.jI(new _.iI,b);a.refresh(b).then(null,function(c){c=_.uI(c);_.y(c,21,"Initial account request failed.");a.context.xJ(c)})}},aIc=function(a){var b=_.rf(new _.qf,304);b=_.jI(new _.iI,b);a.refresh(b).then(null,function(){})};
cIc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Uh(this.context.Wm().then(function(d){return d.Te(a,b)}).then(function(d){var e=d.Cf(),f=e.getUser();if(f&&!1===_.Ik(f))d=_.vI(_.hI(c.context.Pc)),d=Error("Eg`"+d+"`"+RK(f)),_.zb(d),_.qK(c.context.Uk(),73301807),d=Promise.reject(d);else{f=c.context.bQ;var h=0===f.ef()?1:6;_.mI(c.context.Pc)&&Dwc(c.H,e);h=vBc(f,e,h);(e=e.getMetadata())&&c.context.Iu(_.B(e,2),1);(d=_.B(d,4))&&eCc(c.context,d,!0);h&&c.dispatchEvent(new _.ii("WPi0i"));d=
Promise.resolve(new _.oK(f.Cf(),f.ef(),!1))}return d}).then(function(d){return d},function(d){d=_.uI(d);_.y(d,5,1);return Promise.reject(new _.pc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
cIc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.BD&&(c.BD=b.BD);this.refresh(b.request,c).then(function(e){return a.OG().callback(e)},function(e){return void a.OG().Jd(e)})}else if(b=this.context.bQ,c=b.Cf(),_.mI(this.context.Pc)){c=c.Cf();var d=c.getUser();d=Iwc(this.H,RK(d));Dwc(this.H,c);vBc(b,c,b.ef())&&this.dispatchEvent(new _.ii("WPi0i"));a.OG().callback(new _.oK(b.Cf(),b.ef(),d))}else c.Bb(),b=new _.oK(c,b.ef(),!0),a.OG().callback(b)};
var dIc=function(a){var b=a.context.Pc.$f();_.n.setTimeout(function(){var c=_.rf(new _.qf,306);c=_.jI(new _.iI,c);a.refresh(c).then(function(){dIc(a)},function(){dIc(a)})},Math.ceil(_.fk(b,7,9E5)*Math.random())+_.fk(b,3,72E5))};cIc.prototype.W=function(a){var b=this.context.bQ,c=b.Cf().Cf();c&&a.getPeople().find(function(d){return _.B(d,1)===RK(c.getUser())})&&(Dwc(this.H,c),vBc(b,c,b.ef())&&this.dispatchEvent(new _.ii("WPi0i")))};var eIc=function(a,b,c){this.request=a;this.H=!!b;this.BD=c||null};
var gIc=function(a){DM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.context.b_,"Qb",_.Db(this.dispatchEvent,new _.ii("Qb",this)));fIc(this)};_.N(gIc,DM);
var fIc=function(a){var b=a.context.Oj;NL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.VJ(a.context.Pc)){var c=_.Kj(a.context.Pc.$f(),18,1);NL(b,["NSockf"],function(){1===c?hIc(a):a.setActive(!0)});2===c&&NL(b,["mrK8ic"],function(){a.W||hIc(a)})}},hIc=function(a){var b=new _.qf;_.sf(b,!0);_.rf(b,301);var c=new _.kJ;_.Spc(c,b);_.y(c,1,1);a.refresh(c).wg(function(){return null})};
gIc.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Th();this.O=d.promise;_.Uh(this.O,function(){c.O=null;iIc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.kJ;_.y(h,1,this.H);_.Spc(h,a.ze());this.context.Wm().then(function(k){return k.Te(h,b)}).then(function(k){c.error=null;var l=c.context.b_;l.lQ(k,l.nD()?6:1);d.resolve()},function(k){c.H=e;k=_.pB(k);var l=k.Sg;_.y(l,5,2);f?(_.sI(l,1),k.message="Initial app settings refresh failed.",
_.y(k.Sg,21,"Initial app settings refresh failed."),c.context.xJ(l),c.setActive(!0)):(_.sI(l,2),k.message="Error occurred while loading the latest set of apps.",_.y(k.Sg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};gIc.prototype.va=function(){return!1};
gIc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.vja,f=c.BD?{BD:c.BD}:void 0;if(!jIc(d))return this.context.Wm().then(function(l){return l.Te(d,f)}).then(function(l){a.OG().callback(new _.lK(l,1,!1))},function(l){a.OG().Jd(_.JI(l))}),_.Qh();c=_.Qh();var h=!1;this.O?kIc(this,d.getType())?e=this.O:c=e=new _.Ph(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&kIc(this,d.getType())&&!this.error?(h=!0,e=_.Qh()):e=this.refresh(d,f);
var k=a.OG();e.then(function(){var l=b.context.b_;k.callback(new _.lK(l.zr(),l.ef(),h))},function(l){k.Jd(l)});return c.then()};
var jIc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Sd(a,4),a=_.Sd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},kIc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},iIc=function(a){var b=a.context.Pc.$f(),c=new _.qf;_.rf(c,306);var d=new _.kJ;_.y(d,1,1);_.Spc(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.fk(b,7,9E5)*Math.random())+_.fk(b,4,72E5))},lIc=function(a,b,c){this.request=a;this.vja=!!b;this.BD=c||null};
var nIc=function(a){DM.call(this);var b=this;this.context=a;this.error=null;this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.context.kE,"WPi0i",function(){return b.dispatchEvent(new _.ii("WPi0i"))});this.H=_.Th();this.O=_.Sd(this.context.Pc.$f(),30);mIc(this)};_.N(nIc,DM);
var mIc=function(a){var b=a.context.Oj;NL(b,["rkYxSd"],function(){return a.initialize()});NL(b,["px2C2c"],function(){a.context.Tf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Kj(a.context.Pc.$f(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&NL(b,["mrK8ic"],function(){OL(b,"OZvrNc")}));!_.T(a.context.Pc,11,!1)&&_.T(a.context.Pc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Yj(iHc(a.context.kE),_.kp,1).length||(b.H("NSockf")?
OL(b,"DEJoH"):NL(b,["NSockf"],function(){OL(b,"DEJoH")}))},12E3));NL(b,c,function(){if(!b.H("px2C2c")){var e=new _.qf;_.sf(e,!0);_.rf(e,301);var f=new _.wD;_.J(f,1,e);Wmc(f,oIc(a));a.query(f).wg(function(){a.initialize()})}})};nIc.prototype.V=function(){var a="User prefs detected: "+_.Yj(iHc(this.context.kE),_.kp,1).length;this.context.Tf().info("drive.ds.sync.userprefs.UserPrefsManager",a);pIc(this)};
nIc.prototype.query=function(a,b){var c=this,d=b?{BD:b}:void 0;return this.context.Wm().then(function(e){return e.Te(a,d)}).then(function(e){c.error=null;var f=c.context.kE;f.lQ(_.Yj(e,_.kp,3),f.nD()?6:1,_.Sd(a,3))}).then(null,function(e){e=_.pB(e);_.y(e.Sg,5,4);0<c.commands.hc()||c.context.xJ(e.Sg);c.error=e;throw e;})};
nIc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.OG(),e=new Set([].concat(_.od(this.context.kE.QF.keys()))),f=_.Sd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.vja=!0);this.error?d.Jd(this.error):c.vja?(Wmc(c.request,oIc(this,f)),_.Uh(this.H?this.H.promise:this.query(c.request,c.BD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var oIc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.od(a.O),_.od([].concat(_.od(a.context.kE.QF.keys()))),_.od(b)));return[].concat(_.od(a.values()))};
nIc.prototype.getData=function(a,b,c){b=this.context.kE.bH(b);a.callback(new _.nK(b.H,b.Pe,c))};var pIc=function(a){var b=a.context.Pc.$f();_.n.setTimeout(function(){var c=new _.wD,d=new _.qf;_.rf(d,306);_.J(c,1,d);Wmc(c,oIc(a));_.Uh(a.query(c).wg(_.If),function(){pIc(a)})},Math.ceil(_.fk(b,7,9E5)*Math.random())+_.fk(b,5,72E5))},qIc=function(a,b,c){this.request=a;this.vja=!!b;this.BD=c||null};
var rIc=function(a,b,c,d){CM.call(this,"IS",b);this.context=a;this.Sc=new _.Ie(this);this.Ba=_.Th();this.O=null;this.ha=!1;this.W=null;this.Fa=new iBc(a);Qmc(this.Fa);this.Ma(this.Sc);this.ka=new cIc(a);this.Ma(this.ka);this.Sc.listen(this.ka,"WPi0i",function(){return c(new IAc(1))});this.ma=new gIc(a);this.Ma(this.ma);this.Sc.listen(this.ma,"Qb",function(){return c(new IAc(2))});this.ta=new nIc(a);this.Ma(this.ta);this.Sc.listen(this.ta,"WPi0i",function(){return c(new IAc(4))});this.Ha=d;this.H=
this.context.Wm()};_.N(rIc,CM);_.g=rIc.prototype;
_.g.bV=function(){var a={};return a["3.43"]=this.L_.bind(this),a["3.42"]=this.S7.bind(this),a["3.1"]=this.AN.bind(this),a["3.2"]=this.bH.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.bO.bind(this),a["3.4"]=this.qz.bind(this),a["3.5"]=this.zr.bind(this),a["3.6"]=this.cS.bind(this),a["3.8"]=this.Ml.bind(this),a["3.36"]=this.Ry.bind(this),a["3.9"]=this.qF.bind(this),a["3.10"]=this.yr.bind(this),a["3.11"]=this.haa.bind(this),a["3.12"]=this.x8.bind(this),a["3.13"]=this.nT.bind(this),a["3.14"]=
this.faa.bind(this),a["3.15"]=this.z8.bind(this),a["3.16"]=this.ou.bind(this),a["3.17"]=this.$Db.bind(this),a["3.18"]=this.dEb.bind(this),a["3.19"]=this.pQ.bind(this),a["3.20"]=this.bEb.bind(this),a["3.25"]=this.aEb.bind(this),a["3.22"]=this.y8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.Wna.bind(this),a["3.29"]=this.nyb.bind(this),a["3.40"]=this.fEb.bind(this),a["3.33"]=this.gEb.bind(this),a["3.39"]=this.lP.bind(this),a["3.37"]=this.eEb.bind(this),a["3.38"]=this.wab.bind(this),a["3.41"]=
this.eS.bind(this),a["3.44"]=this.r0.bind(this),a["3.45"]=this.To.bind(this),a["3.46"]=this.T7.bind(this),a};_.g.AN=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.iI);a=new eIc(c,a.args[1],this.context.H[a.clientId]);OL(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.od([d.response,d.Pe,d.d0])},function(d){return b.od(void 0,d)})};
_.g.bH=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.wD);a=new qIc(c,a.args[1],this.context.H[a.clientId]);OL(this.context.Oj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.od([d.response,d.Pe,d.d0])},function(d){return b.od(void 0,d)})};
_.g.xd=function(a){var b=this,c=QK(a.args[0],!!a.kc,ymc),d=_.D(c,_.MI,16)||_.D(c,_.NI,1)||_.D(c,_.OI,2)||_.D(c,_.RI,3)||_.D(c,_.sK,4)||_.D(c,_.PI,5)||_.D(c,_.VI,6)||_.D(c,_.XI,7)||_.D(c,_.YI,8)||_.D(c,_.aJ,9)||_.D(c,_.uJ,10)||_.D(c,_.vJ,11)||_.D(c,_.wJ,12)||_.D(c,_.xI,13)||_.D(c,_.zJ,14)||_.D(c,_.BJ,15)||_.D(c,_.OK,17),e=EM(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.od([f])},function(f){return b.od(void 0,f)})};
_.g.bO=function(a){var b=this,c=QK(a.args[0],!!a.kc,Hmc),d=_.D(c,_.SI,1)||_.D(c,_.ZI,2)||_.D(c,_.CJ,3),e=EM(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.od([f])},function(f){return b.od(void 0,f)})};
_.g.qz=function(a){var b=this,c=QK(a.args[0],!!a.kc,Bmc),d=EM(this,a),e=[],f=[];Dmc(c).forEach(function(h){h instanceof _.MI?e.push(String(h.Dc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Te(h,d)}))});a=_.VH(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Uh(a,function(){return void HDc(b.context.wf)});return a.then(function(h){return b.od([new nmc(e,h)])})};
_.g.zr=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.kJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=EM(this,a);a=this.H.then(function(f){return f.Te(c,e)}).then(function(f){return new _.lK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.lK(f.response,f.Pe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new lIc(c,d,this.context.H[a.clientId]),OL(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.od([f.response,f.Pe,f.d0])},function(f){return b.od(void 0,
f)})};_.g.cS=function(a){var b=this,c=QK(a.args[0],!!a.kc,Emc),d=_.D(c,_.xD,1)||_.D(c,_.yD,2),e=EM(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.od([f])},function(f){return b.od(void 0,f)})};_.g.Ml=function(a){a=a.args[0];if(this.context.cz)a?_.Ric(this.context.cz,!0):this.context.uk().We()&&this.context.cz.vM(!0).then(null,function(){});else try{this.context.Ij().Ml(a)}catch(b){return this.od(void 0,b)}return this.od([])};
_.g.Ry=function(a){var b=this,c=a.args[0];return this.context.Ry(c).then(function(d){return d?(b.context.Ij().Ry(c),b.Ha(c),b.context.Us.nL().wg(function(){return!c})):_.Qh(!c)}).then(function(d){return b.od([d])},function(d){return b.od(void 0,d)})};_.g.sync=function(){var a=this;return _.Sh([this.context.daa.promise,this.context.Gfa.promise]).then(function(){return a.context.Us.nL()}).then(function(){return a.od([])},function(b){return a.od(void 0,b)})};
_.g.qF=function(){try{var a=this.context.o6;a&&a.zoa();this.context.lha.qF();return this.od([])}catch(b){return this.od(void 0,b)}};_.g.eS=function(){this.context.eS();return this.od([])};_.g.yr=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.dJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.haa=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.eJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.x8=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.TI),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.nT=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.xJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.faa=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.fJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return _.mI(b.context.Pc)?Hwc(b.context.wf.zq,[_.D(e,_.Hk,2)],c.Dc()).then(function(){return e}):e}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.z8=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.WI),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.ou=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.mJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.mI(b.context.Pc)?Fwc(b.context.wf.zq,f):f})}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.$Db=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.rAc),d=new _.ffc(c,a.args[1],a.args[2]||void 0),e=EM(this,a);return this.H.then(function(f){return f.Te(d,e)}).then(function(f){return b.od([f])},function(f){return b.od(void 0,f)})};
_.g.dEb=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.lJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d).then(function(f){return _.mI(b.context.Pc)?Hwc(b.context.wf.zq,_.Yj(f.od(),_.Hk,2),c.wd().getId()).then(function(){return f}):f})}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.pQ=function(){var a=this;return(_.T(this.context.Pc.$f(),52,!1)?_.Qh(Wuc(new Vuc,0)):this.context.FI.pQ()).then(function(b){return a.od([b])},function(b){return a.od(void 0,b)})};_.g.bEb=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.efc),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.aEb=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.jJ),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.y8=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.UI),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.Wna=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.RH),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e,null])},function(e){return b.od([null,_.uI(e)])})};_.g.nyb=function(){return this.od([!0])};_.g.fEb=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.cG),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.gEb=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.dG),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.L_=function(a){a=QK(a.args[0],!!a.kc,_.cf);XCc(this.context.wf,[a]);return this.od([])};_.g.S7=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.QI),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.lP=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.kM),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return Swc(c,e)}).then(function(e){return b.od(e)},function(e){return b.od(void 0,e)})};_.g.eEb=function(a){var b=this,c=new _.mfc(QK(a.args[0],!!a.kc,_.jUb),a.args[1]),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e.response,e.pageToken])},function(e){return b.od(void 0,e)})};
_.g.wab=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.bG),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};_.g.r0=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.fK),d=EM(this,a);return this.H.then(function(e){return e.Te(c,d)}).then(function(e){return b.od([e])},function(e){return b.od(void 0,e)})};
_.g.To=function(a){var b=a.args.map(function(c){return QK(c,!!a.kc,_.qI)});this.context.wf.To(b);HDc(this.context.wf);return this.od([])};_.g.T7=function(){var a=this,b=this.context.cz;return(b?b.vM():_.Qh(_.Aic(0))).then(function(c){return a.od([c])},function(c){return a.od(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Th();this.context.Tf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Pc.Li());this.Sc.listen(this.context,_.Bc,function(e){e=e.error;var f=e.Sg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):Tpc(a.context.Tf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.VJ(this.context.Pc)&&c.push("BNEDtc");NL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});NL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){tM(a.context).then(function(e){return void e.start()})};NL(b,["T8oKm","ZA9qG"],function(){return void d()});NL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();OL(b,"NSockf")}return this.O.promise};_.g.zba=function(){return this.Ba.promise};_.g.Ku=function(){var a=this.context.o6;a&&a.dispose();return this.context.Ku()};
var EM=function(a,b){return(a=a.context.H[b.clientId])?{BD:a}:{}};
var sIc=function(a,b,c){CM.call(this,"DU",b);this.context=a;this.O=c;this.H=new iBc(a)};_.N(sIc,CM);_.g=sIc.prototype;
_.g.bV=function(){var a=this,b={};return b["5.1"]=function(){return a.$ha()},b["5.2"]=function(c){return a.UM(c)},b["5.4"]=function(c){return a.Gz(c)},b["5.5"]=function(){return a.iR()},b["5.10"]=function(){return a.wN()},b["5.6"]=function(){return a.wda()},b["5.7"]=function(){return a.ZS()},b["5.9"]=function(c){return a.gqa(c)},b["5.8"]=function(c){return a.l5(c)},b["5.11"]=function(){return a.wpa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Ml(c)},b};
_.g.$ha=function(){var a=this;this.context.Us.nS();var b=this.context.Pc;return Qyc(_.TJ(_.hI(b)),_.UJ(b),this.context.Tf()).wg(function(){}).then(function(){return a.od([])})};_.g.UM=function(a){a=this.context.wf.ym.H(a.args[0]);return this.od([a])};_.g.Gz=function(a){var b=this;return this.context.PA.Gz(a.args[0]).then(function(c){return b.od([c])})};_.g.iR=function(){return this.od(this.context.PA.iR())};
_.g.l5=function(a){var b=this,c=QK(a.args[0],!!a.kc,_.Gdc),d=a.args[1],e=a.args[2];if(_.D(c,_.nI,3)||_.D(c,_.EJ,4)||_.D(c,_.sK,5)||_.D(c,_.BJ,6)||_.D(c,_.YI,7)||_.D(c,_.RI,8)||_.D(c,_.VI,9)||_.D(c,_.xI,10)){var f=cvc(c);return this.context.Wm().then(function(h){return h.Te(f,{A7a:d,B7a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.tK){k=h.od().Cd();var p=_.B(h,2);l=h.Zn()}else if(h instanceof _.GJ)h.getItem()&&k.push(h.getItem()),p=h.dN();else{h=b.od(void 0,Error("dg"));break a}h=b.od([p,
l].concat(_.od(k)))}return h},function(h){return b.od(void 0,h)})}return _.Qh(this.od(void 0,Error("cg")))};_.g.gqa=function(){var a=this.context.Pc,b=a.$f();a="email:"+_.hI(a).getEmail().replace(/@.*$/,"");_.y(b,13,a);return this.od([])};_.g.wda=function(){this.context.$F.H=new Gxc(_.Ng().substring(0,8));return this.od([])};_.g.ZS=function(){var a=this.context.$F.wN();if(a){var b=Ixc(this.context.$F);a=[a.Zda,a.startTime].concat(_.od(b))}else a=[];b=this.context.$F;b.H=null;b.JY=[];return this.od(a)};
_.g.wN=function(){var a=this.context.$F.wN();return this.od(a?[a.Zda,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.od([b])})};_.g.wpa=function(){var a=[this.O.Ku(),_.vi(3E4)];_.Uh(_.Sja(a),function(){_.n.setTimeout(function(){self.close()})});return this.od([])};_.g.Ml=function(a){this.H.Ml(a.args[0]);return this.od([])};
var tIc=function(a,b,c,d,e,f,h){_.EK.call(this,a,b,c,d,f,h);this.H=e;this.Gd=null};_.N(tIc,_.EK);tIc.prototype.CM=function(a,b){var c=this;return _.bi(this.H.then(function(d){return d.U2a(Glc(c.O,c.va,a,b,c.lj,c.ha))},null))};tIc.prototype.ma=function(a,b){var c=this.wd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Gz();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.cjc(a,b,d))}};
var uIc=function(a,b,c,d,e,f,h,k){CM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Gd=h;this.H={};this.O={};this.Sc=new _.Ie(this);this.Ma(this.Sc)};_.N(uIc,CM);_.g=uIc.prototype;
_.g.bV=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.tG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.CM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.od([])},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.od([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=QK(a.args[0],!!a.kc,_.RI),e=a.args[1];if(!this.H[c]){var f=new tIc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Gd);this.Sc.listen(f,"Lb",_.Db(this.xab,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.hj(),r=_.Th();b.O[q]=r;b.update(l,p,vIc(3,q,[h,k]));return r.promise}).then(function(h){return b.od([h])},function(h){return b.od(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.od([])};_.g.tG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].tG();return this.od([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ja(f,function(p){k[p]=h[l++]});_.Ma(k,function(p,q){p.Rf(function(r){b.update(a.clientId,c,vIc(0,e,[q,r]))},function(r){b.update(a.clientId,c,vIc(1,e,[q,r.Sg]))})});return this.od([])}return this.od(void 0,_.uI("Could not retry upload."))};
_.g.CM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=Glc(b.O,b.va,c,a,b.lj,b.ha),this.od([Kmc(c)])):this.od(void 0,_.uI("FileUploader not found."))};_.g.xab=function(a,b,c){this.update(a,b,vIc(2,c.requestId,[c.progress,c.totalBytes]))};var vIc=function(a,b,c){return[Number(a),b].concat(_.od(c))};
var wIc=function(a,b){CM.call(this,"IE",b);this.O=a;this.H=new Map};_.N(wIc,CM);wIc.prototype.bV=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};
wIc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=QK(a.args[0],!!a.kc,_.dfc);e=new oM(this.O,e);var f=_.xe(e,"Pb",function(h){b.update(a.clientId,c,[h.mPa,h.dua])});_.ze(e,function(){_.qi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.od([h])},function(h){return b.od(void 0,h)})};wIc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.od([])};
var xIc=function(a,b){CM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Th();this.O=new nBc(a,a.Mg)};_.N(xIc,CM);xIc.prototype.bV=function(){var a=this,b={};return b["6.1"]=function(c){return yIc(a,c)},b["6.2"]=function(c){return zIc(a,c)},b["6.3"]=function(){a.H&&(qBc(a.O),a.H=!1,a.W=_.Th());return a.od([])},b};
var yIc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return QK(d,!!b.kc,_.dl)});a.O.tl(c);OL(a.context.Oj,"GZTDpc");a.W.resolve()}return a.od([])},zIc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return QK(d,!!b.kc,_.qI)});pBc(a.O,c);return a.od([])})};
var AIc=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("Fg`"+b);a.services.set(b,new _.Vh)})};AIc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.dg())b.callback(a);else throw Error("Gg`"+a.V);};var BIc=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)})};AIc.prototype.Ho=function(){return[].concat(_.od(this.services.values())).every(function(a){return a.dg()})};
var CIc=function(){},DIc={0:2E3,1:3E3,2:5E3},EIc=function(a,b){this.request=a;this.ha=b;this.O=_.Th();this.continuationToken="";this.V=0;this.FE=this.W=!1;this.H=CIc};EIc.prototype.dh=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=CIc;b.V=0;return c},function(c){b.H=CIc;b.V=0;return Promise.reject(c)})};
EIc.prototype.sendRequest=function(){var a=this;if(this.FE)this.O.resolve((new jM).Ec(8));else{var b=new _.qfc(this.request,this.continuationToken);this.ha.then(function(c){return c.Te(b)}).then(function(c){FIc(a,c)},function(c){a.handleError(c)})}};var FIc=function(a,b){var c;a.continuationToken=null!==(c=b.Zn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},GIc(a.V++,a.ka)):a.O.resolve(b)};EIc.prototype.handleError=function(a){a=_.pB(a);this.O.reject(a)};
EIc.prototype.cancel=function(){this.FE=!0};var GIc=function(a,b){return b?b:(a=DIc[a])?a:1E4};
var HIc=function(a,b){CM.call(this,"TM",b);this.O=a;this.H=new Map};_.N(HIc,CM);HIc.prototype.bV=function(){var a=this,b={};return b["10.1"]=function(c){return IIc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var IIc=function(a,b){var c=b.clientId+":"+b.requestId,d=QK(b.args[0],!!b.kc,_.Xzc);d=new EIc(d,a.O);a.H.set(c,d);return _.Uh(d.dh(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.od([e])},function(e){return a.od(void 0,e)}),function(){a.H.delete(c)})};HIc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.od([])};
var FM=function(a,b,c){_.O.call(this);this.H=a;this.lw=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ka=_.Th();this.W=!1;this.Ba=_.Th();this.O=_.Th();this.ta=null;this.va=this.Ta=!1;this.Ab=_.Th();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.WB=Date.now();this.services=new AIc;this.Lb=new _.Ie(this);this.Ma(this.Lb)};_.N(FM,_.O);FM.prototype.qY=function(a){this.O.promise.then(function(b){b.o6||a.Zi(b)})};
var MIc=function(a,b){var c=SHc(a.H,b),d=a.Rb.bind(a,c);FL(b,"8.1",d);b.registerService("8.1",d);FL(b,"8.4",a.Pa.bind(a,c));b.registerService("8.5",function(f){return JIc(a,c,f)});FL(b,"8.2",a.Gb.bind(a,c));FL(b,"8.3",a.Nb.bind(a,c));BIc(a.services,b);b.start();KIc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Sh([a.Ka.promise,a.Ba.promise]).then((0,_.u)(a.initialize,a)));e.push(a.ta);_.Sh(e).then(function(){return void LIc(a,c,b)},function(f){a.Ta=!0;GL(b,"2.2",{err:_.uI(f).kc()},d)})},NIc=function(a){return Math.floor((Date.now()-
a.WB)/1E3)},OIc=function(a,b,c){var d=function(e){GL(b,"2.8",{au:"ib"===e.type})};a.Lb.listen(c.FI,["ib","jb"],d);_.ze(b,a.Lb.Yc.bind(a.Lb,c.FI,["ib","jb"],d))},PIc=function(a,b,c){var d=c.uk(),e=[].concat(_.od(Object.values(_.qB))),f=function(h){GL(b,"2.19",{cs:h.connectionState})};a.Lb.listen(d,e,f);_.ze(b,function(){a.Lb.Yc(d,e,f)})};
FM.prototype.Rb=function(a){var b=THc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){WHc(d,a)}),b.dispose(),this.log(_.yt("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){_.Uh(d.Ku(),c)})}};
FM.prototype.Pa=function(a,b){if(this.ha.has(a))return _.Qh();var c=new _.Xb(JSON.parse(b.dsc));_.y(c,24,!1);this.Ha||(this.Ha=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){NHc(d,a,_.E(c.$f(),37,""));MHc(d,_.Sd(c,28));d.wf.Ala(_.Yj(c,_.Dl,91));return d.HX.promise.then(function(){XCc(d.wf,_.Yj(c,_.cf,44))})},function(){})};
FM.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new dCc(e,e.Mg);e.dh(d);e.dispose();(e=c.H.channels[a]||null)&&GL(e,"2.16")})}};FM.prototype.Nb=function(a,b){var c=this;this.V.has(a)||this.V.set(a,new Set);var d=this.V.get(a),e=b.dsp;if(e){var f=[];for(b=0;b<e.length;b++)e[b]&&(d.has(b)?e[b]=void 0:(f.push(b),d.add(b)));f.length&&this.O.promise.then(function(h){QIc(new HCc(h),e);(h=c.H.channels[a]||null)&&GL(h,"2.17",{t:f})})}};
var QIc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.dh(c)});a.dispose()};FM.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Ra(this.H.channels)),d=c.next();!d.done;b={Bea:b.Bea,afa:b.afa},d=c.next())b.Bea=d.value,b.afa=_.Th(),GL(b.Bea,"2.12",void 0,function(e){return function(){e.Bea.dispose();e.afa.resolve()}}(b)),a.push(b.afa.promise);return _.Sh(a).then()};
FM.prototype.initialize=function(a){var b=this;a=a[0];_.Ggc(a,this.fields);var c=_.D(a,_.EI,58);c=c&&_.T(c,1,!1)?this.kb:void 0;try{var d=new TK(null,a,this.lw,c,void 0,void 0),e=d.Uk().H(106E3);tHc(d,this.$a.bind(this));this.Lb.listen(d.Ij(),"Ab",function(k){k={os:k.We()};for(var l=_.m(_.Ra(b.H.channels)),p=l.next();!p.done;p=l.next())GL(p.value,"2.6",k)});this.Lb.listen(d,_.Bc,this.nb);this.Lb.listen(d,"w8KrJc",this.Lc);$uc(d.FI,this.ka.bind(this));var f=d.cz;f&&hqc(f,function(){return b.ka()});
this.O.resolve(d);var h=RIc(this,d,new rIc(d,this.H,(0,_.u)(this.uc,this),(0,_.u)(this.Cc,this)));e&&h.then(function(){return e&&e.ak()});return h}catch(k){return _.Rh(k)}};
var RIc=function(a,b,c){a.services.activate(c);a.services.activate(new UHc(b,a.H));a.services.activate(new sIc(b,a.H,c));a.services.activate(new xIc(b,a.H));a.services.activate(new uIc(b.Pc,b.PA,b.hR().Efa,b.Wm(),b.kQ,b.Tf(),b.Uk(),a.H));a.services.activate(new wIc(b.Wm(),a.H));a.services.activate(new HIc(b.Wm(),a.H));return c.initialize()},LIc=function(a,b,c){var d=_.Qa(a.H.channels);a.log(_.yt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));GL(c,"2.2",{id:b,
clients:d,uptimeSec:NIc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.a_.addCallback(function(f){c.isDisposed()||GL(c,"2.5",{id:f})});1<d&&tM(e).addCallback(function(f){return f.twa()});(a.services.services.get("IS")||null).addCallback(function(f){f.zba().then(function(){c.isDisposed()||GL(c,"2.14")})});OIc(a,c,e);PIc(a,c,e)})};FM.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Ra(this.H.channels)),c=b.next();!c.done;c=b.next())GL(c.value,"2.15",a)};
FM.prototype.Cc=function(a){var b={oois:a};_.Ra(this.H.channels).forEach(function(c){GL(c,"2.18",b)})};FM.prototype.nb=function(a){a={p:a.error.Sg.kc()};for(var b=_.m(_.Ra(this.H.channels)),c=b.next();!c.done;c=b.next())GL(c.value,"2.10",a)};FM.prototype.Lc=function(){for(var a=_.m(_.Ra(this.H.channels)),b=a.next();!b.done;b=a.next())GL(b.value,"2.7")};var KIc=function(a,b,c){a.ha.has(b)?_.Qh():new _.Ph(function(d){GL(c,"2.1",void 0,function(e){d(a.Pa(b,e))})})};
FM.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Rh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Qh()}b=b||_.Ra(this.H.channels)[0];if(!b)return _.Rh(Error("Ig"));var d=_.Th();b.send("1.1",void 0,function(e){JIc(c,a,e);d.resolve()});return d.promise};var JIc=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.va&&(a.va=!0,a.Ab.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
FM.prototype.log=function(a){this.O.promise.then(function(b){return b.Tf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var SIc=function(a,b){BM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.N(SIc,BM);_.g=SIc.prototype;_.g.La=function(){return _.D(this.context.Pc,_.EI,58)};_.g.getContext=function(){return this.context};_.g.Gz=function(){return this.send("5.4",[this.H],function(a,b){return QK(a[0],b,_.uhc)})};_.g.Tf=function(){return this.context.Tf()};_.g.UM=function(a){return this.send("5.2",[a],function(b,c){return b[0]?QK(b[0],c,_.dl):null})};
_.g.iR=function(){return this.send("5.5",[],function(a,b){return a.map(function(c){return QK(c,b,_.Gdc)})})};_.g.l5=function(a,b,c){return this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return QK(k,e,_.dl)}),yia:f,pageToken:h}})};_.g.gqa=function(){this.send("5.9",[])};_.g.$ha=function(){this.send("5.1",[])};_.g.q9=function(){return _.jec[_.Kj(this.context.Pc.$f(),8,0)]};_.g.wda=function(){this.send("5.6",[])};
_.g.ZS=function(){return this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return QK(e,b,dvc)});return{traceId:new Gxc(c,d),spanRecs:a}})};_.g.wN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new Gxc(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.wpa=function(){this.send("5.11",[])};_.g.Ml=function(a){this.send("5.13",[a])};
var TIc=function(a,b){BM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.N(TIc,BM);TIc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return QK(b[0],c,xAc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};TIc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
TIc.prototype.M$=function(a,b,c){this.dispatchEvent(new JAc(c[0],c[1]))};
var UIc=function(a){BM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.N(UIc,BM);UIc.prototype.sY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.EV().Rf(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.O_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var VIc=function(a,b){VL.call(this,a,b)};_.N(VIc,VL);VIc.prototype.oia=function(a,b,c){return new _.mfc(a,c)};VIc.prototype.Cka=function(a){return a.pageToken||""};VIc.prototype.Qja=function(a){return a.response.O()};VIc.prototype.m6=function(){};
var WIc=function(a,b,c){nM.call(this,a.Ij(),a.uk(),b.Mi()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new VIc(this.request,this.ka)};_.N(WIc,nM);_.g=WIc.prototype;_.g.dH=function(){this.V.dh().then(this.yab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return Pzc(new iM,this.O).Ec(this.status)};_.g.Br=function(){return new Nzc};_.g.Uj=function(){return!this.We()&&(!this.H||Uwc(this.V))};_.g.yab=function(a){this.changed=this.H=!0;this.O=a;this.$t()};
_.g.$t=function(){if(this.active){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))}};_.g.hc=function(){return this.O.length};
var XIc=function(a,b,c){nM.call(this,a.Ij(),a.uk(),b.Mi()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.Lbc;this.suggestionSessionId=null;this.ka=c};_.N(XIc,nM);_.g=XIc.prototype;_.g.dH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.Hj();a.suggestionSessionId=b.Wf();a.$t()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.Blc(_.Alc((new _.GK).Ec(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.Br=function(){var a=this.V.Hz(this.O,this.data);this.O=this.data;var b=(new Tzc).Ec(this.status);return _.Tj(b,2,a)};_.g.iP=function(){};_.g.$t=function(){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))};_.g.hc=function(){return this.data.length};
var YIc=function(){};_.g=YIc.prototype;_.g.FM=function(a,b){b=oAc(1).setPosition(b);_.J(b,2,a);return b};_.g.DM=function(a,b){b=oAc(2).setPosition(b);_.J(b,2,a);return b};_.g.KE=function(a,b,c){b=oAc(3).Sy(b).setPosition(c);_.J(b,2,a);return b};_.g.xQ=function(a,b){b=oAc(4).setPosition(b);_.J(b,2,a);return b};_.g.fN=function(a){return _.D(a,_.Otc,2)};
var $Ic=function(){_.SH.call(this,new YIc,function(a){return ZIc(a)})};_.N($Ic,_.SH);var ZIc=function(a){switch(_.Ij(a,Ntc[0])){case 6:return _.Wx(_.D(a,_.Vx,6)).getTime().toString();case 7:var b=_.D(a,_.yL,7);a=_.D(b,_.Vx,1);b=b.Dr();return a&&b?(a=_.Wx(a).getTime(),_.Wx(b).getTime()+"--"+a):"";default:return""}},bJc=function(){aJc||(aJc=new $Ic);return aJc},aJc;
var cJc=function(a,b,c,d){nM.call(this,b.Ij(),b.uk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.Lic(_.fk(b.Pc.$f(),6,1E3));this.ta=c};_.N(cJc,nM);_.g=cJc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.$t()};_.g.dH=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Kr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;nM.prototype.Kr.call(this,a)};
_.g.getData=function(){var a=(new tAc).Ec(this.status);_.Tj(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.Br=function(){var a=bJc().Hz(this.ka,this.O),b=new qAc;a=_.Tj(b,2,a).Ec(this.status);this.ka=_.ya(this.O);return a};_.g.Uj=function(){return!this.We()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.wd=function(){return this.request};_.g.FMa=function(a){this.dispatchEvent(new _.qc(a));this.V=!1};
_.g.byb=function(a,b){this.H=!0;var c=_.Yj(b,_.Otc,1);this.O=this.O.concat(c);this.token=b.oy()||"";0<c.length&&(this.changed=!0);this.$t();this.page(a)};_.g.uyb=function(a){bJc();this.H=!0;var b=_.Yj(a,_.Otc,1);YK(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.oy()||"",this.changed=!0,this.$t(),this.page()):(this.V=!1,dJc(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Uj()&&this.O.length<this.limit?this.ta(this.request,this.limit-this.O.length,this.token).Rf(_.Db(this.byb,a),this.FMa,this):(this.V=!1,a&&a.callback(),dJc(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.ta(this.request,this.limit).Rf(this.uyb,this.FMa,this))};_.g.$t=function(){if(this.active){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))}};
_.g.IL=function(){this.We()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.iP=function(){this.active&&this.Uj()&&!this.V&&this.page(new _.Vh)};var dJc=function(a){_.R(a.request,3)||(_.KH(a.ma),_.n.setTimeout((0,_.u)(a.poll,a),a.ma.Ya()))};cJc.prototype.hc=function(){return this.O.length};
var eJc=function(){};_.g=eJc.prototype;_.g.FM=function(a,b){return vAc(uAc(1),a).setPosition(b)};_.g.DM=function(a,b){return vAc(uAc(2).setPosition(b),a)};_.g.KE=function(a,b,c){return vAc(uAc(3).Sy(b).setPosition(c),a)};_.g.xQ=function(a,b){return vAc(uAc(4),a).setPosition(b)};_.g.fN=function(a){return _.D(a,_.cM,2)};
var fJc=function(){_.SH.call(this,new eJc,function(a){return a.getId()})};_.N(fJc,_.SH);var hJc=function(){gJc||(gJc=new fJc);return gJc},gJc;
var iJc=function(a,b,c){nM.call(this,b.Ij(),b.uk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.Lic(_.fk(b.Pc.$f(),54,1E3));this.ma=c};_.N(iJc,nM);_.g=iJc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.$t()};_.g.dH=function(){this.poll()};_.g.getData=function(){var a=new DAc;a=_.Tj(a,2,this.O).Ec(this.status);this.ka=_.ya(this.O);return a};_.g.Br=function(){var a=hJc().Hz(this.ka,this.O),b=new BAc;a=_.Tj(b,2,a).Ec(this.status);this.ka=_.ya(this.O);return a};
_.g.Uj=function(){return!this.We()&&!this.H};_.g.poll=function(){var a=new _.Vh;this.ma(this.request).Rf(_.Db(this.Aab,a),_.Db(this.zab,a),this);return a};_.g.zab=function(a,b){this.dispatchEvent(new _.qc(b));a.Jd(b);jJc(this)};_.g.Aab=function(a,b){this.H=!0;b=_.Yj(b,_.cM,2);YK(hJc(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.$t();a.callback();jJc(this)};
_.g.$t=function(){if(this.active){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))}};_.g.iP=function(){};var jJc=function(a){a.active&&(_.n.setTimeout((0,_.u)(a.poll,a),a.V.Ya()),_.KH(a.V))};iJc.prototype.hc=function(){return this.O.length};
var kJc=function(){};_.g=kJc.prototype;_.g.FM=function(a,b){return yzc(xzc(1),a).setPosition(b)};_.g.DM=function(a,b){return yzc(xzc(2).setPosition(b),a)};_.g.KE=function(a,b,c){return yzc(xzc(3).Sy(b).setPosition(c),a)};_.g.xQ=function(a,b){return yzc(xzc(4),a).setPosition(b)};_.g.fN=function(a){return _.D(a,_.Hk,2)};
var lJc=function(){_.SH.call(this,new kJc,function(a){return a.getId()})};_.N(lJc,_.SH);_.Jf(lJc);
var GM=function(a,b,c){_.P.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.N(GM,_.P);GM.prototype.yi=function(a){this.limit=a};GM.prototype.dh=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():mJc(this)};GM.prototype.Eka=function(){return this.permissions};
var mJc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.lJ;c=_.J(c,3,a.request);c=_.y(c,2,a.nextPageToken);b=_.y(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};GM.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Zn()||"";a=_.Yj(a.od(),_.Hk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return mJc(this);this.dispatchEvent("Fb")};
GM.prototype.handleError=function(a){this.H=!1;a=new IL(_.uI(a),_.fk(this.context.Pc.$f(),1,1));this.dispatchEvent(a)};
var nJc=function(a,b,c,d){nM.call(this,b.Ij(),b.uk(),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 GM(b,this.request,this.ma);_.ze(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.N(nJc,nM);_.g=nJc.prototype;_.g.activate=function(){nM.prototype.activate.call(this);this.$t()};_.g.dH=function(){this.query()};_.g.Kr=function(a){nM.prototype.Kr.call(this,a||100)};
_.g.getData=function(){var a=new $K;a=_.Tj(a,2,this.permissions.slice(0,this.limit)).Ec(this.status);this.ka=_.ya(this.permissions);return a};_.g.Br=function(){var a=lJc.tb().Hz(this.ka,this.permissions),b=new Fzc;a=_.Tj(b,2,a).Ec(this.status);this.ka=_.ya(this.permissions);return a};_.g.Uj=function(){var a;(a=!this.We())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.wd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new GM(this.context,this.request,this.ma);this.O.yi(this.limit);return this.O.dh().then(function(){return oJc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){nM.prototype.handleError.call(this,a);pJc(this)};var oJc=function(a){a.H=!0;var b=a.O.Eka();YK(lJc.tb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.$t();pJc(a)};
nJc.prototype.$t=function(){if(this.active){var a=this.status;this.IL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.ii(_.Cc,this))}};nJc.prototype.iP=function(){var a=this;this.O.yi(this.limit);this.O.dh().then(function(){return oJc(a)},function(b){return a.handleError(b)})};var pJc=function(a){if(a.active){var b=a.context.Pc.$f();a.V=_.n.setTimeout((0,_.u)(a.query,a),Math.ceil(_.fk(b,7,9E5)*Math.random())+_.fk(b,15,36E5))}};nJc.prototype.hc=function(){return this.permissions.length};
var qJc=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.ii(_.Cc,a))},0)};
var rJc=function(){},sJc=function(a,b){BM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=rJc;this.H=null;this.id=String(_.Da(this))};_.N(sJc,BM);sJc.prototype.M$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(QK(a,b,jM)))};sJc.prototype.dh=function(a){a=void 0===a?rJc:a;if(!this.H){this.O=a;var b=_.Th();this.H=b;this.send("10.1",[this.request],function(c,d){return QK(c[0],d,jM)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
sJc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var tJc=function(a,b,c){_.P.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.Eu={};this.O={};_.ze(this,function(){d.H("7.6",[])})};_.N(tJc,_.P);_.g=tJc.prototype;_.g.getId=function(){return this.instanceId};_.g.wQ=function(){return _.UH()};
_.g.upload=function(a,b){!_.B(a,26)&&b&&b.lastModified&&_.y(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.Lgc;_.y(d,1,b.size);_.J(a,15,d);this.O[a.hj()]=b}return this.H("7.1",[a,c],function(e,f){return QK(e[0],f,_.GJ)})};_.g.cancel=function(a){this.H("7.2",[a])};_.g.tG=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 _.Vh;c=this.wQ();this.Eu[c]=b;b=_.Ra(b);this.H("7.4",[c].concat(_.od(a)));return b};_.g.CM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.od(b)),function(d){return Lmc(d[0])}).addCallback(function(d){return c.V.addCallback(function(e){return e.U2a(d)})})};var uJc=function(a,b,c,d){if(a.Eu[b]&&a.Eu[b][c]){var e=a.Eu[b][c];d instanceof _.GJ?e.callback(d):e.Jd(d);delete a.Eu[b][c];_.Ua(a.Eu[b])&&delete a.Eu[b]}};
var vJc=function(a,b){BM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.N(vJc,BM);var wJc=function(a){var b=_.UH(),c=new tJc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.ze(c,function(){return void a.H.delete(b)});return c};
vJc.prototype.M$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.O[d];a.H("7.7",[d,_.Rec(c,b,Math.min(c.size,b+e))]);break;case 0:b=QK(e[1],b,_.GJ);uJc(a,d,e[0],b);break;case 1:b=new _.pc(void 0,QK(e[1],b,_.oc));uJc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.cjc(d,e[0],e[1]));break;default:throw Error("Jg");}}};
var xJc=function(a,b){if(0===a.length)throw new _.pc("mutateUserPref requires a namespace.",_.II(3));var c=null;b instanceof _.yD?c=(b=(b=_.D(b,_.kp,1))&&b.getKey())&&_.lp(b)||null:b instanceof _.xD&&(c=(b=b.getKey())&&_.lp(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.pc("mutateUserPref unsupported for namespace: "+c,_.II(3));};
var yJc=function(a){this.H=a};
var snc=function(a){BM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(zJc=_.Th()).promise);var b=this;this.ho=null;this.Ka=this.Pa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.Bn;this.Ha=new _.Bn;this.V=zJc;zJc=void 0;this.context=a;vHc(this.context,new UIc(this.V.promise));Wpc(this.context.Mg,_.Sd(this.context.Pc,28));this.H=this.context.Ffa;this.O=new XHc(this.V.promise,this.context,this.H);this.nb=new vJc(this.V.promise,this.context.kQ);this.Fa=new SIc(this.V.promise,this.context);
this.Sc=new _.Ie(this);this.Ma(this.Sc);this.Sc.listen(this.context.uk(),[].concat(_.od(Object.values(_.qB))),function(c){return void b.dispatchEvent(c)})},zJc;_.N(snc,BM);
snc.prototype.initialize=function(){var a=this;if(!this.ho){this.ho=_.Qh(this.ta);var b=this.context.Uk().H(106E3);this.ho.then(function(){b&&b.ak();a.J1a()},function(){_.qK(a.context.Uk(),181008852)});var c=_.VJ(this.context.Pc)?"(coldstart) ":"";this.context.Tf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Pc.Li());var d=xmc(this.context.Pc,this.xi(),_.aK(this.context.Mg));AJc(this,d);2===d.H?(c=new FM(new RHc,6,this.context.Tf()),MIc(c,d.O),this.Ha.resolve(c)):
Qmc(this.Fa);this.context.Tf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();tHc(this.context,function(){return BJc(d.channel)})}return this.ho};
var BJc=function(a){return _.Sja([new _.Ph(function(b){a.isDisposed()||GL(a,"8.1",void 0,function(){a.dispose();b()})}),_.vi(1E4)])},AJc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.xi(),fds:_.aK(a.context.Mg)}}):c.registerService("1.1",function(){return CJc(a,b)});2===b.H?a.Ha.promise.then(function(){return void DJc(a,b)}):DJc(a,b);FL(c,"2.1",function(){return{dsc:a.context.Pc.kc()}});FL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new QHc(d.id,
c,a.context.Tf(),d.clients)),d.dsp&&EJc(c),d.ivd&&FJc(a,c)):(d=new _.oc(JSON.parse(d.err)),a.ta.Jd(new _.pc("Unable to initialize dataservice.",d)))});FL(c,"2.15",function(d){a.dispatchEvent(new IAc(d.dt))});FL(c,"2.5",function(d){a.context.Iu(d.id)});FL(c,"2.6",function(d){a.context.Ij().Ml(d.os)});FL(c,"2.18",function(d){a.context.Ij().Ry(d.oois)});FL(c,"2.7",function(){a.ma=!1});FL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new wqc(d.au?"ib":"jb"))});FL(c,"2.19",function(d){a.context.uk().update(d.cs)});
FL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.yt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Tf().config(e,d);break;case "fine":_.ZJ(a.context.Tf(),e,d,"fine");break;case "finer":_.ZJ(a.context.Tf(),e,d,"finer");break;case "finest":_.ZJ(a.context.Tf(),e,d,"finest");break;case "info":a.context.Tf().info(e,d);break;case "warning":case "severe":Tpc(a.context.Tf(),e,d);break;default:Tpc(a.context.Tf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),Tpc(a.context.Tf(),
e,d)}});FL(c,"2.10",function(d){return void a.K$(d)});FL(c,"2.12",function(){a.Ka=!0;HM(a)});FL(c,"2.14",function(){return a.$a.resolve()});FL(c,"2.16",function(){return a.Ta=!0});FL(c,"2.17",function(d){a.context.Tf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},DJc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",CJc(a,b));GL(b.channel,"8.4",{dsc:a.context.Pc.kc()});EJc(b.channel);FJc(a,b.channel)},EJc=function(a){_.n._DRIVE_dsp&&GL(a,"8.3",{dsp:GJc(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];GL(a,"8.3",{dsp:GJc(c)})}}},FJc=function(a,b){_.T(a.context.Pc,24,!1)&&(_.n._DRIVE_ivd?GL(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&GL(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},CJc=function(a,b){var c={};if(1===b.H){var d=new _.MPa(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.Pc.Li(),
ufds:b.V}};snc.prototype.xi=function(){var a=_.Uj(_.Uj(_.PH(this.context.Pc.clone(),28),44),91),b=new _.$H;b.update(_.TJ(_.hI(a)));b.update(String(_.vI(_.hI(a))));b.update(a.kc());return _.Ubc(b.digest())};var GJc=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=snc.prototype;_.g.K$=function(a){this.dispatchEvent(new _.qc(new _.pc(void 0,new _.oc(JSON.parse(a.p)))))};
_.g.query=function(a){HM(this);Cuc(this.context.Nm,a,Upc(this.context.Mg));this.qF();var b=this.O.axa(a);this.Pa||(a=a.ze(),a&&121===_.B(a,1)||(this.Pa=!0,this.Sc.listen(b,_.Cc,this.GMa)));return b};_.g.GMa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Fa.H=this.Ta,this.Sc.Yc(a,_.Cc,this.GMa))};_.g.Hq=function(a){HM(this);Auc(a);this.qF();return this.O.Ywa(a)};
_.g.Yua=function(a,b){var c=this;HM(this);if(this.ka&&_.ek(this.ka.wd(),a))return this.ka;this.ka=new cJc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return QK(h[0],k,Qtc)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.MFa=function(a,b){var c=this;HM(this);if(this.ha&&_.ek(this.ha.wd(),a))return qJc(this.ha),this.ha;this.ha=new nJc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return QK(e[0],f,Gzc)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.faa=function(a){HM(this);return this.send("3.14",[a],function(b,c){return QK(b[0],c,hM)})};_.g.z8=function(a){HM(this);return this.send("3.15",[a],function(b,c){return QK(b[0],c,hM)})};
_.g.xd=function(a){HM(this);!this.ma&&_.HJ(a)&&(this.ma=!0);a=zmc(a);return this.send("3.3",[a],function(b,c){return QK(b[0],c,_.GJ)})};_.g.bO=function(a){HM(this);a=Jmc(a);return this.send("3.35",[a],function(b,c){return QK(b[0],c,_.vqc)}).then()};_.g.qz=function(a){HM(this);for(var b=0;b<a.length;b++)!this.ma&&_.HJ(a[b])&&(this.ma=!0);a=Cmc(a);return this.send("3.4",[a],function(c,d){return Suc(c[0],d).get()})};_.g.Xwa=function(){HM(this);return wJc(this.nb)};
_.g.xSa=function(a){HM(this);return new TIc(this.V.promise,a)};_.g.zr=function(a,b){var c=this;HM(this);var d=_.Ng();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=QK(e[0],f,JL);return new _.lK(f,e[1],e[2])}).addCallback(function(e){jvc(c.H,d,e);return e.response}).Rg(function(e){HL(c.H,d);return e})};_.g.yr=function(a){HM(this);return this.send("3.10",[a],function(b,c){return QK(b[0],c,Dzc)})};
_.g.haa=function(a){HM(this);return this.send("3.11",[a],function(b,c){return QK(b[0],c,Hzc)})};_.g.x8=function(a){HM(this);return this.send("3.12",[a],function(b,c){return QK(b[0],c,Hzc)})};_.g.nT=function(a){HM(this);return this.send("3.13",[a],function(b,c){return QK(b[0],c,Hzc)})};
_.g.AN=function(a,b){var c=this;HM(this);var d=_.Ng();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=QK(e[0],f,_.lM);return new _.oK(f,e[1],e[2])}).addCallback(function(e){jvc(c.H,d,e);return e.response}).Rg(function(e){HL(c.H,d);return e})};
_.g.bH=function(a,b){var c=this,d=_.Sd(this.context.Pc.$f(),30);if(!d||0===d.length)return _.ci(new _.pc("getUserPrefs requires a namespace.",_.II(3)));0===_.Sd(a,3).length&&Wmc(a,d);HM(this);var e=_.Ng();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=QK(f[0],h,_.Qz);return new _.nK(h,f[1],f[2])}).addCallback(function(f){jvc(c.H,e,f);return f.response}).Rg(function(f){HL(c.H,e);return f})};
_.g.cS=function(a){HM(this);xJc(_.Sd(this.context.Pc.$f(),30),a);a=Gmc(a);return this.send("3.6",[a],function(b,c){return QK(b[0],c,Izc)})};_.g.ou=function(a){HM(this);return this.send("3.16",[a],function(b,c){return QK(b[0],c,kqc)})};_.g.FBa=function(){return this.ma};_.g.Ml=function(a){HM(this);this.send("3.8",[a])};_.g.Ry=function(a){HM(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.sY=function(a){HM(this);uHc(this.context).sY(a);this.Ry(!!a)};
_.g.qF=function(){HM(this);this.send("3.9",[])};_.g.eS=function(){HM(this);this.send("3.41",[]);this.context.eS();var a=cqc(this.context.Uk(),106006);a&&this.V.promise.then(function(b){var c=_.D(_.gK(a),xpc,6);if(!c){c=new xpc;var d=_.gK(a);_.J(d,6,c)}c=_.y(c,1,b.clientId);_.y(c,2,b.O);a.ak()},function(){})};_.g.xB=function(){HM(this);return this.context.xB()};_.g.pQ=function(){HM(this);return _.Qh(this.send("3.19",[],function(a,b){return QK(a[0],b,Vuc)}))};_.g.isConnected=function(){return this.context.uk().isConnected()};
_.g.T7=function(){return this.send("3.46",[],function(a,b){return QK(a[0],b,_.zic)}).then()};_.g.H9=function(){return this.Fa};_.g.sync=function(){HM(this);return this.send("3.28",[]).then()};_.g.Ku=function(){return this.context.Ku()};_.g.qY=function(a){this.Ha.promise.then(function(b){return void b.qY(a)})};_.g.Mda=function(a){HM(this);return this.O.hxa(a)};_.g.ZY=function(a){HM(this);return this.O.gxa(a)};_.g.JFa=function(a){HM(this);Fuc(this.context.Nm,a,Upc(this.context.Mg));return this.O.dxa(a)};
_.g.$pa=function(a){HM(this);return new sJc(this.V.promise,a)};_.g.Mva=function(a){var b=this;HM(this);if(!this.W||this.W.isDisposed())this.W=new iJc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return QK(d[0],e,DAc)})});return this.W};_.g.tGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Qh()};_.g.y8=function(a){HM(this);return this.send("3.22",[a],function(b,c){return QK(b[0],c,EAc)})};
_.g.FV=function(a){HM(this);return this.send("3.25",[a],function(b,c){return QK(b[0],c,zAc)})};_.g.zba=function(){return this.$a.promise};_.g.Wna=function(a){var b=_.Th();this.send("3.30",[a],function(c,d){c[0]?b.resolve(QK(c[0],d,GAc)):b.reject(new _.pc(void 0,QK(c[1],d,_.oc)))}).Rg(function(c){return void b.reject(c)});return b.promise};_.g.nwa=function(a){HM(this);return this.O.Uwa(a)};_.g.S7=function(a){HM(this);return this.send("3.42",[a],function(b,c){return QK(b[0],c,Erc)}).then()};
_.g.lP=function(a){HM(this);var b=new _.Bn;this.send("3.39",[a],function(c,d){return c.map(function(e){return QK(e,d,uvc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new yJc(b.promise))};_.g.dGa=function(a){var b=this;HM(this);return new WIc(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new Xtc(QK(d[0],e,iM),d[1])}).then()})};
_.g.eGa=function(a){HM(this);return this.send("3.38",[a],function(b,c){return QK(b[0],c,Qzc)}).then()};_.g.eLa=function(a){HM(this);return this.O.lxa(a)};_.g.Uqa=function(a){HM(this);return this.O.kxa(a)};_.g.tJa=function(a){var b=this;HM(this);return new XIc(this.context,a,function(){return b.send("3.40",[a],function(c,d){return QK(c[0],d,_.GK)}).then()})};_.g.uJa=function(a){HM(this);return this.O.exa(a)};_.g.L_=function(a){HM(this);this.send("3.43",[a])};
_.g.r0=function(a){HM(this);return this.send("3.44",[a],function(b,c){return QK(b[0],c,rrc)}).then()};_.g.To=function(a){HM(this);if(1!==_.UJ(this.context.Pc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Dc())return Promise.reject(Error("Lg"));if(!c.vk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.J1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.vi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Sja(b).then(function(c){c?_.ti(a.J1a.bind(a),6E4):(a.Ka=!0,HM(a))})}};var HM=function(a){a.Ka&&a.dispatchEvent(new hBc)};
var unc=function(a){pM.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.Th();this.H=a.Wm()};_.N(unc,pM);unc.prototype.iSa=function(){this.Ha=new cIc(this.context);this.Ma(this.Ha);this.Ka=new gIc(this.context);this.Ma(this.Ka);this.Pa=new nIc(this.context);this.Ma(this.Pa)};
unc.prototype.$a=function(){var a=this,b=["hVFf7"];_.VJ(this.context.Pc)&&b.push("BNEDtc");NL(this.O,b,function(){return void a.dXa()});NL(this.O,["T8oKm","ZA9qG"],function(){return void HJc(a)});NL(this.O,["T8oKm","mrK8ic"],function(){return void HJc(a)});this.Sc.listen(this.Ha,"WPi0i",this.Gsa.bind(this,1));this.Sc.listen(this.Ka,"Qb",this.Gsa.bind(this,2));this.Sc.listen(this.Pa,"WPi0i",this.Gsa.bind(this,4));NL(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var HJc=function(a){tM(a.context).addCallback(function(b){b.start()})};
_.g=unc.prototype;_.g.Gsa=function(a){_.pa(src,a)&&this.dispatchEvent(new IAc(a))};_.g.ZY=function(a){return this.V.gxa(a.clone())};_.g.JFa=function(a){Fuc(this.context.Nm,a,Upc(this.context.Mg));return this.V.dxa(a.clone())};_.g.Mda=function(a){return this.V.hxa(a.clone())};_.g.$pa=function(a){return new EIc(a,this.context.Wm())};
_.g.Yua=function(a,b){var c=this;if(this.ta&&_.ek(this.ta.wd(),a))return this.ta;this.ta=new cJc(a.clone(),this.context,this.Ikb.bind(this),b);_.n.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.Ikb=function(a,b,c){var d=new _.ffc(a,b,c);return _.bi(this.H.then(function(e){return e.Te(d)}).wg(function(e){return _.KI(e)}))};_.g.Mva=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new iJc(a,this.context,function(c){return IJc(b,c)});return this.ha};var IJc=function(a,b){return _.bi(a.H.then(function(c){return c.Te(b)}).wg(function(c){return _.KI(c)}))};
_.g=unc.prototype;_.g.tGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Qh()};_.g.FV=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}))};_.g.y8=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}))};_.g.MFa=function(a,b){var c=this;if(this.ka&&_.ek(this.ka.wd(),a))return qJc(this.ka),this.ka;this.ka=new nJc(a.clone(),this.context,this.WKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.WKb=function(a){var b=this;return this.H.then(function(c){return c.Te(a)}).then(function(c){return _.mI(b.context.Pc)?Hwc(b.context.wf.zq,_.Yj(c.od(),_.Hk,2),a.wd().getId()).then(function(){return c}):c},_.KI)};_.g.faa=function(a){var b=this;return _.bi(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.mI(b.context.Pc)?Hwc(b.context.wf.zq,[_.D(c,_.Hk,2)],a.Dc()).then(function(){return c}):c},_.KI))};
_.g.z8=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};_.g.nwa=function(a){return this.V.Uwa(a.clone())};_.g.S7=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.KI)};_.g.lP=function(a){return this.H.then(function(b){return b.Te(a)}).then(function(b){var c=new _.Bn;Swc(a,b).then(function(d){return c.resolve(d)});return new yJc(c.promise)},function(b){return void _.KI(b)})};_.g.dGa=function(a){var b=this;return new WIc(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).wg(function(d){return _.KI(d)})})};
_.g.eGa=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.KI)};_.g.xd=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};_.g.bO=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.KI)};_.g.qz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.MI?c.push(String(f.Dc())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.ro(d);var e=new _.Vh;a.addCallback(this.knb.bind(this,e,c));return e};
_.g.Xwa=function(){return new tIc(this.context.Pc,this.context.PA,this.context.hR().Efa,this.context.Wm(),this.context.kQ,this.context.Tf(),this.context.Uk())};_.g.zr=function(a,b){var c=this,d=_.Ng();this.W.create(d,a);3===a.getType()?a=pM.prototype.zr.call(this,a).addCallback(function(e){return new _.lK(e,1,!1)}):(OL(this.O,"Qubz4b"),a=this.Ka.enqueue(new lIc(a,b)));return a.addCallback(function(e){jvc(c.W,d,e);return e.response}).Rg(function(){HL(c.W,d)})};
_.g.yr=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};_.g.haa=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};_.g.x8=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};_.g.nT=function(a){return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};
_.g.AN=function(a,b){var c=this;OL(this.O,"iuEtc");var d=_.Ng();this.W.create(d,a);return this.Ha.enqueue(new eIc(a,b)).addCallback(function(e){jvc(c.W,d,e);return e.response}).Rg(function(){HL(c.W,d)})};
_.g.bH=function(a,b){var c=this,d=_.Sd(this.context.Pc.$f(),30);if(!d||0===d.length)return _.ci(new _.pc("getUserPrefs requires a namespace.",_.II(3)));0===_.Sd(a,3).length&&Wmc(a,d);var e=_.Ng();this.W.create(e,a);OL(this.O,"OZvrNc");return this.Pa.enqueue(new qIc(a,b)).addCallback(function(f){jvc(c.W,e,f);return f.response}).Rg(function(){HL(c.W,e)})};_.g.cS=function(a){xJc(_.Sd(this.context.Pc.$f(),30),a);return _.bi(this.H.then(function(b){return b.Te(a)}).then(null,_.KI))};
_.g.ou=function(a){var b=this;return _.bi(this.H.then(function(c){return c.Te(a)}).then(function(c){return _.mI(b.context.Pc)?Fwc(b.context.wf.zq,c):c},_.KI))};_.g.eLa=function(a){return this.V.lxa(a.clone())};_.g.Uqa=function(a){return this.V.kxa(a.clone())};_.g.tJa=function(a){var b=this;return new XIc(this.context,a,function(c){return b.H.then(function(d){return d.Te(c)}).wg(function(d){return _.KI(d)})})};_.g.uJa=function(a){return this.V.exa(a.clone())};
_.g.L_=function(a){XCc(this.context.wf,[a])};_.g.r0=function(a){return this.H.then(function(b){return b.Te(a)}).then(null,_.KI)};_.g.To=function(a){if(1!==_.UJ(this.context.Pc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Dc())return Promise.reject(Error("Lg"));if(!c.vk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.wf.To(a);HDc(this.context.wf);return Promise.resolve()};_.g.FBa=function(){return this.context.hR().hK()};
_.g.Ry=function(a){var b=this;return this.context.Ry(a).then(function(c){return c?(b.context.Ij().Ry(a),b.context.Us.nL()):_.Qh(!a)})};_.g.sY=function(a){uHc(this.context).sY(a);this.Ry(!!a)};_.g.qF=function(){tM(this.context).addCallback(function(a){a&&a.zoa()});this.context.lha.qF()};_.g.qY=function(a){a.Zi(this.context)};_.g.knb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];HDc(this.context.wf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Sh([this.context.daa.promise,this.context.Gfa.promise]).then(function(){return a.context.Us.nL()}).then()};_.g.Ku=function(){tM(this.context).addCallback(function(a){a&&a.dispose()});return pM.prototype.Ku.call(this)};_.g.zba=function(){return this.kb.promise};
var JJc=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.I)(a+"Reload</button>")};
_.zn({id:_.Zl,callback:function(a){var b=_.Dlc(a),c=xnc(a),d=_.D(a.get(_.Xc),_.Xb,10);_.Ggc(d,b);_.Qj(d,28,c);b=vnc(a,d);a.registerService(_.$l,b.H9());_.Oe(b,"VbxEwf",function(){var e={};_.zc(_.Pt.getService(a),new _.oq(new _.nq(JJc,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.KJc=function(a,b){return _.J(a,17,b)};_.LJc=function(a,b){return _.y(a,2,b)};_.MJc=function(a,b){return _.y(a,1,b)};_.NJc=function(a,b){return _.J(a,2,b)};_.OJc=function(a,b){return _.Tj(a,1,b)};_.PJc=function(a,b){return _.Qj(a,1,b)};_.QJc=function(a,b){return _.Tj(a,2,b)};_.RJc=function(a,b){return _.J(a,3,b)};_.t("RsR2Mc");


_.w();

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