this._D=this._D||{};(function(_){var window=this;
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{
_.Lsb=function(a){a=parseInt(_.C(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.Nsb=function(a,b,c,d){var e=_.Je.getService(a);a=e.mg(a,c);_.Msb(a.H.Sk,b,d);e.eg(a)};_.Msb=function(a,b,c){var d=new _.Osb;b.aV&&_.A(d,2,b.aV);b.tG&&0<=b.tG&&_.A(d,1,b.tG);b.quotaType&&_.A(d,3,b.quotaType);_.Psb(a,d);c&&(b=new _.Qsb,_.A(b,1,c),_.Rsb(a,b))};_.Ssb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.Tsb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.Psb=function(a,b){b&&(a=a.ad(),_.x(a,29,b))};_.Rsb=function(a,b){b&&(a=a.ad(),_.x(a,38,b))};_.Osb=function(a){_.P(this,a,-1,null,null)};_.L(_.Osb,_.K);_.Qsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Qsb,_.K);_.Qsb.prototype.Oh=function(){return _.C(this,1)};_.Usb=function(a,b,c,d,e,f,h){return(0,_.J)(_.Gn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Js:e,size:f,Xd:h},a))};_.t("sy11m");
_.Wsb=function(a,b,c){var d=_.F(a.get(_.VCa),1,""),e=_.Lsb(b);d=new _.aj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.cj(_.ij(_.ij(_.ij(_.ij(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.Vsb(a,e,c)),-1!=parseInt(String(_.E(b,_.vx,2)),10)?"upgrade":"")};
_.Vsb=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"}}};
_.Xsb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.C(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.w();

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

var Dzb=_.Vsb,Ezb=_.Wsb,Fzb=_.Xsb;_.Vsb=function(a,b,c){return"over"==b&&_.Pl(a.get(_.ac))?"widget_trial":Dzb(a,b,c)};_.Wsb=function(a,b,c){c=Ezb(a,b,c);"over"===_.Lsb(b)&&_.Pl(a.get(_.ac))&&_.ij(c,"eft","1");return c};_.Xsb=function(a,b,c){b=Fzb(a,b,c);a=_.Pl(a.get(_.ac));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("emh");


_.w();

}catch(e){_._DumpException(e)}
try{
var zsb,Csb;zsb=[4,5,6,7];_.SA=function(a){_.P(this,a,-1,null,null)};_.L(_.SA,_.K);_.SA.prototype.Bb=function(){return _.C(this,1)};_.SA.prototype.Cc=function(a){return _.A(this,1,a)};_.SA.prototype.O$=function(){return _.C(this,2)};_.SA.prototype.Xb="JmcaR";_.Asb=function(a){_.P(this,a,-1,null,null)};_.L(_.Asb,_.K);_.Asb.prototype.O=function(){return _.R(this,1)};_.Asb.prototype.Xb="dvhrqe";_.Bsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Bsb,_.K);_.Bsb.prototype.fu=function(){return _.C(this,2)};
_.Bsb.prototype.FWa=function(){return _.C(this,3)};Csb=[5];_.Dsb=function(a){_.P(this,a,-1,null,null)};_.L(_.Dsb,_.K);_.Esb=function(a){_.P(this,a,-1,Csb,null)};_.L(_.Esb,_.K);_.g=_.Esb.prototype;_.g.f_=function(){return _.C(this,1)};_.g.fU=function(){return _.C(this,3)};_.g.pR=function(){return _.ck(this,_.Bsb,5)};_.g.wn=function(){return _.C(this,6)};_.g.kv=function(){return _.C(this,7)};_.g.ny=function(){return _.C(this,10)};_.g.vAb=function(){return _.Q(this,16)};_.g.Xb="dzR11e";
_.Fsb=function(a){_.P(this,a,-1,zsb,null)};_.L(_.Fsb,_.K);_.Fsb.prototype.O=function(){return _.E(this,_.Esb,1)};_.Fsb.prototype.pN=function(){return _.E(this,_.SA,8)};_.Fsb.prototype.V=function(){return _.E(this,_.Asb,9)};_.t("sy11i");
_.TA=function(a){_.P(this,a,-1,Gsb,null)};_.L(_.TA,_.K);_.TA.prototype.getUser=function(){return _.E(this,_.Dk,1)};_.TA.prototype.getMetadata=function(){return _.E(this,_.Fsb,3)};_.TA.prototype.$o=function(){return _.Q(this,3)};var Gsb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11j");
var olb;_.Sz=function(a){_.P(this,a,-1,olb,null)};_.L(_.Sz,_.K);_.Sz.prototype.O=function(){return _.Pd(this,1)};_.Tz=function(a,b){return _.Pj(a,1,b)};_.Sz.prototype.jn=function(){return _.Pd(this,2)};_.Uz=function(a,b){return _.Pj(a,2,b)};_.Sz.prototype.we=function(){return _.E(this,_.of,3)};_.Vz=function(a,b){return _.x(a,3,b)};_.plb=function(a,b){return _.A(a,5,b)};olb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.UA=function(a){return a instanceof _.nc?a:a instanceof _.mc?new _.nc(void 0,a):a instanceof Error?new _.nc(a.message,void 0,a):new _.nc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.Hsb=function(a){return a instanceof Error?_.UA(a).Qg:a instanceof _.nc?a.Qg:a};_.Isb=function(a){var b;(b="true"==_.Hr(_.vd(a),"isAdd"))||(a=_.vd(a),b=_.ah?a.altKey:a.ctrlKey);return b};
_.Jsb=function(a){if("ja"==a.type)return _.Isb(a)?"copy":"move";var b=_.vd(a),c=_.UHa(b);return"drop"==b.type&&c?"copy"==c.dropEffect||"link"==c.dropEffect||"move"==c.dropEffect?c.dropEffect:_.Isb(a)?"copy":"move":"none"};_.Ksb=function(a,b){_.OHa=a;_.PHa=new _.om(b)};_.VA=function(a){switch(a.type){case "dragstart":case "ia":return"start";case "dragend":case "ea":return"end";case "dragenter":case "fa":return"enter";case "dragleave":case "ga":return"leave";case "dragover":case "ha":return"over";case "drop":case "ja":return"drop"}};
_.t("sy11l");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11n");
_.WA={HL:"eb",wha:"fb",FU:"gb",EU:"hb"};_.Ysb=new Map([[_.WA.HL,1],[_.WA.wha,2],[_.WA.FU,2],[_.WA.EU,3]]);

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var Gwb;_.Fwb=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")};Gwb=function(a){var b=_.paa(_.gEa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.Hwb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.gEa[a.name]):(this.code=a=a.code,this.name=Gwb(a));_.ea.call(this,_.Fwb("%s %s",this.name,b))};_.Kf(_.Hwb,_.ea);var Iwb=function(a,b){_.gi.call(this,a.type,b)};
_.Kf(Iwb,_.gi);_.t("sy15b");
/*

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy163");
_.qC=function(a){_.P(this,a,-1,null,null)};_.L(_.qC,_.K);_.qC.prototype.ha=function(){return _.Mj(this,1)};_.qC.prototype.V=function(){return _.Mj(this,2)};_.qC.prototype.O=function(){return _.Mj(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.krb=function(a){_.P(this,a,-1,null,null)};_.L(_.krb,_.K);_.krb.prototype.O=function(){return _.C(this,1)};_.krb.prototype.Bb=function(){return _.C(this,2)};_.krb.prototype.Cc=function(a){return _.A(this,2,a)};_.krb.prototype.V=function(){return _.C(this,3)};_.t("sy17o");
_.mrb=function(a){_.P(this,a,-1,lrb,null)};_.L(_.mrb,_.K);_.mrb.prototype.O=function(){return _.Pd(this,1)};var lrb=[1];
_.orb=function(a){_.P(this,a,-1,nrb,null)};_.L(_.orb,_.K);_.orb.prototype.O=function(){return _.ck(this,_.krb,1)};var nrb=[1];
_.qrb=function(a){_.P(this,a,-1,prb,null)};_.L(_.qrb,_.K);_.qrb.prototype.O=function(){return _.ck(this,_.orb,1)};var prb=[1];
_.rrb=function(a){_.P(this,a,-1,null,null)};_.L(_.rrb,_.K);_.rrb.prototype.V=function(){return _.E(this,_.qrb,1)};_.rrb.prototype.O=function(){return _.E(this,_.mrb,2)};
_.KA=function(a){_.P(this,a,-1,srb,null)};_.L(_.KA,_.K);_.g=_.KA.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Gd=function(){return _.ck(this,_.Wk,2)};_.g.Vw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.g.$j=function(){return _.C(this,3)};_.g.kl=function(){return _.S(this,5,!0)};_.g.x6=function(){return _.E(this,_.rrb,7)};_.g.Msa=function(){return _.R(this,8)};_.g.Uf=function(){return _.C(this,17)};
_.g.QP=function(a){return _.A(this,17,a)};_.g.We=function(){return _.C(this,12)};_.g.kj=function(a){return _.A(this,12,a)};_.g.Yn=function(){return _.C(this,15)};_.g.Mka=function(){return _.Pd(this,18)};var srb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18v");
_.eD=function(a){_.P(this,a,-1,null,null)};_.L(_.eD,_.K);_.eD.prototype.getKey=function(){return _.E(this,_.Rb,1)};_.eD.prototype.Bs=function(){return _.Q(this,1)};_.eD.prototype.we=function(){return _.E(this,_.of,2)};
_.fD=function(a){_.P(this,a,-1,null,null)};_.L(_.fD,_.K);_.fD.prototype.we=function(){return _.E(this,_.of,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18w");
_.dD=function(a){_.P(this,a,-1,$Ab,null)};_.L(_.dD,_.K);_.dD.prototype.we=function(){return _.E(this,_.of,1)};var $Ab=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vD=function(a,b,c){_.N.call(this);this.Ln=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Ig=(0,_.v)(this.G$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.Kf(_.vD,_.N);_.g=_.vD.prototype;_.g.ye=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Hf()+this.ka:this.H=_.ui(this.Ig,this.ka)};_.g.stop=function(){this.H&&(_.vi(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.Ln.apply(null,this.ha)))};_.g.Ya=function(){this.stop();_.vD.ub.Ya.call(this)};_.g.G$a=function(){this.H&&(_.vi(this.H),this.H=null);this.W?(this.H=_.ui(this.Ig,this.W-_.Hf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Ln.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1be");
_.GF=function(a){_.P(this,a,-1,null,null)};_.L(_.GF,_.K);_.GF.prototype.getName=function(){return _.C(this,1)};_.GF.prototype.jd=function(a){return _.A(this,1,a)};_.GF.prototype.we=function(){return _.E(this,_.of,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bf");
_.HF=function(a){_.P(this,a,-1,null,null)};_.L(_.HF,_.K);_.g=_.HF.prototype;_.g.Li=function(){return _.C(this,1)};_.g.wi=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};_.g.Xp=function(){return _.C(this,4)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bg");
_.IF=function(a){_.P(this,a,-1,null,null)};_.L(_.IF,_.K);_.IF.prototype.Li=function(){return _.C(this,1)};_.IF.prototype.wi=function(a){return _.A(this,1,a)};_.IF.prototype.we=function(){return _.E(this,_.of,2)};_.IF.prototype.Xb="M7PX9c";

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bh");
_.JF=function(a){_.P(this,a,-1,hTb,null)};_.L(_.JF,_.K);_.JF.prototype.O=function(){return _.Pd(this,1)};_.JF.prototype.jn=function(){return _.Pd(this,2)};_.JF.prototype.we=function(){return _.E(this,_.of,3)};var hTb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.KF=function(a){_.P(this,a,-1,null,null)};_.L(_.KF,_.K);_.g=_.KF.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.C(this,5)};_.g.Nd=function(a){return _.A(this,5,a)};_.g.vt=function(){return _.Q(this,5)};_.t("sy1bi");
_.LF=function(a){_.P(this,a,-1,iTb,null)};_.L(_.LF,_.K);_.LF.prototype.jn=function(){return _.Pd(this,1)};_.jTb=function(a,b){return _.Pj(a,1,b)};_.LF.prototype.we=function(){return _.E(this,_.of,2)};var iTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.MF=function(a,b){return _.A(a,4,b)};_.kTb=function(a,b){_.A(a,11,b)};_.lTb=function(a,b){return _.A(a,25,b)};_.t("sy1bj");

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bn");
_.SF=function(a){_.P(this,a,-1,null,null)};_.L(_.SF,_.K);_.SF.prototype.Ic=function(){return _.C(this,1)};_.bUb=function(a){var b=new _.SF;return _.A(b,1,a)};_.SF.prototype.Li=function(){return _.C(this,2)};_.SF.prototype.wi=function(a){return _.A(this,2,a)};_.SF.prototype.we=function(){return _.E(this,_.of,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.CTb=function(a){_.P(this,a,-1,null,null)};_.L(_.CTb,_.K);_.t("sy1bp");

_.w();

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

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.lH=function(a,b,c,d){this.ha=a;this.W=b;this.H=this.V=a;this.ka=c||0;this.ma=d||2};_.lH.prototype.O=0;_.lH.prototype.reset=function(){this.H=this.V=this.ha;this.O=0};_.lH.prototype.Xa=function(){return this.V};_.mH=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{
_.Aac=function(a,b,c){_.Zi(a.url,function(d){d=d.target;d.wu()?b(d.Uk()):c(d.Bb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.Bac=function(a,b,c,d){return _.F(a,1).split("/").pop()==d?(d=_.C(a,2),Array.isArray(d)?new b(d):c(_.lb(a.Xa()))):null};_.t("sy1f3");
_.Dac=function(a){_.P(this,a,-1,Cac,null)};_.L(_.Dac,_.K);var Cac=[2];
_.Eac=function(a){_.P(this,a,-1,null,null)};_.L(_.Eac,_.K);var Fac=function(){var a=new _.Eac,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.Eac.prototype.Ji=function(){return _.C(this,7)};
_.Gac=function(a){_.P(this,a,-1,null,null)};_.L(_.Gac,_.K);
var Hac;_.nH=function(a){_.P(this,a,31,Hac,null)};_.L(_.nH,_.K);_.oH=function(a,b){return _.A(a,8,b)};Hac=[3,20,27];
var Jac=function(a){_.P(this,a,17,Iac,null)};_.L(Jac,_.K);var Kac=function(a){var b=Date.now().toString();return _.A(a,4,b)},Lac=function(a,b){return _.Cb(a,3,b)},Mac=function(a,b){return _.A(a,14,b)},Iac=[3,5];
var Oac=function(a){_.P(this,a,6,Nac,null)};_.L(Oac,_.K);var Nac=[5];
var Pac=function(a){_.P(this,a,-1,null,null)};_.L(Pac,_.K);
var Qac=new _.sk(175237375,Pac);
_.pH=function(a,b,c,d,e,f,h,k,l,p,q){_.si.call(this);var r=this;this.Ja="";this.O=[];this.Lc="";this.Nb=this.Sb=this.ha=!1;this.Vc=this.kb=-1;this.uc=!1;this.Fa=this.V=null;this.va=0;this.te=1;this.nb=!1;_.si.call(this);this.Yc=a;this.yb=b||_.Ff;this.ka=new Jac;this.Cd=d;this.Fb=q;this.Be=_.tb(_.Nia,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Yd=!k;this.Dc=f||!1;this.oe=!this.Dc&&(_.nj.un&&_.wb(65)||_.nj.Uw&&_.wb(45)||_.nj.Wv&&_.wb(12)||_.Tg()&&0<=_.hg(_.mia(),12))&&!!_.lf()&&
!!_.lf().navigator&&!!_.lf().navigator.sendBeacon;a=_.A(new _.Gac,1,1);f||(f=Fac(),_.x(a,11,f));_.x(this.ka,1,a);_.A(this.ka,2,this.Yc);this.ma=new _.lH(1E4,3E5,.1);this.H=new _.ti(this.ma.Xa());this.Ma(this.H);_.xe(this.H,"tick",_.Wfa(Rac(this,p)),!1,this);this.Ta=new _.ti(6E5);this.Ma(this.Ta);_.xe(this.Ta,"tick",_.Wfa(Rac(this,p)),!1,this);this.Oa||this.Ta.start();this.Dc||(_.xe(_.lf(),"beforeunload",this.oa,!1,this),_.xe(_.lf(),"unload",this.oa,!1,this),_.xe(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&r.oa()}),_.xe(document,"pagehide",this.oa,!1,this))};_.L(_.pH,_.si);var Rac=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.pH.prototype.Ya=function(){this.oa();_.si.prototype.Ya.call(this)};var Sac=function(a){a.Ba||(a.Ba=.01>a.Be()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.pH.prototype.W=function(a){a instanceof _.nH?this.log(a):(a=_.oH(new _.nH,a.Zb()),this.log(a))};
_.Tac=function(a,b){b?(a.V||(a.V=new _.Dac),b=b.Zb(),_.A(a.V,4,b)):a.V&&_.Qj(a.V,4)};_.Uac=function(a,b){a.ma=new _.lH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Xa())};
_.pH.prototype.log=function(a){a=a.clone();var b=this.te++;_.A(a,21,b);this.Ja&&_.A(a,26,this.Ja);if(!_.C(a,1)){b=a;var c=Date.now().toString();_.A(b,1,c)}_.Q(a,15)||_.A(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.x(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Vac(a));this.Oa||this.H.enabled||this.H.start()};
_.pH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Wac(this);else{var d=Date.now();if(this.Vc>d&&this.kb<d)b&&b("throttled");else{var e=Mac(Lac(Kac(this.ka.clone()),this.O),this.va);d={};var f=this.yb();f&&(d.Authorization=f);var h=Sac(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.Zb(),l;this.Fa&&this.Fa.xu(k.length)&&(l=this.Fa.r8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Yd,timeoutMillis:0},q=function(y){c.ma.reset();c.H.setInterval(c.ma.Xa());if(y){var z=null;try{var D=JSON.parse(y.replace(")]}'\n",""));z=new Oac(D)}catch(G){}z&&(y=Number(_.Gma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Vc=c.kb+y),z=_.gk(z,Qac))&&(z=_.Lj(z,1,-1),-1!=z&&(c.uc||_.Uac(c,z)))}a&&a()},r=function(y){var z=_.ck(e,_.nH,3);
_.mH(c.ma);c.H.setInterval(c.ma.Xa());401===y&&f&&(c.Lc=f);if(500<=y&&600>y||401===y||0===y)c.O=z.concat(c.O),c.Oa||c.H.enabled||c.H.start();b&&b("net-send-failed",y)},u=function(){c.Fb?c.Fb.send(p,q,r):c.Cd(p,q,r)};l?l.then(function(y){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=y;p.H=2;u()},function(){u()}):u()}}}};_.pH.prototype.oa=function(){this.ha||(this.Sb&&Wac(this),this.Nb&&Xac(this),this.flush())};
var Wac=function(a){Yac(a,32,10,function(b,c){b=_.Ui(b,"format","json");b=_.lf().navigator.sendBeacon(b,c.Zb());a.nb&&!b&&(a.nb=!1);return b})},Xac=function(a){Yac(a,6,5,function(b,c){b=_.Qi(b,"format","base64json","p",_.oj(c.Zb(),3));_.Bg(new Image,b);return!0})},Yac=function(a,b,c,d){if(0!==a.O.length){var e=_.Hla(Sac(a),"format");e=_.Qi(e,"auth",a.yb(),"authuser",a.Ha||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=Lac(Kac(a.ka.clone()),h);0===f&&Mac(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Vac=function(){_.gi.call(this,"event-logged",void 0)};_.L(Vac,_.gi);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.GH=function(a,b){a.H=b;a.ka=0};_.HH=function(a,b){return _.A(a,b,_.jb([]))};_.ldc=function(a){a.Sb=a.oe};_.t("sy1fb");
_.IH=function(a,b,c,d,e,f,h){_.pH.call(this,a,_.Fbc,b,_.Aac,c,d,e,void 0,f,h)};_.L(_.IH,_.pH);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ie");
_.ERc=function(a){_.P(this,a,-1,null,null)};_.L(_.ERc,_.K);_.g=_.ERc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bs=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};
_.eL=function(a){_.P(this,a,-1,FRc,null)};_.L(_.eL,_.K);_.eL.prototype.Qz=function(){return _.C(this,1)};_.eL.prototype.getUrl=function(){return _.C(this,3)};var FRc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1jy");
var IRc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};IRc.prototype.get=function(a){return JRc(this)[a]||null};IRc.prototype.set=function(a){JRc(this)[this.V(a)]=a;this.O=null};var JRc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.fL=function(a,b){this.H=a;this.hB=b};
_.fL.prototype.Kz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!KRc(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.FM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.GM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&KRc(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++)KRc(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&&KRc(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.GM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.FM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.hB(this.H.jN(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.PE(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.Mi()||0;var q=l.wy()||0;l.setPosition((l.Mi()||0)+LRc(e,l.Mi()||0));d[f].setPosition((d[f].Mi()||0)+c);3==d[f].getType()&&(l.Wy((l.wy()||0)+LRc(e,l.wy()||0)),d[f].Wy((d[f].wy()||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 IRc(a,this.hB);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.hB(f)))&&!_.ik(h||void 0,f||void 0)&&d.push(this.H.EQ(f,e));return c.concat(d)};var LRc=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};
_.fL.prototype.PE=function(a,b){var c=b.Mi()||0;c>(a.Mi()||0)&&--c;return this.H.PE(this.H.jN(b),a.Mi()||0,c)};var KRc=function(a,b,c){return a.hB(b)==a.hB(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.MRc=function(a){_.P(this,a,-1,null,null)};_.L(_.MRc,_.K);_.g=_.MRc.prototype;_.g.getType=function(){return _.C(this,1)};_.g.getItem=function(){return _.E(this,_.Wk,2)};_.g.setItem=function(a){return _.x(this,2,a)};_.g.wy=function(){return _.C(this,3)};_.g.Wy=function(a){return _.A(this,3,a)};_.g.Mi=function(){return _.C(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.NRc=function(a){var b=new _.MRc;return _.A(b,1,a)};_.t("sy1jz");
var ORc=function(){};_.g=ORc.prototype;_.g.GM=function(a,b){return _.NRc(1).setItem(a).setPosition(b)};_.g.FM=function(a,b){return _.NRc(2).setPosition(b).setItem(a)};_.g.PE=function(a,b,c){return _.NRc(3).Wy(b).setPosition(c).setItem(a)};_.g.EQ=function(a,b){return _.NRc(4).setItem(a).setPosition(b)};_.g.jN=function(a){return a.getItem()};
var QRc;_.PRc=function(){_.fL.call(this,new ORc,function(a){return a.getId()})};_.L(_.PRc,_.fL);_.RRc=function(){QRc||(QRc=new _.PRc);return QRc};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.gL=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ala)(a)};_.hL=function(){return"goog_"+_.fia++};_.URc=function(a,b,c,d,e,f){var h=new _.aj(null,void 0);a&&h.qn(a);b&&h.JF(b);c&&h.nn(c);d&&h.AA(d);e&&h.xi(e);f&&_.bj(h,f);return h};_.iL=function(a){return new _.Oh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{A9:!0,value:p}:{A9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Eja(h,_.tb(e,f,!0),_.tb(e,f,!1));else b(d)})};
_.jL=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 _.rq(c,e,d-c,a-e)}return null};_.kL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.kL.prototype.clone=function(){return new _.kL(this.start,this.end)};_.lL=function(a){return a.end-a.start};_.t("sy1kg");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.mL=function(a,b,c){_.N.call(this);this.Ln=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};_.L(_.mL,_.N);_.g=_.mL.prototype;_.g.ye=function(a){this.W=arguments;this.H||this.V?this.O=!0:VRc(this)};_.g.stop=function(){this.H&&(_.vi(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,VRc(this))};_.g.Ya=function(){_.N.prototype.Ya.call(this);this.stop()};
var VRc=function(a){a.H=_.ui(function(){a.H=null;a.O&&!a.V&&(a.O=!1,VRc(a))},a.ha);var b=a.W;a.W=null;a.Ln.apply(null,b)};

_.w();

}catch(e){_._DumpException(e)}
try{
var WRc,ZRc;WRc=[3,42];_.XRc=function(a){_.P(this,a,-1,WRc,null)};_.L(_.XRc,_.K);_.XRc.prototype.getMimeType=function(){return _.C(this,27)};_.YRc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};ZRc=function(a,b){if(b&&a in b)return a;var c=_.bFa();return c?(c=c.toLowerCase(),a=c+_.iia(a),void 0===b||a in b?a:null):null};_.t("sy1kh");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var $Rc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L($Rc,_.gi);
_.aSc=function(a){_.si.call(this);this.ld=a||_.kh();if(this.Fz=this.Asb())this.H=_.xe(this.ld.Vb(),this.Fz,(0,_.v)(this.xab,this))};_.Kf(_.aSc,_.si);_.g=_.aSc.prototype;_.g.Asb=_.Lca(function(){var a=this.xu(),b="hidden"!=this.sAa();if(a){var c;b?c=((_.bFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.sAa=_.Lca(function(){return ZRc("hidden",this.ld.Vb())});_.g.jub=_.Lca(function(){return ZRc("visibilityState",this.ld.Vb())});_.g.xu=function(){return!!this.sAa()};
_.g.CB=function(){return!!this.ld.Vb()[this.sAa()]};_.g.xab=function(){var a=this.xu()?this.ld.Vb()[this.jub()]:null;a=new $Rc(this.CB(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.oi(this.H);_.aSc.ub.Ya.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.nL=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.Kf(_.nL,_.TRc);_.nL.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 bSc=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};
_.nL.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;)bSc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){bSc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){bSc(this,d);e=0;break}}this.O=e;this.V+=b};
_.nL.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 cSc;cSc=[2];_.dSc=function(a){_.P(this,a,-1,cSc,null)};_.L(_.dSc,_.K);_.dSc.prototype.Bb=function(){return _.C(this,1)};_.dSc.prototype.Cc=function(a){return _.A(this,1,a)};_.dSc.prototype.$j=function(){return _.C(this,3)};_.t("sy1l9");
var eSc;_.oL=function(a){_.P(this,a,-1,eSc,null)};_.L(_.oL,_.K);_.oL.prototype.O=function(){return _.Pd(this,1)};_.oL.prototype.we=function(){return _.E(this,_.of,2)};_.fSc=function(a,b){return _.x(a,2,b)};_.oL.prototype.Li=function(){return _.Lj(this,3,20)};_.oL.prototype.wi=function(a){return _.A(this,3,a)};_.oL.prototype.Fm=function(){return _.R(this,4)};_.gSc=function(a,b){return _.A(a,4,b)};eSc=[1];

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.hSc=function(a){_.N.call(this);this.O=a;this.H={};this.O.LO((0,_.v)(this.V,this))};_.Kf(_.hSc,_.N);_.jSc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ie`"+b);if(b in a.H)throw Error("Je`"+b);var c=new iSc(a,b);return a.H[b]=c};_.hSc.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)}};_.hSc.prototype.Ya=function(){_.Ma(this.H,function(a){_.aa(a)});_.aa(this.O);delete this.H;delete this.O};
var iSc=function(a,b){_.N.call(this);this.Og=a;this.H=b};_.Kf(iSc,_.N);_.g=iSc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Og.O.registerService(this.H+":"+a,(0,_.v)(this.FTa,this,b),c)};_.g.LO=function(a){this.O=(0,_.v)(this.FTa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Ke");this.Og.O.send(this.H+":"+a,b)};_.g.FTa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.Og=this.Og.H[this.H]=null};

_.w();

}catch(e){_._DumpException(e)}
try{
var kSc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Mfa);try{delete a[_.Mfa]}catch(b){}},pL=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[_.Mfa]||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++)kSc(c[a]);return b.join("")};_.t("sy1lp");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var lSc,rL,nSc,mSc;_.qL=function(a,b,c){if("number"===typeof a)var d={name:mSc(a)};else d=a,a=nSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.Kf(_.qL,_.ea);_.qL.prototype.getName=function(){return this.O.name||""};rL={Ujb:1,fjb:2,NOT_FOUND_ERR:3,C9a:4,H9a:5,hjb:6,Pjb:7,ABORT_ERR:8,ujb:9,A6b:10,TIMEOUT_ERR:11,rjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.oSc=(_.n.CI||_.n.yL||rL).Ujb;_.pSc=(_.n.CI||_.n.yL||rL).fjb;_.qSc=(_.n.CI||_.n.yL||rL).NOT_FOUND_ERR;
_.rSc=(_.n.CI||_.n.yL||rL).C9a;_.sSc=(_.n.CI||_.n.yL||rL).H9a;_.tSc=(_.n.CI||_.n.yL||rL).hjb;_.uSc=(_.n.CI||_.n.yL||rL).Pjb;_.vSc=(_.n.CI||_.n.yL||rL).ABORT_ERR;_.wSc=(_.n.CI||_.n.yL||rL).ujb;_.xSc=(_.n.CI||_.n.yL||rL).TIMEOUT_ERR;_.ySc=(_.n.CI||_.n.yL||rL).rjb;_.zSc=(_.n.DOMException||rL).INVALID_ACCESS_ERR;_.ASc=(_.n.DOMException||rL).INVALID_STATE_ERR;
nSc=function(a){switch(a){case "UnknownError":return _.oSc;case "NotFoundError":return _.qSc;case "ConstraintError":return _.rSc;case "DataError":return _.sSc;case "TransactionInactiveError":return _.uSc;case "AbortError":return _.vSc;case "ReadOnlyError":return _.wSc;case "TimeoutError":return _.xSc;case "QuotaExceededError":return _.ySc;case "InvalidAccessError":return _.zSc;case "InvalidStateError":return _.ASc;default:return _.oSc}};
mSc=function(a){switch(a){case _.oSc:return"UnknownError";case _.qSc:return"NotFoundError";case _.rSc:return"ConstraintError";case _.sSc:return"DataError";case _.uSc:return"TransactionInactiveError";case _.vSc:return"AbortError";case _.wSc:return"ReadOnlyError";case _.xSc:return"TimeoutError";case _.ySc:return"QuotaExceededError";case _.zSc:return"InvalidAccessError";case _.ASc:return"InvalidStateError";default:return"UnknownError"}};
_.sL=function(a,b){return"error"in a?new _.qL(a.error,b):new _.qL({name:"UnknownError"},b)};_.tL=function(a,b){if("name"in a)return b=b+": "+a.message,new _.qL(a,b);if("code"in a){var c=mSc(a.code);b=b+": "+a.message;return new _.qL({name:c},b)}return new _.qL({name:"UnknownError"},b)};
_.BSc=function(a){this.H=a};_.CSc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.BSc.prototype.range=function(){return this.H};
var DSc=function(a){this.H=a};DSc.prototype.getName=function(){return this.H.name};var ESc=function(a,b,c,d){var e=new _.Wh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+pL(d),e.Pd(_.tL(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+pL(d);e.Pd(_.sL(h.target,c))};return e};DSc.prototype.get=function(a){return ESc(this,"get","getting from index "+this.getName(),a)};
DSc.prototype.getKey=function(a){return ESc(this,"getKey","getting key from index "+this.getName(),a)};DSc.prototype.getAll=function(a,b){return _.FSc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.FSc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.BSc?d.range():(new _.BSc(_.CSc.only(d))).range();var h=new _.Wh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?pL(f):"<all>"),h.Pd(_.tL(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?pL(f):"<all>");h.Pd(_.sL(l.target,c))};return h};
var GSc=function(a){this.H=a};GSc.prototype.getName=function(){return this.H.name};var HSc=function(a,b,c,d,e){var f=new _.Wh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=pL(d),e&&(c+=", with key "+pL(e)),f.Pd(_.tL(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=pL(d);e&&(c+=", with key "+pL(e));f.Pd(_.sL(k.target,c))};return f};_.g=GSc.prototype;_.g.put=function(a,b){return HSc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return HSc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.Wh;try{var c=this.H["delete"](a instanceof _.BSc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+pL(a),b.Pd(_.tL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+pL(a);b.Pd(_.sL(e.target,f))};return b};
_.g.get=function(a){var b=new _.Wh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+pL(a),b.Pd(_.tL(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 "+pL(a);b.Pd(_.sL(e.target,f))};return b};_.g.getAll=function(a,b){return ISc(this,"getting all from index "+this.getName(),a,b)};
var ISc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.BSc?c.range():(new _.BSc(_.CSc.only(c))).range();var f=new _.Wh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?pL(e):"<all>"),f.Pd(_.tL(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?pL(e):"<all>");f.Pd(_.sL(k.target,b))};return f};
GSc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Wh;try{var c=this.H.clear()}catch(d){return b.Pd(_.tL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Pd(_.sL(d.target,a))};return b};GSc.prototype.getIndex=function(a){try{return new DSc(this.H.index(a))}catch(b){throw _.tL(b,"getting index "+a);}};
GSc.prototype.count=function(a){var b=new _.Wh;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.Pd(_.sL(e.target,d.getName()))}}catch(e){b.Pd(_.tL(e,this.getName()))}return b};
var JSc=function(a,b){_.si.call(this);this.H=a;this.O=b;this.Ab=new _.He(this);this.Ab.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.yab)};_.Kf(JSc,_.si);_.g=JSc.prototype;_.g.yab=function(a){a.target instanceof _.qL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.sL(a.target,"in transaction")})};_.g.Hh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new GSc(this.H.objectStore(a))}catch(b){throw _.tL(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.tL(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Wh;_.Ne(this,"complete",(0,_.v)(a.callback,a));var b=_.Ne(this,"abort",function(){_.oi(c);a.Pd(new _.qL(_.vSc,"waiting for transaction to complete"))});var c=_.Ne(this,"error",function(e){_.oi(b);a.Pd(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){JSc.ub.Ya.call(this);this.Ab.dispose()};
var KSc=function(a){_.si.call(this);this.H=a;this.Ab=new _.He(this);this.Ab.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Ab.listen(this.H,"error",this.zab);this.Ab.listen(this.H,"versionchange",this.Opb);this.Ab.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.Kf(KSc,_.si);_.g=KSc.prototype;_.g.Zsa=!0;_.g.zab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Opb=function(a){this.dispatchEvent(new LSc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Zsa&&(this.H.close(),this.Zsa=!1)};_.g.Hg=function(){return this.Zsa};_.g.getName=function(){return this.H.name};_.g.Ci=function(){return Number(this.H.version)};_.MSc=function(a,b,c){try{return new GSc(a.H.createObjectStore(b,c))}catch(d){throw _.tL(d,"creating object store "+b);}};
_.NSc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new JSc(d,a)}catch(e){throw _.tL(e,"creating transaction");}};KSc.prototype.Ya=function(){KSc.ub.Ya.call(this);this.Ab.dispose()};var LSc=function(a,b){_.gi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.Kf(LSc,_.gi);
_.OSc=function(){void 0==lSc&&(lSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return lSc};
_.PSc=function(a,b,c,d){var e=new _.Wh;b=b?_.OSc().open(a,b):_.OSc().open(a);b.onsuccess=function(f){f=new KSc(f.target.result);e.callback(f)};b.onerror=function(f){e.Pd(_.sL(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new KSc(f.target.result);c(new LSc(f.oldVersion,f.newVersion),h,new JSc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new LSc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.QSc=function(a,b){this.ma=a;this.Ba=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.oa=_.Aac;this.H=""};_.t("sy1lq");
_.QSc.prototype.build=function(){var a=new _.pH(this.ma,this.ha?this.ha:_.Fbc,this.Ba,this.oa,this.V,this.W,!1,void 0,void 0,void 0,this.va?this.va:void 0);if(this.Ha){var b=this.Ha;_.C(b,1)||_.A(b,1,1);_.x(a.ka,1,b)}if(this.O){b=this.O;var c=_.E(a.ka,_.Gac,1),d=_.E(c,_.Eac,11);d||(d=new _.Eac);_.A(d,7,b);_.x(c,11,d);_.C(c,1)||_.A(c,1,1);_.x(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.Ja=this.H);this.Fa&&_.Tac(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.Dac),_.Pj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.Uac(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.RSc=function(a,b){var c=_.E(a.H,_.Zxa,9);null==c&&(c=new _.Zxa);var d=_.C(b.H,10);d=_.A(c,5,d);b=_.C(b.H,12);_.A(d,2,b);_.x(a.H,9,c)};_.SSc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lr");
_.TSc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.TSc.prototype.yA=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=_.oH(new _.nH,a.Zb());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.USc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.ldc(this.O)};_.USc.prototype.yA=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=_.oH(new _.nH,a.Zb());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var VSc=function(a){_.P(this,a,-1,null,null)};_.L(VSc,_.K);VSc.prototype.getEmail=function(){return _.F(this,3,"")};VSc.prototype.Dp=function(){return _.Q(this,3)};_.uL=function(a){return _.S(a,5,!1)};_.vL=function(a){return _.E(a,VSc,36,1)};_.WSc=function(a){var b=_.ila(a);if("undefined"==typeof b)throw Error("X");var c=new _.gj(null,void 0);a=_.hla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.ema(c,e,f):c.add(e,f)}return c};_.t("sy1lb");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1la");
_.wL=function(a){_.P(this,a,-1,null,null)};_.L(_.wL,_.K);_.wL.prototype.we=function(){return _.E(this,_.of,1)};_.xL=function(a,b){return _.x(a,1,b)};_.wL.prototype.Mg=function(){return _.C(this,4)};_.wL.prototype.mpa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var XSc=function(a){_.P(this,a,-1,null,null)},bTc;_.L(XSc,_.K);var YSc=function(a){_.P(this,a,-1,null,null)};_.L(YSc,_.K);_.zL=function(a){_.P(this,a,-1,null,null)};_.L(_.zL,_.K);_.zL.prototype.d5=function(a){_.A(this,3,a)};_.zL.prototype.Kl=function(a){return _.x(this,5,a)};_.zL.prototype.getMimeType=function(){return _.C(this,7)};var ZSc=[2],$Sc=function(a){_.P(this,a,-1,ZSc,null)};_.L($Sc,_.K);var aTc=function(a){_.P(this,a,-1,null,null)};_.L(aTc,_.K);bTc=function(a){this.H=a};
_.cTc=function(a){this.ud=a};_.cTc.prototype.getId=function(){return this.ud};var dTc=function(a){_.P(this,a,-1,null,null)};_.L(dTc,_.K);dTc.prototype.Ci=function(){return _.C(this,1)};var eTc=function(a){_.P(this,a,-1,null,null)};_.L(eTc,_.K);
var gTc=function(){this.H=this.W=!1;this.Oo=null;for(var a=this.V=this.O=0;a<_.vAa.length;a++){var b=_.vAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.W=!0;fTc(this,b);break}}},fTc=function(a,b){a.Oo=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.H=!0;a.Oo.onDisconnect.addListener(function(){a.H=!1});document.addEventListener("mousemove",function(c){a.O=c.clientX;a.V=c.clientY})};
gTc.prototype.yA=function(a){if(this.W&&this.H){var b=_.E(a,_.Nb,2)||new _.Nb,c=_.E(a,_.Mo,5)||new _.Mo,d=_.E(a,_.zL,3)||new _.zL;a=_.ck(a,_.vya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.Oo.postMessage({detail:{impression:e.value.Zb(),session_info:b.Zb(),session_invariants:c.Zb(),client_info:d.Zb()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.O,clientY:this.V}}))}};_.t("sy1le");
var hTc=function(){_.Fo.call(this)};_.L(hTc,_.Fo);hTc.prototype.uv=function(){return 1==_.C(_.E(this.H,XSc,7),1)};var iTc=new _.Bo("high_frequency_builder");
var jTc=function(a,b,c){a=new _.ti(a);c.Ma(a);var d=new _.He(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var kTc=function(){_.Fo.call(this)};_.L(kTc,_.Fo);var lTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.qo;var e=new _.Xxa;e=_.A(e,1,d);_.x(b,1,e);_.A(b,3,1);_.x(a.H,8,b);_.A(a.H,12,c);_.A(a.H,13,c);_.A(a.H,4,d);_.A(a.H,3,c)}else 1==b&&(b=new _.qo,e=new _.Yxa,d=_.A(e,1,d),_.x(b,2,d),_.A(b,3,2),_.x(a.H,8,b),_.A(a.H,12,c),_.A(a.H,3,c));return a},mTc=new _.Bo("system_builder");
var nTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.aSc(b);this.Ma(this.H);this.Ab=new _.He(this);this.Ma(this.Ab);this.H.xu()&&this.Ab.listen(this.H,"visibilitychange",this.V)};_.L(nTc,_.N);nTc.prototype.V=function(){if(this.O.PP()){var a=this.H.CB()?102001:102E3;a=this.O.ZF(a,0);this.O.xq(a)}};
var oTc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.O=b;this.Ma(this.O);this.W=c;this.V=null};_.L(oTc,_.N);_.g=oTc.prototype;_.g.xq=function(a){var b=this.H;_.A(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.jc()&&b.O.ye();return new bTc(a)};_.g.ZF=function(a,b){a=lTc(pTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.ML=function(){return this.H.O};
_.g.SM=function(a){var b=this.H,c=_.Go(a,mTc),d=b.ha++,e=_.E(_.E(c.H,_.qo,8),_.Yxa,2),f=1E3*Date.now();_.A(e,2,f);_.A(c.H,13,d);b.ka.remove(_.C(a.H,12))};_.g.g_=function(){var a=this.O;if(!a.ha||a.H.V){var b=qTc(a.H,691).build();b=rTc(a.H,[b]);a.ka.yA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.h_=function(){var a=this.H,b=qTc(a,716);sTc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.ye();this.W&&(this.V=new nTc(this))};_.g.Oja=function(){this.O.W();return _.iL(Array.from(this.O.V)).then()};
_.g.PP=function(){var a=this.H;return a.va&&a.ma&&!0};
var tTc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.mL(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(tTc,_.N);tTc.prototype.initialize=function(){jTc(this.ma,this.O.ye,this.O);jTc(36E5,this.va,this)};tTc.prototype.W=function(){var a=this;if(0!=this.H.H.jc()&&(!this.ha||this.H.V)){var b=uTc(this.H),c=this.oa.yA(b);c&&(_.Th(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
tTc.prototype.va=function(){var a=this.H,b=qTc(a,1153).build();a.H.add(b);this.O.ye()};
var vTc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(vTc,_.N);_.g=vTc.prototype;_.g.xq=function(a){a=this.H.xq(a);this.Oja();return a};_.g.ZF=function(a,b){return this.H.ZF(a,b)};_.g.ML=function(){return this.H.ML()};_.g.SM=function(a){return this.H.SM(a)};_.g.g_=function(){return this.H.g_()};_.g.h_=function(){return this.H.h_()};_.g.Oja=function(){return this.H.Oja()};_.g.PP=function(){return this.H.PP()};
var wTc=function(){};wTc.prototype.XQ=function(){return new hTc};
var xTc=function(){this.H=[]};xTc.prototype.add=function(a){this.H.push(a)};xTc.prototype.jc=function(){return this.H.length};
var yTc=function(){this.H={}};yTc.prototype.add=function(a){var b=_.C(a.H,12);this.H[b]=a};yTc.prototype.remove=function(a){delete this.H[a]};
var zTc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new yTc;this.H=new xTc;this.ma=this.va=this.V=!1},pTc=function(a,b){a=_.Go((new _.Fo).initialize(new _.vya,a.Ba),mTc);_.A(a.H,10,b);return a},uTc=function(a){var b=a.H,c=b.H;b.H=[];return rTc(a,c)},rTc=function(a,b){var c=new _.Eza;var d=a.O.W.clone();c=_.x(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.x(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.E(b[h],_.zo,5);if(k&&_.E(k,_.XRc,1)){k=_.E(k,_.XRc,1);_.Q(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.E(k,YSc,20);if(void 0!==k&&void 0===f){f=new eTc;var l=_.R(k,2);void 0!==l&&_.A(f,2,l);k=_.R(k,1);void 0!==k&&_.A(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 _.zL),void 0!==e&&_.A(d,6,e),void 0!==f&&_.x(d,13,f);(e=d)&&_.x(c,3,e);a=a.O.ha.clone();_.x(c,4,a);_.Cb(c,1,b);return c},qTc=function(a,b){var c=lTc(pTc(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 aTc;k=_.A(p,1,k);l=_.C(l.H,10);l=_.A(k,2,l);f.push(l)}d=f}716!=b&&(b=a.oa,_.A(c.H,6,a.W),e=new $Sc,b=_.A(e,1,b),d&&_.Cb(b,2,d),d=_.Ho(c),_.x(d,3,b));sTc(a,c);return c},sTc=function(a,b){a.W=_.C(b.H,12);a.oa=_.C(_.E(_.E(b.H,_.qo,8),_.Xxa,1),1)};
var ATc=function(){};ATc.prototype.XQ=function(){return new kTc};
var BTc=function(){this.H=this.O=null};BTc.prototype.build=function(){null==this.H&&(this.H=new _.Yya);_.Jo(this.H,mTc,new ATc);_.Jo(this.H,iTc,new wTc);var a=this.H;var b=this.O;if(!_.Q(_.CTc(b),1)){var c=_.CTc(b),d=new _.pza;_.x(c,1,d)}b=_.E(_.CTc(b),_.pza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new zTc(this.O,this.H)};
var DTc=function(){this.W=new _.Nb;this.O=null;this.ha=new dTc;_.A(this.ha,1,6);this.H=this.V=null};DTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.ETc=function(a,b){_.A(a.W,2,b);return a};_.FTc=function(a,b){if(null==a.V){a.V=new _.Cza;var c=_.CTc(a);_.x(c,2,a.V)}_.A(a.V,1,b)};_.CTc=function(a){null==a.O&&(a.O=new _.Mo);return a.O};_.GTc=function(a){null==a.H&&(a.H=new _.zL);return a.H};
_.HTc=function(){this.H=this.ha=null;this.W=new DTc;this.V=null;this.ka=this.ma=!1;this.O=null};_.ITc=function(a,b){a.ha=b;return a};_.JTc=function(a,b){a.H=b;return a};_.KTc=function(a,b){a.V=b;return a};_.HTc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.LTc=function(a,b){_.A(a.W.W,6,b);return a};
_.HTc.prototype.build=function(){var a=new BTc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new gTc;this.H=this.ha=b}b=new tTc(a,this.ha,this.H,this.ma,this.O);a=new oTc(a,b,!1);this.ka&&(a=new vTc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.AL=function(a){return a instanceof Error};_.BL=function(a){return _.S(a,84,!1)};_.t("sy1l3");
_.MTc=function(a){_.P(this,a,-1,null,null)};_.L(_.MTc,_.K);
_.CL=function(a){_.P(this,a,-1,null,null)};_.L(_.CL,_.K);_.CL.prototype.getOptions=function(){return _.E(this,_.MTc,1)};_.CL.prototype.Yn=function(){return _.C(this,2)};_.CL.prototype.yd=function(){return _.E(this,_.bf,3)};
_.NTc=function(a){_.P(this,a,-1,null,_.DL)};_.L(_.NTc,_.K);_.DL=[[3,4,5,6,7,8,9,10]];
var EL,PTc;EL={};_.OTc=(EL[1]="modifiedDate",EL[2]="modifiedByMeDate",EL[3]="quotaBytesUsed",EL[4]="title",EL[6]="lastViewedByMeDate",EL[10]="createdDate",EL[7]="sharedWithMeDate",EL[9]="starred",EL[11]="recency",EL[5]="relevance",EL[12]="trashedDate",EL[13]="lastViewedByMeDate",EL);PTc={};_.QTc=(PTc[1]="asc",PTc[2]="desc",PTc);
_.RTc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.STc=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():_.Hf();this.date=new Date(a)};_.Kf(_.STc,_.xt);_.g=_.STc.prototype;_.g.clone=function(){var a=new _.STc(this.date);a.NG=this.NG;a.EV=this.EV;return a};_.g.add=function(a){(a.W||a.V)&&_.wt.prototype.add.call(this,new _.vt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.ew))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.xt.prototype.getUTCFullYear;
_.g.getMonth=_.xt.prototype.getUTCMonth;_.g.getDate=_.xt.prototype.getUTCDate;_.g.getHours=_.xt.prototype.getUTCHours;_.g.getMinutes=_.xt.prototype.getUTCMinutes;_.g.getSeconds=_.xt.prototype.p$a;_.g.getMilliseconds=_.xt.prototype.o$a;_.g.getDay=_.xt.prototype.getUTCDay;_.g.setFullYear=_.xt.prototype.setUTCFullYear;_.g.setMonth=_.xt.prototype.setUTCMonth;_.g.setDate=_.xt.prototype.setUTCDate;_.g.setHours=_.xt.prototype.oMa;_.g.setMinutes=_.xt.prototype.pMa;_.g.setSeconds=_.xt.prototype.qMa;
_.g.setMilliseconds=_.xt.prototype.q$a;
var TTc,VTc;TTc={};_.UTc=(TTc[1]="0",TTc[2]="1",TTc[3]="2",TTc);VTc={};_.WTc=(VTc[1]="asc",VTc[2]="desc",VTc);
_.XTc=new _.Bo("drive_dataservice_builder");
_.YTc=_.$g&&0>_.hg(_.ch,"533");
_.ZTc=new _.cTc("drive_dataservice_invariants");
_.$Tc=new Map([[[1],1],[[6],7],[[2],2]]);_.aUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.bUc=new Map([[12,function(a){return _.R(a,69)}],[24,function(a){return _.S(a,3,!1)}],[9,function(a){return _.S(a,17,!1)}],[21,function(a){return _.BL(a)}],[13,function(a){return _.R(a,60)}],[2,function(a){return _.S(a,8,!0)}],[6,function(a){return _.S(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.S(a,56,!1)}],[17,function(a){return _.S(a,57,!1)}],[18,function(a){return _.S(a,54,!1)}],[19,function(a){return _.S(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.cUc=new Map([[36,function(a){return _.S(a,11,!1)}],[34,function(a){return _.S(a,9,!1)}],[25,function(a){return _.S(a,1,!1)}],[33,function(a){return _.S(a,8,!1)}],[26,function(a){return _.S(a,2,!1)}],[27,function(a){return _.S(a,3,!1)}],[29,function(a){return _.S(a,4,!1)}],[32,function(a){return _.S(a,7,!1)}],[40,function(a){return _.S(a,15,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,function(a){return _.S(a,10,!1)}],[38,function(a){return _.S(a,13,!1)}],[39,
function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.dUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.eUc=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]]);_.fUc=new Map([[[2],3],[[1],2],[[0],1]]);_.gUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.hUc=new Map([[[_.pSc],1],[[_.qSc],2],[[_.rSc],3],[[_.sSc],4],[[_.tSc],5],[[_.uSc],6],[[_.vSc],7],[[_.wSc],8],[[_.xSc],10],[[_.ySc],11],[[_.zSc],12],[[_.ASc],13]]);_.iUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1l8");
_.FL=function(a){_.P(this,a,-1,jUc,null)};_.L(_.FL,_.K);_.FL.prototype.Ic=function(){return _.C(this,2)};_.GL=function(a,b){return _.A(a,2,b)};_.g=_.FL.prototype;_.g.qk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.E(this,_.Wk,4)};_.g.setItem=function(a){return _.x(this,4,a)};_.g.Bc=function(){return _.C(this,7)};_.g.t$=function(){return _.C(this,13)};_.g.jIa=function(a){_.A(this,13,a)};var jUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1l6");
_.EF=function(a){_.P(this,a,-1,VSb,null)};_.L(_.EF,_.K);_.EF.prototype.getId=function(){return _.C(this,1)};_.EF.prototype.Pb=function(a){return _.A(this,1,a)};_.EF.prototype.Vz=function(){return _.C(this,2)};var VSb=[5,6,9,10,12,13,15,16];
var WSb;_.FF=function(a){_.P(this,a,-1,WSb,null)};_.L(_.FF,_.K);_.FF.prototype.en=function(){return _.C(this,1)};_.XSb=function(a,b){return _.A(a,1,b)};WSb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var nUc;_.JL=function(a){if(a instanceof _.mc)return a;if(_.AL(a)){if(a=_.Hsb(a))return a}else a="string"===typeof a?_.XDa(a):_.XDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.HL(a,2);_.IL(a,6);return a};_.kUc=function(a){var b=a.Fk();a=a.kG();return 15===b||32===b||33===b||401===a};_.lUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.mUc=function(a){_.P(this,a,-1,null,null)};_.L(_.mUc,_.K);
_.KL=function(a){return _.Lj(a,1,0)};_.LL=function(a){return _.E(a,_.mUc,4)};_.HL=function(a,b){return _.A(a,1,b)};_.IL=function(a,b){return _.A(a,2,b)};nUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.ML=function(a){_.P(this,a,-1,nUc,null)};_.L(_.ML,_.K);_.g=_.ML.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Se=function(){return _.C(this,3)};
_.g.um=function(a){return _.A(this,3,a)};_.g.Ev=function(a){return _.A(this,4,a)};_.g.Sh=function(){return _.R(this,5)};_.g.Pn=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.C(this,6)};_.g.DE=function(a,b){_.ak(this,8,a,b)};_.g.Ti=function(){return _.C(this,12)};_.g.we=function(){return _.E(this,_.of,17)};_.g.Ci=function(){return _.C(this,20)};_.g.Bc=function(){return _.C(this,21)};_.NL=function(a,b){return _.A(a,16,b)};_.t("sy1l7");
_.OL=function(a){_.P(this,a,-1,oUc,null)};_.L(_.OL,_.K);_.OL.prototype.dR=function(){return _.Lj(this,2,100)};_.OL.prototype.US=function(a){return _.A(this,2,a)};_.OL.prototype.we=function(){return _.E(this,_.of,6)};_.OL.prototype.Bc=function(){return _.C(this,8)};var oUc=[5];
var pUc;pUc={};_.qUc=(pUc[0]="/drive/v2internal",pUc[1]="/drive/v2internal.corp",pUc[2]="/drive/v2internal.scary",pUc[4]="/drive/v2internal.scary",pUc[5]="/drive/v2beta",pUc[6]="/drive/v2.1beta",pUc);
_.rUc=new Set([0,1,2,3]);
_.sUc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.tUc=_.A(new _.ML,15,!0);_.uUc=_.NL(new _.ML,!0);_.vUc=_.NL(new _.ML,!1);
_.wUc=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("sy1ln");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.yUc=function(a){for(var b in a)delete a[b]};_.zUc=function(a){a=_.Sf(a);return 0===a.length?_.sha:new _.og(a,_.qha)};_.AUc=function(a,b){a=_.Ii(a);b=_.Ii(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy1lt");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.BUc=function(a,b,c){this.blockSize=-1;this.H=a;this.blockSize=c||a.blockSize||16;this.V=Array(this.blockSize);this.O=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.H.update(a),a=this.H.digest(),this.H.reset());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.V[c]=b^92,this.O[c]=b^54;this.H.update(this.O)};_.Kf(_.BUc,_.TRc);_.BUc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.BUc.prototype.update=function(a,b){this.H.update(a,b)};
_.BUc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.CUc=function(a,b){a.reset();a.update(b);return a.digest()};
_.DUc=function(){this.blockSize=-1;this.blockSize=64;this.H=[];this.ha=[];this.ka=[];this.W=[];this.W[0]=128;for(var a=1;a<this.blockSize;++a)this.W[a]=0;this.V=this.O=0;this.reset()};_.Kf(_.DUc,_.TRc);_.DUc.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 EUc=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};
_.DUc.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;)EUc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){EUc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){EUc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.DUc.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;EUc(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{
_.PL=function(a,b){return _.A(a,82,b)};_.QL=function(a){return _.A(a,3,!0)};_.FUc=function(a,b){return _.A(a,7,b)};_.t("sy1l4");
_.GUc=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
*/
_.RL={Q_:"Versions",v7:"Metadata",l6:"Data",EU:"Offline"};_.HUc=new Map([[_.RL.Q_,"versionKey"],[_.RL.v7,"k"]]);_.IUc=new Set([1004]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.QUc=function(a,b){return _.A(a,1,b)};_.RUc=function(a,b){return _.x(a,1,b)};_.SUc=function(a,b){return _.A(a,2,b)};_.TUc=function(a,b){return _.x(a,3,b)};_.t("sy1lw");

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.WUc=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 XUc,YUc,bVc,fVc,gVc,hVc,zVc,MM,AVc,BVc,IVc,dVc,oWc,cVc,EWc,FWc,MWc,OWc,QWc,SWc,TWc,UWc,WWc,mXc,nXc,qXc,rXc,sXc,uXc,vXc,xXc,AXc,sVc,EXc,tVc,FXc,GXc,HXc,iN,kN,JXc,LXc,OXc,PXc,QXc,RXc,SXc,TXc,WXc,YXc,ZXc,aYc,bYc,qYc,pYc,tYc,vYc,wYc,xYc,CYc,FYc,HYc,IYc,OYc,NYc,MYc,KYc,LYc,JVc,WYc,XYc,SYc,YYc,TYc,CVc,ZYc,DVc,EVc,FVc,GVc,HVc,$Yc,bZc;_.UL=function(a,b,c){var d=new _.mc,e=_.gka(_.UL);_.A(d,20,e);_.IL(d,a);_.HL(d,b?b:2);c&&_.TL(d,c);return d};
_.VL=function(a){var b;a instanceof _.mc?b=new _.nc(null,a):_.AL(a)?b=a:b=_.n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("ob`"+a);b.stack||(b.stack=_.gka(_.VL));return b};_.WL=function(a){throw _.UA(a);};XUc=function(a){return 7===a.Fk()||24===a.Qp()&&(a=a.kG(),503===a||429===a)?!0:!1};YUc=function(a,b){return b?b+"("+a+")":a};
_.XL=function(a,b,c){var d={},e=[];b&&e.push("kind");a.nBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.ZUc.includes(p)){var q=_.bbb.get(p);if(q){var r=_.ebb[p];a.LG&&r&&(q=r);a.tr&&(a.LG?(p=_.dbb[p])&&(q=p):(p=_.cbb[p])&&(q=p));q.split(",").forEach(function(u){var y=_.jia(u,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(u)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={e6:f.e6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.e6=[];l.forEach(function(p){return function(q){p.e6.push(q)}}(f));"owners"==k&&b&&f.e6.push("kind");e.push(YUc(f.e6.join(","),k))}return YUc(e.join(","),c)};_.$Uc=function(a){var b=new _.Io;b.append(_.XL(a,!0));return b.toString()};_.aVc=function(a,b){return a.filter(function(c){return b.includes(c)})};bVc=function(a){a=a.filter(function(b){return!_.bbb.has(b)});if(a.length)throw Error("Oc`"+a.join(", "));};
_.eVc=function(a){if(a){var b=a.getMimeType();b&&_.MF(a,b.toLowerCase());cVc(a,_.ck(a,dVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};fVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};gVc=function(a,b){b&&(_.ij(a,"openDrive",!!_.S(b,2,!1)),_.ij(a,"reason",_.C(b,1)||0),_.ij(a,"syncType",_.C(b,3)||0),_.ij(a,"errorRecovery",!!_.S(b,4,!1)))};
hVc=function(a){a=_.Tp(_.TL(_.HL(new _.mc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.UA(a);};
zVc=function(a){if(a instanceof _.YL)return"request access";if(a instanceof _.ZL)return"admin migrate to TD";if(a instanceof _.$L)return"authorize app";if(a instanceof _.aM)return"copy item";if(a instanceof _.bM)return"change category links";if(a instanceof _.cM)return"create item";if(a instanceof _.dM)return"create ws";if("undefined"!=typeof _.eM&&a instanceof _.eM)return"delete app";if("undefined"!=typeof _.fM&&a instanceof _.fM)return"delete backup";if(a instanceof _.gM)return"delete item";if("undefined"!=
typeof _.hM&&a instanceof _.hM)return"delete permission";if(a instanceof _.iM)return"delete revision";if(a instanceof _.jM)return"delete TD";if(a instanceof _.eD)return"delete pref";if(a instanceof _.kM)return"delete ws";if(a instanceof _.lM)return"download item";if(a instanceof _.mM||a instanceof _.nM)return"empty trash";if(a instanceof _.oM)return"find by ID";if(a instanceof _.Sz)return"find by IDs";if(a instanceof _.iVc)return"item export start";if("undefined"!=typeof _.pM&&a instanceof _.pM)return"get app";
if("undefined"!=typeof _.qM&&a instanceof _.qM)return"insert app";if("undefined"!=typeof _.rM&&a instanceof _.rM)return"insert permission";if(a instanceof _.CL)return a=a.yd(),_.sM(a)?"quick access item query":_.tM(a)?"people predict item query":_.uM(a)?"drive priority query":"item query";if("undefined"!=typeof _.vM&&a instanceof _.vM)return"list android backup items request";if(a instanceof _.wM){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 _.jVc&&a instanceof _.jVc?"list backups":a instanceof _.OL?"list changes":a instanceof _.xM?"list permissions":"undefined"!=typeof _.yM&&a instanceof _.yM?"list revisions":a instanceof _.zM?"partial download item":a instanceof _.AM?"people api":a instanceof _.GF?"get published category":"undefined"!=typeof _.BM&&a instanceof _.BM?"get remaining changes":a instanceof _.CM?"remove item":
"undefined"!=typeof _.DM&&a instanceof _.DM?"reparent item":a instanceof _.EM?"restore item":a instanceof _.HF?"list suggested workspace items":a instanceof _.IF?"list suggested workspaces":"undefined"!=typeof _.FM&&a instanceof _.FM?"update app":a instanceof _.GM?"update category metadata":a instanceof _.ML?"update item":a instanceof _.HM?"update revision":a instanceof _.IM?"update TD":a instanceof _.fD?"update pref":a instanceof _.JM?"update ws":a instanceof _.wL?"get account":a instanceof _.LF?
"get workspace":a instanceof _.kVc?"list activity":a instanceof _.lVc?"list category metadata":a instanceof _.mVc?"create TD":"undefined"!=typeof _.nVc&&a instanceof _.nVc?"item export cancel":"undefined"!=typeof _.oVc&&a instanceof _.oVc?"item export status":"undefined"!=typeof _.pVc&&a instanceof _.pVc?"generate cse token":"undefined"!=typeof _.qVc&&a instanceof _.qVc?"get largest change ID":a instanceof _.dD?"list prefs":a instanceof _.KM?"multipart upload":a instanceof _.rVc?"list published categories":
a instanceof sVc?"init resumable upload":a instanceof tVc?"resumable upload chunk":a instanceof _.uVc?"resumable upload":a instanceof _.JF?"get TD":"undefined"!=typeof _.vVc&&a instanceof _.vVc?"move TD preflight":a instanceof _.LM?"list TDs":"undefined"!=typeof _.wVc&&a instanceof _.wVc?"get TD stats":a instanceof _.xVc?"test connection":"undefined"!=typeof _.yVc&&a instanceof _.yVc?"list workspaces":"unknown"};
MM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};AVc=function(a){if(a instanceof _.cM||a instanceof _.KM||a instanceof _.uVc||a instanceof sVc||a instanceof tVc)return(new _.NM).Cc(8);throw Error("af");};BVc=function(a){if(a instanceof _.ML){var b=_.Rj(_.Qj(a.clone(),1),17);b=_.ik(b,_.tUc)}else b=!1;b||(a instanceof _.ML?(a=_.Rj(_.Qj(a.clone(),1),17),b=_.ik(a,_.uUc)||_.ik(a,_.vUc)):b=!1);return b?!1:!0};
_.OM=function(a){return CVc.includes(a.constructor)?BVc(a):!1};IVc=function(a,b){if(DVc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&EVc.includes(a.constructor))return!0;var c=_.LL(b);if(c&&!_.S(c,7,!1)&&FVc.includes(a.constructor)&&!_.PM(a)||_.S(b,56,!1)&&_.PM(a)||_.S(b,57,!1)&&GVc.includes(a.constructor)||!(!_.S(b,53,!1)||EVc.includes(a.constructor)||FVc.includes(a.constructor)||_.PM(a)||GVc.includes(a.constructor)||HVc.includes(a.constructor)))return!0}return!1};
_.QM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(JVc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.C(d,2)&&hVc(h):(a.set(h,_.C(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.Jz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.KVc=function(a){var b=new _.Dk;return _.A(b,1,a)};_.LVc=function(a,b){return _.A(a,7,b)};_.MVc=function(a,b){return _.A(a,8,b)};
_.NVc=function(a,b){return _.A(a,11,b)};_.OVc=function(a,b){return _.A(a,1,b)};_.PVc=function(a,b){return _.A(a,4,b)};_.QVc=function(a,b){return _.A(a,5,b)};_.RVc=function(a,b){return _.A(a,6,b)};_.SVc=function(a,b){return _.A(a,7,b)};_.TVc=function(a,b){return _.A(a,8,b)};_.UVc=function(a,b){return _.A(a,9,b)};_.VVc=function(a,b){return _.A(a,10,b)};_.WVc=function(a,b){return _.A(a,11,b)};_.XVc=function(a,b){return _.A(a,12,b)};_.YVc=function(a,b){return _.A(a,16,b)};
_.ZVc=function(a,b){return _.A(a,17,b)};_.$Vc=function(a,b){return _.A(a,20,b)};_.aWc=function(a,b){return _.A(a,21,b)};_.bWc=function(a,b){return _.A(a,31,b)};_.cWc=function(a,b){return _.A(a,32,b)};_.dWc=function(a,b){return _.A(a,33,b)};_.eWc=function(a,b){return _.A(a,42,b)};_.fWc=function(a,b){return _.A(a,43,b)};_.gWc=function(a,b){return _.A(a,46,b)};_.hWc=function(a,b){return _.A(a,47,b)};_.iWc=function(a,b){return _.A(a,48,b)};_.RM=function(a){_.P(this,a,-1,null,null)};_.L(_.RM,_.K);
_.jWc=function(a){_.P(this,a,-1,null,null)};_.L(_.jWc,_.K);_.kWc=function(a,b){return _.A(a,2,b)};dVc=function(a){_.P(this,a,-1,null,null)};_.L(dVc,_.K);dVc.prototype.getMimeType=function(){return _.C(this,1)};dVc.prototype.getUrl=function(){return _.C(this,2)};_.SM=function(a){_.P(this,a,-1,null,null)};_.L(_.SM,_.K);_.SM.prototype.Pe=function(){return _.C(this,2)};_.SM.prototype.xh=function(a){return _.A(this,2,a)};_.SM.prototype.wh=function(a){return _.A(this,3,a)};
_.lWc=function(a,b){return _.A(a,1,b)};_.mWc=function(a,b){return _.Cb(a,2,b)};_.nWc=function(a,b){return _.Cb(a,3,b)};oWc=[2];_.TM=function(a){_.P(this,a,-1,oWc,null)};_.L(_.TM,_.K);_.TM.prototype.Se=function(){return _.C(this,1)};_.TM.prototype.um=function(a){return _.A(this,1,a)};_.TM.prototype.Eva=function(a,b){return _.ak(this,2,a,b)};_.UM=function(a){_.P(this,a,-1,null,null)};_.L(_.UM,_.K);_.UM.prototype.Pe=function(){return _.C(this,1)};_.UM.prototype.xh=function(a){return _.A(this,1,a)};
_.UM.prototype.wh=function(a){return _.A(this,2,a)};_.VM=function(a,b){return _.Pj(a,2,b)};_.pWc=function(a,b){_.A(a,8,b)};_.qWc=function(a,b){return _.Cb(a,15,b)};_.rWc=function(a,b){return _.x(a,17,b)};_.sWc=function(a,b){return _.A(a,19,b)};_.tWc=function(a,b){_.A(a,26,b)};_.uWc=function(a,b){_.A(a,31,b)};_.vWc=function(a,b){_.A(a,34,b)};_.wWc=function(a,b){return _.A(a,44,b)};_.xWc=function(a,b){return _.A(a,52,b)};cVc=function(a,b){_.Cb(a,58,b)};_.yWc=function(a,b){return _.A(a,72,b)};
_.WM=function(a,b){return _.x(a,84,b)};_.zWc=function(a,b){_.x(a,85,b)};_.AWc=function(a,b){return _.A(a,92,b)};_.BWc=function(a,b){return _.A(a,93,b)};_.CWc=function(a,b){return _.A(a,136,b)};_.DWc=function(a){_.P(this,a,-1,null,null)};_.L(_.DWc,_.K);_.XM=function(a){return _.S(a,2,!1)};EWc=[3];FWc=function(a){_.P(this,a,-1,EWc,null)};_.L(FWc,_.K);
FWc.prototype.Vi=function(){var a=_.C(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}_.hb(this)&&_.ib(a);return a};var GWc=[3],HWc=function(a){_.P(this,a,-1,GWc,null)};_.L(HWc,_.K);HWc.prototype.Vi=function(){return _.Pd(this,3)};var IWc=[3],JWc=function(a){_.P(this,a,-1,IWc,null)};_.L(JWc,_.K);JWc.prototype.Vi=function(){return _.Pd(this,3)};_.YM=function(a){_.P(this,a,-1,null,null)};_.L(_.YM,_.K);_.YM.prototype.Xa=function(){return _.C(this,1)};
_.YM.prototype.Jb=function(a){return _.A(this,1,a)};_.YM.prototype.zi=function(){return _.Qj(this,1)};_.YM.prototype.ih=function(){return _.Q(this,1)};_.ZM=function(a){return _.Hj(a,45,1)};_.sM=function(a){return _.S(a,47,!1)};_.tM=function(a){return _.S(a,49,!1)};_.uM=function(a){return _.S(a,52,!1)};_.$M=function(a){return _.F(a,2,"")};_.KWc=function(a,b){return _.Pj(a,27,b)};_.aN=function(a){return _.Hj(a,39,0)};_.bN=function(a){return _.S(a,40,!1)};
_.LWc=function(a){return _.wt.prototype.qP.call(a,!0)+"T"+_.Pg(a.getHours(),2)+":"+_.Pg(a.getMinutes(),2)+":"+_.Pg(a.getSeconds(),2)+a.M$()};MWc=function(a,b){return _.FSc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.NWc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.tL(c,"deleting object store "+b);}};OWc=function(){var a=new _.HTc;a.O=12E4;a.ma=!0;return a};_.PWc=function(a){_.P(this,a,-1,null,null)};_.L(_.PWc,_.K);QWc=[3,4,10,18,19,28];
_.cM=function(a){_.P(this,a,-1,QWc,null)};_.L(_.cM,_.K);_.g=_.cM.prototype;_.g.getMimeType=function(){return _.C(this,1)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.DE=function(a,b){_.ak(this,3,a,b)};_.g.we=function(){return _.E(this,_.of,7)};_.g.fj=function(){return _.C(this,9)};_.g.Bc=function(){return _.C(this,14)};_.g.Jz=function(){return _.E(this,_.PWc,15)};_.g.m2=function(){return _.C(this,21)};_.g.Ic=function(){return _.C(this,23)};
_.cN=function(a,b){return _.A(a,1,b)};_.dN=function(a,b){return _.Pj(a,3,b)};_.RWc=function(a,b){return _.A(a,12,b)};_.gM=function(a){_.P(this,a,-1,null,null)};_.L(_.gM,_.K);_.gM.prototype.getId=function(){return _.C(this,1)};_.gM.prototype.Pb=function(a){return _.A(this,1,a)};_.gM.prototype.we=function(){return _.E(this,_.of,3)};_.jM=function(a){_.P(this,a,-1,null,null)};_.L(_.jM,_.K);_.jM.prototype.getId=function(){return _.C(this,1)};_.jM.prototype.Pb=function(a){return _.A(this,1,a)};
_.jM.prototype.we=function(){return _.E(this,_.of,2)};SWc=[7,8];_.IM=function(a){_.P(this,a,-1,SWc,null)};_.L(_.IM,_.K);_.g=_.IM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,4)};_.g.Fm=function(){return _.R(this,15)};_.LM=function(a){_.P(this,a,-1,null,null)};_.L(_.LM,_.K);
_.LM.prototype.getOptions=function(){return _.E(this,_.MTc,1)};_.LM.prototype.Yn=function(){return _.C(this,2)};_.LM.prototype.yd=function(){return _.E(this,_.oL,3)};TWc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};UWc=null;_.VWc=function(a){if(_.oma)return _.n.atob(a);var b="";_.qma(a,function(c){b+=String.fromCharCode(c)});return b};WWc=function(){this.O=0;this.H=[]};_.g=WWc.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=XWc(this,a);return this.H[a]};_.g.set=function(a,b){a=XWc(this,a);this.H[a]=b};_.g.jc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.Fg=function(){var a=this.jc(),b=this.jc(),c=[];for(a=this.jc()-a;a<b;a++)c.push(this.get(a));return c};_.g.kf=function(){for(var a=[],b=this.jc(),c=0;c<b;c++)a[c]=c;return a};_.g.Ce=function(a){return a<this.jc()};
_.g.Lq=function(a){for(var b=this.jc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var XWc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},YWc=function(a){_.P(this,a,-1,null,null)};_.L(YWc,_.K);_.ZWc=function(a){_.P(this,a,-1,null,null)};_.L(_.ZWc,_.K);_.ZWc.prototype.We=function(){return _.C(this,1)};_.ZWc.prototype.kj=function(a){return _.A(this,1,a)};_.ZWc.prototype.Bb=function(){return _.C(this,4)};
_.ZWc.prototype.Cc=function(a){return _.A(this,4,a)};var $Wc=function(a){_.P(this,a,-1,null,null)};_.L($Wc,_.K);$Wc.prototype.Bo=function(){return _.C(this,5)};var aXc=function(a,b){_.A(a,6,b)},bXc=function(a){_.P(this,a,-1,null,null)};_.L(bXc,_.K);_.g=bXc.prototype;_.g.cib=function(a){_.A(this,1,a)};_.g.GOb=function(a){_.A(this,2,a)};_.g.yy=function(){return _.R(this,3)};_.g.dib=function(a){_.A(this,3,a)};_.g.nOb=function(a){_.A(this,4,a)};var cXc=function(a){_.P(this,a,-1,null,null)};_.L(cXc,_.K);
cXc.prototype.yy=function(){return _.R(this,2)};var dXc=function(a,b){return _.A(a,2,b)},eXc=function(a,b){_.A(a,3,b)};cXc.prototype.qB=function(){return _.C(this,6)};var fXc=function(a,b){return _.A(a,8,b)},gXc=function(a){_.P(this,a,-1,null,null)};_.L(gXc,_.K);var hXc=function(a){_.P(this,a,-1,null,null)};_.L(hXc,_.K);hXc.prototype.yy=function(){return _.R(this,1)};hXc.prototype.Bo=function(){return _.C(this,5)};hXc.prototype.Pm=function(){return _.C(this,6)};
hXc.prototype.Gt=function(a){return _.A(this,6,a)};var iXc=function(a){_.P(this,a,-1,null,null)};_.L(iXc,_.K);var jXc=function(a,b){_.A(a,4,b)},kXc=function(a){_.P(this,a,-1,null,null)};_.L(kXc,_.K);_.g=kXc.prototype;_.g.yd=function(){return _.E(this,_.ZWc,1)};_.g.getState=function(){return _.E(this,$Wc,2)};_.g.Nd=function(a){return _.x(this,2,a)};_.g.vt=function(){return _.Q(this,2)};_.g.$E=function(){return _.E(this,hXc,16)};var lXc=function(a){_.P(this,a,-1,null,null)};_.L(lXc,_.K);
lXc.prototype.getEnvironment=function(){return _.C(this,2)};lXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.ZUc=[42,1005,20,50,18,1003,1002];mXc=[73,71];_.eN=function(a){_.P(this,a,-1,null,null)};_.L(_.eN,_.K);_.eN.prototype.getId=function(){return _.C(this,1)};_.eN.prototype.Pb=function(a){return _.A(this,1,a)};_.eN.prototype.getMimeType=function(){return _.C(this,2)};_.eN.prototype.dG=function(){return _.C(this,8)};nXc=[22];_.NM=function(a){_.P(this,a,-1,nXc,null)};_.L(_.NM,_.K);
_.g=_.NM.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.getItem=function(){return _.E(this,_.Wk,2)};_.g.setItem=function(a){return _.x(this,2,a)};_.g.$j=function(){return _.C(this,3)};_.g.Ic=function(){return _.C(this,5)};_.oXc=function(a,b){return _.A(a,5,b)};_.g=_.NM.prototype;_.g.dK=function(){return _.C(this,7)};_.g.pda=function(a){return _.A(this,7,a)};_.g.Yfa=function(a){_.A(this,9,a)};_.g.TMa=function(a){_.A(this,10,a)};
_.g.hN=function(){return _.C(this,16)};_.g.fda=function(a){return _.A(this,16,a)};var pXc=function(a){_.gi.call(this,a);this.connectionState=_.Ysb.get(a)};_.L(pXc,_.gi);qXc=function(a){var b=new _.Wh;a.listen("loadend",_.tb(function(c,d){var e=d.ak(),f=d.getError();null==e||f?c.Pd(f):c.callback(e);d.dispose()},b,a));return b};_.YL=function(a){_.P(this,a,-1,null,null)};_.L(_.YL,_.K);_.YL.prototype.Ic=function(){return _.C(this,1)};_.ZL=function(a){_.P(this,a,-1,null,null)};_.L(_.ZL,_.K);
_.ZL.prototype.getId=function(){return _.C(this,1)};_.ZL.prototype.Pb=function(a){return _.A(this,1,a)};_.ZL.prototype.Ik=function(){return _.C(this,2)};_.$L=function(a){_.P(this,a,-1,null,null)};_.L(_.$L,_.K);_.$L.prototype.Ah=function(){return _.C(this,1)};_.$L.prototype.Ic=function(){return _.C(this,2)};_.$L.prototype.we=function(){return _.E(this,_.of,4)};rXc=[3,7];_.aM=function(a){_.P(this,a,-1,rXc,null)};_.L(_.aM,_.K);_.g=_.aM.prototype;_.g.getId=function(){return _.C(this,1)};
_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.DE=function(a,b){_.ak(this,3,a,b)};_.g.we=function(){return _.E(this,_.of,5)};_.dM=function(a){_.P(this,a,-1,null,null)};_.L(_.dM,_.K);_.dM.prototype.getTitle=function(){return _.C(this,1)};_.dM.prototype.setTitle=function(a){return _.A(this,1,a)};_.dM.prototype.we=function(){return _.E(this,_.of,2)};_.iM=function(a){_.P(this,a,-1,null,null)};_.L(_.iM,_.K);
_.iM.prototype.Ic=function(){return _.C(this,1)};_.iM.prototype.we=function(){return _.E(this,_.of,3)};_.kM=function(a){_.P(this,a,-1,null,null)};_.L(_.kM,_.K);_.kM.prototype.getId=function(){return _.C(this,1)};_.kM.prototype.Pb=function(a){return _.A(this,1,a)};_.kM.prototype.we=function(){return _.E(this,_.of,3)};_.mM=function(a){_.P(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.we=function(){return _.E(this,_.of,1)};_.CM=function(a){_.P(this,a,-1,null,null)};_.L(_.CM,_.K);_.g=_.CM.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Ag=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};_.EM=function(a){_.P(this,a,-1,null,null)};_.L(_.EM,_.K);_.g=_.EM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.C(this,2)};_.g.Ag=function(a){return _.A(this,2,a)};_.g.we=function(){return _.E(this,_.of,3)};
_.HM=function(a){_.P(this,a,-1,null,null)};_.L(_.HM,_.K);_.HM.prototype.Ic=function(){return _.C(this,1)};_.HM.prototype.we=function(){return _.E(this,_.of,4)};_.JM=function(a){_.P(this,a,-1,null,null)};_.L(_.JM,_.K);_.g=_.JM.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.C(this,3)};_.g.Nd=function(a){return _.A(this,3,a)};
_.g.vt=function(){return _.Q(this,3)};_.g.we=function(){return _.E(this,_.of,5)};sXc=[2,3];_.bM=function(a){_.P(this,a,-1,sXc,null)};_.L(_.bM,_.K);_.bM.prototype.Bc=function(){return _.C(this,1)};_.bM.prototype.we=function(){return _.E(this,_.of,4)};_.tXc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};uXc=[3,4];_.wM=function(a){_.P(this,a,-1,uXc,null)};_.L(_.wM,_.K);_.wM.prototype.getType=function(){return _.C(this,1)};_.wM.prototype.we=function(){return _.E(this,_.of,2)};vXc=[1];
_.AM=function(a){_.P(this,a,-1,vXc,null)};_.L(_.AM,_.K);_.AM.prototype.jn=function(){return _.Pd(this,1)};_.wXc=function(a){_.P(this,a,-1,null,null)};_.L(_.wXc,_.K);_.g=_.wXc.prototype;_.g.getKey=function(){return _.C(this,1)};_.g.Bs=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};_.g.Se=function(){return _.C(this,3)};_.g.um=function(a){return _.A(this,3,a)};
_.g.getType=function(){return _.C(this,4)};xXc=[1];_.yXc=function(a){_.P(this,a,-1,xXc,null)};_.L(_.yXc,_.K);_.zXc=function(){var a=void 0===a?1E3:a;this.O=new _.kl;this.H=new _.kl;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.BXc=function(a){var b=a.O.Fg();a.V&&b.push(AXc("...","...","...","..."));_.za(b,a.H.Fg());return b};
_.CXc=function(a){var b=[];a=_.BXc(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")};_.zXc.prototype.info=function(a,b){_.fN(this,a,b,"info")};_.zXc.prototype.config=function(a,b){_.fN(this,a,b,"config")};_.zXc.prototype.log=function(a,b,c){if(!UWc){UWc={};for(var d=0,e;e=_.lka[d];d++)UWc[e.value]=e,UWc[e.name]=e}_.fN(this,a,b,c)};
_.fN=function(a,b,c,d){a.H.jc()>=a.ha&&(a.V=!0,_.ll(a.H));var e=Date.now()-a.startTime;b=AXc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.jc()<a.W?a.O.enqueue(b):a.H.enqueue(b)};AXc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.kVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.mVc=function(a){this.request=a;this.requestId=_.Rg()};
_.DXc=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};_.KM=function(a,b,c,d){this.request=a;this.file=b;this.yQ=void 0===c?null:c;this.metadata=d};_.uVc=function(a,b,c,d){this.request=a;this.file=b;this.yQ=void 0===c?null:c;this.metadata=d};sVc=function(a,b){this.request=a;this.metadata=b};EXc=function(a,b,c){this.O=a;this.H=b;this.V=c};
tVc=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};_.xVc=function(){this.H=_.pf(new _.of,312)};FXc=function(){};_.lVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.rVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};GXc=function(a,b){this.H=a;this.O=b};HXc=function(a){_.gi.call(this,"Ab");this.H=a};_.L(HXc,_.gi);HXc.prototype.Xe=function(){return this.H};_.gN=function(a){a.supportsTeamDrives=!0};
_.IXc=function(a){this.O=new Set;this.H=[].concat(_.nd(_.Pd(a,27)));this.initialize(a)};_.IXc.prototype.initialize=function(a){var b=_.aVc(this.H,_.Pd(a,28));if(0<b.length)throw Error("Me`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.uL(_.vL(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();bVc(this.H)};_.hN=function(a){return[].concat(_.nd(a.H))};
iN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.jN=function(a,b,c){0!==b.length&&(a.XI.length&&a.append(" "+(c||"and")+" "),a.append(b))};kN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(iN(c));e.push("in");e.push(b);_.jN(a,e.join(" "))}};_.lN=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());_.jN(a,e.join(" "),d)}};
JXc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.jN(a,d.join(""))}};_.KXc=function(a){var b=new _.STc;b.setTime(a);return b};LXc=function(a,b){b=_.Pd(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(iN(b));_.jN(a,c.join(" "))}};_.MXc=function(a){a=_.ck(a,_.YM,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Xa());return b.join(",")};
_.NXc=function(a){a=a.sB();return null==a||0==a.length?"":a.map(function(b){b=_.C(b,1);if(0==b)throw Error("Ne");return _.HRc[b]}).join(",")};OXc=function(a,b){if(a.length){var c=new _.Io;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(iN(d.Xa()));_.jN(c,e.join(" "),"or")}return c.toString()}return""};
PXc=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 iN(e.Xa())});d.push(a.join(", "));return d.join(" ")}return""};QXc=function(a){if(_.R(a,2))return"any";switch(a.Xa()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};RXc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
SXc=function(a,b,c){if(null!=_.C(c,2)){var d=RXc(_.C(c,1));c=iN(_.LWc(_.KXc(_.C(c,2)||0)));_.jN(a,[b,d,c].join(" "))}};TXc=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""};
_.UXc=function(a){for(var b=new _.Io,c=_.ck(a,_.yl,4),d=0;d<c.length;d++){var e=c[d],f=e.Xa();if(f){var h=_.C(e,1),k=_.S(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(iN(f));_.jN(b,l.join(" "))}}for(var p=_.ck(a,_.xl,5),q=0;q<p.length;q++){var r=p[q],u=r.Xa();if(u){var y=[];_.S(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(iN(u));_.jN(b,y.join(" "))}}var z=_.Cl(a);if(z&&0!=z.length){for(var D=[],G=[],I=[],M=[],O=[],X=[],ra=0;ra<
z.length;ra++){var fa=z[ra];fa.Xa()&&(1===_.Hj(fa,3,0)?_.R(fa,4)?G.push(fa):D.push(fa):_.R(fa,4)?_.S(fa,2,!1)?X.push(fa):O.push(fa):_.S(fa,2,!1)?M.push(fa):I.push(fa))}var na=OXc(D,!1),sa=OXc(G,!0),ua=PXc(I,!1,!1),Wa=PXc(M,!0,!1),Ia=PXc(O,!1,!0),Ra=PXc(X,!0,!0),Zb=new _.Io;if(ua||Ia||na||sa)_.jN(Zb,ua,"or"),_.jN(Zb,Ia,"or"),_.jN(Zb,na,"or"),_.jN(Zb,sa,"or");Zb.XI.length&&_.jN(b,"("+Zb.toString()+")","and");var ub=new _.Io;if(Wa||Ra)_.jN(ub,Wa,"and"),_.jN(ub,Ra,"and");ub.XI.length&&_.jN(b,"("+ub.toString()+
")","and")}for(var wc=_.ck(a,_.vl,7),Sc=0;Sc<wc.length;Sc++)SXc(b,"modifiedDate",wc[Sc]);for(var gd=_.ck(a,_.vl,8),ve=0;ve<gd.length;ve++)SXc(b,"lastViewedByMeDate",gd[ve]);_.lN(b,"trashed",a.Sh());_.lN(b,"explicitlyTrashed",_.R(a,17));_.lN(b,"starred",_.R(a,10));_.lN(b,"hidden",a.Fm());for(var be=_.Dl(a),Jf=0;Jf<be.length;Jf++){var yc=be[Jf];kN(b,"parents",yc.Xa(),_.S(yc,2,!1))}for(var yb=_.ck(a,_.df,13),Dg=0;Dg<yb.length;Dg++){var Ug=yb[Dg];kN(b,"owners",Ug.Xa(),_.S(Ug,2,!1))}for(var Ve=_.ck(a,
_.df,14),dj=0;dj<Ve.length;dj++){var $f=Ve[dj];kN(b,"writers",$f.Xa(),_.S($f,2,!1))}for(var Bi=_.ck(a,_.df,15),Gg=0;Gg<Bi.length;Gg++){var el=Bi[Gg];kN(b,"readers",el.Xa(),_.S(el,2,!1))}_.R(a,16)&&_.jN(b,"sharedWithMe");_.lN(b,"unparented",_.R(a,34));for(var $e=_.ck(a,_.rl,35)||[],af=_.m($e),mh=af.next();!mh.done;mh=af.next())kN(b,"ancestors",mh.value.Xa(),!1);for(var Uh=_.ck(a,_.rl,38)||[],sj=_.m(Uh),Lk=sj.next();!Lk.done;Lk=sj.next())kN(b,"descendants",Lk.value.Xa(),!1);for(var Ln=_.ck(a,_.wl,37)||
[],vp=_.m(Ln),Ri=vp.next();!Ri.done;Ri=vp.next())kN(b,"folderFeatures",Ri.value.Xa(),!1);for(var pi=_.Pd(a,39),fl=_.m(pi),Rf=fl.next();!Rf.done;Rf=fl.next()){var Kl=Rf.value,tj=[];tj.push("templateData.description");tj.push("contains");tj.push(iN(Kl));_.jN(b,tj.join(" "))}for(var pk=_.Pd(a,40),ej=0;ej<pk.length;ej++){var Ll=[];0==ej&&Ll.push("(");Ll.push(iN(pk[ej]));Ll.push("in");Ll.push("templateData.categories");ej==pk.length-1&&Ll.push(")");_.jN(b,Ll.join(" "),0==ej?"and":"or")}var Im=_.C(a,41);
if(null!=Im){var Mk=[];Mk.push("templateData.galleryState");Mk.push("=");Mk.push(iN(_.UTc[Im]||""));_.jN(b,Mk.join(" "))}var Ml=_.C(a,42);if(null!=Ml){var Vg=[];Vg.push("visibility");Vg.push("=");Vg.push(iN(TXc(Ml)));_.jN(b,Vg.join(" "))}for(var Nl=_.ck(a,_.ql,44),Ci=0;Ci<Nl.length;++Ci){var Ij=Nl[Ci];kN(b,"actionItems",QXc(Ij),_.S(Ij,3,!1))}if(_.Q(a,50)){var Jj=[];Jj.push("pairedDocType");var uj=_.S(a,50,!1)?"!=":"=";Jj.push(uj);Jj.push(iN("NONE"));_.jN(b,Jj.join(" "))}kN(b,"workspaceIds",a.Xp(),
!1);for(var gl=_.ck(a,_.sl,57),vj=0;vj<gl.length;vj++){var hl=[];0==vj&&hl.push("(");hl.push(iN(gl[vj].Xa()));hl.push("in");hl.push("approvals");vj==gl.length-1&&hl.push(")");_.jN(b,hl.join(" "),0==vj?"and":"or")}if(_.Q(a,58)){var mf=a.Tq(),Kj=mf.Xa(),hm=_.S(mf,2,!1);if(Kj){var im=[];hm&&im.push("not");im.push("creator");im.push("=");im.push(iN(Kj));_.jN(b,im.join(" "))}}var jm=_.E(a,_.roa,59);if(jm)for(var Si=_.m(_.ck(jm,_.ooa,1)),Gc=Si.next();!Gc.done;Gc=Si.next()){var Wj=Gc.value;kN(b,"categoryMetadata",
Wj.en());for(var Vh=_.m(_.ck(Wj,_.moa,2)),wj=Vh.next();!wj.done;wj=Vh.next()){var mg=wj.value,Hg=_.C(mg,1),Nk=_.Fj(mg,_.ul[0]);if(10==Nk){_.E(mg,_.foa,10);var km=_.R(mg,15);(void 0===km?0:km)?_.jN(b,Hg+" is null"):_.jN(b,"not ("+Hg+" is null)")}else{var hi=new _.Io,qi=void 0;switch(Nk){case 3:qi=_.E(mg,FWc,3);for(var qk=_.m(qi.Vi()),fj=qk.next();!fj.done;fj=qk.next())_.lN(hi,Hg,fj.value,"or");break;case 14:for(var wo=qi=_.E(mg,_.Zna,14),jn=new Map([[1,"="],[2,">"],[3,"<"]]),il=_.m(wo.Vi()),Xj=il.next();!Xj.done;Xj=
il.next()){var Mn=Xj.value,xo=jn.get(_.C(wo,2));if(!xo)throw Error("Oe");var jq=[Hg,xo,iN(Mn.getYear()+"-"+Mn.getMonth()+"-"+Mn.getDay())];_.jN(hi,jq.join(" "),"or")}break;case 8:for(var Po=qi=_.E(mg,_.eoa,8),Rm=new Map([[1,"="],[2,">"],[3,"<"]]),Bj=_.m(Po.Vi()),Qo=Bj.next();!Qo.done;Qo=Bj.next()){var Dp=Qo.value,Ep=Rm.get(_.C(Po,2));if(!Ep)throw Error("Oe");_.jN(hi,[Hg,Ep,Dp].join(" "),"or")}break;case 9:for(var ur=qi=_.E(mg,HWc,9),Qw=new Map([[1,"in"]]),vr=_.m(ur.Vi()),Gs=vr.next();!Gs.done;Gs=
vr.next()){var wA=Gs.value,TC=Qw.get(_.C(ur,2));if(!TC)throw Error("Oe");_.jN(hi,[wA,TC,Hg].join(" "),"or")}break;case 6:for(var mv=qi=_.E(mg,_.joa,6),zr=new Map([[1,"="]]),Ar=_.m(mv.Vi()),Qt=Ar.next();!Qt.done;Qt=Ar.next()){var xA=Qt.value,yA=zr.get(_.C(mv,2));if(!yA)throw Error("Oe");_.jN(hi,[Hg,yA,iN(xA)].join(" "),"or")}break;case 7:for(var IN=qi=_.E(mg,_.hoa,7),tS=new Map([[1,"in"]]),yF=_.m(IN.Vi()),nv=yF.next();!nv.done;nv=yF.next()){var JN=nv.value,uS=tS.get(_.C(IN,2));if(!uS)throw Error("Oe");
_.jN(hi,[iN(JN),uS,Hg].join(" "),"or")}break;case 4:for(var vS=qi=_.E(mg,_.loa,4),qy=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),ov=_.m(vS.Vi()),tl=ov.next();!tl.done;tl=ov.next()){var UC=tl.value,Js=qy.get(_.C(vS,2));if(!Js)throw Error("Oe");_.jN(hi,[Hg,Js,iN(UC)].join(" "),"or")}break;case 5:for(var KN=qi=_.E(mg,JWc,5),ry=new Map([[1,"in"]]),pv=_.m(KN.Vi()),ii=pv.next();!ii.done;ii=pv.next()){var hZ=ii.value,zF=ry.get(_.C(KN,2));if(!zF)throw Error("Oe");_.jN(hi,[iN(hZ),zF,Hg].join(" "),
"or")}break;case 12:for(var Uw=qi=_.E(mg,_.coa,12),Ch=new Map([[1,"="]]),o7=_.m(Uw.Vi()),qv=o7.next();!qv.done;qv=o7.next()){var Fq=qv.value,zA=Ch.get(_.C(Uw,2));if(!zA)throw Error("Oe");_.jN(hi,[Hg,zA,iN(Fq)].join(" "),"or")}break;case 11:for(var sy=qi=_.E(mg,_.aoa,11),Br=new Map([[1,"in"]]),LN=_.m(sy.Vi()),wS=LN.next();!wS.done;wS=LN.next()){var p7=wS.value,Sl=Br.get(_.C(sy,2));if(!Sl)throw Error("Oe");_.jN(hi,[iN(p7),Sl,Hg].join(" "),"or")}}_.R(mg,15)?_.jN(b,"not ("+hi+")"):_.jN(b,1<qi.Vi().length?
"("+hi+")":""+hi)}}}null!=_.R(a,60)&&_.lN(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var VC=_.R(a,65);if(null!=VC){var AF=[];AF.push("clientEncryptionDetails.encryptionState");AF.push("=");AF.push(iN(VC?"encrypted":"unencrypted"));_.jN(b,AF.join(" "))}var hJ=_.ck(a,_.df,68);if(hJ.length){for(var q7=[],ty=[],Vw=_.m(hJ),BF=Vw.next();!BF.done;BF=Vw.next()){var iZ=BF.value,r7="sharedFrom = "+iN(iZ.Xa());_.S(iZ,2,!1)?ty.push(r7):q7.push(r7)}JXc(b,q7,!1);JXc(b,ty,!0)}var CF=_.ck(a,_.df,67);
if(CF.length){for(var iJ=[],s7=[],xS=_.m(CF),jJ=xS.next();!jJ.done;jJ=xS.next()){var yS=jJ.value,AA="sharedTo = "+iN(yS.Xa());_.S(yS,2,!1)?s7.push(AA):iJ.push(AA)}JXc(b,iJ,!1);JXc(b,s7,!0)}null!=_.R(a,69)&&_.lN(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.lN(b,"canAcceptOwnership",_.R(a,72));1==_.ZM(a)&&LXc(b,a);return b.toString()};
_.VXc=function(a){var b=new _.Io(_.UXc(a));_.sM(a)?_.jN(b,"isQuickAccessRequest"):_.tM(a)?_.jN(b,"isPeoplePredictRequest"):_.uM(a)&&_.jN(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.OTc[c.getType()]);d.push(_.WTc[c.Bf()]);_.R(c,3)&&d.push("foldersFirst");_.jN(b,d.join(" "))}_.lN(b,"domainSearch",_.R(a,18));_.lN(b,"offline",_.R(a,19));_.ck(a,_.YM,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.MXc(a)),_.jN(b,c.join(" ")));a.sB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.NXc(a)),_.jN(b,c.join(" ")));if(c=_.ZM(a))d=[],d.push("corpora"),d.push("="),d.push(iN(_.tXc[c])),_.jN(b,d.join(" "));_.S(a,66,!0)||_.lN(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.ZM(a)&&LXc(b,a);_.S(a,48,!1)&&_.jN(b,"cachedOnly");return b.toString()};_.PM=function(a){if(a instanceof _.CL)a=a.yd();else if(!a)return!1;return a instanceof _.IF||a instanceof _.HF||"undefined"!=typeof _.mN&&a instanceof _.mN||a instanceof _.bf&&(_.sM(a)||_.tM(a)||_.uM(a))};
WXc=function(){_.Fo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(WXc,_.Fo);_.XXc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};YXc=function(a,b){a.V||(a.V=b)};WXc.prototype.Yj=function(){_.XXc(this);(0,this.ha)()};ZXc=function(a,b){a.ha||(a.ha=b)};_.nN=function(a){if(!a.O){a.O=new kXc;var b=_.Ho(a);_.x(b,56,a.O)}return a.O};WXc.prototype.getState=function(){var a=_.nN(this).getState();a||(a=new $Wc,_.nN(this).Nd(a));return a};
var $Xc=function(a,b){var c=new YWc;_.A(c,1,b);a=_.Ho(a);_.x(a,12,c)};WXc.prototype.$E=function(){var a=_.nN(this).$E();if(!a){a=new hXc;var b=_.nN(this);_.x(b,16,a)}return a};WXc.prototype.ma=function(){var a=_.E(_.nN(this),bXc,4);if(!a){a=new bXc;var b=_.nN(this);_.x(b,4,a)}return a};aYc=function(a){var b=_.E(_.nN(a),cXc,8);b||(b=new cXc,a=_.nN(a),_.x(a,8,b));return b};bYc=function(a){var b=_.E(_.nN(a),iXc,19);b||(b=new iXc,a=_.nN(a),_.x(a,19,b));return b};
_.cYc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.si.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.L(_.cYc,_.si);_.g=_.cYc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Il=function(){return 1===this.connectionState||2===this.connectionState};_.g.Xe=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?_.WA.FU:_.WA.wha;else 1===a?(b=_.WA.HL,this.O=!0):3===a&&(b=_.WA.EU);if(b)return b=new pXc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var dYc=function(a,b){this.userId=a;this.H=b;this.db=null},fYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return eYc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("Ue"))},function(d){return a.handleError(d)})},"readwrite")};dYc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.lBb=b.je(),d)).then(null,function(e){c.handleError(e)})};
var gYc=function(a){return new _.Oh(function(b){var c=new Map;eYc(a,function(d){return MWc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Jra:f.Jra},k=h.next())k=_.m(k.value),f.Jra=k.next().value,k.next().value.then(function(l){return function(p){p&&c.set(l.Jra,new _.Eza(p.lBb))}}(f));return _.iL([].concat(_.nd(e.values()))).then(function(){return b(c)})})})})},hYc=function(a,b){return eYc(a,function(c){return c.remove(b)},
"readwrite")},eYc=function(a,b,c){c=void 0===c?"readonly":c;return iYc(a).then(function(d){try{var e=_.NSc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.VL(f):void 0)}},function(d){return a.handleError(d)})},iYc=function(a){return a.db?_.Ph(a.db):_.PSc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.NWc(c,"OfflineImpressions");b=_.MSc(c,"OfflineImpressions",{autoIncrement:!0});try{b.H.createIndex("userId",
"userId",void 0)}catch(d){throw _.tL(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("Ve"))}).then(function(b){return a.db=b},function(b){return _.Qh(_.VL(b))})};dYc.prototype.handleError=function(a){a||(a=Error("We"));_.fN(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Ph()};_.jYc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.si.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.L(_.jYc,_.si);_.jYc.prototype.Xe=function(){return this.H};
_.jYc.prototype.Kl=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new HXc(a)))};_.jYc.prototype.Vy=function(a){this.O=a};var lYc=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Lb=new _.He(this);this.Lb.listen(b,"Ab",function(k){k.Xe()||kYc(h)});this.Lb.listen(c,[_.WA.HL,_.WA.FU],function(){return void kYc(h)});this.W=e;f.then(function(){return kYc(h)})};_.L(lYc,_.si);
lYc.prototype.yA=function(a){return(this.H.Xe()||this.connectionState.Xe())&&this.H.O?fYc(this.O,a):this.V.yA(a)};
var kYc=function(a){return a.H.O?gYc(a.O).then(function(b){b.forEach(function(c,d){a.V.yA(c).then(function(){return mYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},mYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return hYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
lYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var nYc=function(){};nYc.prototype.XQ=function(){return new WXc};var oYc=function(){this.H=new lXc};oYc.prototype.O=function(a){_.x(a,13,this.H)};oYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
qYc=function(a,b,c,d){this.V=b;this.connectionState=c;this.hs=d;this.O=this.H=null;this.client=_.oN(_.eUc,_.aN(a));this.W=_.C(a,94);this.ka=_.oN(_.iUc,_.Hj(a.Yf(),8,0));this.txa=_.oN(_.fUc,_.Hj(a.Yf(),9,2));this.ma=_.S(a,10,!1);this.uu=_.uL(_.vL(a));this.ICa=_.bN(a);this.ha=pYc(a);this.buildLabel=a.Ji()};pYc=function(a){var b=[].concat(_.nd(_.bUc.keys())),c=[].concat(_.nd(_.cUc.keys())),d=_.LL(a);return b.filter(function(e){return _.bUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.cUc.get(e)(d)}))};
_.oN=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};qYc.prototype.Bo=function(a){return null==a?0:a?2:1};var rYc=function(a){if(a.O)return a.O.H("aU7Ts")};
qYc.prototype.Bb=function(a){return a instanceof _.KA||"undefined"!=typeof _.pN&&a instanceof _.pN||"undefined"!=typeof _.qN&&a instanceof _.qN||"undefined"!=typeof _.rN&&a instanceof _.rN?a.Bb():"undefined"!=typeof _.sN&&a instanceof _.sN||"undefined"!=typeof _.tN&&a instanceof _.tN||"undefined"!=typeof _.uN&&a instanceof _.uN||"undefined"!=typeof _.vN&&a instanceof _.vN||"undefined"!=typeof _.wN&&a instanceof _.wN?a.response?a.response.Bb():null:null};qYc.prototype.Ji=function(){return this.buildLabel};
var sYc=function(a){return a.V.Xe()||a.connectionState.Xe()?2:1};qYc.prototype.getEnvironment=function(){return this.hs};tYc=function(a,b){this.H=a;var c=new _.jya;_.kya(c,b.ha);a=this.H.ML();var d=_.GTc(a);_.x(d,10,c);(c=b.Ji())&&_.FTc(a,c);this.H.h_();this.O=b};
_.uYc=function(a,b,c){var d=_.Go(a.H.ZF(b,c),_.XTc);$Xc(d,sYc(a.O));b=rYc(a.O);"boolean"===typeof b&&aXc(d.getState(),b);1===c&&YXc(d,function(){return void a.H.SM(d)});ZXc(d,function(){var e=a.O;e=e.H?e.H.Ld():void 0;var f=d.getState();_.A(f,1,e);a.H.xq(d)});return d};
vYc=function(a){var b=new _.Yya,c=new oYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.txa);_.A(c.H,5,a.ma);_.A(c.H,6,a.uu);_.A(c.H,7,a.ICa);a=c.setEnvironment(a.getEnvironment());_.SSc(b,_.ZTc,a);_.Jo(b,_.XTc,new nYc);return b};
wYc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.IH(906,b,void 0,_.lUc());l.ha=!1;var p=new _.TSc(l);b=new Date;l=_.LTc(_.KTc(_.JTc(OWc(),new _.USc(l)),vYc(c)),109).setSessionId(b.getTime()+"_"+_.Rg());if(k){a=new lYc(p,d,e,new dYc(a,f),f,h);_.ITc(l,a);d=l.build();_.ETc(d.ML(),1E3*b.getTime());var q=new tYc(d,c);(new _.He).listen(a,"Bb",function(){_.uYc(q,106008,0).Yj()});return q}_.ITc(l,p);a=l.build();_.ETc(a.ML(),1E3*b.getTime());return new tYc(a,c)};
xYc=function(a,b){this.V=a;this.W=b};xYc.prototype.O=function(a,b){this.V&&_.yYc(this)&&(a=_.uYc(this.V,a,0),b&&_.RSc(a,b),a.Yj())};_.xN=function(a,b){if(a.V&&_.yYc(a)){a=_.uYc(a.V,106018,0);var c=_.E(_.nN(a),gXc,15);if(!c){c=new gXc;var d=_.nN(a);_.x(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Yj()}};xYc.prototype.H=function(a,b){return this.V&&_.yYc(this)?(a=_.uYc(this.V,a,1),b&&_.RSc(a,b),a):null};_.yYc=function(a){return!(!a.V||!a.V.H.PP())};
_.zYc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.KL(_.vL(a)).toString(),l=_.$M(_.vL(a));f=new qYc(a,b,c,f);a=h?wYc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new xYc(a,f)};_.oM=function(a){_.P(this,a,-1,null,null)};_.L(_.oM,_.K);_.AYc=function(a){_.P(this,a,-1,null,null)};_.L(_.AYc,_.K);_.AYc.prototype.getId=function(){return _.C(this,1)};_.AYc.prototype.Pb=function(a){return _.A(this,1,a)};_.AYc.prototype.we=function(){return _.E(this,_.of,2)};_.xM=function(a){_.P(this,a,-1,null,null)};_.L(_.xM,_.K);
_.xM.prototype.Yn=function(){return _.C(this,2)};_.xM.prototype.yd=function(){return _.E(this,_.AYc,3)};_.nM=function(a){_.P(this,a,-1,null,null)};_.L(_.nM,_.K);_.nM.prototype.yd=function(){return _.E(this,_.mM,1)};_.nM.prototype.wda=function(a){return _.A(this,2,a)};_.lM=function(a){_.P(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.getId=function(){return _.C(this,1)};_.lM.prototype.Pb=function(a){return _.A(this,1,a)};_.BYc=function(a,b){return _.A(a,2,b)};
_.zM=function(a){_.P(this,a,-1,null,null)};_.L(_.zM,_.K);_.zM.prototype.yd=function(){return _.E(this,_.lM,1)};CYc=[2];_.GM=function(a){_.P(this,a,-1,CYc,null)};_.L(_.GM,_.K);_.GM.prototype.Ic=function(){return _.C(this,1)};_.GM.prototype.UV=function(){return _.ck(this,_.FF,2)};_.GM.prototype.we=function(){return _.E(this,_.of,3)};_.DYc=function(a){_.P(this,a,-1,null,null)};_.L(_.DYc,_.K);_.DYc.prototype.nk=function(){return _.C(this,1)};_.EYc=function(a){var b=new _.DYc;return _.A(b,1,a)};FYc=[1];
_.iVc=function(a){_.P(this,a,-1,FYc,null)};_.L(_.iVc,_.K);_.GYc=function(){this.H={}};HYc=function(a,b,c){if(a.H[b])throw Error("Xe");a.H[b]=c};_.GYc.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)}};IYc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.JYc=function(a,b){this.H=a;this.V=b;this.O=_.qUc[_.Hj(a.Yf(),8,0)];this.W=_.qUc[_.Hj(a.Yf(),51,5)];this.nonce=_.Rg()};
_.JYc.prototype.tc=function(a,b){if(b.$N)KYc(this,a,b),LYc(this,a,b);else if(11===a.Zm){if(b.AKb){var c=b.MD||_.F(this.H.Yf(),37,"");_.ij(a.uri,"key",c)}KYc(this,a,b);MYc(this,a,b)}else switch(a.uri=NYc(this,a.Zm,a.uri),a.Zm){case 1:MYc(this,a,b);KYc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.uu||_.uL(_.vL(this.H))||_.ij(a.uri,"dsNonce",this.nonce));MYc(this,a,b);LYc(this,a,b);KYc(this,a,b);break;case 2:case 3:case 4:case 5:MYc(this,a,b);LYc(this,a,b);KYc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:MYc(this,
a,b);LYc(this,a,b);break;default:throw Error("Ye`"+a.Zm);}};OYc=function(a,b){var c=NYc(a,b,new _.aj);if(!c.iH())throw Error("$e");return(new _.aj).qn(c.Co()).nn(c.Aj()).AA(c.vy()).xi(_.rUc.has(b)?"/batch"+a.O:"/batch")};
NYc=function(a,b,c){var d=_.C(a.H.Yf(),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=_.F(a.H.Yf(),62,"");break;case 8:a=_.C(a.H.Yf(),53);break;case 9:a=_.C(a.H.Yf(),56);break;case 10:a=_.C(a.H.Yf(),22);break;case 13:a=_.C(a.H.Yf(),55);break;case 12:a=_.C(a.H.Yf(),43);break;default:throw Error("Ye`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.aj(a);
_.Ed(c,"/")&&(c=c.slice(1));return new _.aj(a+"/"+c)};MYc=function(a,b,c){a=_.vL(a.H);c.uu||_.uL(a)||(c=[{key:"u",value:_.$M(a)}],b.headers.authorization=_.Fbc(c)||"",c=_.KL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
KYc=function(a,b,c){var d=_.vL(a.H),e=a.H.Yf(),f=c.H7a||!!_.C(e,13);c=c.I7a||_.S(e,14,!1);var h=11===b.Zm;f&&((f=_.C(e,13))&&_.Ed(f,"email:")?_.ij(b.uri,"trace",f):f&&"trace:true"===f?_.ij(b.uri,"$trace","true"):f?_.ij(b.uri,"trace","token:"+f):_.ij(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.ij(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2===_.Hj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
LYc=function(a,b,c){c.uu||_.uL(_.vL(a.H))?_.ij(b.uri,"key",_.F(a.H.Yf(),36,"")):(a=c.MD||_.F(a.H.Yf(),37,""),_.ij(b.uri,"key",a))};_.PYc=function(a,b){_.lH.call(this,a?a:500,b?b:6E5)};_.L(_.PYc,_.lH);_.QYc=function(a,b){this.O=b;this.H=new Map;this.Wla(_.ck(a,_.zl,91))};_.QYc.prototype.Wla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.C(c,2);if(!b||!c)break;var d=_.RYc(this,b);if(d){d!==c&&hVc(b);break}this.H.set(b,c)}};
JVc=function(a,b){return[].concat(_.nd(new Set(b))).map(function(c){var d=(new _.zl).Pb(c);a.H.has(c)?_.Al(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Al(d,_.cl(c));return d}).filter(function(c){return _.Q(c,2)})};_.RYc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.Q(a,140)?_.cl(a):null};_.yN=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Dd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.yN.prototype.getState=function(){return this.state};
_.yN.prototype.wM=function(a){var b=this;if(this.W)return this.W;var c=_.Sh();this.W=c.promise.then(function(){return _.EYc(1)},function(d){d=_.UA(d).Qg;var e=0;2===d.Qp()?e=3:_.kUc(d)&&(e=2);return _.EYc(e)});a&&this.W.then(function(d){3===d.nk()&&_.xN(b.Dd,186469046)});this.H&&(a=_.C(bYc(this.H),4)||0,jXc(bYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);SYc(this,c);return this.W};_.VYc=function(a,b){TYc(a,3)&&_.UYc(a,b)};_.yN.prototype.reset=function(){this.O=null;WYc(this)};
WYc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.UYc=function(a,b){if(!a.O&&!a.V){a.H=a.Dd.H(106025);if(a.H){var c=bYc(a.H);var d=!(!a.state.isConnected()&&a.state.Il());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.PYc(5E3,6E4);XYc(a)}};XYc=function(a){WYc(a);SYc(a);a.O&&(a.timeout=setTimeout(function(){return void XYc(a)},a.O.Xa()),_.mH(a.O))};
SYc=function(a,b){_.Th((a.ha?a.ha():_.Ph()).then(null,function(){return null}),function(){if(a.H){var c=_.C(bYc(a.H),3)||0,d=bYc(a.H);_.A(d,3,c+1)}YYc(a,b)})};YYc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Ve(new _.xVc)}).then(null,function(d){d=_.UA(d);_.kUc(d.Qg)&&TYc(a,2);return _.Qh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.yN.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
TYc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.sUc.get(b)),!0):!1};CVc=[_.YL,_.$L,_.ZL,_.bM,_.aM,_.cM,_.dM,_.gM,_.iM,_.jM,_.kM,_.mM,_.nM,_.CM,_.EM,_.GM,_.ML,_.HM,_.IM,_.JM,_.mVc,_.KM];ZYc=[_.OL];DVc=[_.GF,_.rVc];EVc=[_.xM,_.wL,_.dD,_.LM];FVc=[_.CL,_.oM,_.Sz,_.OL,_.lVc];GVc=[_.LM,_.JF];HVc=[_.lM,_.iVc,_.wM,_.zM,_.AM,_.kVc,_.KM,tVc,sVc];
$Yc=function(a){return a instanceof _.CL||a instanceof _.LM||"undefined"!=typeof _.zN&&a instanceof _.zN||a instanceof _.IM||a instanceof _.jM||a instanceof _.cM||a instanceof _.gM||a instanceof _.ML&&_.OM(a)};_.aZc=function(a,b){this.O=b;this.H={};this.jj=new WWc;b=_.XL({fields:_.Pd(a,28),tr:_.uL(_.vL(a))});this.Jb("SecondaryFields",b);this.Jb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.aZc.prototype.Jb=function(a,b){this.H[a]=bZc(a,b)};
var cZc=function(a,b){var c=a.H[b];c||(c=bZc(b,0,2),a.H[b]=c);c.Jb(String(Number(c.Xa())+1))};_.aZc.prototype.Jz=function(a){var b=_.Sa(this.H);this.O&&b.push(bZc("CacheSize",this.O.Ld()));b.push(bZc("InitialViewDataLoaded",a));a=new _.yXc;_.Cb(a,1,b);return _.Zh(a)};bZc=function(a,b,c){var d=new _.wXc;_.A(d,1,a);_.A(d,4,c||1);d.Jb(String(b));d.um(_.wUc.get(a));return d};
_.dZc=function(a,b,c){var d=new _.NTc;_.A(d,2,"Pending...");b instanceof _.CL?_.dk(d,3,_.DL[0],b):b instanceof _.LM?_.dk(d,4,_.DL[0],b):"undefined"!=typeof _.zN&&b instanceof _.zN?_.dk(d,5,_.DL[0],b):b instanceof _.IM?_.dk(d,6,_.DL[0],b):b instanceof _.jM?_.dk(d,7,_.DL[0],b):b instanceof _.cM?_.dk(d,8,_.DL[0],b):b instanceof _.gM?_.dk(d,9,_.DL[0],b):b instanceof _.ML&&_.dk(d,10,_.DL[0],b);var e=zVc(b),f=[];if(b instanceof _.ZL)MM(f,"ID",b.getId()),MM(f,"Parent ID",b.Ik());else if(b instanceof _.jM)MM(f,
"TD ID",b.getId());else if(b instanceof _.CL)b=_.VXc(b.yd()),MM(f,"Query",b);else if(b instanceof _.LM)MM(f,"Query","All");else if(b instanceof _.IM)MM(f,"TD ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"Theme Image ID",_.C(b,3));else if(b instanceof _.cM)MM(f,"MimeType",b.getMimeType()),MM(f,"Title",b.getTitle()),MM(f,"Parents",_.Pd(b,3)),MM(f,"Convert",_.R(b,8)),MM(f,"Request ID",b.fj()),MM(f,"Parent Request IDs",_.Pd(b,10)),MM(f,"Revision Item ID",_.C(b,12)),MM(f,"Pinned",_.R(b,8));else if(b instanceof
_.dM)MM(f,"Title",b.getTitle());else if(b instanceof _.gM)MM(f,"ID",b.getId());else if(b instanceof _.kM)MM(f,"WS ID",b.getId());else if(b instanceof _.ML){if(MM(f,"ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"Description",b.Se()),MM(f,"Starred",_.R(b,4)),MM(f,"Trashed",b.Sh()),MM(f,"MimeType",b.getMimeType()),MM(f,"Parents",_.Pd(b,8)),MM(f,"Parents to add",_.Pd(b,9)),MM(f,"Parents to remove",_.Pd(b,10)),MM(f,"Restricted",_.R(b,11)),MM(f,"Folder Color",b.Ti()),MM(f,"Update Last Viewed",_.R(b,15)),
MM(f,"Subscribed",_.R(b,16)),MM(f,"Available Offline",_.R(b,18)),MM(f,"Wksp to add",_.Pd(b,31)),MM(f,"Wksp to remove",_.Pd(b,32)),b=_.E(b,_.Tk,25))MM(f,"Read Only",_.R(b,1)),MM(f,"Reason",_.C(b,2))}else b instanceof _.JM?(MM(f,"WS ID",b.getId()),MM(f,"Title",b.getTitle()),MM(f,"State",b.getState())):b instanceof _.mVc&&MM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.jj.add(d);return d};
_.eZc=function(a,b){for(var c=new _.Io,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.UUc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.aZc.prototype.nR=function(){return this.jj.Fg()};_.t("sy1m0");
_.AN=function(a){_.P(this,a,-1,null,null)};_.L(_.AN,_.K);_.AN.prototype.qd=function(){return _.E(this,_.KA,1)};_.fZc=function(a,b){return _.x(a,1,b)};_.AN.prototype.Yn=function(){return _.C(this,3)};
_.gZc=function(a,b,c){_.gi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.gZc,_.gi);
_.hZc=function(a,b){this.O=a;this.V=b;this.H=null};
var BN=function(a){_.si.call(this);this.name=a};_.L(BN,_.si);_.g=BN.prototype;_.g.v4=function(){};_.g.bFa=function(){};_.g.T0a=function(){};_.g.SMa=function(){};_.g.S0a=function(){};_.g.$F=function(){this.dispatchEvent(new _.gi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var iZc=function(a,b){BN.call(this,"Online");var c=this;this.O=a;this.H=b;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.O,"Ab",function(d){d.Xe()||c.$F()});this.Mc.listen(this.H,"ib",this.$F)};_.L(iZc,BN);iZc.prototype.max=function(){var a=this.O.Xe(),b=this.H.BB();return!a&&b?Infinity:0};iZc.prototype.v4=function(){this.$F()};
var jZc=function(a){BN.call(this,"Online");var b=this;this.connectionState=a;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.connectionState,[_.WA.HL,_.WA.wha,_.WA.FU],function(){return b.$F()})};_.L(jZc,BN);jZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};jZc.prototype.v4=function(){this.$F()};
_.kZc=function(a,b){this.H=a;this.O=b};_.lZc=function(a){return a.H instanceof _.yN?new jZc(a.H.getState()):new iZc(a.O,a.H)};_.kZc.prototype.Ij=function(){return this.H instanceof _.yN?this.H.getState():this.O};
var nZc;_.mZc=function(a,b,c){this.DK=c;this.O=!0;this.V=0;this.H=new _.lH(a,b,.5)};nZc=function(a){return a.H.O+a.V};
_.CN=function(a,b){BN.call(this,"Backoff");this.H=a;this.O=b};_.L(_.CN,BN);_.CN.prototype.max=function(){return this.H.O?Infinity:0};_.CN.prototype.SMa=function(){var a=this.H;a.V=0;a.H.reset()};_.CN.prototype.S0a=function(a){var b=this;oZc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Xa(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.$F()},a),_.mH(this.H.H))};
var oZc=function(a){var b;return(a=null===(b=_.ha(a.RD))||void 0===b?void 0:b.response)?XUc(_.Hsb(a)):!1};_.CN.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.pZc=function(a,b){BN.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.pZc,BN);_.pZc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.pZc.prototype.v4=function(a){a>=this.O?this.$F():null==this.H&&qZc(this)};_.pZc.prototype.bFa=function(a,b){0<b?qZc(this):this.H=null};var qZc=function(a){a.H=Date.now()-1;_.n.setTimeout(a.$F.bind(a),a.V)};
_.DN=function(){this.jj=[]};_.g=_.DN.prototype;_.g.add=function(a,b){b?this.jj.unshift(a):this.jj.push(a);return!0};_.g.$sa=function(a){return _.Ba(this.jj,0,a)};_.g.Ld=function(){return this.jj.length};_.g.cancel=function(a){return _.wa(this.jj,function(b){return b.Cv.config.requestId===a?(b.ne.resolve(AVc(b.Cv.request)),!0):!1})};_.g.kK=function(){return _.dg(this.jj,function(a){return _.OM(a.Cv.request)})};
var rZc=function(){BN.call(this,"Immediate")};_.L(rZc,BN);rZc.prototype.max=function(){return Infinity};rZc.prototype.v4=function(){this.$F()};
var sZc=function(){BN.call(this,"One Request")};_.L(sZc,BN);sZc.prototype.max=function(){return 1};
_.EN=function(a){BN.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.EN,BN);_.EN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.EN.prototype.v4=function(){this.H<this.limit&&this.$F()};_.EN.prototype.bFa=function(a){this.H+=a.length};_.EN.prototype.T0a=function(a){this.H-=a.length;this.H<this.limit&&this.$F()};
var tZc=function(){_.si.apply(this,arguments)};_.L(tZc,_.si);var vZc=function(a,b){a.dispatchEvent(new uZc(b))};tZc.prototype.O=function(){};var uZc=function(a){_.gi.call(this,"Nb");this.request=a};_.L(uZc,_.gi);
_.FN=function(a,b,c,d,e,f){_.si.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.Mc=new _.He(this);this.Ma(this.Mc);for(a=0;a<this.H.length;a++)this.Mc.listen(this.H[a],"Mb",this.O_a);for(a=0;a<this.O.length;a++)this.Mc.listen(this.O[a],"Nb",function(k){wZc(h,!0,k.request)});this.ka=_.lt("drive.ds.network.queue.Queue [%s]",f)};_.L(_.FN,_.si);_.FN.prototype.add=function(a){return wZc(this,!1,{Cv:a,ne:_.Sh(),RD:[]})};
_.FN.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};_.FN.prototype.kK=function(){return this.V.kK()?!0:this.buckets.some(function(a){return a.kK()})};
var wZc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.Tp(new _.mc,"No queue bucket accepted request."),_.Qh(_.UA(a));for(var d=xZc(a),e=0;e<a.H.length;e++)a.H[e].v4(d);return c.ne.promise};_.g=_.FN.prototype;
_.g.O_a=function(){var a=xZc(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].$sa(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.nwb.bind(this,a[e]),this.mwb.bind(this,a[e]));e=xZc(this);for(var f=0;f<this.H.length;f++)this.H[f].bFa(a,e);_.Th(_.iL(d).then(this.lwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.O_a.bind(this),0)};
_.g.nwb=function(a,b){var c=a.Cv.config;this.log(zVc(a.Cv.request)+" request completed successfully. xd4: "+!(!c||!c.$N));this.H.forEach(function(d){return d.SMa()});this.O.forEach(function(d){return d.O(a)});a.ne.resolve(b)};
_.g.mwb=function(a,b){b=_.UA(b);this.log(zVc(a.Cv.request)+(" request failed with error: "+b.ha+"."));a.RD.push({response:b,kRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].S0a(a);a.Cv.config.Kna||!this.O.some(function(d){return d.intercept(a)})?a.ne.reject(b):this.log(zVc(a.Cv.request)+" encountered an error, but was intercepted to be retried.")};_.g.lwb=function(a){xZc(this);for(var b=0;b<this.H.length;b++)this.H[b].T0a(a)};
var xZc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ld()){b=a.buckets[c].Ld();break}return b};_.FN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.yZc=function(a,b,c,d){tZc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Lj(a,21,1E3);this.oa=_.Lj(a,1,1);this.ma=function(){return new _.mZc(_.Lj(a,63,1E3),_.Lj(a,64,3E5),_.Lj(a,65,10))}};_.L(_.yZc,tZc);
_.yZc.prototype.intercept=function(a){var b=a.RD.length,c=0<b&&_.ha(a.RD).response||null;if(c){c=_.JL(c);if(2===c.Qp())return zZc(this,a);if(_.kUc(c))return 2>=b?(vZc(this,a),a=!0):a=!1,a;var d=c.Fk();if(3===d||31===d||13===d||9===d)return AZc(this,a,b);if(XUc(c))return b=nZc(this.V),c=this.V,nZc(c)<c.DK?(this.log("Backoff number "+b+" for a User Rate Limit error."),vZc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var zZc=function(a,b){var c=BZc(a,b),d=nZc(c);if(nZc(c)<c.DK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Xe()?(d=c.H.Xa(),_.n.setTimeout(function(){return vZc(a,b)},d),_.mH(c.H)):(_.n.setTimeout(function(){return vZc(a,b)}),c.V++),!0;a.H.delete(b);return!1},BZc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},AZc=function(a,b,c){var d=a.oa;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.n.setTimeout(function(){return vZc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.yZc.prototype.O=function(a){this.H.delete(a)};_.yZc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var CZc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.lUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Jwb,d=qXc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Hwb(_.VL(e),"reading data"))}},DZc=function(a){return CZc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var EZc=function(a,b,c,d,e,f,h){this.Ha=a;this.H=b;this.Ja=c;this.W=d;this.Oa=e;this.request=f;this.config=h;this.O=this.oa=this.progress=0;this.Fa=this.va=this.ha=null;this.ne=_.Sh();this.finished=!1;this.Ba=this.Du=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Jz();a=_.lUc()&&a?_.C(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.FO="progress_"+this.requestId;h.FO=this.FO;this.ma=!!f.metadata};
EZc.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};EZc.prototype.start=function(){var a=this,b=new sVc(this.request.request,this.request.metadata),c=FZc(this);this.Ha.then(function(d){return d.Ve(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;GZc(a)},function(d){return void a.ne.reject(d)});return _.Th(this.ne.promise.then(function(d){HZc(a,d);return d},function(d){d=_.UA(d);HZc(a,d.Qg);return _.Qh(d)}),function(){IYc(a.H,[a.FO])})};
var FZc=function(a){var b=_.$a(a.config);HYc(a.H,a.FO,TWc(function(){return void a.H.notify([a.requestId],0)}));return b};EZc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ne.resolve(AVc(this.request)),!0)};
var GZc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),IZc(a,4))},IZc=function(a,b){JZc(a).then(function(c){if(c){var d=KZc(a,c.blob.size);a.Ha.then(function(f){return f.Ve(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.oa+=h;a.Ba++;f.dK()&&(a.va=f.dK());f.hN()&&(a.Fa=f.hN());a.progress<a.fileSize?GZc(a):a.ne.resolve(f)},function(f){if(d.Kna)a.cancel();else{var h=_.JL(f);h.eCa()||h.Kla()||a.ma?LZc(a,b,h,!1):DZc(c.blob).then(function(k){k=k?_.hEa.get(k)||
25:38;_.TL(h,k);k=38===h.Qp();var l=38!==h.Qp()&&25!==h.Qp();LZc(a,b,h,k,l)},function(){})}})}else{var e=_.UA(_.TL(_.Tp(new _.mc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ne.reject(e)}})},LZc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Yfa(f);!e&&0<b?(a.Du++,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+"."));IZc(a,b)},a.Oa*Math.pow(1.5,f))):a.ne.reject(_.UA(c))},JZc=function(a,b){return a.ma&&a.V?_.Ph(a.V):MZc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return JZc(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 tVc(a.ha,c,a.oa,a.oa+c.size-1,a.finished,a.request.request.getMimeType(),_.C(a.request.request,
12)||void 0);return a.V})},MZc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.yQ?a.request.yQ(b,a.O):_.Ph(_.WUc(a.request.file,b,b+a.O))},KZc=function(a,b){var c=_.$a(a.config);c.LRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;IYc(a.H,[a.FO]);HYc(a.H,a.FO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},HZc=function(a,b){b.TMa(3);b.Yfa(a.Du);b.dK()||b.pda(a.va);b.hN()||b.fda(a.Fa)};
_.NZc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.NZc.prototype.create=function(a,b){return new EZc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.OZc=function(a){this.O=a;this.H={}};_.OZc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Cv.request instanceof _.uVc)b.push(PZc(this,a[c].Cv));else{var d=_.Tp(new _.mc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.UA(d)))}return b};_.OZc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.OZc.prototype.kK=function(){return!_.Va(this.H)};
var PZc=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Th(d,function(){delete a.H[e]})};
_.QZc=function(a,b){return new _.FN(b,a,[new rZc],[new _.DN],[],"immediate")};_.RZc=function(a,b,c,d,e){return new _.FN(e,a,[_.lZc(d),new _.CN(c,e),new sZc],[new _.DN],[new _.yZc(b,c,d.Ij(),e)],"connected")};_.SZc=function(a,b,c,d,e,f,h){h=void 0===h?_.Lj(b,10,50):h;return new _.FN(e,a,[_.lZc(d),new _.pZc(h,_.Lj(b,12,10)),new _.EN(3*h),new _.CN(c,e)],[new _.DN],[new _.yZc(b,c,d.Ij(),e)],f)};_.TZc=function(a,b,c){b=_.Lj(b,46,1);return new _.FN(c,a,[new _.EN(b)],[new _.DN],[],"resumable_upload")};
_.UZc=function(a,b,c,d,e,f,h,k){this.vI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.UZc.prototype.Ve=function(a,b){return VZc(this,a,b).then(null,function(c){c=_.UA(c);var d=c.Qg;BVc(a)||_.Vp(d);return _.Qh(c)})};
var VZc=function(a,b,c){c=void 0===c?{}:c;var d=a.vI.validate(b);if(d)return _.Qh(_.UA(d));var e=a.ma.translate(b);e instanceof _.mc?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 _.Ph(d).then(function(){if(e instanceof _.mc)return _.Qh(_.UA(e));if(Array.isArray(e)){var f=e.map(function(h){return WZc(a,b,h,c)});return _.iL(f)}return WZc(a,b,e,c)},function(f){return _.Qh(_.UA(f))})},
WZc=function(a,b,c,d){var e=XZc(a,c);if(!e)return b=_.TL(_.Tp(new _.mc,"Failed to choose a queue for server request."),18),_.Qh(_.UA(b));if(e===a.H[7]||e===a.H[8])d.$N=!0;d=e.add({request:c,config:d});(_.OM(b)||_.OM(c))&&_.Th(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};_.UZc.prototype.cancel=function(a){return _.Pa(this.H,function(b){return b.cancel(a)})};
var XZc=function(a,b){var c,d=!1;b instanceof _.oM?d=!(null===(c=_.E(b,_.Sz,2))||void 0===c||!_.R(c,7)):b instanceof _.Sz?d=!!_.R(b,7):b instanceof _.CL&&(d=(d=b.yd())&&!!_.R(d,46));return(b instanceof _.xVc||b instanceof _.eL&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.uVc&&a.H[5]?a.H[5]:d&&IVc(b,a.O)&&a.H[7]?a.H[7]:IVc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.oM||b instanceof _.Sz)&&a.H[6]?a.H[6]:(d||ZYc.includes(b.constructor))&&a.H[3]?a.H[3]:CVc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var YZc=function(a){this.H=a};YZc.prototype.build=function(a,b){var c="====="+_.Rg()+"=====",d=a[0].Zm,e=b.every(function(l){return l.$N});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=OYc(this.H,a[0].Zm);_.ij(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=ZZc[d],h=$Zc[d]||{},h["content-type"]=_.lt('multipart/mixed; boundary="%s"',c),d=a_c[d],k=new _.aj("");a=b_c(this,a,b,c,e);return{Zm:f,body:a,headers:h,method:d,uri:k}};
var b_c=function(a,b,c,d,e){for(var f=fVc(c_c[b[0].Zm]||{}),h="",k=0;k<b.length;k++){e&&MYc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=NYc(p,q.Zm,q.uri);switch(q.Zm){case 0:case 5:LYc(p,q,r);KYc(p,q,r);break;case 2:MYc(p,q,r);LYc(p,q,r);var u=q,y=_.C(p.H.Yf(),57);u.headers.host=_.lj(y).Aj();u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;KYc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ze`"+q.Zm);default:throw Error("Ye`"+
q.Zm);}p=l;q=p.uri.clone();q.qn("");q.nn("");q.AA(null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+fVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},d_c={},ZZc=(d_c[0]=1,d_c[2]=3,d_c),e_c={},a_c=(e_c[0]="POST",e_c[2]="PUT",e_c[12]="POST",e_c),f_c={},g_c={},$Zc=(g_c[2]=(f_c["x-goog-upload-protocol"]="batch",f_c),g_c),h_c={},i_c={},j_c={},k_c={},c_c=(k_c[0]=(h_c["content-type"]="application/http",h_c["content-transfer-encoding"]="binary",h_c),k_c[12]=
(i_c["content-type"]="application/http",i_c["content-transfer-encoding"]="binary",i_c),k_c[2]=(j_c["content-type"]="application/http",j_c),k_c);
var l_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,m_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var n_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.jj=new Map};n_c.prototype.add=function(a,b){var c="DEFAULT";b.$N&&(c=OYc(this.V,a.Zm).toString());this.jj.has(c)||this.jj.set(c,[]);c=this.jj.get(c);if(1<=c.length&&!b.$N&&!ZZc[a.Zm])return a=_.Tp(new _.mc,"Unsupported batch API: "+a.Zm),_.Qh(_.UA(a));var d=_.Sh();c.push({request:a,config:b,ne:d});return d.promise};
n_c.prototype.send=function(){var a=this;this.jj.forEach(function(b,c){try{o_c(a,b)}catch(f){var d=_.Up(_.Tp(new _.mc,"Error executing XHR: "+f.message),f.stack),e=_.UA(d);b.forEach(function(h){h.ne.reject(e)});a.jj.delete(c)}})};
var o_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.FCa&&!c.config.$N){var d=!1;if(ZZc[c.request.Zm]){var e={Zm:c.request.Zm,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){p_c(a,c);return}}}q_c(a,b)},p_c=function(a,b){var c=b.ne;a.W.Yg(b.request,b.config).then(function(d){c.resolve(d);r_c(a,b)},function(d){a.handleError(b,d);c.reject(_.UA(d))})},q_c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.Yg(a.ha.build(c,d),{FCa:!0,$N:d.every(function(e){return e.$N})}).then(function(e){e.headers=_.JUc(e.headers);var f=m_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.nc("Could not extract batch boundary.",_.TL(_.Up(new _.mc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Ed(_.aia(h[0]),f)&&_.ee(h[1]))h=_.aia(h[0]).substring(f.length);else throw new _.nc("Could not parse batch response; did not begin and end with boundary.",
_.TL(_.Up(new _.mc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var u=void 0;var y,z=e.headers,D=f[l],G=p&&p.uri,I=D.split("\r\n\r\n");if(2>I.length)u=new _.nc("Individual batch response contained too few parts.",_.TL(_.Up(new _.mc,D),17));else{var M=I[1].split("\r\n");if(y=l_c.exec(M[0])){p=_.Db(y[1]);y=y[2];M.shift();z=_.$a(z);for(var O=Object,X=O.assign,ra={},fa=0;fa<M.length;fa++){var na=_.jia(M[fa],":",1);na&&2===
na.length&&(ra[(0,_.gg)(na[0])]=(0,_.gg)(na[1]))}M=_.JUc(ra);X.call(O,z,M);try{u=_.ee(_.Qg(I[2]))?void 0:JSON.parse(I[2])}catch(sa){}u=(p=_.OUc(p,y,z,D,u,void 0,void 0,G&&G.toString()))?_.UA(p):{headers:z,text:D,json:u||void 0}}else u=new _.nc("Could not extract HTTP status code and text.",_.TL(_.Up(new _.mc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.UA(e);return _.SRc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ne,l=e[h];l instanceof _.mc||l instanceof
_.nc?(l=_.UA(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||r_c(a,b[0])})},r_c=function(a,b){var c=b.request.Zm;b=!b.config.uu&&_.ma(s_c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=TYc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.Yj(),a.H=null)}else a.O&&b&&a.O.va()};
n_c.prototype.handleError=function(a,b){a=_.Hsb(b);if(2===a.Qp()){if(this.H)return _.VYc(this.H),!0}else if(_.kUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.UYc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var s_c=[0,2,4,7,8];
var t_c=function(){_.Yi.apply(this,arguments)};_.L(t_c,_.Yi);t_c.prototype.getAllResponseHeaders=function(){return _.aia(_.Yi.prototype.getAllResponseHeaders.call(this))};
var u_c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=u_c.prototype;_.g.Yg=function(a,b){try{this.W.tc(a,b);var c=new t_c;c.wC=!0;var d=b.requestId||"",e=_.Sh();c.listen("complete",this.Aab.bind(this,c,e,d,b.FCa,4===a.Zm));d&&b.FO&&!b.$N&&(this.O[d]=c,this.H[d]=b,c.Fb=!0,c.listen("uploadprogress",(0,_.v)(this.Yzb,this,b)),b.LRa||c.listen("downloadprogress",(0,_.v)(this.Xvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.Qh(_.UA(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.Kna=!0,b.abort(),!0):!1};_.g.Aab=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:_.Vla(a),text:a.Uk()};if(!d)try{c.json=_.gL(a)}catch(f){}d=_.OUc(a.Bb(),_.Sla(a),c.headers,c.text,c.json,a.O,_.Wla(a),String(a.oa),e);a.dispose();d?b.reject(_.UA(d)):b.resolve(c)};_.g.Yzb=function(a,b){b.lengthComputable&&this.V.notify([a.FO],a.LRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Xvb=function(a,b){b.lengthComputable&&this.V.notify([a.FO],b.loaded/b.total/2+.5)};
_.v_c=function(a,b,c,d,e,f,h){this.O=a;this.va=b;this.Ba=c;this.oa=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new YZc(this.O);this.W=new u_c(this.O,this.va)};_.g=_.v_c.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.OE(e,a[d].RD));c.push($Yc(e.request)?_.dZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.UA(_.OUc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new n_c(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={zra:e.zra},k++){e.zra=a[k].Cv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.zra)}}(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.eob.bind(this,k.request,c[e],a[e].RD)).then(null,function(p){return Promise.reject(_.UA(p))}),l.then(this.UMa.bind(this,k),this.UMa.bind(this,k)),b.push(l);return b};_.g.eob=function(a,b,c,d){a=this.oa.OE(a,d,c);b&&(c=a.Gd?a.Gd():[],_.eZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.kK=function(){return this.V.some(function(a){return _.OM(a.request)})};
_.g.UMa=function(a){_.va(this.V,a)};
_.w_c=function(){};_.w_c.prototype.execute=function(){return null};
var x_c;x_c=function(a){this.H=a};_.GN=function(a,b){if(!_.Ca(b))throw new _.nc("Expected an object, but got a "+_.Lfa(b)+".",_.UL(11,void 0,8));var c=b.kind;if(!c)throw new _.nc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.UL(11,void 0,21));if(!a.includes(c))throw new _.nc("Expected "+a.join(" or ")+" but got a "+c+".",_.UL(11,void 0,9));};_.HN=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.y_c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.OVc(new _.Rk,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.XVc(_.SVc(_.YVc(_.ZVc(_.$Vc(_.WVc(_.VVc(_.RVc(_.QVc(_.PVc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.A(b,13,a.canRenameTeamDrive);b=_.aWc(_.UVc(_.TVc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.dWc(_.cWc(_.bWc(_.A(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.A(b,34,a.canDeleteChildren);b=_.A(b,35,a.canTrashChildren);b=_.A(b,36,a.canRequestApproval);b=_.A(b,37,a.canReadCategoryMetadata);b=_.A(b,38,a.canEditCategoryMetadata);b=_.A(b,39,a.canChangeCategoryReferences);b=_.A(b,49,a.canSetMissingRequiredFields);
b=_.A(b,40,a.canAddMyDriveParent);b=_.A(b,41,a.canRemoveMyDriveParent);b=_.fWc(_.eWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.iWc(_.hWc(_.gWc(_.A(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.A(b,50,a.canChangeSecurityUpdateEnabled);b=_.A(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.A(b,52,a.canCreateDecryptedCopy);b=_.A(b,53,a.canCreateEncryptedCopy);b=_.A(b,54,void 0===a.canAddEncryptedChildren?
a.canAddChildren:a.canAddEncryptedChildren);return _.A(b,55,a.canBlockOwner)};_.MN=function(a,b){_.GN(["drive#user"],b);var c=_.MVc(_.NVc(_.KVc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.uo(b.picture.url);_.BL(a.H)&&_.MVc(c,b.emailAddressFromAccount||b.emailAddress);_.LVc(c,a.Nf(b.id));c.nn(b.domain);return c};x_c.prototype.Nf=function(a){if(a)return _.$M(_.vL(this.H))==a};
var z_c,F_c,U_c,C_c,K_c,J_c,L_c,N_c,P_c,B_c,R_c,Q_c,S_c,T_c,V_c,W_c,M_c;z_c=function(a,b){this.H=a;this.O=b};
_.D_c=function(a,b,c){var d=new _.AN,e=new _.KA,f=e.Vw;_.GN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.A_c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.A_c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.GN(["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 _.krb).Cc(B_c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.orb;a=_.Cb(k,1,a);f.push(a)}q=new _.qrb;_.Cb(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.mrb;_.Pj(u,1,f)}q||u?(f=new _.rrb,q&&_.x(f,1,q),u&&_.x(f,2,u),u=f):u=null;_.x(e,7,u);u=C_c(b);_.Pj(e,18,u)}d=_.fZc(d,e);c=_.LUc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
F_c=function(a,b,c,d,e){_.GN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.oXc(new _.NM,c);"drive#adminFile"==b.kind?(_.GN(["drive#adminFile"],b),c=(new _.Wk).Pb(b.id),b.parentId&&_.VM(c,[b.parentId]),_.yWc(c,b.teamDriveId),f.setItem(c),_.oXc(f,c.getId())):"drive#file"==b.kind?(b=_.A_c(a,b),f.setItem(b),c||_.oXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.E_c(a,b),_.x(f,4,b));f.pda(_.KUc(d));f.fda(_.LUc(d));(d=(d=d&&_.JUc(d))&&d["x-server-object-version"])&&e&&(e=(new _.eN).Pb(d),
_.x(f,4,e));f.Cc(1);return f};_.G_c=function(a,b){return _.oXc(new _.NM,a).Cc(1).pda(_.KUc(b)).fda(_.LUc(b))};_.I_c=function(a,b,c,d){d||_.GN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.H_c(a,b[c],d);f&&e.push(f)}return e};
_.H_c=function(a,b,c){c||_.GN(["drive#permission"],b);c=_.LVc(_.NVc(_.KVc(J_c[b.type]).Pb(b.id),b.userId),a.H.Nf(b.userId));c=_.A(c,4,b.withLink);c=_.MVc(c.jd(b.name).uo(b.photoLink),b.emailAddress).nn(b.domain);c=_.A(c,10,b.deleted);c=_.A(c,12,b.audienceId);c=_.A(c,13,b.customerId);c.getId()||c.Pb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.BL(a.O)&&c.jd(b.nameIfNotUser);a=K_c[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6);_.A(c,6,a);return c};
_.A_c=function(a,b){_.GN(["drive#file"],b);var c=b.title,d=(new _.Wk).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=_.wWc(_.sWc(_.MF(_.VM(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.A(c,90,Number(b.thumbnailVersion));_.A(c,21,b.iconLink);c.um(b.description);_.tWc(c,b.explicitlyTrashed);_.A(c,22,b.shared);null!=b.quotaBytesUsed&&_.A(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.A(c,14,Number(b.fileSize));_.A(c,
30,b.copyable);b.labels&&(d=b.labels,c.Ev(d.starred),_.A(c,6,d.hidden),c.Pn(d.trashed),_.pWc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.HN(b.createdDate));_.A(c,69,_.HN(b.serverCreatedDate));_.kTb(c,_.HN(b.modifiedDate));_.A(c,12,_.HN(b.modifiedByMeDate));_.A(c,13,_.HN(b.lastViewedByMeDate));_.A(c,23,_.HN(b.sharedWithMeDate));_.A(c,62,_.HN(b.subscribedDate));_.A(c,70,_.HN(b.recency));b.recencyReason&&_.A(c,71,L_c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.MN(a.H,
e[f]))&&d.push(h);_.qWc(c,d);b.lastModifyingUser&&(d=_.MN(a.H,b.lastModifyingUser),_.rWc(c,d));b.userPermission&&_.lTb(c,K_c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.SM).xh(e.width).wh(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.STc,f.setMilliseconds(0),M_c.parse(e,f),_.A(d,1,f.getTime())),_.x(c,27,d));null!=b.folderColor&&_.vWc(c,Number(b.folderColor));_.uWc(c,b.subscribed);_.A(c,45,b.fileExtension);_.Pj(c,50,b.folderFeatures);_.A(c,36,b.flaggedForAbuse);
_.A(c,53,b.gplusMedia);_.A(c,46,b.primarySyncParentId||void 0);_.A(c,35,b.hasChildFolders);b.source&&(_.A(c,42,b.source.client_service_id),_.A(c,43,b.source.value));b.sharingUser&&(d=_.MN(a.H,b.sharingUser),_.x(c,47,d));b.sources?_.Pj(c,56,b.sources):b.gplusMedia&&_.Pj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.GRc[h]&&(h=_.Ye(new _.Xe,_.GRc[h]),e.push(h));c.BA(e)}_.A(c,63,b.ownedByMe);_.A(c,29,b.shareable);b.sourceAppId&&_.A(c,61,b.sourceAppId);_.A(c,74,
b.changed);null!=b.recursiveFileSize&&_.A(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.A(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 _.xna).Pb(h.id);h=_.A(k,2,N_c[h.type]);e.push(h)}_.Cb(c,83,e)}b.capabilities&&_.WM(c,_.y_c(b.capabilities));b.permissionsSummary&&_.zWc(c,_.O_c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.TM).um(d.description),
e=_.A(e,3,P_c[d.galleryState]),d=_.Pj(e,2,d.category),_.x(c,86,d));_.yWc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.MN(a.H,b.creator),_.x(c,91,d));_.AWc(c,b.primaryDomainName);_.BWc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.MN(a.H,b.trashingUser),_.x(c,95,d));c.wda(_.HN(b.trashedDate));b.version&&_.A(c,75,Number(b.version));_.A(c,98,b.hasVisitorPermissions);_.A(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.A(c,101,Q_c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.UM).xh(d.width).wh(d.height),d.durationMillis&&_.A(e,3,Number(d.durationMillis)),_.x(c,103,e));_.Pj(c,104,b.detectors);_.A(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=_.kWc((new _.Tk).dP(f.readOnly),f.reason),d.push(f);_.Cb(c,125,d)}if(d=b.publishingInfo)_.A(c,118,d.published),_.A(c,119,d.publishedUrl);_.Pj(c,
120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.A(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 _.zna).Pb(f.approvalId).Cc(R_c[f.status]),d.push(f);_.Cb(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Jna,e=_.A(e,1,d.targetId),e=_.A(e,3,d.targetMimeType),e=_.A(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.A(e,4,S_c[d.targetLookupStatus]||0),d.targetFile&&(d=_.A_c(a,d.targetFile),_.x(e,5,d)),_.x(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.RM,e=_.A(e,1,T_c[d.encryptionState]),d.decryptionMetadata&&(d=U_c(d.decryptionMetadata),_.x(e,2,d)),_.x(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Ana,e=_.A(e,2,d.securityUpdateEligible),e=_.A(e,3,d.securityUpdateEnabled),d=_.A(e,5,d.securityUpdateExplicitlySet),_.x(c,139,d));_.A(c,140,b.resourceKey);_.Pj(c,135,b.authorizedAppIds);
_.CWc(c,b.customerId);_.eVc(c);_.BL(a.O)&&_.xWc(c,5);return c};_.E_c=function(a,b){_.GN(["drive#revision"],b);var c=(new _.eN).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.HN(b.modifiedDate));c=_.A(c,4,b.pinned);c=_.A(c,5,b.downloadUrl);c=_.A(c,7,b.originalFilename);null!=b.fileSize&&_.A(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.MN(a.H,b.lastModifyingUser),_.x(c,9,a));b.decryptionMetadata&&(b=U_c(b.decryptionMetadata),_.x(c,10,b));return c};
_.O_c=function(a,b){a=_.nWc(_.mWc(_.lWc(new _.Ena,b.entryCount),_.I_c(a,b,"visibility",!0)),_.I_c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};U_c=function(a){var b=a.wrappedKey;var c=new _.jWc;b=b?_.VWc(b):void 0;c=_.A(c,1,b);c=_.A(c,2,Number(a.kaclsId));c=_.A(c,5,a.kaclsName);c=_.A(c,3,V_c[a.aes256GcmChunkSize]);c=_.A(c,6,W_c[a.keyFormat]);return _.A(c,4,a.jwt)};
C_c=function(a){_.GN(["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};K_c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};J_c={anyone:4,audience:5,domain:3,group:2,user:1};L_c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};N_c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};P_c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};B_c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
R_c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};Q_c={docs:1,sheets:2,slides:3};S_c={ok:1,notFound:2,permissionDenied:3};T_c={unencrypted:1,encrypted:2};V_c={unset:0,"default":1,small:2,size16kb:3};W_c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};M_c=new _.tVa("yyyy:MM:dd HH:mm:ss");
var $_c;_.X_c=function(a){this.V=new x_c(a);this.xF=new z_c(this.V,a)};_.X_c.prototype.OE=function(a,b,c){c=void 0===c?[]:c;try{return Y_c(this,a,b,c)}catch(d){_.WL(d)}};
var Y_c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.cM)return _.Z_c(a,b,c);if(b instanceof _.lM)return $_c(0,c,d);if(b instanceof _.Sz||b instanceof _.oM){if(!c.json)throw _.NN();return _.D_c(a.xF,c.json,c.headers)}if(b instanceof _.KM)return _.Z_c(a,b,c);if("undefined"!=typeof _.pVc&&b instanceof _.pVc){if(!c.json)throw _.NN();a=c.json;return new _.DXc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.a0c&&b instanceof _.a0c){if(!c.json)throw _.NN();
return _.E_c(a.xF,c.json)}if(b instanceof _.zM)return $_c(b.yd(),c,d);if(b instanceof tVc){if(b.V){if(!c.json)throw _.NN();a=F_c(a.xF,c.json,null,c.headers,!!b.revisionId)}else a=_.G_c(null,c.headers);return a}if(b instanceof sVc){a=_.JUc(c.headers);b=a.location;if(!b)throw a=_.TL(new _.mc,10),new _.nc("No upload session URI included.",a);return new EXc(b,_.KUc(a),_.LUc(a))}if(b instanceof _.xVc)return new FXc;throw new _.nc("FromXhrConverter: Unsupported request type.",new _.mc);};
_.X_c.prototype.ha=function(){return null};$_c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new GXc(_.Caa(b.text),c.length):new GXc(new Uint8Array(_.ima(b.text)),c.length)};_.Z_c=function(a,b,c){if(!c.json){if(b instanceof _.ML)return _.G_c(_.b0c(b));throw _.NN();}var d=!1;b instanceof _.KM&&(d=!!_.C(b.request,12));return F_c(a.xF,c.json,_.b0c(b),c.headers,d)};_.NN=function(){var a=_.TL(new _.mc,11);return new _.nc("FromXhrConverter: JSON required, but none found",a)};
_.b0c=function(a){return a.getId?a.getId():a.Ic?a.Ic():null};
var f0c,g0c,i0c,c0c,j0c,d0c;
f0c=function(a,b){var c={};_.ee(_.Qg(a.getTitle()))||(_.C(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Ic()&&_.Lea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.oj(b.ha()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=c0c[d?d.O():0],h.keyFormat=d0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.e0c(c,_.Pd(a,3));(b=a.Ic())&&(c.id=b);_.C(a,16)&&(c.embeddingParent=_.C(a,16));a.m2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.m2());"number"===typeof _.C(a,26)&&(c.modifiedDate=_.LWc(_.KXc(_.C(a,26)||0)));return c};_.e0c=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)}}};g0c={};_.h0c=(g0c[1]="active",g0c[2]="archived",g0c);i0c={};c0c=(i0c[0]="unset",i0c[1]="default",i0c[2]="small",i0c[3]="size16kb",i0c);j0c={};d0c=(j0c[0]="unsetKeyFormat",j0c[1]="tinkKeyset",j0c[2]="tinkAesGcmKey",j0c);
var m0c=function(a,b,c){return(a.yQ?a.yQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return CZc(d)}).then(function(d){return k0c(a,b,d,c)},l0c)},k0c=function(a,b,c,d){var e=!!_.C(a.request,12),f="files";e&&(f+="/"+_.C(a.request,12));f=new _.aj(f);_.ij(f,"uploadType","multipart");_.ij(f,"supportsTeamDrives",!0);_.ij(f,"pinned",!!_.S(a.request,13,!1));null!=_.R(a.request,8)&&_.ij(f,"convert",_.R(a.request,8));_.ij(f,"fields",_.$Uc({fields:_.hN(b).filter(function(q){return 194!=q}),tr:!1}));
gVc(f,a.request.we());var h=f0c(a.request,a.metadata),k=_.Rg();b={};b=(b["content-type"]=_.lt('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());_.QM(d,_.ck(a.request,_.zl,28),[],null,b);a="--"+k;a=a+"\r\n"+fVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+fVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Zm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},l0c=function(a){if(a instanceof _.Hwb){var b=new _.mc;_.Tp(b,"fs.Error: "+a.message);a=(a=a.name)?_.hEa.get(a)||25:38;_.TL(b,a);b=_.UA(b)}else b=_.VL(a);return Promise.reject(b)};
_.ON=function(a,b,c,d){this.H=a;this.Kg=b;this.O=c;this.Dd=d;this.ka=_.LL(a)||new _.mUc};_.ON.prototype.OE=function(a,b){try{return a.request instanceof _.KM?m0c(a.request,this.Kg,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.nc?a=c.Qg:(a=new _.mc,_.Tp(a,"Error converting XHR: "+c.message),_.Up(a,c.stack),_.TL(a,4)),Promise.reject(a)}};
_.ON.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.cM){h=(e=!!_.C(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.C(a,12),k.pinned=!!_.S(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.$Uc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),LG:_.BL(this.H)});e=f0c(a);f["content-type"]="application/json";var r=a.we();p=!0;_.gN(k);_.n0c(this.H,k);_.QM(this.H,_.ck(a,_.zl,28),_.Pd(a,3).concat([_.C(a,16),a.m2(),a.Ic()]),this.O,f)}else if(a instanceof _.lM||a instanceof
_.zM)a instanceof _.zM?(l=a.yd(),_.Q(a,2)&&(q="bytes="+_.C(a,2)+"-",_.Q(a,3)&&(q+=_.C(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.C(l,2)&&(k.revisionId=_.C(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.QM(this.H,[_.Al((new _.zl).Pb(l.getId()),_.C(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.oM||a instanceof _.Sz){if(a instanceof _.oM)q=_.C(a,1),a=_.E(a,_.Sz,2);else if(a instanceof _.Sz)q=0,_.xN(this.Dd,190196159);else throw Error("Xf");p=a.jn()[q];q="files/"+
p;r=_.xa(this.Mg(c),this.Mg(c,a.O()));_.Ea(r);k.fields=_.$Uc({fields:r,tr:_.uL(_.vL(this.H)),LG:_.BL(this.H)});_.gN(k);_.o0c(this.H,k);_.p0c(this.H,k);this.W(p,k);r=a.we();p=!0;_.R(a,7)&&(b.FCa=!0);_.QM(this.H,_.ck(a,_.zl,11),a.jn(),this.O,f)}else if("undefined"!=typeof _.pVc&&a instanceof _.pVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.a0c&&a instanceof _.a0c)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 tVc){d=4;h="PUT";q=a.W;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var u=a.H;b=a.O;f["content-range"]=a.V?_.lt("bytes %d-%d/%d",u,b,b+1):_.lt("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof sVc?(d=2,h=(e=!!_.C(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.C(a.request,12)),k.uploadType="resumable",k.pinned=!!_.S(a.request,13,!1),null!=_.R(a.request,8)&&(k.convert=_.R(a.request,8)),k.fields=_.$Uc({fields:this.Mg(c).filter(function(y){return 194!=
y}),tr:_.uL(_.vL(this.H)),LG:_.BL(this.H)}),_.gN(k),e=f0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.QM(this.H,[],_.Pd(a.request,3),this.O,f),r=a.request.we(),p=!0):a instanceof _.xVc?(q="about",k.fields="kind",r=a.H,p=!0):_.q0c(a);p&&_.r0c(c,k);0!=d||l||r&&_.C(r,1)||_.xN(this.Dd,74438989);return _.s0c(this,d,q,k,f,h,r,e,u)};
_.s0c=function(a,b,c,d,e,f,h,k,l){c=new _.aj(c);[10,12,13].includes(b)||gVc(c,h);_.S(a.ka,11,!1)&&(a=a.H.Ji())&&(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,_.jj(c,a,h);return{Zm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.o0c=function(a,b){_.S(a.Yf(),23,!1)&&(b.includePermissionsForView="published")};_.ON.prototype.W=function(){};
_.p0c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.n0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.r0c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ha(a).kRb):b.retryCount=0};_.ON.prototype.Mg=function(a,b){b||(b=_.hN(this.Kg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return mXc.includes(c)}));return b};_.q0c=function(a){var b=_.TL(new _.mc,4);throw new _.nc("ToXhrConverter: Unsupported request type: "+zVc(a),b);};
_.PN=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.oa=f;this.jj={};this.ha={};this.Dd=null;_.ze(this,function(){h.vG()})};_.L(_.PN,_.si);_.PN.prototype.DQ=function(){return _.hL()};
_.PN.prototype.upload=function(a,b,c,d){cZc(this.V,"UploadTotalCount");var e=a.fj();if(e&&this.jj[e])throw new _.nc("Upload requested with a duplicate request ID.");var f=_.Pd(a,10);if(f&&f.length){if(1!==f.length)throw new _.nc("Multi-parented uploads are not supported.");var h=this.jj[f[0]];if(!h)throw new _.nc("The parent upload request must precede this request.");}!_.C(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);e||(e=this.DQ(),_.A(a,9,e));a=a.clone();f=t0c(this,e);this.jj[e]={request:a,
file:b,Jg:f,TM:!1,Du:0,success:!1,KE:!1,children:[],metadata:c,Xla:void 0,yQ:d};h?u0c(this,e,h):this.ka(e);return f.An()};
var t0c=function(a,b){var c=new _.Wh;c.Sf(_.tb(a.Fa,b),_.tb(a.Ha,b),a);return c},u0c=function(a,b,c,d){var e=a.jj[b];c.children.push(b);_.Ea(c.children);c.Jg.then(function(f){if(1===f.Bb()&&(f=f.Ic(),_.Pd(e.request,3).push(f),_.HH(e.request,10),!c.KE||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.Jg.Pd(_.AL(f)?f:Error(f))})};
_.PN.prototype.Fa=function(a,b){cZc(this.V,"UploadSuccessCount");a=this.jj[a];a.success=1===b.Bb();(b=a.Xla)&&!a.KE&&(dXc(fXc(aYc(b),a.Du),!0),b.Yj())};_.PN.prototype.Ha=function(a,b){var c=_.E(this.O,_.SL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);cZc(this.V,"UploadFailureCount");c=this.jj[a];(a=c.Xla)&&!c.KE&&(dXc(fXc(aYc(a),c.Du),!1),b=(c=b&&b.Qg)&&c.Fk(),c=c&&c.Qp(),b?eXc(aYc(a),v0c.get(b)||13):c&&eXc(aYc(a),w0c.get(c)||0),a.Yj())};
_.PN.prototype.ka=function(a){var b=this.jj[a];if(!b.TM){b.TM=!0;a=this.jj[a];var c=a.request,d=_.E(this.O,_.SL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(x0c))&&(!d[1]||a.Du<Number(d[1].substr(1)))&&(c=c.clone(),_.qa(_.Pd(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Jz())?_.C(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.Yf();d=_.Lj(c,33,1048576);d=b.file&&b.file&&e>d?2:b.file?1:3;if(this.oa&&3!==d){var f=this.oa.H(106012);if(f){b.Xla=f;f=aYc(f);f=_.A(f,1,2===d?2:1);f=_.A(f,4,!!b.metadata);
var h=!!_.C(a,12);f=_.A(f,5,h);e=_.A(f,6,e);c=_.Lj(c,32,1073741824);_.A(e,7,c)}}switch(d){case 2:b.file&&y0c(this,new _.uVc(a,b.file,b.yQ,b.metadata),b.Jg,a.fj());break;case 1:b.file&&(c=b.Jg,d=b.file,e=b.metadata,b=b.yQ,f=_.E(this.O,_.DWc,2),y0c(this,new _.KM(a,d,b,f&&_.XM(f)?e:void 0),c,a.fj()));break;case 3:y0c(this,a,b.Jg,a.fj());break;default:throw new _.nc("Upload type ${uploadType} not supported.");}}};
var y0c=function(a,b,c,d){HYc(a.Ba,d,a.ma.bind(a,d));_.Th(a.W.then(function(e){return e.Ve(b,{requestId:d})}).then(null,function(e){return z0c(a,b,e)}),function(){IYc(a.Ba,[d])}).then(c.callback,c.Pd,c)},z0c=function(a,b,c){var d=_.UA(c),e=b instanceof _.KM&&b.request.Ic()||"";c=d.Qg;if(e&&8===c.Fk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.Uz(new _.Sz,[e]);return _.$h(a.W.then(function(h){return h.Ve(f)}).then(function(h){h=h.qd().Gd()[0];var k=b.request;if(h&&!h.Sh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.oXc((new _.NM).setItem(h),e).Cc(1);a.log("No matching item found for: "+e);return _.Qh(d)}))}return _.ai(d)};_.g=_.PN.prototype;
_.g.cancel=function(a){var b=this,c=this.jj[a];if(c&&(!c.KE||0!==c.children.length))if(c.KE=!0,c.Jg.ag())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ka(c.children,this.cancel,this);else{var d=c.Xla;d&&(eXc(dXc(fXc(aYc(d),c.Du),!1),2),d.Yj());var e=_.Sh();c.TM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.TM=!0,d=new _.NM,d.Cc(8),c.Jg.callback(d),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.vG=function(){var a=this;_.Ma(this.jj,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.jj[f]){var h=[];do{h.push(f);var k=(_.Pd(b.jj[f].request,10)||[])[0];if(k){var l=b.jj[k];if(l.success||!l.Jg.ag()||e[k])break;else if(!c.has(k)){e[f]=new _.nc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ia(h,function(p){var q=b.jj[p];q.Du++;if(!e[p])if(!q.Jg.ag()||q.success)e[p]=new _.nc("Unable to retry request.");else{var r=(_.Pd(q.request,10)||[])[0];e[r]instanceof _.nc?
e[p]=e[r]:(q.Jg=t0c(b,p),q.TM=!1,q.KE=!1,(r=r?b.jj[r]:null)?u0c(b,p,r,!0):d.push(p),e[p]=q.Jg.An())}})}else e[f]=new _.nc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Wh?f:_.ai(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.yd=function(a){return this.jj[a]};var x0c=/^uploadTestFailMe(\.[1-9])?$/,w0c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),v0c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.oc=function(a){_.gi.call(this,_.Ac);this.error=a};_.L(_.oc,_.gi);_.t("sy1m6");
_.A0c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var B0c;B0c=[1];_.QN=function(a){_.P(this,a,-1,B0c,null)};_.L(_.QN,_.K);_.QN.prototype.O=function(){return _.Pd(this,1)};_.t("sy1m2");
var C0c;_.RN=function(a){_.P(this,a,-1,C0c,null)};_.L(_.RN,_.K);_.RN.prototype.Bb=function(){return _.C(this,1)};_.RN.prototype.Cc=function(a){return _.A(this,1,a)};_.RN.prototype.rk=function(){return _.ck(this,_.Wk,2)};_.D0c=function(a,b){return _.Cb(a,2,b)};_.RN.prototype.sr=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.RN.prototype.Uf=function(){return _.C(this,4)};_.E0c=function(a,b){return _.A(a,4,b)};C0c=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1m1");
_.mTb=function(a){_.P(this,a,-1,null,null)};_.L(_.mTb,_.K);_.mTb.prototype.Li=function(){return _.C(this,3)};_.mTb.prototype.wi=function(a){return _.A(this,3,a)};_.mTb.prototype.we=function(){return _.E(this,_.of,5)};_.mTb.prototype.getCustomer=function(){return _.C(this,6)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.SN=function(a,b){_.A(a,1,b)};_.t("sy1m8");

_.w();

}catch(e){_._DumpException(e)}
try{
_.G0c=function(a){return _.qe(a).Mg(_.S(a.get(_.Uo),19,!1)?F0c:_.oe)};_.t("sy1ma");
var F0c=[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 H0c,I0c,J0c,K0c,L0c,M0c,N0c,O0c,P0c,Q0c,S0c,T0c,U0c,V0c,W0c,UN,a1c,b1c,VN,WN,c1c,d1c,f1c,g1c,h1c,j1c,k1c,l1c,m1c,n1c,o1c,p1c,r1c,t1c,z1c,B1c,E1c,F1c,I1c,L1c,dO,M1c,N1c,O1c,P1c,Q1c,R1c,S1c,U1c,V1c,W1c,X1c,$1c,Z1c,c2c,e2c,g2c,i2c,m2c,o2c,p2c,q2c,r2c,s2c,t2c,x2c,z2c,A2c,B2c,C2c,D2c,Y0c,ZN,X0c,Z0c,$0c,U3c,V3c,iO,Y3c,i4c,l4c,m4c,n4c,q4c,Y1c,kO,N4c,O4c,P4c,Q4c,S4c,T4c,U4c,V4c,W4c,lO,X4c,Y4c,Z4c,$4c,a5c,b5c,c5c,d5c,e5c,f5c,g5c,h5c,i5c,mO,l5c,m5c,n5c,T1c,o5c,p5c,q5c,l6c,m6c,o6c,p6c,u6c,I6c,J6c,Q6c,$6c,
r7c,x7c,E7c,G7c,L7c,R7c,h8c,i8c,o8c,q8c,A8c,L8c,N8c,O8c,U8c,V8c,l2c,W8c,R9c,w1c,S9c,V9c,$cd,add,bdd,cdd,ddd,edd,fdd,gdd,hdd,idd;H0c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Pd(a,3),Convert:_.R(a,8),ID:a.fj()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
I0c=function(a){var b=[];b.push(H0c(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.Du&&b.push("# of retries by client: "+a.Du);var d="";a.TM?a.Jg.ag()?a.Jg.Sf(function(){d="Completed successfully."},function(e){d=e instanceof _.Xh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
J0c=function(a,b,c,d,e,f){var h=_.lt("Drive Upload Report: %d/%d failed",_.Qa(f),_.Qa(e));a=a.Yf();d.push("Batch query interval: "+_.Lj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Lj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Lj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Lj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Lj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(I0c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.CXc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.lt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.fj()||"");var u=p.Qg;u=u?_.C(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,nQ:k,zd:152391,x9:c,I0:361003}};K0c=function(a){return Array.prototype.concat.apply([],arguments)};L0c=function(a,b,c){c=_.Ga(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
M0c=function(a){return String.fromCharCode(10>a?48+a:87+a)};N0c=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]=M0c(d>>4);b[2*c+3]=M0c(d&15)}return b.join("")};O0c=function(a){var b=new _.Io;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.XL(a,!0,"file"));a.I7&&(b.append(",teamDriveId,teamDrive("),b.append(a.I7),b.append(")"));b.append(")");return b.toString()};
P0c=function(a){var b=new _.Io;b.append("kind,nextPageToken,items(");b.append(_.XL(a,!0));b.append("),incompleteSearch");a.I7&&(b.append(","),b.append(a.I7));return b.toString()};
Q0c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.E(d,_.RM,138),k=_.E(d,_.Tk,111),l=_.E(d,_.SM,27),p=_.bl(d),q=d.Of(),r=d.hh(),u=_.E(d,_.UM,103);switch(e){case 74:_.Sj(d,83);break;case 188:_.Qj(d,137);break;case 149:_.HH(d,128);break;case 148:_.Sj(d,127);break;case 138:_.Qj(d,126);break;case 184:_.HH(d,135);break;case 76:f&&_.Qj(f,1);break;case 223:f&&_.Qj(f,54);break;case 208:f&&_.Qj(f,48);break;case 185:f&&_.Qj(f,40);break;case 224:f&&_.Qj(f,55);break;case 213:f&&
_.Qj(f,50);break;case 156:f&&_.Qj(f,39);break;case 61:f&&_.Qj(f,2);break;case 216:f&&_.Qj(f,52);break;case 217:f&&_.Qj(f,53);break;case 77:f&&_.Qj(f,4);break;case 134:f&&_.Qj(f,34);break;case 147:f&&_.Qj(f,38);break;case 81:f&&_.Qj(f,10);break;case 82:f&&_.Qj(f,11);break;case 114:f&&_.Qj(f,27);break;case 133:f&&_.Qj(f,33);break;case 202:f&&_.Qj(f,47);break;case 132:f&&_.Qj(f,32);break;case 101:f&&_.Qj(f,20);break;case 201:f&&_.Qj(f,46);break;case 131:f&&_.Qj(f,31);break;case 200:f&&_.Qj(f,45);break;
case 130:f&&_.Qj(f,30);break;case 93:f&&_.Qj(f,17);break;case 191:f&&_.Qj(f,44);break;case 146:f&&_.Qj(f,37);break;case 90:f&&_.Qj(f,16);break;case 78:f&&_.Qj(f,7);break;case 186:f&&_.Qj(f,41);break;case 222:f&&_.Qj(f,51);break;case 85:f&&_.Qj(f,12);break;case 137:f&&_.Qj(f,36);break;case 209:f&&_.Qj(f,49);break;case 79:f&&_.Qj(f,8);break;case 189:f&&_.Qj(f,42);break;case 190:f&&_.Qj(f,43);break;case 80:f&&_.Qj(f,9);break;case 135:f&&_.Qj(f,35);break;case 102:f&&_.Qj(f,21);break;case 69:_.Qj(d,74);
break;case 194:h&&_.Rj(h,2);break;case 193:h&&_.Qj(h,1);break;case 1004:_.Qj(d,108);break;case 136:_.Sj(d,125);break;case 115:k&&_.Qj(k,1);break;case 116:k&&_.Qj(k,2);break;case 34:_.Qj(d,30);f&&_.Qj(f,3);break;case 9:_.Qj(d,10);break;case 91:_.Rj(d,91);break;case 43:_.Qj(d,42);_.Qj(d,43);break;case 187:_.Qj(d,136);break;case 26:_.Qj(d,24);break;case 108:_.HH(d,104);break;case 41:_.Qj(d,40);f&&_.Qj(f,5);break;case 42:_.Qj(d,41);break;case 1005:_.Sj(d,117);break;case 59:f&&_.Qj(f,6);break;case 28:_.Qj(d,
26);break;case 44:_.Qj(d,45);break;case 13:_.Qj(d,14);break;case 48:_.Qj(d,36);break;case 38:_.Qj(d,34);break;case 49:_.HH(d,50);break;case 51:_.Qj(d,53);break;case 104:_.Qj(d,102);break;case 39:_.Qj(d,35);break;case 87:_.Qj(d,76);break;case 100:_.Qj(d,98);break;case 72:_.Qj(d,78);break;case 5:_.Qj(d,6);break;case 20:_.Qj(d,21);break;case 21:break;case 29:l&&_.Qj(l,1);break;case 31:l&&_.Qj(l,3);break;case 92:l&&_.Qj(l,4);break;case 30:l&&_.Qj(l,2);break;case 16:_.Rj(d,17);break;case 12:_.Qj(d,13);
break;case 211:p&&_.Qj(p,2);break;case 212:p&&_.Qj(p,3);break;case 220:p&&_.Qj(p,5);break;case 157:r&&_.Sj(r,8);break;case 3:_.Qj(d,4);break;case 11:_.Qj(d,12);break;case 10:_.Qj(d,11);break;case 50:_.Qj(d,49);_.Qj(d,51);_.Rj(d,81);break;case 18:_.Qj(d,19);break;case 95:_.Qj(d,93);break;case 58:_.Qj(d,63);break;case 14:_.Sj(d,15);break;case 103:_.Qj(d,101);break;case 1:_.HH(d,2);break;case 96:_.Qj(d,94);break;case 1003:_.Sj(d,107);break;case 75:_.Rj(d,85);break;case 94:_.Qj(d,92);break;case 45:_.Qj(d,
46);break;case 124:_.Qj(d,118);break;case 125:_.Qj(d,119);break;case 1002:_.Rj(d,100);break;case 32:_.Qj(d,28);break;case 67:_.Qj(d,70);break;case 68:_.Qj(d,71);break;case 73:_.Qj(d,79);break;case 71:_.Qj(d,77);break;case 221:r&&_.Qj(r,9);break;case 210:_.Qj(d,140);break;case 7:_.Qj(d,8);break;case 122:_.Rj(d,109);break;case 66:_.Qj(d,69);break;case 33:_.Qj(d,29);break;case 24:_.Qj(d,22);break;case 25:_.Qj(d,23);break;case 46:_.Rj(d,47);break;case 192:q&&_.Qj(q,6);break;case 159:q&&_.Rj(q,5);break;
case 154:q&&_.Qj(q,1);break;case 158:q&&_.Qj(q,4);break;case 155:q&&_.Qj(q,3);break;case 52:_.HH(d,56);break;case 56:_.Qj(d,61);break;case 55:_.Sj(d,60);break;case 4:_.Qj(d,5);break;case 35:_.Qj(d,31);break;case 57:_.Qj(d,62);break;case 83:_.Qj(d,72);break;case 84:_.Rj(d,86);break;case 19:_.Qj(d,20);_.Qj(d,44);_.Qj(d,90);break;case 2:_.Qj(d,3);break;case 6:_.Qj(d,7);break;case 98:_.Qj(d,96);break;case 97:_.Rj(d,95);break;case 27:_.Qj(d,25);break;case 70:_.Qj(d,75);break;case 107:u&&_.Qj(u,3);break;
case 106:u&&_.Qj(u,2);break;case 105:u&&_.Qj(u,1);break;case 8:_.Qj(d,9);break;case 126:_.HH(d,120);break;default:throw Error("Lc`"+e);}}};S0c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nd(a),_.nd(R0c)));a=[].concat(_.nd(_.bbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Q0c(b[d],a)}};
T0c=function(a,b){var c=a.getCapabilities()||new _.Rk,d=_.E(a,_.RM,138),e=_.E(a,_.Tk,111),f=_.E(a,_.SM,27),h=_.bl(a),k=a.Of(),l=a.hh(),p=_.E(a,_.UM,103);switch(b){case 74:return 0<a.cu().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Pd(a,128).length;case 148:return 0<a.ha().length;case 138:return null!=a.V();case 184:return 0<_.Pd(a,135).length;case 76:return null!=_.Sk(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!=_.le(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!=_.E(d,_.jWc,2);case 193:return null!=d&&null!=_.C(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!=_.C(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.ZC();case 91:return null!=a.Tq();case 43:return null!=_.C(a,42)||null!=
_.C(a,43);case 187:return null!=_.C(a,136);case 26:return null!=a.Se();case 108:return 0<_.Pd(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.C(a,41);case 1005:return 0<_.al(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.WI();case 44:return null!=_.C(a,45);case 13:return null!=a.dG();case 48:return null!=_.R(a,36);case 38:return null!=a.Ti();case 49:return 0<_.Pd(a,50).length;case 51:return null!=_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.Aka();
case 87:return null!=_.Yk(a);case 100:return null!=_.R(a,98);case 72:return null!=_.C(a,78);case 5:return null!=a.Fm();case 20:return null!=a.ef();case 21:return null!=a.getId();case 29:return!(!f||null==_.C(f,1));case 31:return!(!f||null==_.C(f,3));case 92:return!(!f||null==_.C(f,4));case 30:return!(!f||null==f.Pe());case 16:return null!=a.Bm();case 12:return null!=a.jz();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||
!_.ck(l,_.Vk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.kB();case 10:return null!=a.Iq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Qm();case 18:return null!=a.Xq();case 14:return 0<_.Xk(a).length;case 95:return null!=a.ln();case 58:return null!=_.R(a,63);case 103:return null!=_.C(a,101);case 1:return 0<a.mk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.$k(a).length;case 75:return null!=a.$w();case 94:return null!=a.wN();case 45:return null!=a.ww();
case 124:return null!=_.R(a,118);case 125:return null!=_.C(a,119);case 1002:return null!=_.Zk(a);case 32:return null!=a.Tu();case 67:return null!=a.bK();case 68:return null!=_.C(a,71);case 73:return null!=_.C(a,79);case 71:return null!=a.g2();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.cl(a);case 7:return null!=a.r7();case 122:return null!=_.TN(a);case 66:return null!=_.C(a,69);case 33:return null!=_.R(a,29);case 24:return null!=a.Hj();case 25:return null!=a.xy();case 46:return null!=
a.Uv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Td(k);case 154:return null!=k&&null!=_.C(k,1);case 158:return null!=k&&null!=_.Vd(k);case 155:return null!=k&&null!=_.C(k,3);case 52:return 0<_.Pd(a,56).length;case 55:return 0<a.sB().length;case 56:return null!=_.C(a,61);case 4:return null!=a.WA();case 35:return null!=_.R(a,31);case 57:return null!=_.C(a,62);case 83:return null!=a.Bc();case 84:return null!=_.E(a,_.TM,86);case 2:return null!=a.getTitle();case 19:return null!=
a.Vx()||null!=_.R(a,44)||null!=_.C(a,90);case 6:return null!=a.Sh();case 98:return null!=a.Vv();case 97:return null!=a.rD();case 27:return null!=a.wp();case 70:return null!=a.Ci();case 107:return null!=p&&null!=_.C(p,3);case 106:return null!=p&&null!=_.C(p,2);case 105:return null!=p&&null!=p.Pe();case 8:return null!=_.R(a,9);case 126:return 0<_.Pd(a,120).length;default:throw Error("Mc`"+b);}};U0c=function(a,b){return b.every(function(c){return T0c(a,c)})};
V0c=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)})};W0c=function(a,b){var c=new Set(b.concat(_.ZUc));return a.filter(function(d){return!c.has(d)})};
UN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(T0c(b,e))if(_.fbb.has(e)){if(d){var f=a.getCapabilities()||new _.Rk;_.WM(a,f);switch(e){case 76:_.OVc(f,_.Sk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.iWc(f,_.R(d,48));break;case 185:var k=_.R(d,40);_.A(f,40,k);break;case 224:var l=_.R(d,55);_.A(f,55,l);break;case 213:var p=_.R(d,50);_.A(f,50,p);break;case 156:var q=_.R(d,39);_.A(f,39,q);break;case 61:var r=_.R(d,2);_.A(f,2,r);break;case 216:var u=
_.R(d,52);_.A(f,52,u);break;case 217:var y=_.R(d,53);_.A(f,53,y);break;case 77:_.PVc(f,_.R(d,4));break;case 134:var z=_.R(d,34);_.A(f,34,z);break;case 147:var D=_.R(d,38);_.A(f,38,D);break;case 81:_.VVc(f,_.R(d,10));break;case 82:_.WVc(f,_.R(d,11));break;case 114:var G=_.R(d,27);_.A(f,27,G);break;case 133:_.dWc(f,_.R(d,33));break;case 202:_.hWc(f,_.R(d,47));_.cWc(f,_.R(d,32));break;case 132:_.cWc(f,_.R(d,32));break;case 101:_.$Vc(f,_.R(d,20));break;case 201:_.gWc(f,_.R(d,46));break;case 131:_.bWc(f,
_.R(d,31));break;case 200:var I=_.R(d,45);_.A(f,45,I);break;case 130:var M=_.R(d,30);_.A(f,30,M);break;case 93:_.ZVc(f,_.R(d,17));break;case 191:var O=_.R(d,44);_.A(f,44,O);break;case 146:var X=_.R(d,37);_.A(f,37,X);break;case 90:_.YVc(f,_.le(d));break;case 78:_.SVc(f,_.R(d,7));break;case 186:var ra=_.R(d,41);_.A(f,41,ra);break;case 222:var fa=_.R(d,51);_.A(f,51,fa);break;case 85:_.XVc(f,_.R(d,12));break;case 137:var na=_.R(d,36);_.A(f,36,na);break;case 209:var sa=_.R(d,49);_.A(f,49,sa);break;case 79:_.TVc(f,
_.R(d,8));break;case 189:_.eWc(f,_.R(d,42));break;case 190:_.fWc(f,_.R(d,43));break;case 80:_.UVc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.aWc(f,_.R(d,21));break;case 34:var Wa=_.R(b,30);_.A(a,30,Wa);var Ia=_.R(d,3);_.A(f,3,Ia);break;case 41:var Ra=_.R(b,40);_.A(a,40,Ra);_.QVc(f,_.R(d,5));break;case 59:_.RVc(f,_.R(d,6))}}}else if(_.gbb.has(e)){var Zb=_.E(b,_.RM,138);if(Zb){var ub=_.E(a,_.RM,138)||new _.RM;_.x(a,138,ub);switch(e){case 194:var wc=_.E(Zb,_.jWc,2);_.x(ub,
2,wc);break;case 193:var Sc=_.C(Zb,1);_.A(ub,1,Sc)}}}else if(_.hbb.has(e)){var gd=_.E(b,_.Tk,111);if(gd){var ve=_.E(a,_.Tk,111)||new _.Tk;_.x(a,111,ve);switch(e){case 115:ve.dP(_.R(gd,1));break;case 116:_.kWc(ve,_.C(gd,2))}}}else if(_.ibb.has(e)){var be=_.E(b,_.SM,27);if(be){var Jf=_.E(a,_.SM,27)||new _.SM;_.x(a,27,Jf);switch(e){case 29:var yc=_.C(be,1);_.A(Jf,1,yc);break;case 31:Jf.wh(_.C(be,3));break;case 92:var yb=_.C(be,4);_.A(Jf,4,yb);break;case 30:Jf.xh(be.Pe())}}}else if(_.jbb.has(e)){var Dg=
_.bl(b);if(Dg){var Ug=_.bl(a)||new _.Ana;_.x(a,139,Ug);switch(e){case 211:var Ve=_.R(Dg,2);_.A(Ug,2,Ve);break;case 212:var dj=_.R(Dg,3);_.A(Ug,3,dj);break;case 220:var $f=_.R(Dg,5);_.A(Ug,5,$f)}}}else if(_.kbb.has(e)){var Bi=b.Of();if(Bi){var Gg=a.Of()||new _.Jna;_.x(a,132,Gg);switch(e){case 192:var el=_.R(Bi,6);_.A(Gg,6,el);break;case 159:var $e=_.Td(Bi);_.x(Gg,5,$e);break;case 154:var af=_.C(Bi,1);_.A(Gg,1,af);break;case 158:var mh=_.Vd(Bi);_.A(Gg,4,mh);break;case 155:var Uh=_.C(Bi,3);_.A(Gg,3,
Uh)}}}else if(_.lbb.has(e)){var sj=b.hh();switch(e){case 157:if(sj){var Lk=a.hh()||new _.Hna;X0c(a,Lk);Y0c(Lk,_.ck(sj,_.Vk,8))}break;case 221:if(sj){var Ln=a.hh()||new _.Hna;X0c(a,Ln);var vp=_.R(sj,9);_.A(Ln,9,vp)}}}else if(_.mbb.has(e)){var Ri=_.E(b,_.UM,103);if(Ri){var pi=_.E(a,_.UM,103)||new _.UM;_.x(a,103,pi);switch(e){case 107:var fl=_.C(Ri,3);_.A(pi,3,fl);break;case 106:pi.wh(_.C(Ri,2));break;case 105:pi.xh(Ri.Pe())}}}else switch(e){case 74:var Rf=b.cu();_.Cb(a,83,Rf);break;case 188:var Kl=
_.R(b,137);_.A(a,137,Kl);break;case 149:var tj=_.Pd(b,128);_.Pj(a,128,tj);break;case 148:var pk=b.ha();_.Cb(a,127,pk);break;case 138:var ej=b.V();_.A(a,126,ej);break;case 184:var Ll=_.Pd(b,135);_.Pj(a,135,Ll);break;case 69:var Im=_.R(b,74);_.A(a,74,Im);break;case 1004:var Mk=_.R(b,108);_.A(a,108,Mk);break;case 136:var Ml=b.O();_.Cb(a,125,Ml);break;case 9:var Vg=b.ZC();_.A(a,10,Vg);break;case 91:var Nl=b.Tq();_.x(a,91,Nl);break;case 43:var Ci=_.C(b,42);_.A(a,42,Ci);var Ij=_.C(b,43);_.A(a,43,Ij);break;
case 187:_.CWc(a,_.C(b,136));break;case 26:a.um(b.Se());break;case 108:var Jj=_.Pd(b,104);_.Pj(a,104,Jj);break;case 42:var uj=_.C(b,41);_.A(a,41,uj);break;case 1005:var gl=_.al(b);_.Cb(a,117,gl);break;case 28:_.tWc(a,b.WI());break;case 44:var vj=_.C(b,45);_.A(a,45,vj);break;case 13:var hl=b.dG();_.A(a,14,hl);break;case 48:var mf=_.R(b,36);_.A(a,36,mf);break;case 38:_.vWc(a,b.Ti());break;case 49:var Kj=_.Pd(b,50);_.Pj(a,50,Kj);break;case 51:var hm=_.R(b,53);_.A(a,53,hm);break;case 104:var im=_.R(b,
102);_.A(a,102,im);break;case 39:var jm=b.Aka();_.A(a,35,jm);break;case 87:var Si=_.Yk(b);_.A(a,76,Si);break;case 100:var Gc=_.R(b,98);_.A(a,98,Gc);break;case 72:var Wj=_.C(b,78);_.A(a,78,Wj);break;case 5:var Vh=b.Fm();_.A(a,6,Vh);break;case 20:var wj=b.ef();_.A(a,21,wj);break;case 21:a.Pb(b.getId());break;case 16:_.rWc(a,b.Bm());break;case 12:var mg=b.jz();_.A(a,13,mg);break;case 3:_.MF(a,b.getMimeType());break;case 11:var Hg=b.kB();_.A(a,12,Hg);break;case 10:_.kTb(a,b.Iq());break;case 50:var Nk=
_.R(b,49);_.A(a,49,Nk);var km=_.R(b,51);_.A(a,51,km);var hi=b.Qm();_.x(a,81,hi);break;case 95:_.BWc(a,b.ln());break;case 18:_.sWc(a,b.Xq());break;case 58:var qi=_.R(b,63);_.A(a,63,qi);break;case 14:_.qWc(a,_.Xk(b));break;case 1:_.VM(a,b.mk());break;case 96:var qk=_.R(b,94);_.A(a,94,qk);break;case 103:var fj=_.C(b,101);_.A(a,101,fj);break;case 1003:Z0c(a,_.$k(b));break;case 75:_.zWc(a,b.$w());break;case 94:_.AWc(a,b.wN());break;case 45:var wo=b.ww();_.A(a,46,wo);break;case 124:var jn=_.R(b,118);_.A(a,
118,jn);break;case 125:var il=_.C(b,119);_.A(a,119,il);break;case 1002:var Xj=_.Zk(b);_.x(a,100,Xj);break;case 32:var Mn=b.Tu();_.A(a,28,Mn);break;case 67:var xo=b.bK();_.A(a,70,xo);break;case 68:var jq=_.C(b,71);_.A(a,71,jq);break;case 73:var Po=_.C(b,79);_.A(a,79,Po);break;case 71:var Rm=b.g2();_.A(a,77,Rm);break;case 210:var Bj=_.cl(b);_.A(a,140,Bj);break;case 7:_.pWc(a,b.r7());break;case 122:$0c(a,_.TN(b));break;case 66:var Qo=_.C(b,69);_.A(a,69,Qo);break;case 33:var Dp=_.R(b,29);_.A(a,29,Dp);
break;case 24:var Ep=b.Hj();_.A(a,22,Ep);break;case 25:var ur=b.xy();_.A(a,23,ur);break;case 46:var Qw=b.Uv();_.x(a,47,Qw);break;case 52:var vr=_.Pd(b,56);_.Pj(a,56,vr);break;case 56:var Gs=_.C(b,61);_.A(a,61,Gs);break;case 55:a.BA(b.sB());break;case 4:a.Ev(b.WA());break;case 35:_.uWc(a,_.R(b,31));break;case 57:var wA=_.C(b,62);_.A(a,62,wA);break;case 83:_.yWc(a,b.Bc());break;case 84:var TC=_.E(b,_.TM,86);_.x(a,86,TC);break;case 98:a.wda(b.Vv());break;case 97:var mv=b.rD();_.x(a,95,mv);break;case 19:var zr=
b.Vx();_.A(a,20,zr);_.wWc(a,_.R(b,44));var Ar=_.C(b,90);_.A(a,90,Ar);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Pn(b.Sh());break;case 27:_.lTb(a,b.wp());break;case 70:var Qt=b.Ci();_.A(a,75,Qt);break;case 8:var xA=_.R(b,9);_.A(a,9,xA);break;case 126:var yA=_.Pd(b,120);_.Pj(a,120,yA);break;default:throw Error("Nc`"+e);}})};a1c=function(a,b){var c=_.My[a];return b.filter(function(d){return!c||!c.has(d)})};b1c=function(a,b,c){a=a1c(c,a);return V0c(b,a,_.ZUc)};
VN=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};WN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&VN(a)?(a=a.Of(),!!a&&"application/vnd.google-apps.folder"===_.C(a,3)):"application/vnd.google-apps.folder"===c};c1c=function(a){var b=a&&a.getId()||null;a&&VN(a)&&(a=(a=a.Of())&&_.C(a,1))&&(b=a);return b};d1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};f1c=function(a){return e1c.some(function(b){return T0c(a,b)})};
g1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(ZN(b))})};h1c=function(a){return g1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.i1c=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};j1c=function(a,b){var c=_.JUc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};k1c=function(a,b){return 0<=b?!a||a<=b:!0};
l1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.CRc()&&4===b.getType()?"title_natural":_.OTc[b.getType()];b=_.QTc[b.Bf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};m1c=function(a,b){var c=a.Qm();c||(c=new _.Bna,b&&_.x(a,81,c));return c};n1c=function(a){if(WN(a))_.SN(m1c(a,!0),!0);else if(WN(a,!0)){var b=a.Of();if(b=b&&_.Td(b))_.SN(m1c(b,!0),!0),_.SN(m1c(a,!0),!0)}};o1c=function(a){return!!a.Qm()&&!WN(a)};
p1c=function(a){var b=[];_.Ka(a,function(c){if(3!=ZN(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Qm())c=c.clone(),_.Qj(c,49),_.Qj(c,51),_.Rj(c,81);b.push(c)}});return b};r1c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.Zb():c&&c instanceof _.pN?a[b]=c.Zb(function(d){return d?d.Zb():null}):c&&c instanceof q1c&&(a[b]=c.Zb())}};t1c=function(a){var b=a.slice(0),c=new Set(b);s1c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
z1c=function(a,b,c){var d=_.E(a,u1c,66);if(d){var e=_.C(d,1),f=_.bN(a);a=_.KL(_.vL(a));e=new _.aj(e);var h=new _.aj(window.location);var k=h.Co()+"://"+h.Aj();null!=h.Oo&&(k+=":"+h.vy());h=_.oj(k,3);_.ij(e,"co",h);h=e.Oe();!f&&0<a&&(h+="u/"+a+"/");e.xi(h+"_/dataservice/cacheproxy");f=_.C(d,5)||"";if(_.AUc(window.location.href,e.toString())&&f)return e=t1c(c),c=_.C(d,6),b="#"+b+"_",d=new _.nL,d.update(e.join(",")),b+=_.YRc(d.digest()),c&&(b+="&jobset="+c),b=_.Vx(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new v1c(c.port),c.port.start()):b=new v1c(new Worker(_.zga(b),void 0)),new w1c(new $N(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.hL();c=_.sh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.rha(_.zUc(_.Tf("display: none;")));document.body.appendChild(c);c=_.URc(e.Co(),void 0,e.Aj(),e.vy()).toString();return new w1c(new $N(x1c(window.frames[b],c),!1,!0),0,e.toString())}b=new y1c;return new w1c(new $N(b.O,!1,!1),2,"inline",c,new $N(b.H,!1,!1))};
B1c=function(a){var b=new A1c;if(a instanceof _.YL)_.dk(b,16,aO[0],a);else if(a instanceof _.ZL)_.dk(b,1,aO[0],a);else if(a instanceof _.$L)_.dk(b,2,aO[0],a);else if(a instanceof _.bO)_.dk(b,17,aO[0],a);else if(a instanceof _.cM)_.dk(b,3,aO[0],a);else if(a instanceof _.zN)_.dk(b,4,aO[0],a);else if(a instanceof _.aM)_.dk(b,5,aO[0],a);else if(a instanceof _.gM)_.dk(b,6,aO[0],a);else if(a instanceof _.iM)_.dk(b,7,aO[0],a);else if(a instanceof _.jM)_.dk(b,8,aO[0],a);else if(a instanceof _.mM)_.dk(b,9,
aO[0],a);else if(a instanceof _.CM)_.dk(b,10,aO[0],a);else if(a instanceof _.DM)_.dk(b,11,aO[0],a);else if(a instanceof _.EM)_.dk(b,12,aO[0],a);else if(a instanceof _.ML)_.dk(b,13,aO[0],a);else if(a instanceof _.HM)_.dk(b,14,aO[0],a);else if(a instanceof _.IM)_.dk(b,15,aO[0],a);else throw new _.nc("Unsupported request type");return b};
E1c=function(a){a=a.map(function(c){var d=new C1c;if(c instanceof _.YL)_.dk(d,6,cO[0],c);else if(c instanceof _.bO)_.dk(d,7,cO[0],c);else if(c instanceof _.gM)_.dk(d,1,cO[0],c);else if(c instanceof _.CM)_.dk(d,2,cO[0],c);else if(c instanceof _.DM)_.dk(d,3,cO[0],c);else if(c instanceof _.ML)_.dk(d,4,cO[0],c);else if(c instanceof _.IM)_.dk(d,5,cO[0],c);else throw new _.nc("Unsupported request type");return d});var b=new D1c;_.Cb(b,1,a);return b};
F1c=function(a){return _.ck(a,C1c,1).map(function(b){return _.E(b,_.YL,6)||_.E(b,_.gM,1)||_.E(b,_.CM,2)||_.E(b,_.DM,3)||_.E(b,_.ML,4)||_.E(b,_.IM,5)||_.E(b,_.bO,7)})};I1c=function(a){var b=new G1c;if(a instanceof _.eD)_.dk(b,1,H1c[0],a);else if(a instanceof _.fD)_.dk(b,2,H1c[0],a);else throw new _.nc("Unsupported request type");return b};
L1c=function(a){var b=new J1c;if(a instanceof _.dM)_.dk(b,1,K1c[0],a);else if(a instanceof _.kM)_.dk(b,2,K1c[0],a);else if(a instanceof _.JM)_.dk(b,3,K1c[0],a);else throw new _.nc("Unsupported request type");return b};dO=function(a,b,c){return b?new c(JSON.parse(a)):a};M1c=function(a){a={t:a.title,d:a.description,c:a.zd,fi:a.x9,dti:a.I0,a:a.nQ?a.nQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.i9})}):void 0};return JSON.stringify(a)};
N1c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,zd:a.c,x9:a.fi,I0:a.dti,nQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,i9:b.ec}}):void 0}};O1c=function(a,b,c){a=a?1:2;a=_.cd(_.bd(new _.ad,12),a);var d=(new _.bf).Pn(!0);d=_.A(d,17,!0);a=_.cf(d,a);c&&_.El(a,c);c=new _.MTc;b&&_.QUc(c,b);return _.RUc(_.TUc(new _.CL,a),c)};P1c=function(a){return a.map(function(b){return b.getItem()})};
Q1c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};R1c=function(a,b){var c=new _.aj(_.F(b,16,"")+"/open"),d=a.getId();VN(a)&&(d=c1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.KL(_.vL(b)));_.S(b,89,!1)&&_.Q(a,140)&&_.ij(c,"resourcekey",_.cl(a));return c.toString()};
S1c=function(a){_.If("drive.DebugUtil.printFindById",function(c){a.XM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.If("drive.DebugUtil.getLogs",function(){return _.CXc(a.Zf())});_.If("drive.DebugUtil.printLogs",function(){window.console.log(_.CXc(a.Zf()))});_.If("drive.DebugUtil.printRequestHistory",function(){a.nR().addCallback(function(c){c.forEach(function(d){window.console.log(_.C(d,1));window.console.log(_.C(d,2))})})});_.If("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.If("drive.DebugUtil.getContext",function(){return a.getContext()}),_.If("drive.DebugUtil.setOffline",function(c){return void a.Kl(c)}))};U1c=function(a,b){var c=new _.QN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.A0c.get(ZN(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}T1c(c,[].concat(_.nd(d)));return c};
V1c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={xfa:c.xfa},d=a.next())if(d=d.value){c.xfa=new Map;[].concat(_.nd(_.Xk(d)),[d.Bm(),d.Uv(),d.Tq()]).forEach(function(p){return function(q){q&&p.xfa.set(_.RF(q),q)}}(c));for(var e=[],f=_.m(c.xfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(_.RF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Hj(h,16,0))}b.push(d.getId()+","+ZN(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};W1c=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?_.ik(d,f)||(d=_.NRc(4).setItem(f),c[e]=d):(d=_.NRc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.NRc(1).setItem(d),c[e]=d)});return c};X1c=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Va(W1c(a,b))};
$1c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.of;_.pf(b,305);_.qf(b,!0);_.A(b,3,2);var c=new _.dD;_.x(c,1,b);Y1c(c,[7]);a=a.then(function(d){return d.Ve(c)}).then(Z1c);return _.$h(a)};Z1c=function(a){a=_.ck(a,_.bp,3);var b=new a2c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.C(d,2))&&(c=_.Db(c.Xa()),_.A(b,3,c))});return"number"===typeof _.C(b,3)?b:null};
c2c=function(a,b){var c=b2c(a.zm,b.Ic());if(c){var d=c.getItem(),e=d.$w();if(e){var f=e.tR(),h=_.wa(f,function(k){return k.getId()===_.C(b,2)});_.mWc(e,f);h||(f=_.ck(e,_.Dk,3),_.wa(f,function(k){return k.getId()===_.C(b,2)}),_.nWc(e,f));_.lWc(e,(_.C(e,1)||1)-1);a.ql([d],c.H)}}};
e2c=function(a,b,c){if(b=b2c(a.zm,b.Ic())){var d=b.getItem(),e=d.$w();if(e){if(1===c.getType()||2===c.getType()){var f=_.ck(e,_.Dk,3);f.push(c);_.Ha(f,d2c);_.nWc(e,f)}else f=e.tR(),f.push(c),_.Ha(f,d2c),_.mWc(e,f);_.lWc(e,(_.C(e,1)||0)+1);a.ql([d],b.H)}}};g2c=function(a){return a.map(function(b){var c=new _.Bsb;c=_.A(c,3,f2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
i2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return h2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
m2c=function(a){var b=a.json.exportJob,c=j2c[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=_.Bb(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.Bb(b.failedItemInfos||[],function(l){var p=_.MF((new _.Wk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.k2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new l2c(c,d,k,f,h,e,a,b)};
o2c=function(a){var b={},c=a.getKey(),d=c&&_.C(c,2);b.key=d;b.value=a.Xa();(a=c&&_.cp(c))&&(b.namespace=n2c[a]);return b};p2c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(n2c[a[c]]);return b};q2c=function(a){return"kind,defaultAppIds,items("+a+")"};r2c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};s2c=function(a,b){var c;return(null===(c=_.LL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
t2c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
x2c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.LL(b),e=!!d&&_.S(d,10,!1);if(_.uL(_.vL(b))||!c&&!e)_.A(b,61,!1),_.Rj(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.E(b,u1c,66);f&&_.C(f,1)||(c=!1);_.bN(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.Rj(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new eO(a,b,c),new u2c(b);c=_.uL(_.vL(b))?2:1;a=new fO(a,b,c,void 0,void 0,void 0);return _.uL(_.vL(b))?new v2c(a):new w2c(a)};
z2c=function(a){return _.qe(a).Mg(_.S(a.get(_.Uo),19,!1)?y2c:_.EUa)};A2c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};B2c=function(a,b){return _.Cb(a,1,b)};C2c=[1];D2c=function(a){_.P(this,a,-1,C2c,null)};_.L(D2c,_.K);D2c.prototype.Lha=function(a){_.ek(this,1,a,_.Dk,void 0)};
var E2c=function(a){var b=new D2c;return _.Cb(b,1,a)},F2c=function(a,b){return _.x(a,1,b)},G2c=function(a,b){_.Cb(a,2,b)},H2c=function(a,b){_.x(a,6,b)},I2c=function(a,b){return _.dk(a,3,_.Gk[0],b)},J2c=function(a){_.P(this,a,-1,null,null)};_.L(J2c,_.K);var K2c=function(a){_.P(this,a,-1,null,null)};_.L(K2c,_.K);var gO=function(a){_.P(this,a,-1,null,null)};_.L(gO,_.K);var L2c=function(a){_.P(this,a,-1,null,null)};_.L(L2c,_.K);var M2c=function(a){_.P(this,a,-1,null,null)};_.L(M2c,_.K);
var N2c=function(a){_.P(this,a,-1,null,null)};_.L(N2c,_.K);var O2c=function(a){_.P(this,a,-1,null,null)};_.L(O2c,_.K);var P2c=function(a){_.P(this,a,-1,null,null)};_.L(P2c,_.K);var Q2c=function(a){_.P(this,a,-1,null,null)};_.L(Q2c,_.K);var R2c=function(a){_.P(this,a,-1,null,null)};_.L(R2c,_.K);var S2c=function(a){_.P(this,a,-1,null,null)};_.L(S2c,_.K);var T2c=function(a){_.P(this,a,-1,null,null)};_.L(T2c,_.K);var U2c=function(a){_.P(this,a,-1,null,null)};_.L(U2c,_.K);
var V2c=function(a){_.P(this,a,-1,null,null)};_.L(V2c,_.K);var W2c=function(a,b){_.Cb(a,1,b)},X2c=function(a,b){return _.A(a,2,b)},Y2c=function(a,b){return _.x(a,3,b)},Z2c=function(a,b){return _.A(a,4,b)},$2c=[[1,2,3,4]],a3c=function(a){_.P(this,a,-1,null,$2c)};_.L(a3c,_.K);var b3c=function(a,b){_.Cb(a,1,b)},c3c=function(a,b){return _.x(a,2,b)},d3c=[[1]],e3c=function(a){_.P(this,a,-1,null,d3c)};_.L(e3c,_.K);
var f3c=function(a,b){_.Cb(a,1,b)},g3c=function(a,b){return _.x(a,4,b)},h3c=function(a,b){_.x(a,5,b)},i3c=function(a,b){_.Cb(a,2,b)},j3c=function(a,b){_.Cb(a,4,b)},k3c=function(a,b){return _.x(a,5,b)},l3c=[[1,2]],m3c=function(a){_.P(this,a,-1,null,l3c)};_.L(m3c,_.K);var n3c=function(a,b){_.Cb(a,1,b)},o3c=function(a,b){return _.x(a,2,b)},p3c=[[1]],q3c=function(a){_.P(this,a,-1,null,p3c)};_.L(q3c,_.K);
var r3c=function(a,b){_.Cb(a,2,b)},s3c=function(a){var b=new _.Ok;return _.Cb(b,3,a)},t3c=[[1,2]],u3c=function(a){_.P(this,a,-1,null,t3c)};_.L(u3c,_.K);u3c.prototype.YG=function(){return _.E(this,gO,1)};u3c.prototype.ug=function(a){return _.dk(this,1,t3c[0],a)};var v3c=[1],w3c=function(a){_.P(this,a,-1,v3c,null)};_.L(w3c,_.K);w3c.prototype.Xp=function(){return _.C(this,2)};
var x3c=function(a,b){_.Cb(a,1,b)},y3c=function(a,b){return _.A(a,2,b)},z3c=function(a,b){return _.x(a,3,b)},A3c=[[1]],B3c=function(a){_.P(this,a,-1,null,A3c)};_.L(B3c,_.K);var C3c=[2],D3c=function(a){_.P(this,a,-1,C3c,null)};_.L(D3c,_.K);var E3c=function(a,b){_.Cb(a,2,b)},F3c=function(a,b){return _.x(a,3,b)},G3c=[[1]],H3c=function(a){_.P(this,a,-1,null,G3c)};_.L(H3c,_.K);H3c.prototype.YG=function(){return _.E(this,L2c,1)};H3c.prototype.ug=function(a){return _.dk(this,1,G3c[0],a)};
var I3c=function(a,b){_.Cb(a,1,b)},J3c=function(a,b){return _.Cb(a,2,b)},K3c=[[1,2]],L3c=function(a){_.P(this,a,-1,null,K3c)};_.L(L3c,_.K);var M3c=function(a,b){_.Cb(a,1,b)},N3c=function(a,b){return _.x(a,2,b)},O3c=[[1]],P3c=function(a){_.P(this,a,-1,null,O3c)};_.L(P3c,_.K);var Q3c=function(a,b){return _.x(a,1,b)},R3c=function(a,b){return _.A(a,2,b)},S3c=function(a,b){return _.A(a,3,b)},T3c=function(a){_.P(this,a,-1,null,null)};_.L(T3c,_.K);Y0c=function(a,b){_.Cb(a,8,b)};
ZN=function(a){return _.Hj(a,52,1)};X0c=function(a,b){return _.x(a,73,b)};Z0c=function(a,b){_.Cb(a,107,b)};_.TN=function(a){return _.E(a,T3c,109)};$0c=function(a,b){_.x(a,109,b)};U3c=function(a){var b=new _.jk;var c=_.C(a,1);null!=c&&_.ok(b,1,c);c=_.C(a,2);null!=c&&_.ok(b,2,c);return _.lk(b)};V3c=function(a){_.P(this,a,-1,null,null)};_.L(V3c,_.K);var u1c=function(a){_.P(this,a,-1,null,null)};_.L(u1c,_.K);var W3c=[11],X3c=function(a){_.P(this,a,-1,W3c,null)};_.L(X3c,_.K);
var hO=function(a){_.P(this,a,-1,null,null)};_.L(hO,_.K);hO.prototype.getKey=function(){return _.C(this,2)};hO.prototype.Bs=function(){return _.Q(this,2)};iO=function(a){return _.F(a,4,"en")};_.jO=function(a){return _.E(a,X3c,34,1)};Y3c=function(a,b){return _.A(a,5,b)};_.Z3c=function(a,b){return _.A(a,2,b)};_.$3c=function(a,b){return _.A(a,3,b)};_.a4c=function(a,b){return _.A(a,1,b)};_.b4c=function(a,b){return _.A(a,2,b)};_.c4c=function(a,b){return _.Cb(a,5,b)};
_.d4c=function(a,b){return _.A(a,6,b)};_.e4c=function(a,b){return _.A(a,7,b)};_.f4c=function(a,b){return _.A(a,8,b)};_.g4c=function(a,b){return _.A(a,10,b)};_.h4c=function(a,b){return _.A(a,15,b)};i4c=[2];_.j4c=function(a){_.P(this,a,-1,i4c,null)};_.L(_.j4c,_.K);_.j4c.prototype.Oh=function(){return _.C(this,1)};_.k4c=function(a,b){return _.x(a,1,b)};l4c=function(a,b){return _.A(a,2,b)};m4c=function(a,b){return _.A(a,3,b)};n4c=function(a,b){_.Cb(a,4,b)};_.o4c=function(a,b){_.x(a,8,b)};
_.p4c=function(a,b){_.x(a,9,b)};q4c=function(a){_.P(this,a,-1,null,null)};_.L(q4c,_.K);q4c.prototype.Xa=function(){return _.Mj(this,1)};q4c.prototype.Jb=function(a){return _.Tj(this,1,a,0)};Y1c=function(a,b){_.Pj(a,3,b)};kO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ik(b[a]||void 0,c[a]||void 0))return!0;return!1};_.r4c=function(a){_.P(this,a,-1,null,null)};_.L(_.r4c,_.K);_.r4c.prototype.getId=function(){return _.C(this,1)};
_.r4c.prototype.Pb=function(a){return _.A(this,1,a)};_.r4c.prototype.Pe=function(){return _.C(this,4)};_.r4c.prototype.xh=function(a){return _.A(this,4,a)};_.zN=function(a){_.P(this,a,-1,null,null)};_.L(_.zN,_.K);_.zN.prototype.getTitle=function(){return _.C(this,1)};_.zN.prototype.setTitle=function(a){return _.A(this,1,a)};_.zN.prototype.we=function(){return _.E(this,_.of,2)};
var s4c=function(a,b){return _.Pj(a,9,b)},t4c=function(a,b){return _.Pj(a,10,b)},u4c=function(a,b){return _.A(a,36,b)},v4c=function(a,b){return _.Cb(a,38,b)},w4c=function(a,b){return _.A(a,2,b)},x4c=function(a,b){return _.x(a,3,b)},y4c=function(a){_.P(this,a,-1,null,null)};_.L(y4c,_.K);var z4c=function(a){_.P(this,a,-1,null,null)};_.L(z4c,_.K);var A4c=function(a){_.P(this,a,-1,null,null)};_.L(A4c,_.K);var B4c=function(a){_.P(this,a,-1,null,null)};_.L(B4c,_.K);
var C4c=function(a){_.P(this,a,-1,null,null)};_.L(C4c,_.K);var D4c=function(a,b){return _.A(a,1,b)},E4c=function(a,b){return _.A(a,3,b)},F4c=function(a,b){return _.A(a,4,b)},G4c=function(a,b){_.A(a,7,b)},H4c=function(a){_.P(this,a,-1,null,null)};_.L(H4c,_.K);H4c.prototype.yy=function(){return _.R(this,2)};var I4c=function(a,b){_.A(a,1,b)},J4c=function(a){_.P(this,a,-1,null,null)};_.L(J4c,_.K);J4c.prototype.Pm=function(){return _.C(this,3)};J4c.prototype.Gt=function(a){return _.A(this,3,a)};
J4c.prototype.Bo=function(){return _.C(this,4)};var K4c=function(a){_.P(this,a,-1,null,null)};_.L(K4c,_.K);var L4c=[1,3,5],M4c=function(a){_.P(this,a,-1,L4c,null)};_.L(M4c,_.K);M4c.prototype.aF=function(){return _.Pd(this,1)};M4c.prototype.yy=function(){return _.R(this,2)};M4c.prototype.Bo=function(){return _.C(this,7)};N4c=function(a,b){_.A(a,2,b)};O4c=function(a,b){_.ak(a,5,b,void 0)};P4c=function(a,b){_.A(a,6,b)};Q4c=function(a,b){_.A(a,7,b)};_.R4c=function(a,b){_.x(a,2,b)};
S4c=function(a,b){return _.Pj(a,1,b)};T4c=function(a,b,c){_.fN(a,b,c,"warning")};U4c=function(a){return[].concat(_.nd(a.O))};V4c=function(a){return a.H.concat([].concat(_.nd(a.O)))};W4c=function(a,b){var c=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.nd(c))};lO=function(a){var b=_.nN(a).yd();b||(b=new _.ZWc,a=_.nN(a),_.x(a,1,b));return b};
X4c=function(a){var b=_.E(_.nN(a),M4c,3);b||(b=new M4c,a=_.nN(a),_.x(a,3,b));return b};Y4c=function(a){var b=_.E(_.nN(a),A4c,7);b||(b=new A4c,a=_.nN(a),_.x(a,7,b));return b};Z4c=function(a){var b=_.E(_.nN(a),C4c,12);b||(b=new C4c,a=_.nN(a),_.x(a,12,b));return b};$4c=function(a){var b=_.E(_.nN(a),H4c,17);b||(b=new H4c,a=_.nN(a),_.x(a,17,b));return b};
a5c=function(a){if(a instanceof _.oL)return 2;if(a instanceof _.JF)return 10;if(a instanceof _.bf)return _.sM(a)?3:_.tM(a)?7:_.uM(a)?8:1;if(a instanceof _.Sz)return 9;if(a instanceof _.SF)return 11;if(a instanceof _.AM)return 15;if(a instanceof _.wL)return 6;if(a instanceof _.wM){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 _.dD)return 4;if(a instanceof _.Cz)return 12;if(a instanceof _.LF)return 13}return 0};
b5c=function(a){var b=null;a instanceof _.KA||"undefined"!=typeof _.pN&&a instanceof _.pN||"undefined"!=typeof _.qN&&a instanceof _.qN?b=a.We()||0:"undefined"!=typeof _.sN&&a instanceof _.sN||"undefined"!=typeof _.tN&&a instanceof _.tN||"undefined"!=typeof _.uN&&a instanceof _.uN||"undefined"!=typeof _.vN&&a instanceof _.vN||"undefined"!=typeof _.wN&&a instanceof _.wN?b=a.Re:"undefined"!=typeof _.rN&&a instanceof _.rN&&(b=a.We());return b||0};
c5c=function(a,b,c){return a.V&&_.yYc(a)?(a=_.uYc(a.V,b,0),c&&_.RSc(a,c),a):null};d5c=function(a){a.V&&_.yYc(a)&&(a=a.V,a.H.PP()&&a.H.g_())};e5c=function(a){var b=new _.oM;return _.A(b,1,a)};f5c=function(a,b){return _.x(a,2,b)};g5c=function(a,b){return _.x(a,1,b)};h5c=function(a,b){a.ha=b};i5c=[2];mO=function(a){_.P(this,a,-1,i5c,null)};_.L(mO,_.K);mO.prototype.Bb=function(){return _.C(this,1)};mO.prototype.Cc=function(a){return _.A(this,1,a)};mO.prototype.Lha=function(a){_.ek(this,2,a,_.Dk,void 0)};
mO.prototype.$j=function(){return _.C(this,3)};var j5c=[2],k5c=function(a){_.P(this,a,-1,j5c,null)};_.L(k5c,_.K);k5c.prototype.Bb=function(){return _.C(this,1)};k5c.prototype.Cc=function(a){return _.A(this,1,a)};k5c.prototype.$j=function(){return _.C(this,3)};l5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.tn,a.H.promise):null};m5c=function(a){var b=[];a.jj.forEach(function(c){(c=c.Cv.config.timestamp)&&b.push(c)});return b};
n5c=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,m5c(c))});return b};T1c=function(a,b){return _.Pj(a,1,b)};o5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ca");var c=_.mb(a,!0);b=_.mb(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.Jma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
p5c={SUCCESS:1,K6b:2,PYb:3,xUb:4,X6b:5,q1b:6,h1b:7,eVb:8,I5b:9,X5b:10,J6b:11,JWb:12,nWb:13,PZb:14,iYb:15,rWb:16,qWb:17,wWb:18,tWb:19,uWb:20,n6b:21,T6b:22,I1b:23,P0b:24,YUb:25,PERMISSION_DENIED:26,g0b:27,jVb:28,iVb:29,INTERRUPTED:30,h2b:31,A2b:32,YWb:33,dXb:34,P5b:35,kXb:36,jYb:37,cXb:38,g1b:39,RVb:40,c2b:41,C2b:42,G5b:43,CVb:44,QVb:45,gYb:46,b0b:47,f1b:48,z1b:49,d2b:50,z5b:51,oWb:52,H5b:53,F5b:54,IVb:55,FVb:56,vXb:57,z0b:58,e2b:59,B_b:60,S3b:61,G4b:62,m5b:63,d_b:64,R0b:65,$6b:66,mXb:67,kYb:68,I6b:69,
i_b:70,hVb:71,uVb:72,O4b:73,n5b:74,j5b:75,h5b:76,C4b:190,g5b:191,P4b:192,V4b:126,R4b:128,S4b:129,T4b:130,U4b:131,W4b:132,X4b:133,a4b:127,Y3b:134,Z3b:135,c4b:136,d4b:137,e4b:138,$3b:194,b4b:195,f4b:196,X3b:197,F4b:189,R3b:139,T3b:140,g4b:141,h4b:142,t4b:143,w4b:144,x4b:145,y4b:146,z4b:147,A4b:148,B4b:149,E4b:150,K4b:151,M4b:152,N4b:153,Q4b:154,Y4b:155,$4b:156,a5b:157,b5b:158,c5b:159,d5b:160,e5b:161,i5b:162,l5b:163,o5b:164,U3b:165,V3b:166,W3b:167,P3b:168,Q3b:169,k4b:170,i4b:171,j4b:172,l4b:173,m4b:174,
n4b:175,o4b:176,p4b:177,q4b:178,r4b:179,s4b:180,u4b:181,v4b:182,D4b:106,L4b:183,Z4b:184,f5b:185,H4b:186,I4b:187,J4b:188,k5b:244,b2b:77,N6b:78,S6b:79,n0b:80,UZb:81,WZb:82,uXb:83,fYb:84,h0b:85,g6b:86,bXb:87,k_b:88,j_b:89,r5b:90,p5b:91,q5b:92,O6b:93,dWb:94,cWb:95,$Vb:96,bWb:97,aWb:98,Z6b:99,B3b:100,zWb:101,sWb:102,xWb:103,vWb:104,yWb:105,lYb:107,U5b:108,v3b:109,C6b:110,oYb:111,nYb:112,G_b:113,H_b:114,G2b:115,JVb:116,O_b:117,EXb:118,P6b:119,m1b:120,n1b:121,QZb:193,pWb:122,SWb:123,TZb:124,L0b:125,l_b:198,
m2b:199,a_b:200,aUb:201,g_b:202,e_b:203,kVb:204,x7b:205,V_b:206,XVb:207,j1b:208,B2b:209,x3b:210,BUb:211,E_b:212,L_b:213,K5b:214,J5b:215,c_b:216,OZb:217,b_b:218,oXb:219,Y5b:220,pXb:221,C_b:222,R5b:223,i7b:224,V0b:225,Q5b:226,UWb:227,U_b:228,tXb:229,TVb:230,e6b:231,M0b:232,FILE_TOO_LARGE:233,h_b:234,nXb:235,cYb:236,x2b:237,S0b:238,MTb:239,UVb:240,Z0b:241,H3b:242,$Wb:243,ZTb:245,XZb:246,B1b:247,VZb:248,m0b:249,Q0b:250,hYb:251,WYb:252,F_b:253,GVb:254,mYb:255,Y6b:256,IYb:257,w0b:258,N2b:259,l2b:260,s_b:261,
EWb:262,aXb:263,XUb:264,f0b:265,W6b:266,QTb:267,PUb:268,OUb:269};q5c=[2,6];_.qN=function(a){_.P(this,a,-1,q5c,null)};_.L(_.qN,_.K);_.g=_.qN.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Gd=function(){return _.ck(this,_.Wk,2)};_.g.Vw=function(a){return _.Cb(this,2,a)};_.g.nh=function(a,b){return _.ek(this,2,a,_.Wk,b)};_.g.$j=function(){return _.C(this,3)};_.g.kl=function(){return _.S(this,4,!0)};var r5c=function(a,b){return _.Cb(a,6,b)};
_.qN.prototype.Uf=function(){return _.C(this,10)};_.qN.prototype.QP=function(a){return _.A(this,10,a)};_.qN.prototype.We=function(){return _.C(this,9)};_.qN.prototype.kj=function(a){return _.A(this,9,a)};var R0c=[1004,1005,1002,1003],e1c=[1002,1003,1005],s5c=[1,2],t5c=function(a){_.P(this,a,-1,s5c,null)};_.L(t5c,_.K);_.u5c=function(a){_.P(this,a,-1,null,null)};_.L(_.u5c,_.K);_.u5c.prototype.Bb=function(){return _.C(this,1)};_.u5c.prototype.Cc=function(a){return _.A(this,1,a)};
_.u5c.prototype.mn=function(){return _.E(this,_.KF,2)};var v5c=function(a){_.gi.call(this,a)};_.L(v5c,_.gi);var w5c=[5,7,9],x5c=function(a){_.P(this,a,-1,w5c,null)};_.L(x5c,_.K);_.g=x5c.prototype;_.g.getUser=function(){return _.E(this,_.Dk,1)};_.g.SA=function(a){_.A(this,2,a)};_.g.setBooleanValue=function(a){return _.A(this,3,a)};_.g.setTextValue=function(a){return _.A(this,4,a)};_.g.zpa=function(a){return _.Pj(this,5,a)};_.g.addTextValues=function(a,b){return _.ak(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.A(this,6,a)};_.g.vpa=function(a){return _.Pj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.ak(this,7,a,b)};_.g.setIntegerValue=function(a){return _.A(this,8,a)};_.g.npa=function(a){return _.Pj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.ak(this,9,a,b)};var y5c=[7,10,12,16,13,3],nO=function(a){_.P(this,a,-1,y5c,null)};_.L(nO,_.K);var oO=function(a){return _.C(a,4)};_.g=nO.prototype;_.g.SA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.R$a=function(){return _.C(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.zpa=function(a){return _.Pj(this,7,a)};_.g.addTextValues=function(a,b){return _.ak(this,7,a,b)};_.g.P$a=function(){return _.C(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.Q$a=function(){return _.C(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.FMa=function(){return _.Pd(this,10)};
_.g.vpa=function(a){return _.Pj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.ak(this,10,a,b)};_.g.O$a=function(){return _.C(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.npa=function(a){return _.Pj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.ak(this,12,a,b)};_.g.GMa=function(){return _.E(this,_.Dk,15)};_.g.setUserValue=function(a){return _.x(this,15,a)};_.g.tBa=function(){return _.ck(this,_.Dk,16)};var z5c=function(a,b){_.Cb(a,16,b)};
nO.prototype.addUserValues=function(a,b){return _.ek(this,16,a,_.Dk,b)};nO.prototype.O=function(){return _.C(this,17)};nO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};nO.prototype.V=function(){return _.Q(this,17)};var A5c=function(a,b){_.Cb(a,13,b)};nO.prototype.getId=function(){return _.C(this,14)};nO.prototype.Pb=function(a){return _.A(this,14,a)};nO.prototype.getName=function(){return _.C(this,1)};nO.prototype.jd=function(a){return _.A(this,1,a)};
var B5c=[2],pO=function(a){_.P(this,a,-1,B5c,null)};_.L(pO,_.K);pO.prototype.getName=function(){return _.C(this,1)};pO.prototype.jd=function(a){return _.A(this,1,a)};pO.prototype.O=function(){return _.ck(this,nO,2)};var C5c=function(a,b){_.Cb(a,2,b)};pO.prototype.Ic=function(){return _.C(this,3)};var D5c=function(a,b){return _.A(a,3,b)},E5c=function(a){_.P(this,a,-1,null,null)};_.L(E5c,_.K);E5c.prototype.O=function(){return _.E(this,_.qC,1)};E5c.prototype.V=function(){return _.E(this,_.qC,2)};
E5c.prototype.ha=function(){return _.E(this,_.qC,3)};var F5c=function(a){_.P(this,a,-1,null,null)};_.L(F5c,_.K);_.g=F5c.prototype;_.g.Zn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Fm=function(){return _.R(this,2)};_.g.S$a=function(){return _.R(this,3)};_.g.T$a=function(){return _.R(this,4)};var qO=[[13,19,12,11,10,15,14,9,8,18,17,16]],G5c=function(a){_.P(this,a,-1,null,null)};_.L(G5c,_.K);G5c.prototype.O=function(){return _.R(this,1)};
G5c.prototype.V=function(){return _.R(this,2)};var H5c=function(a){_.P(this,a,-1,null,null)};_.L(H5c,_.K);H5c.prototype.uVa=function(){return _.C(this,1)};H5c.prototype.O=function(){return _.C(this,4)};var I5c=function(a){_.P(this,a,-1,null,null)};_.L(I5c,_.K);I5c.prototype.V=function(){return _.C(this,1)};I5c.prototype.O=function(){return _.C(this,2)};var J5c=function(a){_.P(this,a,-1,null,null)};_.L(J5c,_.K);J5c.prototype.V=function(){return _.C(this,1)};
J5c.prototype.O=function(){return _.C(this,2)};var K5c=function(a){_.P(this,a,-1,null,null)};_.L(K5c,_.K);var L5c=[1],M5c=function(a){_.P(this,a,-1,null,null)};_.L(M5c,_.K);M5c.prototype.O=function(){return _.R(this,1)};M5c.prototype.V=function(){return _.R(this,2)};var N5c=function(a){_.P(this,a,-1,null,null)};_.L(N5c,_.K);_.g=N5c.prototype;_.g.Zn=function(){return _.R(this,1)};_.g.hk=function(a){return _.A(this,1,a)};_.g.Fm=function(){return _.R(this,2)};_.g.dab=function(){return _.E(this,E5c,3)};
_.g.gab=function(){return _.Q(this,3)};_.g.fab=function(){return _.E(this,E5c,4)};_.g.iab=function(){return _.Q(this,4)};_.g.eab=function(){return _.C(this,5)};_.g.hab=function(){return _.Q(this,5)};var O5c=function(a){_.P(this,a,-1,null,null)};_.L(O5c,_.K);_.g=O5c.prototype;_.g.getLabel=function(){return _.C(this,1)};_.g.wd=function(a){return _.A(this,1,a)};_.g.Jr=function(){return _.Q(this,1)};_.g.Xa=function(){return _.C(this,2)};_.g.Jb=function(a){return _.A(this,2,a)};
_.g.zi=function(){return _.Qj(this,2)};_.g.ih=function(){return _.Q(this,2)};_.g.Se=function(){return _.C(this,5)};_.g.um=function(a){return _.A(this,5,a)};_.g.cab=function(){return _.Q(this,5)};_.g.getCapabilities=function(){return _.E(this,M5c,3)};_.g.bab=function(){return _.E(this,N5c,4)};var P5c=function(a){_.P(this,a,-1,L5c,null)};_.L(P5c,_.K);P5c.prototype.O=function(){return _.ck(this,O5c,1)};var Q5c=function(a,b){_.Cb(a,1,b)},R5c=function(a){_.P(this,a,-1,null,null)};_.L(R5c,_.K);
R5c.prototype.ju=function(){return _.C(this,1)};R5c.prototype.xW=function(){return _.Q(this,1)};R5c.prototype.getOptions=function(){return _.E(this,P5c,2)};var S5c=function(a){_.P(this,a,-1,null,null)};_.L(S5c,_.K);S5c.prototype.ju=function(){return _.C(this,1)};S5c.prototype.xW=function(){return _.Q(this,1)};S5c.prototype.getOptions=function(){return _.E(this,J5c,2)};var T5c=function(a){_.P(this,a,-1,null,null)};_.L(T5c,_.K);var U5c=function(a){_.P(this,a,-1,null,null)};_.L(U5c,_.K);
U5c.prototype.ju=function(){return _.C(this,1)};U5c.prototype.xW=function(){return _.Q(this,1)};U5c.prototype.getOptions=function(){return _.E(this,T5c,2)};var rO=[[3,4,5,6,7,8,9,10,11,12]],V5c=function(a){_.P(this,a,-1,null,rO)};_.L(V5c,_.K);_.g=V5c.prototype;_.g.uda=function(a){return _.dk(this,3,rO[0],a)};_.g.g5a=function(a){return _.dk(this,4,rO[0],a)};_.g.t4a=function(a){return _.dk(this,5,rO[0],a)};_.g.s4a=function(a){return _.dk(this,6,rO[0],a)};
_.g.g4a=function(a){return _.dk(this,7,rO[0],a)};_.g.U4a=function(a){return _.dk(this,8,rO[0],a)};_.g.T4a=function(a){return _.dk(this,9,rO[0],a)};_.g.l5a=function(a){return _.dk(this,10,rO[0],a)};_.g.Dpa=function(a){return _.dk(this,11,rO[0],a)};_.g.jpa=function(a){return _.dk(this,12,rO[0],a)};var W5c=function(a){_.P(this,a,-1,null,null)};_.L(W5c,_.K);var X5c=function(a){_.P(this,a,-1,null,null)};_.L(X5c,_.K);X5c.prototype.ju=function(){return _.C(this,1)};
X5c.prototype.xW=function(){return _.Q(this,1)};X5c.prototype.getOptions=function(){return _.E(this,W5c,2)};var Y5c=function(a){_.P(this,a,-1,null,qO)};_.L(Y5c,_.K);_.g=Y5c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.W$a=function(){return _.C(this,2)};_.g.ze=function(){return _.C(this,4)};_.g.V$a=function(){return _.E(this,F5c,5)};_.g.getCapabilities=function(){return _.E(this,G5c,6)};_.g.aab=function(){return _.C(this,7)};
_.g.g4a=function(a){return _.dk(this,13,qO[0],a)};_.g.U$a=function(){return _.E(this,H5c,19)};_.g.jpa=function(a){return _.dk(this,19,qO[0],a)};_.g.s4a=function(a){return _.dk(this,12,qO[0],a)};_.g.t4a=function(a){return _.dk(this,11,qO[0],a)};_.g.otb=function(){return _.E(this,I5c,10)};_.g.X$a=function(){return _.E(this,R5c,15)};_.g.T4a=function(a){return _.dk(this,15,qO[0],a)};_.g.Y$a=function(){return _.E(this,P5c,14)};_.g.U4a=function(a){return _.dk(this,14,qO[0],a)};
_.g.g5a=function(a){return _.dk(this,9,qO[0],a)};_.g.Z$a=function(){return _.E(this,J5c,8)};_.g.uda=function(a){return _.dk(this,8,qO[0],a)};_.g.$$a=function(){return _.E(this,X5c,18)};_.g.Dpa=function(a){return _.dk(this,18,qO[0],a)};_.g.l5a=function(a){return _.dk(this,17,qO[0],a)};var Z5c=[5],$5c=function(a){_.P(this,a,-1,null,null)};_.L($5c,_.K);$5c.prototype.ha=function(){return _.R(this,1)};$5c.prototype.O=function(){return _.R(this,2)};$5c.prototype.ma=function(){return _.R(this,3)};
$5c.prototype.V=function(){return _.R(this,4)};var sO=function(a){_.P(this,a,-1,Z5c,null)};_.L(sO,_.K);sO.prototype.getName=function(){return _.C(this,1)};sO.prototype.jd=function(a){return _.A(this,1,a)};sO.prototype.en=function(){return _.C(this,2)};var a6c=function(a,b){return _.A(a,2,b)};sO.prototype.V=function(){return _.C(this,14)};var b6c=function(a,b){return _.A(a,14,b)};_.g=sO.prototype;_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};
_.g.Se=function(){return _.C(this,4)};_.g.um=function(a){return _.A(this,4,a)};_.g.kab=function(){return _.C(this,15)};_.g.jab=function(){return _.ck(this,Y5c,5)};var c6c=function(a,b){return _.Cb(a,5,b)},d6c=function(a,b){_.x(a,6,b)},e6c=function(a,b){_.x(a,7,b)},f6c=function(a,b){_.x(a,8,b)},g6c=function(a,b){return _.A(a,9,b)},h6c=function(a,b){return _.A(a,10,b)},i6c=function(a,b){return _.A(a,11,b)};sO.prototype.O=function(){return _.E(this,F5c,12)};var j6c=function(a,b){_.x(a,12,b)};
sO.prototype.getCapabilities=function(){return _.E(this,$5c,13)};var k6c=function(a,b){_.x(a,13,b)};sO.prototype.getCustomer=function(){return _.C(this,16)};l6c=function(a,b){return _.A(a,16,b)};m6c=[3];_.tO=function(a){_.P(this,a,-1,m6c,null)};_.L(_.tO,_.K);_.tO.prototype.getType=function(){return _.C(this,1)};_.tO.prototype.Ic=function(){return _.C(this,2)};_.bO=function(a){_.P(this,a,-1,null,null)};_.L(_.bO,_.K);_.bO.prototype.getId=function(){return _.C(this,1)};
_.bO.prototype.Pb=function(a){return _.A(this,1,a)};_.bO.prototype.we=function(){return _.E(this,_.of,3)};_.n6c=function(a){_.P(this,a,-1,null,null)};_.L(_.n6c,_.K);_.n6c.prototype.getFeature=function(){return _.C(this,1)};o6c=[1];_.mN=function(a){_.P(this,a,-1,o6c,null)};_.L(_.mN,_.K);p6c=[2,3,8];_.DM=function(a){_.P(this,a,-1,p6c,null)};_.L(_.DM,_.K);_.DM.prototype.getId=function(){return _.C(this,1)};_.DM.prototype.Pb=function(a){return _.A(this,1,a)};
_.DM.prototype.we=function(){return _.E(this,_.of,4)};_.DM.prototype.Bc=function(){return _.C(this,5)};var q6c=function(a){_.P(this,a,-1,null,null)};_.L(q6c,_.K);var r6c=[1,2,4],s6c={Q6b:0,x0b:1,K1b:2,x1b:3,n_b:4,yUb:5,y0b:6,y1b:7,vZb:8,WUb:9,v1b:10},uO=function(){this.map={};this.status=6;this.Re=null};uO.prototype.Bb=function(){return this.status};uO.prototype.Cc=function(a){this.status=a};uO.prototype.We=function(){return this.Re};uO.prototype.kj=function(a){this.Re=a};
var t6c=function(a,b){a.map=b};uO.prototype.Zb=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.Re,me:b})};u6c=function(a,b,c){c=JSON.parse(c);a.Cc(c.s);a.kj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.pN=function(){uO.apply(this,arguments)};_.L(_.pN,uO);var v6c=function(){uO.apply(this,arguments)};_.L(v6c,uO);var w6c=function(a){_.P(this,a,-1,null,null)};_.L(w6c,_.K);
w6c.prototype.getType=function(){return _.C(this,1)};var x6c=function(a){var b=new w6c;return _.A(b,1,a)},y6c=function(a,b){return _.x(a,2,b)};w6c.prototype.wy=function(){return _.C(this,3)};w6c.prototype.Wy=function(a){return _.A(this,3,a)};w6c.prototype.Mi=function(){return _.C(this,4)};w6c.prototype.setPosition=function(a){return _.A(this,4,a)};var z6c=[2],A6c=function(a){_.P(this,a,-1,z6c,null)};_.L(A6c,_.K);A6c.prototype.Bb=function(){return _.C(this,1)};
A6c.prototype.Cc=function(a){return _.A(this,1,a)};var B6c=[2],vO=function(a){_.P(this,a,-1,B6c,null)};_.L(vO,_.K);vO.prototype.Bb=function(){return _.C(this,1)};vO.prototype.Cc=function(a){return _.A(this,1,a)};vO.prototype.O=function(){return _.ck(this,pO,2)};var C6c=function(a,b){return _.Cb(a,2,b)};vO.prototype.$j=function(){return _.C(this,3)};var D6c=function(a){_.P(this,a,-1,null,null)};_.L(D6c,_.K);D6c.prototype.Bb=function(){return _.C(this,1)};
D6c.prototype.Cc=function(a){return _.A(this,1,a)};var E6c=function(a,b){return _.x(a,2,b)},F6c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},G6c=function(a){_.P(this,a,-1,null,null)};_.L(G6c,_.K);G6c.prototype.Se=function(){return _.F(this,1)};G6c.prototype.um=function(a){return _.Yj(this,1,a)};G6c.prototype.getUrl=function(){return _.F(this,2)};_.H6c=function(a){_.P(this,a,-1,null,null)};_.L(_.H6c,_.K);_.H6c.prototype.getType=function(){return _.Hj(this,1,0)};
_.H6c.prototype.getContext=function(){return _.E(this,G6c,2)};_.H6c.prototype.Yi=function(a){return _.x(this,2,a)};I6c=[1];J6c=[2,4];_.K6c=function(a){_.P(this,a,-1,J6c,null)};_.L(_.K6c,_.K);_.K6c.prototype.getLabel=function(){return _.F(this,1)};_.K6c.prototype.wd=function(a){return _.Yj(this,1,a)};_.K6c.prototype.getTitle=function(){return _.F(this,3)};_.K6c.prototype.setTitle=function(a){return _.Yj(this,3,a)};_.L6c=function(a){_.P(this,a,-1,I6c,null)};_.L(_.L6c,_.K);_.M6c=[[2,3,4]];
_.wO=function(a){_.P(this,a,-1,null,null)};_.L(_.wO,_.K);_.wO.prototype.ze=function(){return _.F(this,3)};_.wO.prototype.uo=function(a){return _.Yj(this,4,a)};_.N6c=function(a){_.P(this,a,-1,null,null)};_.L(_.N6c,_.K);_.O6c=function(a){_.P(this,a,-1,null,_.M6c)};_.L(_.O6c,_.K);var P6c=function(a){_.P(this,a,-1,null,null)};_.L(P6c,_.K);Q6c=[3,5];_.xO=[[8,9,10,11,12,13,14]];_.R6c=function(a){_.P(this,a,-1,null,null)};_.L(_.R6c,_.K);_.S6c=function(a){_.P(this,a,-1,Q6c,_.xO)};_.L(_.S6c,_.K);
_.S6c.prototype.Bb=function(){return _.Hj(this,6,0)};_.S6c.prototype.Cc=function(a){return _.Zj(this,6,a)};var T6c=function(a){_.P(this,a,-1,null,null)};_.L(T6c,_.K);var U6c=function(a){_.P(this,a,-1,null,null)};_.L(U6c,_.K);var V6c=function(a){_.P(this,a,-1,null,null)};_.L(V6c,_.K);var W6c=[1],X6c=function(a){_.P(this,a,-1,W6c,null)};_.L(X6c,_.K);var Y6c=function(a){_.P(this,a,-1,null,null)};_.L(Y6c,_.K);var Z6c=function(a){_.P(this,a,-1,null,null)};_.L(Z6c,_.K);$6c=[7];_.a7c=[[1,2,3]];
_.b7c=function(a){_.P(this,a,-1,null,null)};_.L(_.b7c,_.K);_.c7c=function(a){_.P(this,a,-1,null,null)};_.L(_.c7c,_.K);_.d7c=function(a){_.P(this,a,-1,null,null)};_.L(_.d7c,_.K);_.e7c=function(a){_.P(this,a,-1,$6c,_.a7c)};_.L(_.e7c,_.K);var f7c=function(a){_.P(this,a,-1,null,null)};_.L(f7c,_.K);f7c.prototype.getName=function(){return _.F(this,1)};f7c.prototype.jd=function(a){return _.Yj(this,1,a)};var g7c=function(a){_.P(this,a,-1,null,null)};_.L(g7c,_.K);
g7c.prototype.getName=function(){return _.F(this,1)};g7c.prototype.jd=function(a){return _.Yj(this,1,a)};g7c.prototype.getTitle=function(){return _.F(this,2)};g7c.prototype.setTitle=function(a){return _.Yj(this,2,a)};var h7c=[[1,4]],i7c=function(a){_.P(this,a,-1,null,h7c)};_.L(i7c,_.K);i7c.prototype.getUser=function(){return _.E(this,_.O6c,1)};i7c.prototype.Aj=function(){return _.E(this,f7c,3)};i7c.prototype.nn=function(a){return _.x(this,3,a)};i7c.prototype.iH=function(){return _.Q(this,3)};
var j7c=[[8,9,10]],k7c=function(a){_.P(this,a,-1,null,null)};_.L(k7c,_.K);var l7c=function(a){_.P(this,a,-1,null,null)};_.L(l7c,_.K);l7c.prototype.getType=function(){return _.Hj(this,6,0)};var m7c=function(a){_.P(this,a,-1,null,null)};_.L(m7c,_.K);_.n7c=function(a){_.P(this,a,-1,null,j7c)};_.L(_.n7c,_.K);_.g=_.n7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.Yj(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};
_.g.getFile=function(){return _.E(this,k7c,3)};_.g.qka=function(){return _.E(this,l7c,9)};_.g.gAa=function(){return _.E(this,m7c,10)};_.g.Ci=function(){return _.Lj(this,5)};_.g.getMimeType=function(){return _.F(this,6)};_.g.iD=function(){return _.E(this,i7c,7)};var o7c=function(a){_.P(this,a,-1,null,null)};_.L(o7c,_.K);var p7c=[[8,9,10]],q7c=function(a){_.P(this,a,-1,null,p7c)};_.L(q7c,_.K);_.g=q7c.prototype;_.g.getName=function(){return _.F(this,1)};_.g.jd=function(a){return _.Yj(this,1,a)};
_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};_.g.getFile=function(){return _.E(this,k7c,3)};_.g.qka=function(){return _.E(this,l7c,9)};_.g.gAa=function(){return _.E(this,m7c,10)};r7c=[[1,3]];_.yO=function(a){_.P(this,a,-1,null,r7c)};_.L(_.yO,_.K);_.yO.prototype.Bi=function(){return _.E(this,q7c,1)};_.s7c=[[1,2,3]];_.t7c=function(a){_.P(this,a,-1,null,null)};_.L(_.t7c,_.K);_.u7c=function(a){_.P(this,a,-1,null,_.s7c)};_.L(_.u7c,_.K);
var v7c=function(a){_.P(this,a,-1,null,null)};_.L(v7c,_.K);var w7c=function(a){_.P(this,a,-1,null,null)};_.L(w7c,_.K);x7c=[2,3];_.y7c=function(a){_.P(this,a,-1,x7c,null)};_.L(_.y7c,_.K);_.y7c.prototype.getType=function(){return _.Hj(this,1,0)};_.z7c=function(a){_.P(this,a,-1,null,null)};_.L(_.z7c,_.K);_.z7c.prototype.getType=function(){return _.Hj(this,1,0)};var A7c=function(a){_.P(this,a,-1,null,null)};_.L(A7c,_.K);A7c.prototype.getType=function(){return _.Hj(this,1,0)};
var B7c=function(a){_.P(this,a,-1,null,null)};_.L(B7c,_.K);_.C7c=function(a){_.P(this,a,-1,null,null)};_.L(_.C7c,_.K);_.C7c.prototype.O=function(){return _.S(this,1)};var D7c=function(a){_.P(this,a,-1,null,null)};_.L(D7c,_.K);E7c=[1,2,4];_.F7c=function(a){_.P(this,a,-1,null,null)};_.L(_.F7c,_.K);G7c=[1,2];_.H7c=function(a){_.P(this,a,-1,null,null)};_.L(_.H7c,_.K);_.H7c.prototype.getParent=function(){return _.E(this,_.yO,1)};_.H7c.prototype.Ag=function(a){return _.x(this,1,a)};
_.I7c=function(a){_.P(this,a,-1,G7c,null)};_.L(_.I7c,_.K);_.J7c=function(a){_.P(this,a,-1,E7c,null)};_.L(_.J7c,_.K);_.zO=function(a){_.P(this,a,-1,null,null)};_.L(_.zO,_.K);_.zO.prototype.getEmail=function(){return _.F(this,1)};_.zO.prototype.getTitle=function(){return _.F(this,2)};_.zO.prototype.setTitle=function(a){return _.Yj(this,2,a)};_.AO=[[2,3,4,5]];_.BO=function(a){_.P(this,a,-1,null,_.AO)};_.L(_.BO,_.K);_.g=_.BO.prototype;_.g.$f=function(){return _.Hj(this,1,0)};
_.g.getUser=function(){return _.E(this,_.O6c,2)};_.g.Aj=function(){return _.E(this,f7c,4)};_.g.nn=function(a){return _.dk(this,4,_.AO[0],a)};_.g.iH=function(){return _.Q(this,4)};var K7c=function(a){_.P(this,a,-1,null,null)};_.L(K7c,_.K);L7c=[1,2,3,4];_.M7c=function(a){_.P(this,a,-1,L7c,null)};_.L(_.M7c,_.K);_.N7c=function(a){_.P(this,a,-1,null,null)};_.L(_.N7c,_.K);_.O7c=function(a){_.P(this,a,-1,null,null)};_.L(_.O7c,_.K);_.P7c=function(a){_.P(this,a,-1,null,null)};_.L(_.P7c,_.K);
_.Q7c=function(a){_.P(this,a,-1,null,null)};_.L(_.Q7c,_.K);_.Q7c.prototype.getType=function(){return _.Hj(this,1,0)};R7c=[1];_.S7c=function(a){_.P(this,a,-1,null,null)};_.L(_.S7c,_.K);_.S7c.prototype.getFeature=function(){return _.Hj(this,1,0)};_.T7c=function(a){_.P(this,a,-1,R7c,null)};_.L(_.T7c,_.K);var U7c=function(a){_.P(this,a,-1,null,null)};_.L(U7c,_.K);var V7c=function(a){_.P(this,a,-1,null,null)};_.L(V7c,_.K);var W7c=function(a){_.P(this,a,-1,null,null)};_.L(W7c,_.K);
W7c.prototype.getType=function(){return _.Hj(this,1,0)};_.CO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.DO=function(a){_.P(this,a,-1,null,_.CO)};_.L(_.DO,_.K);_.DO.prototype.Wz=function(){return _.E(this,W7c,10)};_.X7c=function(a){_.P(this,a,-1,null,null)};_.L(_.X7c,_.K);var Y7c=function(a){_.P(this,a,-1,null,null)};_.L(Y7c,_.K);_.Z7c=function(a){_.P(this,a,-1,null,null)};_.L(_.Z7c,_.K);_.$7c=function(a){_.P(this,a,-1,null,null)};_.L(_.$7c,_.K);
_.$7c.prototype.getType=function(){return _.Hj(this,1,0)};_.a8c=[[1,2,3,4,5]];_.b8c=function(a){_.P(this,a,-1,null,_.a8c)};_.L(_.b8c,_.K);_.b8c.prototype.getUser=function(){return _.E(this,_.O6c,1)};var c8c=function(a){_.P(this,a,-1,null,null)};_.L(c8c,_.K);c8c.prototype.getType=function(){return _.Hj(this,2,0)};c8c.prototype.Ah=function(){return _.F(this,1)};_.d8c=function(a){_.P(this,a,-1,null,null)};_.L(_.d8c,_.K);_.g=_.d8c.prototype;_.g.getName=function(){return _.F(this,1)};
_.g.jd=function(a){return _.Yj(this,1,a)};_.g.getTitle=function(){return _.F(this,2)};_.g.setTitle=function(a){return _.Yj(this,2,a)};_.g.Na=function(){return _.E(this,_.n7c,3)};_.e8c=function(a){_.P(this,a,-1,null,null)};_.L(_.e8c,_.K);_.e8c.prototype.getParent=function(){return _.E(this,_.n7c,4)};_.e8c.prototype.Ag=function(a){return _.x(this,4,a)};_.f8c=[[1,5,3]];_.g8c=function(a){_.P(this,a,-1,null,_.f8c)};_.L(_.g8c,_.K);_.g8c.prototype.Bi=function(){return _.E(this,_.n7c,1)};
h8c=function(a,b){return new _.BSc(_.CSc.bound(a,b,void 0,void 0))};i8c=function(){var a=new _.Wh,b=_.OSc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Pd(_.sL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.j8c=function(a){_.P(this,a,-1,null,null)};_.L(_.j8c,_.K);_.j8c.prototype.Qq=function(){return _.C(this,1)};_.j8c.prototype.Ld=function(){return _.C(this,2)};
_.j8c.prototype.setSize=function(a){return _.A(this,2,a)};_.j8c.prototype.getUrl=function(){return _.C(this,3)};_.n8c=function(a){_.P(this,a,-1,null,null)};_.L(_.n8c,_.K);_.n8c.prototype.getType=function(){return _.C(this,1)};o8c=[2,3];_.p8c=function(a){_.P(this,a,-1,o8c,null)};_.L(_.p8c,_.K);q8c=[4,5,6,17,18,24];_.EO=function(a){_.P(this,a,-1,q8c,null)};_.L(_.EO,_.K);_.EO.prototype.getId=function(){return _.C(this,1)};_.EO.prototype.Pb=function(a){return _.A(this,1,a)};
_.EO.prototype.getName=function(){return _.C(this,2)};_.EO.prototype.jd=function(a){return _.A(this,2,a)};var r8c=function(a,b){return _.Pj(a,4,b)},s8c=function(a,b){return _.Pj(a,5,b)};_.EO.prototype.YQ=function(){return _.C(this,8)};_.EO.prototype.$Aa=function(){return _.R(this,22)};_.EO.prototype.getType=function(){return _.C(this,23)};_.EO.prototype.Fm=function(){return _.R(this,33)};var a2c=function(a){_.P(this,a,-1,null,null)};_.L(a2c,_.K);var t8c=[3],FO=function(a){_.P(this,a,-1,t8c,null)};
_.L(FO,_.K);FO.prototype.qq=function(){return _.C(this,1)};var u8c=function(a,b){return _.A(a,1,b)};FO.prototype.getTitle=function(){return _.C(this,2)};FO.prototype.setTitle=function(a){return _.A(this,2,a)};FO.prototype.Gd=function(){return _.ck(this,_.Wk,3)};var v8c=function(a,b){return _.Cb(a,3,b)};FO.prototype.nh=function(a,b){return _.ek(this,3,a,_.Wk,b)};FO.prototype.V=function(){return _.C(this,4)};var w8c=function(a,b){return _.A(a,4,b)};FO.prototype.O=function(){return _.E(this,_.Fk,5)};
var x8c=function(a,b){return _.x(a,5,b)},y8c=[2],GO=function(a){_.P(this,a,-1,y8c,null)};_.L(GO,_.K);GO.prototype.Bb=function(){return _.C(this,1)};GO.prototype.Cc=function(a){return _.A(this,1,a)};GO.prototype.nl=function(){return _.ck(this,FO,2)};var z8c=function(a,b){return _.Cb(a,2,b)};GO.prototype.Uf=function(){return _.C(this,4)};A8c=function(a,b){return _.A(a,4,b)};_.rN=function(a){_.P(this,a,-1,null,null)};_.L(_.rN,_.K);_.g=_.rN.prototype;_.g.Bb=function(){return _.C(this,1)};
_.g.Cc=function(a){return _.A(this,1,a)};_.g.gU=function(){return _.Nj(this,2,_.KF)};_.g.$j=function(){return _.C(this,3)};_.g.We=function(){return _.C(this,5)};_.g.kj=function(a){return _.A(this,5,a)};var B8c=[1],cO=[[1,2,3,4,5,6,7]],C1c=function(a){_.P(this,a,-1,null,cO)};_.L(C1c,_.K);var D1c=function(a){_.P(this,a,-1,B8c,null)};_.L(D1c,_.K);var HO=function(a){_.P(this,a,-1,null,null)};_.L(HO,_.K);HO.prototype.getQuery=function(){return _.E(this,_.bf,1,1)};
HO.prototype.wg=function(a){return _.x(this,1,a)};HO.prototype.lK=function(){return _.Q(this,1)};HO.prototype.Yn=function(){return _.C(this,4)};var C8c=function(a,b){return _.x(a,5,b)},D8c=[1,2,5,7,9,10,12],IO=function(a){_.P(this,a,-1,D8c,null)};_.L(IO,_.K);IO.prototype.Gd=function(){return _.ck(this,_.Wk,1)};var E8c=function(a,b){return _.Cb(a,1,b)};IO.prototype.nh=function(a,b){return _.ek(this,1,a,_.Wk,b)};IO.prototype.Lha=function(a){_.ek(this,2,a,_.Dk,void 0)};
var F8c=function(a,b){return _.A(a,3,b)};IO.prototype.$n=function(){return _.C(this,4)};IO.prototype.Iu=function(a){return _.A(this,4,a)};var G8c=function(a,b){return _.Cb(a,5,b)},H8c=function(a,b){return _.A(a,6,b)};IO.prototype.Fh=function(){return _.E(this,_.TA,8)};var I8c=function(a,b){return _.Pj(a,12,b)};IO.prototype.Bo=function(){return _.Hj(this,13,0)};
var J8c=function(a,b){return _.A(a,13,b)},K8c={$Ub:0,ZUb:1,N_b:2,S5b:3,V5b:4},aO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],A1c=function(a){_.P(this,a,-1,null,aO)};_.L(A1c,_.K);var H1c=[[1,2]],G1c=function(a){_.P(this,a,-1,null,H1c)};_.L(G1c,_.K);var K1c=[[1,2,3]],J1c=function(a){_.P(this,a,-1,null,K1c)};_.L(J1c,_.K);_.JO=function(a){_.P(this,a,-1,null,null)};_.L(_.JO,_.K);_.JO.prototype.BY=function(a){_.x(this,1,a)};_.JO.prototype.Fr=function(){return _.E(this,_.tx,2)};
_.JO.prototype.FF=function(a){_.x(this,2,a)};L8c=[[5,6]];_.M8c=function(a){_.P(this,a,-1,null,L8c)};_.L(_.M8c,_.K);_.M8c.prototype.Oh=function(){return _.E(this,c8c,2)};_.M8c.prototype.O=function(a){_.dk(this,5,L8c[0],a)};N8c=[3,4,5];O8c=[[6,7]];_.P8c=function(a){_.P(this,a,-1,N8c,O8c)};_.L(_.P8c,_.K);_.P8c.prototype.O=function(a){_.dk(this,6,O8c[0],a)};var Q8c=[1],R8c=function(a){_.P(this,a,-1,Q8c,null)};_.L(R8c,_.K);R8c.prototype.ty=function(){return _.F(this,2)};
var S8c=function(a,b){return 1<a?2===b:a===b},T8c=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("Le");},KO=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=KO.prototype;_.g.clone=function(){return new KO(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.jc=function(){return this.count};_.g.getItem=function(){return this.item};
_.g.setItem=function(a){this.item=a};_.g.XD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.jc()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ik(this.item,a.getItem())};_.sN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};_.nVc=function(a){this.H=a;this.type=1};U8c=function(){};V8c=function(a){this.H=a};_.oVc=function(a){this.H=a;this.type=0};
l2c=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.lA=f;this.H=h;this.W=k};_.uN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};_.vVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.yVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.vN=function(a,b,c){this.response=a;this.Re=void 0===b?0:b;this.o0=void 0===c?null:c};
_.wN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};_.tN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Re=void 0===d?0:d};W8c=function(a){_.tN.call(this,a,void 0,void 0,void 0);this.d4a=new _.tn};_.L(W8c,_.tN);
var X8c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},Y8c=function(a){return[].concat(_.nd(new Set(a.map(function(b){return _.RTc.get(b)}).filter(function(b){return b})))).join(",")},LO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nd(b));b=Y8c(b);var d=_.BL(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":
_.S(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.S(a,77,!1)&&(c+=",canChangeCategoryReferences");
_.S(a,93,!1)&&(c+=",canRemoveSecureLinkUpdateForAllFiles",d+=",removeSecureLinkUpdateForAllFiles");return(b.length?d+","+b:d)+",capabilities("+c+")"},Z8c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+LO(a,b,!1)+")"},MO=function(a){return a instanceof _.Wk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Ic()&&a.Ic()==a.Bc()},$8c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.hh();null!=e&&X0c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Rk,h=_.R(e,13);_.A(f,13,h);_.WM(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Rk,e=_.R(e,18),_.A(f,18,e),_.WM(a,f));UN(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.hh()&&UN(a,d,c)},a9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!MO(a)&&!MO(b))return a;if(2==ZN(a)){c=_.C(a,82);var d=b.clone();$8c(d,a);_.xWc(d,ZN(b));_.PL(d,c);return d}a=a.clone();$8c(a,b,c);return a},b9c=function(a){return(a=a?a.hh():null)&&a.Fm()||!1},c9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},d9c=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]={}})},f9c=function(a,b,c){b.every(function(d){return MO(d)})?e9c(b,c,a.H,a.O):b.every(function(d){return!MO(d)})&&e9c(b,c,a.items,a.fields)},e9c=function(a,b,c,d){var e=_.aVc(b,[].concat(_.nd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&UN(f,k,[h])})})};c9c.prototype.update=function(a,b,c){b&&MO(b)?g9c(a,b,this.H,this.O,c):g9c(a,b,this.items,this.fields,c)};c9c.prototype.HJ=function(a){var b=this;_.Ma(this.items,function(c,d){_.Xa(b.items[d],a)});_.Ma(this.H,function(c,d){_.Xa(b.H[d],a)})};var g9c=function(a,b,c,d,e){_.Ma(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Xa(f,a);else if(b&&U0c(b,[h])){var k=new _.Wk;k.Pb(b.getId());UN(k,b,[h]);f[a]=k}});b&&Q0c(b,[].concat(_.nd(d)))};
c9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};c9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var h9c=function(a,b,c){var d=this;this.zu=b;this.Ew=c;this.Od=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=h9c.prototype;_.g.my=function(){return this.Od};
_.g.tk=function(a){var b=new Map;a=_.m(a.jn());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Od.has(c)&&b.set(c,this.Od.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(i9c(a)){for(var d=_.m(this.Od.values()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&(void 0===b||S8c(e.H,b))&&c.push(e);this.Ew.sort(a,c)}return c};_.g.get=function(a){return this.Od.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Od.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,j9c(this,a.H)?(this.Od.delete(a.id),a.H.count--):this.Od.set(a.id,a.H)):(this.Od.delete(a.id),a.O.count--)};var j9c=function(a,b){return 1<b.jc()||S8c(b.H,2)||b.getItem().WI()||o1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
h9c.prototype.HJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b=b.value,j9c(this,b)&&(this.Od.delete(b.getId()),b.count--)};var k9c=function(a,b,c,d){this.Kg=a;this.W=b;this.O=c;this.V=d},b2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),f9c(a.V,[b.getItem()],V4c(a.Kg)),b):null};k9c.prototype.H=function(a){return(a=b2c(this,a))?a.getItem():null};
var l9c=function(a,b){var c={};b.forEach(function(d){var e=b2c(a,d);e&&(c[d]=e)});return c},m9c=function(a,b){return _.Oa(l9c(a,b),function(c){return c.getItem()})},n9c=function(a,b){b=OO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};k9c.prototype.query=function(a){return n9c(this,a).map(function(b){return b.getItem()})};k9c.prototype.Ld=function(){return this.O.my().size};
var o9c=function(a){var b=new Set;a=_.m(a.O.my().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Xk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.RF(e));(d=c.Bm())&&b.add(d.getId()||_.RF(d));(d=c.Uv())&&b.add(d.getId()||_.RF(d));(d=c.Tq())&&b.add(d.getId()||_.RF(d));(c=c.rD())&&b.add(c.getId()||_.RF(c))}return b.size},p9c=function(a){var b=new _.Io;_.lN(b,"hidden",a.Fm());a=_.R(a,6);null!=a&&_.lN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
q9c=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}},r9c=function(a){var b=_.CRc(),c={};b&&(c.numeric=b);this.H=_.DRc(a,c)};r9c.prototype.compare=function(a,b,c){b=s9c(b);c=s9c(c);a=a.Ac();var d=q9c(a);if(a&&d){d=t9c(this,a);var e=4===a.getType()?this.H:_.Fa;return u9c(a,d,e,b,c)}return _.Fa(b.getId(),c.getId())};
r9c.prototype.sort=function(a,b,c){a=a.Ac();var d=q9c(a);a&&d&&(d=t9c(this,a),d=v9c(b,d),_.Ha(b,w9c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var s9c=function(a){return a instanceof _.Wk?a:a.getItem()},t9c=function(a,b){b=q9c(b);return _.v(a.O,a,b,_.Fa)},v9c=function(a,b){var c={};a.forEach(function(d){d=s9c(d);var e=d.getId();c[e]=b(d)});return c},w9c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Fa;d=s9c(d);e=s9c(e);return u9c(b,function(h){return c[h.getId()]},f,d,e)}},u9c=function(a,b,c,d,e){var f=1===a.Bf()?1:-1;if(_.R(a,3)){a=WN(d,!0);var h=WN(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()))};r9c.prototype.O=function(a,b,c){for(var d=x9c(a[0],c),e=1;e<a.length;e++){var f=x9c(a[e],c);d=1===b(f,d)?f:d}return d};
var x9c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.WA()||!1;case 12:return b.jz()||0;case 11:return b.kB()||0;case 10:return b.Iq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.xy()||0;case 57:return _.C(b,62)||0;case 32:return b.Tu()||0;case 9:return b.ZC()||0;case 67:return b.bK()||0;case 98:return b.Vv()||0;default:return""}},y9c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.tr=_.uL(_.vL(b));
a=_.LL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};y9c.prototype.Iu=function(a){this.rootId=a||""};
var OO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Dl(b).filter(function(d){return"root"===d.Xa()}).forEach(function(d){return d.Jb(a.rootId)});_.hf(b,_.Cl(b).map(function(d){d.Jb(d.Xa().toLowerCase());return d}));c&&_.Bl(b,a.fields);b.O().sort();return b},PO=function(a,b,c){if(b instanceof _.bf){b=OO(a,b);var d=_.VXc(b)}else if(b instanceof _.Sz)d=b.jn().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.oL)return d=p9c(b),d+"|tdList";if(b instanceof _.JF)return d=
b.jn().sort().join(","),b.O().length&&(d+="|"+Y8c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+z9c(a,b.O(),2===c)},z9c=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.nd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.XL({fields:[].concat(_.nd(f)),tr:a.tr}));e.size&&(d=d+" + "+_.XL({fields:[].concat(_.nd(e)),tr:a.tr}));
return d};y9c.prototype.equals=function(a,b,c){var d;c&&(d=3);return PO(this,a,d)===PO(this,b,d)};
var A9c=function(a){if(!a.jn().every(function(b){return!_.ee(b)}))throw new _.nc("Invalid ids for FindByIdsRequest");},C9c=function(a,b,c){if(_.tM(b))throw new _.nc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");B9c(a,b,c)},B9c=function(a,b,c){var d;a.O||(d=_.UL(3));if(b.getId())throw new _.nc("Use findByIds() for find by id queries.",d?d:_.UL(3));if(!b.Li()||0>=b.Li())throw new _.nc("A positive limit is required on an ItemQueryRequest.",d?d:_.UL(3));
_.Pd(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),D9c(a,d,b.O()));if(c=(c=b.Ac())&&q9c(c))d=b.O().length?b.O():a.fields,D9c(a,d,c);if(_.sM(b)){if(a.tr)throw new _.nc("User must be authenticated for a Quick Access request.");if(!E9c(a)&&20<b.Li())throw new _.nc("Limit must be in the range [1, 20].");c=2===_.ZM(b);d=_.Pd(b,33).length;if(c&&1!==d||d&&!c)throw new _.nc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Sj(_.Qj(_.Qj(_.Qj(_.HH(_.Qj(_.Rj(_.HH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.bf;if(!_.ik(c,d))throw new _.nc("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: "+o5c(d,c));}if(_.uM(b)){if(a.tr)throw new _.nc("User must be authenticated for a DrivePriority request.");if(2===_.ZM(b))throw new _.nc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Qj(_.Qj(_.Qj(_.Rj(_.HH(b.clone(),1),30),32),45),52);
b=new _.bf;if(!_.ik(a,b))throw new _.nc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+o5c(b,a));}},F9c=function(a,b,c){if(!_.tM(b))throw new _.nc("Expected a PeoplePredict request.");B9c(a,b,c);if(a.tr)throw new _.nc("User must be authenticated for a People Predict request.");if(2===_.ZM(b))throw new _.nc("Team Drive corpora is not valid for a People Predict request.");a=_.Qj(_.Qj(_.Qj(_.Rj(_.HH(b.clone(),
1),30),32),45),49);b=new _.bf;if(!_.ik(a,b))throw new _.nc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+o5c(b,a));},D9c=function(a,b,c){var d;a.O||(d=_.UL(3));if(!V0c(b,c,_.ZUc)){var e=_.XL({fields:c,tr:a.tr}),f=_.XL({fields:b,tr:a.tr});a=_.XL({fields:W0c(c,b),tr:a.tr});throw new _.nc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.UL(3));
}},E9c=function(a){return 200<=_.aN(a.H)&&300>_.aN(a.H)},G9c=function(a){var b=new Set;_.Cl(a).forEach(function(c){switch(_.oNa(c.Xa())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.nd(b))},H9c=function(a){switch(_.aN(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"}},I9c=function(a){_.N.call(this);this.H=a};_.Kf(I9c,_.N);_.g=I9c.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.LO=function(a){this.H.addCallback(function(b){b.LO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Ya=function(){this.cancel();I9c.ub.Ya.call(this)};var v1c=function(a){_.ay.call(this);this.Oo=a;this.H=_.xe(this.Oo,"message",this.mpb,!1,this)};_.Kf(v1c,_.ay);_.g=v1c.prototype;_.g.Dd=null;
_.g.send=function(a,b){var c=[];b=this.aza(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.YTc&&(a=(0,_.xi)(a));this.Oo.postMessage(a,c)};_.g.mpb=function(a){a=a.Fe;var b=a.data;if(_.YTc)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.zCa(a.ports||[],b),d.hFa),null!=b&&d.callback(b))}};
_.g.aza=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,_.v)(this.aza,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.aza(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.zCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.zCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.zCa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.oi(this.H);"[object MessagePort]"==Object.prototype.toString.call(this.Oo)?this.Oo.close():"[object Worker]"==Object.prototype.toString.call(this.Oo)&&this.Oo.terminate();delete this.Oo;v1c.ub.Ya.call(this)};
var x1c=function(a,b){if("*"==b)return new I9c(_.ai(Error("Qe")));var c=new _.ti(50),d=_.tb(_.aa,c),e=new _.Wh(d);_.Uja(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 v1c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new I9c(e)},J9c=function(a){_.N.call(this);this.H=new _.hSc(a);this.V={};this.O=_.jSc(this.H,
"private");this.W=_.jSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Kmb,this),!0)};_.Kf(J9c,_.N);_.g=J9c.prototype;_.g.TFb=0;_.g.Ya=function(){_.aa(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.TFb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Kmb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.v)(this.Jmb,this,b),!0)};
_.g.Jmb=function(a,b){a=a(b.data);var c=b.signature;_.Ph(a).then((0,_.v)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var $N=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.hSc(a);this.Ma(this.H);this.O=new J9c(_.jSc(this.H,"direct"));this.Ma(this.O);a=_.jSc(this.H,"passthrough");this.V=b?a:new J9c(a);this.Ma(this.V);this.TW=b};_.L($N,_.N);$N.prototype.registerService=function(a,b){this.O.registerService(a,b)};
$N.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ff)};var QO=function(a,b,c){if(a.TW)throw Error("Re");a.V.registerService(b,c,!0)},RO=function(a,b,c,d){if(a.TW)throw Error("Se");a.V.send(b,c||{},d||_.Ff)};$N.prototype.start=function(){this.started||(this.started=!0);if(this.TW)throw Error("Te");};var s1c=[],K9c=function(){_.ay.call(this);this.H=null};_.L(K9c,_.ay);K9c.prototype.send=function(a,b){_.d6a(this.H,a,b)};
var y1c=function(){this.O=new K9c;this.H=new K9c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},L9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.Zb=null},M9c=function(a,b){b=void 0===b?!1:b;null==a.Zb&&(a.Zb=b)&&r1c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.Zb}},N9c=function(a){var b=new L9c(a.c,a.m,a.a,a.req);b.Zb=a.s;return b},O9c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.Zb=null},P9c=function(a,
b){b=void 0===b?!1:b;null==a.Zb&&a.data&&(a.Zb=b)&&r1c(a.data);return{d:a.data,err:a.error&&b?a.error.Zb():a.error,uid:a.H,s:b}},Q9c=function(a){var b=a.s,c=a.err&&b?new _.mc(JSON.parse(a.err)):a.err;a=new O9c(c?void 0:a.d,c,a.uid);c||(a.Zb=b);return a},q1c=function(a,b){this.H=a;this.RD=b};q1c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.RD[b];return a};
q1c.prototype.Zb=function(){for(var a={},b={},c=0;c<this.RD.length;c++){var d=this.RD[c],e=this.H[c];d instanceof Error?b[e]=_.JL(d).Zb():a[e]=d.Zb()}return{r:a,e:b}};R9c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.NM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.mc(JSON.parse(e));d.push(_.VL(e))});return new q1c(c,d)}return a};w1c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
S9c={LTb:0,eUb:1,ZZb:3,j7b:5,ojb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.eM=function(a){_.P(this,a,-1,null,null)};_.L(_.eM,_.K);_.eM.prototype.Ah=function(){return _.C(this,1)};_.eM.prototype.we=function(){return _.E(this,_.of,3)};_.hM=function(a){_.P(this,a,-1,null,null)};_.L(_.hM,_.K);_.hM.prototype.Ic=function(){return _.C(this,1)};_.hM.prototype.we=function(){return _.E(this,_.of,3)};_.pM=function(a){_.P(this,a,-1,null,null)};_.L(_.pM,_.K);
_.pM.prototype.Ah=function(){return _.C(this,1)};_.pM.prototype.we=function(){return _.E(this,_.of,2)};_.qM=function(a){_.P(this,a,-1,null,null)};_.L(_.qM,_.K);_.qM.prototype.Ah=function(){return _.C(this,1)};_.qM.prototype.we=function(){return _.E(this,_.of,2)};_.rM=function(a){_.P(this,a,-1,null,null)};_.L(_.rM,_.K);_.g=_.rM.prototype;_.g.Ic=function(){return _.C(this,1)};_.g.$f=function(){return _.C(this,2)};_.g.getType=function(){return _.C(this,3)};_.g.Xa=function(){return _.C(this,4)};
_.g.Jb=function(a){return _.A(this,4,a)};_.g.zi=function(){return _.Qj(this,4)};_.g.ih=function(){return _.Q(this,4)};_.g.we=function(){return _.E(this,_.of,7)};_.yM=function(a){_.P(this,a,-1,null,null)};_.L(_.yM,_.K);_.yM.prototype.Ic=function(){return _.C(this,1)};_.yM.prototype.we=function(){return _.E(this,_.of,2)};_.yM.prototype.Li=function(){return _.Lj(this,3,1E3)};_.yM.prototype.wi=function(a){return _.A(this,3,a)};_.BM=function(a){_.P(this,a,-1,null,null)};_.L(_.BM,_.K);
_.BM.prototype.we=function(){return _.E(this,_.of,1)};var T9c=function(){var a=new _.BM,b=_.pf(new _.of,301);return _.x(a,1,b)};_.BM.prototype.Bc=function(){return _.C(this,3)};_.wVc=function(a){_.P(this,a,-1,null,null)};_.L(_.wVc,_.K);_.wVc.prototype.Bc=function(){return _.C(this,1)};_.FM=function(a){_.P(this,a,-1,null,null)};_.L(_.FM,_.K);_.FM.prototype.Ah=function(){return _.C(this,1)};_.FM.prototype.we=function(){return _.E(this,_.of,4)};var U9c=function(a){_.P(this,a,-1,null,null)};_.L(U9c,_.K);
V9c=function(a,b){return _.A(a,1,b)};_.fM=function(a){_.P(this,a,-1,null,null)};_.L(_.fM,_.K);_.fM.prototype.getId=function(){return _.C(this,1)};_.fM.prototype.Pb=function(a){return _.A(this,1,a)};_.vM=function(a){_.P(this,a,-1,null,null)};_.L(_.vM,_.K);_.vM.prototype.getId=function(){return _.C(this,1)};_.vM.prototype.Pb=function(a){return _.A(this,1,a)};_.jVc=function(a){_.P(this,a,-1,null,null)};_.L(_.jVc,_.K);
var W9c=function(a,b,c){_.si.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};_.L(W9c,_.si);W9c.prototype.BB=function(){return this.O};W9c.prototype.wQ=function(){var a=this;if(this.W)return this.W;var b=_.Sh();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);X9c(this,b);return b.promise};W9c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,Y9c(this))};
W9c.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 v5c("ib")))};
var Z9c=function(a,b){a.ha=b},Y9c=function(a){a.H||(a.H=new _.PYc(5E3),a.timeout=_.n.setTimeout(function(){return $9c(a)},a.H.Xa()))},$9c=function(a){X9c(a);a.H&&(_.mH(a.H),a.timeout=_.n.setTimeout(function(){return $9c(a)},a.H.Xa()))},X9c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return a$c(a,b)})},a$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Ve(new _.xVc)});b?c.then(function(){b.resolve(V9c(new U9c,1))},function(d){var e=_.UA(d).Qg;
d=0;_.kUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.Vp(e),_.A(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new U9c;V9c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.UA(d);_.kUc(d.Qg)&&a.V&&(a.dispatchEvent(new v5c("jb")),a.V=!1)})};W9c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var b$c=function(a){return _.E(a,_.CL,3)||_.E(a,_.LM,4)||_.E(a,_.zN,5)||_.E(a,_.IM,6)||_.E(a,_.jM,7)||_.E(a,_.cM,8)||_.E(a,_.gM,9)||_.E(a,_.ML,10)},c$c=function(a){_.P(this,a,-1,null,null)};_.L(c$c,_.K);_.g=c$c.prototype;_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Qz=function(){return _.C(this,3)};_.g.Oe=function(){return _.C(this,4)};_.g.xi=function(a){return _.A(this,4,a)};_.g.Lla=function(){return _.Q(this,4)};
var d$c=function(a){this.Dd=a;this.H=new Map;this.O=this.Dd.W};
d$c.prototype.create=function(a,b){if(0!=a5c(b)){var c=this.Dd.H(106001);if(c){var d=a5c(b),e=lO(c);_.A(e,2,d);d=lO(c);e=null;if(b instanceof _.SF||b instanceof _.Sz||b instanceof _.bf||b instanceof _.wM||b instanceof _.dD||b instanceof _.JF||b instanceof _.oL||b instanceof _.wL||b instanceof _.LF||b instanceof _.Cz)e=b.we();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=lO(c);b=b instanceof _.bf?0<_.Dl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var e$c=function(a,b,c){if(a=a.H.get(b))a=lO(a),_.A(a,5,c)},f$c=function(a,b,c){(a=a.H.get(b))&&_.R(lO(a),8)&&(a=lO(a),_.A(a,9,c))},g$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(lO(f).Cc(c),lO(f).kj(d),null!=e&&(c=lO(f),_.A(c,6,e)),f.Yj(),a.H.delete(b))},h$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Bb(c);c=b5c(c);if(1==e||2==c)e=_.oN(_.aUc,c),d=lO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.xUc.has(e):null,g$c(a,b,1,e,d)}},i$c=function(a,b,c){var d=a.O.Bb(c);d=_.oN(_.$Tc,d||22);var e=b5c(c);e=_.oN(_.aUc,
e);g$c(a,b,d,e,"undefined"!=typeof _.sN&&c instanceof _.sN||"undefined"!=typeof _.uN&&c instanceof _.uN||"undefined"!=typeof _.vN&&c instanceof _.vN?c.o0:null)},SO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(lO(d).Cc(c),d.Yj(),a.H.delete(b))},TO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(TO,_.gi);var j$c=[2,4],UO=function(a){_.P(this,a,-1,j$c,null)};_.L(UO,_.K);UO.prototype.Bb=function(){return _.C(this,1)};UO.prototype.Cc=function(a){return _.A(this,1,a)};
UO.prototype.$j=function(){return _.C(this,3)};var k$c=[4,9],l$c=function(a){_.P(this,a,-1,k$c,null)};_.L(l$c,_.K);_.g=l$c.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.gWa=function(){return _.C(this,2)};_.g.PMa=function(){return _.C(this,3)};_.g.dtb=function(){return _.ck(this,_.FL,4)};var m$c={R6b:0,t1b:1,w1b:2,u1b:4,f_b:5,sXb:6,m_b:7,J1b:8},n$c=function(a){_.P(this,a,-1,null,null)};_.L(n$c,_.K);n$c.prototype.getUrl=function(){return _.C(this,1)};
var VO=function(a){_.P(this,a,-1,null,null)};_.L(VO,_.K);var o$c=function(a,b){return _.A(a,1,b)};VO.prototype.getName=function(){return _.C(this,2)};VO.prototype.jd=function(a){return _.A(this,2,a)};VO.prototype.getEmail=function(){return _.C(this,3)};var p$c=function(a,b){return _.A(a,3,b)};VO.prototype.Dp=function(){return _.Q(this,3)};var q$c=[1],r$c=function(a){_.P(this,a,-1,q$c,null)};_.L(r$c,_.K);var s$c=function(a,b){return _.Cb(a,1,b)},t$c=function(a){_.P(this,a,-1,null,null)};_.L(t$c,_.K);
_.g=t$c.prototype;_.g.Ic=function(){return _.C(this,1)};_.g.Bb=function(){return _.C(this,2)};_.g.Cc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.E(this,_.mc,3)};_.g.Ue=function(a){return _.x(this,3,a)};_.g.Jn=function(){return _.Q(this,3)};var u$c=[2],WO=function(a){_.P(this,a,-1,u$c,null)};_.L(WO,_.K);WO.prototype.Bb=function(){return _.C(this,1)};WO.prototype.Cc=function(a){return _.A(this,1,a)};WO.prototype.nl=function(){return _.ck(this,_.KF,2)};
var v$c=function(a,b){return _.Cb(a,2,b)};WO.prototype.$j=function(){return _.C(this,3)};var w$c=[1],x$c=function(a){_.P(this,a,-1,w$c,null)};_.L(x$c,_.K);var y$c=function(a,b){return _.Pj(a,1,b)},z$c=function(a,b){this.O=a|0;this.H=b|0};z$c.prototype.equals=function(a){return this===a?!0:a instanceof z$c?this.O===a.O&&this.H===a.H:!1};z$c.prototype.Hc=function(){return 31*this.O+17*this.H|0};
var A$c=function(a,b){return new z$c(a,b)},B$c=function(a,b){b=~b;a?a=~a+1:b+=1;return A$c(a,b)},C$c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?B$c:A$c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},D$c=function(){this.H=this.W=this.O=this.V=null},E$c=function(a,b,c){this.id=a;this.O=b;this.H=c},F$c=function(a,b){return new E$c((a?a:b).getId(),a,b)},XO=function(a){return new E$c(a.getId(),null,a)},G$c=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},YO=function(a,b,c){if(a.started)throw Error("bf");c={Ko: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)}},ZO=function(a,b){if(!a.started)throw Error("cf");if(!a.enabled)throw Error("df`"+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.Ko.delete(b);if(0===e.Ko.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.VL(f):null,f;}}}};G$c.prototype.H=function(a){return this.V.has(a)};G$c.prototype.start=function(){this.started=!0};G$c.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var H$c=function(){_.si.call(this);this.H=Date.now()};_.L(H$c,_.si);H$c.prototype.sF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var I$c=function(a,b){this.zu=a;this.Ew=b;this.TN=!0;this.w8=!1;this.Re=0},$O=function(a){a.TN=!1;a.HJ()};_.g=I$c.prototype;
_.g.ola=function(a,b){if(5===this.IE(a))throw Error("ef");for(var c=[],d=_.m(this.my()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.Ld=function(){return this.my().length};_.g.tk=function(a){var b=this.ola(a,void 0);b=P1c(b);var c=new _.KA;c.Vw(b);c.Cc(this.XN(a)?6:1);return c};_.g.update=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(!b&&!c)return!1;b&&this.yJ(a.O);c&&this.IR(a.H);return!0};
_.g.IE=function(a){return this.TN&&this.w8?i9c(a)?1:5:5};_.g.pX=function(){this.w8=!0};_.g.Gs=function(a){return!!a&&this.TN};_.g.kj=function(a){this.Re=a};_.g.We=function(){return this.Re};var aP=function(a,b,c,d,e,f){f=void 0===f?"":f;I$c.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Od=[];this.O={};this.request=OO(c,d,!0);this.H=!e;J$c(this,e);this.V=function(k,l){return h.Ew.compare(h.request,k,l)}};_.L(aP,I$c);_.g=aP.prototype;_.g.yd=function(){return this.request};
_.g.IR=function(a){var b=this.O[a.getId()];b&&this.yJ(b);L0c(this.Od,a,this.V);this.O[a.getId()]=a;a.count++;this.Od.length>this.request.Li()&&(this.yJ(_.ha(this.Od)),this.H=!1)};_.g.yJ=function(a){var b=this.Od,c=_.Ga(b,a,this.V);0<=c&&_.ta(b,c);_.Xa(this.O,a.getId());a.count--};_.g.HJ=function(){this.Od.forEach(function(a){a.count--});this.Od=[];this.O={}};_.g.my=function(){return this.Od};
_.g.IE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=V0c(b,a,_.ZUc);return b?this.H?1:6:5};_.g.ola=function(a,b){if(5===this.IE(a))throw Error("ef");b=b?Math.min(b,this.Od.length):this.Od.length;return _.Aa(this.Od,0,b)};_.g.Gs=function(a){if(!I$c.prototype.Gs.call(this,a)||!NO(this.zu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.ha(this.Od);return!!b&&0>=this.V(a,b)};_.g.XN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.ql=function(a,b){var c=this,d=_.ha(this.Od);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.yJ(d),J$c(this,_.ha(a))):this.H=!0);_.Ka(a,function(e){c.update(XO(e))})};var J$c=function(a,b){b&&NO(a.zu,a.request,b.getItem())&&a.IR(b)};aP.prototype.ty=function(){return this.nextPageToken};var bP=function(a,b){I$c.call(this,a,b);this.Od=new Map};_.L(bP,I$c);bP.prototype.IR=function(a){this.Od.set(a.getId(),a);a.count++};
bP.prototype.yJ=function(a){this.Od.delete(a.getId());a.count--};bP.prototype.HJ=function(){for(var a=_.m(this.Od.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Od=new Map};bP.prototype.my=function(){return Array.from(this.Od.values())};var K$c=function(a,b){bP.call(this,a,b);this.pX()};_.L(K$c,bP);_.g=K$c.prototype;
_.g.IE=function(a){var b=this,c=bP.prototype.IE.call(this,a);if(5===c)return c;if(0<_.Pd(a,33).length)return 5;a=_.Dl(a);return 0<a.length?a.every(function(d){return(d=b.Od.get(d.Xa()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.Gs=function(a){return bP.prototype.Gs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.ola=function(a,b){for(var c=[],d=_.m(this.my()),e=d.next();!e.done;e=d.next())e=e.value,NO(this.zu,a,e.getItem())&&c.push(e);this.Ew.sort(a,c,b);return c};_.g.yd=function(){return new _.bf};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.XN=function(){return!1};var cP=function(a,b,c,d){bP.call(this,a,b);var e=this;this.H=d;YO(c,["aU7Ts","BNEDtc"],function(){return e.pX()})};_.L(cP,bP);cP.prototype.IE=function(a){var b=this,c=bP.prototype.IE.call(this,a);if(5==c)return c;if(0<_.Pd(a,33).length)return 5;a=_.Dl(a);return 0<a.length&&!a.every(function(d){d=b.Od.get(d.Xa());return null!=d&&!d.getItem().Bc()&&d1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
cP.prototype.Gs=function(a){return bP.prototype.Gs.call(this,a)&&L$c(this,a.getItem())};var L$c=function(a,b){if(_.R(b,31)||!a.w8)return!0;var c=a.H();return b.mk().some(function(d){var e=a.Od.get(d);return d==c||null!=e&&d1c(e.getItem())})};cP.prototype.pX=function(){bP.prototype.pX.call(this);for(var a=_.m(this.Od),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;L$c(this,c.getItem())||(c.count--,this.Od.delete(b))}};cP.prototype.yd=function(){return new _.bf};
cP.prototype.getType=function(){return"SubscribedCorpusCache"};cP.prototype.XN=function(){return!1};var M$c=/^[\x00-\x7F]*$/,N$c=function(){this.rootId=""};N$c.prototype.Iu=function(a){this.rootId=a||""};
var i9c=function(a){return O$c(a)&&0==_.Pd(a,40).length&&void 0==_.C(a,41)},O$c=function(a){var b=!0;_.ck(a,_.df,13).forEach(function(d){"me"!=d.Xa()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.ck(a,_.xl,5).length&&0==_.ck(a,_.df,14).length&&0==_.ck(a,_.df,15).length&&!_.Q(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.ck(a,_.rl,35).length&&0==_.ck(a,_.rl,38).length&&c&&b&&0==_.Pd(a,39).length&&!_.C(a,42)&&0==_.ck(a,_.ql,44).length&&!_.sM(a)&&!_.tM(a)&&!_.uM(a)&&0==_.ck(a,_.sl,57).length&&P$c(a)&&
!_.E(a,_.roa,59)&&null==_.R(a,60)&&0==_.ck(a,_.df,68).length&&0==_.ck(a,_.df,67).length&&null==_.R(a,69)},P$c=function(a){return _.ck(a,_.yl,4).every(function(b){b=b.Xa();return!b||!b.includes("*")&&M$c.test(b)})};N$c.prototype.q9=function(a,b){var c=this;return b.filter(function(d){return NO(c,a,d)})};
var NO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!MO(c);if(d){d=!0;var e=_.ck(b,_.yl,4);if(P$c(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Xa()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Xa().toLowerCase();if(2==_.C(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.nd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.gg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Ng(q)+"($|[^\\w])|(^|[ ])"+_.Ng(q)):new RegExp(_.Ng(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Cl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Xa()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Of())&&_.C(p,3)||""),p=_.S(h,2,!1),r=h.Xa(),_.PM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Hj(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=_.ck(b,_.vl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Iq(),d=d&&Q$c(k,f);if(d)for(d=!0,e=_.ck(b,_.vl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.jz(),d=d&&Q$c(k,f);d&&(d=b.Sh(),e=(e=_.ZM(b))&&(2==e||3==e),d=null==d||d==!!c.Sh()&&(!d||1==c.wp()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.WA());d&&(d=null==b.Fm()||b.Fm()==!!c.Fm());if(d)a:{d=_.Dl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Xa()&&(f="root"==e.Xa()&&a.rootId||e.Xa(),f=c.mk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.ck(b,_.df,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Xa()&&(e=1==c.wp(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.xy():!0));a&&(a=_.R(b,17),d=(d=_.ZM(b))&&(2==d||3==d),a=null==a||a==!!c.WI()&&(!a||1==c.wp()||!!d));a&&(a=m1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Uk(a));a&&(a=!0);if(a=a&&R$c(b,c)&&S$c(b,c))a=_.Pd(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&T$c(b,c))_.C(b,41)?(a=_.E(c,_.TM,86),a=null!=a&&
_.C(b,41)==_.C(a,3)):a=!0;if(a=a&&U$c(b,c))a=_.ZM(b),1==a?(a=_.R(c,31),a=!!_.Dl(b).length||!!_.ck(b,_.rl,35).length||1==_.R(b,18)||_.sM(b)||_.tM(b)||_.uM(b)||!!b.Xp()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.sM(b)?!!_.Zk(c)&&!c.Sh():!0);a&&(a=_.tM(b)?!!_.$k(c).length&&!c.Sh():!0);a&&(a=_.uM(b)?!!_.al(c).length&&!c.Sh():!0);a&&(a=_.Q(b,50)?_.S(b,50,!1)?_.Q(c,101)&&0!==_.C(c,101):!_.Q(c,101):!0);a&&(a=b.Xp(),a=!a||_.Pd(c,120).includes(a));a&&(c=_.E(c,_.RM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.C(c,
1),a=_.R(b,65)==c));return a},Q$c=function(a,b){if(null!=_.C(b,2))switch(_.C(b,1)){case 1:return a<=_.C(b,2);case 2:return a<_.C(b,2);case 3:return a==_.C(b,2);case 4:return a>_.C(b,2);case 5:return a>=_.C(b,2);default:return!1}return!0},R$c=function(a,b){var c=_.cb(_.Pd(b,56));a=_.ck(a,_.YM,25);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},S$c=function(a,b){if(0==a.sB().length)return!0;var c=_.cb(b.sB().map(function(d){return _.C(d,1)}));a=_.cb(a.sB().map(function(d){return _.C(d,
1)}));return _.Pa(a,function(d,e){return c[e]})},T$c=function(a,b){var c=_.cb(_.Pd(b,50));a=_.ck(a,_.wl,37);return 0==a.length?!0:a.every(function(d){return c[d.Xa()]})},U$c=function(a,b){if(_.Pd(a,40).length){if(b=_.E(b,_.TM,86)){var c=_.cb(_.Pd(b,2));return _.Pd(a,40).some(function(d){return c[d]})}return!1}return!0},dP=function(a,b,c,d){d=void 0===d?5E3:d;bP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(dP,bP);_.g=dP.prototype;
_.g.IE=function(a){var b=this,c=bP.prototype.IE.call(this,a);if(5==c)return c;c=_.Dl(a);var d=c.every(function(e){var f=e.Xa();return(null!=b.Od.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Pd(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.Gs=function(a){return bP.prototype.Gs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!MO(a.getItem())};_.g.XN=function(){return!1};_.g.yd=function(){var a=new _.bf;_.Fl(a,[this.teamDriveId]);_.Gl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var V$c=function(a){this.ha=a;this.V=[];this.W=this.H=null;this.O=[];a=new _.bf;_.A(a,48,!0);var b=new _.ad;_.bd(b,11);_.cd(b,2);_.cf(a,b);this.ka=OO(this.ha,a,!0)};V$c.prototype.add=function(a){a instanceof cP?this.H=a:a instanceof K$c?this.W=a:a instanceof aP?this.V.push(a):a instanceof dP&&this.O.push(a)};
V$c.prototype.remove=function(a){var b=this;if(a instanceof cP)this.H&&($O(this.H),this.H=null);else if(a instanceof K$c)this.W&&($O(this.W),this.W=null);else if(a instanceof aP){var c=_.ja(this.V,function(d){return b.ha.equals(d.yd(),a.yd())});0<=c&&($O(this.V[c]),_.ta(this.V,c))}else a instanceof dP&&(c=_.ja(this.O,function(d){return b.ha.equals(d.yd(),a.yd())}),0<=c&&($O(this.O[c]),_.ta(this.O,c)))};
var W$c=function(a){var b=[];a.H&&b.push(a.H);a.W&&b.push(a.W);_.za(b,_.ya(a.V));_.za(b,_.ya(a.O));return b},X$c=function(a,b){b=void 0===b?!1:b;return a.V.filter(function(c){return a.H&&b?(c=c.yd().clone(),_.Qj(c,32),_.Sj(c,26),!_.ik(a.ka,c)):!0})};V$c.prototype.lW=function(){return _.ya(this.O)};
var Y$c=function(a,b){return _.dg(a.O,function(c){return c.Bc()===b})},Z$c=function(a,b){return X$c(a).find(function(c){return a.ha.equals(c.yd(),OO(a.ha,b,!0))})},$$c=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L($$c,_.gi);$$c.prototype.getError=function(){return this.error};$$c.prototype.H=function(){return this.ids};var aad=function(a){_.gi.call(this,"Jb");this.people=a};_.L(aad,_.gi);aad.prototype.getPeople=function(){return this.people};
var bad=function(a){_.gi.call(this,"Kb");this.people=a};_.L(bad,_.gi);bad.prototype.getPeople=function(){return this.people};var dad=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Re=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);cad(this)};dad.prototype.We=function(){return this.Re};
var ead=function(a){return 0===a.Re?1:2===a.Re||(1===a.Re||4===a.Re)&&(a.person.Dp()||a.O)?3:2},fad=function(a,b,c){if(_.C(b,1)!==_.C(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=ead(a),e=a.We();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=p$c(b.clone(),a.getEmail(b)),e=!_.ik(a.person,b),a.person=b,a.Re=c,cad(a),e||d!==ead(a);if(4===c)return a.Re=c,cad(a),d!==ead(a);c=b;return!a.person.getEmail()&&c.getEmail()?(p$c(a.person,a.getEmail(b)),!0):!1};
dad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var cad=function(a){1===a.Re?(a.W=Date.now(),a.V=null):4===a.Re&&(a.V=Date.now())},had=function(a,b,c,d){_.si.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.mL(function(){return gad(e)},100,this)};_.L(had,_.si);had.prototype.Yg=function(a){a&&_.BL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ye())};
var gad=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)}})};had.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){return c.Ve(S4c(new _.AM,a))}).then(function(c){c=_.ck(c,VO,1);b.dispatchEvent(new aad(c))},function(c){c=_.UA(c);b.dispatchEvent(new $$c(a,c))})};had.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var eP=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.H=new Map;this.W=new Set;this.ha=new Map;this.Mc=new _.He(this);this.Ma(this.Mc);this.va=b;this.V=d;this.oa=e;this.O=!_.S(a,90,!1);this.ma=_.Lj(_.E(a,V3c,85)||new V3c,1,864E5);this.ka=new had(a,b,c,f);this.Ba=new _.vD(function(){var k,l=null===(k=h.oa)||void 0===k?void 0:c5c(k,106015);if(l){k=_.E(_.nN(l),B4c,11);if(!k){k=new B4c;var p=_.nN(l);_.x(p,11,k)}k=_.A(k,1,h.H.size);_.A(k,2,h.W.size);l.Yj()}},500,this);this.Mc.listen(this.ka,"Jb",
function(k){k=k.getPeople();iad(h,k,1);h.Ba.ye()});this.Mc.listen(this.ka,"Ib",function(k){jad(h,k)})};_.L(eP,_.si);eP.prototype.get=function(a){var b=this.O?_.Rg():"";this.O&&this.V.create(b,S4c(new _.AM,[a]));var c=this.H.get(a);if(c)return kad(this,c)?(this.O&&SO(this.V,b,this.zD(c)?6:5),lad(this,a)):this.O&&g$c(this.V,b,1,_.oN(_.aUc,10),null),c;this.O&&SO(this.V,b,5);return null};
var lad=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;a.ka.Yg(b);var c=new _.tn;a.ha.set(b,c);return c.promise};eP.prototype.Tb=function(a){var b=this,c=this.O?_.Rg():"";this.O&&this.V.create(c,S4c(new _.AM,[a]));return mad(this,a)?(this.O&&g$c(this.V,c,1,_.oN(_.aUc,10),null),Promise.resolve(this.H.get(a))):lad(this,a).then(function(){b.O&&(mad(b,a)?g$c(b.V,c,1,_.oN(_.aUc,1),null):SO(b.V,c,3));return b.H.get(a)})};eP.prototype.wc=function(){return 0===this.H.size};
eP.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.W.clear()};
var nad=function(a){return[].concat(_.nd(a.H.values())).filter(function(b){return 3===ead(b)&&4!==b.We()}).map(function(b){return b.person.clone()})},oad=function(a,b){return(a=a.H.get(b))?[].concat(_.nd(a.H)):[]},pad=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.nd(e.H)).length&&(a.H.delete(d),a.W.delete(d)))}},iad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(m$c)[c]+".")),qad(a,b,c))},sad=function(a,b,c,d){0!==b.length&&rad(a,b,c,void 0===d?0:d)},mad=function(a,b){b=a.H.get(b);return!(!b||3!==ead(b)||kad(a,b))},rad=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.C(f,1),k=a.H.get(h);if(k)fad(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&&lad(k,_.C(f,1));l=new dad(f,p,l);k.H.set(_.C(f,1),l)}e&&1===d&&(f.getName()?a.W.delete(h):a.W.add(h))}return e};
eP.prototype.zD=function(a){return 1===a.We()&&Date.now()-Number(a.W)>this.ma};var kad=function(a,b){switch(b.We()){case 1:return Date.now()-Number(b.W)>a.ma;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};eP.prototype.log=function(a,b){this.va.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var jad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():o$c(new VO,c)});qad(a,b,4)},qad=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.C(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),a.ha.delete(e))}rad(a,b,void 0,c)&&a.dispatchEvent(new bad(b))},tad=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.Mc=new _.He(this);this.Ma(this.Mc);this.H=new eP(a,b,c,d,e,f);this.O=_.LL(a)||new _.mUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(tad,_.si);tad.prototype.wP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=uad(this,[c]).map(function(e){return vad(b,e)});sad(this.H,d,a.H.getId(),this.We(_.C(c,82)))}a.O&&pad(this.H,a.id,wad(this,a))};tad.prototype.We=function(a){return _.GUc.get(a)||0};
var wad=function(a,b){var c=xad(a,b.O),d=xad(a,b.H);return c.filter(function(e){return!d.includes(e)})},xad=function(a,b){return b?yad(a,[b.getItem()]):[]},Aad=function(a,b){b=b.getUser();sad(a.H,[vad(a,b)],"ACCOUNT");zad(a,b)},Cad=function(a,b){var c=_.ck(b,_.eN,2).map(function(d){var e=_.E(d,_.Dk,9,1);return a.H.Tb(_.RF(e)).then(function(){return void Bad(a,[e])})});return Promise.all(c).then(function(){return b})},Bad=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.RF(c)&&
zad(a,c)},Dad=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.RF(f)&&(d.add(_.RF(f)),sad(a.H,[vad(a,f)],c));return Promise.all([].concat(_.nd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return Bad(a,b)})},Fad=function(a,b){return yad(a,[b]).some(function(c){return!Ead(a,c)})},Ead=function(a,b){return mad(a.H,b)},yad=function(a,b){var c=new Set;a=uad(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.RF(b.value))&&c.add(b);return[].concat(_.nd(c))},
uad=function(a,b){return b.map(function(c){var d=c.$w();d=d?[].concat(_.nd(d.tR()),_.nd(_.ck(d,_.Dk,3))):[];var e=c.Of();e=(e=e&&_.Td(e))?uad(a,[e]):[];return[].concat(_.nd(_.Xk(c)),[c.Bm(),c.Uv(),c.Tq(),c.rD()],_.nd(d),_.nd(e))}).flat().filter(function(c){return c&&!!_.RF(c)})};tad.prototype.getItems=function(a){return oad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Gad=function(a,b){return b.map(function(c){c=c.clone();var d=uad(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Qj(e,3),_.Qj(e,8),_.Qj(e,5);return c})},Iad=function(a,b){return b.some(function(c){return Had(a,c)})},Had=function(a,b){return uad(a,[b]).some(function(c){return _.Q(c,3)||c.Dp()||_.Q(c,5)})},zad=function(a,b){var c=a.H.get(_.RF(b));if(c){a=c.person.clone();var d=_.MVc(b.jd(a.getName()),a.getEmail());c=ead(c);_.A(d,16,c);(a=_.E(a,n$c,4))&&b.uo(a.getUrl())}},vad=function(a,
b){var c=_.RF(b);c=p$c(o$c(new VO,c).jd(b.getName()),b.getEmail());var d=new n$c;var e=_.C(b,5);d=_.A(d,1,e);c=_.x(c,4,d);_.S(a.O,9,!1)&&(_.Qj(b,3),_.Qj(b,8),_.Qj(b,5));return c},Jad=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};Jad.prototype.Uf=function(){return this.suggestionSessionId};Jad.prototype.MAa=function(){return this.O};Jad.prototype.wc=function(){return this.H};
var Kad=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},Lad=function(a,b){a=Kad(a);b=Kad(b);return!(!a||!b||a!==b)},Mad=function(a){return a.Ic()+"_"+Kad(a.getName())},Nad=function(a,b){var c=_.Pd(a,1).map(function(d,e){return b[Number(e)].value.d4a.promise});return Promise.allSettled(c).then(function(d){return _.Pd(a,1).map(function(e,f){e=e.toString();var h=new t$c;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Cc(1):(e.Cc(3),e.Ue(f.reason.Qg));return e})})},fP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.Gy=new Set;this.status=6;this.V=new Map;this.Re=0};_.L(fP,_.N);_.g=fP.prototype;_.g.Zh=function(a){var b=this;this.Gy.add(a);return this.resize().then(function(){return b.HO(a)})};_.g.ik=function(a){this.Gy.delete(a);0===this.Gy.size&&this.dispose()};_.g.We=function(){return this.Re};_.g.kj=function(a){this.Re=a};
_.g.yD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Nu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.WX():_.Ph([])};_.g.WX=function(){for(var a=[],b=_.m(this.Gy.values()),c=b.next();!c.done;c=b.next())a.push(this.HO(c.value));return _.Rh(a)};
_.g.VX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Dra:c.Dra},e=d.next())c.Dra=e.value,b.push(this.O.then(function(f){return function(h){return void h.VX(f.Dra,a)}}(c)));return _.Rh(b)};_.g.oA=function(){for(var a=this,b=[],c={},d=_.m(this.Gy.values()),e=d.next();!e.done;c={Era:c.Era},e=d.next())c.Era=e.value,b.push(this.O.then(function(f){return function(h){return void h.oA(f.Era)}}(c)));return _.Rh(b).then(function(){a.kj(0===a.We()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Gy.forEach(function(d){d=b.ala(d);c=Math.max(c,d.Li?d.Li()||0:0)});a.Xfa(c)})};var Oad=function(a,b){return b?a.V.get(a.Gka(b))||null:null};_.g=fP.prototype;_.g.kI=function(a,b){var c=Oad(this,a);b=T8c(c,b);this.V.set(this.Gka(a),b)};_.g.Gka=function(a){return a};_.g.QMa=function(){return[]};_.g.HO=function(a){var b=this;return this.O.then(function(c){return void c.HO(a,b.tk())})};_.g.removeItem=function(){};
var gP=function(a,b){_.si.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(gP,_.si);var Pad=function(a){return!a.O||""!==a.pageToken};gP.prototype.Yg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Pad(this)?Qad(this):_.Ph()};
var Qad=function(a){a.O=!0;a.H=!0;var b=a.Iia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Rad(a,c)},function(c){return a.handleError(c)})},Rad=function(a,b){a.H=!1;a.pageToken=a.Vka(b);b=a.ika(b);b.forEach(function(c){return a.data.push(c)});a.y6(b);return a.data.length<a.limit&&Pad(a)?_.Rh([_.Ph(b),Qad(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
gP.prototype.handleError=function(a){this.H=!1;a=_.JL(a);var b=new TO(a);this.RMa(b);this.dispatchEvent(b);return _.Qh(a)};gP.prototype.y6=function(){};gP.prototype.RMa=function(){};var Sad=function(a,b,c){gP.call(this,c,function(d){return a.then(function(e){return e.Ve(d)}).Sg(function(e){return void _.WL(e)})});this.V=b};_.L(Sad,gP);_.g=Sad.prototype;_.g.Iia=function(a,b,c){a=a.clone();a.wi(b);return new _.lVc(a,c)};_.g.Vka=function(a){return a.pageToken||""};_.g.ika=function(a){return a.response.O()};
_.g.y6=function(a){this.V.yD(a,!1,1)};_.g.RMa=function(a){this.V.uB(this.request,a)};var Tad=function(a,b,c,d){fP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Tad,fP);_.g=Tad.prototype;_.g.refresh=function(){this.oA();this.H=new Sad(this.ha,this.W,this.request);return this.H.Yg(this.request.Li()||100)};_.g.Qq=function(a){return this.data.find(function(b){return Lad(b.getName(),a)})};
_.g.Xfa=function(a){this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};_.g.tk=function(){var a=this,b=C6c((new vO).Cc(this.status),this.data.filter(function(c){return a.W.ADa(c)}).map(function(c){return c.clone()}));return new _.tN(b,void 0,void 0,this.We())};_.g.yD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Ic()===d.request.Ic()});return fP.prototype.yD.call(this,a,b,c)};
_.g.Nu=function(a,b){b=void 0===b?1:b;if(!k1c(Oad(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return Lad(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.kI(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return Lad(b.getName(),a)})&&(this.V.delete(this.Gka(a)),this.WX())};_.g.Gka=function(a){return Kad(a)};_.g.kI=function(a,b){this.Qq(a)&&fP.prototype.kI.call(this,a,b)};
_.g.QMa=function(a){var b=this;return a instanceof _.GM&&a.Ic()===this.request.Ic()?a.UV().map(function(c){return b.Qq(c.en())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var hP=function(){this.H=new Map};hP.prototype.Zh=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Kia(b),this.H.set(c,d));d.Zh(a);return e};var Uad=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Axa(c),a.H.set(d,e));e.Zh(b);return f};
hP.prototype.ik=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.ik(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Vad=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.ik(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Wad=function(a,b){return a.H.get(b)};hP.prototype.yD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.ADa(f)});this.H.forEach(function(f){f.yD(e,b,c)})};hP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Xad=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.QMa(b)});return[].concat.apply([],_.nd(a))};hP.prototype.kI=function(a,b){this.H.forEach(function(c){c.kI(a,b)})};hP.prototype.ADa=function(){return!0};hP.prototype.uB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.VX(b)};hP.prototype.d3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Kia(b),f.kj(c),this.H.set(e,f),this.yD(a,d))};var Yad=function(){this.V=new Set;this.O=0;this.H=[]},Zad=function(a,b){a.V.add(b)};
Yad.prototype.W=function(a){this.V.delete(a)};var $ad=function(a,b){var c;if(c=b instanceof _.Wk)c=b.Vv(),c=!!(b.Sh()&&c&&c<=Math.max.apply(Math,_.nd([a.O].concat(_.nd(a.H)))));if(c)return!0;b=b instanceof _.Wk?b.getId():b;return a.V.has(b)},abd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Yad.prototype.q9=function(a){var b=this;return a.filter(function(c){return!$ad(b,c)})};var bbd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Yad};_.L(bbd,hP);
var cbd=function(a,b){Zad(a.O,Mad(b));(a=Wad(a,b.Ic()))&&a.WX()};_.g=bbd.prototype;_.g.getKey=function(a){return a.Ic()};_.g.Kia=function(a){return new Tad(this.V,this.W,this,a)};_.g.Axa=function(a){return new Tad(this.V,this.W,this,a)};_.g.Zo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Wad(this,b.getId()))&&b.refresh()};_.g.ADa=function(a){return!$ad(this.O,Mad(a))};
var dbd=function(a,b){this.O=a;this.H=b},ebd=function(a,b){b=_.bUb(b);var c=new Sad(a.O,a.H,b);new Promise(function(d,e){return c.Yg(100).then(d,e)})},fbd=function(){this.Od={}},iP=function(a,b){gbd(a,"subscribed");b&&gbd(a,b);return a.Od[b||"subscribed"].ne.promise},gbd=function(a,b){a.Od[b]||(a.Od[b]={count:0,PR:[],h2a:[],ne:_.Sh()});a.Od[b].count++},ibd=function(a,b){b&&!hbd(a,b)||hbd(a,"subscribed")},hbd=function(a,b){if(!a.Od[b])return!1;a.Od[b].count--;0===a.Od[b].count&&(a.Od[b].ne.resolve({items:a.Od[b].PR,
pLb:a.Od[b].h2a}),_.Xa(a.Od,b));return!0};fbd.prototype.Zo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Ic()&&c.Od[f]&&c.Od[f].h2a.push(e);c.Od[d]&&c.Od[d].PR.push(e)})};var jbd=function(a,b,c){gP.call(this,a,c);this.V=b};_.L(jbd,gP);jbd.prototype.Iia=function(a,b){return a.clone().wi(b)};jbd.prototype.Vka=function(){return""};jbd.prototype.ika=function(a){return[a]};jbd.prototype.y6=function(a){this.V(a)};
var kbd=function(a,b,c,d){fP.call(this,a,d.clone());this.ha=b;this.H=this.hT=null;this.W=c};_.L(kbd,fP);kbd.prototype.refresh=function(){var a=this;this.oA();this.H=new jbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ve(b)})});return this.H.Yg(this.request.Li()||0)};kbd.prototype.Xfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};
kbd.prototype.tk=function(){if(this.hT)return this.hT;var a=new GO;a.Cc(this.status);return a};kbd.prototype.Nu=function(a){this.hT=a;return!0};var lbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(lbd,hP);_.g=lbd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Kia=function(a){var b=this;return new kbd(this.O,this.W,function(c){b.yD(c,!1)},a)};_.g.Axa=function(){throw Error("gf");};
_.g.d3=function(a,b,c,d){var e=a[0].nl();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.qq()}).join(", "));hP.prototype.d3.call(this,a,b,c,d)};var jP=function(a,b,c,d){_.si.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.ne=null;this.O=new Set};_.L(jP,_.si);
jP.prototype.Yg=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.Sh();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Ve(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.ne.promise};jP.prototype.va=function(a,b){this.V(b);mbd(this,a)};var mbd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.ne.resolve()):a.dispatchEvent("Cb")};
jP.prototype.handleError=function(a,b){b=_.UA(b);var c=b.Qg;5===c.nt()||4===c.Fk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),mbd(this,a)):(a=new TO(c,_.Lj(this.oa.Yf(),1,1)),this.dispatchEvent(a),this.ne.reject(b))};var nbd=function(a){var b=new _.KF;b.Pb(a);return b},obd=function(a,b,c,d,e){jP.call(this,a.clone(),c,d,e);this.H=b};_.L(obd,jP);
obd.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=_.jTb(a.clone(),[c]);b.set(c,d)});return b};obd.prototype.V=function(a){var b=[];a.gU().forEach(function(c){b.push(c)});this.H(b,!0)};obd.prototype.ha=function(){this.H([],!1)};obd.prototype.ka=function(a){this.H([nbd(a)],!0)};var pbd=function(a,b,c,d,e,f){fP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Yk={};this.H=null};_.L(pbd,fP);
pbd.prototype.refresh=function(){this.H=new obd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Yg()};pbd.prototype.Xfa=function(){this.H||this.refresh()};pbd.prototype.tk=function(){var a=new _.rN;a.Cc(this.status);_.Ma(this.Yk,function(b,c){a.gU().set(c,b||new _.KF)});a.kj(this.We());return a};pbd.prototype.Nu=function(a){var b=a.getId();if(_.ik(a,nbd(a.getId()))){if(this.Yk[b])return delete this.Yk[b],!0}else if(0<=this.request.jn().indexOf(b))return this.Yk[b]=a,!0;return!1};
var qbd=function(a,b){a=a.getState();return null==a||b.getState()==a},rbd=function(a,b,c){gP.call(this,a,c);this.V=b};_.L(rbd,gP);rbd.prototype.Iia=function(a,b,c){a=a.clone();a.wi(b);return new _.yVc(a,c)};rbd.prototype.Vka=function(a){return a.pageToken||""};rbd.prototype.ika=function(a){return a.response.nl()};rbd.prototype.y6=function(a){this.V(a)};var sbd=function(a){this.H=_.DRc(a,{numeric:!0})};
sbd.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};sbd.prototype.V=function(a,b,c){var d=_.C(b,4),e=_.C(c,4),f;d!==e?f=_.Fa(d,e)*(a?1:-1):f=_.Fa(b.getId(),c.getId())*(a?1:-1);return f};var tbd=function(a,b,c,d,e){fP.call(this,a,e.clone());this.ha=b;this.Yk=[];this.H=null;this.W=d;a=new sbd(c);b=(c=this.request.yw())?c.getType():0;c=c?c.Bf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(tbd,fP);tbd.prototype.refresh=function(){var a=this;this.oA();this.H=new rbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Ve(b)})});return this.H.Yg(this.request.Li()||0)};tbd.prototype.Xfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Yg(a):this.refresh())};tbd.prototype.tk=function(){var a=new WO;a.Cc(this.status);v$c(a,this.Yk.map(function(b){return b.clone()}));return new _.wN(a,void 0,1!==this.status&&Pad(this.H),this.We())};
tbd.prototype.Nu=function(a){var b=_.wa(this.Yk,function(c){return c.getId()===a.getId()});return a&&qbd(this.request,a)&&!_.ik(a,nbd(a.getId()))?L0c(this.Yk,a,this.ka):b};var ubd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(ubd,hP);_.g=ubd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.Kia=function(a){var b=this;return new tbd(this.V,this.ha,iO(_.vL(this.O)),function(c){return void b.yD(c,!1)},a)};_.g.Axa=function(a){var b=this;return new pbd(this.V,this.ha,this.O,this.W,function(c,d){return b.yD(c,d)},a)};_.g.d3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));hP.prototype.d3.call(this,a,b,c,d)};
var vbd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();VN(a)&&(c=(c=a.Of())?_.C(c,3):"");WN(a)&&(a.Ti()&&(c+="+"+String(a.Ti())),a.Hj()&&(c+="+shared"));return _.YSa(c,b?"32":"16")},wbd=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("&")},xbd=function(a,b){var c=_.R(a,44),d=a.Of();if(d){if(1!==_.Vd(d))return null;c=(c=_.Td(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();VN(a)&&(d=c1c(a));
d=[_.F(b,65,"https://lh3.google.com"),"u",_.KL(_.vL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.Q(a,140)&&(c.resourcekey=_.cl(a));return d=wbd(d,c)},ybd=function(a){this.H=a},Abd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=vbd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.sWc(b,R1c(b,a.H));c.includes(19)&&(d=xbd(b,a.H),_.A(b,20,d));zbd(a,b,c);if(VN(b)){if(d=(d=b.Of())&&_.Td(d)){if(c.includes(20)&&c.includes(3)){var e=vbd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.sWc(d,R1c(d,
a.H));c.includes(19)&&(e=xbd(d,a.H),_.A(d,20,e));zbd(a,d,c)}_.wWc(b,!!b.Vx())}},zbd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!WN(b)&&!VN(b)&&!_.Dd(e)&&(!b.r7()||2!==b.wp()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),VN(b)&&(d=c1c(b)),c=new _.aj(_.F(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.KL(_.vL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.Q(b,140)&&_.ij(c,"resourcekey",_.cl(b)),_.A(b,41,c.toString())))}},Bbd=function(a,b){this.Sia="";
this.startTime=b||new Date;this.qea=a;this.laa=N0c(a)};Bbd.prototype.clone=function(){return new Bbd(this.qea,this.startTime)};var Cbd=function(){this.H=null;this.NY=[]},Dbd=function(a){return _.Bb(a.NY,function(b){return _.$a(b)})};Cbd.prototype.BN=function(){return this.H};
Cbd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new D$c;e.V=C$c(d.laa);var f=_.Rg().substring(0,8);d=N0c(f);f=(new c$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).xi(c);this.NY.push(b);e.O=C$c(d);e.H=A$c(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.jk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.kk(d,1,1);var k=d.O;A2c(k,f);A2c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.kk(d,2,1),k=d.O,A2c(k,f),A2c(k,h));f=e.W;null!=f&&(_.kk(d,3,5),A2c(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.kk(d,4,1),h=d.O,A2c(h,f),A2c(h,e));e=_.lk(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var Ebd=function(){this.Cb=[];this.O=this.H=0};Ebd.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Cb,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 Fbd=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Cb,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},Gbd=function(a){this.key=a;this.H=new _.DUc;this.O=new _.BUc(new _.DUc,_.ima(a))};Gbd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.jma(b);c=Hbd(this,a);return b.concat(c,Ibd(this,b,a,!0))};
var Jbd=function(a,b){var c=Ibd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Hbd(a,c);if(b!==a)throw Error("hf");return c},Hbd=function(a,b){a=_.CUc(a.O,_.VUc(b));return _.jma(a)},Ibd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new Ebd;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Cb,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=_.VUc(c.substring(8192*
e,8192*(e+1))),Fbd(b,a),d+=_.jma(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;Fbd(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("jf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=Kbd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=Kbd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=Kbd(d,e++),k=Kbd(d,e++),l=Kbd(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=Kbd(d,e++),k=Kbd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},Kbd=function(a,b){return a[Math.floor(b/8192)][b%8192]},Lbd=function(a,b,c){this.data=a;this.OZa=b;this.H=c;this.isEncrypted=!1};Lbd.prototype.getData=function(){return this.data};
Lbd.prototype.Pm=function(){return this.OZa};var Mbd=function(a,b,c,d){this.O=a;this.H=_.Sh();this.Ep=!1;this.V=_.F(b,7,"");this.W=_.Lj(_.jO(b),6,2E7);this.LG=_.BL(b);this.ha=_.Lj(_.jO(b),12,0);this.ka=c;this.Dd=d||null};Mbd.prototype.initialize=function(){var a=this;this.Ep||(this.Ep=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
Mbd.prototype.bD=function(a){if(a instanceof _.TA)return 0;if(a instanceof UO)return 1;if(a instanceof t5c)return 5;if(a instanceof IO)return 3;if(a instanceof r$c)return 6;throw new _.nc("Unsupported dataShard in getDataType");};var Nbd=function(a){if(0==a)return _.TA;if(1==a)return UO;if(5==a)return t5c;if(3==a)return IO;if(6==a)return r$c;throw new _.nc("Unsupported dataType:"+a+" in getDataTypeCtor");};Mbd.prototype.Bo=function(a){if(a instanceof IO)return a.Bo()};
Mbd.prototype.Pm=function(a){if(a instanceof IO)return a.Gd().length};
var Sbd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.bD(c[0]);c.forEach(function(){});var f=a.Bo(c[0]),h=0;3==e&&Obd(a,c);var k=!!b;return Pbd(a,c).then(function(l){if(k){var p=a.Dd?a.Dd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Pm()},0);var q=Qbd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.Qh(Error("kf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(G4c(F4c(E4c(p.$E(),_.oN(_.gUc,e)),_.oN(_.dUc,f)),!0),
q.then(function(){var r=h;D4c(p.$E(),!0).Gt(r);p.Yj()},function(){var r=h;D4c(p.$E(),!1).Gt(r);p.Yj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Rbd(a.O,l,e,f,k,d)})})},Pbd=function(a,b){return new _.Oh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Zb();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Pm(l);l instanceof IO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new Lbd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.mc;_.HL(k,2);_.TL(k,23);
_.A(k,21,h.message);_.Vp(k);a.ka(k);d(h)}c(f)})},Obd=function(a,b){a.Bo(b[0]);b.forEach(function(){});a.LG||Tbd(b);Ubd(a,b)},kP=function(a,b,c,d,e,f){var h=_.Sh(),k;_.Th(a.H.promise.then(function(){return Vbd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.Wh;if(l[0]&&l[0].b1){if(k=a.Dd?a.Dd.H(106022,f):null)G4c(F4c(E4c(k.$E(),_.oN(_.gUc,c)),_.oN(_.dUc,d)),!0),q.An().then(function(r){var u=k;r=void 0!=r;D4c(u.$E(),r);_.XXc(u)});Wbd(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 (Nbd(c))(JSON.parse(r));q+=a.Pm(r);p.push(r)});3==c&&(a.LG||Xbd(p),Ybd(p));k&&k.$E().Gt(q)}h.resolve(p)}),function(){k&&k.Yj()}).Sg(h.reject,h);return h.promise},Tbd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.ck(a[b],_.Dk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Gd()||[]).forEach(function(h){_.qWc(h,Zbd(_.Xk(h),c,d));_.rWc(h,Zbd([h.Bm()],c,d)[0]);var k=Zbd([h.Uv()],c,d)[0];_.x(h,
47,k);k=Zbd([h.Tq()],c,d)[0];_.x(h,91,k);k=Zbd([h.rD()],c,d)[0];_.x(h,95,k);if(h=h.$w())_.mWc(h,Zbd(h.tR(),c,d)),_.nWc(h,Zbd(_.ck(h,_.Dk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Cb(a[0],2,e)}},Zbd=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)?_.ik(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Dk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},Xbd=function(a){var b=new Map,c=new Map;a[0]&&_.ck(a[0],
_.Dk,2)&&_.ck(a[0],_.Dk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Dk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Gd()||[]).forEach(function(e){_.qWc(e,$bd(_.Xk(e),b,c));_.rWc(e,$bd([e.Bm()],b,c)[0]);var f=$bd([e.Uv()],b,c)[0];_.x(e,47,f);f=$bd([e.Tq()],b,c)[0];_.x(e,91,f);f=$bd([e.rD()],b,c)[0];_.x(e,95,f);if(e=e.$w())_.mWc(e,$bd(e.tR(),b,c)),_.nWc(e,$bd(_.ck(e,_.Dk,3),b,c))});_.Sj(d,2)})},$bd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.ik(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Ubd=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].Gd();e.length>a;){var f=_.Ba(e,a-1,a);f=E8c(new IO,f);d.push(f)}E8c(b[c],e);d.length&&_.tb(_.Ba,b,c+1,0).apply(null,d)}}},Ybd=function(a){for(var b={},c=1;c<a.length;b={Sea:b.Sea},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.Sea=e.Gd();d.forEach(function(f){return function(h){_.za(f.Sea,
h.Gd())}}(b));E8c(e,b.Sea)}},Qbd=function(a,b,c){if(!_.lUc()&&a.V){var d=new Worker(_.zga(_.Vx(a.V)),void 0),e=new _.Wh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Pd(Error(String(k)))},!1);c=y$c(new x$c,c);d.postMessage({command:"encrypt",data:{request:c.Zb(),key:b}});return e}try{a=[];var f=new Gbd(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Zh(a)}catch(k){h=_.ai(k)}return h},Wbd=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(!_.lUc()&&a.V){var f=new Worker(_.zga(_.Vx(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 Gbd(c);for(c=0;c<d.length;c++)a.push(Jbd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},acd=function(a,b,c){return[a.Vz(),
a.clientId,b?"#":lP(a)].join(":")+":"+(c||"")},bcd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};bcd.prototype.getKey=function(){return this.key};bcd.prototype.Xa=function(){return this.value};
var ccd=function(a,b){a=acd(a,b);return h8c(a+"A",a+"z")},dcd=function(a,b){this.H=a;this.O=b},ecd=function(a){return a?new dcd(a.versionKey,a.versionChangeTimestamp):null},fcd=function(a,b){return a+":"+b},gcd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.b1=void 0===e?null:e},hcd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.b1}},icd=function(a,b,c,d){a=lP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.lt(":%02d",c)},jcd=function(a,b,
c,d){c=icd(a,b,void 0===c?0:c,d);a=lP(a)+"_"+b;3===b&&(a+="_"+d);return h8c(c,a+":a")},kcd=function(a){var b=lP(a)+"_";a=lP(a)+"_A";return h8c(b,a)},lcd=function(a){return a?new gcd(a.data,a.index,a.size,a.timestamp,a.e):null},mcd=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};mcd.prototype.Vz=function(){return this.userId};
mcd.prototype.Mg=function(){return _.ya(this.fields)};
var lP=function(a){if(!a.O){var b=new _.nL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.YRc(b.digest())}return a.O},ncd=function(a){return{versionKey:lP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},ocd=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 mcd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:lP(a)!==d&&(a=null);return a},mP=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Dd=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.Oa=a.then(function(f){e.version=f});this.Lb=new _.He(this);this.Ma(this.Lb)};_.L(mP,_.N);mP.prototype.initialize=function(){return pcd(this)};
var pcd=function(a,b){a.V||(a.V=_.Sh(),a.Oa.then(function(){b?(a.va=!1,qcd(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)"),_.PSc("GoogleDriveDs",2,a.Fa.bind(a),a.oa.bind(a)).Sf(a.Ja.bind(a),a.oa.bind(a)),_.wi(2E4).then(a.Ha.bind(a)))},function(c){a.V.reject(new _.nc("Database version error",void 0,_.AL(c)?c:void 0))}));return a.V.promise},qcd=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"))};mP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.NWc(b,c)});_.Ma(_.RL,function(c){var d=_.HUc.get(c);_.MSc(b,c,d?{keyPath:d}:void 0)})};
mP.prototype.oa=function(a){var b;a&&a instanceof _.qL&&"InvalidStateError"==a.getName()&&_.nj.Uw?b=Error("mf"):_.AL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);rcd(this,!1)};mP.prototype.Ja=function(a){this.ka?a.dispose():(qcd(this,a),this.Ma(this.H),this.readOnly||scd(this).Sg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),rcd(this,!0))};
var rcd=function(a,b){if(a.ma){var c=a.ma,d=_.E(_.nN(c),y4c,5);d||(d=new y4c,c=_.nN(c),_.x(c,5,d));d=_.A(d,1,2);c=a.Ci().W;d=_.A(d,2,c);c=a.Ci().ka;d=_.A(d,5,c);b=_.A(d,3,b);b=_.A(b,4,a.Ba);d=a.Ci().ma;_.A(b,6,d);a.ma.Yj();a.ma=null}};mP.prototype.Ha=function(){this.H||this.Jf()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};mP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};mP.prototype.Jf=function(){return this.ka};
var tcd=function(a){return a.ka?a.O:null};mP.prototype.Ci=function(){return this.version};
var nP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.NSc(a,[b],c)}catch(d){return null}},scd=function(a){var b=_.RL.Q_,c=nP(a,b,"readwrite");if(!c)return _.Qh(Error("of"));c.objectStore(b).put(ncd(a.Ci()));return c.wait().then(function(){})},ucd=function(a){if(!a.H)return _.Qh(Error("pf"));if(a.Jf())return _.Qh(Error(a.O));var b=_.RL.Q_,c=nP(a,b,"readwrite");return c?c.objectStore(b).remove(lP(a.Ci())).then():_.Qh(Error("qf"))},vcd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=lcd(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("rf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("sf")),0;var e=d[0].size;if(!e)return b.reject(Error("tf")),0;if(e>d.length)return b.reject(Error("uf`"+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("vf`"+e)),0;if(c&&a<c)return b.reject(Error("wf`"+a+"`"+c)),d.length>e?e:null;if(d.length>e)return b.resolve(d.slice(0,
e)),e;b.resolve(d);return null},Vbd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Qh(Error("xf"));if(a.Jf())return _.Qh(Error(a.O));var e=jcd(a.Ci(),b,0,c),f=_.RL.l6,h=nP(a,f);if(!h)return _.Qh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Sh();e.Sf(function(l){l=vcd(l,k,d);a.readOnly||null==l||wcd(a,b,c,l).Sg(function(){})},k.reject);return k.promise},Rbd=function(a,b,c,d,e,f){if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.Qh(Error("zf"))}else return _.Qh(Error("Af"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:icd(a.Ci(),c,u,d),data:new gcd(r.getData(),u,k,h,e),metadata:r}});var l=_.RL.l6,p=nP(a,l,"readwrite");if(!p)return _.Qh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=xcd(a,c,d,r.metadata,f);q.put(hcd(r.data),r.key).then(function(){u&&(D4c(u.$E(),!0),u.Yj())},function(y){var z=y instanceof _.qL?y.code:_.oSc;u&&a.W&&(y=D4c(u.$E(),!1),z=_.oN(_.hUc,z),_.A(y,2,z),u.Yj())})});return p.wait().then(function(){})},xcd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=F4c(E4c(a.$E(),_.oN(_.gUc,b)),_.oN(_.dUc,c)),f=f.Bo(d.H),f=_.A(b,5,f),G4c(f,d.isEncrypted),void 0!=d.Pm()&&a.$E().Gt(d.Pm());return a}return null},wcd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(3==b&&void 0==c)return _.Qh(Error("Cf"))}else return _.Qh(Error("Df"));b=jcd(a.Ci(),b,d,c);c=_.RL.l6;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},ycd=
function(a){if(!a.H)return _.Qh(Error("Ff"));if(a.Jf())return _.Qh(Error(a.O));var b=kcd(a.Ci()),c=_.RL.l6;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
mP.prototype.getMetadata=function(a){if(this.H){if(this.Jf())return _.Qh(Error(this.O));if(a&&0==a.length)return _.Qh(Error("Hf"))}else return _.Qh(Error("If"));var b=this.Ci(),c=_.RL.v7,d=nP(this,c);if(!d)return _.Qh(Error("Jf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(acd(b,k.global,k.key)).then())});a=_.Rh(f)}else a=_.Rh([e.getAll(ccd(b,!1)).then(),e.getAll(ccd(b,!0)).then()]).then(function(k){return K0c(k[0],k[1])});var h=_.Sh();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]!==lP(b)||p[0]!==b.Vz()||p[1]!==String(b.clientId)?null:new bcd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var zcd=function(a,b){if(a.H){if(a.Jf())return _.Qh(Error(a.O));if(0==b.length)return _.Qh(Error("Kf"))}else return _.Qh(Error("Lf"));var c=_.RL.v7,d=nP(a,c,"readwrite");if(!d)return _.Qh(Error("Mf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Ci();h={k:acd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Rh(f).then(function(){})},Acd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Jf())return _.Qh(Error(a.O))}else return _.Qh(Error("Of"));var c=a.Ci(),
d=_.RL.v7;a=nP(a,d,"readwrite");if(!a)return _.Qh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(ccd(c,!1)).then());b&&a.push(d.remove(ccd(c,!0)).then());return _.Rh(a).then(function(){})},Bcd=function(a){if(!a.H)return _.Qh(Error("Qf"));if(a.Jf())return _.Qh(Error(a.O));var b=fcd(a.Ci().Vz(),a.Ci().clientId),c=_.RL.EU;return(a=nP(a,c))?a.objectStore(c).get(b).then(function(d){return ecd(d)}):_.Qh(Error("Rf"))},Ccd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Qh(Error("Sf"));if(a.Jf())return _.Qh(Error(a.O));
var c=a.Ci(),d=fcd(c.Vz(),c.clientId);b=new dcd(lP(c),b?Date.now():void 0);c=_.RL.EU;a=nP(a,c,"readwrite");if(!a)return _.Qh(Error("Tf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
mP.prototype.Kl=function(a){var b=this;return this.H?this.Jf()?_.Qh(Error(this.O)):Bcd(this).then(function(c){var d=lP(b.Ci());if(c)if(a){if(!c.O&&d==c.H&&d!=lP(a))return Ccd(b,!0);if(c.O&&d==lP(a))return Ccd(b)}else{if(d!=c.H)return Ccd(b)}else if(!a)return Ccd(b)}):_.Qh(Error("Uf"))};var Dcd=function(a){if(!a.H)return _.Qh(Error("Vf"));if(a.Jf())return _.Qh(Error(a.O));var b=a.Ci(),c=fcd(b.Vz(),b.clientId);return Bcd(a).then(function(d){if(d){d=_.RL.EU;var e=nP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
mP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Jf()?_.Qh(Error(this.O)):Bcd(this).then(function(c){var d=c&&c.H==lP(b.Ci());return d&&!a?!1:(c&&d?Dcd(b):_.Ph()).then(function(){return _.Rh([Acd(b,a),ycd(b),ucd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Qh(Error("Wf"))};mP.prototype.close=function(){this.ha("Closing database")};mP.prototype.log=function(a){this.Dd.info("drive.ds.sync.storage.VersionedDb",a)};
var Ecd=function(a){if(1>=a.Ci())return!1;var b=a.H.objectStoreNames;return _.Sa(_.RL).every(function(c){return b&&b.contains(c)})},Fcd=function(){var a=_.Sh();_.PSc("GoogleDriveDs").Sf(function(b){b?Ecd(b)?a.resolve(b):(b.close(),_.Th(i8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},Gcd=function(a,b,c){var d=_.Sh();a?_.NSc(a,[_.RL.Q_],"readonly").objectStore(_.RL.Q_).getAll().Sf(function(e){e=_.Sa(e).map(function(f){return ocd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Vz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},Hcd=function(a,b,c){var d=_.Sh();Fcd().then(function(e){if(e){var f=_.RL.EU;_.NSc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return ecd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.RL.Q_,p=_.NSc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=ocd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Uja(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},Icd=function(a,b,c){var d=_.Sh(),e=new mP(_.Ph(a),b);pcd(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},Jcd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Icd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Rh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+lP(l)))});d.resolve(k)})},Kcd=function(a,b,c){var d=Date.now()-12096E5,e=_.Sh();Fcd().then(function(f){f?(_.Th(e.promise,function(){f.close()}),Gcd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){Jcd(h,c,f,e)})):e.resolve([])});return e.promise},Lcd=function(a,b,c){var d=_.Sh();Fcd().then(function(e){e?(_.Th(d.promise,function(){e.close()}),
Gcd(e,a,b).then(function(f){Jcd(f,c,e,d,!0)})):d.resolve([])});return d.promise},Mcd=function(a,b,c,d){if(a.length){var e=_.RL.l6,f=a.shift(),h=icd(f,3,0,1);try{_.NSc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=lcd(k))&&(!k.b1||k.b1&&d.has(f.V))?b.resolve(f):Mcd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},Ncd=function(a,b,c,d,e,f,h){var k=_.Sh();Fcd().then(function(l){l?(_.Th(k.promise,function(){l.close()}),Gcd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=lP(q))&&q.W==c&&q.H>=e&&b1c(d.filter(function(r){return!_.IUc.has(r)}),q.Mg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),Mcd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Ocd={key:"rid",global:!0},Pcd={key:"ooi",global:!0},Qcd={key:"rtds",global:!1},Rcd={key:"dct",global:!1},Scd={key:"pc",global:!1},Tcd=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Tcd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Jf())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Xa():void 0},function(){})})};Tcd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Jf()?zcd(c,[new bcd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Tcd.prototype.$n=function(){return this.get(Ocd).then(function(a){return a?a:null})};Tcd.prototype.Iu=function(a){return this.set(Ocd,a)};
var Ucd=function(a){return a.get(Pcd).then(function(b){return"boolean"===typeof b?b:null})};Tcd.prototype.Vy=function(a){return this.set(Pcd,a)};var Vcd=function(a){return a.get(Scd).then(function(b){return"boolean"===typeof b?b:null})},Wcd=function(a){return a.get(Qcd).then(function(b){return Array.isArray(b)?b:null})},Xcd=function(a){return a.get(Rcd).then(function(b){return"number"===typeof b?b:null})},Ycd=function(){this.jj=[]};_.L(Ycd,_.DN);
Ycd.prototype.add=function(a,b){var c=a.Cv.request;return c instanceof _.KM&&_.C(c.request,12)?_.DN.prototype.add.call(this,a,b):!1};Ycd.prototype.$sa=function(a){return this.jj.splice(0,Math.min(a,1))};var Zcd=function(a,b){this.jj=[];this.H=b};_.L(Zcd,_.DN);Zcd.prototype.add=function(a,b){return a.Cv.request instanceof _.KM?!1:_.DN.prototype.add.call(this,a,b)};
Zcd.prototype.$sa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.jj.length&&b.length<a;f++){var h=this.jj[f],k=h.Cv.request;k instanceof _.eM||k instanceof _.qM||k instanceof _.FM?k="app|"+k.Ah():k instanceof _.$L||k instanceof _.aM||k instanceof _.gM||k instanceof _.ML?k="item|"+(k instanceof _.$L?k.Ic():k.getId()):k instanceof _.hM||k instanceof _.rM?k="item|"+k.Ic():k instanceof _.iM||k instanceof _.HM?k="item|"+k.Ic():k instanceof _.fD||k instanceof _.eD?(k=k instanceof _.fD?_.E(k,_.bp,1).getKey():
k.getKey(),k="pref|"+_.C(k,2)+"|"+_.cp(k)):k=k instanceof _.jM?"td|"+k.getId():null;var l=h.Cv.request;if(l instanceof _.cM)l=!!_.R(l,8);else if(l instanceof _.aM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.nbb.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.jj,c[a]);return b};
$cd=function(a,b,c,d,e,f,h,k,l){a=a.Yf();h=new _.NZc(k,h,d,_.Lj(a,32,1073741824),_.Lj(a,21,1E3));h=new _.OZc(h);k=new _.mZc(_.Lj(a,59,2E3),_.Lj(a,60,2E4),_.Lj(a,61,6));c=new _.kZc(l?l:c,l?void 0:e);e={};e[1]=_.QZc(b,d);e[2]=_.RZc(b,a,k,c,d);e[3]=_.SZc(b,a,k,c,d,"batch");l=_.Lj(a,10,50);f=new _.FN(d,b,[_.lZc(c),new _.pZc(l,_.Lj(a,11,100)),new _.EN(l),new _.CN(k,d)],[new Zcd(a,f),new Ycd,new _.DN],[new _.yZc(a,k,c.Ij(),d)],"mutation");return e[4]=f,e[5]=_.TZc(h,a,d),e[6]=_.SZc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.SZc(b,a,k,c,d,"xd4_batch"),e[8]=_.SZc(b,a,k,c,d,"xd4_batch_one",1),e};add=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};bdd=function(a){var b={};return b.parentId=a.Ik(),b};cdd=function(a){var b={};_.ee(_.Qg(a.getTitle()))||(b.title=a.getTitle());_.e0c(b,_.Pd(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
ddd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.C(a,3)&&(b.workspaceToken=_.C(a,3));return b};edd=function(a){var b={};b.sourceIds=_.Pd(a.request,1);b.destinationFolderId=_.C(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
fdd=function(a){var b={},c={};_.ee(_.Qg(a.getTitle()))||(b.title=a.getTitle());null!=a.Se()&&(b.description=a.Se());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Sh()&&(c.trashed=a.Sh());_.ee(_.Qg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.C(a,7)&&(b.modifiedDate=_.LWc(_.KXc(_.C(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Qa(c)&&(b.labels=c);null!=a.Ti()&&(b.folderColor=a.Ti());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.E(a,_.Tk,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.C(c,2)&&(d.reason=_.C(c,2));b.contentRestrictions.push(d)}_.e0c(b,_.Pd(a,8));return b};gdd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
hdd=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.C(a,3))b.backgroundImageId=_.C(a,3);else{var c=_.C(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Og)("0",6-c.length)+c);c=_.E(a,_.r4c,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.C(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.C(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Pe())&&(a.width=c);b.backgroundImageFile=a}}return b};
idd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.h0c[a.getState()])&&(b.state=a);return b};_.jdd=function(a){_.P(this,a,-1,null,null)};_.L(_.jdd,_.K);_.jdd.prototype.O=function(){return _.C(this,1)};var kdd=function(a){_.P(this,a,-1,null,null)};_.L(kdd,_.K);kdd.prototype.O=function(){return _.R(this,1)};kdd.prototype.V=function(){return _.C(this,2)};_.oP=function(a){_.P(this,a,-1,null,null)};_.L(_.oP,_.K);_.g=_.oP.prototype;
_.g.getId=function(){return _.C(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.C(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.bta=function(){return _.C(this,3)};_.g.ez=function(){return _.C(this,4)};_.g.Q$=function(){return _.E(this,kdd,6)};_.g.wsb=function(){return _.E(this,_.jdd,7)};_.g.FVa=function(){return _.C(this,8)};_.g.ata=function(){return _.R(this,9)};_.pP=function(a){_.P(this,a,-1,null,null)};_.L(_.pP,_.K);_.g=_.pP.prototype;
_.g.getType=function(){return _.C(this,1)};_.g.getId=function(){return _.C(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.C(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Ld=function(){return _.C(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.Bab=function(){return _.C(this,6)};_.ldd=function(a,b){return _.A(a,6,b)};_.pP.prototype.Se=function(){return _.C(this,8)};_.pP.prototype.um=function(a){return _.A(this,8,a)};
_.pP.prototype.O=function(){return _.R(this,9)};_.qP=function(a,b,c,d,e,f){_.si.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=T1c(new _.QN,[1]);this.limit=e.Li();this.Re=0;_.ze(this,function(){h.O=!1;h.H=[]})};_.L(_.qP,_.si);_.g=_.qP.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.oa(this.items)&&6===this.Bb()&&this.Sj()||mdd(this)};_.g.yd=function(){return this.request};_.g.Li=function(){return this.limit};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.ka};_.g.Sj=function(){return this.ha};_.g.ms=function(){var a=_.RRc().Kz(this.H,this.items),b=(new _.dSc).Cc(this.Bb());a=_.Cb(b,2,a);this.H=this.items;return a};_.g.Lr=function(a){this.O&&(this.limit+=a||50,this.Ha(this.Ni(),this.limit))};
var ndd=function(a,b){return a.Bb()!==b.Bb()||kO(_.RRc(),a.items,b.Gd())},odd=function(a,b){a.items=b.Gd();a.status=b.Bb();_.BL(a.Ba)&&(a.ka=U1c(a.status,a.items));a.ha=b.kl();a.Re=b.We()};_.qP.prototype.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.qP.prototype.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
_.qP.prototype.Cu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+PO(this.V,this.yd());return _.$h(this.va.then(function(d){return d.tMb(a,b,c.yd(),c.Li(),c.items)}))};
var mdd=function(a){a.isActive()&&(a.log("Livelist "+a.Ni()+" returning "+a.items.length+". Status: "+(_.ab(p5c)[a.Bb()]+". Datasource: ")+(_.ab(s6c)[a.Re]+". Query: ")+(PO(a.V,a.request)+" ")+V1c(a.items)),pdd(a,a.items,a.request),a.dispatchEvent(new _.gi(_.Bc,a)))},pdd=function(a,b,c){if(_.sM(c))c="quick access";else if(_.tM(c))c="people predict";else if(_.uM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.Ni()+" returning "+a.items.length+
" for "+(c+": "+b))};_.qP.prototype.refresh=function(){};_.qP.prototype.log=function(a){this.Fa.info(this.W,a)};var y2c=[90,59,75];_.t("sy1ly");
var qdd=function(a){_.P(this,a,-1,null,null)};_.L(qdd,_.K);
var rdd=function(a){_.P(this,a,-1,null,null)};_.L(rdd,_.K);rdd.prototype.getType=function(){return _.C(this,1)};var sdd=function(a){var b=new rdd;return _.A(b,1,a)},tdd=function(a,b){return _.x(a,2,b)};rdd.prototype.wy=function(){return _.C(this,3)};rdd.prototype.Wy=function(a){return _.A(this,3,a)};rdd.prototype.Mi=function(){return _.C(this,4)};rdd.prototype.setPosition=function(a){return _.A(this,4,a)};
var rP=function(a){_.P(this,a,-1,null,null)};_.L(rP,_.K);rP.prototype.getType=function(){return _.C(this,1)};var udd=function(a){var b=new rP;return _.A(b,1,a)};rP.prototype.mn=function(){return _.E(this,FO,2)};var vdd=function(a,b){return _.x(a,2,b)};rP.prototype.wy=function(){return _.C(this,3)};rP.prototype.Wy=function(a){return _.A(this,3,a)};rP.prototype.Mi=function(){return _.C(this,4)};rP.prototype.setPosition=function(a){return _.A(this,4,a)};
var sP=function(a){_.P(this,a,-1,null,null)};_.L(sP,_.K);sP.prototype.getType=function(){return _.C(this,1)};var wdd=function(a){var b=new sP;return _.A(b,1,a)};sP.prototype.mn=function(){return _.E(this,_.KF,2)};var xdd=function(a,b){return _.x(a,2,b)};sP.prototype.wy=function(){return _.C(this,3)};sP.prototype.Wy=function(a){return _.A(this,3,a)};sP.prototype.Mi=function(){return _.C(this,4)};sP.prototype.setPosition=function(a){return _.A(this,4,a)};
var ydd=function(a){_.P(this,a,-1,null,null)};_.L(ydd,_.K);ydd.prototype.Bb=function(){return _.C(this,1)};ydd.prototype.Cc=function(a){return _.A(this,1,a)};ydd.prototype.Br=function(){return _.E(this,_.EO,2)};
var Add=function(a){_.P(this,a,-1,zdd,null)};_.L(Add,_.K);Add.prototype.Bb=function(){return _.C(this,1)};Add.prototype.Cc=function(a){return _.A(this,1,a)};Add.prototype.$j=function(){return _.C(this,3)};var zdd=[2];
var Bdd=function(a){_.P(this,a,-1,null,null)};_.L(Bdd,_.K);Bdd.prototype.qd=function(){return _.E(this,mO,1)};Bdd.prototype.Yn=function(){return _.C(this,2)};
var Cdd=function(a){_.P(this,a,-1,null,null)};_.L(Cdd,_.K);_.g=Cdd.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.Br=function(){return _.E(this,_.EO,2)};_.g.$j=function(){return _.C(this,3)};_.g.Ah=function(){return _.C(this,4)};
var tP=function(a){_.P(this,a,-1,null,null)};_.L(tP,_.K);tP.prototype.Bb=function(){return _.C(this,1)};tP.prototype.Cc=function(a){return _.A(this,1,a)};tP.prototype.$j=function(){return _.C(this,3)};
var Ddd=function(a){_.P(this,a,-1,null,null)};_.L(Ddd,_.K);_.g=Ddd.prototype;_.g.Bb=function(){return _.C(this,1)};_.g.Cc=function(a){return _.A(this,1,a)};_.g.$j=function(){return _.C(this,2)};_.g.VMa=function(){return _.E(this,_.bp,3)};_.g.getKey=function(){return _.E(this,_.Rb,4)};_.g.Bs=function(){return _.Q(this,4)};
var Fdd=function(a){_.P(this,a,-1,null,Edd)};_.L(Fdd,_.K);Fdd.prototype.getKey=function(){return _.C(this,1)};Fdd.prototype.Bs=function(){return _.Q(this,1)};var Hdd=function(a){_.P(this,a,-1,Gdd,null)};_.L(Hdd,_.K);var Edd=[[2,4,6,10],[3,5,7,8,9]],Gdd=[1];
var Idd=function(a){_.P(this,a,-1,null,null)};_.L(Idd,_.K);
var uP=function(a){_.P(this,a,-1,Jdd,null)};_.L(uP,_.K);uP.prototype.Bb=function(){return _.C(this,1)};uP.prototype.Cc=function(a){return _.A(this,1,a)};uP.prototype.O=function(){return _.ck(this,sO,2)};var Kdd=function(a,b){return _.Cb(a,2,b)};uP.prototype.$j=function(){return _.C(this,3)};var Jdd=[2];
var Ldd=function(a){_.P(this,a,-1,null,null)};_.L(Ldd,_.K);Ldd.prototype.Bb=function(){return _.C(this,1)};Ldd.prototype.Cc=function(a){return _.A(this,1,a)};Ldd.prototype.O=function(){return _.E(this,sO,2)};Ldd.prototype.$j=function(){return _.C(this,3)};
var Mdd=function(a){_.P(this,a,-1,null,null)};_.L(Mdd,_.K);Mdd.prototype.ty=function(){return _.C(this,2)};
var Odd=function(a){_.P(this,a,-1,Ndd,null)};_.L(Odd,_.K);Odd.prototype.Bb=function(){return _.C(this,1)};Odd.prototype.Cc=function(a){return _.A(this,1,a)};Odd.prototype.rk=function(){return _.ck(this,_.MRc,2)};Odd.prototype.sr=function(a,b){return _.ek(this,2,a,_.MRc,b)};var Ndd=[2];
var Qdd=function(a){_.P(this,a,-1,Pdd,null)};_.L(Qdd,_.K);Qdd.prototype.Bb=function(){return _.C(this,1)};Qdd.prototype.Cc=function(a){return _.A(this,1,a)};Qdd.prototype.nl=function(){return _.ck(this,rP,2)};var Pdd=[2];
_.Sdd=function(a){_.P(this,a,-1,Rdd,null)};_.L(_.Sdd,_.K);var Rdd=[1];
var vP=function(a){_.P(this,a,-1,Tdd,null)},Wdd,Xdd;_.L(vP,_.K);vP.prototype.Yn=function(){return _.C(this,1)};var Udd=function(a,b){return _.A(a,1,b)},Vdd=function(a,b){return _.A(a,2,b)};vP.prototype.Bb=function(){return _.C(this,3)};vP.prototype.Cc=function(a){return _.A(this,3,a)};Wdd=function(a,b){return _.A(a,4,b)};Xdd=function(a,b){return _.Cb(a,5,b)};_.Ydd=function(a){_.P(this,a,-1,null,null)};_.L(_.Ydd,_.K);_.Ydd.prototype.jc=function(){return _.C(this,2)};
_.$dd=function(a){_.P(this,a,-1,Zdd,null)};_.L(_.$dd,_.K);var aed=function(a,b){return _.A(a,1,b)},bed=function(a,b){return _.A(a,2,b)},ced=function(a,b){return _.Cb(a,3,b)},Tdd=[5],Zdd=[3];
_.wP=function(a){_.P(this,a,-1,ded,null)};_.L(_.wP,_.K);_.wP.prototype.UV=function(){return _.ck(this,_.FF,2)};_.wP.prototype.we=function(){return _.E(this,_.of,3)};var ded=[1,2];
_.xP=function(a){_.P(this,a,-1,null,null)};_.L(_.xP,_.K);_.xP.prototype.Bb=function(){return _.C(this,1)};_.xP.prototype.Cc=function(a){return _.A(this,1,a)};_.xP.prototype.Fh=function(){return _.E(this,_.TA,2)};_.eed=function(a,b){return _.x(a,2,b)};_.xP.prototype.$j=function(){return _.C(this,3)};
var fed=function(a){_.P(this,a,-1,null,null)};_.L(fed,_.K);fed.prototype.Bb=function(){return _.C(this,1)};fed.prototype.Cc=function(a){return _.A(this,1,a)};
var hed=function(a){_.P(this,a,-1,ged,null)};_.L(hed,_.K);hed.prototype.Bb=function(){return _.C(this,1)};hed.prototype.Cc=function(a){return _.A(this,1,a)};hed.prototype.nl=function(){return _.ck(this,sP,2)};var ged=[2];
var ied=function(a){_.P(this,a,-1,null,null)};_.L(ied,_.K);ied.prototype.getType=function(){return _.C(this,1)};var jed=function(a){var b=new ied;return _.A(b,1,a)};ied.prototype.wy=function(){return _.C(this,3)};ied.prototype.Wy=function(a){return _.A(this,3,a)};ied.prototype.Mi=function(){return _.C(this,4)};ied.prototype.setPosition=function(a){return _.A(this,4,a)};
var led=function(a){_.P(this,a,-1,ked,null)};_.L(led,_.K);led.prototype.Bb=function(){return _.C(this,1)};led.prototype.Cc=function(a){return _.A(this,1,a)};led.prototype.$j=function(){return _.C(this,3)};var ked=[2];
_.med=function(a){_.P(this,a,-1,null,null)};_.L(_.med,_.K);_.med.prototype.getId=function(){return _.C(this,1)};_.med.prototype.Pb=function(a){return _.A(this,1,a)};_.med.prototype.we=function(){return _.E(this,_.of,4)};
var oed=function(a){_.P(this,a,-1,ned,null)};_.L(oed,_.K);oed.prototype.Bb=function(){return _.C(this,1)};oed.prototype.Cc=function(a){return _.A(this,1,a)};oed.prototype.$j=function(){return _.C(this,3)};var ned=[2,4];
_.yP=function(a){_.P(this,a,-1,null,null)};_.L(_.yP,_.K);_.yP.prototype.getType=function(){return _.C(this,1)};var ped=function(a){var b=new _.yP;return _.A(b,1,a)},qed=function(a,b){return _.x(a,2,b)};_.yP.prototype.wy=function(){return _.C(this,3)};_.yP.prototype.Wy=function(a){return _.A(this,3,a)};_.yP.prototype.Mi=function(){return _.C(this,4)};_.yP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.k2c=function(a){_.P(this,a,-1,null,null)};_.L(_.k2c,_.K);_.g=_.k2c.prototype;_.g.getItem=function(){return _.E(this,_.Wk,1)};_.g.setItem=function(a){return _.x(this,1,a)};_.g.getError=function(){return _.E(this,_.mc,2)};_.g.Ue=function(a){return _.x(this,2,a)};_.g.Jn=function(){return _.Q(this,2)};_.g.nt=function(){return _.C(this,4)};
var sed=function(a){_.P(this,a,-1,red,null)};_.L(sed,_.K);var red=[2,4];
var ued=function(a){_.P(this,a,-1,ted,null)};_.L(ued,_.K);var ted=[1];
var wed=function(a){_.P(this,a,-1,ved,null)};_.L(wed,_.K);wed.prototype.Bb=function(){return _.C(this,1)};wed.prototype.Cc=function(a){return _.A(this,1,a)};wed.prototype.$j=function(){return _.C(this,3)};var ved=[2];
var yed=function(a){_.P(this,a,-1,xed,null)};_.L(yed,_.K);yed.prototype.Bb=function(){return _.C(this,1)};yed.prototype.Cc=function(a){return _.A(this,1,a)};yed.prototype.$j=function(){return _.C(this,3)};var xed=[2];
var zed=function(a){_.P(this,a,-1,null,null)};_.L(zed,_.K);
var Bed=function(a){_.P(this,a,-1,Aed,null)};_.L(Bed,_.K);Bed.prototype.O=function(){return _.C(this,2)};var Ced=function(a,b){_.A(a,2,b)},Aed=[1];
var Ded=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(Ded,_.gi);
var Eed=function(a,b){_.gi.call(this,"Pb");this.FPa=a;this.Aua=b};_.L(Eed,_.gi);
var Fed=function(){};_.g=Fed.prototype;_.g.GM=function(a,b){return y6c(x6c(1),a).setPosition(b)};_.g.FM=function(a,b){return y6c(x6c(2).setPosition(b),a)};_.g.PE=function(a,b,c){return y6c(x6c(3).Wy(b).setPosition(c),a)};_.g.EQ=function(a,b){return y6c(x6c(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,pO,2)};
var Ged=function(){_.fL.call(this,new Fed,function(a){return a&&a.getName()})};_.L(Ged,_.fL);
var zP=function(a,b,c){c=void 0===c?50:c;_.si.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=T1c(new _.QN,[1]);this.ha=this.H=!1;this.Mc=new _.He(this);this.Ma(this.Mc);_.ze(this,function(){d.active=!1;d.Mc.removeAll()})};_.L(zP,_.si);_.g=zP.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.Xe=function(){return this.W.Xe()||this.connectionState.Xe()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Mc.listen(this.W,"Ab",_.tb(this.Wt)),this.Mc.listen(this.connectionState,[].concat(_.nd(Object.values(_.WA))),_.tb(this.Wt)),this.W.Xe()?this.Mc.od(this.W,"Ab",function(b){b.Xe()||(a.eH(),a.dispatchEvent(new _.gi(_.$p)))}):this.connectionState.Xe()?this.Mc.od(this.connectionState,[_.WA.HL,_.WA.FU],function(){a.eH();a.dispatchEvent(new _.gi(_.$p))}):(this.eH(),this.dispatchEvent(new _.gi(_.$p))))};_.g.eH=function(){};
_.g.Lr=function(a){var b=this;if(this.Sj()){var c=this.limit;this.limit+=a||50;this.jc()>c&&this.Wt();this.W.Xe()?this.Mc.od(this.W,"Ab",function(d){d.Xe()||b.tP()}):this.tP()}};_.g.NL=function(){this.Xe()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.oc(a))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};_.g.Sj=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Mc.removeAll();this.activate()};_.g.tP=function(){};
var Hed=function(a,b,c,d,e){zP.call(this,a,b,e.Li()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new Ged;this.ma=d};_.L(Hed,zP);_.g=Hed.prototype;_.g.eH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){return C6c(new vO,this.data).Cc(this.status)};_.g.ms=function(){var a=this.V.Kz(this.O,this.data);this.O=this.data;var b=(new A6c).Cc(this.status);return _.Cb(b,2,a)};
_.g.tP=function(){this.ma(this.Ni(),this.limit)};_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,Ied(this)}};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||kO(0,this.data,b.O()))this.H=!0,this.status=b.Bb(),this.data=b.O(),this.ha=a.H,Ied(this)};
var Ied=function(a){a.log("Livelist "+a.Ni()+" returning "+a.data.length+" for "+(a.request.Ic()+". Status: ")+(_.ab(p5c)[a.Bb()]+"."));a.dispatchEvent(new _.gi(_.Bc,a))};Hed.prototype.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};Hed.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var Jed=function(a,b,c,d,e,f,h){_.qP.call(this,a,b,c,e,f,d);this.Dd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(Jed,_.qP);Jed.prototype.getData=function(){this.H=this.items;var a=Y3c((new _.KA).Cc(this.Bb()).Vw(this.items),this.Sj());a=_.x(a,7,this.oa).QP(this.suggestionSessionId).kj(this.Re);return _.Pj(a,18,this.ma)};
Jed.prototype.update=function(a){if(ndd(this,a)&&(odd(this,a),this.oa=a.x6(),this.suggestionSessionId=a.Uf(),this.ma=a.Mka(),mdd(this),this.suggestionSessionId&&E9c(this.V)&&(a=this.Dd.H(106027)))){var b=_.E(_.nN(a),K4c,20);if(!b){b=new K4c;var c=_.nN(a);_.x(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Yj()}};
var Ked=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?_.ik(d,f)||(d=xdd(wdd(4),f),c[e]=d):(d=xdd(wdd(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=xdd(wdd(1),d),c[e]=d)});return c},Led=function(a,b){return _.Qa(a)!==_.Qa(b)||!_.Va(Ked(a,b))};
var Med=function(a,b){_.si.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(Med,_.si);_.g=Med.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.gi(_.Bc,this)))};_.g.Bb=function(){return this.status};_.g.Zq=function(){return new _.QN};_.g.getData=function(){this.H=this.data;var a=(new _.rN).Cc(this.status);_.Ma(this.data,function(b,c){a.gU().set(c,b||new _.KF)});return a};
_.g.ms=function(){var a=Ked(this.H,this.data);this.H=this.data;var b=(new fed).Cc(this.status);_.Ma(a,function(c,d){_.Nj(b,2,sP).set(d,c)});return b};_.g.yT=function(){throw Error("Yf");};_.g.Ni=function(){return String(_.Da(this))};_.g.yd=function(){return this.request};_.g.update=function(a){var b={};a.gU().forEach(function(c,d){c||(c=nbd(d));b[d]=c});if(this.status!==a.Bb()||Led(this.H,b))this.status=a.Bb(),this.data=b,this.active&&this.dispatchEvent(new _.gi(_.Bc,this))};
_.g.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Ned=function(a,b,c,d,e,f){_.si.call(this);var h=this;this.V=a;this.ka=b;this.ha=c;this.ma=d;this.oa=e;this.request=f;this.O=!1;this.H={};this.items={};this.status=6;this.W=T1c(new _.QN,[1]);this.log("Creating find by ids live map: "+this.request.jn().join(", "));_.ze(this,function(){h.O=!1;h.H=[]})};_.L(Ned,_.si);_.g=Ned.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||Oed(this)};_.g.yd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.pN;_.BL(this.V)?a.Cc(g1c(Object.values(this.items))?6:this.status):a.Cc(this.status);a.map=this.items;return a};_.g.ms=function(){var a=W1c(this.H,this.items),b=new v6c;b.Cc(this.status);b.map=a;this.H=this.items;return b};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.W};_.g.yT=function(a){A9c(a);var b=this.request;this.request=a;this.oa(this.Ni(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.yd().jn(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);Ped(b,a)}):Ped(this,a)};var Ped=function(a,b){if(a.status!==b.Bb()||X1c(a.items,b.map))a.status=b.Bb(),a.items=b.map,_.BL(a.V)&&(a.W=U1c(a.status,Object.values(a.items))),Oed(a)};Ned.prototype.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};Ned.prototype.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Oed=function(a){a.O&&(a.log("Livelist "+a.Ni()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab(p5c)[a.Bb()]+". Query: ")+(PO(a.ka,a.request)+" ")+V1c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.Bc,a)))};Ned.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Qed=function(a,b,c,d,e,f){_.qP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Qed,_.qP);Qed.prototype.getData=function(){this.H=this.items;var a=(new _.qN).Cc(this.Bb()).Vw(this.items);var b=this.Sj();a=_.A(a,4,b);return r5c(a,this.ma).QP(this.suggestionSessionId).kj(this.Re)};Qed.prototype.update=function(a){ndd(this,a)&&(odd(this,a),this.ma=_.ck(a,_.Dk,6),this.suggestionSessionId=a.Uf(),mdd(this))};
var Red=function(){};_.g=Red.prototype;_.g.GM=function(a,b){return vdd(udd(1),a).setPosition(b)};_.g.FM=function(a,b){return vdd(udd(2).setPosition(b),a)};_.g.PE=function(a,b,c){return vdd(udd(3).Wy(b).setPosition(c),a)};_.g.EQ=function(a,b){return vdd(udd(4),a).setPosition(b)};_.g.jN=function(a){return a.mn()};
var Sed=function(){_.fL.call(this,new Red,function(a){return a&&a.qq()})};_.L(Sed,_.fL);
var Ted=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Sed;this.suggestionSessionId=null;this.ka=c};_.L(Ted,zP);_.g=Ted.prototype;_.g.eH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){this.O=this.data;return A8c(z8c((new GO).Cc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Kz(this.O,this.data);this.O=this.data;var b=(new Qdd).Cc(this.status);return _.Cb(b,2,a)};_.g.tP=function(){};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Bb()||kO(0,this.data,a.nl())){this.changed=this.H=!0;this.data=a.nl();if(a=a.Uf())this.suggestionSessionId=a;this.Wt()}};_.g.refresh=function(){this.ka()};_.g.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Ued=function(a,b,c){_.si.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=T1c(new _.QN,[1]);this.O=!0;this.limit=a.Li();_.ze(this,function(){d.H=!1;d.V=[]})};_.L(Ued,_.si);_.g=Ued.prototype;_.g.Ni=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.oa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.gi(_.Bc,this))};_.g.yd=function(){return this.request};_.g.Bb=function(){return this.status};
_.g.Zq=function(){return this.W};_.g.Sj=function(){return this.O};_.g.getData=function(){this.V=this.items;return Y3c((new _.KA).Cc(this.status).Vw(this.items),this.O)};_.g.ms=function(){var a=_.RRc().Kz(this.V,this.items),b=(new _.dSc).Cc(this.status);a=_.Cb(b,2,a);this.V=this.items;return a};_.g.Lr=function(a){this.H&&(this.limit+=a||20,this.ka.PF(this.Ni(),this.limit))};
_.g.update=function(a){if(this.status!==a.Bb()||kO(_.RRc(),this.items,a.Gd()))this.items=a.Gd(),this.status=a.Bb(),_.BL(this.ha)&&(this.W=U1c(this.status,this.items)),this.O=a.kl(),this.H&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};_.g.Cu=function(){throw Error("Zf");};_.g.refresh=function(){};
var Ved=function(a,b,c){_.si.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=T1c(new _.QN,[1]);this.context.Zf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.jn().join(", "));_.ze(this,function(){d.V=!1;d.O=[]})};_.L(Ved,_.si);_.g=Ved.prototype;_.g.Ni=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.yd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.pN;a.Cc(this.status);a.map=this.H;return a};_.g.ms=function(){var a=W1c(this.O,this.H),b=new v6c;b.Cc(this.status);b.map=a;this.O=this.H;return b};_.g.Bb=function(){return this.status};_.g.Zq=function(){return this.W};
_.g.yT=function(a){var b=this.request;this.request=a;this.ha.pZ(this.Ni(),b,a)};_.g.update=function(a){if(this.status!==a.Bb()||X1c(this.H,a.map))this.status=a.Bb(),this.H=a.map,_.BL(this.context.Pc)&&(this.W=U1c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.vW=function(){this.dispatchEvent(new _.gi(_.fEa))};
var Wed=function(){};_.g=Wed.prototype;_.g.GM=function(a,b){return xdd(wdd(1),a).setPosition(b)};_.g.FM=function(a,b){return xdd(wdd(2).setPosition(b),a)};_.g.PE=function(a,b,c){return xdd(wdd(3).Wy(b).setPosition(c),a)};_.g.EQ=function(a,b){return xdd(wdd(4),a).setPosition(b)};_.g.jN=function(a){return a.mn()};
var Xed=function(){_.fL.call(this,new Wed,function(a){return a&&a.getId()})};_.L(Xed,_.fL);
var Yed=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Xed};_.L(Yed,zP);_.g=Yed.prototype;_.g.eH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.Bc,this))};_.g.getData=function(){this.O=this.data;return v$c((new WO).Cc(this.status),this.data.slice(0))};_.g.ms=function(){var a=this.V.Kz(this.O,this.data);this.O=this.data;var b=(new hed).Cc(this.status);return _.Cb(b,2,a)};
_.g.tP=function(){this.ka.PF(this.Ni(),this.limit)};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};_.g.yd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Bb()||kO(0,this.data,b.nl()))this.H=!0,this.status=b.Bb(),this.data=b.nl(),this.ha=a.H,this.dispatchEvent(new _.gi(_.Bc,this))};
_.g.uB=function(a){this.dispatchEvent(new _.oc(new _.nc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var Zed=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.bga;this.oa=this.context.z6};_.g=Zed.prototype;_.g.Bxa=function(a){var b=this,c=new Jed(this.context.yn,this.context.sQ,this.context.Zf(),this.context.Pc,function(d,e){b.PF(d,e)},a,this.context.Tk());this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.Exa=function(a){var b=this,c=new Qed(this.context.yn,this.context.sQ,this.context.Zf(),function(d,e){b.PF(d,e)},a,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.yxa=function(a){var b=this,c=new Ned(this.context.Pc,this.context.yn,this.context.Zf(),this.context.i_,this.pZ.bind(this),a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.Hxa=function(a){var b=this,c=new Ued(a,this,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.Ixa=function(a){var b=this,c=new Ved(this.context,this,a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.Lxa=function(a){var b=this,c=new Yed(this.context,a,this);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.Fxa=function(a){var b=this,c=new Ted(this.context,a,function(){if(a instanceof _.IF){var d=$ed(b.context);Wad(d,d.getKey(a)).refresh()}});this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.Mxa=function(a){var b=this,c=new Med(this.context,a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};_.g.vxa=function(a){var b=this,c=new Hed(this.context.Ij(),this.context.nk(),this.context.Zf(),function(d,e){b.PF(d,e)},a);this.Zh(c);_.ze(c,function(){b.ik(c)});return c};
_.g.Zh=function(a){var b=a.Ni();this.H[b]=a;this.ha.create(b,a.yd());a=a.yd()instanceof _.Cz?this.O.Zh(b,a.yd()):a.yd()instanceof _.LF?Uad(this.O,b,a.yd()):a.yd()instanceof _.IF?$ed(this.context).Zh(b,a.yd()):a.yd()instanceof _.SF?this.oa.Zh(b,a.yd()):this.W.Zh(b,a.yd());"boolean"===typeof a&&e$c(this.ha,b,a)};
_.g.ik=function(a){a.yd()instanceof _.Cz?this.O.ik(a.Ni(),a.yd()):a.yd()instanceof _.LF?Vad(this.O,a.Ni(),a.yd()):a.yd()instanceof _.IF?$ed(this.context).ik(a.Ni(),a.yd()):a.yd()instanceof _.SF?this.oa.ik(a.Ni(),a.yd()):this.W.ik(a.Ni(),a.yd());SO(this.ha,a.Ni(),4);delete this.H[a.Ni()]};_.g.pZ=function(a,b,c){this.W.ik(a,b);this.W.Zh(a,c)};
_.g.PF=function(a,b){var c=afd(this,a).yd();c.wi(b);c instanceof _.Cz?this.O.Zh(a,c):c instanceof _.LF?Uad(this.O,a,c):c instanceof _.SF?this.oa.Zh(a,c):this.W.Zh(a,c)};_.g.HO=function(a,b){var c=this.H[a]&&this.H[a].yd();c&&(c instanceof _.bf?S0c(c.O(),b.Gd().filter(function(d){return!MO(d)})):c instanceof _.Sz&&S0c(c.O(),Object.values(b.map).filter(function(d){return d&&!MO(d)})));this.ka[a]=b;this.V||(this.V=_.ui(this.u9,50,this))};
_.g.VX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ui(this.u9,50,this))};_.g.oA=function(a){(a=this.H[a])&&a.vW()};_.g.u9=function(){_.vi(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&&(h$c(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])SO(this.ha,a,3),d.uB(c)};
_.g.ala=function(a){return afd(this,a).yd()};var afd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};
var AP=function(a,b){_.si.call(this);this.O=a;this.request=b;this.ne=_.Sh();this.complete=!1;this.H=""};_.L(AP,_.si);AP.prototype.start=function(){var a=this;this.O.then(function(b){return b.Ve(a.request)}).then(this.W.bind(this)).Sg(this.handleError.bind(this));return this.ne.promise};AP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new Eed(0,this.H));bfd(this)};
var bfd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Ve(new _.oVc(a.H))}).then(function(b){if(1===b.status||3===b.status||2===b.status)a.dispatchEvent(new Eed(b.O,a.H)),bfd(a);else{a.complete=!0;if(4===b.status){var c=new sed;c=_.Pj(c,2,b.V);c=_.A(c,3,a.H);c=_.A(c,5,b.ka);c=_.A(c,6,b.ha);c=_.A(c,7,b.lA);c=_.A(c,8,b.H);b=_.Cb(c,4,b.W);a.ne.resolve(b)}else b=_.IL(_.Up(_.Tp(new _.mc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}}).Sg(function(b){a.handleError(b)})},
5E3)};AP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Ve(new _.nVc(a.H))}).then(this.V.bind(this)).Sg(this.handleError.bind(this))};AP.prototype.V=function(){if(!this.complete){var a=new sed;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.ne.resolve(a);this.complete=!0;this.dispose()}};AP.prototype.handleError=function(a){this.complete=!0;this.ne.reject(_.VL(a));this.dispose()};
var cfd=function(){_.gi.call(this,"VbxEwf")};_.L(cfd,_.gi);
var dfd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=dfd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.SL,58)};_.g.getContext=function(){return this.context};_.g.Jz=function(){return this.context.TA.Jz(this.H)};_.g.Zf=function(){return this.context.Zf()};_.g.XM=function(a){return _.Zh(this.context.wf.zm.H(a))};_.g.nR=function(){return _.Zh(this.context.TA.nR())};
_.g.x5=function(a,b,c){var d=new _.Wh;if(_.E(a,_.CL,3)||_.E(a,_.LM,4)||_.E(a,_.zN,5)||_.E(a,_.IM,6)||_.E(a,_.jM,7)||_.E(a,_.cM,8)||_.E(a,_.gM,9)||_.E(a,_.ML,10)){var e=b$c(a);this.context.Sm().then(function(f){return f.Ve(e,{H7a:b,I7a:c})}).then(this.Cab.bind(this,d),d.Pd,d);return d}throw Error("ag");};
_.g.Cab=function(a,b){var c=[],d="";if(b instanceof _.AN){c=b.qd().Gd();var e=_.C(b,2);d=b.Yn()}else if(b instanceof _.NM)b.getItem()&&c.push(b.getItem()),e=b.hN();else throw Error("bg");a.callback({items:c,Sia:e,pageToken:d})};_.g.Aqa=function(){var a=this.context.Pc,b=a.Yf();a="email:"+_.vL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.tia=function(){this.context.Xs.uS();var a=this.context.Pc;Lcd(_.$M(_.vL(a)),_.aN(a),this.context.Zf()).Sg(function(){})};
_.g.H9=function(){return _.qUc[_.Hj(this.context.Pc.Yf(),8,0)]};_.g.Rda=function(){this.context.aG.H=new Bbd(_.Rg().substring(0,8))};_.g.fT=function(){var a=this.context.aG.BN(),b=null;a&&(b=Dbd(this.context.aG),b={traceId:a,spanRecs:b});a=this.context.aG;a.H=null;a.NY=[];return _.Zh(b)};_.g.BN=function(){return _.Zh(this.context.aG.BN())};
_.g.getState=function(a){var b=this.context.Oj,c=b.H.bind(b);b={};b.b=this.context.Pc.Ji();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.zm.Ld();c=this.context.wf.dw;var d=c.H;d&&(b.cs_sutd=d.w8,b.cs_ss=d.Ld());b.cs_ch=X$c(c).length;b.cs_td=c.lW().length;(c=this.context.A6)&&(b.t_cps=c.Ytb().join(","));b.t_id=efd(this.context);var e=
[];ffd(this.context.mR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.fz?this.context.nk().isConnected():this.context.JI.BB();b.n_o=this.context.fz?this.context.nk().Xe():this.context.Ij().Xe();b.n_csm=!!this.context.fz;a&&(b.csw_cc=_.Qa(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.Zh(JSON.stringify(b))};_.g.Ppa=function(){this.vc&&(this.vc.dispatchEvent(new cfd),this.vc.Ku())};
_.g.Kl=function(a){var b=this.context.fz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.UYc(b))};
var ifd=function(a,b){this.context=a;this.Kg=b;this.H=_.aVc(_.hN(this.Kg),gfd);this.O=_.aVc(_.hN(this.Kg),hfd)};
ifd.prototype.ql=function(a){var b=this,c=this.context.jQ.Fh().Fh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.eVc(h);var k=h.getId(),l=b.context.$n();_.xWc(h,3);_.PL(h,5);var p=m1c(h,!0);h.getCapabilities()||_.WM(h,new _.Rk);_.R(p,2)&&((p=h.mk())&&p.length?_.A(h,46,p[0]):(_.VM(h,[l]),_.A(h,46,l)),l=h.Iq(),_.A(h,12,l),l=new _.Dk,l.Pb(d),_.A(l,6,1),_.LVc(l,!0),_.rWc(h,l),_.qWc(h,[l]),_.lTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.wf;var f=l9c(c.zm,a);_.Ma(f,function(h,
k){UN(h.getItem(),e[k],b.H);(b.context.Ij().Xe()||b.context.nk().Xe()||3===ZN(h.getItem()))&&UN(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Uk(h.Qm())&&(f[h.getId()]=new KO(h))});jfd(c,Object.values(f))};
var kfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.ql(c)},lfd=function(a){a=a.context.wf;var b=new _.bf;b.Kl(!0);b=n9c(a.zm,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===ZN(f)){var h=new _.FL;_.GL(h,f.getId());_.QL(h);d.push(h)}else h=new _.Bna,_.SN(h,!1),_.A(h,2,!1),_.x(f,81,h),c.push(b[e])}jfd(a,c);a.Zo(d)},gfd=[50],hfd=[12,11,10,67,68];
var mfd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new ifd(a,a.Kg)};_.g=mfd.prototype;_.g.vY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Eab.bind(this);var b=this.Dab.bind(this);this.log("Querying all offline items.");this.H.LV().Sf(a,b);this.V||(this.H.Z_((0,_.v)(this.Kxb,this)),this.V=!0)}}else lfd(this.O)};_.g.Eab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.ql(a);ZO(this.context.Oj,"GZTDpc")};_.g.Dab=function(){this.log("Error fetching offline items.")};
_.g.Kxb=function(a){this.log("Handling offline change(s): "+a.length);kfd(this.O,a)};_.g.log=function(a){this.context.Zf().info("drive.ds.sync.offline.LocalDataService",a)};
var BP=function(a){_.si.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Mc=new _.He(this);this.ma=null;this.Ta=this.va=!1;var b=new mfd(a);this.context.ha=b;this.Fa=new dfd(a,this);S1c(this.Fa);(b=_.E(a.Pc,_.SL,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Oj;this.W=a.$fa;this.V=new Zed(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.xSa()};_.L(BP,_.si);_.g=BP.prototype;_.g.xSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Sh();var b=this.context.Tk().H(106E3);this.ma.promise.then(function(){b&&b.Yj()},function(){_.xN(a.context.Tk(),181008852)});var c=_.bN(this.context.Pc)?"(coldstart) ":"";this.context.Zf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Pc.Ji());this.Mc.listen(this.context,_.Ac,this.nvb);this.Mc.listen(this.context.JI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Mc.listen(this.context.nk(),[].concat(_.nd(Object.values(_.WA))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();ZO(this.O,"NSockf")}return this.ma.promise};_.g.iXa=function(){this.context.Zf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.nvb=function(a){var b=a.error,c=b.Qg;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.cZ=function(){throw CP("teamDriveQuery");};_.g.rqa=function(){throw CP("teamDriveFindByIds");};
_.g.sqa=function(){throw CP("teamDriveMovePreflight");};_.g.gGa=function(){throw CP("peoplePredictQuery");};_.g.query=function(a){C9c(this.context.yn,a,U4c(this.context.Kg));this.sF();var b=a.clone();b=this.V.Bxa(b);this.Ta||(a=a.we(),a&&121===_.C(a,1)||(this.Ta=!0,this.Mc.listen(b,_.Bc,this.WMa)));return b};_.g.WMa=function(a){a=a.currentTarget;if(1===a.Bb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Mc.Xc(a,_.Bc,this.WMa)}};_.g.Oq=function(a){this.sF();A9c(a);return this.V.yxa(a.clone())};
_.g.Cva=function(){throw CP("activityQuery");};_.g.pwa=function(){throw CP("backupsQuery");};_.g.RGa=function(){throw CP("refreshBackups");};_.g.MV=function(){throw CP("getAndroidBackupItems");};_.g.M8=function(){throw CP("deleteBackup");};_.g.jGa=function(){throw CP("permissionQuery");};_.g.yaa=function(){throw CP("insertPermission");};_.g.N8=function(){throw CP("deletePermission");};_.g.xd=function(){throw CP("mutate");};_.g.jO=function(){throw CP("mutateWorkspace");};
_.g.vz=function(){throw CP("bulkMutate");};_.g.xxa=function(){throw CP("createFileUploader");};_.g.LSa=function(a){return new AP(this.context.Sm(),a)};_.g.Pq=function(a){if(3===a.getType())return _.$h(this.context.Sm().then(function(b){return b.Ve(a)}).then(null,_.WL));throw CP("getApps with type "+a.getType());};_.g.Br=function(){throw CP("getApp");};_.g.Aaa=function(){throw CP("installApp");};_.g.L8=function(){throw CP("deleteApp");};_.g.uT=function(){throw CP("updateApp");};
_.g.GN=function(){throw CP("getUserAccount");};_.g.cH=function(){throw CP("getUserPrefs");};_.g.iS=function(){throw CP("mutateUserPref");};_.g.lu=function(){throw CP("getRevisions");};_.g.hCa=function(){return!1};_.g.Kl=function(a){this.context.fz?a?_.VYc(this.context.fz,!0):this.context.nk().Xe()&&this.context.fz.wM(!0).then(null,function(){}):this.context.Ij().Kl(a)};_.g.Vy=function(){throw CP("setOfflineOptIn");};_.g.vY=function(){throw CP("setLocalItemService");};_.g.sF=function(){};
_.g.kS=function(){this.context.kS();this.context.Tk().O(106006)};_.g.Z9=function(){return this.Fa};_.g.tY=function(){};_.g.BB=function(){return this.context.JI.BB()};_.g.wQ=function(){return _.S(this.context.Pc.Yf(),52,!1)?_.Ph(V9c(new U9c,0)):this.context.JI.wQ()};_.g.isConnected=function(){return 1===this.context.nk().get()};_.g.h8=function(){var a=this.context.fz;return a?a.wM():_.Ph(_.EYc(0))};_.g.sync=function(){throw CP("sync");};_.g.Ku=function(){return this.context.Ku()};
_.g.Sba=function(){throw CP("offlineDataLoaded");};_.g.poa=function(a){return this.context.Sm().then(function(b){return b.Ve(a)}).then(function(b){return b})};_.g.Rwa=function(){throw CP("categoryMetadataQuery");};_.g.g8=function(){throw CP("changeCategoryLinks");};_.g.vP=function(){throw CP("updateCategoryMetadata");};_.g.CGa=function(){throw CP("publishedCategoriesQuery");};_.g.Boa=function(){throw CP("publishedCategoryQuery");};_.g.xLa=function(){throw CP("workspaceFindByIdsRequest");};
_.g.pra=function(){throw CP("workspaceQueryRequest");};_.g.NJa=function(){throw CP("suggestedWorkspaceItemQueryRequest");};_.g.OJa=function(){throw CP("suggestedWorkspaceQueryRequest");};_.g.W_=function(){throw CP("addCacheHint");};_.g.D0=function(){throw CP("createUserFeedback");};_.g.Zo=function(){throw CP("handleChanges");};var CP=function(a){return new _.nc(a+" is unsupported",_.UL(3))};
var v2c=function(a){BP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Iu("")};_.L(v2c,BP);v2c.prototype.$a=function(){YO(this.O,["NSockf"],this.iXa.bind(this))};
var nfd=new Set([1,2,4,5,6]),ofd=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.Re=0};ofd.prototype.Fh=function(){var a=new _.xP;a.Cc(this.status);this.H&&_.eed(a,this.H?this.H.clone():null);return a};
var pfd=function(a,b,c,d){d=void 0===d?!1:d;var e=nfd.has(c);if(1===a.status&&!e)return!1;a.Re=c;var f=a.status;c=!a.H;if(_.BL(a.O)){var h=(h=b&&b.getUser())&&_.RF(h);h=!(!h||!Ead(a.ka,h));a.status=h&&e||d?1:6}f=!_.ik(a.H,b)||(_.BL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.BL(a.O)||(a.status=e||d?1:6);c&&(ZO(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};ofd.prototype.We=function(){return this.Re};
var qfd=function(a){_.si.call(this);this.ha=a;this.Re=0};_.L(qfd,_.si);var rfd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};r8c(a,_.Pd(a,4).map(b));s8c(a,_.Pd(a,5).map(b));return a};_.g=qfd.prototype;_.g.Pq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.tQ=function(){};_.g.wD=function(){return 0!==this.Re};_.g.We=function(){return this.Re};
var sfd=new Set([1,2,4,5,6]),tfd=function(a,b,c){qfd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.Ep=!1};_.L(tfd,qfd);tfd.prototype.Pq=function(){var a=new UO;if(!_.Va(this.H)){_.Pj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Cb(a,2,b)}a.Cc(this.status);return a};tfd.prototype.put=function(a){this.H[a.getId()]=rfd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};tfd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
tfd.prototype.tQ=function(a,b,c){c=void 0===c?!1:c;var d=!sfd.has(b);1===this.status&&d||(this.Re=b,ufd(this,a,!d||c),d||this.V.update(1),this.Ep||(this.Ep=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),ZO(this.ha,"nVUlO")))};
var ufd=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Pd(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=_.$a(a.H);_.yUc(a.H);b=_.ck(b,_.EO,2);d||(d=b.length!==_.Qa(h));b.forEach(function(k){var l=rfd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ik(l,k))});a.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.gi("Qb",a))};
var DP=function(a){_.N.call(this);this.context=a;this.Gy=new Set;this.Op=6;this.UCa=!0;this.Re=0;this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(DP,_.N);_.g=DP.prototype;_.g.Zh=function(a){this.KRa(a);this.Gy.add(a);this.resize(!0);this.HO(a)};_.g.KRa=function(){};_.g.ik=function(a){this.Gy.delete(a);0!=this.Gy.size||this.tZa()?this.resize(!1):this.dispose()};_.g.We=function(){return this.Re};_.g.kj=function(a){this.Re=a};_.g.YB=function(a){this.UCa=!1;this.Op=a};_.g.NJ=function(){return this.Op};
_.g.refresh=function(){};_.g.tk=function(){};
var wfd=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)}}vfd(a.context.wf,d,b);d.forEach(function(k){Abd(a.context.$Ma,k,b);if(k.Bc()){var l=k.getCapabilities();MO(k)?l&&(_.XVc(l,_.R(l,13)),_.UVc(l,!1),_.aWc(l,!1)):WN(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.eWc(l,!1),_.fWc(l,!1))}k.getCapabilities()||_.WM(k,
new _.Rk)})};DP.prototype.resize=function(){};DP.prototype.yd=function(){};DP.prototype.ql=function(a,b){var c=this,d=!1;a.forEach(function(e){e=XO(e);d=c.Nu(e,!0)||d});b||(1!=this.NJ()&&(d=!0),this.YB(1));d&&this.WX()};var xfd=function(a,b){var c=!1;b.forEach(function(d){c=a.Nu(d)||c});c&&a.WX();return c};_.g=DP.prototype;_.g.update=function(a){return xfd(this,[a])};_.g.Nu=function(){};_.g.WX=function(){var a=this;this.JRa();this.Gy.forEach(function(b){a.HO(b)})};_.g.JRa=function(){};
_.g.HO=function(a){var b=yfd(this.context).ala(a);this.GYa(b)||(b=this.tk(b),yfd(this.context).HO(a,b))};_.g.VX=function(a){var b=this;this.YB(3);this.Gy.forEach(function(c){yfd(b.context).VX(c,a)})};_.g.oA=function(){var a=this;this.Gy.forEach(function(b){yfd(a.context).oA(b)});this.kj(0==this.We()?1:6)};_.g.tZa=function(){return!1};_.g.GYa=function(){return!1};
var zfd=function(a){_.gi.call(this,"Db");this.id=a};_.L(zfd,_.gi);
var Afd=function(a,b,c,d){d=void 0===d?!1:d;_.si.call(this);this.request=a;this.context=b;this.nLa=d;this.ne=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(Afd,_.si);
Afd.prototype.Yg=function(){var a=this;if(this.ne)return this.ne.promise;this.ne=_.Sh();for(var b={},c=_.m(this.request.jn().entries()),d=c.next();!d.done;b={Sra:b.Sra,afa:b.afa,Fra:b.Fra},d=c.next()){d=_.m(d.value);var e=d.next().value;b.Fra=d.next().value;b.Sra=f5c(e5c(e),this.request);b.afa=void 0;this.nLa&&(b.afa={nLa:!0});this.context.Sm().then(function(f){return function(h){return h.Ve(f.Sra,f.afa)}}(b)).then(function(f){return void Bfd(a,f)},function(f){return function(h){var k=f.Fra;h=_.UA(h);
5===h.Qg.nt()||4===h.Qg.Fk()?(a.context.Zf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),Cfd(a)):a.handleError(h)}}(b))}return this.ne.promise};var Bfd=function(a,b){b.qd().Gd().forEach(function(c){_.PL(c,1);a.W.push(c)});Cfd(a)},Cfd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
Afd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;Dfd(this);Efd(this);this.O.size===this.request.jn().length?(this.context.wf.ql([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.ne.resolve(this.items)):this.dispatchEvent("Cb")};
var Dfd=function(a){var b=a.W;a.W=[];b=a.context.aga.q9(b);if(_.uL(_.vL(a.context.Pc))){var c=a.context.wf.zm;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.VM(d,e.mk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.wf.ql(b,1,a.originalRequest,!0)},Efd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.QL(_.GL(new _.FL,c));a.context.wf.Zo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new zfd(c))})};
Afd.prototype.handleError=function(a){var b=new TO(a.Qg,_.Lj(this.context.Pc.Yf(),1,1));this.context.wf.uB(this.request,b);this.dispatchEvent(b);this.ne.reject(a)};
var Ffd=function(a,b,c,d){DP.call(this,a);this.Kg=b;this.request=c;this.Od={};this.H=null;this.O=_.LL(a.Pc)||new _.mUc;d&&this.ql(d,!0)};_.L(Ffd,DP);
Ffd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Op=6;if(_.S(this.request,5,!1))return this.YB(1),_.Ph();var b=!this.UCa&&_.S(this.O,3,!1)?!1:!V0c(_.hN(this.Kg),this.request.O()),c=[],d=this.context.$n();this.request.jn().forEach(function(h){if("root"!==h&&h!==d){var k=a.Od[h],l=k&&k.getItem();if(k=!k||l&&1!==ZN(l)||b)l=l&&l.Qm(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.ql([],!1),_.Ph();this.H=_.Sh();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.Uz(e,c);var f=new Afd(e,this.context,this.request);this.context.Ij().Xe()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),Gfd(a,f,a.H))}),this.Op=0<Object.values(this.Od).length?1:2):(this.context.nk().Xe()&&(this.Op=0<Object.values(this.Od).length?1:2),Gfd(this,f,this.H));return this.H.promise};var Gfd=function(a,b,c){a.Mc.listen(b,"Db",function(d){a.Od[d.id]=null});a.oA();b.Yg().then(function(){c.resolve()},c.reject)};
_.g=Ffd.prototype;_.g.pia=function(a){var b=this;if(this.context.yn.equals(a,this.request,!0)){if(V0c(_.hN(this.Kg),a.O()))return!0;if(V0c(this.request.O(),a.O(),_.hN(this.Kg))){if(this.UCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.jn().every(function(c){return(c=b.Od[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.tk=function(a){var b=new _.pN;_.BL(this.context.Pc)?b.Cc(h1c(Object.values(this.Od))?6:this.Op):b.Cc(this.Op);b.kj(this.We());t6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));wfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.yd=function(){return this.request};_.g.Nu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};
_.g.Gs=function(a){return!!a&&_.ma(this.request.jn(),a.getId())};
var Hfd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(Hfd,_.gi);
var Ifd=function(a){var b=new Jad;if(a.Uf()){var c=a.Uf();b.H=!1;b.suggestionSessionId=c}a instanceof _.qN&&_.ck(a,_.Dk,6).length?(a=_.ck(a,_.Dk,6),b.H=!1,b.V=a):a instanceof _.KA&&(a.x6()||a.Msa()||a.Mka().length)&&(c=a.x6(),b.H=!1,b.W=c,c=a.Msa()||!1,b.H=!1,b.incompleteSearch=c,a=a.Mka(),b.H=!1,b.O=a);return b};
var EP=function(a,b,c,d,e){e=void 0===e?"":e;_.si.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.Ja=a.Zf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.zGa(b);this.ha=new Jad};_.L(EP,_.si);var Jfd=function(a){return!a.va||""!==a.nextPageToken},Lfd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&Jfd(a)?Kfd(a):_.Zh()};EP.prototype.jc=function(){return this.V.length};EP.prototype.H=function(){return this.V.slice()};
var Kfd=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 _.Wh;d.addCallback(function(f){return void Mfd(a,c,f)});var e=_.SUc(_.TUc(new _.CL,a.Fa),c);b=_.QUc(new _.MTc,b);a.Ha&&_.A(b,10,!0);_.RUc(e,b);a.va=!0;a.O=!0;a.context.Sm().then(function(f){return f.Ve(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
EP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.qN)var c=b;else c=b.qd(),this.nextPageToken=b.Yn()||"";this.ha=Ifd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Gd())};
EP.prototype.handleError=function(a,b,c){c=_.UA(c);this.O=!1;if(5===c.Qg.nt())a.callback([]);else{if(10===c.Qg.nt()&&(_.QUc(b,Math.ceil(_.Lj(b,1,1E3)/2-2E-15)),1<_.Lj(b,1,1E3))){var d=_.RUc(_.SUc(_.TUc(new _.CL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Sm().then(function(e){return e.Ve(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new TO(c.Qg,_.Lj(this.context.Pc.Yf(),1,1));this.XMa(b);this.dispatchEvent(b);a.Pd(c)}};
var Mfd=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: ")+(_.VXc(a.request)+" paginationToken: ")+b;b=_.Vp(_.Tp(_.IL(_.HL(new _.mc,2),9),f));a.context.dispatchEvent(new _.oc(new _.nc(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())_.PL(b.value,
a.ma?2:1);c=[];b=_.m(a.g2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.GL(new _.FL,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new Hfd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return Kfd(a);a.dispatchEvent("Fb")};_.g=EP.prototype;_.g.g2a=function(a){return a};_.g.XMa=function(){};_.g.yd=function(){return this.request};_.g.zGa=function(a){a=a.clone();this.ma&&_.A(a,46,!0);return a};_.g.log=function(a){this.Ja.info("drive.ds.sync.query.QueryRunner",a)};
var Nfd=function(a,b,c,d){EP.call(this,a,b,void 0,c,d)};_.L(Nfd,EP);Nfd.prototype.g2a=function(a){a=this.context.aga.q9(a);this.context.wf.ql(a,1,this.request,Jfd(this));return a};Nfd.prototype.XMa=function(a){this.context.wf.uB(this.request,a)};Nfd.prototype.zGa=function(a){var b=a=EP.prototype.zGa.call(this,a),c=_.Dl(b);0===_.Pd(b,33).length&&1===c.length&&(c=this.context.wf.zm.H(c[0].Xa()))&&(c=c.Bc())&&(_.Fl(b,[c]),_.Gl(b,2));Ofd(this,a);return a};
var Ofd=function(a,b){if(_.Dl(b).some(function(d){return(d=a.context.wf.zm.H(d.Xa()))&&_.R(d,108)})){var c=b.we();c||(c=new _.of,_.El(b,c));_.pf(c,937)}};
var Pfd=function(a,b,c,d){this.context=a;this.Kg=b;this.W=d;this.roa=0;this.H=c},Tfd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Gl(_.Bl(_.Fl(new _.bf,[b]),_.hN(a.Kg)),1),d=_.pf(new _.of,306);_.El(c,d);Qfd(a);c=new Nfd(a.context,c);Lfd(c,5E3).addCallback(a.V.bind(a,c));Rfd(a);Sfd(a,b)}},Rfd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof Ffd});var c=new Set;b.forEach(function(d){d.yd().jn().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.pf(new _.of,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.KO([].concat(_.nd(c)),b)},Sfd=function(a,b){var c=[];(a.context.wf.HGa.CQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ik(e.yd(),d)&&c.push(e)})});_.Ea(c);0<c.length&&(Qfd(a),c.forEach(function(d){d=PO(a.context.yn,d.yd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Th(_.Rh(c.map(function(d){return d.refresh().Sg(_.Ff)})),a.O.bind(a)))};
Pfd.prototype.KO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ee(f)});if(0===a.length)return _.Ph({});a=_.A(_.Tz(_.Uz(new _.Sz,a),d||_.hN(this.Kg)),7,!0);_.Vz(a,b);e&&e.length&&_.Cb(a,11,e);Qfd(this);b=new Afd(a,this.context,void 0,c);return _.Th(b.Yg(),this.V.bind(this,b))};Pfd.prototype.V=function(a){a.dispose();this.O()};var Qfd=function(a){a.roa++;a.context.Xs.setActive(!1)};Pfd.prototype.O=function(){this.roa--;0===this.roa&&this.context.Xs.setActive(!0)};
Pfd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Ufd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ne=null;a=new _.of;_.qf(a,!1);_.pf(a,305);_.El(this.request,a);this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(Ufd,_.N);
Ufd.prototype.Yg=function(){if(!this.ne){this.ne=_.Sh();if(_.S(this.request,48,!1))return this.H.kj(9),this.ne.resolve(this.H),this.ne.promise;this.O=new EP(this.context,this.request,!0);this.Mc.listen(this.O,"Cb",this.W);this.Mc.listen(this.O,"Fb",this.V.bind(this));this.Mc.listen(this.O,"Gb",this.ne.reject.bind(this.ne));Lfd(this.O,this.request.Li())}return this.ne.promise};Ufd.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(XO(new KO(b)))};
Ufd.prototype.V=function(){this.H instanceof aP?this.H.H=!Jfd(this.O):Jfd(this.O)&&$O(this.H);this.H.kj(5);this.ne.resolve(this.H)};
var Wfd=function(a,b){_.gi.call(this,Vfd);this.cache=a;this.changes=b};_.L(Wfd,_.gi);var Vfd="Rb";
var Xfd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.my().forEach(function(h){var k=h.getId();n1c(h.getItem());f[k]=new KO(h.getItem())});e.items.forEach(function(h){var k=h.Ic();k=f[k];h.qk()?k&&a.update(new E$c(k.getId(),k,null)):(h=h.getItem(),n1c(h),a.update(F$c(k,new KO(h))))});a.pX();c(e.pLb)},d)})};
var Yfd=function(a,b){_.N.call(this);this.context=a;this.Kg=b};_.L(Yfd,_.N);
Yfd.prototype.Yg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new IO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.VL(q));return}a=_.vL(this.context.Pc);if(!_.uL(a)){var c=b.Fh();if(c){var d=c.getUser();d&&d.getId()===_.F(a,6,"")&&pfd(this.context.jQ,c,4)}(a=b.$n())&&this.context.Iu(a,6)}var e=_.C(b,3)||void 0;e&&Zfd(this.context,e,!0);if((a=_.ck(b,_.bp,9))&&a.length){c=(c=this.context.Pc.Yf())&&_.Pd(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.cp(q))&&f.add(q)});this.context.rE.tQ(a,4,[].concat(_.nd(f.values())))}a=b.Gd();a.forEach(function(q){_.eVc(q);_.PL(q,6)});if(c=_.ck(b,HO,5)[0])if(b=this.context.yn,b1c(_.hN(this.Kg),c.getQuery().O(),_.aN(this.context.Pc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.CRc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=OO(b,c.getQuery());var h=_.C(c,2)||void 0;d.wi(h);h=a.map(function(q){return new KO(q,void 0,1,e)});var k=_.E(c,_.Wk,
3);if(k&&_.C(c,2)){var l=h[h.length-1];_.PL(k,6);if(!_.ik(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.LL(this.context.Pc))&&_.S(k,2,!1)&&c.Yn()||"";var p=new aP(this.context.zu,this.context.Ew,this.context.yn,d,l,c);p.kj(4);h.forEach(function(q){p.update(XO(q))});$fd(this.context.wf,p);l=p.yd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+PO(b,l));b=new _.CL;_.TUc(b,l);l=_.dZc(this.context.TA,
b,"IVDP");_.eZc(l,a);ZO(this.context.Oj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+z9c(b,c.getQuery().O()));else this.handleError("No initial query found")};Yfd.prototype.handleError=function(a,b){var c=b?void 0:_.Vp(_.IL(_.HL(new _.mc,2),6));b=new _.nc(a,c,b);this.context.CJ(b.Qg);this.log("Initial view dump population failed. Message: "+a);ZO(this.context.Oj,"DEJoH")};Yfd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var agd=function(a){_.si.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new cP(a.zu,a.Ew,a.Oj,function(){return a.$n()})};_.L(agd,_.si);var bgd=function(a,b){var c=_.Lj(a.context.Pc,31,2E4);("number"===typeof _.C(b,3)?_.C(b,3):c+1)>c?($O(a.O),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.TA.Jb("CachedCorpusType",b)};
agd.prototype.log=function(a,b){this.context.Zf().log(this.W,a,b||"info")};var cgd=function(a,b){0===a.V&&(a.V=b)};
var dgd=function(a,b){var c;if(c=!!b&&!!b.hh())a=a.Fm(),c=null==a||!!b.hh().Fm()==a;return c};
var egd=function(a,b){_.si.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(egd,_.si);egd.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():fgd(this)};egd.prototype.jc=function(){return this.V.length};
var fgd=function(a){a.O=!0;a.H=!0;var b=w4c(x4c(new _.LM,a.request),a.nextPageToken),c=_.dZc(a.context.TA,b);return _.$h(a.context.Sm().then(function(d){return d.Ve(b)}).then(function(d){var e=d.qd().Gd();a.nextPageToken=d.Yn()||"";ggd(a,c,e)},function(d){return void a.handleError(d)}))},ggd=function(a,b,c){_.eZc(b,c);for(b=0;b<c.length;b++)_.PL(c[b],1);a.context.wf.ql(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.GL(new _.FL,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new Hfd("Cb",d));a.nextPageToken?fgd(a):(a.H=!1,a.dispatchEvent("Fb"))};egd.prototype.handleError=function(a){this.H=!1;a=new TO(_.JL(a),_.Lj(this.context.Pc.Yf(),1,1));this.dispatchEvent(a)};egd.prototype.yd=function(){return this.request};
var hgd=function(a){this.H=_.DRc(a,{numeric:!0})};hgd.prototype.sort=function(a){_.Ha(a,this.compare.bind(this))};hgd.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 igd=function(a,b,c,d){d=void 0===d?!1:d;DP.call(this,a);this.Kg=b;this.Od=[];this.ne=null;this.request=c.clone();this.Av=new egd(a,this.request);this.$Pb=new hgd(iO(_.vL(a.Pc)));this.TW=null!=_.R(this.request,6);_.ze(this,this.rnb,this);d&&(this.ne=_.Sh(),this.ne.resolve())};_.L(igd,DP);_.g=igd.prototype;_.g.refresh=function(){3===this.Op&&(this.Op=6,this.ne=null);return this.Tca()};_.g.isInitialized=function(){return!!this.ne};
_.g.Tca=function(){var a=this;if(this.isInitialized())return this.ne.promise;this.ne=_.Sh();this.context.Ij().Xe()?this.Mc.listen(this.context.Ij(),"Ab",function(b){b.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),a.oA(),a.Av.Yg().Sf(a.ne.resolve,a.ne.reject,a.ne))}):this.context.nk().Xe()?this.Mc.od(this.context.nk(),[_.WA.HL,_.WA.FU],function(){a.oA();a.Av.Yg().Sf(a.ne.resolve,a.ne.reject,a.ne)}):(this.oA(),this.Av.Yg().Sf(this.ne.resolve,this.ne.reject,this.ne));return this.ne.promise};_.g.resize=function(){};
_.g.yd=function(){return this.request};_.g.my=function(){return this.Od};_.g.pia=function(a){return this.context.yn.equals(a,this.request)};_.g.tk=function(a){a=a.Li();this.$Pb.sort(this.Od);var b=P1c(_.Aa(this.Od,0,Math.min(a,this.Od.length)));wfd(this,V4c(this.Kg),b);var c=new _.KA;c.Vw(b);c.Cc(this.fxa(a));c.kj(this.We());Y3c(c,a<this.Od.length||!(this.context.Ij().Xe()||this.context.nk().Xe())&&1!==this.Op);return c};
_.g.fxa=function(a){return 1===this.Op||a<=this.Od.length?1:this.context.Ij().Xe()||this.context.nk().Xe()?0<this.Od.length?1:2:6};_.g.ql=function(a,b){this.isInitialized()&&DP.prototype.ql.call(this,a,b)};_.g.Nu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Od,function(h){return h.getId()===c}),e=!!d;b=this.Gs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.WKa(f,a.H):this.yJ(f):this.IR(a.H);else return!1;return!0};_.g.IR=function(a){this.Od.push(a);a.count++};
_.g.yJ=function(a){_.va(this.Od,a);a.count--};_.g.jza=function(a){return _.la(this.Od,a)};_.g.WKa=function(a,b){this.Od[this.jza(a)]=b;b.count++;a.count--};_.g.Gs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.TW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Od.find(function(d){return c===d.getId()},this);a=MO(a.getItem())&&dgd(this.request,a.getItem());return b&&a}return MO(a.getItem())&&dgd(this.request,a.getItem())};_.g.rnb=function(){this.Od.forEach(function(a){a.count--})};
_.g.tZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Od.length};_.g.pX=function(){this.Op=1};
var jgd=function(a){this.H=a},kgd=function(a,b,c,d,e){if(0===e||null===b){var f=new Mdd;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=T9c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.Ve(h)}).then(function(k){var l,p=null!==(l=k.ty())&&void 0!==l?l:null;k=d+_.C(k,1);return kgd(a,p,c,k,e-1)})};
var lgd=function(a,b){agd.call(this,a);this.Kg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.ND=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Pc};_.L(lgd,agd);lgd.prototype.handleError=function(){this.log("Local dump population failed.");ZO(this.context.Oj,"mrK8ic")};
lgd.prototype.Yg=function(){var a=this;if(this.ka)return this.ka;if(this.context.JQ){var b=new _.Wh;this.ka=b;this.initialize().then(function(){var c=_.ck(_.jO(a.H),hO,11);c=c[0]&&c[0].getKey()||"";return mgd(a,a.context.JQ,c,4)}).Sg(function(c){if(_.S(a.H,8,!0))return ngd(a);throw c;}).then(function(){_.BL(a.H)||a.context.wf.Eq.H.clear();ZO(a.context.Oj,"zaOY7");b.callback()},function(c){cgd(a,8);a.handleError();b.Pd(c)});return b}this.handleError();return _.ai(Error("cg"))};
lgd.prototype.initialize=function(){var a=this;return this.context.JQ.initialize().then(function(){if(!_.bN(a.H)){var b=_.Lj(_.jO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Vcd(a.context.GD).then(function(e){e?c():d(Error("dg"))})})}})};
var mgd=function(a,b,c,d){var e=a.ha;ogd(a,b,c,e);pgd(a,b,c,e);qgd(a,b,c,e);return rgd(a,b,c,e).then(function(){return Promise.all([sgd(a,b,c,d,e),tgd(a,b,c,d,e),ugd(a,b,c,d,e),vgd(a,b,c,d,e)])})},ogd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};kP(b,c,0,void 0,d,a.ND).then(function(f){f[0]?pfd(a.context.jQ,f[0],a.We(),_.bN(a.H)):e()},function(){return e()})},pgd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};kP(b,
c,1,void 0,d,a.ND).then(function(f){f[0]?a.context.j_.tQ(f[0],a.We(),_.bN(a.H)):e()},function(){return e()})},qgd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};kP(b,c,5,void 0,d,a.ND).then(function(f){if(f[0]){f=f[0];var h=_.ck(f,_.bp,1);h.length&&a.context.rE.tQ(h,a.We(),_.Pd(f,2),_.bN(a.H))}else e()},function(){return e()})},sgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,1,e,a.ND).then(function(h){return wgd(a,h[0])}).then(function(h){if(h){b!==a.context.JQ||
b1c(_.Pd(h,12),_.hN(a.Kg),_.aN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Xs.uS());var k=_.C(h,3);if(!k||0>k)throw Error("gg");a.context.Iu(h.$n(),d);k=_.C(h,3);"number"===typeof k&&Zfd(a.context,Number(k));_.bN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.mEa());a.ql(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},tgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,2,e,a.ND).then(function(h){h[0]?
(a.ql(h[0],d),f.resolve()):f.reject(Error("eg"))},f.reject,f);return f.promise},ugd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,4,e,a.ND).then(function(h){h.forEach(function(k){a.ql(k,d)});f.resolve()},f.reject,f);return f.promise},vgd=function(a,b,c,d,e){var f=new _.tn;kP(b,c,3,3,e,a.ND).then(function(h){h.length?h.forEach(function(k){a.ql(k,d)}):ZO(a.context.Oj,"rVezo");f.resolve()},f.reject,f);return f.promise},rgd=function(a,b,c,d){var e=new _.tn;kP(b,c,6,void 0,d,a.ND).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.ck(h,VO,1).length&&(a.log("Importing "+_.ck(h,VO,1).length+" people into the PeopleCache."),h=_.ck(h,VO,1),iad(a.context.wf.Eq.H,h,2));e.resolve()},e.reject,e);return e.promise},wgd=function(a,b){var c=_.C(b,3);if(c&&!_.bN(a.H)){var d=new jgd(a.context.Sm()),e=_.Lj(_.jO(a.context.Pc),13,5);return kgd(d,c,null,0,e).then(function(f){return _.Q(f,2)?(a.log("Encrypted dump too stale."),a.context.Tk().O(106007),cgd(a,9),null):b},function(){return b})}return _.Ph(b)},
ngd=function(a){var b=lP(a.context.PL.Ci()),c=_.ck(_.jO(a.H),hO,11).filter(function(d){return d.Bs()});return Ncd(_.$M(_.vL(a.H)),_.aN(a.H),_.Lj(_.jO(a.H),10,0)||0,_.hN(a.Kg),a.ha||0,c.map(function(d){return _.C(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.C(k,1)}),f=new mP(_.Ph(d),a.context.Zf(),null,!0),h=new Mbd(f,a.H,function(k){a.context.CJ(k)});h.initialize();a.ma=!0;return mgd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Scd])}).then(function(k){if(k[0])return k=
k[0].Xa(),a.context.GD.set(Scd,k)}).then(function(){f.close()})}return _.Qh(Error("fg"))})},Agd=function(a,b,c){switch(b.Bo()){case 1:return xgd(a,b,c);case 2:b=_.E(b,a2c,11);if(!b)throw Error("hg");bgd(a,b);a.O.TN?(a.O.kj(a.We()),a=[{cache:a.O,changes:iP(a.context.wz,null)}]):a=[];return a;case 3:return ygd(a,b);case 4:return zgd(a,b);default:return null}},xgd=function(a,b,c){var d=[];_.ck(b,HO,5).forEach(function(e){var f=void 0,h=_.E(e,_.Wk,3);h&&(_.eVc(h),_.R(a.H,67)&&Q0c(h,e1c),_.PL(h,c),f=new KO(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.ck(a.H,_.bf,44).some(function(l){if(!_.S(l,48,!1))return!1;l=OO(a.context.yn,l,!0);return _.ik(l,k)}))e=new aP(a.context.zu,a.context.Ew,a.context.yn,k,f),e.kj(a.We()),d.push({cache:e,changes:iP(a.context.wz,null)})});return d},zgd=function(a,b){return _.ck(b,HO,5).map(function(c){c=new igd(a.context,a.Kg,_.E(c,_.oL,5),!0);c.kj(a.We());return{cache:c,changes:iP(a.context.wz,null)}})},ygd=function(a,b){var c=_.Pd(_.ck(b,HO,5)[0].getQuery(),33)[0],d=_.C(b,3)||
void 0;b=iP(a.context.wz,c);FP(a.context).addCallback(function(f){f.Lva(c,d)});var e=new dP(a.context.zu,a.context.Ew,c);e.kj(a.We());return[{cache:e,changes:b}]};
lgd.prototype.ql=function(a,b){var c=this,d=Agd(this,a,b);d&&0!==d.length?(a.Gd().forEach(function(e){_.eVc(e);_.R(c.H,67)&&Q0c(e,e1c);_.PL(e,b);if(!_.BL(c.H)&&!c.context.wf.Eq.H.wc()){var f=c.context.wf.Eq;Bad(f,uad(f,[e]))}e=new KO(e);for(f=0;f<d.length;f++)d[f].cache.update(XO(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Wfd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof dP&&(h=f.Bc());c.context.waa.promise.then(function(){ibd(c.context.wz,
h)})}),1===a.Bo()&&ZO(this.context.Oj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.Bo()+".")};lgd.prototype.We=function(){return this.ma?7:3};
var Bgd=function(a){_.N.call(this);this.context=a};_.L(Bgd,_.N);Bgd.prototype.Yg=function(a){try{Cgd(this,new Fdd(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var Cgd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:Dgd(a,b);break;case 4:Egd(a,b);break;case 6:Fgd(a,b);break;case 2:Ggd(a,b);break;case 7:Hgd(a,b);break;case 5:_.ck(_.E(b,Hdd,7),Fdd,1).forEach(function(c){Cgd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},Dgd=function(a,b){var c=_.E(b,_.bf,2);b=JSON.parse(_.C(b,3)||"{}");var d=new _.CL;_.TUc(d,c);b=a.context.mR().dta.OE(d,{headers:{},text:"",json:b}).qd();
Igd(a,c,b)},Fgd=function(a,b){Igd(a,_.E(b,_.bf,2),_.E(b,_.KA,9))},Igd=function(a,b,c){for(var d=c.Gd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.PL(f.value,7);c=Ifd(c);a=a.context.wf;b=OO(a.context.yn,b);e=GP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new HP(a.context,b),f.kj(2),a.O[e]=f);c.wc()||f.cta(c);a.ql(d,1,b)},Ggd=function(a,b){b=_.E(b,_.lz,5);var c=a.context.Pc.Yf();c=c&&_.Pd(c,30)||[];var d=new Set(c);_.ck(b,_.bp,3).forEach(function(e){(e=(e=e.getKey())&&
_.cp(e))&&d.add(e)});a.context.rE.tQ(_.ck(b,_.bp,3),2,[].concat(_.nd(d.values())))},Egd=function(a,b){a.context.bga.d3(_.E(b,WO,8).nl(),_.E(b,_.Cz,6),2,!1)},Hgd=function(a,b){var c=_.E(b,_.IF,10);b=JSON.parse(_.C(b,3)||"{}");b=a.context.mR().dta.OE(c,{headers:{},text:"",json:b});$ed(a.context).d3([b],c,2,!1)};Bgd.prototype.handleError=function(a,b){var c=b?void 0:_.Vp(_.IL(_.HL(new _.mc,2),6));this.context.dispatchEvent(new _.oc(new _.nc(a,c,b)));this.log("Prefetched request population failed.")};
Bgd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var IP=function(a){agd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.Lj(a.Pc,31,2E4))};_.L(IP,agd);IP.prototype.Yg=function(){if(!_.S(this.context.Pc,45,!1))return cgd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.OVa().addCallback(this.va,this).addCallback(this.oa,this).Gg(this.handleError,this)};
IP.prototype.va=function(){var a=this;ZO(this.context.Oj,"L6uQWd");FP(this.context).addCallback(function(b){b.wea()});if(_.S(this.context.Pc,46,!1))return $1c(this.context.Sm(),this.context.Zf()).addCallback(function(b){if(!b)throw cgd(a,4),Error("jg");bgd(a,b)});this.log("Subscribed corpus cache population disabled.");$O(this.O);return _.Zh()};
IP.prototype.oa=function(){this.context.mEa();var a=new _.Wh;if(this.O.TN){this.log("Starting subscribed corpus cache population.");var b=this.O.yd();b.wi(this.ma);this.O.kj(5);Jgd(this,this.O,b)}b=_.ck(this.context.Pc,_.bf,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new aP(this.context.zu,this.context.Ew,this.context.yn,c.value),c.kj(5),Jgd(this,c,c.yd()),c=PO(this.context.yn,c.yd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Rh(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var Jgd=function(a,b,c){var d=iP(a.context.wz,null);b=new Ufd(a.context,b,c);a.H.push(b);b=_.Th(b.Yg().then(function(e){!e.TN&&e instanceof cP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.TA.Jb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Wfd(e,d))}),function(){a.context.waa.promise.then(function(){ibd(a.context.wz,null)})});a.ha.push(b)};
IP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();cgd(this,7);c=b;b instanceof TO?c=_.VL(b.error):_.AL(b)||(c=Error("kg`"+b));a.Pd(c)};IP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");ZO(this.context.Oj,"Gv4zef")};IP.prototype.We=function(){return 5};
var Kgd=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Mc=new _.He(this);this.impression=null;this.W=[];this.Ma(this.Mc);this.H=new lgd(this.context,this.context.Kg);this.Ma(this.H);this.O=new IP(this.context);this.Ma(this.O)};_.L(Kgd,_.N);
Kgd.prototype.Yg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Tk().H(106002);_.n._DRIVE_dsp&&Lgd(this);_.n._DRIVE_dspc=function(c){Lgd(a,c)};iP(this.context.wz,null);_.S(this.context.Pc,24,!1)&&!_.bN(this.context.Pc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?Mgd(this):_.n._DRIVE_ivdc=function(){Mgd(a)});var b=this.context.JQ;if(b)return this.Mc.listen(this.H,Vfd,this.ha),this.Mc.listen(this.O,Vfd,this.ha),(!_.S(this.context.Pc,10,!1)&&_.R(this.context.Pc,
69)?this.context.LX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.ND=a.impression);return a.H.Yg().Sf(function(){return Ngd(a,a.H.We())},function(){Ogd(a,a.H.We(),a.H.V);return _.bN(a.context.Pc)?a.handleError(Error("lg")):a.O.Yg().then(function(){return Ngd(a,a.O.We())},function(c){Ogd(a,a.O.We(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.AL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var Lgd=function(a,b){var c=new Bgd(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.Yg(d)});c.dispose()};Kgd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(Pgd(this,b,a.changes))};
var Ngd=function(a,b){ibd(a.context.wz,null);ZO(a.context.Oj,"L6uQWd");FP(a.context).addCallback(function(c){c.wea()});return Promise.all(a.W).then(function(){Qgd(a,b)})},Qgd=function(a,b){if(!a.isDisposed()){_.bN(a.context.Pc)||Rgd(a.V,_.ck(a.context.Pc,_.bf,44));a.log("Corpus cache population complete.");var c=a.context.Oj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Xs.nEa():Vcd(a.context.GD).then(function(d){d&&a.context.Xs.nEa()},function(){});ZO(c,"rVezo");ZO(c,"BNEDtc");a.impression&&(b=_.oN(_.aUc,
b),O4c(X4c(a.impression),b),N4c(X4c(a.impression),!0),P4c(X4c(a.impression),o9c(a.V.zm)),Q4c(X4c(a.impression),a.context.wf.Bo()),a.impression.Yj());a.dispose()}},Ogd=function(a,b,c){a.impression&&(b=_.oN(_.aUc,b),O4c(X4c(a.impression),b),a=X4c(a.impression),_.ak(a,3,c,void 0))};
Kgd.prototype.handleError=function(a,b){b=void 0===b?!1:b;ibd(this.context.wz,null);var c=this.context.Oj;ZO(c,"L6uQWd");FP(this.context).addCallback(function(d){d.wea()});ZO(c,"mrK8ic");ZO(c,"Gv4zef");ZO(c,"rVezo");ZO(c,"BNEDtc");this.context.TA.Jb("CachedCorpusType","partialCorpus");c=!!this.H.context.JQ||_.S(this.O.context.Pc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.AL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.nc(b,void 0,c),c=a.Qg,_.HL(c,_.bN(this.context.Pc)?3:
1),_.IL(c,6),_.Tp(c,b),_.Vp(c),this.context.dispatchEvent(new _.oc(a))):this.log("Corpus population skipped");this.impression&&(N4c(X4c(this.impression),!1),this.impression.Yj());this.dispose()};
var Pgd=function(a,b,c){return Xfd(b,c).then(function(d){d.some(function(e){return b instanceof dP&&e.qk()&&e.Ic()===b.Bc()})||$fd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},Mgd=function(a){if(_.n._DRIVE_ivd){var b=new Yfd(a.context,a.context.Kg);a.Ma(b);b.Yg(_.n._DRIVE_ivd)}else ZO(a.context.Oj,"DEJoH")};Kgd.prototype.log=function(a){this.context.Zf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Sgd=function(){bP.apply(this,arguments)};_.L(Sgd,bP);Sgd.prototype.Gs=function(a){var b;if(b=bP.prototype.Gs.call(this,a))a=a&&a.getItem()&&a.getItem().Qm(),b=!(!a||!_.R(a,3));return b};Sgd.prototype.yd=function(){};Sgd.prototype.getType=function(){};Sgd.prototype.XN=function(){};
var Tgd=function(a,b){this.context=a;this.H=b;this.CQ={}},Vgd=function(a,b){if(!_.sM(b)){var c=_.Pd(b,33);if(1===c.length)Ugd(a,c[0],b);else{c=_.Dl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Xa();c=a.H.get(d);if(!c){c=a.context.wf.II;var e=_.pf(new _.of,310);c.KO([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.le(h)&&(f=f.Bc(),Ugd(a,f,b))}else Ugd(a,null,b)});return}if(c.getItem().Bc()&&_.le(c.getItem().getCapabilities())){c=c.getItem().Bc();Ugd(a,c,b);return}}Ugd(a,
null,b)}}},Ugd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!MO(d.getItem()))return}d=b||"subscribed";a.CQ[d]||(a.CQ[d]=[]);a.CQ[d].push(c);b&&(FP(a.context).addCallback(function(e){e.Lva(b)}),Wgd(a.context.ZJa,b))},Xgd=function(a,b){if(!_.sM(b)){var c={},d;for(d in a.CQ){c.ST=d;for(var e=0;e<a.CQ[c.ST].length;e++)if(_.ik(b,a.CQ[c.ST][e])){_.ta(a.CQ[c.ST],e);"subscribed"!==c.ST&&FP(a.context).addCallback(function(f){return function(h){h.jHa(f.ST,!1)}}(c));return}c={ST:c.ST}}}};
var Ygd=function(){this.H=new Map;this.O=[];this.V=[]};
Ygd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();VN(e)&&(a?(e=a.getItem().Of())&&_.C(e,1)&&(1===_.Vd(e)||3===_.Vd(e))&&(e=_.C(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.ik(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var Zgd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},$gd=function(a){a.O=[];a.V=[]};
var ahd=function(a,b){jP.call(this,a.clone(),b.Sm(),b.Pc,b.Zf());this.context=b};_.L(ahd,jP);ahd.prototype.W=function(a){var b=new Map;a.jn().forEach(function(c){var d=a.clone();d=_.Pj(d,2,[c]);b.set(c,d)});return b};ahd.prototype.V=function(a){a=a.Gd()[0];this.context.wf.ql([a],1,void 0,!0,this.request.O())};ahd.prototype.ha=function(a){this.context.wf.ql([],1,a,!1,this.request.O())};ahd.prototype.ka=function(a){a=_.QL(_.GL(new _.FL,a));this.context.wf.Zo([a])};
var bhd=function(a,b,c,d){DP.call(this,a);this.Kg=b;this.request=c;this.Od={};d&&this.ql(d,!0)};_.L(bhd,DP);_.g=bhd.prototype;
_.g.refresh=function(){var a=this;this.Op=6;var b=LO(this.context.Pc)!==LO(this.context.Pc,this.request.O()),c=[];this.request.jn().forEach(function(h){var k=a.Od[h];k&&k.getItem().hh()&&!b||c.push(h)});if(0===c.length)return this.ql([],!1),_.Ph();var d=this.request.clone();_.Pj(d,2,c);var e=new ahd(d,this.context),f=_.Sh();this.context.Ij().Xe()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),a.oA(),e.Yg().then(f.resolve,f.reject,f))}),this.Op=0<_.Qa(this.Od)?
1:2):(this.context.nk().Xe()&&(this.Op=0<_.Qa(this.Od)?1:2),this.oA(),e.Yg().then(f.resolve,f.reject,f));return f.promise};_.g.pia=function(a){return this.context.yn.equals(a,this.request)&&V0c(_.hN(this.Kg),a.O())};_.g.tk=function(a){var b=new _.pN;b.Cc(this.Op);b.kj(this.We());t6c(b,_.Oa(this.Od,function(c){return c?c.getItem():null}));wfd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.yd=function(){return this.request};
_.g.Nu=function(a){var b=this.Gs(a.O),c=this.Gs(a.H);if(b||c)c?(this.Od[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Od[a.id]=null,a.O.count--);else return!1;return!0};_.g.Gs=function(a){return!!a&&this.request.jn().includes(a.getId())};
var HP=function(a,b,c,d,e){DP.call(this,a);var f=this;this.V=0;this.Od=[];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.oa=Date.now();this.request=b.clone();this.Av=new Nfd(this.context,this.request,!1,e);b=this.request.Ac()&&q9c(this.request.Ac());var h=this.context.Ew;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.TW=!b||!i9c(this.request)||_.uL(_.vL(a.Pc));this.Fa=O$c(this.request);
c&&this.ql(c,!d);this.va=_.Lj(a.Pc.Yf(),16,36E5);_.PM(this.request)&&this.Mc.listen(this.context.Fha,"Hb",this.Ha);_.ze(this,function(){_.aa(f.Av);f.clear()})};_.L(HP,DP);HP.prototype.refresh=function(){return chd(this,!1)};var chd=function(a,b){a.Op=6;if(_.S(a.request,48,!1))return a.Op=1,_.Ph();if(_.PM(a.request)){var c=dhd,d=a.context.Fha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return ehd(a,b)};
HP.prototype.initialize=function(){return this.count>=this.request.Li()||1===this.Op?_.Ph():this.refresh()};HP.prototype.clear=function(){fhd(this)};var fhd=function(a){a.Od.forEach(function(b){b.count--});a.count=0;a.Od=[];a.O.clear()},dhd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return chd(a,!0)},b)};HP.prototype.Ha=function(){Date.now()-this.oa>this.va&&dhd(this,0)};
var ehd=function(a,b){a.Av&&(a.Mc.Xc(a.Av,"Eb",a.cta),a.Mc.Xc(a.Av,"Fb",a.YMa),a.Av.dispose());var c=a.request.we();c&&_.qf(c,!1);a.Av=new Nfd(a.context,a.request,b);a.V=0;a.Mc.listen(a.Av,"Eb",function(){return a.cta(a.Av.ha)});a.Mc.listen(a.Av,"Fb",a.YMa);return a.Tca()};
HP.prototype.Tca=function(){var a=this,b=_.Sh();this.context.Ij().Xe()?this.Mc.listen(this.context.Ij(),"Ab",function(c){c.Xe()||(a.Mc.Xc(a.context.Ij(),"Ab"),ghd(a,b))}):this.context.nk().Xe()?this.Mc.od(this.context.nk(),[_.WA.HL,_.WA.FU],function(){ghd(a,b)}):ghd(this,b);return b.promise};var ghd=function(a,b){a.oA();var c=a.request.Li()+a.V;_.Vja(Lfd(a.Av,c).Sf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=HP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.nd(this.Gy)))),d=c.next();!d.done;d=c.next())d=d.value,d=yfd(this.context).ala(d),b=Math.max(b,d.Li());_.PM(this.request)?(this.request.wi(b),2!==this.We()&&!this.Av.O&&(b>this.count||a)?this.refresh():this.HJ()):this.request.Li()!==b&&(this.request.wi(b),b>this.count?this.Tca():this.HJ())};_.g.yd=function(){return this.request};_.g.pia=function(a){return this.context.yn.equals(a,this.request)};
_.g.tk=function(a){var b=a.Li(),c,d=!1;if(_.tM(this.request)){var e=this.Od.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=_.$k(k.getItem()).filter(function(l){return h.includes(_.E(l,_.Dk,1).getId())});k=k.clone();Z0c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.$k(l.getItem()).length})}d=h1c(e);c=new _.qN;_.A(c,4,!1);r5c(c,f)}else e=this.Od.slice(0,b),c=new _.KA,Y3c(c,b<this.Od.length||!(this.context.Ij().Xe()||
this.context.nk().Xe())&&1!==this.Op),_.x(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Pj(c,18,this.ha),d=h1c(e);e=P1c(e);wfd(this,a.O(),e);c.Vw(e);c.Cc(d?6:this.fxa(b));c.kj(this.We());c.QP(this.suggestionSessionId);return c};_.g.fxa=function(a){return 1===this.Op||a<=this.count?1:this.context.Ij().Xe()||this.context.nk().Xe()?0<this.Od.length?1:2:6};_.g.cta=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.MAa();this.W=a.V;this.suggestionSessionId=a.Uf()};
_.g.YMa=function(){var a=this.request.Li()-this.count;0<a&&Jfd(this.Av)&&(this.V+=a,this.Tca())};_.g.ql=function(a,b){_.PM(this.request)&&fhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=XO(d.value),c=this.Nu(d,!0)||c;b||(1!==this.Op&&(c=!0),this.Op=1);if(a=this.H){a:{a=this.Od;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.Mn("ViewCache unsorted after import"),this.context.Ew.sort(this.request,this.Od));c&&(this.WX(),hhd(this,b))};
var hhd=function(a,b){_.Dl(a.request).length&&a.Od.length&&a.context.i_.then(function(c){var d=c5c(a.context.Tk(),106024,a.ma);if(d){var e=_.Dl(a.request)[0].Xa(),f=_.E(_.nN(d),J4c,18);if(!f){f=new J4c;var h=_.nN(d);_.x(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Gt(a.Od.length);e=a.context.wf.Bo();_.A(c,4,e);a.ma=d;d.Yj()}})};_.g=HP.prototype;
_.g.Nu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.Gs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Mn("Updating different wrapper from the existing one"):this.Mn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.WKa(f,a.H):(this.yJ(f),_.PM(this.request)&&dhd(this,0));else{if(_.PM(this.request)&&!b)return!1;this.IR(a.H)}else return!1;return!0};_.g.IR=function(a){this.H?L0c(this.Od,a,this.H):this.Od.push(a);a.count++;ihd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.yJ=function(a){if(this.H){var b=this.Od,c=_.Ga(b,a,this.H);0<=c&&_.ta(b,c)}else _.va(this.Od,a);a.count--;ihd(a)&&this.count--;this.O.delete(a.getId())};_.g.jza=function(a){return this.H?_.Ga(this.Od,a,this.H):_.la(this.Od,a)};_.g.WKa=function(a,b){this.H&&0!==this.H(a,b)?(this.yJ(a),this.IR(b)):(this.Od[this.jza(a)]=b,b.count++,ihd(b)&&this.count++,a.count--,ihd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.Gs=function(a,b){if(!a)return!1;if(this.TW&&!_.PM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Od.find(function(e){return c===e.getId()},this);a=NO(this.context.zu,this.request,a.getItem());return b&&a}}if(!NO(this.context.zu,this.request,a.getItem()))return!1;var d=1.2*this.request.Li();if(1===this.Op||!this.H||S8c(a.H,2)||this.count<d||b||o1c(a.getItem()))return!0;b=0===this.Od.length?null:this.Od[this.Od.length-1];return!!b&&0>=this.H(a,b)};
_.g.HJ=function(){if(1!==this.Op&&!this.context.Ij().Xe()&&!this.context.nk().Xe()){var a=1.2*this.request.Li();if(!(a>=this.count||this.Av&&a>=this.Av.jc())){a=this.count-this.request.Li();for(var b=this.Od.length-1;0<=b&&0<a;b--){var c=this.Od[b];S8c(c.H,2)||o1c(c.getItem())||(c.count--,ihd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Od,b),a--)}ehd(this,!1)}}};_.g.Mn=function(a){var b=new _.mc;_.HL(b,2);_.IL(b,6);_.Vp(b);this.context.dispatchEvent(new _.oc(new _.nc(a,b)))};
var ihd=function(a){return!S8c(a.H,2)&&3!==ZN(a.getItem())};HP.prototype.KRa=function(a){var b=this,c=_.Dl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.wf.zm.H(d.Xa()))&&_.R(d,108)}),f$c(this.context.$fa,a,c))};HP.prototype.JRa=function(){this.HJ()};HP.prototype.GYa=function(a){return 1!==this.Op&&a.Li()>this.count&&this.Av.O};
var JP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Ygd;this.Mc=new _.He(this);this.Ma(this.Mc);this.context=a;this.Kg=b;this.dw=new V$c(a.yn);if(null===(c=_.LL(this.context.Pc))||void 0===c?0:_.S(c,15,!1))b=new K$c(a.zu,a.Ew),this.dw.add(b);this.H=new h9c(a.i_,a.zu,a.Ew);_.R(a.Pc,60)&&(this.va=new Sgd(a.zu,a.Ew));this.V=new c9c(a.Zf(),_.hN(this.Kg));jhd(this,_.Pd(this.context.Pc,28));this.zm=new k9c(this.Kg,this.context.yn,this.H,this.V);this.context.Tk().W.H=this.zm;this.II=
new Pfd(this.context,this.Kg,this.O,this.H);this.HGa=new Tgd(this.context,this.H);this.ka=new Kgd(this.context,this);_.ze(this.ka,function(){d.ka=null});this.oa=_.aVc(_.hN(this.Kg),khd);YO(this.context.Oj,["NSockf"],function(){return d.initialize()});YO(this.context.Oj,["NSockf","jroI5d"],function(){var e=d.context.Pc;if(_.E(e,_.Wk,12))e=_.E(e,_.Wk,12);else{var f=_.LVc(_.NVc(new _.Dk,_.$M(_.vL(e))),!0);f=_.A(f,6,1);var h=_.F(_.vL(e),6,"");h&&f.Pb(h);f=_.lTb(_.qWc(_.rWc(_.MF((new _.Wk).Pb(d.context.$n()).setTitle(_.F(e,
38,"My Drive")),"application/vnd.google-apps.folder").Pn(!1),f),[f]),1);f=_.A(f,29,!0);f=_.A(f,63,!0);e=_.OVc(new _.Rk,_.S(e,6,!0));e=_.A(e,2,!1);e=_.WM(f,_.aWc(_.UVc(_.TVc(_.XVc(_.YVc(_.WVc(_.VVc(_.SVc(_.RVc(_.QVc(_.PVc(_.A(e,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.ql([e],1);ZO(d.context.Oj,"hVFf7")});this.ha=_.Sh();YO(this.context.Oj,["BNEDtc"],function(){d.ha.resolve()});this.Eq=new tad(this.context.Pc,this.context.Zf(),a.Sm(),a.$fa,this.context.Tk(),this.context.LX.promise);_.BL(this.context.Pc)&&
this.Mc.listen(this.Eq,"Kb",this.ma);this.ZMa=new _.QYc(this.context.Pc,this.zm)};_.L(JP,_.N);
JP.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=_.C(d.value,1);for(var e=this.Eq.getItems(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.Eq.H.get(d),e=!(!d||1!==d.We()&&4!==d.We()||3===ead(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(),lhd(this,h),b.push(F$c(d,
new KO(h,void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");mhd(this,b,[]);this.context.Xs.update(6);a.size&&this.II.KO([].concat(_.nd(a)),_.pf(new _.of,311))};JP.prototype.initialize=function(){this.ka.Yg()};
JP.prototype.Zh=function(a,b){if(b instanceof _.bf)b=OO(this.context.yn,b),nhd(this,b.O()),Vgd(this.HGa,b),b=ohd(this,b),b.cache.Zh(a);else if(b instanceof _.Sz)b=phd(this,b),nhd(this,b.O()),b=qhd(this,b),b.cache.Zh(a);else if(b instanceof _.oL){var c=GP(this,b),d=this.O[c];d?(3==d.NJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,uv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new igd(this.context,this.Kg,b),d.refresh().Sg(_.Ff),this.O[c]=d,b={cache:d,uv:!0});b.cache.Zh(a)}else if(b instanceof _.JF)c=b.O(),d=this.V,d9c(d,d.H,d.O,c),b=qhd(this,b),b.cache.Zh(a);else throw Error("ng");return b.uv};
JP.prototype.ik=function(a,b){if(b instanceof _.bf)b=OO(this.context.yn,b),Xgd(this.HGa,b);else if(b instanceof _.Sz)b=phd(this,b);else if(!(b instanceof _.oL||b instanceof _.JF))throw Error("ng");b=GP(this,b);var c=this.O[b];c&&(c.ik(a),this.log("Unregistering live request: "+b),c.isDisposed()&&delete this.O[b])};
var GP=function(a,b){return PO(a.context.yn,b,2)},ohd=function(a,b){var c=GP(a,b),d=a.O[c];if(d)return 3==d.NJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,uv:!1};d=[];for(var e=5,f,h,k=W$c(a.dw),l=0;l<k.length;l++){var p=k[l];e=p.IE(b);if(5!=e){f=1==e?void 0:b.Li();d=p.ola(b,f);f=p.We();h=p instanceof aP?p.ty():"";a.log(c+" | ItemQueryRequest backed by "+p.getType()+" | size "+(p.Ld()+" | initial "+
d.length));break}}5==e&&a.log(c+" | ItemQueryRequest backed by new cache");if(a.context.Ij().Xe()||a.context.nk().Xe())d=d.concat(a.H.query(b,1)),_.Ea(d,void 0,function(q){return q.getId()}),e=(e=a.dw.H)&&e.w8&&5!=e.IE(b)?e.IE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new HP(a.context,b,d,1==e,h);f&&d.kj(f);d.ql(a.H.query(b,2),1!=e);d.initialize().Sg(function(q){q=_.JL(q);_.Vp(q);a.context.dispatchEvent(new _.oc(new _.nc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
uv:!0}},qhd=function(a,b){var c=GP(a,b),d=!1,e=a.O[c];if(e&&e.pia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.jn()),h;b instanceof _.Sz?h=new Ffd(a.context,a.Kg,b,f):h=new bhd(a.context,a.Kg,b,f);f.length&&h.kj(8);h.refresh().Sg(_.Ff);b=h;d=!0;a.O[c]=b;e?(rhd(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,uv:d}};
JP.prototype.lW=function(){return Object.values(this.O).filter(function(a){return a.yd()instanceof _.oL})};
JP.prototype.y2a=function(a){for(var b=_.pf(new _.of,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=z9c(this.context.yn,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.II.KO([a],b,!1,c))};
var vfd=function(a,b,c){c&&c.length&&f9c(a.V,b,c);_.BL(a.context.Pc)&&(a=a.Eq,Bad(a,uad(a,b)))},$fd=function(a,b,c){if(b instanceof igd){var d=GP(a,b.yd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof I$c&&a.dw.remove(b);var e={},f=new Map;d=a.H.my();for(var h=_.m(d.keys()),k=h.next();!k.done;k=h.next())k=k.value,f.set(k,d.get(k));var l=[];b.my().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=ZN(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new E$c(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=XO(q),a.H.update(r),a.W.update(r),_.BL(a.context.Pc)&&a.Eq.wP(r);_.BL(a.context.Pc)&&lhd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(XO(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof igd?(d=GP(a,b.yd()),a.O[d]=b):a.dw.add(b);var p=[];_.Ma(e,function(q){var r=new _.FL;_.GL(r,q.getId());r.setItem(q);p.push(r)});a.Zo(p);a.log("Merged cache: "+b.getType());b instanceof
dP&&c.forEach(function(q){shd(a.context.eta,q)});a.context.Xs.update(3)},rhd=function(a,b){(new Set([].concat(_.nd(a.Gy)))).forEach(function(c){b.Zh(c);a.ik(c)})};
JP.prototype.ql=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.nd(c.O().filter(function(D){return!_.hN(f.Kg).includes(D)}))):[]);c&&c instanceof _.bf&&_.PM(c)&&thd(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new KO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=uhd(this,u,r);if(null!=z)r.XD(z),vhd(this,y,q),n1c(q),q=a9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.BL(this.context.Pc)&&lhd(this,q);!u||whd(this,y,q,e)?(l.push(F$c(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.bf){if(null===(h=_.LL(this.context.Pc))||void 0===h?0:_.S(h,15,!1))a=_.Dl(c),1==a.length&&(a=a[0].Xa(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=Z$c(this.dw,c))&&a.ql(k,!!d)}c=GP(this,c);(a=this.O[c])&&a.ql(k,!!d)}0<l.length&&(_.BL(this.context.Pc)&&l.forEach(function(D){return f.Eq.wP(D)}),mhd(this,l,e,a?[a]:[]),xhd(this,k));yfd(this.context).u9()};
var lhd=function(a,b){Fad(a.Eq,b)||5!=ZN(b)||_.xWc(b,1)},whd=function(a,b,c,d){(b=b?_.Qj(b.clone(),82):null)&&vfd(a,[b],d);c=_.Qj(c.clone(),82);vfd(a,[c],[]);return!_.ik(b,c)},thd=function(a,b,c){yhd(a,b,c);b.forEach(function(d,e){var f=a.zm.H(d.getId());f&&(UN(f,d,[1002]),UN(f,d,[1003]),UN(f,d,[1005]),b[e]=f);_.sM(c)&&0<_.Pd(c,33).length&&_.yWc(d,_.Pd(c,33)[0])})},yhd=function(a,b,c){var d;_.sM(c)?d="quick access":_.tM(c)?d="people predict":_.uM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},jfd=function(a,b){var c={};b.forEach(function(d){c[d.H]||(c[d.H]=[]);c[d.H].push(d)});_.Ma(c,function(d,e){e=Number(e);a.ql(P1c(d),e)})};JP.prototype.Wla=function(a){this.ZMa.Wla(a)};
JP.prototype.Zo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.qk()?null:e.getItem(),h=e.Ic(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new KO(f,void 0,void 0,_.C(e,1)||void 0);var p=uhd(this,h,l);if(null==p)continue;l.XD(p);vhd(this,k,f);_.S(e,5,!1)&&Q0c(f,e1c);n1c(f);f=a9c(f,k);l.setItem(f);_.BL(this.context.Pc)&&lhd(this,f)}if(k&&!f||f&&whd(this,k,f,[]))this.context.ZJa.zy(e),c.push(F$c(h,l))}_.BL(this.context.Pc)&&c.forEach(function(q){return b.Eq.wP(q)});mhd(this,
c,[])};var vhd=function(a,b,c){b&&!c.Qm()&&UN(c,b,a.oa);var d=b?b.Of():null,e=c.Of();e=e?_.Td(e):null;d&&e&&vhd(a,_.Td(d),e);b&&!_.Zk(c)&&UN(c,b,[1002]);b&&!_.$k(c).length&&UN(c,b,[1003]);b&&!_.al(c).length&&UN(c,b,[1005]);b&&null==c.g2()&&UN(c,b,[71]);b&&null==_.C(c,79)&&UN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(Q0c(c,e1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
JP.prototype.uB=function(a,b){if(a instanceof _.bf||a instanceof _.Sz||a instanceof _.oL)a=GP(this,a),(a=this.O[a])&&a.VX(b);else throw Error("ng");};var uhd=function(a,b,c){var d=c.getItem();if($ad(a.context.aga,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!=ZN(a)&&!MO(a)&&!MO(d)&&a.Bc()==d.Bc())if(a.Ci()&&d.Ci()){if(a.Ci()>d.Ci())return null}else if(b.V&&c.V){if(b.V>c.V)return null}else if(a.Iq()>d.Iq())return null}return T8c(b&&b.H,c.H)};
JP.prototype.kI=function(a,b){(a=this.H.get(a))&&a.XD(T8c(a.H,b))};
var mhd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.LL(a.context.Pc))||void 0===e?0:_.S(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&(h.H.O=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=_.Sa(a.O);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.va(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())xfd(h.value,b);h=W$c(a.dw);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 dP&&f.Ld()>=1.2*f.limit&&zhd(a.context.ZJa,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.HJ(h.id),a.W.update(h);0<d&&a.context.Xs.Nna(d);Ahd(a)},Ahd=function(a){var b=a.W.O.slice(0),c=Zgd(a.W);$gd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.of;_.pf(d,308);a.II.KO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=l9c(a.zm,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Of(),k=_.C(h,1);if(k=a.zm.H(k))_.x(h,5,k),_.A(h,4,1),e.push(f)});jfd(a,e)}},Bhd=function(a){yfd(a.context).u9();a.H.HJ()},phd=function(a,b){_.Ha(b.O());var c=_.la(b.jn(),"root");if(0>c)return b;b=b.clone();b.jn()[c]=a.context.$n();return b},jhd=function(a,b){var c;null!==(c=_.LL(a.context.Pc))&&void 0!==c&&_.S(c,1,!1)||(b=W4c(a.Kg,b),a=a.V,d9c(a,a.items,a.fields,b))},nhd=function(a,b){var c;if(null===(c=_.LL(a.context.Pc))||
void 0===c?0:_.S(c,1,!1))b=W4c(a.Kg,b),a=a.V,d9c(a,a.items,a.fields,b)},xhd=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==ZN(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.pf(new _.of,311);a.II.KO(c,d)}})},Rgd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Z$c(a.dw,c)){a.log("Adding new cache hint for "+GP(a,c));var d=new aP(a.context.zu,a.context.Ew,a.context.yn,
c);c=new Ufd(a.context,d,c);var e=iP(a.context.wz,null);_.Th(c.Yg().then(function(){Xfd(d,e).then(function(f){$fd(a,d,f)})}),function(){ibd(a.context.wz,null)})}})})};JP.prototype.Bo=function(){var a=this.dw.H;return a&&a.TN?1:2};JP.prototype.log=function(a,b){this.context.Zf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var khd=[50];
var Dhd=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.kl;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Sh();this.va=c.promise;Wcd(this.context.GD).then(function(d){b.H=d||[];c.resolve();Chd(b)},function(){return c.resolve()});YO(this.context.Oj,["rVezo"],(0,_.v)(this.W,this))};_.L(Dhd,_.N);
var Wgd=function(a,b){_.S(a.context.Pc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(b9c(a.context.wf.zm.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.Lj(a.context.Pc,47,5);)a.H.pop();a.context.GD.set(Qcd,a.H)}a.context.wf.dw.lW().length+a.O.size<_.Lj(a.context.Pc,47,5)&&(Chd(a),a.W())})},Ehd=function(a,b){_.va(a.H,b)&&a.context.GD.set(Qcd,a.H)};
Dhd.prototype.zy=function(a){shd(this.context.eta,a);if(MO(a)){var b=a.Bc();a.qk()?zhd(this,b,!0):(a=a.getItem(),b9c(a)&&Ehd(this,b))}};var zhd=function(a,b,c){Ehd(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.dw;for(var e=d.lW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Xs.update(3);break}}FP(a.context).addCallback(function(k){k.jHa(b,c)});a.W()};
Dhd.prototype.W=function(){if(this.context.Oj.H("rVezo")){var a=this.context.wf.dw;Fhd(this);for(var b={};this.V.jc()&&!(this.ha>=_.Lj(this.context.Pc,47,5));){var c=_.ll(this.V);this.ha++;Y$c(a,c)||this.O.has(c)||(this.O.set(c,null),b.wfa=new _.wVc,_.A(b.wfa,1,c),this.context.Sm().then(function(d){return function(e){return e.Ve(d.wfa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={wfa:b.wfa}}}};
var Chd=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},Fhd=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){Chd(a);a.W()},36E5)};Dhd.prototype.oa=function(a,b){var c=_.C(b,1);c&&c>_.Lj(this.context.Pc,48,1E3)?(this.log(a,"Too large to backfill: "+_.C(b,1)),Ghd(this,a,!1)):Hhd(this,a)};
Dhd.prototype.ma=function(a,b){(b=_.JL(b).Fk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.QL(_.FUc(_.GL(new _.FL,a),a)),this.context.wf.Zo([a])):Hhd(this,a)};
var Hhd=function(a,b){var c=new dP(a.context.zu,a.context.Ew,b),d=c.yd().clone();d.wi(_.Lj(a.context.Pc,48,1E3));d=new Ufd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=iP(a.context.wz,b);FP(a.context).addCallback(function(f){f.Lva(b)});_.Th(d.Yg().then(function(){Ihd(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;Ghd(a,b,!0)}),function(){ibd(a.context.wz,b)})},Ihd=function(a,b,c,d){c.TN?(c.pX(),Xfd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());$fd(a.context.wf,
c,e);Ghd(a,b,!1)},function(){a.log(b,"Backfill changes failed");Ghd(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),Ghd(a,b,!0))},Ghd=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&FP(a.context).addCallback(function(e){e.jHa(b,!1)});a.W();0<a.O.size||a.context.wf.dw.lW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){zhd(a,e,!0)})};
Dhd.prototype.log=function(a,b){this.context.Zf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var Jhd=function(){_.N.apply(this,arguments)};_.L(Jhd,_.N);
var Mhd=function(a,b){b=Khd(b);var c=a.getItem(),d=Lhd(c.getCapabilities());b.t4.forEach(function(e){_.lTb(e.getItem(),c.wp());_.WM(e.getItem(),d.clone())});return b},Phd=function(a,b,c){var d=Nhd(c);c=c.find(function(e){return e.getId()===b.getId()});c={uK:c?c:new KO(b),children:[]};Ohd(a,d,c);return c},Nhd=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().mk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},Ohd=
function(a,b,c){var d=c.uK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(Ohd(a,b,{uK:e,parent:c,children:[]}))});return c},Rhd=function(a,b){b=b.children.filter(function(l){return!_.Yk(l.uK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.uK.getItem();if(!c.has(f.getId())){_.lTb(f,a.wp());Qhd(a,f,e.parent?e.parent.uK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.Yk(k.uK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.uK)}}return d},
Shd=function(a){a=a.children.filter(function(h){return!_.Yk(h.uK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.uK.getItem();if(!b.has(e.getId())){c.push(_.QL(_.GL(new _.FL,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.Yk(f.uK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},Khd=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();_.Yk(e)||_.R(e,137)?c.push(e):b.push(d)}return{GQ:c,t4:b}},Lhd=
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);_.A(a,45,c);_.gWc(a,b);_.A(a,30,c);_.bWc(a,b);_.hWc(a,c);_.cWc(a,c);_.dWc(a,b);_.PVc(a,b);_.UVc(a,c);_.$Vc(a,b);_.ZVc(a,_.R(a,7));_.TVc(a,_.R(a,10)||_.R(a,11));_.aWc(a,_.Sk(a));_.Qj(a,18);_.Qj(a,13);_.Qj(a,10);_.eWc(a,_.R(a,42));_.fWc(a,_.R(a,43));_.iWc(a,_.R(a,48));return a},Qhd=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.bWc(e,_.R(d,31));_.hWc(e,_.R(d,
47));_.cWc(e,_.R(d,32));_.dWc(e,_.R(d,33));_.PVc(e,_.R(d,4));_.UVc(e,_.R(d,9));_.aWc(e,_.R(d,21));_.$Vc(e,_.R(d,20));_.ZVc(e,_.R(d,17));_.OVc(e,_.Sk(d));_.SVc(e,_.R(d,7));_.VVc(e,_.R(d,10));_.WVc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.gWc(e,_.R(d,46));_.iWc(e,_.R(d,48));a=_.Yk(a);_.A(b,137,a);c&&(c=c.getCapabilities(),WN(b)?(_.TVc(e,_.R(c,43)),_.fWc(e,_.R(c,43)),_.eWc(e,_.R(c,42))):_.TVc(e,_.R(c,42)))};
var Thd=function(a){this.context=a;this.V=new Jhd;this.O=_.pf(new _.of,306);this.H=a.wf},shd=function(a,b){if(MO(b))b.qk()?Uhd(a,b):Vhd(a,b);else if(_.S(a.context.Pc,86,!1)){var c=b.Ic(),d=a.H.zm.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!WN(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.Yk(d),!b.qk()){var h=b.getItem();f=_.Yk(d)!==_.Yk(h);h=h.wp()!==d.wp();e=f||e&&h}if(e)if(b.qk()){if(b=Whd(a,d.Bc()),d=a.V,e=(new _.Wk).Pb(c),b=(b=Phd(d,e,b))?Shd(b):[],a.context.wf.Zo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=c5c(a.context.Tk(),106009))c=Y4c(a),_.A(c,2,b.length),a.Yj()}else if(c=b.getItem(),d=Whd(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=Phd(e,c,d))?Rhd(c,d):[],jfd(a.context.wf,c),a.log(b.Ic(),"SD shared folder update | Updated "+c.length+" item(s)"),a=c5c(a.context.Tk(),106010))b=Y4c(a),_.A(b,1,c.length),a.Yj()}},Uhd=function(a,b){var c=b.Ic();b=Whd(a,c);b=Khd(b);var d=_.Bb(b.t4,function(e){return _.QL(_.GL(new _.FL,e.getId()))});a.context.wf.Zo(d);
a.H.II.KO(b.GQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.GQ.map(function(e){return _.Al((new _.zl).Pb(e.getId()),_.cl(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.GQ.length+" divergent items"));if(a=c5c(a.context.Tk(),106016))c=Z4c(a),_.A(c,1,b.GQ.length),_.A(c,2,b.t4.length),a.Yj()},Vhd=function(a,b){var c=b.Ic(),d=Whd(a,c),e=a.H.zm.H(c);b=Mhd(b,d);jfd(a.context.wf,b.t4);a.H.II.KO(b.GQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.GQ.map(function(h){return _.Al((new _.zl).Pb(h.getId()),
_.cl(h))}));a.log(c,"SD update | Update "+b.t4.length+" item(s), "+(b.GQ.length+" divergent items"));if(d=c5c(a.context.Tk(),106017)){var f=Z4c(d);_.A(f,1,b.GQ.length);_.A(f,2,b.t4.length);d.Yj()}e||Tfd(a.H.II,c)},Whd=function(a,b){var c=new _.bf;_.Fl(c,[b]);_.Gl(c,2);return n9c(a.H.zm,c)};Thd.prototype.log=function(a,b){this.context.Zf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Xhd=function(a,b,c){this.H=a;this.V=b;this.CJ=c};
Xhd.prototype.bx=function(a,b){var c=this;if(a.UV().length){var d=Wad(this.H,a.Ic());if(d){var e=d?Xad(this.H,a):[];for(var f={},h=_.m(a.UV()),k=h.next();!k.done;f={CL:f.CL},k=h.next())if(k=k.value,f.CL=Yhd(e,k.en(),a.Ic()),_.R(k,3))cbd(this.H,f.CL),_.Th(b,function(r){return function(){c.H.O.W(Mad(r.CL))}}(f));else{for(var l=_.m(_.ck(k,_.EF,2)),p=l.next();!p.done;p=l.next())Zhd(this,f.CL,p.value);k=_.m(_.Pd(k,4));for(l=k.next();!l.done;l=k.next())$hd(f.CL,l.value);this.H.yD([f.CL],!1,-1);b.then(function(r){return function(){return void c.H.kI(r.CL.getName(),
-2)}}(f),function(r){return function(){c.H.kI(r.CL.getName(),-2)}}(f))}e=this.qd(d.tk().response)}}e=e?e:this.qd();var q=e.d4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.UA(r));c.handleError(a.Ic(),r)});return e};Xhd.prototype.qd=function(a){a=void 0===a?new vO:a;return new W8c(a.Cc(1))};var Yhd=function(a,b,c){var d=a.find(function(e){return Lad(e.getName(),b)});d||(d=D5c((new pO).jd(b),c),a.push(d));return d};
Xhd.prototype.handleError=function(a,b){ebd(this.V,a);a=_.JL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.CJ(a)};
var Zhd=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new nO,d.Pb(c.getId()),C5c(b,b.O().concat([d])),aid(d,c));if(1===oO(d))d.setBooleanValue(_.R(c,3));else if(12===oO(d))d.setDateStringValue(_.C(c,17));else if(2===oO(d))d.setTextValue(_.C(c,4));else if(3===oO(d))_.Pd(c,6).length?d.zpa(_.Pd(c,6)):_.Pd(c,5).length&&(a=_.Pd(d,7).concat(_.Pd(c,5)),d.zpa(a));else if(4===oO(d))d.setLongTextValue(_.C(c,7));else if(5===oO(d))d.setSelectionValue(_.C(c,8));else if(6===
oO(d))_.Pd(c,10).length?d.vpa(_.Pd(c,10)):_.Pd(c,9).length&&(a=d.FMa().concat(_.Pd(c,9)),d.vpa(a));else if(7===oO(d))d.setIntegerValue(_.C(c,11));else if(8===oO(d))_.Pd(c,13).length?d.npa(_.Pd(c,13)):_.Pd(c,12).length&&(a=_.Pd(d,12).concat(_.Pd(c,12)),d.npa(a));else if(10===oO(d))d.setUserValue(a.O(_.C(c,14)));else if(11===oO(d))_.Pd(c,16).length?z5c(d,_.Pd(c,16).map(a.O)):_.Pd(c,15).length&&z5c(d,d.tBa().concat(_.Pd(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(oO(d)+
"."),new _.nc(d,new _.mc);},$hd=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===oO(a))_.Qj(a,5);else if(12===oO(a))_.Qj(a,17);else if(2===oO(a))_.Qj(a,6);else if(3===oO(a))_.HH(a,7);else if(4===oO(a))_.Qj(a,8);else if(5===oO(a))_.Qj(a,9);else if(6===oO(a))_.HH(a,10);else if(7===oO(a))_.Qj(a,11);else if(8===oO(a))_.HH(a,12);else if(10===oO(a))_.Rj(a,15);else if(11===oO(a))_.Sj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(oO(a)+"."),new _.nc(a,new _.mc);
},aid=function(a,b){_.Q(b,3)?a.SA(1):_.Q(b,17)?a.SA(12):_.Q(b,4)?a.SA(2):_.Pd(b,6).length||_.Pd(b,5).length?a.SA(3):_.Q(b,7)?a.SA(4):_.Q(b,8)?a.SA(5):_.Pd(b,10).length||_.Pd(b,9).length?a.SA(6):_.Q(b,11)?a.SA(7):_.Pd(b,13).length||_.Pd(b,12).length?a.SA(8):_.Q(b,14)?a.SA(10):(_.Pd(b,16).length||_.Pd(b,15).length)&&a.SA(11)};Xhd.prototype.O=function(a){return _.MVc(_.KVc(1),a)};
var bid=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.va=c;this.O=d;this.ka=e;this.Kg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};bid.prototype.apply=function(a,b){var c=this;if(!_.OM(a))return b;var d=null;a instanceof _.gM?d=cid(this,a,b):a instanceof _.nM?d=did(this,a,b):a instanceof _.ML?d=this.bx(a,b):a instanceof _.bM?d=eid(this,a,b):a instanceof _.GM&&(d=this.va.bx(a,b));d&&(this.W++,this.ha.setActive(!1),_.Th(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Ph(d):b};
var cid=function(a,b,c){Zad(a.O,b.getId());var d=a.H.zm.H(b.getId());_.Th(c.then(function(){return void a.ma("VMiG2e")},a.oa.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.JL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.NM).Cc(1)},did=function(a,b,c){var d=_.C(b,2);d&&a.O.H.push(d);c.then(function(){d&&abd(a.O,d)&&_.Th(fid(a,d,new _.PYc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.va(a.O.H,
d)});c.then(null,function(e){e=_.JL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.NM).Cc(1)},fid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Sh(),h=c.Xa();_.mH(c);setTimeout(function(){a.ka.then(function(k){var l=_.pf(new _.of,1425);l=O1c(!0,1,l);return k.Ve(l).then(function(p){if(p=p.qd())if(p=p.Gd()[0],!p||(p.Vv()||0)>b){f.resolve();return}_.Th(fid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Th(fid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},eid=function(a,b,c){var d=b.Bc(),e=a.H.zm.H(d);if(!e)return null;e=e.clone();vfd(a.H,[e],[157]);var f=e.hh();gid(f,_.ck(b,_.Vk,2));hid(f,_.ck(b,_.Vk,3));a.H.ql([e],-1,void 0,void 0,[157]);_.Th(c,function(){a.H.kI(d,-2)}).then(function(h){a.H.ql([_.E(h,_.Wk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.JL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return E6c(new D6c,e).Cc(1)},
gid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={nfa:c.nfa},d=b.next())c.nfa=d.value,_.ck(a,_.Vk,8).some(function(e){return function(f){return f.en()==e.nfa.en()}}(c))||_.ek(a,8,c.nfa,_.Vk,void 0)},hid=function(a,b){var c=b.map(function(d){return d.en()});b=_.ck(a,_.Vk,8).filter(function(d){return!c.includes(d.en())});Y0c(a,b)};
bid.prototype.bx=function(a,b){var c=this,d=this.H.zm.H(a.getId());if(!d||d.Bc()&&0==a.Sh()||null!=_.R(a,40))return null;var e=_.Pd(a,10),f=_.Pd(a,9);if(0<e.length&&0<f.length&&(e=Object.values(m9c(this.H.zm,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Ea(e),1<e.length))return null;var h=d.clone();iid(this,a,h);this.H.ql([h],-1,void 0,void 0,U4c(this.Kg));b.then(function(){return c.H.kI(a.getId(),-2)},function(){c.H.kI(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.JL(k);
if(63==k.Fk()){var l=h.getId();_.A(k,22,l);_.A(k,23,f[0])}_.A(k,21,"Server error updating item after optimistic application.");c.V(k)});return _.oXc((new _.NM).setItem(h),h.getId()).Cc(1)};
var iid=function(a,b,c){null!=b.Se()&&c.um(b.Se());null!=b.Ti()&&_.vWc(c,b.Ti());null!=b.getMimeType()&&_.MF(c,b.getMimeType());null!=_.C(b,7)&&_.kTb(c,_.C(b,7));null!=_.R(b,11)&&_.pWc(c,_.R(b,11));null!=_.R(b,4)&&c.Ev(_.R(b,4));null!=_.R(b,16)&&_.uWc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Sh()&&(c.Pn(b.Sh()),_.tWc(c,b.Sh()));null!=_.R(b,18)&&_.SN(m1c(c,!0),_.R(b,18));_.Pd(b,8).length&&_.VM(c,_.Pd(b,8));if(_.Pd(b,9).length){var d=new Set(c.mk());_.Pd(b,9).forEach(function(p){return d.add(p)});
_.VM(c,[].concat(_.nd(d)))}if(_.Pd(b,10).length){var e=new Set(c.mk());_.Pd(b,10).forEach(function(p){return e.delete(p)});_.VM(c,[].concat(_.nd(e)));var f=c.ww();f&&_.Pd(b,10).includes(f)&&_.Qj(c,46)}if(!c.ww()){var h=a.Ba();f=c.mk().find(function(p){var q=a.H.zm.H(p);return q&&!!q.ww()||p==h});_.A(c,46,f||void 0)}c.mk().length&&(f=a.H.zm.H(c.mk()[0]))&&_.yWc(c,f.Bc());if(f=_.E(b,_.Tk,25)){var k=_.E(c,_.Tk,111)||new _.Tk;null!=_.R(f,1)&&k.dP(_.R(f,1));null!=_.C(f,2)&&_.kWc(k,_.C(f,2));_.x(c,111,
k)}var l=_.Pd(c,120);_.Pd(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Pd(b,32).forEach(function(p){_.va(l,p)});_.Pj(c,120,l)};bid.prototype.oa=function(a,b){var c=this,d=_.Uz(new _.Sz,[a]);this.ka.then(function(e){return e.Ve(d)}).then(function(e){e=e.qd().Gd()[0];c.H.ql([e.clone()],1)},function(){b&&c.H.ql([b.clone()],1)})};
var jid=function(a){this.H=a};_.L(jid,_.w_c);jid.prototype.execute=function(a,b,c){var d=_.w_c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.nLa||b instanceof _.CL&&_.PM(b.yd()))if(c=l5c(this.H))return c;return b instanceof _.nM?(c=_.pf(new _.of,1424),a.Ve(O1c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Gd()[0])&&_.Q(e,96)&&b.wda(e.Vv())},function(){})):null};
var d2c=function(a,b){return[kid,lid,mid,nid].reduce(function(c,d){var e;0!==c?e=c:e=_.Fa(d(a),d(b));return e},0)},kid=function(a){return oid[a.$f()]},lid=function(a){return pid[a.getType()]},mid=function(a){return a.getName()||""},nid=function(a){return a.getId()||""},KP={},oid=(KP[5]=0,KP[7]=1,KP[1]=2,KP[3]=3,KP[4]=4,KP[2]=5,KP[6]=6,KP),qid={},pid=(qid[1]=0,qid[2]=1,qid[3]=2,qid[4]=3,qid);
var rid=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.oa=k;this.Kg=l};
rid.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.NM&&8===b.Bb()))if(a instanceof _.aM||a instanceof _.cM||a instanceof _.mVc||a instanceof _.ML||a instanceof _.IM||a instanceof _.uVc||a instanceof _.KM||a instanceof _.bO){var d=_.PL(b.getItem().clone(),9);this.H.ql([d],1);Abd(this.oa,b.getItem(),_.hN(this.Kg))}else a instanceof _.gM?(b=_.QL(_.GL(new _.FL,a.getId())),this.H.Zo([b])):a instanceof _.jM?(b=_.QL(_.FUc(_.GL(new _.FL,a.getId()),a.getId())),this.H.Zo([b]),shd(this.ma,b)):
a instanceof _.nM?(b=O1c(!0).yd(),b=this.H.zm.query(b).map(function(e){return _.QL(_.GL(new _.FL,e.getId()))}),this.H.Zo(b)):a instanceof _.eM?this.O.remove(a.Ah()):a instanceof _.qM||a instanceof _.FM?this.O.put(b.Br()):a instanceof _.hM?c2c(this.H,a):a instanceof _.eD?this.W.remove(a.getKey()):a instanceof _.rM?e2c(this.H,a,_.E(b,_.Dk,2)):a instanceof _.fD?this.W.put(b.VMa()):a instanceof _.dM||a instanceof _.JM?this.ha.yD([b.mn()],!1):a instanceof _.kM?this.ha.yD([nbd(a.getId())],!1):a instanceof
_.lVc?this.V.yD(b.response.O(),!1,1):a instanceof _.GM?(a.UV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.en()||"",a.Ic())}),ebd(this.ka,a.Ic()),this.H.y2a(a.Ic())):a instanceof _.mN&&_.ck(a,_.n6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.E(e,_.tO,2),e.getType()){case 1:case 2:if(e=c.H.zm.H(e.Ic())){var f=new _.FL;f=_.A(f,5,!0);e=_.GL(f,e.getId()).setItem(e.clone());c.H.Zo([e])}}}})};
var sid=function(a){this.H=a};
sid.prototype.translate=function(a){if(a instanceof _.CM){var b=this.H.H(a.getId());if(!b)return new _.mc;var c=(new _.ML).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.le(d)||_.R(d,9)?c.Pn(!0):_.NL(c,!1)}else d=a.getParent(),1===b.wp()?c.Pn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?t4c(c,[d]):_.NL(c,!1)):_.NL(c,!1);return c}if(a instanceof _.DM)return v4c(u4c(t4c(s4c((new _.ML).Pb(a.getId()),_.Pd(a,2)),_.Pd(a,3)),_.R(a,6)),_.ck(a,_.zl,8));if(a instanceof _.EM){b=this.H.H(a.getId());
if(!b)return new _.mc;c=(new _.ML).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.le(d)||_.R(d,9)?c.Pn(!1):_.NL(c,!0)):(d=a.getParent(),1===b.wp()?c.Pn(!1):d?(b=this.H.H(d),!b||_.Sk(b.getCapabilities())?s4c(c,[d]):_.NL(c,!0)):_.NL(c,!0));return c}if(a instanceof _.zN)return new _.mVc(a);if(a instanceof _.wP)return _.Pd(a,1).map(function(f){var h=new _.GM;f=_.A(h,1,f);h=a.UV();f=_.Cb(f,2,h);h=a.we();return _.x(f,3,h)});if(a instanceof _.mM){c=O1c(!1,1).yd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Vv())&&(e=Math.max(e,f))});return g5c(new _.nM,a).wda(e)}return a};
var tid=function(){};tid.prototype.validate=function(a){var b=null;a instanceof _.vM?(a=a.getId()||"",_.ee(a)&&(b="Tried to request backup with no id.")):a instanceof _.fM&&(a=a.getId()||"",_.ee(a)&&(b="Tried to delete backup with no id."));return b?_.JL(b):null};
var uid=function(a,b){this.O=a;this.H=b},yid=function(a,b){_.GN(["drive#about"],b);var c=new _.xP,d=new _.TA;if(b.user){var e=_.MN(a.O,b.user);_.x(d,1,e)}a=vid(a,b);a=m4c(l4c(_.k4c(new _.Fsb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.o4c(a,_.$3c(_.Z3c((new _.SA).Cc(wid[e.status]),Number(e.trialMillisRemaining)),_.HN(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.p4c(a,_.b4c(_.a4c(new _.Asb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&n4c(a,b.importFormats.map(function(f){var h=new _.j4c;h=_.A(h,1,f.source);return _.Pj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,xid[b.adminSecureLinkSetting]);_.x(d,3,a);_.eed(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},vid=function(a,b){var c;var d=new _.Esb;d=_.A(d,1,Number(b.quotaBytesTotal));d=_.A(d,2,Number(b.quotaBytesUsed));d=_.A(d,3,Number(b.quotaBytesUsedAggregate));d=_.A(d,4,Number(b.quotaBytesUsedInTrash));d=_.f4c(_.e4c(_.d4c(_.c4c(d,
g2c(b.quotaBytesByService||[])),zid[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-i2c(b);d=_.A(d,9,e);d=_.g4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.i1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.h4c(d,Aid[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Dsb;var f=
_.n2a(new Date(b.graceQuotaInfo.endDate));e=_.x(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.x(d,12,e)}(null===(c=_.LL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.i1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},Aid={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},h2c=new Set(["POOLED_STORAGE","FAMILY"]),wid={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},f2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},zid={LIMITED:1,UNLIMITED:2,POOLED:3},xid={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var Bid={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},Cid={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},Did={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},Eid={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},Fid={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},Gid={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},Hid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},Iid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},Jid={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},Kid={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},Lid={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},Mid={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},Nid={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},Oid={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Pid={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Qid={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Rid={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Sid={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Tid={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Uid={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Vid={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Wid={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},cjd=function(a){return a.map(function(b){var c=new _.P8c;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=Xid(e);_.x(c,2,d);break;case "actors":d=Yid(e);_.Cb(c,3,d);break;case "actions":d=Zid(e);_.Cb(c,
4,d);break;case "targets":d=$id(e);_.Cb(c,5,d);break;case "timestamp":c.O(ajd(e));break;case "timeRange":d=bjd(e),_.dk(c,7,O8c[0],d)}}return c})},Zid=function(a){return a.map(function(b){var c=new _.M8c;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=Xid(e);_.x(c,1,d);break;case "source":d=new c8c;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":_.Zj(d,2,Bid[h]);break;case "appId":_.Yj(d,1,h)}}_.x(c,2,d);break;case "actor":d=djd(e);_.x(c,3,d);break;case "target":d=ejd(e);_.x(c,4,d);break;case "timestamp":c.O(ajd(e));break;case "timeRange":d=bjd(e),_.dk(c,6,L8c[0],d)}}return c})},$id=function(a){return a.map(function(b){return ejd(b)})},gjd=function(a){return a.map(function(b){return fjd(b)})},hjd=function(a){return a.map(function(b){var c=new _.H7c;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.Ag(fjd(e));break;case "shortcut":d=fjd(e),_.x(c,2,d)}}return c})},ejd=function(a){var b=new _.g8c;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=ijd(d);_.dk(b,1,_.f8c[0],c);break;case "drive":c=new _.d8c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);
break;case "title":c.setTitle(f);break;case "root":e=ijd(f),_.x(c,3,e)}}_.dk(b,5,_.f8c[0],c);break;case "fileComment":c=new _.e8c;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":_.Yj(c,1,f);break;case "legacyDiscussionId":_.Yj(c,2,f);break;case "linkToDiscussion":_.Yj(c,3,f);break;case "parent":c.Ag(ijd(f))}_.dk(b,3,_.f8c[0],c)}}return b},fjd=function(a){var b=new _.yO;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 q7c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.jd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new o7c;_.dk(e,8,p7c[0],f);break;case "driveFolder":e=jjd(f);_.dk(c,9,p7c[0],e);break;case "driveShortcut":e=kjd(f),_.dk(c,10,p7c[0],e)}}_.dk(b,1,r7c[0],c);break;case "drive":c=ljd(d),_.dk(b,3,
r7c[0],c)}}return b},ijd=function(a){var b=new _.n7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Yj(b,6,d);break;case "version":_.Uj(b,5,d);break;case "owner":c=new i7c;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":c.nn(mjd(f));break;case "user":e=
LP(f);_.dk(c,1,h7c[0],e);break;case "drive":e=ljd(f),_.dk(c,4,h7c[0],e)}}_.x(b,7,c);break;case "driveFile":c=new o7c;_.dk(b,8,j7c[0],c);break;case "driveFolder":c=jjd(d);_.dk(b,9,j7c[0],c);break;case "driveShortcut":c=kjd(d),_.dk(b,10,j7c[0],c)}}return b},ljd=function(a){var b=new g7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d)}}return b},jjd=function(a){var b=new l7c;
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":_.Zj(b,6,Cid[d])}}return b},kjd=function(a){var b=new m7c;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":_.Yj(b,1,d);break;case "targetMimeType":_.Yj(b,2,d)}}return b},Yid=function(a){return a.map(function(b){return djd(b)})},djd=function(a){var b=new _.b8c;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=LP(d);_.dk(b,1,_.a8c[0],c);break;case "anonymous":c=new Y7c;_.dk(b,2,_.a8c[0],c);break;case "impersonation":c=new _.Z7c;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=LP(f),_.x(c,1,e)}}_.dk(b,3,_.a8c[0],c);break;case "system":c=new _.$7c;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":_.Zj(c,1,Did[f])}_.dk(b,4,_.a8c[0],c);break;case "administrator":c=new _.X7c,_.dk(b,5,_.a8c[0],c)}}return b},njd=function(a){return a.map(function(b){return LP(b)})},LP=function(a){var b=new _.O6c;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 _.wO;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":_.Yj(c,1,f);break;case "isCurrentUser":_.Vj(c,2,f);break;case "displayName":_.Yj(c,3,f);break;case "photoUrl":c.uo(f)}}_.dk(b,2,_.M6c[0],c);break;case "unknownUser":c=new P6c;_.dk(b,4,_.M6c[0],c);break;case "deletedUser":c=new _.N6c,_.dk(b,3,_.M6c[0],c)}}return b},ajd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.m2a((new _.tx).setSeconds(a),b)},bjd=function(a){var b=new _.JO;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.BY(ajd(d));break;case "endTime":b.FF(ajd(d))}}return b},mjd=function(a){var b=new f7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "legacyId":_.Yj(b,3,d);break;case "audienceDisplayName":_.Yj(b,4,d)}}return b},Xid=function(a){for(var b=new _.DO,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 _.u7c,l=_.m(Object.entries(h)),p=l.next();!p.done;p=l.next()){var q=_.m(p.value),r=q.next().value,u=q.next().value;switch(r){case "new":var y=k,z=new v7c;_.dk(y,1,_.s7c[0],z);break;case "upload":var D=k,G=new w7c;_.dk(D,2,_.s7c[0],G);break;case "copy":for(var I=u,M=new _.t7c,O=_.m(Object.entries(I)),X=O.next();!X.done;X=O.next()){var ra=_.m(X.value),fa=ra.next().value,na=ra.next().value;
switch(fa){case "originalObject":var sa=fjd(na);_.x(M,1,sa)}}_.dk(k,3,_.s7c[0],M)}}_.dk(b,1,_.CO[0],k);break;case "edit":var ua=new B7c;_.dk(b,2,_.CO[0],ua);break;case "move":for(var Wa=new _.J7c,Ia=_.m(Object.entries(h)),Ra=Ia.next();!Ra.done;Ra=Ia.next()){var Zb=_.m(Ra.value),ub=Zb.next().value,wc=Zb.next().value;switch(ub){case "addedParents":var Sc=gjd(wc);_.Cb(Wa,1,Sc);break;case "removedParents":var gd=gjd(wc);_.Cb(Wa,2,gd);break;case "fromOwnershipTransfer":_.Vj(Wa,3,wc);break;case "reparents":var ve=
wc.map(ojd);_.Cb(Wa,4,ve);break;case "multiparentingMigration":for(var be=wc,Jf=new _.I7c,yc=_.m(Object.entries(be)),yb=yc.next();!yb.done;yb=yc.next()){var Dg=_.m(yb.value),Ug=Dg.next().value,Ve=Dg.next().value;switch(Ug){case "removedParents":var dj=gjd(Ve);_.Cb(Jf,2,dj);break;case "migratedParents":var $f=hjd(Ve);_.Cb(Jf,1,$f)}}_.x(Wa,5,Jf)}}_.dk(b,3,_.CO[0],Wa);break;case "rename":for(var Bi=new _.P7c,Gg=_.m(Object.entries(h)),el=Gg.next();!el.done;el=Gg.next()){var $e=_.m(el.value),af=$e.next().value,
mh=$e.next().value;switch(af){case "oldTitle":_.Yj(Bi,1,mh);break;case "newTitle":_.Yj(Bi,2,mh)}}_.dk(b,4,_.CO[0],Bi);break;case "delete":for(var Uh=new _.z7c,sj=_.m(Object.entries(h)),Lk=sj.next();!Lk.done;Lk=sj.next()){var Ln=_.m(Lk.value),vp=Ln.next().value,Ri=Ln.next().value;switch(vp){case "type":_.Zj(Uh,1,Eid[Ri])}}_.dk(b,5,_.CO[0],Uh);break;case "restore":for(var pi=new _.Q7c,fl=_.m(Object.entries(h)),Rf=fl.next();!Rf.done;Rf=fl.next()){var Kl=_.m(Rf.value),tj=Kl.next().value,pk=Kl.next().value;
switch(tj){case "type":_.Zj(pi,1,Fid[pk])}}_.dk(b,6,_.CO[0],pi);break;case "permissionChange":for(var ej=new _.M7c,Ll=_.m(Object.entries(h)),Im=Ll.next();!Im.done;Im=Ll.next()){var Mk=_.m(Im.value),Ml=Mk.next().value,Vg=Mk.next().value;switch(Ml){case "addedPermissions":var Nl=pjd(Vg);_.Cb(ej,1,Nl);break;case "removedPermissions":var Ci=pjd(Vg);_.Cb(ej,2,Ci);break;case "resharedPermissions":var Ij=pjd(Vg);_.Cb(ej,3,Ij);break;case "otherActivePermissions":var Jj=pjd(Vg);_.Cb(ej,4,Jj)}}_.dk(b,7,_.CO[0],
ej);break;case "comment":for(var uj=new _.e7c,gl=_.m(Object.entries(h)),vj=gl.next();!vj.done;vj=gl.next()){var hl=_.m(vj.value),mf=hl.next().value,Kj=hl.next().value;switch(mf){case "post":for(var hm=Kj,im=new _.b7c,jm=_.m(Object.entries(hm)),Si=jm.next();!Si.done;Si=jm.next()){var Gc=_.m(Si.value),Wj=Gc.next().value,Vh=Gc.next().value;switch(Wj){case "subtype":_.Zj(im,1,Hid[Vh])}}_.dk(uj,1,_.a7c[0],im);break;case "assignment":for(var wj=Kj,mg=new _.c7c,Hg=_.m(Object.entries(wj)),Nk=Hg.next();!Nk.done;Nk=
Hg.next()){var km=_.m(Nk.value),hi=km.next().value,qi=km.next().value;switch(hi){case "subtype":_.Zj(mg,1,Iid[qi]);break;case "assignedUser":var qk=LP(qi);_.x(mg,7,qk)}}_.dk(uj,2,_.a7c[0],mg);break;case "suggestion":for(var fj=Kj,wo=new _.d7c,jn=_.m(Object.entries(fj)),il=jn.next();!il.done;il=jn.next()){var Xj=_.m(il.value),Mn=Xj.next().value,xo=Xj.next().value;switch(Mn){case "subtype":_.Zj(wo,1,Jid[xo])}}_.dk(uj,3,_.a7c[0],wo);break;case "mentionedUsers":var jq=njd(Kj);_.Cb(uj,7,jq)}}_.dk(b,8,
_.CO[0],uj);break;case "dlpChange":for(var Po=new _.y7c,Rm=_.m(Object.entries(h)),Bj=Rm.next();!Bj.done;Bj=Rm.next()){var Qo=_.m(Bj.value),Dp=Qo.next().value,Ep=Qo.next().value;switch(Dp){case "type":_.Zj(Po,1,Kid[Ep])}}_.dk(b,9,_.CO[0],Po);break;case "view":for(var ur=new W7c,Qw=_.m(Object.entries(h)),vr=Qw.next();!vr.done;vr=Qw.next()){var Gs=_.m(vr.value),wA=Gs.next().value,TC=Gs.next().value;switch(wA){case "type":_.Zj(ur,1,Lid[TC]);break;case "viewHistoryVisibility":for(var mv=TC,zr=new V7c,
Ar=_.m(Object.entries(mv)),Qt=Ar.next();!Qt.done;Qt=Ar.next()){var xA=_.m(Qt.value),yA=xA.next().value,IN=xA.next().value;switch(yA){case "domainPolicyVisibilityState":_.Zj(zr,1,Mid[IN]);break;case "namedPartyState":_.Zj(zr,2,Nid[IN])}}_.x(ur,2,zr)}}_.dk(b,10,_.CO[0],ur);break;case "download":for(var tS=new A7c,yF=_.m(Object.entries(h)),nv=yF.next();!nv.done;nv=yF.next()){var JN=_.m(nv.value),uS=JN.next().value,vS=JN.next().value;switch(uS){case "type":_.Zj(tS,1,Oid[vS])}}_.dk(b,11,_.CO[0],tS);break;
case "reference":for(var qy=new _.H6c,ov=_.m(Object.entries(h)),tl=ov.next();!tl.done;tl=ov.next()){var UC=_.m(tl.value),Js=UC.next().value,KN=UC.next().value;switch(Js){case "type":_.Zj(qy,1,Pid[KN]);break;case "context":for(var ry=qy,pv=ry.Yi,ii=KN,hZ=new G6c,zF=_.m(Object.entries(ii)),Uw=zF.next();!Uw.done;Uw=zF.next()){var Ch=_.m(Uw.value),o7=Ch.next().value,qv=Ch.next().value;switch(o7){case "description":hZ.um(qv);break;case "url":_.Yj(hZ,2,qv)}}pv.call(ry,hZ)}}_.dk(b,12,_.CO[0],qy);break;case "settingsChange":for(var Fq=
new _.T7c,zA=_.m(Object.entries(h)),sy=zA.next();!sy.done;sy=zA.next()){var Br=_.m(sy.value),LN=Br.next().value,wS=Br.next().value;switch(LN){case "restrictionChanges":var p7=qjd(wS);_.Cb(Fq,1,p7)}}_.dk(b,13,_.CO[0],Fq);break;case "approvalChange":for(var Sl=new _.S6c,VC=_.m(Object.entries(h)),AF=VC.next();!AF.done;AF=VC.next()){var hJ=_.m(AF.value),q7=hJ.next().value,ty=hJ.next().value;switch(q7){case "approvalName":_.Yj(Sl,2,ty);break;case "approvalEventNames":_.Pj(Sl,3,ty);break;case "initiator":var Vw=
LP(ty);_.x(Sl,4,Vw);break;case "reviewers":var BF=njd(ty);_.Cb(Sl,5,BF);break;case "status":Sl.Cc(Sid[ty]);break;case "dueTime":var iZ=ajd(ty);_.x(Sl,7,iZ);break;case "approvalRequested":var r7=Sl,CF=new T6c;_.dk(r7,8,_.xO[0],CF);break;case "approvalCancelled":var iJ=Sl,s7=new U6c;_.dk(iJ,9,_.xO[0],s7);break;case "reviewerResponded":for(var xS=ty,jJ=new _.R6c,yS=_.m(Object.entries(xS)),AA=yS.next();!AA.done;AA=yS.next()){var RS=_.m(AA.value),XN=RS.next().value,YN=RS.next().value;switch(XN){case "reviewerDecision":_.Zj(jJ,
1,Tid[YN])}}_.dk(Sl,10,_.xO[0],jJ);break;case "commentAdded":var sv=Sl,qJ=new V6c;_.dk(sv,11,_.xO[0],qJ);break;case "reviewersChanged":for(var Qza=ty,Y7=new X6c,QBb=_.m(Object.entries(Qza)),SS=QBb.next();!SS.done;SS=QBb.next()){var Rza=_.m(SS.value),RBb=Rza.next().value,Z7=Rza.next().value;switch(RBb){case "reviewerChanges":var $7=rjd(Z7);_.Cb(Y7,1,$7)}}_.dk(Sl,12,_.xO[0],Y7);break;case "dueTimeChanged":for(var Cwc=ty,SBb=new Z6c,Sza=_.m(Object.entries(Cwc)),Tza=Sza.next();!Tza.done;Tza=Sza.next()){var TBb=
_.m(Tza.value),UBb=TBb.next().value,V0a=TBb.next().value;switch(UBb){case "oldDueTime":var YC=ajd(V0a);_.x(SBb,1,YC)}}_.dk(Sl,13,_.xO[0],SBb)}}_.dk(b,18,_.CO[0],Sl);break;case "lock":var VBb=new D7c;_.dk(b,15,_.CO[0],VBb);break;case "unlock":var WBb=new U7c;_.dk(b,16,_.CO[0],WBb);break;case "appliedLabelChange":for(var W0a=new _.L6c,X0a=_.m(Object.entries(h)),Uza=X0a.next();!Uza.done;Uza=X0a.next()){var Y0a=_.m(Uza.value),Z0a=Y0a.next().value,XBb=Y0a.next().value;switch(Z0a){case "changes":var YBb=
sjd(XBb);_.Cb(W0a,1,YBb)}}_.dk(b,19,_.CO[0],W0a);break;case "publishChange":for(var Vza=new _.O7c,ZBb=_.m(Object.entries(h)),DZ=ZBb.next();!DZ.done;DZ=ZBb.next()){var Dia=_.m(DZ.value),TS=Dia.next().value,$Bb=Dia.next().value;switch(TS){case "oldPublishState":var Dwc=tjd($Bb);_.x(Vza,1,Dwc);break;case "newPublishState":var Ewc=tjd($Bb);_.x(Vza,2,Ewc)}}_.dk(b,20,_.CO[0],Vza);break;case "linkShareMetadataChange":for(var rJ=new _.C7c,$0a=_.m(Object.entries(h)),Wza=$0a.next();!Wza.done;Wza=$0a.next()){var a1a=
_.m(Wza.value),aCb=a1a.next().value,Fwc=a1a.next().value;switch(aCb){case "securityUpdateEnabled":_.Vj(rJ,1,Fwc)}}_.dk(b,21,_.CO[0],rJ)}}return b},ojd=function(a){var b=new _.F7c;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":_.Zj(b,1,Wid[d])}}return b},pjd=function(a){return a.map(function(b){var c=new _.BO;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":_.Zj(c,1,Gid[e]);break;case "user":d=LP(e);_.dk(c,2,_.AO[0],d);break;case "group":d=new _.zO;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":_.Yj(d,1,h);break;case "title":d.setTitle(h)}}_.dk(c,3,_.AO[0],d);break;case "domain":c.nn(mjd(e));break;case "anyone":d=new K7c;_.dk(c,5,_.AO[0],d);break;case "allowDiscovery":_.Vj(c,6,e)}}return c})},qjd=function(a){return a.map(function(b){var c=
new _.S7c;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":_.Zj(c,1,Qid[e]);break;case "newRestriction":_.Zj(c,2,Rid[e])}}return c})},rjd=function(a){return a.map(function(b){var c=new Y6c;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=LP(e);_.x(c,3,d);break;case "addedReviewer":d=LP(e),_.x(c,4,d)}}return c})},
sjd=function(a){return a.map(function(b){var c=new _.K6c;b=_.m(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.wd(e);break;case "types":d=ujd(e),_.Pj(c,2,d)}}return c})},ujd=function(a){return a.map(function(b){return Uid[b]})},tjd=function(a){var b=new _.N7c;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":_.Zj(b,
1,Vid[d]);break;case "signinRequired":_.Vj(b,2,d);break;case "publishedTime":c=ajd(d),_.x(b,3,c)}}return b};
var wjd=function(a,b){var c=new Cdd;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=vjd(a),_.x(b,2,a));return b},vjd=function(a){_.GN(["drive#app"],a);var b=(new _.EO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=s8c(r8c(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.A(b,8,a.createUrl);b=_.A(b,9,a.createInFolderTemplate);b=_.A(b,10,a.objectType);b=_.A(b,11,a.supportsCreate);b=_.A(b,12,a.supportsImport);b=_.A(b,13,a.supportsMultiOpen);b=_.A(b,27,a.supportsOfflineCreate);b=
_.A(b,14,a.installed);b=_.A(b,15,a.authorized);b=_.A(b,16,a.productUrl);b=_.Pj(b,17,a.primaryFileExtensions);b=_.Pj(b,18,a.secondaryFileExtensions);b=_.A(b,19,a.shortDescription);b=_.A(b,20,a.longDescription);b=_.A(b,21,a.productId);b=_.A(b,22,a.removable);b=_.A(b,23,xjd[a.type]);b=_.A(b,25,a.hasAppData);b=_.A(b,26,a.appDataQuotaBytesUsed);b=_.A(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.A(b,30,a.hasDriveWideScope);b=_.A(b,31,a.driveSource);b=_.A(b,32,a.driveBranded);b=_.A(b,33,a.hidden);b=_.A(b,
34,a.supportsMobileBrowser);b=_.A(b,35,a.supportsTeamDrives);b=_.A(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 _.j8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,yjd[k.category]);h.call(f,l)}_.Cb(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Pj(b,24,d);c=a.rankingInfo||{};a=new _.p8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=zjd(c.mimeTypeScores||[]);_.Cb(a,2,d);c=zjd(c.fileExtensionScores||[]);
_.Cb(a,3,c);_.x(b,29,a);return b},zjd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.n8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},xjd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},yjd={application:1,document:2,documentShared:3};
var Bjd=function(a){var b=new yed;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.oP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.HN(c.updateTime));d=_.A(d,4,Ajd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.HN(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.ez()){var e=new kdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.x(d,6,c)}else 2===d.ez()&&(e=new _.jdd,e=_.A(e,1,c.deviceName),e=_.A(e,2,c.deviceModelName),
e=_.A(e,3,c.shouldIncludeSpecialSyncItems),c=_.A(e,4,c.deviceAndroidId),_.x(d,7,c));return d});_.Cb(b,2,a);return b},Djd=function(a){var b=new ued;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.pP).Pb(c.id);d=_.A(d,1,Cjd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.ldd(d.setSize(c.size),_.HN(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).um(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Cb(b,1,a);return b},Ajd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},Cjd={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 Ejd=function(a,b){this.H=a;this.O=b};
var Fjd={read:2,write:3,comment:4},Gjd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.MF((new _.Wk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.WM(d,_.y_c(c.userCapabilities));_.hN(b).includes(19)&&_.wWc(d,!0);Abd(a,d,_.hN(b));_.xWc(d,4);return d},Ijd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Fna;f=_.A(f,2,Hjd(e));e=Gjd(a,b,e);e=_.x(e,100,f);d.push(e)}});c=(new _.KA).Vw(d).QP(c.suggestionSessionId);return _.fZc(new _.AN,c)},Kjd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=Jjd(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=Gjd(a,b,l),d.push(q));l=S3c(R3c(Q3c(new _.Cna,k.clone()),Hjd(l)),l.url);_.ek(q,107,l,_.Cna,void 0)})}});return r5c((new _.qN).Vw(d),e).QP(c.suggestionSessionId)},Jjd=function(a){return _.MVc((new _.Dk).Pb(a.id).jd(a.displayName),a.emailAddress).uo(a.photoUrl)},
Mjd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=Gjd(a,b,e);e=Ljd(e);f=_.Cb(f,117,e);d.push(f)}});c=(new _.KA).Vw(d).QP(c.suggestionSessionId);return _.fZc(new _.AN,c)},Ljd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.jna,e=Njd(c);e&&_.dk(d,2,_.Gk[0],e);(e=Ojd(c))&&I2c(d,e);(e=Pjd(c))&&_.dk(d,4,_.Gk[0],e);(e=Qjd(c))&&_.dk(d,5,_.Gk[0],e);(e=Rjd(c))&&_.dk(d,6,_.Gk[0],e);(e=Sjd(c))&&_.dk(d,7,_.Gk[0],e);(e=Tjd(c))&&_.dk(d,8,_.Gk[0],e);(e=Ujd(c))&&
_.dk(d,9,_.Gk[0],e);(e=Vjd(c))&&_.dk(d,10,_.Gk[0],e);(c=Wjd(c))&&_.dk(d,11,_.Gk[0],c);return d}):(a=MP(a),a=s3c([a]),[I2c(new _.jna,a)])},Yjd=function(a){return(a.justification||[]).map(function(b){return Xjd(b)})},MP=function(a){return(a=a.justification)?Xjd(a):null},Xjd=function(a){var b=F2c(new _.Fk,Zjd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=Jjd(c),_.dk(b,3,_.ina[0],c),G2c(b,[c])):d?(c=(d.person||[]).map(function(e){return Jjd(e)}),d=E2c(c),_.dk(b,4,_.ina[0],d),G2c(b,c)):(c=(a.person||
[]).map(function(e){return Jjd(e)}),c.length&&(d=E2c(c),_.dk(b,4,_.ina[0],d),G2c(b,c)));_.A(b,5,_.HN(a.eventTime));H2c(b,Zjd(a.justificationDescription));return b},Zjd=function(a){if(!a)return null;a=a.textSegment||[];return B2c(new _.gna,a.map(function(b){var c=(new _.Bk).kh(b.text),d=b.link;if(d){var e=new _.Ck;d=_.A(e,1,d.url)}else d=null;c=_.x(c,2,d);c=_.A(c,3,b.bold);return _.A(c,4,b.italic)}))},Njd=function(a){a=a.documentDocosAction;if(!a)return null;var b=g3c(new _.pna,MP(a));f3c(b,(a.subAction||
[]).map(function(c){var d=new _.rna;c.reply?(c=new _.lna,_.dk(d,1,_.qna[0],c)):c.resolve?(c=new P2c,_.dk(d,2,_.qna[0],c)):c.reassign?(c=new N2c,_.dk(d,3,_.qna[0],c)):c.acceptSuggestion?(c=new J2c,_.dk(d,4,_.qna[0],c)):c.rejectSuggestion?(c=new O2c,_.dk(d,5,_.qna[0],c)):c.openThread&&(c=new _.kna,_.dk(d,6,_.qna[0],c));return d}));_.A(b,2,a.discussionId);_.A(b,3,a.postId);h3c(b,Zjd(a.anchorText));return b},Pjd=function(a){a=a.documentShareAction;if(!a)return null;var b=k3c(new _.Jk,MP(a));j3c(b,(a.subAction||
[]).map(function(c){var d=new m3c;c.suggestedShare?(c=new T2c,_.dk(d,1,l3c[0],c)):c.responseToRequest&&(c=new Q2c,_.dk(d,2,l3c[0],c));return d}));i3c(b,(a.sharee||[]).map(function(c){return Jjd(c)}));_.A(b,3,Fjd[a.shareeRole]);return b},Ojd=function(a){a=a.documentViewAction;if(!a)return null;var b=s3c(Yjd(a));r3c(b,(a.subAction||[]).map(function(c){var d=new u3c;c.open?d.ug(new gO):c.reviewEdits&&(c=new R2c,_.dk(d,2,t3c[0],c));return d}));return b},Qjd=function(a){a=a.emailViewAction;if(!a)return null;
var b=F3c(new D3c,MP(a));E3c(b,(a.subAction||[]).map(function(c){var d=new H3c;c.openEmail&&d.ug(new L2c);return d}));return b},Rjd=function(a){a=a.calendarEventAction;if(!a)return null;var b=Z2c(Y2c(X2c(new _.Hk,a.eventId),MP(a)),a.guestCount);W2c(b,(a.subAction||[]).map(function(c){var d=new a3c;if(c.viewCalendarEvent){var e=new U2c;_.dk(d,1,$2c[0],e)}c.shareWithAttendees&&(e=new S2c,_.dk(d,2,$2c[0],e));c.present&&(e=new M2c,_.dk(d,3,$2c[0],e));c.openDocument&&(c=new gO,_.dk(d,4,$2c[0],c));return d}));
return b},Sjd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=z3c(y3c(new w3c,a.workspaceId),MP(a));x3c(b,(a.subAction||[]).map(function(c){var d=new B3c;c.addToWorkspace&&(c=new K2c,_.dk(d,1,A3c[0],c));return d}));return b},Tjd=function(a){a=a.documentTopicAction;if(!a)return null;var b=o3c(new _.Kk,MP(a));n3c(b,(a.subAction||[]).map(function(c){var d=new q3c;c.openDocument&&(c=new gO,_.dk(d,1,p3c[0],c));return d}));return b},Ujd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=N3c(new _.Qk,MP(a));M3c(b,(a.subAction||[]).map(function(c){var d=new P3c;c.openDocument&&(c=new gO,_.dk(d,1,O3c[0],c));return d}));return b},Vjd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=c3c(new _.Ik,MP(a));b3c(b,(a.subAction||[]).map(function(c){var d=new e3c;c.openDocument&&(c=new gO,_.dk(d,1,d3c[0],c));return d}));return b},Wjd=function(a){a=a.formResponseAction;if(!a)return null;var b=J3c(new _.Pk,Yjd(a));I3c(b,(a.subAction||[]).map(function(c){var d=new L3c;c.openDocument?
(c=new gO,_.dk(d,1,K3c[0],c)):c.viewResponses&&(c=new V2c,_.dk(d,2,K3c[0],c));return d}));return b},Hjd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var $jd=function(a,b){this.H=a;this.O=b},bkd=function(a,b,c){_.GN(["drive#categoryMetadataList"],c);var d=new vO,e=Object.values(c.categoryMetadata||{});C6c(d,e.map(function(f){return akd(a,f,b.Ic())}));d.Cc(1);return new _.tN(d,add(c))},dkd=function(a,b){var c=new uP;Kdd(c,(b.categories||[]).map(function(d){return ckd(a,d)}));c.Cc(1);return new X8c(c,add(b))},akd=function(a,b,c){_.GN(["drive#categoryMetadata"],b);c=D5c((new pO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);C5c(c,b.map(function(d){return ekd(a,
d)}).filter(function(d){return d}));return c},ckd=function(a,b){var c,d=l6c(c6c(i6c(h6c(g6c(b6c(a6c((new sO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).um(b.description),_.HN(b.createTime)),_.HN(b.updateTime)),_.HN(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new Y5c).Pb(e.id);h=_.A(h,2,e.queryGuid);h=_.A(h,3,e.helpText);h=_.A(h,4,e.displayName);if(e.attributeDisplayHints){var k=fkd(e.attributeDisplayHints);_.x(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new G5c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.x(h,6,k)}_.A(h,7,gkd[f]);e=e[hkd(f)+"Options"];return ikd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&d6c(d,jkd(b.createdBy));b.updatedBy&&e6c(d,jkd(b.updatedBy));b.publishedBy&&f6c(d,jkd(b.publishedBy));b.displayHints&&j6c(d,fkd(b.displayHints));b.capabilities&&k6c(d,kkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},ekd=function(a,b){_.GN(["drive#categoryAttributeValue"],
b);var c=(new nO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),A5c(c,b.map(function(d){_.GN(["drive#userScopedAttributeValue"],d);var e=new x5c,f=_.MN(a.H,d.scopedUser);e=_.x(e,1,f);return a.Jb(e,d)?e:null}).filter(function(d){return d})),c.SA(9);else if(!a.Jb(c,b))return null;return c},fkd=function(a){var b=(new F5c).hk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},kkd=function(a){var b=new $5c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},ikd=function(a,b,c,d){return lkd(a,function(){mkd(a)[c](b,d)},c,b)},nkd=function(a){a=void 0===a?{}:a;var b=new J5c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},pkd=function(a){var b=new P5c;Q5c(b,(a.choices||[]).map(function(c){var d=(new O5c).wd(c.label).Jb(c.value);c.description&&d.um(c.description);if(c.capabilities){var e=c.capabilities;var f=new M5c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.x(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new N5c).hk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=okd(c.badgeColors),_.x(e,3,f)),c.darkBadgeColors&&(c=okd(c.darkBadgeColors),_.x(e,4,c)),_.x(d,4,e));return d}));return b},okd=function(a){var b=new E5c;var c=qkd(a.backgroundColor);b=_.x(b,1,c);c=qkd(a.foregroundColor);b=_.x(b,2,c);a=qkd(a.soloColor);return _.x(b,3,a)},qkd=function(a){var b=new _.qC;b=_.Tj(b,1,a.red,0);b=_.Tj(b,2,a.green,0);b=_.Tj(b,3,a.blue,0);a.alpha&&(a=
(new q4c).Jb(a.alpha),_.x(b,4,a));return b},rkd=function(a){var b=new T5c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},skd=function(a){var b=(new _.Xna).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};$jd.prototype.Jb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.SA(gkd[d]);return lkd(this,function(){tkd(c)[d](a,b[b.valueType])},b.valueType)};
var lkd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof V5c))return T4c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},jkd=function(a){return _.KVc(1).Pb(a.personName.split("/")[1])},hkd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},mkd=function(a){return{BOOLEAN:function(b,c){var d=b.g4a;var e=new K5c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.uda(nkd(c))},TEXT_LIST:function(b,c){var d=b.g5a;var e=new S5c;e=_.A(e,1,c.maxEntries);c=nkd(c.options);c=_.x(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new I5c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.dk(b,10,qO[0],c)},SELECTION:function(b,c){return b.U4a(pkd(c))},SELECTION_LIST:function(b,c){var d=b.T4a;var e=new R5c;e=_.A(e,1,c.maxEntries);c=pkd(c.options);c=_.x(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.t4a(rkd(c))},INTEGER_LIST:function(b,
c){var d=b.s4a;var e=new U5c;e=_.A(e,1,c.maxEntries);c=rkd(c.options);c=_.x(e,2,c);return d.call(b,c)},USER:function(b){return b.l5a(new W5c)},USER_LIST:function(b,c){var d=b.Dpa,e=new X5c;c=_.A(e,1,c.maxEntries);e=new W5c;c=_.x(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.jpa;var e=new H5c;e=_.A(e,4,c.dateFormat);var f=skd(c.minValue);e=_.x(e,2,f);c=skd(c.maxValue);c=_.x(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new V5c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,gkd[e]);c=c[hkd(e)+"Options"];ikd(a,d,e,c);return _.dk(b,16,qO[0],d)}}},tkd=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.zpa(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.vpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.npa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.MN(a.H,c))},USER_LIST:function(b,c){z5c(b,c.map(function(d){return _.MN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},gkd={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 ukd=function(a){a=a.personResponse;return s$c(new r$c,a.map(function(b){var c=b.person;b=o$c(new VO,b.personId);var d=b.jd,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:d;d=d.email;b=p$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new n$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.x(b,4,c)}))};
var vkd=function(a){this.H=a},xkd=function(a,b){_.GN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return wkd(a,c)})},wkd=function(a,b){_.GN(["drive#teamDrive","drive#drive"],b);var c=new _.Hna,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.A(c,2,d);_.A(c,1,b.backgroundImageLink);_.A(c,3,b.trusted);_.A(c,5,b.backgroundImageGridViewLink);_.A(c,6,b.backgroundImageListViewLink);_.A(c,7,b.hidden);_.A(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&
Y0c(c,d.map(function(e){_.GN(["drive#driveCategoryReference"],e);var f=new _.Vk;return _.A(f,1,e.category)}));c=_.CWc(_.BWc(_.AWc(_.xWc(_.yWc(X0c(_.MF((new _.Wk).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.YVc(_.y_c(b.capabilities),!0),_.WM(c,d));b.permissionsSummary&&_.zWc(c,_.O_c(a.H,b.permissionsSummary));b.restrictions&&$0c(c,ykd(b.restrictions));return c},ykd=function(a){var b=new T3c;
b=_.A(b,1,a.copyRequiresWriterPermission);b=_.A(b,2,a.disallowDriveFileStream);b=_.A(b,3,a.domainUsersOnly);return _.A(b,4,a.teamMembersOnly)};
var zkd={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},n2c=_.ab(zkd);
var Akd=function(a){_.GN(["drive#setting"],a);var b=new _.Rb;b=_.A(b,2,a.key);b=_.A(b,1,zkd[a.namespace]);return _.QAa(new _.bp,b).Jb(a.value)};
var Ckd=function(a){_.GN(["drive#workspaceList"],a);var b=a.items||[];b=v$c(new WO,b.map(function(c){return Bkd(c)}));return new _.wN(b,add(a))},Bkd=function(a){_.GN(["drive#workspace"],a);var b=(new _.KF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.HN(a.createdDate));return _.A(b,4,_.HN(a.modifiedDate)).Nd(Dkd[a.state])},Ekd=function(a,b,c){var d=c.item||[];return _.E0c(_.D0c(new _.RN,d.map(function(e){return Gjd(a,b,e)})),c.suggestionSessionId)},Gkd=function(a,b,c){var d=c.item||[];return A8c(z8c(new GO,
d.map(function(e){return Fkd(a,b,e)})),c.suggestionSessionId)},Fkd=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return x8c(v8c(w8c(u8c(new FO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Gjd(a,b,f)})),MP(c))},Hkd=function(a){var b=new _.u5c;a.kind&&(a=Bkd(a),_.x(b,2,a));b.Cc(1);return b},Dkd={active:1,archived:2};
var j2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var Ikd=function(a,b,c,d){_.X_c.call(this,b);this.Kg=a;this.ka=c;this.O=d;this.W=null;this.ma=new uid(this.V,b);this.H=new vkd(this.xF);this.oa=new Ejd(this.xF,this.H)};_.L(Ikd,_.X_c);var Jkd=function(a){a.W||(a.W=new $jd(a.V,a.ka));return a.W};
Ikd.prototype.ha=function(a,b){if(a instanceof _.YL)var c=_.G_c(_.b0c(a));else{if(a instanceof _.ZL)var d=_.Z_c(this,a,b);else{if(a instanceof _.lVc)var e=Kkd(this,a.request,b);else{if(a instanceof _.$L)var f=_.Z_c(this,a,b);else{if(a instanceof _.bM){if(!b.json)throw _.NN();var h=E6c((new D6c).Cc(1),wkd(this.H,b.json))}else{if(a instanceof _.aM)var k=_.Z_c(this,a,b);else{if(a instanceof _.mN)var l=new q6c;else{if(a instanceof _.dM)var p=Lkd(a,b);else{if(a instanceof _.eM)var q=wjd(void 0,a.Ah());
else{if(a instanceof _.fM)var r=new zed;else{if(a instanceof _.gM)var u=_.G_c(_.b0c(a));else{if(a instanceof _.hM)var y=new tP;else{if(a instanceof _.iM)var z=_.G_c(_.b0c(a));else{if(a instanceof _.jM)var D=_.G_c(_.b0c(a));else{if(a instanceof _.eD){var G=new Ddd,I=a.getKey();var M=_.x(G,4,I)}else{if(a instanceof _.kM)var O=Lkd(a,b);else{if(a instanceof _.nM)var X=_.G_c(_.b0c(a));else{if(a instanceof _.iVc){if(!b.json)throw _.NN();var ra=new V8c(b.json.exportJob.id)}else{if(a instanceof _.pM){if(!b.json)throw _.NN();
var fa=b.json,na=new ydd,sa=vjd(fa);var ua=_.x(na,2,sa).Cc(1)}else{if(a instanceof _.qM)var Wa=Mkd(a,b);else{if(a instanceof _.rM){if(!b.json)throw _.NN();var Ia=(new tP).Cc(1),Ra=_.H_c(this.xF,b.json);var Zb=_.x(Ia,2,Ra)}else{if(a instanceof _.CL)a:{if(!b.json)throw _.NN();if(a instanceof _.CL){var ub=a.yd();if(ub&&_.sM(ub)){var wc=Ijd(this.O,this.Kg,b.json);break a}if(ub&&_.tM(ub)){wc=Kjd(this.O,this.Kg,b.json);break a}if(ub&&_.uM(ub)){wc=Mjd(this.O,this.Kg,b.json);break a}}wc=_.D_c(this.xF,b.json,
b.headers)}else{if(a instanceof _.vM){if(!b.json)throw _.NN();var Sc=Djd(b.json)}else{if(a instanceof _.wM){if(!b.json)throw _.NN();var gd=b.json;_.GN(["drive#appList"],gd);for(var ve=new UO,be=[],Jf=gd.items||[],yc=0;yc<Jf.length;yc++)be.push(vjd(Jf[yc]));var yb=_.Cb(ve,2,be);var Dg=_.Pj(yb,4,gd.defaultAppIds).Cc(1)}else{if(a instanceof _.jVc){if(!b.json)throw _.NN();var Ug=Bjd(b.json)}else{if(a instanceof _.OL)var Ve=Nkd(this,b);else{if(a instanceof _.xM){if(!b.json)throw _.NN();var dj=new Bdd,
$f=this.xF,Bi=b.json,Gg=new mO,el=_.I_c($f,Bi,"items");var $e=_.Cb(Gg,2,el);var af=_.x(dj,1,$e);var mh=_.A(af,2,add(b.json))}else{if(a instanceof _.yM){if(!b.json)throw _.NN();var Uh=this.xF,sj=b.json,Lk=new k5c;_.GN(["drive#revisionList"],sj);for(var Ln=[],vp=sj.items||[],Ri=0;Ri<vp.length;Ri++){var pi=_.E_c(Uh,vp[Ri]);Ln.push(pi)}var fl=_.Cb(Lk,2,Ln)}else{if(a instanceof _.eL)var Rf=Okd(a,b);else{if(a instanceof _.AM){if(!b.json)throw _.NN();var Kl=ukd(b.json)}else{if(a instanceof _.rVc){if(!b.json)throw _.NN();
var tj=dkd(Jkd(this),b.json)}else{if(a instanceof _.GF){if(!b.json)throw _.NN();var pk=Jkd(this),ej=b.json,Ll=new Ldd,Im=ckd(pk,ej);var Mk=_.x(Ll,2,Im).Cc(1)}else{if(a instanceof _.BM){if(!b.json)throw _.NN();var Ml=b.json;_.GN(["drive#remainingCount"],Ml);var Vg=new Mdd,Nl=Ml.nextPageToken;null!=Nl&&_.A(Vg,2,Number(Nl));_.A(Vg,1,Number(Ml.remainingCount));var Ci=Vg}else{if(a instanceof _.JF){if(!b.json)throw _.NN();var Ij=(new _.KA).Vw([wkd(this.H,b.json)])}else{if(a instanceof _.LM){if(!b.json)throw _.NN();
var Jj=(new _.KA).Vw(xkd(this.H,b.json)),uj=_.fZc(new _.AN,Jj);var gl=_.A(uj,3,add(b.json))}else{if(a instanceof _.FM)var vj=Mkd(a,b);else{if(a instanceof _.GM)var hl=Kkd(this,a,b);else{if(a instanceof _.ML)var mf=_.Z_c(this,a,b);else{if(a instanceof _.HM)var Kj=_.Z_c(this,a,b);else{if(a instanceof _.IM)var hm=Pkd(this,b);else{if(a instanceof _.fD){if(!b.json)throw _.NN();var im=Akd(b.json),jm=new Ddd;var Si=_.x(jm,3,im);var Gc=im.getKey();var Wj=_.x(Si,4,Gc)}else{if(a instanceof _.JM)var Vh=Lkd(a,
b);else{if(a instanceof _.wL){if(!b.json)throw _.NN();var wj=yid(this.ma,b.json)}else{if(a instanceof _.LF){if(!b.json)throw _.NN();var mg=Bkd(b.json),Hg=new _.rN;Hg.gU().set(mg.getId(),mg);var Nk=Hg}else{if(a instanceof _.kVc){if(!b.json)throw _.NN();for(var km=b.json,hi=new R8c,qi=_.m(Object.entries(km)),qk=qi.next();!qk.done;qk=qi.next()){var fj=_.m(qk.value),wo=fj.next().value,jn=fj.next().value;switch(wo){case "nextPageToken":_.Yj(hi,2,jn);break;case "activities":var il=cjd(jn);_.Cb(hi,1,il)}}var Xj=
hi}else{if(a instanceof _.mVc)var Mn=Pkd(this,b);else{if("undefined"!=typeof _.qVc&&a instanceof _.qVc)var xo=Nkd(this,b);else{if(a instanceof _.nVc){if(!b.json)throw _.NN();var jq=new U8c}else{if(a instanceof _.oVc){if(!b.json)throw _.NN();var Po=m2c(b)}else{if(a instanceof _.dD){if(!b.json)throw _.NN();var Rm=b.json,Bj=new _.lz;_.GN(["drive#settingList"],Rm);for(var Qo=[],Dp=Rm.items||[],Ep=0;Ep<Dp.length;Ep++){var ur=Akd(Dp[Ep]);ur&&Qo.push(ur)}var Qw=_.Ehb(Bj,Qo)}else{if(a instanceof _.IF){if(!b.json)throw _.NN();
var vr=Gkd(this.O,this.Kg,b.json).Cc(1)}else{if(a instanceof _.HF){if(!b.json)throw _.NN();var Gs=Ekd(this.O,this.Kg,b.json)}else{if(a instanceof _.wVc){if(!b.json)throw _.NN();var wA=b.json;_.GN(["drive#teamDrive"],wA);var TC=wA.recursiveFolderCount,mv=wA.recursiveFileCount,zr=new qdd;var Ar=_.A(zr,1,mv);var Qt=_.A(Ar,2,TC)}else{if(a instanceof _.vVc)var xA=Qkd(b);else{if(a instanceof _.yVc){if(!b.json)throw _.NN();var yA=Ckd(b.json)}else yA=a instanceof _.bO?Pkd(this,b):null;xA=yA}Qt=xA}Gs=Qt}vr=
Gs}Qw=vr}Po=Qw}jq=Po}xo=jq}Mn=xo}Xj=Mn}Nk=Xj}wj=Nk}Vh=wj}Wj=Vh}hm=Wj}Kj=hm}mf=Kj}hl=mf}vj=hl}gl=vj}Ij=gl}Ci=Ij}Mk=Ci}tj=Mk}Kl=tj}Rf=Kl}fl=Rf}mh=fl}Ve=mh}Ug=Ve}Dg=Ug}Sc=Dg}wc=Sc}Zb=wc}Wa=Zb}ua=Wa}ra=ua}X=ra}O=X}M=O}D=M}z=D}y=z}u=y}r=u}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var Lkd=function(a,b){if(!b.json){if(a instanceof _.kM)return Hkd({});throw _.NN();}return Hkd(b.json)},Pkd=function(a,b){if(!b.json)throw _.NN();a=wkd(a.H,b.json);return(new _.NM).Cc(1).setItem(a)},Kkd=function(a,b,c){if(!c.json)throw _.NN();return bkd(Jkd(a),b,c.json)},Mkd=function(a,b){if(!b.json)throw _.NN();return wjd(b.json,a.Ah())},Nkd=function(a,b){if(!b.json)throw _.NN();a=a.oa;var c=b.json;_.GN(["drive#about","drive#changeList"],c);b=new l$c;var d=c.nextPageToken;null!=d&&_.A(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.A(b,3,Number(d));if("drive#changeList"==c.kind){_.GN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.GN(["drive#change"],h);var k=new _.FL;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.FUc(k,h.teamDriveId),_.GL(k,h.teamDriveId)):_.GL(k,h.fileId);h.file?k.setItem(_.A_c(f.H,h.file)):h.teamDrive&&k.setItem(wkd(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.QL(k);d.push(k)}_.Cb(b,4,d)}return b},Qkd=function(a){var b,c;if(!a.json)throw _.NN();
a=a.json;var d=a.result&&a.result.status;d=d&&Rkd[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 ced(bed(aed(new _.$dd,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Ydd;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Xdd(Wdd(Vdd(Udd(new vP,add(a)),a.processedFileCount).Cc(d),a.result&&a.result.validationToken),
e)},Okd=function(a,b){var c=new Bed;if(_.Pd(a,6).length){var d=[];j1c(_.Pd(a,6),b.headers).forEach(function(e,f){var h=new _.ERc;e=_.A(h,1,f).Jb(e);d.push(e)});_.Cb(c,1,d)}Ced(c,b.json?JSON.stringify(b.json):b.text);return c},Rkd={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Tkd=function(a){var b=new _.Io;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Skd[a]);_.jN(b,c.join(" "))}return b.toString()},Ukd={},Skd=(Ukd[1]="active",Ukd[2]="archived",Ukd);
var Vkd=function(a,b,c,d){_.ON.call(this,b,c,a.ZMa,d);this.ma=a;this.ha=new y9c(_.hN(c),b)};_.L(Vkd,_.ON);
Vkd.prototype.V=function(a,b,c){var d=this;try{return _.ON.prototype.V.call(this,a,b,c)}catch(O){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.ZL){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=_.C(a,4));var r=bdd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.$L){h="POST";q="files/"+a.Ic()+"/authorize";k.appId=a.Ah();
_.R(a,3)&&(k.propagate=!0);var u=a.we();p=!0;_.gN(k);_.QM(this.H,[],[a.Ic()],this.O,f)}else if(a instanceof _.bO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=LO(this.H,[],!0),u=a.we(),p=!0;else if(a instanceof _.mVc)h="POST",q="teamdrives/"+a.requestId,k.fields=LO(this.H),r={},r=(r.name=a.request.getTitle(),r),f["content-type"]="application/json",u=a.request.we(),p=!0;else if(a instanceof _.dM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=ddd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.aM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.$Uc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),LG:_.BL(this.H)}),k.convert=_.S(a,4,!1),r=cdd(a),f["content-type"]="application/json",u=a.we(),a=_.Pd(a,3).concat([a.getId()]),_.QM(this.H,[],a,this.O,f),p=!0,_.gN(k),_.n0c(this.H,k);else if(a instanceof _.eM)h="DELETE",q="apps/"+a.Ah(),k.appId=a.Ah(),k.deleteAppData=
!!_.R(a,2),u=a.we(),p=!0;else if(a instanceof _.fM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.gM)h="DELETE",q="files/"+a.getId(),u=a.we(),p=!0,_.gN(k),_.n0c(this.H,k),_.QM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.hM)h="DELETE",q="files/"+a.Ic()+"/permissions/"+_.C(a,2),u=a.we(),p=!0,_.gN(k);else if(a instanceof _.iM)h="DELETE",q="files/"+a.Ic()+"/revisions/"+_.C(a,2),u=a.we(),p=!0,_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.jM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.we(),p=!0;else if(a instanceof _.eD)h="DELETE",u=a.getKey(),q="settings/"+_.C(u,2),_.cp(u)&&(k.namespace=n2c[_.cp(u)]),u=a.we(),p=!0;else if(a instanceof _.kM)h="DELETE",q="workspaces/"+a.getId(),u=a.we(),p=!0;else if(a instanceof _.nM)h="DELETE",q="files/trash",u=a.yd().we(),p=!0,_.n0c(this.H,k);else if(a instanceof _.pM)q="apps/"+a.Ah(),u=a.we(),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 _.vM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=iO(_.vL(this.H));else if(a instanceof _.qM)h="POST",q="apps",k.appId=a.Ah(),u=a.we(),p=!0;else if(a instanceof _.rM)h="POST",q="files/"+a.Ic()+"/permissions",k.fields=_.BL(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.C(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.$f()?r.role="owner":3==a.$f()?r.role="writer":4==a.$f()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.$f()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Xa()&&(r.value=a.Xa()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.we(),p=!0,_.gN(k);else if(a instanceof _.iVc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Pd(a,1).map(function(O){if(_.S(d.H,89,!1)){var X=_.RYc(d.O,O);if(null!==X)return{id:O,resource_key:{resource_key:X}}}return{id:O}}),r={archiveFormat:null,archivePrefix:_.C(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.CL||a instanceof _.mN||a instanceof _.IF||a instanceof _.HF)if(b=a instanceof _.CL?a.yd():a,_.PM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.aN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=H9c(this.H);z.platformType=y;z.languageCode=iO(_.vL(this.H));z.timeZone=(new _.wt).M$();z.requestType="LIVE_REQUEST";a instanceof _.CL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.bf?_.sM(b)?(E9c(this.ha)?(z.scenarioType="ONE_PICK",this.Dd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.ZM(b)&&(E9c(this.ha)||(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Pd(b,33)[0]}),_.Cl(b).length&&
(r.itemType=G9c(b))):_.tM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.uM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.mN?(q="/v1/userfeedback",r.userFeedback=_.ck(b,_.n6c,1).map(function(O){var X=_.E(O,_.tO,2),ra={},fa={};fa.feedbackType=F6c[X.getType()];ra.item=fa;ra.clientInfo=z;switch(O.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";fa.itemId=X.Ic();break;case 3:z.scenarioType="QUICK_ACCESS";fa.itemId=X.Ic();break;case 2:z.scenarioType="DRIVE_WORKSPACES",fa.itemId=X.Ic(),fa.childItem=
_.ck(X,_.tO,3).map(function(na){var sa={};sa.itemId=na.Ic();return sa})}return ra})):b instanceof _.IF?z.scenarioType="DRIVE_WORKSPACES":b instanceof _.HF?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",r.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Xp()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.q0c(a);b instanceof _.mN||(r.maxSuggestions=b.Li(),r.clientInfo=z)}else{u=b.we();p=!0;q="files";k.q=_.UXc(b);y=[];var D;(D=_.LL(this.H))&&
_.S(D,4,!1)?(D=_.xa(this.Mg(c),this.Mg(c,b.O())),_.Ea(D)):D=_.ya(this.Mg(c));var G=void 0,I=!1;0<_.ck(b,_.xl,5).length&&(G=_.C(this.H.Yf(),50),I=!0);k.fields=P0c({fields:D,tr:_.uL(_.vL(this.H)),I7:G||void 0,LG:_.BL(this.H),nBb:I});k.appDataFilter="NO_APP_DATA";0<_.ck(b,_.YM,25).length&&(k.sources=_.MXc(b));0<b.sB().length&&(k.spaces=_.NXc(b));a.Yn()&&(k.pageToken=a.Yn());(a=a.getOptions())&&_.Lj(a,1,1E3)&&(k.maxResults=_.Lj(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.C(b,43)&&(k.rawUserQuery=
_.C(b,43));_.gN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Pd(b,33).length&&2==_.ZM(b)&&(a=_.Pd(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.tXc[_.ZM(b)];_.R(b,18)&&(_.Xa(k,"corpora"),k.corpus="DOMAIN");a=_.Dl(b);D=_.ck(b,_.rl,35);G=_.ck(b,_.rl,38);y=y.concat(a.filter(function(O){return!_.S(O,2,!1)}).map(function(O){return O.Xa()})).concat(D.map(function(O){return O.Xa()})).concat(G.map(function(O){return O.Xa()}));_.QM(this.H,_.ck(b,_.zl,63),y,this.O,f);l1c(k,b.Ac());_.o0c(this.H,k);_.p0c(this.H,
k);_.E(b,_.dea,64)&&(a=U3c(_.E(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.wM){q="apps";switch(a.getType()){case 1:k.fields=Wkd;break;case 2:k.fields=Xkd;break;case 4:k.fields=Ykd;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.uu=!0}k.languageCode=iO(_.vL(this.H));
0<_.Pd(a,3).length&&(k.appFilterExtensions=_.Pd(a,3).join(","));0<_.Pd(a,4).length&&(k.appFilterMimeTypes=_.Pd(a,4).join(","));u=a.we();p=!0}else if(a instanceof _.jVc)q="backups",e=9,k.languageCode=iO(_.vL(this.H));else if(a instanceof _.OL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.dR(),k.startChangeId=_.C(a,1),k.fields=O0c({fields:this.Mg(c),I7:LO(this.H,_.Pd(a,5)),tr:_.uL(_.vL(this.H)),LG:_.BL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Pd(this.H.Yf(),31),u.length&&(k.spaces=_.Bb(u,function(O){return _.HRc[O]}).join(",")),_.gN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.we(),p=!0;else if(a instanceof _.xM)b=a.yd(),q="files/"+b.getId()+"/permissions",k.fields=_.BL(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",
a.Yn()&&(k.pageToken=a.Yn()),_.C(a,1)&&(k.maxResults=_.C(a,1)),u=b.we(),p=!0,_.gN(k),_.o0c(this.H,k),_.p0c(this.H,k),_.QM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.yM)k.fields=_.BL(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",
k.maxResults=a.Li(),q="files/"+a.Ic()+"/revisions",u=a.we(),p=!0,_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.JF)q="teamdrives/"+a.jn()[0],k.fields=LO(this.H,a.O()),u=a.we(),p=!0;else if(a instanceof _.vVc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=edd(a),f["content-type"]="application/json",p=l=!0,_.QM(this.H,[],_.Pd(a.request,1),this.O,f);else if(a instanceof _.LM)u=a.yd(),q="teamdrives",k.fields=Z8c(this.H,u.O()),k.q=p9c(u),
a.Yn()&&(k.pageToken=a.Yn()),(u=(u=a.getOptions())&&_.Lj(u,1,1E3))&&(k.maxResults=u),u=a.yd().we(),p=!0;else if(a instanceof _.wVc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.FM)h="PUT",q="apps/"+a.Ah(),k.appId=a.Ah(),r={},r.useByDefault=_.R(a,2),_.R(a,3)&&(r.hasAppData=!1),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.ML)h="PUT",q="files/"+a.getId(),k.fields=_.$Uc({fields:this.Mg(c),tr:_.uL(_.vL(this.H)),
LG:_.BL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Pd(a,9).length&&(k.addParents=_.Pd(a,9).join(",")),_.Pd(a,10).length&&(k.removeParents=_.Pd(a,10).join(",")),_.Pd(a,31).length&&(k.addWorkspaces=_.Pd(a,31).join(",")),_.Pd(a,32).length&&(k.removeWorkspaces=_.Pd(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=iO(_.vL(this.H)),r=fdd(a),f["content-type"]="application/json",u=a.we(),p=!0,_.gN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.n0c(this.H,k),b=_.Pd(a,9).concat(_.Pd(a,10)),b.push(a.getId()),_.QM(this.H,_.ck(a,_.zl,38),b,this.O,f);else if(a instanceof _.HM)h="PUT",q="files/"+a.Ic()+"/revisions/"+_.C(a,2),r=gdd(a),f["content-type"]="application/json",u=a.we(),_.QM(this.H,[],[a.Ic()],this.O,f);else if(a instanceof _.IM)q="teamdrives/"+a.getId(),null!=a.Fm()?(h="POST",q+="/"+(a.Fm()?"hide":"unhide")):(h="PUT",r=hdd(a),f["content-type"]="application/json"),k.fields=LO(this.H),u=a.we(),p=!0;else if(a instanceof
_.JM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=idd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.fD)h="PUT",r=_.E(a,_.bp,1),u=r.getKey(),q="settings/"+_.C(u,2),(u=_.cp(u))&&(k.namespace=n2c[u]),r=o2c(r),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.wL)q="about",k.fields=_.BL(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=r2c(k.fields,this.H),k.fields=s2c(k.fields,this.H),u=a.we(),p=!0;else if(a instanceof _.eL){e=11;h=a.Qz();q=a.getUrl();var M=_.C(a,5)||"";_.ck(a,_.ERc,2).forEach(function(O){f[O.getKey()]=
O.Xa()});_.ck(a,_.ERc,4).forEach(function(O){k[O.getKey()]=O.Xa()});_.R(a,7)&&(b.AKb=!0);_.R(a,8)&&(b.uu=!0);_.R(a,9)&&(b.Kna=!0)}else a instanceof _.lVc?(b=a.request.Ic(),q="files/"+b+"/listCategoryMetadata",u=a.request.we(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),k.fields="kind,nextPageToken,categoryMetadata",_.QM(this.H,[],[b],this.O,f)):a instanceof _.GM?(f["content-type"]="application/json",h="POST",b=a.Ic(),q="files/"+b+"/updateCategoryMetadata",
u=a.we(),r={categoryMetadata:a.UV().map(function(O){var X=_.ck(O,_.EF,2).map(function(fa){return{id:fa.getId(),userId:fa.Vz(),setBooleanValue:_.R(fa,3),setTextValue:_.C(fa,4),setTextValues:_.Pd(fa,6),addTextValues:_.Pd(fa,5),setLongTextValue:_.C(fa,7),setSelectionValue:_.C(fa,8),setSelectionValues:_.Pd(fa,10),addSelectionValues:_.Pd(fa,9),setIntegerValue:_.C(fa,11),setIntegerValues:_.Pd(fa,13),addIntegerValues:_.Pd(fa,12),setUserValue:_.C(fa,14),setUserValues:_.Pd(fa,16),addUserValues:_.Pd(fa,15),
setDateStringValue:_.C(fa,17)}}),ra={categoryName:O.en()};X.length?ra.categoryAttributeValueDeltas=X:_.Pd(O,4).length?ra.revertAttributeIds=_.Pd(O,4):_.R(O,3)&&(ra.removeCategory=_.R(O,3));return ra})},_.QM(this.H,[],[b],this.O,f)):a instanceof _.AM?(e=13,q=_.uL(_.vL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.jn(),k["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=
["DASHER_ADMIN_DISABLED"],_.uL(_.vL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.rVc?(e=12,q="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),a.request.getCustomer()&&(k.customer=a.request.getCustomer()),k.$outputDefaults=!0,k.languageCode=iO(_.vL(this.H))):a instanceof _.GF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
iO(_.vL(this.H))):a instanceof _.bM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.we(),p=!0,k.fields=LO(this.H,[157],!0),r={},b=_.ck(a,_.Vk,2),b.length&&(r.addCategoryReferences=b.map(function(O){return{category:O.en()}})),a=_.ck(a,_.Vk,3),a.length&&(r.removeCategoryReferences=a.map(function(O){return O.en()}))):a instanceof _.LF?(q="workspaces/"+a.jn()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.we(),p=!0):a instanceof _.kVc?
(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(),_.S(a.request,2,!1)?r.ancestorName=b:r.itemName=b,r.consolidationStrategy={legacy:{}},(a=_.LL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.nVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.oVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.qVc&&a instanceof _.qVc?(q="changes",k.fields="kind,largestChangeId",_.gN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.dD?(q="settings",u=_.Pd(a,3),k.namespace=p2c(u),u=a.we(),p=!0):a instanceof _.yVc?(q="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Li()&&(k.maxResults=a.request.Li()),k.q=Tkd(a.request),(u=a.request.yw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.we(),p=!0):a instanceof _.BM?(q="changes/getRemainingCount",k.pageToken=_.C(a,2),_.Q(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.we()):a instanceof _.YL?(f["content-type"]="application/json",h="POST",q="files/"+a.Ic()+"/sendAccessRequest",r={},l=!0):_.q0c(a);p&&_.r0c(c,k);0!=e||l||u&&_.C(u,1)||_.xN(this.Dd,74438989);return _.s0c(this,e,q,k,f,h,u,r,M)};
Vkd.prototype.W=function(a,b){a=this.ma.zm.H(a);b.expectedParentIds=a?a.mk().join(","):[]};
var Wkd=q2c("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"),Xkd=
q2c("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"),
Ykd=q2c("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 Zkd=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,D,G,I,M,O,X,ra,fa){this.Yoa=_.Sh();this.Zfa=new _.GYc;var na=new _.hZc(this.kK.bind(this),function(){return X("w8KrJc")}),sa=new sid(b.zm),ua=new jid(na);c=new bid(b,f,new Xhd(d,e,c),h,this.Yoa.promise,k,l,c,X);d=new rid(b,p,q,r,u,d,e,D,k);this.O=new _.JYc(a,y);y=new Vkd(b,a,k,ra);this.dta=new Ikd(k,a,z,D);this.H=$cd(a,new _.v_c(this.O,this.Zfa,y,this.dta,G,I,M),I,z,O,b.zm,this.Zfa,this.Yoa.promise,M||void 0);this.Yoa.resolve(fa?fa:new _.UZc(new tid,
sa,ua,this.H,na,c,d,a))};Zkd.prototype.kK=function(){return _.Pa(this.H,function(a){return a.kK()})};var ffd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=n5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var $kd=function(a,b){var c=this;this.context=a;this.Kg=b;this.ha=null;this.PR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Dd=a.Tk();this.W=new _.tn;this.O=a.Pc;this.Ha=_.LL(this.O)||new _.mUc;b=_.jO(this.O);this.va=new _.PYc(_.Lj(b,2,37500),_.Lj(b,3,6E5));this.ma=a.JQ;_.Ma(S9c,function(d){c.V[d]=[]});YO(a.Oj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});YO(a.Oj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});YO(a.Oj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.qL().catch(_.Ff)})};_.g=$kd.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,FP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&T4c(a.context.Zf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.VL(c));a.log("Error initializing dump storage");a.uS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.Nna=function(a){this.active&&(this.PR+=a,this.PR>_.Lj(_.jO(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.mR().kK()||0<b.wf.II.roa||b.Ij().Xe()||b.nk().Xe())||((this.active=a)?(this.W.resolve(),this.H||this.qL().catch(_.Ff)):(this.W=new _.tn,_.n.clearTimeout(this.oa)))}};_.g.uS=function(){this.ka=!0};_.g.QWa=function(){return this.H?this.H.promise:(new _.tn).resolve()};
_.g.qL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.tn;this.H.promise.finally(function(){a.H=null});var b=this.Dd.H(106021)||void 0;this.W.promise.then(function(){return Ucd(a.context.GD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([ald(a,3,d,void 0,void 0,b),ald(a,0,d,void 0,!0,b),ald(a,1,d,void 0,!0,b),ald(a,5,d,void 0,!0,b),ald(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.nc("Failed to update dump",void 0,_.VL(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=$4c(b),_.A(c,2,!0),b.Yj())},function(c){a.H.reject(c);b&&(c=$4c(b),_.A(c,2,!1),b.Yj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.tn,e=this.Dd.H(106021)||void 0;e&&(I4c($4c(e),_.oN(_.gUc,a)),d.promise.then(function(){var f=$4c(e);_.A(f,2,!0);e.Yj()},function(){var f=$4c(e);_.A(f,2,!1);e.Yj()}));this.W.promise.then(function(){return Ucd(c.context.GD)}).then(function(f){f=!f;c.ka?d.resolve():ald(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var ald=function(a,b,c,d,e,f){var h=_.ha(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.tn;h.promise.finally(function(){a.Nu(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Nu(b,c,d,e,f);var l={encrypt:c,promise:k.promise};a.V[b].push(l);return k.promise.catch(function(p){a.ma.O.Jf()?a.uS():p instanceof _.nc&&(p=p.O||null,p instanceof _.qL&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.uS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
$kd.prototype.Nu=function(a,b,c,d,e){var f=this,h=new _.tn;this.W.promise.then(function(){if(3===a)bld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.jQ;k=k.H?k.H.clone():null;break;case 1:k=f.context.j_.Pq();break;case 5:k=cld(f.context.rE);break;case 6:k=f.context.wf.Eq;k=s$c(new r$c,nad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.ck(_.jO(f.O),hO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Sbd(f.ma,b?l:null,
[k],e).then(h.resolve,h.reject)}else d?(f.log("Skipping dump update: "+a),h.resolve()):h.reject(Error("qg"))}});return h};
var bld=function(a,b,c,d){_.n.clearTimeout(a.oa);a.oa=_.n.setTimeout((0,_.v)(a.Ja,a),a.va.Xa());if(b&&0===a.PR)return Promise.resolve();a.PR=0;var e=_.ck(_.jO(a.O),hO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(K8c,function(k){0<k&&(k=dld(a,k),k.length&&f.push(Sbd(a.ma,c?e:null,k,d)))});var h=new _.tn;Promise.all(f).then(function(){a.Fa&&a.context.GD.set(Scd,!0);h.resolve()},h.reject);return h.promise};
$kd.prototype.Ja=function(){_.mH(this.va);this.update(3,!0)};
var dld=function(a,b){switch(b){case 1:return[eld(a)];case 2:var c=(b=a.context.wf.dw.H)?b.my():[];c=fld(a,_.Sa(Q1c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Lj(_.jO(a.O),5,2E4)&&(b&&$O(b),c=[]);c=E8c(new IO,gld(c));var d=a.context.wf.dw;a=new a2c;(d=d.H)&&d.TN&&(d=d.my(),_.A(a,3,d.length));c=_.x(c,11,a);c=J8c(c,2);b&&H8c(c,b.XN());return[c];case 3:return hld(a);case 4:return ild(a);default:throw new _.nc("Unsupported CacheType");}},eld=function(a){for(var b={},c=[],d=
X$c(a.context.wf.dw,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.my(),l=fld(a,P1c(k));k=l.length;var p=0<k?l[k-1]:null;_.Ka(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=(new HO).wg(h.yd()),h.H||(_.A(l,2,k),_.x(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return H8c(J8c(G8c(E8c(F8c(I8c((new IO).Iu(a.context.$n()),_.hN(a.Kg)),a.ha.jR(null)),gld(d)),c),1),!e)},hld=function(a){var b=[],c=a.ha;a.context.wf.dw.lW().forEach(function(d){var e=c.jR(d.Bc());if(e){var f=
fld(a,P1c(d.my()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=H8c(J8c(F8c(E8c(new IO,gld(f)),e),3),d.XN(d.yd()));d=(new HO).wg(d.yd());G8c(e,[d]);b.push(e)}});return b},ild=function(a){var b={},c=[];a.context.wf.lW().forEach(function(d){1===d.NJ()&&null==_.R(d.yd(),6)&&(P1c(d.my()).forEach(function(e){b[e.getId()]=e}),d=C8c((new HO).wg(new _.bf),d.yd()),c.push(d))});return[H8c(J8c(G8c(E8c(new IO,gld(Object.values(b))),c),4),!1)]},fld=function(a,b){b=p1c(b);_.R(a.O,67)&&(b=jld(b));
_.BL(a.O)&&(_.S(a.Ha,9,!1)?Iad(a.context.wf.Eq,b)&&(_.xN(a.Dd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=Gad(a.context.wf.Eq,b)):b=Gad(a.context.wf.Eq,b));return b.filter(function(c){return 4!==ZN(c)})},jld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,f1c(c)?(c=c.clone(),Q0c(c,e1c),b.push(c)):b.push(c);return b},gld=function(a){return a.map(function(b){return b.clone()})};
$kd.prototype.log=function(a,b){this.context.Zf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};$kd.prototype.nEa=function(){this.Fa=!0};
var kld=function(){};_.g=kld.prototype;_.g.setActive=function(){};_.g.uS=function(){};_.g.update=function(){return Promise.resolve()};_.g.QWa=function(){return Promise.resolve()};_.g.qL=function(){return Promise.resolve()};_.g.Nna=function(){};_.g.nEa=function(){};
var eO=function(a,b,c,d){_.si.call(this);var e=this;this.Aa=a;this.hs=c;this.rootId=null;this.Ha=!0;this.ha=null;this.oa=[];this.Ba=d||new _.zXc;this.Pc=b.clone();(a=_.LL(this.Pc))&&_.S(a,1,!1)&&_.HH(this.Pc,28);this.Kg=new _.IXc(this.Pc);this.yn=new y9c(_.hN(this.Kg),this.Pc);lld(this);this.LX=new _.tn;this.yb=_.n.setTimeout(function(){e.Zf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.LX.resolve();e.Tk().O(106020)},1E4);this.i_=new _.Wh;this.Fa=new _.jYc(_.bN(this.Pc),_.S(this.Pc.Yf(),
52,!1));this.connectionState=new _.cYc(_.bN(this.Pc)?3:1,!_.S(this.Pc.Yf(),52,!1));this.Dd=_.zYc(this.Pc,this.Fa,this.connectionState,this.Ba,this.LX.promise,this.hs);this.$fa=new d$c(this.Dd);this.sQ=new _.Wh;mld(this)};_.L(eO,_.si);eO.prototype.getEnvironment=function(){return this.hs};eO.prototype.kS=function(){this.Zf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.yb);this.LX.resolve()};
var mld=function(a){var b=function(){a.Ku().Sg(_.Ff)},c=a.Aa;(c=c&&_.jc(c,_.Zl))?_.Ne(c,"w",b):_.lUc()||_.Ne(_.n,"unload",b)};eO.prototype.Ku=function(){this.Dd.O(106005);d5c(this.Dd);var a=this.oa.map(function(b){return b()});_.pa(this.oa);return _.iL(a).then()};var nld=function(a,b){a.oa.push(b)};_.g=eO.prototype;_.g.Zf=function(){return this.Ba};_.g.Iu=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.i_.callback(a),a.length&&this.P4a(a,b||null))};_.g.P4a=function(){};
_.g.$n=function(){return this.rootId};_.g.Tk=function(){return this.Dd};var old=function(a){if(!a.ha)throw Error("rg");return a.ha},pld=function(a,b){a.ha=b};eO.prototype.BB=function(){return this.Ha||this.connectionState.isConnected()};eO.prototype.Ij=function(){return this.Fa};eO.prototype.nk=function(){return this.connectionState};eO.prototype.PNb=function(a){this.sQ.callback(a)};
var lld=function(a){var b=a.Pc.Yf();0===_.Pd(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.F(b,37,""))throw Error("sg");_.C(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.jO(a.Pc),9,!1))if(b=_.ck(_.jO(a.Pc),hO,11),0<b.length){if(!_.C(b[0],1)||!b[0].getKey()&&!_.bN(a.Pc)&&!_.S(a.Pc,10,!1))throw Error("tg");}else _.A(_.jO(a.Pc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.jO(a.Pc),9,!1)&&(_.bN(a.Pc)||_.S(a.Pc,10,!1)))throw Error("ug");var c=_.vL(a.Pc);b=!(!c||!_.uL(c));c=c&&_.$M(c)||"";if(!b&&!c)throw Error("vg");b&&_.Sj(a.Pc,44);_.ck(a.Pc,_.bf,44).forEach(function(d){try{C9c(a.yn,d)}catch(e){if(e instanceof _.nc&&(d=e.Qg)&&3===d.nt())throw Error("wg");throw e;}})};eO.prototype.CJ=function(a){this.dispatchEvent(new _.oc(new _.nc(void 0,a)))};eO.prototype.log=function(a){this.Zf().info("drive.ds.sync.ThinContext",a)};
var qld=function(a,b){this.H=a;this.Re=b};
var rld=new Set([5,4,1,6,2]),sld=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),tld=function(a,b,c){_.si.call(this);this.ha=a;this.V=b;this.W=c;this.RF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(tld,_.si);
tld.prototype.tQ=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())&&_.cp(q))&&f.add(q)});[].concat(_.nd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=rld.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&_.cp(r);r=r&&_.C(r,2);u=k.get(u);r&&u&&u.set(r,uld(q))});var l=0,p=0;[].concat(_.nd(k.keys())).forEach(function(q){var r=k.get(q),u=e.RF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.C(z,2)))&&_.ik(y,z)||l++}),[].concat(_.nd(u.values())).forEach(function(y){y=y.getKey();r.has(_.C(y,2))||p++}),e.RF.set(q,r),e.O.set(q,b)):(l+=r.size,e.RF.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,ZO(this.V,"px2C2c");ZO(this.V,"rkYxSd")}(l||p)&&vld(this,!h)}};
tld.prototype.wD=function(){return 0<this.RF.size};var vld=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 _.gi("WPi0i"))};tld.prototype.put=function(a){var b=a.getKey(),c=b&&_.cp(b);b=b&&_.C(b,2);if(c&&b&&(c=this.RF.get(c))){var d=c.get(b);a=uld(a);d&&_.ik(a,d)||(c.set(b,a),vld(this))}};tld.prototype.remove=function(a){var b=a&&_.cp(a);a=a&&_.C(a,2);b&&a&&(b=this.RF.get(b))&&b.delete(a)&&vld(this)};
var cld=function(a,b){var c=[];(b||[].concat(_.nd(a.RF.keys()))).forEach(function(e){(e=a.RF.get(e))&&[].concat(_.nd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.RF.has(e)}):[].concat(_.nd(a.RF.keys()));var d=new t5c;_.Cb(d,1,c);_.Pj(d,2,b);return d};
tld.prototype.cH=function(a){var b=this,c=cld(this,a),d=new _.lz;d.Cc(this.status);_.Ehb(d,_.ck(c,_.bp,1));_.x(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);sld.has(f)&&Infinity>sld.get(f)&&(e=f)});return new qld(d,e)};var uld=function(a){a=a.clone();a.ih()||a.Jb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var wld=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},yld=function(a,b){return xld(a[b])+(xld(a[b+1])<<8)+(xld(a[b+2])<<16)+(xld(a[b+3])<<24)},xld=function(a){return 127<a?a-256:a};
var fO=function(a,b,c,d,e,f){eO.call(this,a,b,c,d);var h=this;this.$a=_.Sh();this.zu=new N$c;this.W=null;this.O=_.Sh();this.Ja=new _.Wh;this.A6=null;this.aga=new Yad;this.V=null;this.kb=_.Sh();this.va=new _.Wh;this.aG=new Cbd;this.wz=new fbd;this.Fha=new H$c;this.waa=_.Sh();this.Oa=!1;this.ka=_.Sh();this.H={};this.ma=null;this.Lb=new _.He;this.Ma(this.Lb);this.Oj=e?e:new G$c(this.Zf());this.Tk().W.O=this.Oj;this.PL=_.S(_.jO(b),9,!1)&&t2c()?zld(this,b):null;this.Ew=new r9c(iO(_.vL(b)));this.GD=Ald(this,
this.PL);this.JQ=Bld(this,this.PL,b);this.Xs=Cld(this);this.wf=new JP(this,this.Kg);(a=(a=_.E(this.Pc,_.Wk,12))&&a.getId())&&this.Iu(a,6);this.jQ=new ofd(this.Pc,this.wf.Eq,this.Oj,this.Zf(),this.Xs);this.j_=new tfd(this.Zf(),this.Oj,this.Xs);this.rE=new tld(this.Zf(),this.Oj,this.Xs);this.JI=new W9c(this.Sm(),this.Zf(),function(k){return void h.CJ(k)});this.fz=_.S(this.Pc.Yf(),52,!1)?new _.yN(this.nk(),this.Sm(),this.Zf(),this.Tk()):null;YO(this.Oj,["mrK8ic"],function(){h.kb.promise.then(function(){Zfd(h,
h.V)})});this.$Ma=new ybd(this.Pc);this.TA=new _.aZc(this.Pc,this.wf.zm);this.eta=new Thd(this);this.z6=new bbd(this.O.promise,this.Sm());this.nb=new dbd(this.Sm(),this.z6);this.bga=new ubd(this.O.promise,this.Sm(),this.Zf(),this.Pc);this.Ta=new Zkd(this.Pc,this.wf,this.CJ.bind(this),this.z6,this.nb,this.Xs,this.aga,this.Kg,this.$n.bind(this),this.eta,this.j_,this.rE,this.bga,this.aG,this.Zf(),this.$Ma,this.TA,this.JI,this.fz,this.Ij(),this.Npb.bind(this),this.Tk(),f);this.$a.resolve(this.Ta);this.ZJa=
new Dhd(this);YO(this.Oj,["BNEDtc"],function(){return h.ka.resolve()});nld(this,function(){h.Xs.uS();return _.Ph()})};_.L(fO,eO);
var zld=function(a,b){var c=_.$M(_.vL(b)),d=_.aN(b),e=function(){},f=_.ck(_.jO(b),hO,11);f=f[0]&&_.C(f[0],1);var h=new mcd(c,d,_.Lj(_.jO(b),10,0)||0,f||"",_.hN(a.Kg));_.bN(b)?c=Hcd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.Lj(_.jO(b),8,432E6)?(b=Dld(a,c),c=Hcd(c,d,b).then(function(l){return l&&(e=function(p){return p.Kl(h).Sg(function(){return null})},!l.ha)?l:h})):c=_.Ph(h);var k=new mP(c,a.Zf(),a.Tk());k.initialize().then(function(){return e(k)},function(){return null});return k},Dld=
function(a,b){var c=_.Lj(_.jO(a.Pc),8,432E6);if(!_.bN(a.Pc)&&0<c){a=Math;var d=a.abs;b=_.ima(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+=yld(b,e),h.b+=yld(b,e+4),h.c+=yld(b,e+8),wld(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+=yld(b,e+4);h.a+=yld(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+=yld(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=wld(h);return d.call(a,b)%c}};fO.prototype.Vy=function(a){var b=this;return this.PL?this.PL.Jf()?_.Qh(Error("xg`"+tcd(this.PL))):Ucd(this.GD).then(function(c){var d=b.PL,e=[];e.push(b.Xs.QWa());e.push(a?d.Kl():Dcd(d));if(a===c)return _.Rh(e).then(function(){return!1});!1===a&&(e.push(scd(d)),(c=b.$n())&&e.push(b.GD.Iu(c)));return _.Rh(e).then(function(){return b.GD.Vy(a)},function(){return!1})}):_.Qh(Error("yg"))};
var Bld=function(a,b,c){var d=null;b&&(d=new Mbd(b,c,function(e){a.CJ(e)},a.Tk()),d.initialize());return d},Ald=function(a,b){var c=new Tcd(b||void 0);c.$n().then(function(d){d&&a.Iu(d,5)});b&&(Ucd(c).then(function(d){a.Ij().Vy(d)}),_.Rh([b.initialize(),a.LX.promise]).then(function(){Eld(a,c)},function(){}));return c},Eld=function(a,b){Xcd(b).then(function(c){(!c||c<Date.now()-864E5)&&Kcd(_.$M(_.vL(a.Pc)),_.aN(a.Pc),a.Zf()).then(function(d){d&&(d=Date.now(),b.set(Rcd,d))},function(){})})},Cld=function(a){if(!a.JQ)return new kld;
var b=new $kd(a,a.Kg);a.Lb.listen(a.Ij(),"Ab",function(c){return void b.setActive(!c.Xe())});a.Lb.listen(a.nk(),[].concat(_.nd(Object.values(_.WA))),function(){return void b.setActive(a.nk().isConnected())});return b};fO.prototype.tY=function(a){this.A6=a;this.Ja.callback(a)};var FP=function(a){return a.Ja.An()},efd=function(a){return a.PL?a.PL.Jf():null},Fld=function(a,b){a.Oj.H("NSockf")?ZO(a.Oj,b):YO(a.Oj,["NSockf"],function(){ZO(a.Oj,b)})};
fO.prototype.P4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.zu.Iu(a),this.yn.Iu(a),6!==b&&1!==b||this.GD.Iu(a),Fld(this,"jroI5d"))};fO.prototype.OVa=function(){return this.va.An()};var Zfd=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.kb.resolve()):a.va.ag()||(a.va.callback(b),Fld(a,"T8oKm")))},yfd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=fO.prototype;_.g.mR=function(){return this.Ta};_.g.Sm=function(){return this.$a.promise.then(function(a){return a.Yoa.promise})};
_.g.mEa=function(){this.Oa||(this.Oa=!0,this.waa.resolve(),ZO(this.Oj,"aU7Ts"))};_.g.BB=function(){throw Error("Ag");};_.g.Npb=function(a){this.dispatchEvent(a)};var Gld=function(a,b){jhd(a.wf,b)},Hld=function(a,b,c){a.H[b]=c},$ed=function(a){a.ma||(a.ma=new lbd(a.O.promise,a.Sm(),a.Zf()));return a.ma};
var NP=function(a,b,c){_.si.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.Wh;this.va=this.channel=this.clientId=null;c.then(function(e){return Ild(d,e)})};_.L(NP,_.si);var Ild=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;QO(a.channel,a.Ba,function(c){c=Q9c(c);a.baa(c.H,!(!c.data||!c.Zb),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};NP.prototype.baa=function(){};
NP.prototype.send=function(a,b,c,d){var e=this,f=new _.Wh;this.oa.addCallback(function(){var h=e.channel;RO(h,e.Ba,M9c(new L9c(e.clientId,a,b,d),h.W),function(k){return void Jld(k,a,f,c||function(){})})});return f};var Jld=function(a,b,c,d){a=Q9c(a);a.data?c.callback(d(a.data,a.Zb)):(a.error?d=a.error:(d=new _.mc,_.HL(d,2),_.IL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Pd(new _.nc(void 0,d)))};NP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var Kld=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var OP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.jV()};_.L(OP,_.N);OP.prototype.registerService=function(a){QO(a,this.V,(0,_.v)(this.Aw,this))};
OP.prototype.Aw=function(a){var b=this;a=N9c(a);var c=a.Zb,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof O9c)return P9c(f,c);if(f.then)return f.then(function(h){return P9c(h,c)},function(h){h=_.JL(h);return P9c(b.qd(void 0,h),c)})}catch(h){e=_.VL(h)}f=new _.mc;_.HL(f,2);_.IL(f,3);_.Tp(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return P9c(this.qd(void 0,f),c)};
OP.prototype.qd=function(a,b,c){if(a&&!b)return new O9c(a,void 0,c);a=_.JL(b);return new O9c(void 0,a,c)};OP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&RO(a,this.V,P9c(this.qd(c,d,b),a.W))};
var Lld=function(){this.channels={};this.H=this.O=this.V=0},Mld=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Qa(a.channels));return c},Nld=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var Old=function(a,b){OP.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.bga;this.W=$ed(this.context);this.ka=this.context.z6};_.L(Old,OP);
Old.prototype.jV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.bf);return a.Zh(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.oL);return a.Zh(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Sz);return a.Zh(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.JF);return a.Zh(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=dO(c.args[0],!!c.Zb,_.bf);return a.ik(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.oL);return a.ik(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Sz);return a.ik(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.JF);return a.ik(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=dO(c.args[0],!!c.Zb,_.Sz);c=dO(c.args[1],!!c.Zb,_.Sz);return a.pZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=dO(c.args[0],!!c.Zb,_.JF);c=dO(c.args[1],!!c.Zb,_.JF);return a.pZ(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=dO(c.args[0],!!c.Zb,_.Cz);return a.Zh(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.LF);return a.Zh(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.Cz);return a.ik(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.LF);return a.ik(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.SF);return a.Zh(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.SF);return a.ik(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.IF);return a.Zh(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=dO(c.args[0],!!c.Zb,_.IF);return a.ik(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.IF){var d=a.W;Wad(d,d.getKey(c)).refresh()}return a.qd([])},b};Old.prototype.Zh=function(a,b){var c=this,d=new _.tn;this.H[a]={query:b,$Sb:d.promise};b instanceof _.Cz?d.resolve(this.O.Zh(a,b)):b instanceof _.LF?d.resolve(Uad(this.O,a,b)):b instanceof _.IF?d.resolve(this.W.Zh(a,b)):b instanceof _.SF?d.resolve(this.ka.Zh(a,b)):d.resolve(this.ha.Zh(a,b));return d.promise.then(function(){return c.qd([])})};
Old.prototype.ik=function(a,b){Pld(this,a,b);return this.qd([])};var Pld=function(a,b,c){delete a.H[b];c instanceof _.Cz?a.O.ik(b,c):c instanceof _.LF?Vad(a.O,b,c):c instanceof _.IF?a.W.ik(b,c):c instanceof _.SF?a.ka.ik(b,c):a.ha.ik(b,c)};_.g=Old.prototype;_.g.pZ=function(a,b,c){Pld(this,a,b);return this.Zh(a,c)};
_.g.PF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.wi(a.args[0]);c instanceof _.Cz?this.O.Zh(b,c):c instanceof _.LF?Uad(this.O,b,c):c instanceof _.IF?this.W.Zh(b,c):c instanceof _.SF?this.ka.Zh(b,c):this.ha.Zh(b,c);return this.qd([])};
_.g.HO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Sg(a[0]),f=a[1];d.$Sb.then(function(h){b instanceof _.wN||b instanceof _.tN?c.update(e,f,[b.response,b.pageToken,b.H,b.Re,h]):(d.query instanceof _.bf?S0c(d.query.O(),b.Gd().filter(function(k){return!MO(k)})):d.query instanceof _.Sz&&S0c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!MO(k)})),c.update(e,f,[b,h]))})}};
_.g.VX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Sg(c[0]);c=c[1];var d=b.error;d.Yfa(b.H);this.update(a,c,void 0,d)}};_.g.oA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Sg(a[0]),a[1],["cacheRefresh"]))};_.g.u9=function(){};_.g.ala=function(a){if(!this.H[a])throw Error("$f`"+a);return this.H[a].query};var Qld=function(a,b){_.Ma(a.H,function(c,d){_.Sg(d.split(":")[0])===b&&Pld(a,d,c.query)})};
var Rld=function(a,b,c){NP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Rld,NP);Rld.prototype.Bxa=function(a){var b=this;a=new Jed(this.context.yn,this.context.sQ,this.context.Zf(),this.context.Pc,function(c,d){return b.PF(c,d)},a,this.context.Tk());Sld(this,a);return a};Rld.prototype.Exa=function(a){var b=this;a=new Qed(this.context.yn,this.context.sQ,this.context.Zf(),function(c,d){return b.PF(c,d)},a,this.context.Pc);Sld(this,a);return a};
var Sld=function(a,b){a.Zh(b);_.ze(b,function(){a.ik(b);a.send("4.3",[b.yd()],void 0,b.Ni())});a.send("4.1",[b.yd()],void 0,b.Ni())};_.g=Rld.prototype;_.g.yxa=function(a){var b=this,c=new Ned(this.context.Pc,this.context.yn,this.context.Zf(),this.context.i_,this.pZ.bind(this),a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.4",[c.yd()],void 0,c.Ni())});this.send("4.2",[c.yd()],void 0,c.Ni());return c};
_.g.Hxa=function(a){var b=this,c=new Ued(a,this,this.context.Pc);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.11",[c.yd()],void 0,c.Ni())});this.send("4.9",[c.yd()],void 0,c.Ni());return c};_.g.Ixa=function(a){var b=this,c=new Ved(this.context,this,a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.12",[c.yd()],void 0,c.Ni())});this.send("4.10",[c.yd()],void 0,c.Ni());return c};
_.g.Lxa=function(a){var b=this,c=new Yed(this.context,a,this);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.15",[c.yd()],void 0,c.Ni())});this.send("4.13",[c.yd()],void 0,c.Ni());return c};_.g.Mxa=function(a){var b=this,c=new Med(this.context,a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.16",[c.yd()],void 0,c.Ni())});this.send("4.14",[c.yd()],void 0,c.Ni());return c};
_.g.Fxa=function(a){var b=this,c=new Ted(this.context,a,function(){b.send("4.21",[],void 0,c.Ni())});this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.23",[c.yd()],void 0,c.Ni())});this.send("4.22",[c.yd()],void 0,c.Ni());return c};_.g.vxa=function(a){var b=this,c=new Hed(this.context.Ij(),this.context.nk(),this.context.Zf(),function(d,e){return b.PF(d,e)},a);this.Zh(c);_.ze(c,function(){b.ik(c);b.send("4.19",[c.yd()],void 0,c.Ni())});this.send("4.18",[c.yd()],void 0,c.Ni());return c};
_.g.Zh=function(a){this.H.create(a.Ni(),a.yd());this.O[a.Ni()]=a};_.g.ik=function(a){SO(this.H,a.Ni(),4);delete this.O[a.Ni()]};_.g.pZ=function(a,b,c){if(b instanceof _.Sz&&c instanceof _.Sz)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.JF&&c instanceof _.JF)this.send("4.6",[b,c],void 0,a);else throw Error("Bg");};
_.g.PF=function(a,b){if(!this.O[a])throw Error("$f`"+a);var c=this.O[a];if(c.yd()instanceof _.bf)var d="4.7";else if(c.yd()instanceof _.oL)d="4.8";else if(c.yd()instanceof _.SF)d="4.20";else if(c.yd()instanceof _.Cz)d="4.17";else throw Error("Cg");c.yd().wi(b);this.send(d,[b],void 0,a)};
_.g.baa=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new TO(d,d.t7()),a.uB(b),SO(this.H,a.Ni(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.vW();return}var h=a.yd();if(h instanceof _.bf||h instanceof _.oL)h instanceof _.bf&&_.tM(h)?e=dO(d,b,_.qN):e=dO(d,b,_.KA);else if(h instanceof _.Sz||h instanceof _.JF)b?(e=new _.pN,u6c(e,function(k){return new _.Wk(JSON.parse(k))},d)):e=d;else if(h instanceof _.SF)e=new _.tN(dO(d,b,vO),c[f++],c[f++],c[f++]);else if(h instanceof _.Cz)e=new _.wN(dO(d,
b,WO),c[f++],c[f++],c[f++]);else if(h instanceof _.LF)e=dO(d,b,_.rN);else if(h instanceof _.IF)e=dO(d,b,GO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&e$c(this.H,a.Ni(),!!c[b]),h$c(this.H,a.Ni(),e),a.update(e))}};
var PP=function(){_.si.apply(this,arguments);this.commands=new _.kl;this.ha=this.active=this.Ep=!1};_.L(PP,_.si);PP.prototype.initialize=function(){this.Ep||(this.Ep=!0,this.V(),this.setActive(!0))};PP.prototype.V=function(){};PP.prototype.setActive=function(a){this.active=a;Tld(this)};var Tld=function(a){if(a.active&&!a.ha){var b=_.ll(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.ll(a.commands))}else a.ha=!0,_.Th(a.Ba(b),function(){a.ha=!1;Tld(a)})}};PP.prototype.ka=function(){};
PP.prototype.Ba=function(){};PP.prototype.va=function(){return!0};PP.prototype.enqueue=function(a){try{var b=new _.Wh;this.commands.enqueue(new Uld(a,b));Tld(this);return b}catch(c){return _.ai(_.VL(c))}};var Uld=function(a,b){this.H=a;this.Jg=b};Uld.prototype.getCommand=function(){return this.H};Uld.prototype.SG=function(){return this.Jg};
var Xld=function(a){PP.call(this);var b=this;this.context=a;this.O=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context,"VMiG2e",function(){return void Vld(b)});this.H=this.context.wf.Eq;_.BL(this.context.Pc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Oj;YO(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Hj(a.Pc.Yf(),17,1)&&(d.push("iuEtc"),YO(c,["mrK8ic"],function(){ZO(c,"iuEtc")}));YO(c,d,function(){Wld(b)})};_.L(Xld,PP);Xld.prototype.V=function(){Yld(this)};
var Wld=function(a){if(1===a.context.jQ.Fh().Bb())Promise.resolve();else{var b=_.pf(_.qf(new _.of,!0),301);b=_.xL(new _.wL,b);a.refresh(b).then(null,function(c){c=_.JL(c);_.A(c,21,"Initial account request failed.");a.context.CJ(c)})}},Vld=function(a){var b=_.pf(new _.of,304);b=_.xL(new _.wL,b);a.refresh(b).then(null,function(){})};
Xld.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Th(this.context.Sm().then(function(d){return d.Ve(a,b)}).then(function(d){var e=d.Fh(),f=e.getUser();if(f&&!1===_.Ek(f))d=_.KL(_.vL(c.context.Pc)),d=Error("Eg`"+d+"`"+_.RF(f)),_.qb(d),_.xN(c.context.Tk(),73301807),d=Promise.reject(d);else{f=c.context.jQ;var h=0===f.We()?1:6;_.BL(c.context.Pc)&&Aad(c.H,e);h=pfd(f,e,h);(e=e.getMetadata())&&c.context.Iu(_.C(e,2),1);(d=_.C(d,4))&&Zfd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.vN(f.Fh(),f.We(),!1))}return d}).then(function(d){return d},function(d){d=_.JL(d);_.A(d,5,1);return Promise.reject(new _.nc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Xld.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.MD&&(c.MD=b.MD);this.refresh(b.request,c).then(function(e){return a.SG().callback(e)},function(e){return void a.SG().Pd(e)})}else if(b=this.context.jQ,c=b.Fh(),_.BL(this.context.Pc)){c=c.Fh();var d=c.getUser();d=Ead(this.H,_.RF(d));Aad(this.H,c);pfd(b,c,b.We())&&this.dispatchEvent(new _.gi("WPi0i"));a.SG().callback(new _.vN(b.Fh(),b.We(),d))}else c.Bb(),b=new _.vN(c,b.We(),!0),a.SG().callback(b)};
var Yld=function(a){var b=a.context.Pc.Yf();_.n.setTimeout(function(){var c=_.pf(new _.of,306);c=_.xL(new _.wL,c);a.refresh(c).then(function(){Yld(a)},function(){Yld(a)})},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,3,72E5))};Xld.prototype.W=function(a){var b=this.context.jQ,c=b.Fh().Fh();c&&a.getPeople().find(function(d){return _.C(d,1)===_.RF(c.getUser())})&&(Aad(this.H,c),pfd(b,c,b.We())&&this.dispatchEvent(new _.gi("WPi0i")))};var Zld=function(a,b,c){this.request=a;this.H=!!b;this.MD=c||null};
var amd=function(a){PP.call(this);this.context=a;this.oa=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.j_,"Qb",_.tb(this.dispatchEvent,new _.gi("Qb",this)));$ld(this)};_.L(amd,PP);
var $ld=function(a){var b=a.context.Oj;YO(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.bN(a.context.Pc)){var c=_.Hj(a.context.Pc.Yf(),18,1);YO(b,["NSockf"],function(){1===c?bmd(a):a.setActive(!0)});2===c&&YO(b,["mrK8ic"],function(){a.W||bmd(a)})}},bmd=function(a){var b=new _.of;_.qf(b,!0);_.pf(b,301);var c=new _.wM;_.R4c(c,b);_.A(c,1,1);a.refresh(c).Sg(function(){return null})};
amd.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Sh();this.O=d.promise;_.Th(this.O,function(){c.O=null;cmd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.wM;_.A(h,1,this.H);_.R4c(h,a.we());this.context.Sm().then(function(k){return k.Ve(h,b)}).then(function(k){c.error=null;var l=c.context.j_;l.tQ(k,l.wD()?6:1);d.resolve()},function(k){c.H=e;k=_.UA(k);var l=k.Qg;_.A(l,5,2);f?(_.HL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Qg,21,"Initial app settings refresh failed."),c.context.CJ(l),c.setActive(!0)):(_.HL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Qg,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};amd.prototype.va=function(){return!1};
amd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Pja,f=c.MD?{MD:c.MD}:void 0;if(!dmd(d))return this.context.Sm().then(function(l){return l.Ve(d,f)}).then(function(l){a.SG().callback(new _.sN(l,1,!1))},function(l){a.SG().Pd(_.VL(l))}),_.Ph();c=_.Ph();var h=!1;this.O?emd(this,d.getType())?e=this.O:c=e=new _.Oh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.oa&&emd(this,d.getType())&&!this.error?(h=!0,e=_.Ph()):e=this.refresh(d,f);
var k=a.SG();e.then(function(){var l=b.context.j_;k.callback(new _.sN(l.Pq(),l.We(),h))},function(l){k.Pd(l)});return c.then()};
var dmd=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Pd(a,4),a=_.Pd(a,3),!(b&&b.length)&&!(a&&a.length)):!1},emd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},cmd=function(a){var b=a.context.Pc.Yf(),c=new _.of;_.pf(c,306);var d=new _.wM;_.A(d,1,1);_.R4c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,4,72E5))},fmd=function(a,b,c){this.request=a;this.Pja=!!b;this.MD=c||null};
var hmd=function(a){PP.call(this);var b=this;this.context=a;this.error=null;this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.rE,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.H=_.Sh();this.O=_.Pd(this.context.Pc.Yf(),30);gmd(this)};_.L(hmd,PP);
var gmd=function(a){var b=a.context.Oj;YO(b,["rkYxSd"],function(){return a.initialize()});YO(b,["px2C2c"],function(){a.context.Zf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Hj(a.context.Pc.Yf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&YO(b,["mrK8ic"],function(){ZO(b,"OZvrNc")}));!_.S(a.context.Pc,11,!1)&&_.S(a.context.Pc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.ck(cld(a.context.rE),_.bp,1).length||(b.H("NSockf")?
ZO(b,"DEJoH"):YO(b,["NSockf"],function(){ZO(b,"DEJoH")}))},12E3));YO(b,c,function(){if(!b.H("px2C2c")){var e=new _.of;_.qf(e,!0);_.pf(e,301);var f=new _.dD;_.x(f,1,e);Y1c(f,imd(a));a.query(f).Sg(function(){a.initialize()})}})};hmd.prototype.V=function(){var a="User prefs detected: "+_.ck(cld(this.context.rE),_.bp,1).length;this.context.Zf().info("drive.ds.sync.userprefs.UserPrefsManager",a);jmd(this)};
hmd.prototype.query=function(a,b){var c=this,d=b?{MD:b}:void 0;return this.context.Sm().then(function(e){return e.Ve(a,d)}).then(function(e){c.error=null;var f=c.context.rE;f.tQ(_.ck(e,_.bp,3),f.wD()?6:1,_.Pd(a,3))}).then(null,function(e){e=_.UA(e);_.A(e.Qg,5,4);0<c.commands.jc()||c.context.CJ(e.Qg);c.error=e;throw e;})};
hmd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.SG(),e=new Set([].concat(_.nd(this.context.rE.RF.keys()))),f=_.Pd(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Pja=!0);this.error?d.Pd(this.error):c.Pja?(Y1c(c.request,imd(this,f)),_.Th(this.H?this.H.promise:this.query(c.request,c.MD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var imd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nd(a.O),_.nd([].concat(_.nd(a.context.rE.RF.keys()))),_.nd(b)));return[].concat(_.nd(a.values()))};
hmd.prototype.getData=function(a,b,c){b=this.context.rE.cH(b);a.callback(new _.uN(b.H,b.Re,c))};var jmd=function(a){var b=a.context.Pc.Yf();_.n.setTimeout(function(){var c=new _.dD,d=new _.of;_.pf(d,306);_.x(c,1,d);Y1c(c,imd(a));_.Th(a.query(c).Sg(_.Ff),function(){jmd(a)})},Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,5,72E5))},kmd=function(a,b,c){this.request=a;this.Pja=!!b;this.MD=c||null};
var lmd=function(a,b,c,d){OP.call(this,"IS",b);this.context=a;this.Mc=new _.He(this);this.Ba=_.Sh();this.O=null;this.ha=!1;this.W=null;this.Fa=new dfd(a);S1c(this.Fa);this.Ma(this.Mc);this.ka=new Xld(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new Ded(1))});this.ma=new amd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new Ded(2))});this.oa=new hmd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new Ded(4))});this.Ha=d;this.H=
this.context.Sm()};_.L(lmd,OP);_.g=lmd.prototype;
_.g.jV=function(){var a={};return a["3.43"]=this.W_.bind(this),a["3.42"]=this.g8.bind(this),a["3.1"]=this.GN.bind(this),a["3.2"]=this.cH.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.jO.bind(this),a["3.4"]=this.vz.bind(this),a["3.5"]=this.Pq.bind(this),a["3.6"]=this.iS.bind(this),a["3.8"]=this.Kl.bind(this),a["3.36"]=this.Vy.bind(this),a["3.9"]=this.sF.bind(this),a["3.10"]=this.Br.bind(this),a["3.11"]=this.Aaa.bind(this),a["3.12"]=this.L8.bind(this),a["3.13"]=this.uT.bind(this),a["3.14"]=
this.yaa.bind(this),a["3.15"]=this.N8.bind(this),a["3.16"]=this.lu.bind(this),a["3.17"]=this.SDb.bind(this),a["3.18"]=this.WDb.bind(this),a["3.19"]=this.wQ.bind(this),a["3.20"]=this.UDb.bind(this),a["3.25"]=this.TDb.bind(this),a["3.22"]=this.M8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.poa.bind(this),a["3.29"]=this.dyb.bind(this),a["3.40"]=this.YDb.bind(this),a["3.33"]=this.ZDb.bind(this),a["3.39"]=this.vP.bind(this),a["3.37"]=this.XDb.bind(this),a["3.38"]=this.Fab.bind(this),a["3.41"]=
this.kS.bind(this),a["3.44"]=this.D0.bind(this),a["3.45"]=this.Zo.bind(this),a["3.46"]=this.h8.bind(this),a};_.g.GN=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wL);a=new Zld(c,a.args[1],this.context.H[a.clientId]);ZO(this.context.Oj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.qd([d.response,d.Re,d.o0])},function(d){return b.qd(void 0,d)})};
_.g.cH=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.dD);a=new kmd(c,a.args[1],this.context.H[a.clientId]);ZO(this.context.Oj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.qd([d.response,d.Re,d.o0])},function(d){return b.qd(void 0,d)})};
_.g.xd=function(a){var b=this,c=dO(a.args[0],!!a.Zb,A1c),d=_.E(c,_.YL,16)||_.E(c,_.ZL,1)||_.E(c,_.$L,2)||_.E(c,_.cM,3)||_.E(c,_.zN,4)||_.E(c,_.aM,5)||_.E(c,_.gM,6)||_.E(c,_.iM,7)||_.E(c,_.jM,8)||_.E(c,_.mM,9)||_.E(c,_.CM,10)||_.E(c,_.DM,11)||_.E(c,_.EM,12)||_.E(c,_.ML,13)||_.E(c,_.HM,14)||_.E(c,_.IM,15)||_.E(c,_.bO,17),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.jO=function(a){var b=this,c=dO(a.args[0],!!a.Zb,J1c),d=_.E(c,_.dM,1)||_.E(c,_.kM,2)||_.E(c,_.JM,3),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.vz=function(a){var b=this,c=dO(a.args[0],!!a.Zb,D1c),d=QP(this,a),e=[],f=[];F1c(c).forEach(function(h){h instanceof _.YL?e.push(String(h.Ic())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Ve(h,d)}))});a=_.iL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Th(a,function(){return void Bhd(b.context.wf)});return a.then(function(h){return b.qd([new q1c(e,h)])})};
_.g.Pq=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=QP(this,a);a=this.H.then(function(f){return f.Ve(c,e)}).then(function(f){return new _.sN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.sN(f.response,f.Re,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new fmd(c,d,this.context.H[a.clientId]),ZO(this.context.Oj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.qd([f.response,f.Re,f.o0])},function(f){return b.qd(void 0,
f)})};_.g.iS=function(a){var b=this,c=dO(a.args[0],!!a.Zb,G1c),d=_.E(c,_.eD,1)||_.E(c,_.fD,2),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};_.g.Kl=function(a){a=a.args[0];if(this.context.fz)a?_.VYc(this.context.fz,!0):this.context.nk().Xe()&&this.context.fz.wM(!0).then(null,function(){});else try{this.context.Ij().Kl(a)}catch(b){return this.qd(void 0,b)}return this.qd([])};
_.g.Vy=function(a){var b=this,c=a.args[0];return this.context.Vy(c).then(function(d){return d?(b.context.Ij().Vy(c),b.Ha(c),b.context.Xs.qL().catch(function(){return!c})):_.Ph(!c)}).then(function(d){return b.qd([d])},function(d){return b.qd(void 0,d)})};_.g.sync=function(){var a=this;return _.Rh([this.context.waa.promise,this.context.ka.promise]).then(function(){return a.context.Xs.qL()}).then(function(){return a.qd([])},function(b){return a.qd(void 0,b)})};
_.g.sF=function(){try{var a=this.context.A6;a&&a.Roa();this.context.Fha.sF();return this.qd([])}catch(b){return this.qd(void 0,b)}};_.g.kS=function(){this.context.kS();return this.qd([])};_.g.Br=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.pM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.Aaa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.qM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.L8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.eM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.uT=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.FM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.yaa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.rM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return _.BL(b.context.Pc)?Dad(b.context.wf.Eq,[_.E(e,_.Dk,2)],c.Ic()).then(function(){return e}):e}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.N8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.hM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.lu=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.yM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d).then(function(f){return _.BL(b.context.Pc)?Cad(b.context.wf.Eq,f):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.SDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.med),d=new _.kVc(c,a.args[1],a.args[2]||void 0),e=QP(this,a);return this.H.then(function(f){return f.Ve(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.WDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.xM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d).then(function(f){return _.BL(b.context.Pc)?Dad(b.context.wf.Eq,_.ck(f.qd(),_.Dk,2),c.yd().getId()).then(function(){return f}):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.wQ=function(){var a=this;return(_.S(this.context.Pc.Yf(),52,!1)?_.Ph(V9c(new U9c,0)):this.context.JI.wQ()).then(function(b){return a.qd([b])},function(b){return a.qd(void 0,b)})};_.g.UDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.jVc),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.TDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.vM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.M8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.fM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.poa=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.eL),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e,null])},function(e){return b.qd([null,_.JL(e)])})};_.g.dyb=function(){return this.qd([!0])};_.g.YDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.HF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.ZDb=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.IF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.W_=function(a){a=dO(a.args[0],!!a.Zb,_.bf);Rgd(this.context.wf,[a]);return this.qd([])};_.g.g8=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.bM),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.vP=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.wP),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return Nad(c,e)}).then(function(e){return b.qd(e)},function(e){return b.qd(void 0,e)})};_.g.XDb=function(a){var b=this,c=new _.rVc(dO(a.args[0],!!a.Zb,_.mTb),a.args[1]),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e.response,e.pageToken])},function(e){return b.qd(void 0,e)})};
_.g.Fab=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.GF),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.D0=function(a){var b=this,c=dO(a.args[0],!!a.Zb,_.mN),d=QP(this,a);return this.H.then(function(e){return e.Ve(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.Zo=function(a){var b=a.args.map(function(c){return dO(c,!!a.Zb,_.FL)});this.context.wf.Zo(b);Bhd(this.context.wf);return this.qd([])};_.g.h8=function(){var a=this,b=this.context.fz;return(b?b.wM():_.Ph(_.EYc(0))).then(function(c){return a.qd([c])},function(c){return a.qd(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.Sh();this.context.Zf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Pc.Ji());this.Mc.listen(this.context,_.Ac,function(e){e=e.error;var f=e.Qg;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):T4c(a.context.Zf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Oj,c=["hVFf7"];_.bN(this.context.Pc)&&c.push("BNEDtc");YO(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});YO(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){FP(a.context).then(function(e){return void e.start()})};YO(b,["T8oKm","ZA9qG"],function(){return void d()});YO(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();ZO(b,"NSockf")}return this.O.promise};_.g.Sba=function(){return this.Ba.promise};_.g.Ku=function(){var a=this.context.A6;a&&a.dispose();return this.context.Ku()};
var QP=function(a,b){return(a=a.context.H[b.clientId])?{MD:a}:{}};
var mmd=function(a,b,c){OP.call(this,"DU",b);this.context=a;this.O=c;this.H=new dfd(a)};_.L(mmd,OP);_.g=mmd.prototype;
_.g.jV=function(){var a=this,b={};return b["5.1"]=function(){return a.tia()},b["5.2"]=function(c){return a.XM(c)},b["5.4"]=function(c){return a.Jz(c)},b["5.5"]=function(){return a.nR()},b["5.10"]=function(){return a.BN()},b["5.6"]=function(){return a.Rda()},b["5.7"]=function(){return a.fT()},b["5.9"]=function(c){return a.Aqa(c)},b["5.8"]=function(c){return a.x5(c)},b["5.11"]=function(){return a.Ppa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Kl(c)},b};
_.g.tia=function(){var a=this;this.context.Xs.uS();var b=this.context.Pc;return Lcd(_.$M(_.vL(b)),_.aN(b),this.context.Zf()).Sg(function(){}).then(function(){return a.qd([])})};_.g.XM=function(a){a=this.context.wf.zm.H(a.args[0]);return this.qd([a?a.Zb():JSON.stringify(null)])};_.g.Jz=function(a){var b=this;return this.context.TA.Jz(a.args[0]).then(function(c){return b.qd([c.Zb()])})};_.g.nR=function(){for(var a=this.context.TA.nR(),b=[],c=0;c<a.length;c++)b.push(a[c].je());return this.qd([JSON.stringify(b)])};
_.g.x5=function(a){var b=this,c=new _.NTc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.E(c,_.CL,3)||_.E(c,_.LM,4)||_.E(c,_.zN,5)||_.E(c,_.IM,6)||_.E(c,_.jM,7)||_.E(c,_.cM,8)||_.E(c,_.gM,9)||_.E(c,_.ML,10)){var f=b$c(c);return this.context.Sm().then(function(h){return h.Ve(f,{H7a:d,I7a:e})}).then(this.Gab.bind(this,a),function(h){return b.qd(void 0,h)})}return _.Ph(this.qd(void 0,Error("ag")))};
_.g.Gab=function(a,b){a=[];var c="";if(b instanceof _.AN){a=b.qd().Gd();var d=_.C(b,2);c=b.Yn()}else if(b instanceof _.NM)b.getItem()&&a.push(b.getItem()),d=b.hN();else return this.qd(void 0,Error("bg"));b=[];for(var e=0;e<a.length;e++)b.push(a[e].je());return this.qd([JSON.stringify(b),d,c])};_.g.Aqa=function(){var a=this.context.Pc,b=a.Yf();a="email:"+_.vL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Rda=function(){this.context.aG.H=new Bbd(_.Rg().substring(0,8));return this.qd([])};
_.g.fT=function(){var a=this.context.aG.BN();if(a){for(var b=[],c=Dbd(this.context.aG),d=0;d<c.length;d++)b.push(c[d].je());a=[a.qea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.aG;b.H=null;b.NY=[];return this.qd(a)};_.g.BN=function(){var a=this.context.aG.BN();return this.qd(a?[a.qea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.qd([b])})};
_.g.Ppa=function(){var a=[this.O.Ku(),_.wi(3E4)];_.Th(_.Fja(a),function(){_.n.setTimeout(function(){self.close()})});return this.qd([])};_.g.Kl=function(a){this.H.Kl(a.args[0]);return this.qd([])};
var nmd=function(a,b,c,d,e,f,h){_.PN.call(this,a,b,c,d,f,h);this.H=e;this.Dd=null};_.L(nmd,_.PN);nmd.prototype.DM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.d3a(J0c(c.O,c.va,a,b,c.jj,c.ha))},null))};nmd.prototype.ma=function(a,b){var c=this.yd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Jz();e&&(d=_.C(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.gZc(a,b,d))}};
var omd=function(a,b,c,d,e,f,h,k){OP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Dd=h;this.H={};this.O={};this.Mc=new _.He(this);this.Ma(this.Mc)};_.L(omd,OP);_.g=omd.prototype;
_.g.jV=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.vG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.DM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.qd([])},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.qd([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=new _.cM(JSON.parse(a.args[0])),e=a.args[1];if(!this.H[c]){var f=new nmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Dd);this.Mc.listen(f,"Lb",_.tb(this.Hab,a.clientId,a.requestId));this.Ma(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.fj(),r=_.Sh();b.O[q]=r;b.update(l,p,pmd(3,q,[h,k]));return r.promise}).then(function(h){return b.qd([h.Zb()])},function(h){return b.qd(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.qd([])};_.g.vG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].vG();return this.qd([])};
_.g.retry=function(a){var b=this,c=a.clientId+":"+a.requestId;if(this.H[c]){var d=a.args[0],e=a.args[1],f=this.H[c].retry(e),h={},k=0;_.Ka(e,function(l){h[l]=f[k++]});_.Ma(h,function(l,p){l.Sf(function(q){b.update(a.clientId,c,pmd(0,d,[p,q.Zb()]))},function(q){b.update(a.clientId,c,pmd(1,d,[p,q.Qg.Zb()]))})});return this.qd([])}return this.qd(void 0,_.JL("Could not retry upload."))};
_.g.DM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args[1];return this.H[b]?(b=this.H[b],c=J0c(b.O,b.va,c,a,b.jj,b.ha),this.qd([M1c(c)])):this.qd(void 0,_.JL("FileUploader not found."))};_.g.Hab=function(a,b,c){this.update(a,b,pmd(2,c.requestId,[c.progress,c.totalBytes]))};var pmd=function(a,b,c){return[Number(a),b].concat(_.nd(c))};
var qmd=function(a,b){OP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(qmd,OP);qmd.prototype.jV=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};
qmd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=new _.iVc(JSON.parse(a.args[0]));e=new AP(this.O,e);var f=_.xe(e,"Pb",function(h){b.update(a.clientId,c,[h.FPa,h.Aua])});_.ze(e,function(){_.oi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.qd([h.Zb()])},function(h){return b.qd(void 0,h)})};qmd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var rmd=function(a,b){OP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Sh();this.O=new ifd(a,a.Kg)};_.L(rmd,OP);rmd.prototype.jV=function(){var a=this,b={};return b["6.1"]=function(c){return smd(a,c)},b["6.2"]=function(c){return tmd(a,c)},b["6.3"]=function(){a.H&&(lfd(a.O),a.H=!1,a.W=_.Sh());return a.qd([])},b};
var smd=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return dO(d,!!b.Zb,_.Wk)});a.O.ql(c);ZO(a.context.Oj,"GZTDpc");a.W.resolve()}return a.qd([])},tmd=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return dO(d,!!b.Zb,_.FL)});kfd(a.O,c);return a.qd([])})};
var umd=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 _.Wh)})};umd.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.ag())b.callback(a);else throw Error("Gg`"+a.V);};var vmd=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)})};umd.prototype.Io=function(){return[].concat(_.nd(this.services.values())).every(function(a){return a.ag()})};
var wmd=function(){},xmd={0:2E3,1:3E3,2:5E3},ymd=function(a,b){this.request=a;this.ha=b;this.O=_.Sh();this.continuationToken="";this.V=0;this.KE=this.W=!1;this.H=wmd};ymd.prototype.Yg=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=wmd;b.V=0;return c},function(c){b.H=wmd;b.V=0;return Promise.reject(c)})};
ymd.prototype.sendRequest=function(){var a=this;if(this.KE)this.O.resolve((new vP).Cc(8));else{var b=new _.vVc(this.request,this.continuationToken);this.ha.then(function(c){return c.Ve(b)}).then(function(c){zmd(a,c)},function(c){a.handleError(c)})}};var zmd=function(a,b){var c;a.continuationToken=null!==(c=b.Yn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},Amd(a.V++,a.ka)):a.O.resolve(b)};ymd.prototype.handleError=function(a){a=_.UA(a);this.O.reject(a)};
ymd.prototype.cancel=function(){this.KE=!0};var Amd=function(a,b){return b?b:(a=xmd[a])?a:1E4};
var Bmd=function(a,b){OP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(Bmd,OP);Bmd.prototype.jV=function(){var a=this,b={};return b["10.1"]=function(c){return Cmd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var Cmd=function(a,b){var c=b.clientId+":"+b.requestId,d=new _.Sdd(JSON.parse(b.args[0]));d=new ymd(d,a.O);a.H.set(c,d);return _.Th(d.Yg(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.qd([e])},function(e){return a.qd(void 0,e)}),function(){a.H.delete(c)})};Bmd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var RP=function(a,b,c){_.N.call(this);this.H=a;this.hs=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ja=_.Sh();this.W=!1;this.Ba=_.Sh();this.O=_.Sh();this.oa=null;this.va=this.Ta=!1;this.yb=_.Sh();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.aC=Date.now();this.services=new umd;this.Lb=new _.He(this);this.Ma(this.Lb)};_.L(RP,_.N);RP.prototype.tY=function(a){this.O.promise.then(function(b){b.A6||a.Yi(b)})};
var Gmd=function(a,b){var c=Mld(a.H,b),d=a.Sb.bind(a,c);QO(b,"8.1",d);b.registerService("8.1",d);QO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return Dmd(a,c,f)});QO(b,"8.2",a.Fb.bind(a,c));QO(b,"8.3",a.Nb.bind(a,c));vmd(a.services,b);b.start();Emd(a,c,b);a.ka(c,b);var e=[];a.oa||(a.oa=_.Rh([a.Ja.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.oa);_.Rh(e).then(function(){return void Fmd(a,c,b)},function(f){a.Ta=!0;RO(b,"2.2",{err:_.JL(f).Zb()},d)})},Hmd=function(a){return Math.floor((Date.now()-
a.aC)/1E3)},Imd=function(a,b,c){var d=function(e){RO(b,"2.8",{au:"ib"===e.type})};a.Lb.listen(c.JI,["ib","jb"],d);_.ze(b,a.Lb.Xc.bind(a.Lb,c.JI,["ib","jb"],d))},Jmd=function(a,b,c){var d=c.nk(),e=[].concat(_.nd(Object.values(_.WA))),f=function(h){RO(b,"2.19",{cs:h.connectionState})};a.Lb.listen(d,e,f);_.ze(b,function(){a.Lb.Xc(d,e,f)})};
RP.prototype.Sb=function(a){var b=Nld(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Qld(d,a)}),b.dispose(),this.log(_.lt("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){_.Th(d.Ku(),c)})}};
RP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.Ph();var c=new _.Vb(JSON.parse(b.dsc));_.A(c,24,!1);this.Ha||(this.Ha=!0,this.Ja.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){Hld(d,a,_.F(c.Yf(),37,""));Gld(d,_.Pd(c,28));d.wf.Wla(_.ck(c,_.zl,91));return d.LX.promise.then(function(){Rgd(d.wf,_.ck(c,_.bf,44))})},function(){})};
RP.prototype.Fb=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 Yfd(e,e.Kg);e.Yg(d);e.dispose();(e=c.H.channels[a]||null)&&RO(e,"2.16")})}};RP.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){Kmd(new Bgd(h),e);(h=c.H.channels[a]||null)&&RO(h,"2.17",{t:f})})}};
var Kmd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Yg(c)});a.dispose()};RP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={Vea:b.Vea,ufa:b.ufa},d=c.next())b.Vea=d.value,b.ufa=_.Sh(),RO(b.Vea,"2.12",void 0,function(e){return function(){e.Vea.dispose();e.ufa.resolve()}}(b)),a.push(b.ufa.promise);return _.Rh(a).then()};
RP.prototype.initialize=function(a){var b=this;a=a[0];_.KWc(a,this.fields);var c=_.E(a,_.SL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new fO(null,a,this.hs,c,void 0,void 0),e=d.Tk().H(106E3);nld(d,this.$a.bind(this));this.Lb.listen(d.Ij(),"Ab",function(k){k={os:k.Xe()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())RO(p.value,"2.6",k)});this.Lb.listen(d,_.Ac,this.nb);this.Lb.listen(d,"w8KrJc",this.Lc);Z9c(d.JI,this.ka.bind(this));var f=d.fz;f&&h5c(f,function(){return b.ka()});
this.O.resolve(d);var h=Lmd(this,d,new lmd(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Dc,this)));e&&h.then(function(){return e&&e.Yj()});return h}catch(k){return _.Qh(k)}};
var Lmd=function(a,b,c){a.services.activate(c);a.services.activate(new Old(b,a.H));a.services.activate(new mmd(b,a.H,c));a.services.activate(new rmd(b,a.H));a.services.activate(new omd(b.Pc,b.TA,b.mR().Zfa,b.Sm(),b.sQ,b.Zf(),b.Tk(),a.H));a.services.activate(new qmd(b.Sm(),a.H));a.services.activate(new Bmd(b.Sm(),a.H));return c.initialize()},Fmd=function(a,b,c){var d=_.Qa(a.H.channels);a.log(_.lt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));RO(c,"2.2",{id:b,
clients:d,uptimeSec:Hmd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.i_.addCallback(function(f){c.isDisposed()||RO(c,"2.5",{id:f})});1<d&&FP(e).addCallback(function(f){return f.Vwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Sba().then(function(){c.isDisposed()||RO(c,"2.14")})});Imd(a,c,e);Jmd(a,c,e)})};RP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())RO(c.value,"2.15",a)};
RP.prototype.Dc=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){RO(c,"2.18",b)})};RP.prototype.nb=function(a){a={p:a.error.Qg.Zb()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())RO(c.value,"2.10",a)};RP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())RO(b.value,"2.7")};var Emd=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){RO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
RP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Qh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Ph()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.Qh(Error("Ig"));var d=_.Sh();b.send("1.1",void 0,function(e){Dmd(c,a,e);d.resolve()});return d.promise};var Dmd=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.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
RP.prototype.log=function(a){this.O.promise.then(function(b){return b.Zf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var Mmd=function(a,b){NP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(Mmd,NP);_.g=Mmd.prototype;_.g.La=function(){return _.E(this.context.Pc,_.SL,58)};_.g.getContext=function(){return this.context};_.g.Jz=function(){return this.send("5.4",[this.H],function(a){return new _.yXc(JSON.parse(a[0]))})};_.g.Zf=function(){return this.context.Zf()};_.g.XM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Wk(b)})};
_.g.nR=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.NTc(a[c]));return b})};_.g.x5=function(a,b,c){return this.send("5.8",[a.Zb(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.Wk(e[k]));return{items:h,Sia:f,pageToken:d}})};_.g.Aqa=function(){this.send("5.9",[])};_.g.tia=function(){this.send("5.1",[])};_.g.H9=function(){return _.qUc[_.Hj(this.context.Pc.Yf(),8,0)]};
_.g.Rda=function(){this.send("5.6",[])};_.g.fT=function(){return this.send("5.7",[],function(a){if(0===a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new c$c(a[e]));return{traceId:new Bbd(b,c),spanRecs:d}})};_.g.BN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new Bbd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.Ppa=function(){this.send("5.11",[])};
_.g.Kl=function(a){this.send("5.13",[a])};
var Nmd=function(a,b){NP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(Nmd,NP);Nmd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request.Zb()],function(b){return new sed(JSON.parse(b[0]))},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};
Nmd.prototype.cancel=function(){this.send("9.2",[this.request.Zb()],void 0,this.id)};Nmd.prototype.baa=function(a,b,c){this.dispatchEvent(new Eed(c[0],c[1]))};
var Omd=function(a){NP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(Omd,NP);Omd.prototype.vY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.LV().Sf(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.Z_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var Pmd=function(a,b){gP.call(this,a,b)};_.L(Pmd,gP);Pmd.prototype.Iia=function(a,b,c){return new _.rVc(a,c)};Pmd.prototype.Vka=function(a){return a.pageToken||""};Pmd.prototype.ika=function(a){return a.response.O()};Pmd.prototype.y6=function(){};
var Qmd=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new Pmd(this.request,this.ka)};_.L(Qmd,zP);_.g=Qmd.prototype;_.g.eH=function(){this.V.Yg().then(this.Iab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return Kdd(new uP,this.O).Cc(this.status)};_.g.ms=function(){return new Idd};_.g.Sj=function(){return!this.Xe()&&(!this.H||Pad(this.V))};_.g.Iab=function(a){this.changed=this.H=!0;this.O=a;this.Wt()};
_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};_.g.jc=function(){return this.O.length};
var Rmd=function(a,b,c){zP.call(this,a.Ij(),a.nk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.PRc;this.suggestionSessionId=null;this.ka=c};_.L(Rmd,zP);_.g=Rmd.prototype;_.g.eH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.rk();a.suggestionSessionId=b.Uf();a.Wt()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.E0c(_.D0c((new _.RN).Cc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.ms=function(){var a=this.V.Kz(this.O,this.data);this.O=this.data;var b=(new Odd).Cc(this.status);return _.Cb(b,2,a)};_.g.tP=function(){};_.g.Wt=function(){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))};_.g.jc=function(){return this.data.length};
var Smd=function(){};_.g=Smd.prototype;_.g.GM=function(a,b){b=jed(1).setPosition(b);_.x(b,2,a);return b};_.g.FM=function(a,b){b=jed(2).setPosition(b);_.x(b,2,a);return b};_.g.PE=function(a,b,c){b=jed(3).Wy(b).setPosition(c);_.x(b,2,a);return b};_.g.EQ=function(a,b){b=jed(4).setPosition(b);_.x(b,2,a);return b};_.g.jN=function(a){return _.E(a,_.P8c,2)};
var Umd=function(){_.fL.call(this,new Smd,function(a){return Tmd(a)})};_.L(Umd,_.fL);var Tmd=function(a){switch(_.Fj(a,O8c[0])){case 6:return _.ux(_.E(a,_.tx,6)).getTime().toString();case 7:var b=_.E(a,_.JO,7);a=_.E(b,_.tx,1);b=b.Fr();return a&&b?(a=_.ux(a).getTime(),_.ux(b).getTime()+"--"+a):"";default:return""}},Wmd=function(){Vmd||(Vmd=new Umd);return Vmd},Vmd;
var Xmd=function(a,b,c,d){zP.call(this,b.Ij(),b.nk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.PYc(_.Lj(b.Pc.Yf(),6,1E3));this.oa=c};_.L(Xmd,zP);_.g=Xmd.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.eH=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Lr=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;zP.prototype.Lr.call(this,a)};
_.g.getData=function(){var a=(new oed).Cc(this.status);_.Cb(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=Wmd().Kz(this.ka,this.O),b=new led;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.O);return a};_.g.Sj=function(){return!this.Xe()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.yd=function(){return this.request};_.g.aNa=function(a){this.dispatchEvent(new _.oc(a));this.V=!1};
_.g.Sxb=function(a,b){this.H=!0;var c=_.ck(b,_.P8c,1);this.O=this.O.concat(c);this.token=b.ty()||"";0<c.length&&(this.changed=!0);this.Wt();this.page(a)};_.g.kyb=function(a){Wmd();this.H=!0;var b=_.ck(a,_.P8c,1);kO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ty()||"",this.changed=!0,this.Wt(),this.page()):(this.V=!1,Ymd(this))};
_.g.page=function(a){this.active?(this.V=!0,this.Sj()&&this.O.length<this.limit?this.oa(this.request,this.limit-this.O.length,this.token).Sf(_.tb(this.Sxb,a),this.aNa,this):(this.V=!1,a&&a.callback(),Ymd(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Sf(this.kyb,this.aNa,this))};_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};
_.g.NL=function(){this.Xe()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.tP=function(){this.active&&this.Sj()&&!this.V&&this.page(new _.Wh)};var Ymd=function(a){_.R(a.request,3)||(_.mH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Xa()))};Xmd.prototype.jc=function(){return this.O.length};
var Zmd=function(){};_.g=Zmd.prototype;_.g.GM=function(a,b){return qed(ped(1),a).setPosition(b)};_.g.FM=function(a,b){return qed(ped(2).setPosition(b),a)};_.g.PE=function(a,b,c){return qed(ped(3).Wy(b).setPosition(c),a)};_.g.EQ=function(a,b){return qed(ped(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,_.oP,2)};
var $md=function(){_.fL.call(this,new Zmd,function(a){return a.getId()})};_.L($md,_.fL);var bnd=function(){and||(and=new $md);return and},and;
var cnd=function(a,b,c){zP.call(this,b.Ij(),b.nk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.PYc(_.Lj(b.Pc.Yf(),54,1E3));this.ma=c};_.L(cnd,zP);_.g=cnd.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.eH=function(){this.poll()};_.g.getData=function(){var a=new yed;a=_.Cb(a,2,this.O).Cc(this.status);this.ka=_.ya(this.O);return a};_.g.ms=function(){var a=bnd().Kz(this.ka,this.O),b=new wed;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.O);return a};
_.g.Sj=function(){return!this.Xe()&&!this.H};_.g.poll=function(){var a=new _.Wh;this.ma(this.request).Sf(_.tb(this.Kab,a),_.tb(this.Jab,a),this);return a};_.g.Jab=function(a,b){this.dispatchEvent(new _.oc(b));a.Pd(b);dnd(this)};_.g.Kab=function(a,b){this.H=!0;b=_.ck(b,_.oP,2);kO(bnd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.Wt();a.callback();dnd(this)};
_.g.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};_.g.tP=function(){};var dnd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Xa()),_.mH(a.V))};cnd.prototype.jc=function(){return this.O.length};
var end=function(){};_.g=end.prototype;_.g.GM=function(a,b){return tdd(sdd(1),a).setPosition(b)};_.g.FM=function(a,b){return tdd(sdd(2).setPosition(b),a)};_.g.PE=function(a,b,c){return tdd(sdd(3).Wy(b).setPosition(c),a)};_.g.EQ=function(a,b){return tdd(sdd(4),a).setPosition(b)};_.g.jN=function(a){return _.E(a,_.Dk,2)};
var fnd=function(){_.fL.call(this,new end,function(a){return a.getId()})};_.L(fnd,_.fL);_.Gf(fnd);
var SP=function(a,b,c){_.si.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(SP,_.si);SP.prototype.wi=function(a){this.limit=a};SP.prototype.Yg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():gnd(this)};SP.prototype.Xka=function(){return this.permissions};
var gnd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.xM;c=_.x(c,3,a.request);c=_.A(c,2,a.nextPageToken);b=_.A(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};SP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Yn()||"";a=_.ck(a.qd(),_.Dk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return gnd(this);this.dispatchEvent("Fb")};
SP.prototype.handleError=function(a){this.H=!1;a=new TO(_.JL(a),_.Lj(this.context.Pc.Yf(),1,1));this.dispatchEvent(a)};
var hnd=function(a,b,c,d){zP.call(this,b.Ij(),b.nk(),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 SP(b,this.request,this.ma);_.ze(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(hnd,zP);_.g=hnd.prototype;_.g.activate=function(){zP.prototype.activate.call(this);this.Wt()};_.g.eH=function(){this.query()};_.g.Lr=function(a){zP.prototype.Lr.call(this,a||100)};
_.g.getData=function(){var a=new mO;a=_.Cb(a,2,this.permissions.slice(0,this.limit)).Cc(this.status);this.ka=_.ya(this.permissions);return a};_.g.ms=function(){var a=fnd.Hb().Kz(this.ka,this.permissions),b=new Add;a=_.Cb(b,2,a).Cc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Sj=function(){var a;(a=!this.Xe())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.yd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new SP(this.context,this.request,this.ma);this.O.wi(this.limit);return this.O.Yg().then(function(){return ind(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){zP.prototype.handleError.call(this,a);jnd(this)};var ind=function(a){a.H=!0;var b=a.O.Xka();kO(fnd.Hb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Wt();jnd(a)};
hnd.prototype.Wt=function(){if(this.active){var a=this.status;this.NL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.Bc,this))}};hnd.prototype.tP=function(){var a=this;this.O.wi(this.limit);this.O.Yg().then(function(){return ind(a)},function(b){return a.handleError(b)})};var jnd=function(a){if(a.active){var b=a.context.Pc.Yf();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.Lj(b,7,9E5)*Math.random())+_.Lj(b,15,36E5))}};hnd.prototype.jc=function(){return this.permissions.length};
var knd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.Bc,a))},0)};
var lnd=function(){},mnd=function(a,b){NP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=lnd;this.H=null;this.id=String(_.Da(this))};_.L(mnd,NP);mnd.prototype.baa=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(dO(a,b,vP)))};mnd.prototype.Yg=function(a){var b=this;a=void 0===a?lnd:a;this.H||(this.O=a,this.H=_.Sh(),this.send("10.1",[this.request.Zb()],function(c,d){c=dO(c[0],d,vP);b.H.resolve(c)},this.id).Gg(function(c){b.H.reject(c)}));return this.H.promise};
mnd.prototype.cancel=function(){this.send("10.2",[this.request.Zb()],void 0,this.id)};
var nnd=function(a,b,c){_.si.call(this);this.instanceId=a;this.H=b;this.V=c;this.Du={};this.O={};_.ze(this,(0,_.v)(this.Lab,this))};_.L(nnd,_.si);_.g=nnd.prototype;_.g.getId=function(){return this.instanceId};_.g.DQ=function(){return _.hL()};_.g.upload=function(a,b){!_.C(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.PWc;_.A(d,1,b.size);_.x(a,15,d);this.O[a.fj()]=b}return this.H("7.1",[a.Zb(),c],function(e){return new _.NM(JSON.parse(e[0]))})};
_.g.cancel=function(a){this.H("7.2",[a])};_.g.vG=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 _.Wh;c=this.DQ();this.Du[c]=b;this.H("7.4",[c].concat(_.nd(a)));return _.Sa(b)};_.g.DM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.nd(b)),function(d){return N1c(d[0])}).addCallback(function(d){return _.$h(c.V.then(function(e){return e.d3a(d)}))})};_.g.Lab=function(){this.H("7.6",[])};
var ond=function(a,b,c,d){if(a.Du[b]&&a.Du[b][c]){var e=a.Du[b][c];d instanceof _.NM?e.callback(d):e.Pd(d);delete a.Du[b][c];_.Va(a.Du[b])&&delete a.Du[b]}};
var pnd=function(a,b){NP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(pnd,NP);var qnd=function(a){var b=_.hL(),c=new nnd(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};
pnd.prototype.baa=function(a,b,c){if((a=this.H.get(a))&&c){b=c[1];var d=c.slice(2);switch(c[0]){case 3:c=d[0];d=d[1];d=Math.min(d,1073741824);var e=a.O[b];a.H("7.7",[b,_.WUc(e,c,Math.min(e.size,c+d))]);break;case 0:c=new _.NM(JSON.parse(d[1]));ond(a,b,d[0],c);break;case 1:c=new _.nc(void 0,new _.mc(JSON.parse(d[1])));ond(a,b,d[0],c);break;case 2:a.dispatchEvent(new _.gZc(b,d[0],d[1]));break;default:throw Error("Jg");}}};
var rnd=function(a,b){if(0===a.length)throw new _.nc("mutateUserPref requires a namespace.",_.UL(3));var c=null;b instanceof _.fD?c=(b=(b=_.E(b,_.bp,1))&&b.getKey())&&_.cp(b)||null:b instanceof _.eD&&(c=(b=b.getKey())&&_.cp(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.nc("mutateUserPref unsupported for namespace: "+c,_.UL(3));};
var snd=function(a){this.H=a};
var u2c=function(a){NP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(tnd=_.Sh()).promise);var b=this;this.co=null;this.Ja=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.tn;this.Ha=new _.tn;this.V=tnd;tnd=void 0;this.context=a;pld(this.context,new Omd(this.V.promise));W4c(this.context.Kg,_.Pd(this.context.Pc,28));this.H=this.context.$fa;this.O=new Rld(this.V.promise,this.context,this.H);this.nb=new pnd(this.V.promise,this.context.sQ);this.Fa=new Mmd(this.V.promise,this.context);
this.Mc=new _.He(this);this.Ma(this.Mc);this.Mc.listen(this.context.nk(),[].concat(_.nd(Object.values(_.WA))),function(c){return void b.dispatchEvent(c)})},tnd;_.L(u2c,NP);
u2c.prototype.initialize=function(){var a=this;if(!this.co){this.co=_.Ph(this.oa);var b=this.context.Tk().H(106E3);this.co.then(function(){b&&b.Yj();a.U1a()},function(){_.xN(a.context.Tk(),181008852)});var c=_.bN(this.context.Pc)?"(coldstart) ":"";this.context.Zf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Pc.Ji());var d=z1c(this.context.Pc,this.Ni(),_.hN(this.context.Kg));und(this,d);2===d.H?(c=new RP(new Lld,6,this.context.Zf()),Gmd(c,d.O),this.Ha.resolve(c)):
S1c(this.Fa);this.context.Zf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();nld(this.context,function(){return vnd(d.channel)})}return this.co};
var vnd=function(a){return _.Fja([new _.Oh(function(b){a.isDisposed()||RO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},und=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",(0,_.v)(a.yb,a)):c.registerService("1.1",function(){return wnd(a,b)});2===b.H?a.Ha.promise.then(function(){return void xnd(a,b)}):xnd(a,b);QO(c,"2.1",function(){return{dsc:a.context.Pc.Zb()}});QO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new Kld(d.id,c,a.context.Zf(),d.clients)),d.dsp&&ynd(c),
d.ivd&&znd(a,c)):(d=new _.mc(JSON.parse(d.err)),a.oa.Pd(new _.nc("Unable to initialize dataservice.",d)))});QO(c,"2.15",function(d){a.dispatchEvent(new Ded(d.dt))});QO(c,"2.5",function(d){a.context.Iu(d.id)});QO(c,"2.6",function(d){a.context.Ij().Kl(d.os)});QO(c,"2.18",function(d){a.context.Ij().Vy(d.oois)});QO(c,"2.7",function(){a.ma=!1});QO(c,"2.8",function(d){a.context.Ha=d.au;a.dispatchEvent(new v5c(d.au?"ib":"jb"))});QO(c,"2.19",function(d){a.context.nk().update(d.cs)});QO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.lt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Zf().config(e,d);break;case "fine":_.fN(a.context.Zf(),e,d,"fine");break;case "finer":_.fN(a.context.Zf(),e,d,"finer");break;case "finest":_.fN(a.context.Zf(),e,d,"finest");break;case "info":a.context.Zf().info(e,d);break;case "warning":case "severe":T4c(a.context.Zf(),e,d);break;default:T4c(a.context.Zf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),T4c(a.context.Zf(),e,d)}});QO(c,"2.10",
function(d){return void a.$$(d)});QO(c,"2.12",function(){a.Ja=!0;TP(a)});QO(c,"2.14",function(){return a.$a.resolve()});QO(c,"2.16",function(){return a.Ta=!0});QO(c,"2.17",function(d){a.context.Zf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},xnd=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",wnd(a,b));RO(b.channel,"8.4",{dsc:a.context.Pc.Zb()});ynd(b.channel);znd(a,b.channel)},ynd=function(a){_.n._DRIVE_dsp&&RO(a,"8.3",{dsp:And(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];RO(a,"8.3",{dsp:And(c)})}}},znd=function(a,b){_.S(a.context.Pc,24,!1)&&(_.n._DRIVE_ivd?RO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&RO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},wnd=function(a,b){var c={};if(1===b.H){var d=new _.NOa(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.Ji(),
ufds:b.V}};u2c.prototype.yb=function(){return{uid:this.Ni(),fds:_.hN(this.context.Kg)}};u2c.prototype.Ni=function(){var a=_.Sj(_.Sj(_.HH(this.context.Pc.clone(),28),44),91),b=new _.nL;b.update(_.$M(_.vL(a)));b.update(String(_.KL(_.vL(a))));b.update(a.Zb());return _.YRc(b.digest())};var And=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=u2c.prototype;_.g.$$=function(a){this.dispatchEvent(new _.oc(new _.nc(void 0,new _.mc(JSON.parse(a.p)))))};
_.g.query=function(a){TP(this);C9c(this.context.yn,a,U4c(this.context.Kg));this.sF();var b=this.O.Bxa(a);this.Oa||(a=a.we(),a&&121===_.C(a,1)||(this.Oa=!0,this.Mc.listen(b,_.Bc,this.bNa)));return b};_.g.bNa=function(a){a=a.currentTarget;1===a.Bb()&&(this.Fa.H=this.Ta,this.Mc.Xc(a,_.Bc,this.bNa))};_.g.Oq=function(a){TP(this);A9c(a);this.sF();return this.O.yxa(a)};
_.g.Cva=function(a,b){var c=this;TP(this);if(this.ka&&_.ik(this.ka.yd(),a))return this.ka;this.ka=new Xmd(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return dO(h[0],k,R8c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.jGa=function(a,b){var c=this;TP(this);if(this.ha&&_.ik(this.ha.yd(),a))return knd(this.ha),this.ha;this.ha=new hnd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return dO(e[0],f,Bdd)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.yaa=function(a){TP(this);return this.send("3.14",[a],function(b,c){return dO(b[0],c,tP)})};_.g.N8=function(a){TP(this);return this.send("3.15",[a],function(b,c){return dO(b[0],c,tP)})};
_.g.xd=function(a){TP(this);!this.ma&&_.OM(a)&&(this.ma=!0);a=B1c(a);return this.send("3.3",[a],function(b,c){return dO(b[0],c,_.NM)})};_.g.jO=function(a){TP(this);a=L1c(a);return this.send("3.35",[a],function(b,c){return dO(b[0],c,_.u5c)}).then()};_.g.vz=function(a){TP(this);for(var b=0;b<a.length;b++)!this.ma&&_.OM(a[b])&&(this.ma=!0);a=E1c(a);return this.send("3.4",[a],function(c,d){return R9c(c[0],d).get()})};_.g.xxa=function(){TP(this);return qnd(this.nb)};
_.g.LSa=function(a){TP(this);return new Nmd(this.V.promise,a)};_.g.Pq=function(a,b){var c=this;TP(this);var d=_.Rg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=dO(e[0],f,UO);return new _.sN(f,e[1],e[2])}).addCallback(function(e){i$c(c.H,d,e);return e.response}).Gg(function(e){SO(c.H,d);return e})};_.g.Br=function(a){TP(this);return this.send("3.10",[a],function(b,c){return dO(b[0],c,ydd)})};
_.g.Aaa=function(a){TP(this);return this.send("3.11",[a],function(b,c){return dO(b[0],c,Cdd)})};_.g.L8=function(a){TP(this);return this.send("3.12",[a],function(b,c){return dO(b[0],c,Cdd)})};_.g.uT=function(a){TP(this);return this.send("3.13",[a],function(b,c){return dO(b[0],c,Cdd)})};
_.g.GN=function(a,b){var c=this;TP(this);var d=_.Rg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=dO(e[0],f,_.xP);return new _.vN(f,e[1],e[2])}).addCallback(function(e){i$c(c.H,d,e);return e.response}).Gg(function(e){SO(c.H,d);return e})};
_.g.cH=function(a,b){var c=this,d=_.Pd(this.context.Pc.Yf(),30);if(!d||0===d.length)return _.ai(new _.nc("getUserPrefs requires a namespace.",_.UL(3)));0===_.Pd(a,3).length&&Y1c(a,d);TP(this);var e=_.Rg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=dO(f[0],h,_.lz);return new _.uN(h,f[1],f[2])}).addCallback(function(f){i$c(c.H,e,f);return f.response}).Gg(function(f){SO(c.H,e);return f})};
_.g.iS=function(a){TP(this);rnd(_.Pd(this.context.Pc.Yf(),30),a);a=I1c(a);return this.send("3.6",[a],function(b,c){return dO(b[0],c,Ddd)})};_.g.lu=function(a){TP(this);return this.send("3.16",[a],function(b,c){return dO(b[0],c,k5c)})};_.g.hCa=function(){return this.ma};_.g.Kl=function(a){TP(this);this.send("3.8",[a])};_.g.Vy=function(a){TP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.vY=function(a){TP(this);old(this.context).vY(a);this.Vy(!!a)};
_.g.sF=function(){TP(this);this.send("3.9",[])};_.g.kS=function(){TP(this);this.send("3.41",[]);this.context.kS();var a=c5c(this.context.Tk(),106006);a&&this.V.promise.then(function(b){var c=_.E(_.nN(a),z4c,6);if(!c){c=new z4c;var d=_.nN(a);_.x(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Yj()},function(){})};_.g.BB=function(){TP(this);return this.context.BB()};_.g.wQ=function(){TP(this);return _.Ph(this.send("3.19",[],function(a,b){return dO(a[0],b,U9c)}))};_.g.isConnected=function(){return this.context.nk().isConnected()};
_.g.h8=function(){return this.send("3.46",[],function(a,b){return dO(a[0],b,_.DYc)}).then()};_.g.Z9=function(){return this.Fa};_.g.sync=function(){TP(this);return this.send("3.28",[]).then()};_.g.Ku=function(){return this.context.Ku()};_.g.tY=function(a){this.Ha.promise.then(function(b){return void b.tY(a)})};_.g.rqa=function(a){TP(this);return this.O.Ixa(a)};_.g.cZ=function(a){TP(this);return this.O.Hxa(a)};_.g.gGa=function(a){TP(this);F9c(this.context.yn,a,U4c(this.context.Kg));return this.O.Exa(a)};
_.g.sqa=function(a){TP(this);return new mnd(this.V.promise,a)};_.g.pwa=function(a){var b=this;TP(this);if(!this.W||this.W.isDisposed())this.W=new cnd(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return dO(d[0],e,yed)})});return this.W};_.g.RGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.M8=function(a){TP(this);return this.send("3.22",[a],function(b,c){return dO(b[0],c,zed)})};
_.g.MV=function(a){TP(this);return this.send("3.25",[a],function(b,c){return dO(b[0],c,ued)})};_.g.Sba=function(){return this.$a.promise};_.g.poa=function(a){var b=_.Sh();this.send("3.30",[a],function(c,d){c[0]?b.resolve(dO(c[0],d,Bed)):b.reject(new _.nc(void 0,dO(c[1],d,_.mc)))}).Gg(function(c){return void b.reject(c)});return b.promise};_.g.Rwa=function(a){TP(this);return this.O.vxa(a)};_.g.g8=function(a){TP(this);return this.send("3.42",[a],function(b,c){return dO(b[0],c,D6c)}).then()};
_.g.vP=function(a){TP(this);var b=new _.tn;this.send("3.39",[a],function(c,d){return c.map(function(e){return dO(e,d,t$c)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new snd(b.promise))};_.g.CGa=function(a){var b=this;TP(this);return new Qmd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new X8c(dO(d[0],e,uP),d[1])}).then()})};
_.g.Boa=function(a){TP(this);return this.send("3.38",[a],function(b,c){return dO(b[0],c,Ldd)}).then()};_.g.xLa=function(a){TP(this);return this.O.Mxa(a)};_.g.pra=function(a){TP(this);return this.O.Lxa(a)};_.g.NJa=function(a){var b=this;TP(this);return new Rmd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return dO(c[0],d,_.RN)}).then()})};_.g.OJa=function(a){TP(this);return this.O.Fxa(a)};_.g.W_=function(a){TP(this);this.send("3.43",[a])};
_.g.D0=function(a){TP(this);return this.send("3.44",[a],function(b,c){return dO(b[0],c,q6c)}).then()};_.g.Zo=function(a){TP(this);if(1!==_.aN(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.Ic())return Promise.reject(Error("Lg"));if(!c.qk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.U1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.wi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Fja(b).then(function(c){c?_.ui(a.U1a.bind(a),6E4):(a.Ja=!0,TP(a))})}};var TP=function(a){a.Ja&&a.dispatchEvent(new cfd)};
var w2c=function(a){BP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Sh();this.H=a.Sm()};_.L(w2c,BP);w2c.prototype.xSa=function(){this.Ha=new Xld(this.context);this.Ma(this.Ha);this.Ja=new amd(this.context);this.Ma(this.Ja);this.Oa=new hmd(this.context);this.Ma(this.Oa)};
w2c.prototype.$a=function(){var a=this,b=["hVFf7"];_.bN(this.context.Pc)&&b.push("BNEDtc");YO(this.O,b,function(){return void a.iXa()});YO(this.O,["T8oKm","ZA9qG"],function(){return void Bnd(a)});YO(this.O,["T8oKm","mrK8ic"],function(){return void Bnd(a)});this.Mc.listen(this.Ha,"WPi0i",this.fta.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.fta.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.fta.bind(this,4));YO(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var Bnd=function(a){FP(a.context).addCallback(function(b){b.start()})};
_.g=w2c.prototype;_.g.fta=function(a){_.ma(r6c,a)&&this.dispatchEvent(new Ded(a))};_.g.cZ=function(a){return this.V.Hxa(a.clone())};_.g.gGa=function(a){F9c(this.context.yn,a,U4c(this.context.Kg));return this.V.Exa(a.clone())};_.g.rqa=function(a){return this.V.Ixa(a.clone())};_.g.sqa=function(a){return new ymd(a,this.context.Sm())};
_.g.Cva=function(a,b){var c=this;if(this.oa&&_.ik(this.oa.yd(),a))return this.oa;this.oa=new Xmd(a.clone(),this.context,this.Dkb.bind(this),b);_.n.setTimeout(function(){c.oa=null},3E3);return this.oa};_.g.Dkb=function(a,b,c){var d=new _.kVc(a,b,c);return _.$h(this.H.then(function(e){return e.Ve(d)}).Sg(function(e){return _.WL(e)}))};_.g.pwa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new cnd(a,this.context,function(c){return Cnd(b,c)});return this.ha};var Cnd=function(a,b){return _.$h(a.H.then(function(c){return c.Ve(b)}).Sg(function(c){return _.WL(c)}))};
_.g=w2c.prototype;_.g.RGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Ph()};_.g.MV=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}))};_.g.M8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}))};_.g.jGa=function(a,b){var c=this;if(this.ka&&_.ik(this.ka.yd(),a))return knd(this.ka),this.ka;this.ka=new hnd(a.clone(),this.context,this.OKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.OKb=function(a){var b=this;return this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Dad(b.context.wf.Eq,_.ck(c.qd(),_.Dk,2),a.yd().getId()).then(function(){return c}):c},_.WL)};_.g.yaa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Dad(b.context.wf.Eq,[_.E(c,_.Dk,2)],a.Ic()).then(function(){return c}):c},_.WL))};
_.g.N8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.Rwa=function(a){return this.V.vxa(a.clone())};_.g.g8=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.vP=function(a){return this.H.then(function(b){return b.Ve(a)}).then(function(b){var c=new _.tn;Nad(a,b).then(function(d){return c.resolve(d)});return new snd(c.promise)},function(b){return void _.WL(b)})};_.g.CGa=function(a){var b=this;return new Qmd(this.context,a,function(c){return b.H.then(function(d){return d.Ve(c)}).Sg(function(d){return _.WL(d)})})};
_.g.Boa=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.jO=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.vz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.YL?c.push(String(f.Ic())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.go(d);var e=new _.Wh;a.addCallback(this.$mb.bind(this,e,c));return e};
_.g.xxa=function(){return new nmd(this.context.Pc,this.context.TA,this.context.mR().Zfa,this.context.Sm(),this.context.sQ,this.context.Zf(),this.context.Tk())};_.g.Pq=function(a,b){var c=this,d=_.Rg();this.W.create(d,a);3===a.getType()?a=BP.prototype.Pq.call(this,a).addCallback(function(e){return new _.sN(e,1,!1)}):(ZO(this.O,"Qubz4b"),a=this.Ja.enqueue(new fmd(a,b)));return a.addCallback(function(e){i$c(c.W,d,e);return e.response}).Gg(function(){SO(c.W,d)})};
_.g.Br=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.Aaa=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.L8=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};_.g.uT=function(a){return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};
_.g.GN=function(a,b){var c=this;ZO(this.O,"iuEtc");var d=_.Rg();this.W.create(d,a);return this.Ha.enqueue(new Zld(a,b)).addCallback(function(e){i$c(c.W,d,e);return e.response}).Gg(function(){SO(c.W,d)})};
_.g.cH=function(a,b){var c=this,d=_.Pd(this.context.Pc.Yf(),30);if(!d||0===d.length)return _.ai(new _.nc("getUserPrefs requires a namespace.",_.UL(3)));0===_.Pd(a,3).length&&Y1c(a,d);var e=_.Rg();this.W.create(e,a);ZO(this.O,"OZvrNc");return this.Oa.enqueue(new kmd(a,b)).addCallback(function(f){i$c(c.W,e,f);return f.response}).Gg(function(){SO(c.W,e)})};_.g.iS=function(a){rnd(_.Pd(this.context.Pc.Yf(),30),a);return _.$h(this.H.then(function(b){return b.Ve(a)}).then(null,_.WL))};
_.g.lu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Ve(a)}).then(function(c){return _.BL(b.context.Pc)?Cad(b.context.wf.Eq,c):c},_.WL))};_.g.xLa=function(a){return this.V.Mxa(a.clone())};_.g.pra=function(a){return this.V.Lxa(a.clone())};_.g.NJa=function(a){var b=this;return new Rmd(this.context,a,function(c){return b.H.then(function(d){return d.Ve(c)}).Sg(function(d){return _.WL(d)})})};_.g.OJa=function(a){return this.V.Fxa(a.clone())};
_.g.W_=function(a){Rgd(this.context.wf,[a])};_.g.D0=function(a){return this.H.then(function(b){return b.Ve(a)}).then(null,_.WL)};_.g.Zo=function(a){if(1!==_.aN(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.Ic())return Promise.reject(Error("Lg"));if(!c.qk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.wf.Zo(a);Bhd(this.context.wf);return Promise.resolve()};_.g.hCa=function(){return this.context.mR().kK()};
_.g.Vy=function(a){var b=this;return this.context.Vy(a).then(function(c){return c?(b.context.Ij().Vy(a),b.context.Xs.qL()):_.Ph(!a)})};_.g.vY=function(a){old(this.context).vY(a);this.Vy(!!a)};_.g.sF=function(){FP(this.context).addCallback(function(a){a&&a.Roa()});this.context.Fha.sF()};_.g.tY=function(a){a.Yi(this.context)};_.g.$mb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];Bhd(this.context.wf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Rh([this.context.waa.promise,this.context.ka.promise]).then(function(){return a.context.Xs.qL()}).then()};_.g.Ku=function(){FP(this.context).addCallback(function(a){a&&a.dispose()});return BP.prototype.Ku.call(this)};_.g.Sba=function(){return this.kb.promise};
var Dnd=function(){var a='<div class="'+_.H("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.H("la-Y-A")+" "+_.H("kc-A")+'" data-target="reload">');return(0,_.J)(a+"Reload</button>")};
_.rn({id:_.$l,callback:function(a){var b=_.G0c(a),c=z2c(a),d=_.E(a.get(_.Xc),_.Vb,10);_.KWc(d,b);_.Pj(d,28,c);b=x2c(a,d);a.registerService(_.am,b.Z9());_.Ne(b,"VbxEwf",function(){var e={};_.xc(_.Ct.getService(a),new _.cq(new _.bq(Dnd,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.End=function(a,b){return _.x(a,17,b)};_.Fnd=function(a,b){return _.A(a,2,b)};_.Gnd=function(a,b){return _.A(a,1,b)};_.Hnd=function(a,b){return _.x(a,2,b)};_.Ind=function(a,b){return _.Cb(a,1,b)};_.Jnd=function(a,b){return _.Pj(a,1,b)};_.Knd=function(a,b){return _.Cb(a,2,b)};_.Lnd=function(a,b){return _.x(a,3,b)};_.t("RsR2Mc");


_.w();

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