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{
_.ctb=function(a){a=parseInt(_.B(a,3)||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.etb=function(a,b,c,d){var e=_.Ge.getService(a);a=e.lg(a,c);_.dtb(a.H.Dk,b,d);e.Yf(a)};_.dtb=function(a,b,c){var d=new _.ftb;b.LU&&_.A(d,2,b.LU);b.fG&&0<=b.fG&&_.A(d,1,b.fG);b.quotaType&&_.A(d,3,b.quotaType);_.gtb(a,d);c&&(b=new _.htb,_.A(b,1,c),_.itb(a,b))};_.jtb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.ktb=function(a,b){return!_.S(a,6,!1)||_.S(b,15,!1)};
_.gtb=function(a,b){b&&(a=a.ad(),_.J(a,29,b))};_.itb=function(a,b){b&&(a=a.ad(),_.J(a,38,b))};_.ftb=function(a){_.O(this,a,-1,null,null)};_.L(_.ftb,_.K);_.htb=function(a){_.O(this,a,-1,null,null)};_.L(_.htb,_.K);_.htb.prototype.Mh=function(){return _.B(this,1)};_.ltb=function(a,b,c,d,e,f,h){return(0,_.G)(_.Pn("a",b,!1)({fillColor:d,mb:c,color:"#000000",ob:!0,Cs:e,size:f,Wd:h},a))};_.t("sy11r");
_.ntb=function(a,b,c){var d=_.E(a.get(_.cDa),1,""),e=_.ctb(b);d=new _.bj(d);a:switch(e){case "over":var f="o";break a;case "near":f="u";break a;default:f="m"}return _.gj(_.ij(_.ij(_.ij(_.ij(d,"i",f),"utm_source","drive"),"utm_medium","web"),"utm_campaign",_.mtb(a,e,c)),-1!=parseInt(String(_.C(b,_.Cx,2)),10)?"upgrade":"")};
_.mtb=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"}}};
_.otb=function(a,b,c){if(!b)return"g1_widget_unknown";a=Number(_.B(b,3));return c?isNaN(a)?"g1_settings":100<=a?"g1_settings_oos":90<=a?"g1_settings_ninety":80<=a?"g1_settings_eighty":70<=a?"g1_settings_seventy":"g1_settings_normal":isNaN(a)?"g1_widget_unknown":100<=a?"g1_widget_oos":90<=a?"g1_widget_ninety":80<=a?"g1_widget_eighty":70<=a?"g1_widget_seventy":"g1_widget_normal"};

_.w();

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

var $zb=_.mtb,aAb=_.ntb,bAb=_.otb;_.mtb=function(a,b,c){return"over"==b&&_.Rl(a.get(_.Xb))?"widget_trial":$zb(a,b,c)};_.ntb=function(a,b,c){c=aAb(a,b,c);"over"===_.ctb(b)&&_.Rl(a.get(_.Xb))&&_.ij(c,"eft","1");return c};_.otb=function(a,b,c){b=bAb(a,b,c);a=_.Rl(a.get(_.Xb));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 Usb,Xsb;Usb=[4,5,6,7];_.YA=function(a){_.O(this,a,-1,null,null)};_.L(_.YA,_.K);_.YA.prototype.Ab=function(){return _.B(this,1)};_.YA.prototype.Dc=function(a){return _.A(this,1,a)};_.YA.prototype.x$=function(){return _.B(this,2)};_.YA.prototype.Xb="JmcaR";_.Vsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Vsb,_.K);_.Vsb.prototype.O=function(){return _.R(this,1)};_.Vsb.prototype.Xb="dvhrqe";_.Wsb=function(a){_.O(this,a,-1,null,null)};_.L(_.Wsb,_.K);_.Wsb.prototype.$t=function(){return _.B(this,2)};
_.Wsb.prototype.FWa=function(){return _.B(this,3)};Xsb=[5];_.Ysb=function(a){_.O(this,a,-1,null,null)};_.L(_.Ysb,_.K);_.Ysb.prototype.setActive=function(a){return _.A(this,4,a)};_.Zsb=function(a){_.O(this,a,-1,Xsb,null)};_.L(_.Zsb,_.K);_.g=_.Zsb.prototype;_.g.ZZ=function(){return _.B(this,1)};_.g.OT=function(){return _.B(this,3)};_.g.aR=function(){return _.Uj(this,_.Wsb,5)};_.g.rn=function(){return _.B(this,6)};_.g.av=function(){return _.B(this,7)};_.g.ey=function(){return _.B(this,10)};
_.g.wAb=function(){return _.P(this,16)};_.g.Xb="dzR11e";_.$sb=function(a){_.O(this,a,-1,Usb,null)};_.L(_.$sb,_.K);_.$sb.prototype.O=function(){return _.C(this,_.Zsb,1)};_.$sb.prototype.dN=function(){return _.C(this,_.YA,8)};_.$sb.prototype.V=function(){return _.C(this,_.Vsb,9)};_.t("sy11n");
_.ZA=function(a){_.O(this,a,-1,atb,null)};_.L(_.ZA,_.K);_.ZA.prototype.getUser=function(){return _.C(this,_.Fk,1)};_.ZA.prototype.getMetadata=function(){return _.C(this,_.$sb,3)};_.ZA.prototype.Ro=function(){return _.P(this,3)};var atb=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11o");
var Jlb;_.Zz=function(a){_.O(this,a,-1,Jlb,null)};_.L(_.Zz,_.K);_.Zz.prototype.O=function(){return _.Md(this,1)};_.$z=function(a,b){return _.Kj(a,1,b)};_.Zz.prototype.an=function(){return _.Md(this,2)};_.aA=function(a,b){return _.Kj(a,2,b)};_.Zz.prototype.we=function(){return _.C(this,_.lf,3)};_.bA=function(a,b){return _.J(a,3,b)};_.Klb=function(a,b){return _.A(a,5,b)};Jlb=[1,2,6,11];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.$A=function(a){return a instanceof _.lc?a:a instanceof _.kc?new _.lc(void 0,a):a instanceof Error?new _.lc(a.message,void 0,a):new _.lc("Not an Error",void 0,Error("pb`"+JSON.stringify(a)))};_.btb=function(a){return a instanceof Error?_.$A(a).Og:a instanceof _.lc?a.Og:a};_.t("sy11q");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy11s");
_.aB={xL:"eb",iha:"fb",pU:"gb",oU:"hb"};_.ptb=new Map([[_.aB.xL,1],[_.aB.iha,2],[_.aB.pU,2],[_.aB.oU,3]]);

_.w();

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

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
var cxb;_.bxb=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")};cxb=function(a){var b=_.paa(_.nEa,function(c){return a==c});if(void 0===b)throw Error("nb`"+a);return b};_.dxb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.nEa[a.name]):(this.code=a=a.code,this.name=cxb(a));_.ea.call(this,_.bxb("%s %s",this.name,b))};_.If(_.dxb,_.ea);var exb=function(a,b){_.gi.call(this,a.type,b)};
_.If(exb,_.gi);_.t("sy15g");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.fxb=function(){_.ri.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.v)(this.G0,this);this.H.onprogress=(0,_.v)(this.G0,this);this.H.onload=(0,_.v)(this.G0,this);this.H.onabort=(0,_.v)(this.G0,this);this.H.onerror=(0,_.v)(this.G0,this);this.H.onloadend=(0,_.v)(this.G0,this)};_.If(_.fxb,_.ri);_.g=_.fxb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.dxb(a,"aborting read");}};_.g.$j=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.dxb(this.H.error,"reading file")};_.g.G0=function(a){this.dispatchEvent(new exb(a,this))};_.g.Xa=function(){_.fxb.ub.Xa.call(this);delete this.H};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy168");
_.vC=function(a){_.O(this,a,-1,null,null)};_.L(_.vC,_.K);_.vC.prototype.ka=function(){return _.Hj(this,1)};_.vC.prototype.V=function(){return _.Hj(this,2)};_.vC.prototype.O=function(){return _.Hj(this,3)};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.Frb=function(a){_.O(this,a,-1,null,null)};_.L(_.Frb,_.K);_.Frb.prototype.O=function(){return _.B(this,1)};_.Frb.prototype.Ab=function(){return _.B(this,2)};_.Frb.prototype.Dc=function(a){return _.A(this,2,a)};_.Frb.prototype.V=function(){return _.B(this,3)};_.t("sy17s");
_.Hrb=function(a){_.O(this,a,-1,Grb,null)};_.L(_.Hrb,_.K);_.Hrb.prototype.O=function(){return _.Md(this,1)};var Grb=[1];
_.Jrb=function(a){_.O(this,a,-1,Irb,null)};_.L(_.Jrb,_.K);_.Jrb.prototype.O=function(){return _.Uj(this,_.Frb,1)};var Irb=[1];
_.Lrb=function(a){_.O(this,a,-1,Krb,null)};_.L(_.Lrb,_.K);_.Lrb.prototype.O=function(){return _.Uj(this,_.Jrb,1)};var Krb=[1];
_.Mrb=function(a){_.O(this,a,-1,null,null)};_.L(_.Mrb,_.K);_.Mrb.prototype.V=function(){return _.C(this,_.Lrb,1)};_.Mrb.prototype.O=function(){return _.C(this,_.Hrb,2)};
_.QA=function(a){_.O(this,a,-1,Nrb,null)};_.L(_.QA,_.K);_.g=_.QA.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Fd=function(){return _.Uj(this,_.Yk,2)};_.g.Ow=function(a){return _.Nj(this,2,a)};_.g.kh=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.g.Zj=function(){return _.B(this,3)};_.g.fl=function(){return _.S(this,5,!0)};_.g.j6=function(){return _.C(this,_.Mrb,7)};_.g.Asa=function(){return _.R(this,8)};_.g.Uf=function(){return _.B(this,17)};
_.g.AP=function(a){return _.A(this,17,a)};_.g.hf=function(){return _.B(this,12)};_.g.jj=function(a){return _.A(this,12,a)};_.g.Sn=function(){return _.B(this,15)};_.g.zka=function(){return _.Md(this,18)};var Nrb=[2,14,18];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy18z");
_.jD=function(a){_.O(this,a,-1,null,null)};_.L(_.jD,_.K);_.jD.prototype.getKey=function(){return _.C(this,_.Ob,1)};_.jD.prototype.us=function(){return _.P(this,1)};_.jD.prototype.we=function(){return _.C(this,_.lf,2)};
_.kD=function(a){_.O(this,a,-1,null,null)};_.L(_.kD,_.K);_.kD.prototype.we=function(){return _.C(this,_.lf,2)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy190");
_.iD=function(a){_.O(this,a,-1,wBb,null)};_.L(_.iD,_.K);_.iD.prototype.we=function(){return _.C(this,_.lf,1)};var wBb=[3];

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.AD=function(a,b,c){_.N.call(this);this.Fn=null!=c?(0,_.v)(a,c):a;this.ka=b;this.Hg=(0,_.v)(this.H$a,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.If(_.AD,_.N);_.g=_.AD.prototype;_.g.ue=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.Gf()+this.ka:this.H=_.ti(this.Hg,this.ka)};_.g.stop=function(){this.H&&(_.ui(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Fn.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.AD.ub.Xa.call(this)};_.g.H$a=function(){this.H&&(_.ui(this.H),this.H=null);this.W?(this.H=_.ti(this.Hg,this.W-_.Gf()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Fn.apply(null,this.ha))};

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bj");
_.HF=function(a){_.O(this,a,-1,null,null)};_.L(_.HF,_.K);_.g=_.HF.prototype;_.g.Li=function(){return _.B(this,1)};_.g.wi=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.C(this,_.lf,3)};_.g.Np=function(){return _.B(this,4)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1bl");
var KTb;_.JF=function(a){_.O(this,a,-1,KTb,null)};_.L(_.JF,_.K);_.JF.prototype.O=function(){return _.Md(this,1)};_.JF.prototype.an=function(){return _.Md(this,2)};_.LTb=function(a,b){return _.Kj(a,2,b)};_.JF.prototype.we=function(){return _.C(this,_.lf,3)};_.MTb=function(a,b){return _.J(a,3,b)};KTb=[1,2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.KF=function(a){_.O(this,a,-1,null,null)};_.L(_.KF,_.K);_.g=_.KF.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.B(this,5)};_.g.Md=function(a){return _.A(this,5,a)};_.g.lt=function(){return _.P(this,5)};_.t("sy1bm");
_.LF=function(a){_.O(this,a,-1,NTb,null)};_.L(_.LF,_.K);_.LF.prototype.an=function(){return _.Md(this,1)};_.OTb=function(a,b){return _.Kj(a,1,b)};_.LF.prototype.we=function(){return _.C(this,_.lf,2)};var NTb=[1,3];

_.w();

}catch(e){_._DumpException(e)}
try{
_.PF=function(a,b){return _.A(a,4,b)};_.PTb=function(a,b){_.A(a,11,b)};_.QTb=function(a,b){return _.A(a,25,b)};_.t("sy1bn");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.VF=function(a){return _.B(a,11)};_.t("sy1bq");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1br");
_.WF=function(a){_.O(this,a,-1,null,null)};_.L(_.WF,_.K);_.WF.prototype.Cc=function(){return _.B(this,1)};_.KUb=function(a){var b=new _.WF;return _.A(b,1,a)};_.WF.prototype.Li=function(){return _.B(this,2)};_.WF.prototype.wi=function(a){return _.A(this,2,a)};_.WF.prototype.we=function(){return _.C(this,_.lf,3)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.hUb=function(a){_.O(this,a,-1,null,null)};_.L(_.hUb,_.K);_.t("sy1bt");

_.w();

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

_.w();

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.qH=function(a,b,c,d){this.ha=a;this.W=b;this.H=this.V=a;this.ka=c||0;this.ma=d||2};_.qH.prototype.O=0;_.qH.prototype.reset=function(){this.H=this.V=this.ha;this.O=0};_.qH.prototype.Ya=function(){return this.V};_.rH=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{
_.jbc=function(a,b,c){_.Zi(a.url,function(d){d=d.target;d.mu()?b(d.Sk()):c(d.Ab())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.kbc=function(a,b,c,d){return _.E(a,1).split("/").pop()==d?(d=_.B(a,2),Array.isArray(d)?new b(d):c(_.ob(a.Ya()))):null};_.t("sy1f8");
_.mbc=function(a){_.O(this,a,-1,lbc,null)};_.L(_.mbc,_.K);var lbc=[2];
_.nbc=function(a){_.O(this,a,-1,null,null)};_.L(_.nbc,_.K);var obc=function(){var a=new _.nbc,b=document.documentElement.getAttribute("lang");return _.A(a,5,b)};_.nbc.prototype.Ji=function(){return _.B(this,7)};
_.pbc=function(a){_.O(this,a,-1,null,null)};_.L(_.pbc,_.K);
var qbc;_.sH=function(a){_.O(this,a,31,qbc,null)};_.L(_.sH,_.K);_.tH=function(a,b){return _.A(a,8,b)};qbc=[3,20,27];
var sbc=function(a){_.O(this,a,17,rbc,null)};_.L(sbc,_.K);var tbc=function(a){var b=Date.now().toString();return _.A(a,4,b)},ubc=function(a,b){return _.Nj(a,3,b)},vbc=function(a,b){return _.A(a,14,b)},rbc=[3,5];
var xbc=function(a){_.O(this,a,6,wbc,null)};_.L(xbc,_.K);var wbc=[5];
var ybc=function(a){_.O(this,a,-1,null,null)};_.L(ybc,_.K);
var zbc=new _.tk(175237375,ybc);
_.uH=function(a,b,c,d,e,f,h,k,l,p,q){_.ri.call(this);var r=this;this.Ja="";this.O=[];this.Lc="";this.Mb=this.Sb=this.ha=!1;this.Uc=this.kb=-1;this.uc=!1;this.Fa=this.V=null;this.va=0;this.se=1;this.nb=!1;_.ri.call(this);this.Xc=a;this.yb=b||_.Ef;this.ka=new sbc;this.Bd=d;this.Gb=q;this.ze=_.wb(_.Ria,0,1);this.Ba=e||null;this.Ha=c||null;this.Oa=h||!1;this.$a=l||null;this.Xd=!k;this.Ec=f||!1;this.le=!this.Ec&&(_.rj.nn&&_.yb(65)||_.rj.Nw&&_.yb(45)||_.rj.Rv&&_.yb(12)||_.Tg()&&0<=_.dg(_.oia(),12))&&!!_.jf()&&
!!_.jf().navigator&&!!_.jf().navigator.sendBeacon;a=_.A(new _.pbc,1,1);f||(f=obc(),_.J(a,11,f));_.J(this.ka,1,a);_.A(this.ka,2,this.Xc);this.ma=new _.qH(1E4,3E5,.1);this.H=new _.si(this.ma.Ya());this.Ma(this.H);_.ue(this.H,"tick",_.Wfa(Abc(this,p)),!1,this);this.Ta=new _.si(6E5);this.Ma(this.Ta);_.ue(this.Ta,"tick",_.Wfa(Abc(this,p)),!1,this);this.Oa||this.Ta.start();this.Ec||(_.ue(_.jf(),"beforeunload",this.oa,!1,this),_.ue(_.jf(),"unload",this.oa,!1,this),_.ue(document,"visibilitychange",function(){"hidden"===
document.visibilityState&&r.oa()}),_.ue(document,"pagehide",this.oa,!1,this))};_.L(_.uH,_.ri);var Abc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.uH.prototype.Xa=function(){this.oa();_.ri.prototype.Xa.call(this)};var Bbc=function(a){a.Ba||(a.Ba=.01>a.ze()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.Ba};_.uH.prototype.W=function(a){a instanceof _.sH?this.log(a):(a=_.tH(new _.sH,a.kc()),this.log(a))};
_.Cbc=function(a,b){b?(a.V||(a.V=new _.mbc),b=b.kc(),_.A(a.V,4,b)):a.V&&_.Lj(a.V,4)};_.Dbc=function(a){a.Sb=a.le};_.Ebc=function(a,b){a.ma=new _.qH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.uH.prototype.log=function(a){a=a.clone();var b=this.se++;_.A(a,21,b);this.Ja&&_.A(a,26,this.Ja);if(!_.B(a,1)){b=a;var c=Date.now().toString();_.A(b,1,c)}_.P(a,15)||_.A(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.J(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.va;this.O.push(a);this.dispatchEvent(new Fbc(a));this.Oa||this.H.enabled||this.H.start()};
_.uH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.nb)Gbc(this);else{var d=Date.now();if(this.Uc>d&&this.kb<d)b&&b("throttled");else{var e=vbc(ubc(tbc(this.ka.clone()),this.O),this.va);d={};var f=this.yb();f&&(d.Authorization=f);var h=Bbc(this);this.Ha&&(d["X-Goog-AuthUser"]=this.Ha,h=_.Ui(h,"authuser",this.Ha));this.$a&&(d["X-Goog-PageId"]=this.$a,h=_.Ui(h,"pageId",this.$a));if(f&&this.Lc===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.va=0,this.ha)a&&a();else{var k=e.kc(),l;this.Fa&&this.Fa.ou(k.length)&&(l=this.Fa.z8b(k));var p={url:h,body:k,H:1,requestHeaders:d,requestType:"POST",withCredentials:this.Xd,timeoutMillis:0},q=function(y){c.ma.reset();c.H.setInterval(c.ma.Ya());if(y){var z=null;try{var D=JSON.parse(y.replace(")]}'\n",""));z=new xbc(D)}catch(H){}z&&(y=Number(_.Tma(z,1,"-1")),0<y&&(c.kb=Date.now(),c.Uc=c.kb+y),z=_.lb(z,zbc))&&(z=_.bk(z,1,-1),-1!=z&&(c.uc||_.Ebc(c,z)))}a&&a()},r=function(y){var z=_.Uj(e,_.sH,3);
_.rH(c.ma);c.H.setInterval(c.ma.Ya());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.Gb?c.Gb.send(p,q,r):c.Bd(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()}}}};_.uH.prototype.oa=function(){this.ha||(this.Sb&&Gbc(this),this.Mb&&Hbc(this),this.flush())};
var Gbc=function(a){Ibc(a,32,10,function(b,c){b=_.Ui(b,"format","json");b=_.jf().navigator.sendBeacon(b,c.kc());a.nb&&!b&&(a.nb=!1);return b})},Hbc=function(a){Ibc(a,6,5,function(b,c){b=_.Si(b,"format","base64json","p",_.sj(c.kc(),3));_.wg(new Image,b);return!0})},Ibc=function(a,b,c,d){if(0!==a.O.length){var e=_.Lla(Bbc(a),"format");e=_.Si(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=ubc(tbc(a.ka.clone()),h);0===f&&vbc(k,a.va);if(!d(e,k))break;a.O=
a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.va=0}},Fbc=function(){_.gi.call(this,"event-logged",void 0)};_.L(Fbc,_.gi);

_.w();

}catch(e){_._DumpException(e)}
try{
var gcc=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],H=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var M=H^z&(D^H);var Q=1518500249}else M=z^D^H,Q=1859775393;else 60>y?(M=z&D|H&(z|D),Q=2400959708):(M=z^D^H,Q=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+I+Q+u[y]&4294967295;I=H;H=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]+H&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("sy1fa");
var hcc=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 jcc=function(a,b,c){var d=String(_.n.location.href);return d&&a&&b?[b,icc(hcc(d),a,c||null)].join(" "):null},icc=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)}),kcc(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=kcc(e.join(" "));a=[c,a];_.oa(h)||a.push(h.join(""));return a.join("_")},kcc=function(a){var b=
gcc();b.update(a);return b.digestString().toLowerCase()};
var lcc={};
var mcc,occ;mcc=function(a){return!!lcc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.ncc=function(a){a=void 0===a?!1:a;var b=_.n.__SAPISID||_.n.__APISID||_.n.__3PSAPISID||_.n.__OVERRIDE_SID;mcc(a)&&(b=b||_.n.__1PSAPISID);if(b)return!0;var c=new _.oPa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");mcc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};occ=function(a,b,c,d){(a=_.n[a])||(a=(new _.oPa(document)).get(b));return a?jcc(a,c,d):null};
_.pcc=function(a,b){b=void 0===b?!1:b;var c=hcc(String(_.n.location.href)),d=[];if(_.ncc(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 _.oPa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?jcc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&mcc(b)&&((b=occ("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=occ("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.w();

}catch(e){_._DumpException(e)}
try{
_.LH=function(a,b){a.H=b;a.ka=0};_.MH=function(a,b){return _.A(a,b,_.jb([]))};_.t("sy1fg");
_.NH=function(a,b,c,d,e,f,h){_.uH.call(this,a,_.pcc,b,_.jbc,c,d,e,void 0,f,h)};_.L(_.NH,_.uH);

_.w();

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

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ii");
_.nSc=function(a){_.O(this,a,-1,null,null)};_.L(_.nSc,_.K);_.g=_.nSc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.us=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Lj(this,2)};_.g.hh=function(){return _.P(this,2)};
_.kL=function(a){_.O(this,a,-1,oSc,null)};_.L(_.kL,_.K);_.kL.prototype.Iz=function(){return _.B(this,1)};_.kL.prototype.getUrl=function(){return _.B(this,3)};var oSc=[2,4,6];

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1k2");
var rSc=function(a,b){this.O=null;this.O=a;this.H=null;this.V=b};rSc.prototype.get=function(a){return sSc(this)[a]||null};rSc.prototype.set=function(a){sSc(this)[this.V(a)]=a;this.O=null};var sSc=function(a){a.H||(a.H=_.maa(a.O,a.V));return a.H};
_.lL=function(a,b){this.H=a;this.$A=b};
_.lL.prototype.Cz=function(a,b){a:{b:{var c=Math.min(a.length,b.length);for(var d=0;d<c;d++)if(!tSc(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.uM(a[e],d));break a}if(a.length<b.length){c=[];for(d=a.length;d<b.length;d++)c.push(this.H.vM(b[d],d));break a}}d=a.length-1;for(e=b.length-1;0<=d&&0<=e&&tSc(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++)tSc(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&&tSc(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.vM(e[h-1],f)),h--):0<f&&(0==h||k[f][h-1]<=k[f-1][h])&&(l.unshift(this.H.uM(d[f-1],f-1)),f--);d=l;e={};for(f=0;f<d.length;f++)if(h=
this.$A(this.H.YM(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.CE(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.ly()||0;l.setPosition((l.Mi()||0)+uSc(e,l.Mi()||0));d[f].setPosition((d[f].Mi()||0)+c);3==d[f].getType()&&(l.Ny((l.ly()||0)+uSc(e,l.ly()||0)),d[f].Ny((d[f].ly()||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 rSc(a,this.$A);for(e=0;e<b.length;e++)f=b[e],(h=a.get(this.$A(f)))&&!_.ak(h||void 0,f||void 0)&&d.push(this.H.pQ(f,e));return c.concat(d)};var uSc=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};
_.lL.prototype.CE=function(a,b){var c=b.Mi()||0;c>(a.Mi()||0)&&--c;return this.H.CE(this.H.YM(b),a.Mi()||0,c)};var tSc=function(a,b,c){return a.$A(b)==a.$A(c)};

_.w();

}catch(e){_._DumpException(e)}
try{
_.vSc=function(a){_.O(this,a,-1,null,null)};_.L(_.vSc,_.K);_.g=_.vSc.prototype;_.g.getType=function(){return _.B(this,1)};_.g.getItem=function(){return _.C(this,_.Yk,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.ly=function(){return _.B(this,3)};_.g.Ny=function(a){return _.A(this,3,a)};_.g.Mi=function(){return _.B(this,4)};_.g.setPosition=function(a){return _.A(this,4,a)};_.wSc=function(a){var b=new _.vSc;return _.A(b,1,a)};_.t("sy1k3");
var xSc=function(){};_.g=xSc.prototype;_.g.vM=function(a,b){return _.wSc(1).setItem(a).setPosition(b)};_.g.uM=function(a,b){return _.wSc(2).setPosition(b).setItem(a)};_.g.CE=function(a,b,c){return _.wSc(3).Ny(b).setPosition(c).setItem(a)};_.g.pQ=function(a,b){return _.wSc(4).setItem(a).setPosition(b)};_.g.YM=function(a){return a.getItem()};
var zSc;_.ySc=function(){_.lL.call(this,new xSc,function(a){return a.getId()})};_.L(_.ySc,_.lL);_.ASc=function(){zSc||(zSc=new _.ySc);return zSc};

_.w();

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

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mL=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.ela)(a)};_.nL=function(a,b){a.V.remove(b);return a};_.oL=function(){return"goog_"+_.hia++};_.DSc=function(a,b,c,d,e,f){var h=new _.bj(null,void 0);a&&_.cj(h,a);b&&_.bma(h,b);c&&_.dj(h,c);d&&_.ej(h,d);e&&h.xi(e);f&&_.fj(h,f);return h};
_.qL=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?{m9:!0,value:p}:{m9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.Ija(h,_.wb(e,f,!0),_.wb(e,f,!1));else b(d)})};_.rL=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 _.xq(c,e,d-c,a-e)}return null};
_.sL=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.sL.prototype.clone=function(){return new _.sL(this.start,this.end)};_.tL=function(a){return a.end-a.start};_.t("sy1kk");
/*

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

_.w();

}catch(e){_._DumpException(e)}
try{
var FSc,ISc;FSc=[3,42];_.GSc=function(a){_.O(this,a,-1,FSc,null)};_.L(_.GSc,_.K);_.GSc.prototype.getMimeType=function(){return _.B(this,27)};_.HSc=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};ISc=function(a,b){if(b&&a in b)return a;var c=_.iFa();return c?(c=c.toLowerCase(),a=c+_.kia(a),void 0===b||a in b?a:null):null};_.t("sy1kl");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var JSc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(JSc,_.gi);
_.KSc=function(a){_.ri.call(this);this.ld=a||_.kh();if(this.xz=this.Bsb())this.H=_.ue(this.ld.Vb(),this.xz,(0,_.v)(this.yab,this))};_.If(_.KSc,_.ri);_.g=_.KSc.prototype;_.g.Bsb=_.Lca(function(){var a=this.ou(),b="hidden"!=this.kAa();if(a){var c;b?c=((_.iFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.kAa=_.Lca(function(){return ISc("hidden",this.ld.Vb())});_.g.kub=_.Lca(function(){return ISc("visibilityState",this.ld.Vb())});_.g.ou=function(){return!!this.kAa()};
_.g.uB=function(){return!!this.ld.Vb()[this.kAa()]};_.g.yab=function(){var a=this.ou()?this.ld.Vb()[this.kub()]:null;a=new JSc(this.uB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.mi(this.H);_.KSc.ub.Xa.call(this)};

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vL=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.If(_.vL,_.CSc);_.vL.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 LSc=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};
_.vL.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;)LSc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){LSc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){LSc(this,d);e=0;break}}this.O=e;this.V+=b};
_.vL.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 MSc;MSc=[2];_.NSc=function(a){_.O(this,a,-1,MSc,null)};_.L(_.NSc,_.K);_.NSc.prototype.Ab=function(){return _.B(this,1)};_.NSc.prototype.Dc=function(a){return _.A(this,1,a)};_.NSc.prototype.Zj=function(){return _.B(this,3)};_.t("sy1le");
var OSc;_.wL=function(a){_.O(this,a,-1,OSc,null)};_.L(_.wL,_.K);_.wL.prototype.O=function(){return _.Md(this,1)};_.wL.prototype.we=function(){return _.C(this,_.lf,2)};_.PSc=function(a,b){return _.J(a,2,b)};_.wL.prototype.Li=function(){return _.bk(this,3,20)};_.wL.prototype.wi=function(a){return _.A(this,3,a)};_.wL.prototype.Bm=function(){return _.R(this,4)};_.QSc=function(a,b){return _.A(a,4,b)};OSc=[1];

_.w();

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

_.w();

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

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

_.w();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var VSc,zL,XSc,WSc;_.yL=function(a,b,c){if("number"===typeof a)var d={name:WSc(a)};else d=a,a=XSc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ea.call(this,b)};_.If(_.yL,_.ea);_.yL.prototype.getName=function(){return this.O.name||""};zL={Ujb:1,fjb:2,NOT_FOUND_ERR:3,B9a:4,G9a:5,hjb:6,Pjb:7,ABORT_ERR:8,ujb:9,H6b:10,TIMEOUT_ERR:11,rjb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.YSc=(_.n.rI||_.n.pL||zL).Ujb;_.ZSc=(_.n.rI||_.n.pL||zL).fjb;_.$Sc=(_.n.rI||_.n.pL||zL).NOT_FOUND_ERR;
_.aTc=(_.n.rI||_.n.pL||zL).B9a;_.bTc=(_.n.rI||_.n.pL||zL).G9a;_.cTc=(_.n.rI||_.n.pL||zL).hjb;_.dTc=(_.n.rI||_.n.pL||zL).Pjb;_.eTc=(_.n.rI||_.n.pL||zL).ABORT_ERR;_.fTc=(_.n.rI||_.n.pL||zL).ujb;_.gTc=(_.n.rI||_.n.pL||zL).TIMEOUT_ERR;_.hTc=(_.n.rI||_.n.pL||zL).rjb;_.iTc=(_.n.DOMException||zL).INVALID_ACCESS_ERR;_.jTc=(_.n.DOMException||zL).INVALID_STATE_ERR;
XSc=function(a){switch(a){case "UnknownError":return _.YSc;case "NotFoundError":return _.$Sc;case "ConstraintError":return _.aTc;case "DataError":return _.bTc;case "TransactionInactiveError":return _.dTc;case "AbortError":return _.eTc;case "ReadOnlyError":return _.fTc;case "TimeoutError":return _.gTc;case "QuotaExceededError":return _.hTc;case "InvalidAccessError":return _.iTc;case "InvalidStateError":return _.jTc;default:return _.YSc}};
WSc=function(a){switch(a){case _.YSc:return"UnknownError";case _.$Sc:return"NotFoundError";case _.aTc:return"ConstraintError";case _.bTc:return"DataError";case _.dTc:return"TransactionInactiveError";case _.eTc:return"AbortError";case _.fTc:return"ReadOnlyError";case _.gTc:return"TimeoutError";case _.hTc:return"QuotaExceededError";case _.iTc:return"InvalidAccessError";case _.jTc:return"InvalidStateError";default:return"UnknownError"}};
_.AL=function(a,b){return"error"in a?new _.yL(a.error,b):new _.yL({name:"UnknownError"},b)};_.BL=function(a,b){if("name"in a)return b=b+": "+a.message,new _.yL(a,b);if("code"in a){var c=WSc(a.code);b=b+": "+a.message;return new _.yL({name:c},b)}return new _.yL({name:"UnknownError"},b)};
_.kTc=function(a){this.H=a};_.lTc=_.n.IDBKeyRange||_.n.webkitIDBKeyRange;_.kTc.prototype.range=function(){return this.H};
var mTc=function(a){this.H=a};mTc.prototype.getName=function(){return this.H.name};var nTc=function(a,b,c,d){var e=new _.Vh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+xL(d),e.Od(_.BL(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+xL(d);e.Od(_.AL(h.target,c))};return e};mTc.prototype.get=function(a){return nTc(this,"get","getting from index "+this.getName(),a)};
mTc.prototype.getKey=function(a){return nTc(this,"getKey","getting key from index "+this.getName(),a)};mTc.prototype.getAll=function(a,b){return _.oTc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.oTc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.kTc?d.range():(new _.kTc(_.lTc.only(d))).range();var h=new _.Vh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?xL(f):"<all>"),h.Od(_.BL(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?xL(f):"<all>");h.Od(_.AL(l.target,c))};return h};
var pTc=function(a){this.H=a};pTc.prototype.getName=function(){return this.H.name};var qTc=function(a,b,c,d,e){var f=new _.Vh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=xL(d),e&&(c+=", with key "+xL(e)),f.Od(_.BL(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=xL(d);e&&(c+=", with key "+xL(e));f.Od(_.AL(k.target,c))};return f};_.g=pTc.prototype;_.g.put=function(a,b){return qTc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return qTc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.Vh;try{var c=this.H["delete"](a instanceof _.kTc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+xL(a),b.Od(_.BL(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+xL(a);b.Od(_.AL(e.target,f))};return b};
_.g.get=function(a){var b=new _.Vh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+xL(a),b.Od(_.BL(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 "+xL(a);b.Od(_.AL(e.target,f))};return b};_.g.getAll=function(a,b){return rTc(this,"getting all from index "+this.getName(),a,b)};
var rTc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.kTc?c.range():(new _.kTc(_.lTc.only(c))).range();var f=new _.Vh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?xL(e):"<all>"),f.Od(_.BL(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?xL(e):"<all>");f.Od(_.AL(k.target,b))};return f};
pTc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Vh;try{var c=this.H.clear()}catch(d){return b.Od(_.BL(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Od(_.AL(d.target,a))};return b};pTc.prototype.getIndex=function(a){try{return new mTc(this.H.index(a))}catch(b){throw _.BL(b,"getting index "+a);}};
pTc.prototype.count=function(a){var b=new _.Vh;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Od(_.AL(e.target,d.getName()))}}catch(e){b.Od(_.BL(e,this.getName()))}return b};
var sTc=function(a,b){_.ri.call(this);this.H=a;this.O=b;this.Bb=new _.Ee(this);this.Bb.listen(this.H,"complete",(0,_.v)(this.dispatchEvent,this,"complete"));this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.zab)};_.If(sTc,_.ri);_.g=sTc.prototype;_.g.zab=function(a){a.target instanceof _.yL?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.AL(a.target,"in transaction")})};_.g.Gh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new pTc(this.H.objectStore(a))}catch(b){throw _.BL(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.BL(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Vh;_.Ke(this,"complete",(0,_.v)(a.callback,a));var b=_.Ke(this,"abort",function(){_.mi(c);a.Od(new _.yL(_.eTc,"waiting for transaction to complete"))});var c=_.Ke(this,"error",function(e){_.mi(b);a.Od(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Xa=function(){sTc.ub.Xa.call(this);this.Bb.dispose()};
var tTc=function(a){_.ri.call(this);this.H=a;this.Bb=new _.Ee(this);this.Bb.listen(this.H,"abort",(0,_.v)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.Aab);this.Bb.listen(this.H,"versionchange",this.Opb);this.Bb.listen(this.H,"close",(0,_.v)(this.dispatchEvent,this,"close"))};_.If(tTc,_.ri);_.g=tTc.prototype;_.g.Nsa=!0;_.g.Aab=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Opb=function(a){this.dispatchEvent(new uTc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Nsa&&(this.H.close(),this.Nsa=!1)};_.g.Eg=function(){return this.Nsa};_.g.getName=function(){return this.H.name};_.g.Ci=function(){return Number(this.H.version)};_.vTc=function(a,b,c){try{return new pTc(a.H.createObjectStore(b,c))}catch(d){throw _.BL(d,"creating object store "+b);}};
_.wTc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new sTc(d,a)}catch(e){throw _.BL(e,"creating transaction");}};tTc.prototype.Xa=function(){tTc.ub.Xa.call(this);this.Bb.dispose()};var uTc=function(a,b){_.gi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.If(uTc,_.gi);
_.xTc=function(){void 0==VSc&&(VSc=_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB);return VSc};
_.yTc=function(a,b,c,d){var e=new _.Vh;b=b?_.xTc().open(a,b):_.xTc().open(a);b.onsuccess=function(f){f=new tTc(f.target.result);e.callback(f)};b.onerror=function(f){e.Od(_.AL(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new tTc(f.target.result);c(new uTc(f.oldVersion,f.newVersion),h,new sTc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new uTc(f.oldVersion,f.newVersion))};return e};

_.w();

}catch(e){_._DumpException(e)}
try{
_.zTc=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=_.jbc;this.H=""};_.t("sy1lv");
_.zTc.prototype.build=function(){var a=new _.uH(this.ma,this.ha?this.ha:_.pcc,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;_.B(b,1)||_.A(b,1,1);_.J(a.ka,1,b)}if(this.O){b=this.O;var c=_.C(a.ka,_.pbc,1),d=_.C(c,_.nbc,11);d||(d=new _.nbc);_.A(d,7,b);_.J(c,11,d);_.B(c,1)||_.A(c,1,1);_.J(a.ka,1,c)}this.ka&&(a.Fa=this.ka);this.H&&(a.Ja=this.H);this.Fa&&_.Cbc(a,this.Fa);this.Oa&&(b=this.Oa,a.V||(a.V=new _.mbc),_.Kj(a.V,2,b));this.Ja&&(b=this.Ja,
a.uc=!0,_.Ebc(a,b));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.ATc=function(a,b){var c=_.C(a.H,_.gya,9);null==c&&(c=new _.gya);var d=_.B(b.H,10);d=_.A(c,5,d);b=_.B(b.H,12);_.A(d,2,b);_.J(a.H,9,c)};_.BTc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.t("sy1lw");
_.CTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.CTc.prototype.pA=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=_.tH(new _.sH,a.kc());b(a);return new _.Oh(function(d){c(d,function(){d()})}.bind(this))};
_.DTc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Dbc(this.O)};_.DTc.prototype.pA=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=_.tH(new _.sH,a.kc());b(a);c()};

_.w();

}catch(e){_._DumpException(e)}
try{
var ETc=function(a){_.O(this,a,-1,null,null)};_.L(ETc,_.K);ETc.prototype.getEmail=function(){return _.E(this,3,"")};ETc.prototype.vp=function(){return _.P(this,3)};_.CL=function(a){return _.S(a,5,!1)};_.DL=function(a){return _.C(a,ETc,36,1)};_.FTc=function(a){var b=_.mla(a);if("undefined"==typeof b)throw Error("X");var c=new _.hj(null,void 0);a=_.lla(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.kma(c,e,f):c.add(e,f)}return c};_.t("sy1lg");

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lf");
_.EL=function(a){_.O(this,a,-1,null,null)};_.L(_.EL,_.K);_.EL.prototype.we=function(){return _.C(this,_.lf,1)};_.FL=function(a,b){return _.J(a,1,b)};_.EL.prototype.Kg=function(){return _.B(this,4)};_.EL.prototype.apa=function(a){return _.A(this,4,a)};

_.w();

}catch(e){_._DumpException(e)}
try{
var GTc=function(a){_.O(this,a,-1,null,null)},LTc;_.L(GTc,_.K);var HTc=function(a){_.O(this,a,-1,null,null)};_.L(HTc,_.K);_.GL=function(a){_.O(this,a,-1,null,null)};_.L(_.GL,_.K);_.GL.prototype.O4=function(a){_.A(this,3,a)};_.GL.prototype.Il=function(a){return _.J(this,5,a)};_.GL.prototype.getMimeType=function(){return _.B(this,7)};var ITc=[2],JTc=function(a){_.O(this,a,-1,ITc,null)};_.L(JTc,_.K);var KTc=function(a){_.O(this,a,-1,null,null)};_.L(KTc,_.K);LTc=function(a){this.H=a};
_.MTc=function(a){this.ud=a};_.MTc.prototype.getId=function(){return this.ud};var NTc=function(a){_.O(this,a,-1,null,null)};_.L(NTc,_.K);NTc.prototype.Ci=function(){return _.B(this,1)};var OTc=function(a){_.O(this,a,-1,null,null)};_.L(OTc,_.K);
var QTc=function(){this.O=this.ha=!1;this.H=null;for(var a=this.W=this.V=0;a<_.BAa.length;a++){var b=_.BAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ha=!0;PTc(this,b);break}}},PTc=function(a,b){a.H=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.O=!0;a.H.onDisconnect.addListener(function(){a.O=!1});document.addEventListener("mousemove",function(c){a.V=c.clientX;a.W=c.clientY})};
QTc.prototype.pA=function(a){if(this.ha&&this.O){var b=_.C(a,_.Kb,2)||new _.Kb,c=_.C(a,_.Uo,5)||new _.Uo,d=_.C(a,_.GL,3)||new _.GL;a=_.Uj(a,_.Dya,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.H.postMessage({detail:{impression:e.value.kc(),session_info:b.kc(),session_invariants:c.kc(),client_info:d.kc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.V,clientY:this.W}}))}};_.t("sy1lj");
var RTc=function(){_.Mo.call(this)};_.L(RTc,_.Mo);RTc.prototype.qv=function(){return 1==_.B(_.C(this.H,GTc,7),1)};var STc=new _.Io("high_frequency_builder");
var TTc=function(a,b,c){a=new _.si(a);c.Ma(a);var d=new _.Ee(c);c.Ma(d);d.listen(a,"tick",b);a.start()};
var UTc=function(){_.Mo.call(this)};_.L(UTc,_.Mo);var VTc=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.zo;var e=new _.eya;e=_.A(e,1,d);_.J(b,1,e);_.A(b,3,1);_.J(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 _.zo,e=new _.fya,d=_.A(e,1,d),_.J(b,2,d),_.A(b,3,2),_.J(a.H,8,b),_.A(a.H,12,c),_.A(a.H,3,c));return a},WTc=new _.Io("system_builder");
var XTc=function(a,b){_.N.call(this);this.O=a;this.H=new _.KSc(b);this.Ma(this.H);this.Bb=new _.Ee(this);this.Ma(this.Bb);this.H.ou()&&this.Bb.listen(this.H,"visibilitychange",this.V)};_.L(XTc,_.N);XTc.prototype.V=function(){if(this.O.zP()){var a=this.H.uB()?102001:102E3;a=this.O.MF(a,0);this.O.oq(a)}};
var YTc=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(YTc,_.N);_.g=YTc.prototype;_.g.oq=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.$b()&&b.O.ue();return new LTc(a)};_.g.MF=function(a,b){a=VTc(ZTc(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.CL=function(){return this.H.O};
_.g.HM=function(a){var b=this.H,c=_.No(a,WTc),d=b.ha++,e=_.C(_.C(c.H,_.zo,8),_.fya,2),f=1E3*Date.now();_.A(e,2,f);_.A(c.H,13,d);b.ka.remove(_.B(a.H,12))};_.g.$Z=function(){var a=this.O;if(!a.ha||a.H.V){var b=$Tc(a.H,691).build();b=aUc(a.H,[b]);a.ka.pA(b)}a.W();this.H.ma=!1;this.V&&(_.aa(this.V),this.V=null)};_.g.a_=function(){var a=this.H,b=$Tc(a,716);bUc(a,b);b=b.build();a.H.add(b);a.va=!0;a.ma=!0;this.O.initialize();this.O.O.ue();this.W&&(this.V=new XTc(this))};_.g.zja=function(){this.O.W();return _.qL(Array.from(this.O.V)).then()};
_.g.zP=function(){var a=this.H;return a.va&&a.ma&&!0};
var cUc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.oa=b;this.ka=c;this.O=new _.uL(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.L(cUc,_.N);cUc.prototype.initialize=function(){TTc(this.ma,this.O.ue,this.O);TTc(36E5,this.va,this)};cUc.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=dUc(this.H),c=this.oa.pA(b);c&&(_.Uh(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
cUc.prototype.va=function(){var a=this.H,b=$Tc(a,1153).build();a.H.add(b);this.O.ue()};
var eUc=function(a){_.N.call(this);this.H=a;this.Ma(this.H)};_.L(eUc,_.N);_.g=eUc.prototype;_.g.oq=function(a){a=this.H.oq(a);this.zja();return a};_.g.MF=function(a,b){return this.H.MF(a,b)};_.g.CL=function(){return this.H.CL()};_.g.HM=function(a){return this.H.HM(a)};_.g.$Z=function(){return this.H.$Z()};_.g.a_=function(){return this.H.a_()};_.g.zja=function(){return this.H.zja()};_.g.zP=function(){return this.H.zP()};
var fUc=function(){};fUc.prototype.IQ=function(){return new RTc};
var gUc=function(){this.H=[]};gUc.prototype.add=function(a){this.H.push(a)};gUc.prototype.$b=function(){return this.H.length};
var hUc=function(){this.H={}};hUc.prototype.add=function(a){var b=_.B(a.H,12);this.H[b]=a};hUc.prototype.remove=function(a){delete this.H[a]};
var iUc=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.oa=this.W=null;this.ka=new hUc;this.H=new gUc;this.ma=this.va=this.V=!1},ZTc=function(a,b){a=_.No((new _.Mo).initialize(new _.Dya,a.Ba),WTc);_.A(a.H,10,b);return a},dUc=function(a){var b=a.H,c=b.H;b.H=[];return aUc(a,c)},aUc=function(a,b){var c=new _.Mza;var d=a.O.W.clone();c=_.J(c,2,d);d=a.O;(d=d.O?d.O.clone():null)&&_.J(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.C(b[h],_.Go,5);if(k&&_.C(k,_.GSc,1)){k=_.C(k,_.GSc,1);_.P(k,12)&&
void 0===e&&(e=_.R(k,12));k=_.C(k,HTc,20);if(void 0!==k&&void 0===f){f=new OTc;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 _.GL),void 0!==e&&_.A(d,6,e),void 0!==f&&_.J(d,13,f);(e=d)&&_.J(c,3,e);a=a.O.ha.clone();_.J(c,4,a);_.Nj(c,1,b);return c},$Tc=function(a,b){var c=VTc(ZTc(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 KTc;k=_.A(p,1,k);l=_.B(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 JTc,b=_.A(e,1,b),d&&_.Nj(b,2,d),d=_.Oo(c),_.J(d,3,b));bUc(a,c);return c},bUc=function(a,b){a.W=_.B(b.H,12);a.oa=_.B(_.C(_.C(b.H,_.zo,8),_.eya,1),1)};
var jUc=function(){};jUc.prototype.IQ=function(){return new UTc};
var kUc=function(){this.H=this.O=null};kUc.prototype.build=function(){null==this.H&&(this.H=new _.fza);_.Qo(this.H,WTc,new jUc);_.Qo(this.H,STc,new fUc);var a=this.H;var b=this.O;if(!_.P(_.lUc(b),1)){var c=_.lUc(b),d=new _.xza;_.J(c,1,d)}b=_.C(_.lUc(b),_.xza,1);a.H=b;b=_.Sa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new iUc(this.O,this.H)};
var mUc=function(){this.W=new _.Kb;this.O=null;this.ha=new NTc;_.A(this.ha,1,6);this.H=this.V=null};mUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.nUc=function(a,b){_.A(a.W,2,b);return a};_.oUc=function(a,b){if(null==a.V){a.V=new _.Kza;var c=_.lUc(a);_.J(c,2,a.V)}_.A(a.V,1,b)};_.lUc=function(a){null==a.O&&(a.O=new _.Uo);return a.O};_.pUc=function(a){null==a.H&&(a.H=new _.GL);return a.H};
_.qUc=function(){this.H=this.ha=null;this.W=new mUc;this.V=null;this.ka=this.ma=!1;this.O=null};_.rUc=function(a,b){a.ha=b;return a};_.sUc=function(a,b){a.H=b;return a};_.tUc=function(a,b){a.V=b;return a};_.qUc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.uUc=function(a,b){_.A(a.W.W,6,b);return a};
_.qUc.prototype.build=function(){var a=new kUc;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new QTc;this.H=this.ha=b}b=new cUc(a,this.ha,this.H,this.ma,this.O);a=new YTc(a,b,!1);this.ka&&(a=new eUc(a));return a};

_.w();

}catch(e){_._DumpException(e)}
try{
_.HL=function(a){return a instanceof Error};_.IL=function(a){return _.S(a,84,!1)};_.t("sy1l8");
_.vUc=function(a){_.O(this,a,-1,null,null)};_.L(_.vUc,_.K);
_.JL=function(a){_.O(this,a,-1,null,null)};_.L(_.JL,_.K);_.JL.prototype.getOptions=function(){return _.C(this,_.vUc,1)};_.JL.prototype.Sn=function(){return _.B(this,2)};_.JL.prototype.wd=function(){return _.C(this,_.Ye,3)};
_.wUc=function(a){_.O(this,a,-1,null,_.KL)};_.L(_.wUc,_.K);_.KL=[[3,4,5,6,7,8,9,10]];
var LL,yUc;LL={};_.xUc=(LL[1]="modifiedDate",LL[2]="modifiedByMeDate",LL[3]="quotaBytesUsed",LL[4]="title",LL[6]="lastViewedByMeDate",LL[10]="createdDate",LL[7]="sharedWithMeDate",LL[9]="starred",LL[11]="recency",LL[5]="relevance",LL[12]="trashedDate",LL[13]="lastViewedByMeDate",LL);yUc={};_.zUc=(yUc[1]="asc",yUc[2]="desc",yUc);
_.AUc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.BUc=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():_.Gf();this.date=new Date(a)};_.If(_.BUc,_.Ft);_.g=_.BUc.prototype;_.g.clone=function(){var a=new _.BUc(this.date);a.BG=this.BG;a.pV=this.pV;return a};_.g.add=function(a){(a.W||a.V)&&_.Et.prototype.add.call(this,new _.Dt(a.W,a.V));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.O+60*(a.H+24*a.Zv))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Ft.prototype.getUTCFullYear;
_.g.getMonth=_.Ft.prototype.getUTCMonth;_.g.getDate=_.Ft.prototype.getUTCDate;_.g.getHours=_.Ft.prototype.getUTCHours;_.g.getMinutes=_.Ft.prototype.getUTCMinutes;_.g.getSeconds=_.Ft.prototype.o$a;_.g.getMilliseconds=_.Ft.prototype.n$a;_.g.getDay=_.Ft.prototype.getUTCDay;_.g.setFullYear=_.Ft.prototype.setUTCFullYear;_.g.setMonth=_.Ft.prototype.setUTCMonth;_.g.setDate=_.Ft.prototype.setUTCDate;_.g.setHours=_.Ft.prototype.gMa;_.g.setMinutes=_.Ft.prototype.hMa;_.g.setSeconds=_.Ft.prototype.iMa;
_.g.setMilliseconds=_.Ft.prototype.p$a;
var CUc,EUc;CUc={};_.DUc=(CUc[1]="0",CUc[2]="1",CUc[3]="2",CUc);EUc={};_.FUc=(EUc[1]="asc",EUc[2]="desc",EUc);
_.GUc=new _.Io("drive_dataservice_builder");
_.HUc=_.Yg&&0>_.dg(_.ah,"533");
_.IUc=new _.MTc("drive_dataservice_invariants");
_.JUc=new Map([[[1],1],[[6],7],[[2],2]]);_.KUc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.LUc=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 _.IL(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}]]);
_.MUc=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)}],[42,function(a){return _.S(a,17,!1)}],[30,function(a){return _.S(a,5,!1)}],[31,function(a){return _.S(a,6,!1)}],[35,function(a){return _.S(a,10,!1)}],[38,
function(a){return _.S(a,13,!1)}],[39,function(a){return _.S(a,14,!1)}],[41,function(a){return _.S(a,16,!1)}]]);_.NUc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.OUc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252]]);_.PUc=new Map([[[2],3],[[1],2],[[0],1]]);_.QUc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.RUc=new Map([[[_.ZSc],1],[[_.$Sc],2],[[_.aTc],3],[[_.bTc],4],[[_.cTc],5],[[_.dTc],6],[[_.eTc],7],[[_.fTc],8],[[_.gTc],10],[[_.hTc],11],[[_.iTc],12],[[_.jTc],13]]);_.SUc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1ld");
_.ML=function(a){_.O(this,a,-1,TUc,null)};_.L(_.ML,_.K);_.ML.prototype.Cc=function(){return _.B(this,2)};_.NL=function(a,b){return _.A(a,2,b)};_.g=_.ML.prototype;_.g.rk=function(){return _.S(this,3,!1)};_.g.getItem=function(){return _.C(this,_.Yk,4)};_.g.setItem=function(a){return _.J(this,4,a)};_.g.Bc=function(){return _.B(this,7)};_.g.c$=function(){return _.B(this,13)};_.g.aIa=function(a){_.A(this,13,a)};var TUc=[8,17];

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1lb");
_.EF=function(a){_.O(this,a,-1,xTb,null)};_.L(_.EF,_.K);_.EF.prototype.getId=function(){return _.B(this,1)};_.EF.prototype.Pb=function(a){return _.A(this,1,a)};_.EF.prototype.Oz=function(){return _.B(this,2)};var xTb=[5,6,9,10,12,13,15,16];
var yTb;_.FF=function(a){_.O(this,a,-1,yTb,null)};_.L(_.FF,_.K);_.FF.prototype.Zm=function(){return _.B(this,1)};_.zTb=function(a,b){return _.A(a,1,b)};yTb=[2,4];

_.w();

}catch(e){_._DumpException(e)}
try{
var XUc;_.QL=function(a){if(a instanceof _.kc)return a;if(_.HL(a)){if(a=_.btb(a))return a}else a="string"===typeof a?_.dEa(a):_.dEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.OL(a,2);_.PL(a,6);return a};_.UUc=function(a){var b=a.mk();a=a.YF();return 15===b||32===b||33===b||401===a};_.VUc=function(){return _.n.WorkerGlobalScope&&self instanceof _.n.WorkerGlobalScope};_.WUc=function(a){_.O(this,a,-1,null,null)};_.L(_.WUc,_.K);
_.RL=function(a){return _.bk(a,1,0)};_.SL=function(a){return _.C(a,_.WUc,4)};_.OL=function(a,b){return _.A(a,1,b)};_.PL=function(a,b){return _.A(a,2,b)};XUc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.TL=function(a){_.O(this,a,-1,XUc,null)};_.L(_.TL,_.K);_.g=_.TL.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Pe=function(){return _.B(this,3)};
_.g.lm=function(a){return _.A(this,3,a)};_.g.zv=function(a){return _.A(this,4,a)};_.g.Rh=function(){return _.R(this,5)};_.g.Jn=function(a){return _.A(this,5,a)};_.g.getMimeType=function(){return _.B(this,6)};_.g.qE=function(a,b){_.Sj(this,8,a,b)};_.g.Si=function(){return _.B(this,12)};_.g.we=function(){return _.C(this,_.lf,17)};_.g.Ci=function(){return _.B(this,20)};_.g.Bc=function(){return _.B(this,21)};_.UL=function(a,b){return _.A(a,16,b)};_.t("sy1lc");
_.VL=function(a){_.O(this,a,-1,YUc,null)};_.L(_.VL,_.K);_.VL.prototype.PQ=function(){return _.bk(this,2,100)};_.VL.prototype.GS=function(a){return _.A(this,2,a)};_.VL.prototype.we=function(){return _.C(this,_.lf,6)};_.VL.prototype.Bc=function(){return _.B(this,8)};var YUc=[5];
var ZUc;ZUc={};_.$Uc=(ZUc[0]="/drive/v2internal",ZUc[1]="/drive/v2internal.corp",ZUc[2]="/drive/v2internal.scary",ZUc[4]="/drive/v2internal.scary",ZUc[5]="/drive/v2beta",ZUc[6]="/drive/v2.1beta",ZUc);
_.aVc=new Set([0,1,2,3]);
_.bVc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
_.cVc=_.A(new _.TL,15,!0);_.dVc=_.UL(new _.TL,!0);_.eVc=_.UL(new _.TL,!1);
_.fVc=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("sy1ls");

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.hVc=function(a){for(var b in a)delete a[b]};_.iVc=function(a){a=_.Pf(a);return 0===a.length?_.tha:new _.jg(a,_.rha)};_.jVc=function(a,b){a=_.Hi(a);b=_.Hi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.t("sy1ly");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.kVc=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)};_.If(_.kVc,_.CSc);_.kVc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};_.kVc.prototype.update=function(a,b){this.H.update(a,b)};
_.kVc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.lVc=function(a,b){a.reset();a.update(b);return a.digest()};
_.mVc=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()};_.If(_.mVc,_.CSc);_.mVc.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 nVc=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};
_.mVc.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;)nVc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){nVc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){nVc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.mVc.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;nVc(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{
_.WL=function(a,b){return _.A(a,82,b)};_.XL=function(a){return _.A(a,3,!0)};_.oVc=function(a,b){return _.A(a,7,b)};_.t("sy1l9");
_.pVc=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
*/
_.YL={I_:"Versions",h7:"Metadata",X5:"Data",oU:"Offline"};_.qVc=new Map([[_.YL.I_,"versionKey"],[_.YL.h7,"k"]]);_.rVc=new Set([1004]);

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.zVc=function(a,b){return _.A(a,1,b)};_.AVc=function(a,b){return _.J(a,1,b)};_.BVc=function(a,b){return _.A(a,2,b)};_.CVc=function(a,b){return _.J(a,3,b)};_.t("sy1m1");

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.DVc=function(a,b,c){c&&(a=_.Eg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Dg(a));return a};_.EVc=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("sy1mc");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.FVc=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 GVc,HVc,LVc,PVc,QVc,RVc,iWc,TM,jWc,kWc,rWc,NVc,ZWc,MVc,oXc,pXc,wXc,yXc,AXc,CXc,DXc,EXc,GXc,XXc,YXc,aYc,bYc,cYc,eYc,fYc,hYc,kYc,bWc,oYc,cWc,pYc,qYc,rYc,pN,rN,tYc,vYc,yYc,zYc,AYc,BYc,CYc,DYc,GYc,IYc,JYc,LYc,MYc,aZc,$Yc,dZc,fZc,gZc,hZc,mZc,pZc,rZc,sZc,yZc,xZc,wZc,uZc,vZc,sWc,GZc,HZc,CZc,IZc,DZc,lWc,JZc,mWc,nWc,oWc,pWc,qWc,KZc,MZc;_.aM=function(a,b,c){var d=new _.kc,e=_.kka(_.aM);_.A(d,20,e);_.PL(d,a);_.OL(d,b?b:2);c&&_.$L(d,c);return d};
_.bM=function(a){var b;a instanceof _.kc?b=new _.lc(null,a):_.HL(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=_.kka(_.bM));return b};_.cM=function(a){throw _.$A(a);};GVc=function(a){return 7===a.mk()||24===a.Ip()&&(a=a.YF(),503===a||429===a)?!0:!1};HVc=function(a,b){return b?b+"("+a+")":a};
_.dM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.oBb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.IVc.includes(p)){var q=_.xbb.get(p);if(q){var r=_.Abb[p];a.zG&&r&&(q=r);a.jr&&(a.zG?(p=_.zbb[p])&&(q=p):(p=_.ybb[p])&&(q=p));q.split(",").forEach(function(u){var y=_.lia(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={Q5:f.Q5},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.Q5=[];l.forEach(function(p){return function(q){p.Q5.push(q)}}(f));"owners"==k&&b&&f.Q5.push("kind");e.push(HVc(f.Q5.join(","),k))}return HVc(e.join(","),c)};_.JVc=function(a){var b=new _.Po;b.append(_.dM(a,!0));return b.toString()};_.KVc=function(a,b){return a.filter(function(c){return b.includes(c)})};LVc=function(a){a=a.filter(function(b){return!_.xbb.has(b)});if(a.length)throw Error("Oc`"+a.join(", "));};
_.OVc=function(a){if(a){var b=a.getMimeType();b&&_.PF(a,b.toLowerCase());MVc(a,_.Uj(a,NVc,58).map(function(c){var d=c.getMimeType();d&&_.A(c,1,d.toLowerCase());return c}))}};PVc=function(a){if(_.Va(a))return"\r\n";var b="";_.Ma(a,function(c,d){b+=d+": "+c+"\r\n"});return b};QVc=function(a,b){b&&(_.ij(a,"openDrive",!!_.S(b,2,!1)),_.ij(a,"reason",_.B(b,1)||0),_.ij(a,"syncType",_.B(b,3)||0),_.ij(a,"errorRecovery",!!_.S(b,4,!1)))};
RVc=function(a){a=_.$p(_.$L(_.OL(new _.kc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.$A(a);};
iWc=function(a){if(a instanceof _.eM)return"request access";if(a instanceof _.fM)return"admin migrate to TD";if(a instanceof _.gM)return"authorize app";if(a instanceof _.hM)return"copy item";if(a instanceof _.iM)return"change category links";if(a instanceof _.jM)return"create item";if(a instanceof _.kM)return"create ws";if("undefined"!=typeof _.lM&&a instanceof _.lM)return"delete app";if("undefined"!=typeof _.mM&&a instanceof _.mM)return"delete backup";if(a instanceof _.nM)return"delete item";if("undefined"!=
typeof _.oM&&a instanceof _.oM)return"delete permission";if(a instanceof _.pM)return"delete revision";if(a instanceof _.qM)return"delete TD";if(a instanceof _.jD)return"delete pref";if(a instanceof _.rM)return"delete ws";if(a instanceof _.sM)return"download item";if(a instanceof _.tM||a instanceof _.uM)return"empty trash";if(a instanceof _.vM)return"find by ID";if(a instanceof _.Zz)return"find by IDs";if(a instanceof _.SVc)return"item export start";if("undefined"!=typeof _.wM&&a instanceof _.wM)return"get app";
if("undefined"!=typeof _.xM&&a instanceof _.xM)return"insert app";if("undefined"!=typeof _.yM&&a instanceof _.yM)return"insert permission";if(a instanceof _.JL)return a=a.wd(),_.zM(a)?"quick access item query":_.AM(a)?"people predict item query":_.BM(a)?"drive priority query":"item query";if("undefined"!=typeof _.CM&&a instanceof _.CM)return"list android backup items request";if(a instanceof _.DM){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 _.TVc&&a instanceof _.TVc?"list backups":a instanceof _.VL?"list changes":a instanceof _.EM?"list permissions":"undefined"!=typeof _.FM&&a instanceof _.FM?"list revisions":a instanceof _.GM?"partial download item":a instanceof _.HM?"people api":a instanceof _.GF?"get published category":"undefined"!=typeof _.IM&&a instanceof _.IM?"get remaining changes":a instanceof _.JM?"remove item":
"undefined"!=typeof _.KM&&a instanceof _.KM?"reparent item":a instanceof _.LM?"restore item":a instanceof _.HF?"list suggested workspace items":a instanceof _.IF?"list suggested workspaces":"undefined"!=typeof _.MM&&a instanceof _.MM?"update app":a instanceof _.NM?"update category metadata":a instanceof _.TL?"update item":a instanceof _.OM?"update revision":a instanceof _.PM?"update TD":a instanceof _.kD?"update pref":a instanceof _.QM?"update ws":a instanceof _.EL?"get account":a instanceof _.LF?
"get workspace":a instanceof _.UVc?"list activity":a instanceof _.VVc?"list category metadata":a instanceof _.WVc?"create TD":"undefined"!=typeof _.XVc&&a instanceof _.XVc?"item export cancel":"undefined"!=typeof _.YVc&&a instanceof _.YVc?"item export status":"undefined"!=typeof _.ZVc&&a instanceof _.ZVc?"generate cse token":"undefined"!=typeof _.$Vc&&a instanceof _.$Vc?"get largest change ID":a instanceof _.iD?"list prefs":a instanceof _.RM?"multipart upload":a instanceof _.aWc?"list published categories":
a instanceof bWc?"init resumable upload":a instanceof cWc?"resumable upload chunk":a instanceof _.dWc?"resumable upload":a instanceof _.JF?"get TD":"undefined"!=typeof _.eWc&&a instanceof _.eWc?"move TD preflight":a instanceof _.SM?"list TDs":"undefined"!=typeof _.fWc&&a instanceof _.fWc?"get TD stats":a instanceof _.gWc?"test connection":"undefined"!=typeof _.hWc&&a instanceof _.hWc?"list workspaces":"unknown"};
TM=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};jWc=function(a){if(a instanceof _.jM||a instanceof _.RM||a instanceof _.dWc||a instanceof bWc||a instanceof cWc)return(new _.UM).Dc(8);throw Error("af");};kWc=function(a){if(a instanceof _.TL){var b=_.Mj(_.Lj(a.clone(),1),17);b=_.ak(b,_.cVc)}else b=!1;b||(a instanceof _.TL?(a=_.Mj(_.Lj(a.clone(),1),17),b=_.ak(a,_.dVc)||_.ak(a,_.eVc)):b=!1);return b?!1:!0};
_.VM=function(a){return lWc.includes(a.constructor)?kWc(a):!1};rWc=function(a,b){if(mWc.includes(a.constructor))return!0;if(b){if(_.S(b,54,!1)&&nWc.includes(a.constructor))return!0;var c=_.SL(b);if(c&&!_.S(c,7,!1)&&oWc.includes(a.constructor)&&!_.WM(a)||_.S(b,56,!1)&&_.WM(a)||_.S(b,57,!1)&&pWc.includes(a.constructor)||!(!_.S(b,53,!1)||nWc.includes(a.constructor)||oWc.includes(a.constructor)||_.WM(a)||pWc.includes(a.constructor)||qWc.includes(a.constructor)))return!0}return!1};
_.XM=function(a,b,c,d,e){if(_.S(a,89,!1)){if(c&&c.length&&d){c=b.concat(sWc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.B(d,2)&&RVc(h):(a.set(h,_.B(d,2)),b.push(d))}f=b}else f=b;f.length&&(f=_.Qz(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.tWc=function(a){var b=new _.Fk;return _.A(b,1,a)};_.uWc=function(a,b){return _.A(a,7,b)};_.vWc=function(a,b){return _.A(a,8,b)};
_.wWc=function(a,b){return _.A(a,11,b)};_.xWc=function(a,b){return _.A(a,1,b)};_.yWc=function(a,b){return _.A(a,4,b)};_.zWc=function(a,b){return _.A(a,5,b)};_.AWc=function(a,b){return _.A(a,6,b)};_.BWc=function(a,b){return _.A(a,7,b)};_.CWc=function(a,b){return _.A(a,8,b)};_.DWc=function(a,b){return _.A(a,9,b)};_.EWc=function(a,b){return _.A(a,10,b)};_.FWc=function(a,b){return _.A(a,11,b)};_.GWc=function(a,b){return _.A(a,12,b)};_.HWc=function(a,b){return _.A(a,16,b)};
_.IWc=function(a,b){return _.A(a,17,b)};_.JWc=function(a,b){return _.A(a,20,b)};_.KWc=function(a,b){return _.A(a,21,b)};_.LWc=function(a,b){return _.A(a,31,b)};_.MWc=function(a,b){return _.A(a,32,b)};_.NWc=function(a,b){return _.A(a,33,b)};_.OWc=function(a,b){return _.A(a,42,b)};_.PWc=function(a,b){return _.A(a,43,b)};_.QWc=function(a,b){return _.A(a,46,b)};_.RWc=function(a,b){return _.A(a,47,b)};_.SWc=function(a,b){return _.A(a,48,b)};_.YM=function(a){_.O(this,a,-1,null,null)};_.L(_.YM,_.K);
_.TWc=function(a){_.O(this,a,-1,null,null)};_.L(_.TWc,_.K);_.UWc=function(a,b){return _.A(a,1,b)};_.VWc=function(a,b){return _.A(a,2,b)};NVc=function(a){_.O(this,a,-1,null,null)};_.L(NVc,_.K);NVc.prototype.getMimeType=function(){return _.B(this,1)};NVc.prototype.getUrl=function(){return _.B(this,2)};_.ZM=function(a){_.O(this,a,-1,null,null)};_.L(_.ZM,_.K);_.ZM.prototype.Me=function(){return _.B(this,2)};_.ZM.prototype.uh=function(a){return _.A(this,2,a)};
_.ZM.prototype.th=function(a){return _.A(this,3,a)};_.WWc=function(a,b){return _.A(a,1,b)};_.XWc=function(a,b){return _.Nj(a,2,b)};_.YWc=function(a,b){return _.Nj(a,3,b)};ZWc=[2];_.$M=function(a){_.O(this,a,-1,ZWc,null)};_.L(_.$M,_.K);_.$M.prototype.Pe=function(){return _.B(this,1)};_.$M.prototype.lm=function(a){return _.A(this,1,a)};_.$M.prototype.uva=function(a,b){return _.Sj(this,2,a,b)};_.aN=function(a){_.O(this,a,-1,null,null)};_.L(_.aN,_.K);_.aN.prototype.Me=function(){return _.B(this,1)};
_.aN.prototype.uh=function(a){return _.A(this,1,a)};_.aN.prototype.th=function(a){return _.A(this,2,a)};_.bN=function(a,b){return _.Kj(a,2,b)};_.$Wc=function(a,b){_.A(a,8,b)};_.aXc=function(a,b){return _.Nj(a,15,b)};_.bXc=function(a,b){return _.J(a,17,b)};_.cXc=function(a,b){return _.A(a,19,b)};_.dXc=function(a,b){_.A(a,26,b)};_.eXc=function(a,b){_.A(a,31,b)};_.fXc=function(a,b){_.A(a,34,b)};_.gXc=function(a,b){return _.A(a,44,b)};_.hXc=function(a,b){return _.A(a,52,b)};
MVc=function(a,b){_.Nj(a,58,b)};_.iXc=function(a,b){return _.A(a,72,b)};_.cN=function(a,b){return _.J(a,84,b)};_.jXc=function(a,b){_.J(a,85,b)};_.kXc=function(a,b){return _.A(a,92,b)};_.lXc=function(a,b){return _.A(a,93,b)};_.mXc=function(a,b){return _.A(a,136,b)};_.nXc=function(a){_.O(this,a,-1,null,null)};_.L(_.nXc,_.K);_.dN=function(a){return _.S(a,2,!1)};oXc=[3];pXc=function(a){_.O(this,a,-1,oXc,null)};_.L(pXc,_.K);
pXc.prototype.Ui=function(){var a=_.B(this,3);this.Ta||(this.Ta={});if(!this.Ta[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ta[3]=!0}_.hb(this)&&_.ib(a);return a};var qXc=[3],rXc=function(a){_.O(this,a,-1,qXc,null)};_.L(rXc,_.K);rXc.prototype.Ui=function(){return _.Md(this,3)};var sXc=[3],tXc=function(a){_.O(this,a,-1,sXc,null)};_.L(tXc,_.K);tXc.prototype.Ui=function(){return _.Md(this,3)};_.eN=function(a){_.O(this,a,-1,null,null)};_.L(_.eN,_.K);_.eN.prototype.Ya=function(){return _.B(this,1)};
_.eN.prototype.Lb=function(a){return _.A(this,1,a)};_.eN.prototype.zi=function(){return _.Lj(this,1)};_.eN.prototype.hh=function(){return _.P(this,1)};_.fN=function(a){return _.Gj(a,45,1)};_.zM=function(a){return _.S(a,47,!1)};_.AM=function(a){return _.S(a,49,!1)};_.BM=function(a){return _.S(a,52,!1)};_.gN=function(a){return _.E(a,2,"")};_.uXc=function(a,b){return _.Kj(a,27,b)};_.hN=function(a){return _.Gj(a,39,0)};_.iN=function(a){return _.S(a,40,!1)};
_.vXc=function(a){return _.Et.prototype.ZO.call(a,!0)+"T"+_.Kg(a.getHours(),2)+":"+_.Kg(a.getMinutes(),2)+":"+_.Kg(a.getSeconds(),2)+a.v$()};wXc=function(a,b){return _.oTc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.xXc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.BL(c,"deleting object store "+b);}};yXc=function(){var a=new _.qUc;a.O=12E4;a.ma=!0;return a};_.zXc=function(a){_.O(this,a,-1,null,null)};_.L(_.zXc,_.K);AXc=[3,4,10,18,19,28];
_.jM=function(a){_.O(this,a,-1,AXc,null)};_.L(_.jM,_.K);_.g=_.jM.prototype;_.g.getMimeType=function(){return _.B(this,1)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.qE=function(a,b){_.Sj(this,3,a,b)};_.g.we=function(){return _.C(this,_.lf,7)};_.g.ej=function(){return _.B(this,9)};_.g.Bc=function(){return _.B(this,14)};_.g.Bz=function(){return _.C(this,_.zXc,15)};_.g.a2=function(){return _.B(this,21)};_.g.Cc=function(){return _.B(this,23)};
_.jN=function(a,b){return _.A(a,1,b)};_.kN=function(a,b){return _.Kj(a,3,b)};_.BXc=function(a,b){return _.A(a,12,b)};_.nM=function(a){_.O(this,a,-1,null,null)};_.L(_.nM,_.K);_.nM.prototype.getId=function(){return _.B(this,1)};_.nM.prototype.Pb=function(a){return _.A(this,1,a)};_.nM.prototype.we=function(){return _.C(this,_.lf,3)};_.qM=function(a){_.O(this,a,-1,null,null)};_.L(_.qM,_.K);_.qM.prototype.getId=function(){return _.B(this,1)};_.qM.prototype.Pb=function(a){return _.A(this,1,a)};
_.qM.prototype.we=function(){return _.C(this,_.lf,2)};CXc=[7,8];_.PM=function(a){_.O(this,a,-1,CXc,null)};_.L(_.PM,_.K);_.g=_.PM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.we=function(){return _.C(this,_.lf,4)};_.g.Bm=function(){return _.R(this,15)};_.SM=function(a){_.O(this,a,-1,null,null)};_.L(_.SM,_.K);
_.SM.prototype.getOptions=function(){return _.C(this,_.vUc,1)};_.SM.prototype.Sn=function(){return _.B(this,2)};_.SM.prototype.wd=function(){return _.C(this,_.wL,3)};DXc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};EXc=null;_.FXc=function(a){if(_.uma)return _.n.atob(a);var b="";_.wma(a,function(c){b+=String.fromCharCode(c)});return b};GXc=function(){this.O=0;this.H=[]};_.g=GXc.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=HXc(this,a);return this.H[a]};_.g.set=function(a,b){a=HXc(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.Dg=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.jf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};_.g.Ae=function(a){return a<this.$b()};
_.g.Cq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var HXc=function(a,b){if(b>=a.H.length)throw Error("fa");return 40>a.H.length?b:(a.O+Number(b))%40},IXc=function(a){_.O(this,a,-1,null,null)};_.L(IXc,_.K);_.JXc=function(a){_.O(this,a,-1,null,null)};_.L(_.JXc,_.K);_.JXc.prototype.hf=function(){return _.B(this,1)};_.JXc.prototype.jj=function(a){return _.A(this,1,a)};_.JXc.prototype.Ab=function(){return _.B(this,4)};
_.JXc.prototype.Dc=function(a){return _.A(this,4,a)};var KXc=function(a){_.O(this,a,-1,null,null)};_.L(KXc,_.K);KXc.prototype.uo=function(){return _.B(this,5)};var LXc=function(a,b){_.A(a,6,b)},MXc=function(a){_.O(this,a,-1,null,null)};_.L(MXc,_.K);_.g=MXc.prototype;_.g.cib=function(a){_.A(this,1,a)};_.g.LOb=function(a){_.A(this,2,a)};_.g.ny=function(){return _.R(this,3)};_.g.dib=function(a){_.A(this,3,a)};_.g.sOb=function(a){_.A(this,4,a)};var NXc=function(a){_.O(this,a,-1,null,null)};_.L(NXc,_.K);
NXc.prototype.ny=function(){return _.R(this,2)};var OXc=function(a,b){return _.A(a,2,b)},PXc=function(a,b){_.A(a,3,b)};NXc.prototype.iB=function(){return _.B(this,6)};var QXc=function(a,b){return _.A(a,8,b)},RXc=function(a){_.O(this,a,-1,null,null)};_.L(RXc,_.K);var SXc=function(a){_.O(this,a,-1,null,null)};_.L(SXc,_.K);SXc.prototype.ny=function(){return _.R(this,1)};SXc.prototype.uo=function(){return _.B(this,5)};SXc.prototype.Mm=function(){return _.B(this,6)};
SXc.prototype.Bt=function(a){return _.A(this,6,a)};var TXc=function(a){_.O(this,a,-1,null,null)};_.L(TXc,_.K);var UXc=function(a,b){_.A(a,4,b)},VXc=function(a){_.O(this,a,-1,null,null)};_.L(VXc,_.K);_.g=VXc.prototype;_.g.wd=function(){return _.C(this,_.JXc,1)};_.g.getState=function(){return _.C(this,KXc,2)};_.g.Md=function(a){return _.J(this,2,a)};_.g.lt=function(){return _.P(this,2)};_.g.OE=function(){return _.C(this,SXc,16)};var WXc=function(a){_.O(this,a,-1,null,null)};_.L(WXc,_.K);
WXc.prototype.getEnvironment=function(){return _.B(this,2)};WXc.prototype.setEnvironment=function(a){return _.A(this,2,a)};_.IVc=[42,1005,20,50,18,1003,1002];XXc=[73,71];_.lN=function(a){_.O(this,a,-1,null,null)};_.L(_.lN,_.K);_.lN.prototype.getId=function(){return _.B(this,1)};_.lN.prototype.Pb=function(a){return _.A(this,1,a)};_.lN.prototype.getMimeType=function(){return _.B(this,2)};_.lN.prototype.RF=function(){return _.B(this,8)};YXc=[22];_.UM=function(a){_.O(this,a,-1,YXc,null)};_.L(_.UM,_.K);
_.g=_.UM.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.getItem=function(){return _.C(this,_.Yk,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.Zj=function(){return _.B(this,3)};_.g.Cc=function(){return _.B(this,5)};_.ZXc=function(a,b){return _.A(a,5,b)};_.g=_.UM.prototype;_.g.XJ=function(){return _.B(this,7)};_.g.$ca=function(a){return _.A(this,7,a)};_.g.Ifa=function(a){_.A(this,9,a)};_.g.LMa=function(a){_.A(this,10,a)};
_.g.WM=function(){return _.B(this,16)};_.g.Qca=function(a){return _.A(this,16,a)};var $Xc=function(a){_.gi.call(this,a);this.connectionState=_.ptb.get(a)};_.L($Xc,_.gi);aYc=function(a){var b=new _.Vh;a.listen("loadend",_.wb(function(c,d){var e=d.$j(),f=d.getError();null==e||f?c.Od(f):c.callback(e);d.dispose()},b,a));return b};_.eM=function(a){_.O(this,a,-1,null,null)};_.L(_.eM,_.K);_.eM.prototype.Cc=function(){return _.B(this,1)};_.fM=function(a){_.O(this,a,-1,null,null)};_.L(_.fM,_.K);
_.fM.prototype.getId=function(){return _.B(this,1)};_.fM.prototype.Pb=function(a){return _.A(this,1,a)};_.fM.prototype.Hk=function(){return _.B(this,2)};_.gM=function(a){_.O(this,a,-1,null,null)};_.L(_.gM,_.K);_.gM.prototype.yh=function(){return _.B(this,1)};_.gM.prototype.Cc=function(){return _.B(this,2)};_.gM.prototype.we=function(){return _.C(this,_.lf,4)};bYc=[3,7];_.hM=function(a){_.O(this,a,-1,bYc,null)};_.L(_.hM,_.K);_.g=_.hM.prototype;_.g.getId=function(){return _.B(this,1)};
_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.qE=function(a,b){_.Sj(this,3,a,b)};_.g.we=function(){return _.C(this,_.lf,5)};_.kM=function(a){_.O(this,a,-1,null,null)};_.L(_.kM,_.K);_.kM.prototype.getTitle=function(){return _.B(this,1)};_.kM.prototype.setTitle=function(a){return _.A(this,1,a)};_.kM.prototype.we=function(){return _.C(this,_.lf,2)};_.pM=function(a){_.O(this,a,-1,null,null)};_.L(_.pM,_.K);
_.pM.prototype.Cc=function(){return _.B(this,1)};_.pM.prototype.we=function(){return _.C(this,_.lf,3)};_.rM=function(a){_.O(this,a,-1,null,null)};_.L(_.rM,_.K);_.rM.prototype.getId=function(){return _.B(this,1)};_.rM.prototype.Pb=function(a){return _.A(this,1,a)};_.rM.prototype.we=function(){return _.C(this,_.lf,3)};_.tM=function(a){_.O(this,a,-1,null,null)};_.L(_.tM,_.K);_.tM.prototype.we=function(){return _.C(this,_.lf,1)};_.JM=function(a){_.O(this,a,-1,null,null)};_.L(_.JM,_.K);_.g=_.JM.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.xg=function(a){return _.A(this,2,a)};_.g.we=function(){return _.C(this,_.lf,3)};_.LM=function(a){_.O(this,a,-1,null,null)};_.L(_.LM,_.K);_.g=_.LM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getParent=function(){return _.B(this,2)};_.g.xg=function(a){return _.A(this,2,a)};_.g.we=function(){return _.C(this,_.lf,3)};
_.OM=function(a){_.O(this,a,-1,null,null)};_.L(_.OM,_.K);_.OM.prototype.Cc=function(){return _.B(this,1)};_.OM.prototype.we=function(){return _.C(this,_.lf,4)};_.QM=function(a){_.O(this,a,-1,null,null)};_.L(_.QM,_.K);_.g=_.QM.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.getState=function(){return _.B(this,3)};_.g.Md=function(a){return _.A(this,3,a)};
_.g.lt=function(){return _.P(this,3)};_.g.we=function(){return _.C(this,_.lf,5)};cYc=[2,3];_.iM=function(a){_.O(this,a,-1,cYc,null)};_.L(_.iM,_.K);_.iM.prototype.Bc=function(){return _.B(this,1)};_.iM.prototype.we=function(){return _.C(this,_.lf,4)};_.dYc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};eYc=[3,4];_.DM=function(a){_.O(this,a,-1,eYc,null)};_.L(_.DM,_.K);_.DM.prototype.getType=function(){return _.B(this,1)};_.DM.prototype.we=function(){return _.C(this,_.lf,2)};fYc=[1];
_.HM=function(a){_.O(this,a,-1,fYc,null)};_.L(_.HM,_.K);_.HM.prototype.an=function(){return _.Md(this,1)};_.gYc=function(a){_.O(this,a,-1,null,null)};_.L(_.gYc,_.K);_.g=_.gYc.prototype;_.g.getKey=function(){return _.B(this,1)};_.g.us=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Lj(this,2)};_.g.hh=function(){return _.P(this,2)};_.g.Pe=function(){return _.B(this,3)};_.g.lm=function(a){return _.A(this,3,a)};
_.g.getType=function(){return _.B(this,4)};hYc=[1];_.iYc=function(a){_.O(this,a,-1,hYc,null)};_.L(_.iYc,_.K);_.jYc=function(){var a=void 0===a?1E3:a;this.O=new _.ol;this.H=new _.ol;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.lYc=function(a){var b=a.O.Dg();a.V&&b.push(kYc("...","...","...","..."));_.za(b,a.H.Dg());return b};
_.mYc=function(a){var b=[];a=_.lYc(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")};_.jYc.prototype.info=function(a,b){_.mN(this,a,b,"info")};_.jYc.prototype.config=function(a,b){_.mN(this,a,b,"config")};_.jYc.prototype.log=function(a,b,c){if(!EXc){EXc={};for(var d=0,e;e=_.pka[d];d++)EXc[e.value]=e,EXc[e.name]=e}_.mN(this,a,b,c)};
_.mN=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.pl(a.H));var e=Date.now()-a.startTime;b=kYc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};kYc=function(a,b,c,d){var e={};return e.logName=a,e.message=b,e.level=c,e.totalTime=d,e};_.UVc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.WVc=function(a){this.request=a;this.requestId=_.Mg()};
_.nYc=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};_.RM=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};_.dWc=function(a,b,c,d){this.request=a;this.file=b;this.jQ=void 0===c?null:c;this.metadata=d};bWc=function(a,b){this.request=a;this.metadata=b};oYc=function(a,b,c){this.O=a;this.H=b;this.V=c};
cWc=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};_.gWc=function(){this.H=_.mf(new _.lf,312)};pYc=function(){};_.VVc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.aWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};qYc=function(a,b){this.H=a;this.O=b};rYc=function(a){_.gi.call(this,"Ab");this.H=a};_.L(rYc,_.gi);rYc.prototype.Te=function(){return this.H};_.nN=function(a){a.supportsTeamDrives=!0};
_.sYc=function(a){this.O=new Set;this.H=[].concat(_.jd(_.Md(a,27)));this.initialize(a)};_.sYc.prototype.initialize=function(a){var b=_.KVc(this.H,_.Md(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);_.CL(_.DL(a))||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.Fa(this.H);this.H.sort();LVc(this.H)};_.oN=function(a){return[].concat(_.jd(a.H))};
pN=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.qN=function(a,b,c){0!==b.length&&(a.KI.length&&a.append(" "+(c||"and")+" "),a.append(b))};rN=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(pN(c));e.push("in");e.push(b);_.qN(a,e.join(" "))}};_.sN=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());_.qN(a,e.join(" "),d)}};
tYc=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.qN(a,d.join(""))}};_.uYc=function(a){var b=new _.BUc;b.setTime(a);return b};vYc=function(a,b){b=_.Md(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(pN(b));_.qN(a,c.join(" "))}};_.wYc=function(a){a=_.Uj(a,_.eN,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Ya());return b.join(",")};
_.xYc=function(a){a=a.kB();return null==a||0==a.length?"":a.map(function(b){b=_.B(b,1);if(0==b)throw Error("Ne");return _.qSc[b]}).join(",")};yYc=function(a,b){if(a.length){var c=new _.Po;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(pN(d.Ya()));_.qN(c,e.join(" "),"or")}return c.toString()}return""};
zYc=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 pN(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};AYc=function(a){if(_.R(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};BYc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};
CYc=function(a,b,c){if(null!=_.B(c,2)){var d=BYc(_.B(c,1));c=pN(_.vXc(_.uYc(_.B(c,2)||0)));_.qN(a,[b,d,c].join(" "))}};DYc=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""};
_.EYc=function(a){for(var b=new _.Po,c=_.Uj(a,_.Bl,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.B(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(pN(f));_.qN(b,l.join(" "))}}for(var p=_.Uj(a,_.Al,5),q=0;q<p.length;q++){var r=p[q],u=r.Ya();if(u){var y=[];_.S(r,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(pN(u));_.qN(b,y.join(" "))}}var z=_.Fl(a);if(z&&0!=z.length){for(var D=[],H=[],I=[],M=[],Q=[],W=[],pa=0;pa<
z.length;pa++){var ia=z[pa];ia.Ya()&&(1===_.Gj(ia,3,0)?_.R(ia,4)?H.push(ia):D.push(ia):_.R(ia,4)?_.S(ia,2,!1)?W.push(ia):Q.push(ia):_.S(ia,2,!1)?M.push(ia):I.push(ia))}var na=yYc(D,!1),qa=yYc(H,!0),ua=zYc(I,!1,!1),Wa=zYc(M,!0,!1),Ea=zYc(Q,!1,!0),Pa=zYc(W,!0,!0),dc=new _.Po;if(ua||Ea||na||qa)_.qN(dc,ua,"or"),_.qN(dc,Ea,"or"),_.qN(dc,na,"or"),_.qN(dc,qa,"or");dc.KI.length&&_.qN(b,"("+dc.toString()+")","and");var pb=new _.Po;if(Wa||Pa)_.qN(pb,Wa,"and"),_.qN(pb,Pa,"and");pb.KI.length&&_.qN(b,"("+pb.toString()+
")","and")}for(var Zb=_.Uj(a,_.yl,7),Jc=0;Jc<Zb.length;Jc++)CYc(b,"modifiedDate",Zb[Jc]);for(var ne=_.Uj(a,_.yl,8),oe=0;oe<ne.length;oe++)CYc(b,"lastViewedByMeDate",ne[oe]);_.sN(b,"trashed",a.Rh());_.sN(b,"explicitlyTrashed",_.R(a,17));_.sN(b,"starred",_.R(a,10));_.sN(b,"hidden",a.Bm());for(var Id=_.Gl(a),ff=0;ff<Id.length;ff++){var Dc=Id[ff];rN(b,"parents",Dc.Ya(),_.S(Dc,2,!1))}for(var Bb=_.Uj(a,_.af,13),Og=0;Og<Bb.length;Og++){var Ag=Bb[Og];rN(b,"owners",Ag.Ya(),_.S(Ag,2,!1))}for(var Ve=_.Uj(a,
_.af,14),Cj=0;Cj<Ve.length;Cj++){var Zf=Ve[Cj];rN(b,"writers",Zf.Ya(),_.S(Zf,2,!1))}for(var ni=_.Uj(a,_.af,15),Fg=0;Fg<ni.length;Fg++){var im=ni[Fg];rN(b,"readers",im.Ya(),_.S(im,2,!1))}_.R(a,16)&&_.qN(b,"sharedWithMe");_.sN(b,"unparented",_.R(a,34));for(var pf=_.Uj(a,_.vl,35)||[],$e=_.m(pf),eh=$e.next();!eh.done;eh=$e.next())rN(b,"ancestors",eh.value.Ya(),!1);for(var oi=_.Uj(a,_.vl,38)||[],aj=_.m(oi),Ml=aj.next();!Ml.done;Ml=aj.next())rN(b,"descendants",Ml.value.Ya(),!1);for(var ik=_.Uj(a,_.zl,37)||
[],Qj=_.m(ik),fh=Qj.next();!fh.done;fh=Qj.next())rN(b,"folderFeatures",fh.value.Ya(),!1);for(var gl=_.Md(a,39),hl=_.m(gl),Gg=hl.next();!Gg.done;Gg=hl.next()){var il=Gg.value,jm=[];jm.push("templateData.description");jm.push("contains");jm.push(pN(il));_.qN(b,jm.join(" "))}for(var jl=_.Md(a,40),Wh=0;Wh<jl.length;Wh++){var Dj=[];0==Wh&&Dj.push("(");Dj.push(pN(jl[Wh]));Dj.push("in");Dj.push("templateData.categories");Wh==jl.length-1&&Dj.push(")");_.qN(b,Dj.join(" "),0==Wh?"and":"or")}var oj=_.B(a,41);
if(null!=oj){var pj=[];pj.push("templateData.galleryState");pj.push("=");pj.push(pN(_.DUc[oj]||""));_.qN(b,pj.join(" "))}var Rj=_.B(a,42);if(null!=Rj){var Jh=[];Jh.push("visibility");Jh.push("=");Jh.push(pN(DYc(Rj)));_.qN(b,Jh.join(" "))}for(var Nl=_.Uj(a,_.ul,44),qj=0;qj<Nl.length;++qj){var jk=Nl[qj];rN(b,"actionItems",AYc(jk),_.S(jk,3,!1))}if(_.P(a,50)){var km=[];km.push("pairedDocType");var kl=_.S(a,50,!1)?"!=":"=";km.push(kl);km.push(pN("NONE"));_.qN(b,km.join(" "))}rN(b,"workspaceIds",a.Np(),
!1);for(var Im=_.Uj(a,_.wl,57),kk=0;kk<Im.length;kk++){var Jk=[];0==kk&&Jk.push("(");Jk.push(pN(Im[kk].Ya()));Jk.push("in");Jk.push("approvals");kk==Im.length-1&&Jk.push(")");_.qN(b,Jk.join(" "),0==kk?"and":"or")}if(_.P(a,58)){var uf=a.Kq(),Bi=uf.Ya(),lk=_.S(uf,2,!1);if(Bi){var Fc=[];lk&&Fc.push("not");Fc.push("creator");Fc.push("=");Fc.push(pN(Bi));_.qN(b,Fc.join(" "))}}var Kk=_.C(a,_.xoa,59);if(Kk)for(var Pg=_.m(_.Uj(Kk,_.uoa,1)),mk=Pg.next();!mk.done;mk=Pg.next()){var Mi=mk.value;rN(b,"categoryMetadata",
Mi.Zm());for(var Ln=_.m(_.Uj(Mi,_.soa,2)),nk=Ln.next();!nk.done;nk=Ln.next()){var xh=nk.value,Qg=_.B(xh,1),Lk=_.Ej(xh,_.xl[0]);if(10==Lk){_.C(xh,_.loa,10);var ll=_.R(xh,15);(void 0===ll?0:ll)?_.qN(b,Qg+" is null"):_.qN(b,"not ("+Qg+" is null)")}else{var Qh=new _.Po,Ni=void 0;switch(Lk){case 3:Ni=_.C(xh,pXc,3);for(var jn=_.m(Ni.Ui()),pi=jn.next();!pi.done;pi=jn.next())_.sN(Qh,Qg,pi.value,"or");break;case 14:for(var ml=Ni=_.C(xh,_.eoa,14),Mn=new Map([[1,"="],[2,">"],[3,"<"]]),kn=_.m(ml.Ui()),Jm=kn.next();!Jm.done;Jm=
kn.next()){var Nn=Jm.value,Ol=Mn.get(_.B(ml,2));if(!Ol)throw Error("Oe");var Km=[Qg,Ol,pN(Nn.getYear()+"-"+Nn.getMonth()+"-"+Nn.getDay())];_.qN(Qh,Km.join(" "),"or")}break;case 8:for(var ln=Ni=_.C(xh,_.koa,8),On=new Map([[1,"="],[2,">"],[3,"<"]]),xk=_.m(ln.Ui()),To=xk.next();!To.done;To=xk.next()){var Fp=To.value,Gp=On.get(_.B(ln,2));if(!Gp)throw Error("Oe");_.qN(Qh,[Qg,Gp,Fp].join(" "),"or")}break;case 9:for(var Js=Ni=_.C(xh,rXc,9),Pw=new Map([[1,"in"]]),Ks=_.m(Js.Ui()),Yn=Ks.next();!Yn.done;Yn=
Ks.next()){var Iq=Yn.value,Ut=Pw.get(_.B(Js,2));if(!Ut)throw Error("Oe");_.qN(Qh,[Iq,Ut,Qg].join(" "),"or")}break;case 6:for(var $C=Ni=_.C(xh,_.poa,6),DA=new Map([[1,"="]]),aD=_.m($C.Ui()),Vt=aD.next();!Vt.done;Vt=aD.next()){var Tw=Vt.value,Uw=DA.get(_.B($C,2));if(!Uw)throw Error("Oe");_.qN(Qh,[Qg,Uw,pN(Tw)].join(" "),"or")}break;case 7:for(var Vw=Ni=_.C(xh,_.noa,7),oJ=new Map([[1,"in"]]),wy=_.m(Vw.Ui()),Wt=wy.next();!Wt.done;Wt=wy.next()){var xn=Wt.value,xy=oJ.get(_.B(Vw,2));if(!xy)throw Error("Oe");
_.qN(Qh,[pN(xn),xy,Qg].join(" "),"or")}break;case 4:for(var Jq=Ni=_.C(xh,_.roa,4),pS=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),MF=_.m(Jq.Ui()),Ww=MF.next();!Ww.done;Ww=MF.next()){var vi=Ww.value,NF=pS.get(_.B(Jq,2));if(!NF)throw Error("Oe");_.qN(Qh,[Qg,NF,pN(vi)].join(" "),"or")}break;case 5:for(var Xw=Ni=_.C(xh,tXc,5),EA=new Map([[1,"in"]]),jZ=_.m(Xw.Ui()),kZ=jZ.next();!kZ.done;kZ=jZ.next()){var Sg=kZ.value,bD=EA.get(_.B(Xw,2));if(!bD)throw Error("Oe");_.qN(Qh,[pN(Sg),bD,Qg].join(" "),
"or")}break;case 12:for(var cD=Ni=_.C(xh,_.ioa,12),Er=new Map([[1,"="]]),ao=_.m(cD.Ui()),OF=ao.next();!OF.done;OF=ao.next()){var RN=OF.value,pJ=Er.get(_.B(cD,2));if(!pJ)throw Error("Oe");_.qN(Qh,[Qg,pJ,pN(RN)].join(" "),"or")}break;case 11:for(var qJ=Ni=_.C(xh,_.goa,11),lZ=new Map([[1,"in"]]),yy=_.m(qJ.Ui()),zy=yy.next();!zy.done;zy=yy.next()){var Tha=zy.value,Ns=lZ.get(_.B(qJ,2));if(!Ns)throw Error("Oe");_.qN(Qh,[pN(Tha),Ns,Qg].join(" "),"or")}}_.R(xh,15)?_.qN(b,"not ("+Qh+")"):_.qN(b,1<Ni.Ui().length?
"("+Qh+")":""+Qh)}}}null!=_.R(a,60)&&_.sN(b,"linkShareMetadata.securityUpdateEligible",_.R(a,60));var SN=_.R(a,65);if(null!=SN){var rJ=[];rJ.push("clientEncryptionDetails.encryptionState");rJ.push("=");rJ.push(pN(SN?"encrypted":"unencrypted"));_.qN(b,rJ.join(" "))}var Yw=_.Uj(a,_.af,68);if(Yw.length){for(var sJ=[],Fr=[],tJ=_.m(Yw),mZ=tJ.next();!mZ.done;mZ=tJ.next()){var qS=mZ.value,rS="sharedFrom = "+pN(qS.Ya());_.S(qS,2,!1)?Fr.push(rS):sJ.push(rS)}tYc(b,sJ,!1);tYc(b,Fr,!0)}var u7=_.Uj(a,_.af,67);
if(u7.length){for(var uJ=[],nZ=[],sS=_.m(u7),FA=sS.next();!FA.done;FA=sS.next()){var Ip=FA.value,Kq="sharedTo = "+pN(Ip.Ya());_.S(Ip,2,!1)?nZ.push(Kq):uJ.push(Kq)}tYc(b,uJ,!1);tYc(b,nZ,!0)}null!=_.R(a,69)&&_.sN(b,"linkShareMetadata.securityUpdateEnabled",_.R(a,69));null!=_.R(a,72)&&_.sN(b,"canAcceptOwnership",_.R(a,72));1==_.fN(a)&&vYc(b,a);return b.toString()};
_.FYc=function(a){var b=new _.Po(_.EYc(a));_.zM(a)?_.qN(b,"isQuickAccessRequest"):_.AM(a)?_.qN(b,"isPeoplePredictRequest"):_.BM(a)&&_.qN(b,"isDrivePriorityRequest");var c=a.Ac();if(c){var d=[];d.push("sortBy");d.push(_.xUc[c.getType()]);d.push(_.FUc[c.yf()]);_.R(c,3)&&d.push("foldersFirst");_.qN(b,d.join(" "))}_.sN(b,"domainSearch",_.R(a,18));_.sN(b,"offline",_.R(a,19));_.Uj(a,_.eN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.wYc(a)),_.qN(b,c.join(" ")));a.kB().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.xYc(a)),_.qN(b,c.join(" ")));if(c=_.fN(a))d=[],d.push("corpora"),d.push("="),d.push(pN(_.dYc[c])),_.qN(b,d.join(" "));_.S(a,66,!0)||_.sN(b,"includeItemsFromAllDrives",_.S(a,66,!0));1!=_.fN(a)&&vYc(b,a);_.S(a,48,!1)&&_.qN(b,"cachedOnly");return b.toString()};_.WM=function(a){if(a instanceof _.JL)a=a.wd();else if(!a)return!1;return a instanceof _.IF||a instanceof _.HF||"undefined"!=typeof _.tN&&a instanceof _.tN||a instanceof _.Ye&&(_.zM(a)||_.AM(a)||_.BM(a))};
GYc=function(){_.Mo.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.L(GYc,_.Mo);_.HYc=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};IYc=function(a,b){a.V||(a.V=b)};GYc.prototype.Yj=function(){_.HYc(this);(0,this.ha)()};JYc=function(a,b){a.ha||(a.ha=b)};_.uN=function(a){if(!a.O){a.O=new VXc;var b=_.Oo(a);_.J(b,56,a.O)}return a.O};GYc.prototype.getState=function(){var a=_.uN(this).getState();a||(a=new KXc,_.uN(this).Md(a));return a};
var KYc=function(a,b){var c=new IXc;_.A(c,1,b);a=_.Oo(a);_.J(a,12,c)};GYc.prototype.OE=function(){var a=_.uN(this).OE();if(!a){a=new SXc;var b=_.uN(this);_.J(b,16,a)}return a};GYc.prototype.ma=function(){var a=_.C(_.uN(this),MXc,4);if(!a){a=new MXc;var b=_.uN(this);_.J(b,4,a)}return a};LYc=function(a){var b=_.C(_.uN(a),NXc,8);b||(b=new NXc,a=_.uN(a),_.J(a,8,b));return b};MYc=function(a){var b=_.C(_.uN(a),TXc,19);b||(b=new TXc,a=_.uN(a),_.J(a,19,b));return b};
_.NYc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.ri.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.L(_.NYc,_.ri);_.g=_.NYc.prototype;_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Gl=function(){return 1===this.connectionState||2===this.connectionState};_.g.Te=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?_.aB.pU:_.aB.iha;else 1===a?(b=_.aB.xL,this.O=!0):3===a&&(b=_.aB.oU);if(b)return b=new $Xc(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var OYc=function(a,b){this.userId=a;this.H=b;this.db=null},QYc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return PYc(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")};OYc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.mBb=_.Yj(b),d)).then(null,function(e){c.handleError(e)})};
var RYc=function(a){return new _.Oh(function(b){var c=new Map;PYc(a,function(d){return wXc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={wra:f.wra},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.wra=k;l.then(function(p){return function(q){q&&c.set(p.wra,new _.Mza(q.mBb))}}(f))}return _.qL([].concat(_.jd(e.values()))).then(function(){return b(c)})})})})},SYc=function(a,b){return PYc(a,
function(c){return c.remove(b)},"readwrite")},PYc=function(a,b,c){c=void 0===c?"readonly":c;return TYc(a).then(function(d){try{var e=_.wTc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.bM(f):void 0)}},function(d){return a.handleError(d)})},TYc=function(a){return a.db?_.Ph(a.db):_.yTc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.xXc(c,"OfflineImpressions");b=_.vTc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.BL(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 _.Rh(_.bM(b))})};OYc.prototype.handleError=function(a){a||(a=Error("We"));_.mN(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Ph()};
_.UYc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.ri.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.L(_.UYc,_.ri);_.UYc.prototype.Te=function(){return this.H};_.UYc.prototype.Il=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new rYc(a)))};_.UYc.prototype.My=function(a){this.O=a};
var WYc=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Jb=new _.Ee(this);this.Jb.listen(b,"Ab",function(k){k.Te()||VYc(h)});this.Jb.listen(c,[_.aB.xL,_.aB.pU],function(){return void VYc(h)});this.W=e;f.then(function(){return VYc(h)})};_.L(WYc,_.ri);WYc.prototype.pA=function(a){return(this.H.Te()||this.connectionState.Te())&&this.H.O?QYc(this.O,a):this.V.pA(a)};
var VYc=function(a){return a.H.O?RYc(a.O).then(function(b){b.forEach(function(c,d){a.V.pA(c).then(function(){return XYc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},XYc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("Bb");return SYc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
WYc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var YYc=function(){};YYc.prototype.IQ=function(){return new GYc};var ZYc=function(){this.H=new WXc};ZYc.prototype.O=function(a){_.J(a,13,this.H)};ZYc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
aZc=function(a,b,c,d){this.V=b;this.connectionState=c;this.Yr=d;this.O=this.H=null;this.client=_.vN(_.OUc,_.hN(a));this.W=_.B(a,94);this.ka=_.vN(_.SUc,_.Gj(a.Zf(),8,0));this.kxa=_.vN(_.PUc,_.Gj(a.Zf(),9,2));this.ma=_.S(a,10,!1);this.ku=_.CL(_.DL(a));this.BCa=_.iN(a);this.ha=$Yc(a);this.buildLabel=a.Ji()};$Yc=function(a){var b=[].concat(_.jd(_.LUc.keys())),c=[].concat(_.jd(_.MUc.keys())),d=_.SL(a);return b.filter(function(e){return _.LUc.get(e)(a)}).concat(c.filter(function(e){return d&&_.MUc.get(e)(d)}))};
_.vN=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};aZc.prototype.uo=function(a){return null==a?0:a?2:1};var bZc=function(a){if(a.O)return a.O.H("aU7Ts")};
aZc.prototype.Ab=function(a){return a instanceof _.QA||"undefined"!=typeof _.wN&&a instanceof _.wN||"undefined"!=typeof _.xN&&a instanceof _.xN||"undefined"!=typeof _.yN&&a instanceof _.yN?a.Ab():"undefined"!=typeof _.zN&&a instanceof _.zN||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN?a.response?a.response.Ab():null:null};aZc.prototype.Ji=function(){return this.buildLabel};
var cZc=function(a){return a.V.Te()||a.connectionState.Te()?2:1};aZc.prototype.getEnvironment=function(){return this.Yr};dZc=function(a,b){this.H=a;var c=new _.rya;_.sya(c,b.ha);a=this.H.CL();var d=_.pUc(a);_.J(d,10,c);(c=b.Ji())&&_.oUc(a,c);this.H.a_();this.O=b};
_.eZc=function(a,b,c){var d=_.No(a.H.MF(b,c),_.GUc);KYc(d,cZc(a.O));b=bZc(a.O);"boolean"===typeof b&&LXc(d.getState(),b);1===c&&IYc(d,function(){return void a.H.HM(d)});JYc(d,function(){var e=a.O;e=e.H?e.H.Ld():void 0;var f=d.getState();_.A(f,1,e);a.H.oq(d)});return d};
fZc=function(a){var b=new _.fza,c=new ZYc;_.A(c.H,1,a.client);_.A(c.H,8,a.W);_.A(c.H,3,a.ka);_.A(c.H,4,a.kxa);_.A(c.H,5,a.ma);_.A(c.H,6,a.ku);_.A(c.H,7,a.BCa);a=c.setEnvironment(a.getEnvironment());_.BTc(b,_.IUc,a);_.Qo(b,_.GUc,new YYc);return b};
gZc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.NH(906,b,void 0,_.VUc());l.ha=!1;var p=new _.CTc(l);b=new Date;l=_.uUc(_.tUc(_.sUc(yXc(),new _.DTc(l)),fZc(c)),109).setSessionId(b.getTime()+"_"+_.Mg());if(k){a=new WYc(p,d,e,new OYc(a,f),f,h);_.rUc(l,a);d=l.build();_.nUc(d.CL(),1E3*b.getTime());var q=new dZc(d,c);(new _.Ee).listen(a,"Bb",function(){_.eZc(q,106008,0).Yj()});return q}_.rUc(l,p);a=l.build();_.nUc(a.CL(),1E3*b.getTime());return new dZc(a,c)};
hZc=function(a,b){this.V=a;this.W=b};hZc.prototype.O=function(a,b){this.V&&_.iZc(this)&&(a=_.eZc(this.V,a,0),b&&_.ATc(a,b),a.Yj())};_.EN=function(a,b){if(a.V&&_.iZc(a)){a=_.eZc(a.V,106018,0);var c=_.C(_.uN(a),RXc,15);if(!c){c=new RXc;var d=_.uN(a);_.J(d,15,c)}c=_.A(c,1,1);_.A(c,2,b);a.Yj()}};hZc.prototype.H=function(a,b){return this.V&&_.iZc(this)?(a=_.eZc(this.V,a,1),b&&_.ATc(a,b),a):null};_.iZc=function(a){return!(!a.V||!a.V.H.zP())};
_.jZc=function(a,b,c,d,e,f){var h=_.R(a,59),k=_.RL(_.DL(a)).toString(),l=_.gN(_.DL(a));f=new aZc(a,b,c,f);a=h?gZc(l,k,f,b,c,d,e,_.S(a,17,!1)):null;return new hZc(a,f)};_.vM=function(a){_.O(this,a,-1,null,null)};_.L(_.vM,_.K);_.kZc=function(a){_.O(this,a,-1,null,null)};_.L(_.kZc,_.K);_.kZc.prototype.getId=function(){return _.B(this,1)};_.kZc.prototype.Pb=function(a){return _.A(this,1,a)};_.kZc.prototype.we=function(){return _.C(this,_.lf,2)};_.EM=function(a){_.O(this,a,-1,null,null)};_.L(_.EM,_.K);
_.EM.prototype.Sn=function(){return _.B(this,2)};_.EM.prototype.wd=function(){return _.C(this,_.kZc,3)};_.uM=function(a){_.O(this,a,-1,null,null)};_.L(_.uM,_.K);_.uM.prototype.wd=function(){return _.C(this,_.tM,1)};_.uM.prototype.gda=function(a){return _.A(this,2,a)};_.sM=function(a){_.O(this,a,-1,null,null)};_.L(_.sM,_.K);_.sM.prototype.getId=function(){return _.B(this,1)};_.sM.prototype.Pb=function(a){return _.A(this,1,a)};_.lZc=function(a,b){return _.A(a,2,b)};
_.GM=function(a){_.O(this,a,-1,null,null)};_.L(_.GM,_.K);_.GM.prototype.wd=function(){return _.C(this,_.sM,1)};mZc=[2];_.NM=function(a){_.O(this,a,-1,mZc,null)};_.L(_.NM,_.K);_.NM.prototype.Cc=function(){return _.B(this,1)};_.NM.prototype.HV=function(){return _.Uj(this,_.FF,2)};_.NM.prototype.we=function(){return _.C(this,_.lf,3)};_.nZc=function(a){_.O(this,a,-1,null,null)};_.L(_.nZc,_.K);_.nZc.prototype.qk=function(){return _.B(this,1)};_.oZc=function(a){var b=new _.nZc;return _.A(b,1,a)};pZc=[1];
_.SVc=function(a){_.O(this,a,-1,pZc,null)};_.L(_.SVc,_.K);_.qZc=function(){this.H={}};rZc=function(a,b,c){if(a.H[b])throw Error("Xe");a.H[b]=c};_.qZc.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)}};sZc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.tZc=function(a,b){this.H=a;this.V=b;this.O=_.$Uc[_.Gj(a.Zf(),8,0)];this.W=_.$Uc[_.Gj(a.Zf(),51,5)];this.nonce=_.Mg()};
_.tZc.prototype.tc=function(a,b){if(b.LN)uZc(this,a,b),vZc(this,a,b);else if(11===a.Vm){if(b.AKb){var c=b.wD||_.E(this.H.Zf(),37,"");_.ij(a.uri,"key",c)}uZc(this,a,b);wZc(this,a,b)}else switch(a.uri=xZc(this,a.Vm,a.uri),a.Vm){case 1:wZc(this,a,b);uZc(this,a,b);break;case 0:_.S(this.H,83,!1)&&(b.ku||_.CL(_.DL(this.H))||_.ij(a.uri,"dsNonce",this.nonce));wZc(this,a,b);vZc(this,a,b);uZc(this,a,b);break;case 2:case 3:case 4:case 5:wZc(this,a,b);vZc(this,a,b);uZc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:wZc(this,
a,b);vZc(this,a,b);break;default:throw Error("Ye`"+a.Vm);}};yZc=function(a,b){var c=xZc(a,b,new _.bj);if(!c.H)throw Error("$e");return _.ej(_.dj(_.cj(new _.bj,c.O),c.H),c.W).xi(_.aVc.has(b)?"/batch"+a.O:"/batch")};
xZc=function(a,b,c){var d=_.B(a.H.Zf(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.E(a.H.Zf(),62,"");break;case 8:a=_.B(a.H.Zf(),53);break;case 9:a=_.B(a.H.Zf(),56);break;case 10:a=_.B(a.H.Zf(),22);break;case 13:a=_.B(a.H.Zf(),55);break;case 12:a=_.B(a.H.Zf(),43);break;default:throw Error("Ye`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.bj(a);
_.Ad(c,"/")&&(c=c.slice(1));return new _.bj(a+"/"+c)};wZc=function(a,b,c){a=_.DL(a.H);c.ku||_.CL(a)||(c=[{key:"u",value:_.gN(a)}],b.headers.authorization=_.pcc(c)||"",c=_.RL(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
uZc=function(a,b,c){var d=_.DL(a.H),e=a.H.Zf(),f=c.H7a||!!_.B(e,13);c=c.I7a||_.S(e,14,!1);var h=11===b.Vm;f&&((f=_.B(e,13))&&_.Ad(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===_.Gj(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
vZc=function(a,b,c){c.ku||_.CL(_.DL(a.H))?_.ij(b.uri,"key",_.E(a.H.Zf(),36,"")):(a=c.wD||_.E(a.H.Zf(),37,""),_.ij(b.uri,"key",a))};_.zZc=function(a,b){_.qH.call(this,a?a:500,b?b:6E5)};_.L(_.zZc,_.qH);_.AZc=function(a,b){this.O=b;this.H=new Map;this.Hla(_.Uj(a,_.Cl,91))};_.AZc.prototype.Hla=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.B(c,2);if(!b||!c)break;var d=_.BZc(this,b);if(d){d!==c&&RVc(b);break}this.H.set(b,c)}};
sWc=function(a,b){return[].concat(_.jd(new Set(b))).map(function(c){var d=(new _.Cl).Pb(c);a.H.has(c)?_.Dl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.Dl(d,_.el(c));return d}).filter(function(c){return _.P(c,2)})};_.BZc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.P(a,140)?_.el(a):null};_.FN=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Cd=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};_.FN.prototype.getState=function(){return this.state};
_.FN.prototype.mM=function(a){var b=this;if(this.W)return this.W;var c=_.Th();this.W=c.promise.then(function(){return _.oZc(1)},function(d){d=_.$A(d).Og;var e=0;2===d.Ip()?e=3:_.UUc(d)&&(e=2);return _.oZc(e)});a&&this.W.then(function(d){3===d.qk()&&_.EN(b.Cd,186469046)});this.H&&(a=_.B(MYc(this.H),4)||0,UXc(MYc(this.H),a+1));setTimeout(function(){b.W=null},5E3);CZc(this,c);return this.W};_.FZc=function(a,b){DZc(a,3)&&_.EZc(a,b)};_.FN.prototype.reset=function(){this.O=null;GZc(this)};
GZc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.EZc=function(a,b){if(!a.O&&!a.V){a.H=a.Cd.H(106025);if(a.H){var c=MYc(a.H);var d=!(!a.state.isConnected()&&a.state.Gl());c=_.A(c,1,d);c=_.A(c,2,a.state.O);_.A(c,5,!!b)}a.O=new _.zZc(5E3,6E4);HZc(a)}};HZc=function(a){GZc(a);CZc(a);a.O&&(a.timeout=setTimeout(function(){return void HZc(a)},a.O.Ya()),_.rH(a.O))};
CZc=function(a,b){_.Uh((a.ha?a.ha():_.Ph()).then(null,function(){return null}),function(){if(a.H){var c=_.B(MYc(a.H),3)||0,d=MYc(a.H);_.A(d,3,c+1)}IZc(a,b)})};IZc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Se(new _.gWc)}).then(null,function(d){d=_.$A(d);_.UUc(d.Og)&&DZc(a,2);return _.Rh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.FN.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
DZc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.bVc.get(b)),!0):!1};lWc=[_.eM,_.gM,_.fM,_.iM,_.hM,_.jM,_.kM,_.nM,_.pM,_.qM,_.rM,_.tM,_.uM,_.JM,_.LM,_.NM,_.TL,_.OM,_.PM,_.QM,_.WVc,_.RM];JZc=[_.VL];mWc=[_.GF,_.aWc];nWc=[_.EM,_.EL,_.iD,_.SM];oWc=[_.JL,_.vM,_.Zz,_.VL,_.VVc];pWc=[_.SM,_.JF];qWc=[_.sM,_.SVc,_.DM,_.GM,_.HM,_.UVc,_.RM,cWc,bWc];
KZc=function(a){return a instanceof _.JL||a instanceof _.SM||"undefined"!=typeof _.GN&&a instanceof _.GN||a instanceof _.PM||a instanceof _.qM||a instanceof _.jM||a instanceof _.nM||a instanceof _.TL&&_.VM(a)};_.LZc=function(a,b){this.O=b;this.H={};this.ij=new GXc;b=_.dM({fields:_.Md(a,28),jr:_.CL(_.DL(a))});this.Lb("SecondaryFields",b);this.Lb("SdkBackfillEnabled",!!_.S(a,45,!1)+" (Include corpus cache: "+!!_.S(a,46,!1)+")")};_.LZc.prototype.Lb=function(a,b){this.H[a]=MZc(a,b)};
var NZc=function(a,b){var c=a.H[b];c||(c=MZc(b,0,2),a.H[b]=c);c.Lb(String(Number(c.Ya())+1))};_.LZc.prototype.Bz=function(a){var b=_.Sa(this.H);this.O&&b.push(MZc("CacheSize",this.O.Ld()));b.push(MZc("InitialViewDataLoaded",a));a=new _.iYc;_.Nj(a,1,b);return _.Zh(a)};MZc=function(a,b,c){var d=new _.gYc;_.A(d,1,a);_.A(d,4,c||1);d.Lb(String(b));d.lm(_.fVc.get(a));return d};
_.OZc=function(a,b,c){var d=new _.wUc;_.A(d,2,"Pending...");b instanceof _.JL?_.Wj(d,3,_.KL[0],b):b instanceof _.SM?_.Wj(d,4,_.KL[0],b):"undefined"!=typeof _.GN&&b instanceof _.GN?_.Wj(d,5,_.KL[0],b):b instanceof _.PM?_.Wj(d,6,_.KL[0],b):b instanceof _.qM?_.Wj(d,7,_.KL[0],b):b instanceof _.jM?_.Wj(d,8,_.KL[0],b):b instanceof _.nM?_.Wj(d,9,_.KL[0],b):b instanceof _.TL&&_.Wj(d,10,_.KL[0],b);var e=iWc(b),f=[];if(b instanceof _.fM)TM(f,"ID",b.getId()),TM(f,"Parent ID",b.Hk());else if(b instanceof _.qM)TM(f,
"TD ID",b.getId());else if(b instanceof _.JL)b=_.FYc(b.wd()),TM(f,"Query",b);else if(b instanceof _.SM)TM(f,"Query","All");else if(b instanceof _.PM)TM(f,"TD ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Theme Image ID",_.B(b,3));else if(b instanceof _.jM)TM(f,"MimeType",b.getMimeType()),TM(f,"Title",b.getTitle()),TM(f,"Parents",_.Md(b,3)),TM(f,"Convert",_.R(b,8)),TM(f,"Request ID",b.ej()),TM(f,"Parent Request IDs",_.Md(b,10)),TM(f,"Revision Item ID",_.B(b,12)),TM(f,"Pinned",_.R(b,8));else if(b instanceof
_.kM)TM(f,"Title",b.getTitle());else if(b instanceof _.nM)TM(f,"ID",b.getId());else if(b instanceof _.rM)TM(f,"WS ID",b.getId());else if(b instanceof _.TL){if(TM(f,"ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"Description",b.Pe()),TM(f,"Starred",_.R(b,4)),TM(f,"Trashed",b.Rh()),TM(f,"MimeType",b.getMimeType()),TM(f,"Parents",_.Md(b,8)),TM(f,"Parents to add",_.Md(b,9)),TM(f,"Parents to remove",_.Md(b,10)),TM(f,"Restricted",_.R(b,11)),TM(f,"Folder Color",b.Si()),TM(f,"Update Last Viewed",_.R(b,15)),
TM(f,"Subscribed",_.R(b,16)),TM(f,"Available Offline",_.R(b,18)),TM(f,"Wksp to add",_.Md(b,31)),TM(f,"Wksp to remove",_.Md(b,32)),b=_.C(b,_.Vk,25))TM(f,"Read Only",_.R(b,1)),TM(f,"Reason",_.B(b,2))}else b instanceof _.QM?(TM(f,"WS ID",b.getId()),TM(f,"Title",b.getTitle()),TM(f,"State",b.getState())):b instanceof _.WVc&&TM(f,"Title",b.request.getTitle());_.A(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.ij.add(d);return d};
_.PZc=function(a,b){for(var c=new _.Po,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.DVc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.A(a,2,c.toString()||"Done.")};_.LZc.prototype.ZQ=function(){return this.ij.Dg()};_.t("sy1m4");
_.HN=function(a){_.O(this,a,-1,null,null)};_.L(_.HN,_.K);_.HN.prototype.qd=function(){return _.C(this,_.QA,1)};_.QZc=function(a,b){return _.J(a,1,b)};_.HN.prototype.Sn=function(){return _.B(this,3)};
_.RZc=function(a,b,c){_.gi.call(this,"Lb");this.requestId=a;this.progress=b;this.totalBytes=c};_.L(_.RZc,_.gi);
_.SZc=function(a,b){this.O=a;this.V=b;this.H=null};
var IN=function(a){_.ri.call(this);this.name=a};_.L(IN,_.ri);_.g=IN.prototype;_.g.h4=function(){};_.g.UEa=function(){};_.g.T0a=function(){};_.g.KMa=function(){};_.g.S0a=function(){};_.g.NF=function(){this.dispatchEvent(new _.gi("Mb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var TZc=function(a,b){IN.call(this,"Online");var c=this;this.O=a;this.H=b;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.O,"Ab",function(d){d.Te()||c.NF()});this.Mc.listen(this.H,"ib",this.NF)};_.L(TZc,IN);TZc.prototype.max=function(){var a=this.O.Te(),b=this.H.tB();return!a&&b?Infinity:0};TZc.prototype.h4=function(){this.NF()};
var UZc=function(a){IN.call(this,"Online");var b=this;this.connectionState=a;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.connectionState,[_.aB.xL,_.aB.iha,_.aB.pU],function(){return b.NF()})};_.L(UZc,IN);UZc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};UZc.prototype.h4=function(){this.NF()};
_.VZc=function(a,b){this.H=a;this.O=b};_.WZc=function(a){return a.H instanceof _.FN?new UZc(a.H.getState()):new TZc(a.O,a.H)};_.VZc.prototype.Ij=function(){return this.H instanceof _.FN?this.H.getState():this.O};
var YZc;_.XZc=function(a,b,c){this.xK=c;this.O=!0;this.V=0;this.H=new _.qH(a,b,.5)};YZc=function(a){return a.H.O+a.V};
_.JN=function(a,b){IN.call(this,"Backoff");this.H=a;this.O=b};_.L(_.JN,IN);_.JN.prototype.max=function(){return this.H.O?Infinity:0};_.JN.prototype.KMa=function(){var a=this.H;a.V=0;a.H.reset()};_.JN.prototype.S0a=function(a){var b=this;ZZc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Ya(),this.log("Stopping new requests for "+a+" ms."),_.n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.NF()},a),_.rH(this.H.H))};
var ZZc=function(a){var b;return(a=null===(b=_.fa(a.BD))||void 0===b?void 0:b.response)?GVc(_.btb(a)):!1};_.JN.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.$Zc=function(a,b){IN.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.L(_.$Zc,IN);_.$Zc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.$Zc.prototype.h4=function(a){a>=this.O?this.NF():null==this.H&&a_c(this)};_.$Zc.prototype.UEa=function(a,b){0<b?a_c(this):this.H=null};var a_c=function(a){a.H=Date.now()-1;_.n.setTimeout(a.NF.bind(a),a.V)};
_.KN=function(){this.ij=[]};_.g=_.KN.prototype;_.g.add=function(a,b){b?this.ij.unshift(a):this.ij.push(a);return!0};_.g.Osa=function(a){return _.Ba(this.ij,0,a)};_.g.Ld=function(){return this.ij.length};_.g.cancel=function(a){return _.wa(this.ij,function(b){return b.xv.config.requestId===a?(b.ke.resolve(jWc(b.xv.request)),!0):!1})};_.g.dK=function(){return _.ag(this.ij,function(a){return _.VM(a.xv.request)})};
var b_c=function(){IN.call(this,"Immediate")};_.L(b_c,IN);b_c.prototype.max=function(){return Infinity};b_c.prototype.h4=function(){this.NF()};
var c_c=function(){IN.call(this,"One Request")};_.L(c_c,IN);c_c.prototype.max=function(){return 1};
_.LN=function(a){IN.call(this,"Parallel");this.limit=a;this.H=0};_.L(_.LN,IN);_.LN.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.LN.prototype.h4=function(){this.H<this.limit&&this.NF()};_.LN.prototype.UEa=function(a){this.H+=a.length};_.LN.prototype.T0a=function(a){this.H-=a.length;this.H<this.limit&&this.NF()};
var d_c=function(){_.ri.apply(this,arguments)};_.L(d_c,_.ri);var f_c=function(a,b){a.dispatchEvent(new e_c(b))};d_c.prototype.O=function(){};var e_c=function(a){_.gi.call(this,"Nb");this.request=a};_.L(e_c,_.gi);
_.MN=function(a,b,c,d,e,f){_.ri.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 _.Ee(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){g_c(h,!0,k.request)});this.ka=_.tt("drive.ds.network.queue.Queue [%s]",f)};_.L(_.MN,_.ri);_.MN.prototype.add=function(a){return g_c(this,!1,{xv:a,ke:_.Th(),BD:[]})};
_.MN.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};_.MN.prototype.dK=function(){return this.V.dK()?!0:this.buckets.some(function(a){return a.dK()})};
var g_c=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.$p(new _.kc,"No queue bucket accepted request."),_.Rh(_.$A(a));for(var d=h_c(a),e=0;e<a.H.length;e++)a.H[e].h4(d);return c.ke.promise};_.g=_.MN.prototype;
_.g.O_a=function(){var a=h_c(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].Osa(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.owb.bind(this,a[e]),this.nwb.bind(this,a[e]));e=h_c(this);for(var f=0;f<this.H.length;f++)this.H[f].UEa(a,e);_.Uh(_.qL(d).then(this.mwb.bind(this,a)),function(){b.W.delete(c)});_.n.setTimeout(this.O_a.bind(this),0)};
_.g.owb=function(a,b){var c=a.xv.config;this.log(iWc(a.xv.request)+" request completed successfully. xd4: "+!(!c||!c.LN));this.H.forEach(function(d){return d.KMa()});this.O.forEach(function(d){return d.O(a)});a.ke.resolve(b)};
_.g.nwb=function(a,b){b=_.$A(b);this.log(iWc(a.xv.request)+(" request failed with error: "+b.ha+"."));a.BD.push({response:b,qRb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].S0a(a);a.xv.config.QEa||!this.O.some(function(d){return d.intercept(a)})?a.ke.reject(b):this.log(iWc(a.xv.request)+" encountered an error, but was intercepted to be retried.")};_.g.mwb=function(a){h_c(this);for(var b=0;b<this.H.length;b++)this.H[b].T0a(a)};
var h_c=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};_.MN.prototype.log=function(a){this.ha.info(this.ka,a)};
_.i_c=function(a,b,c,d){d_c.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.bk(a,21,1E3);this.oa=_.bk(a,1,1);this.ma=function(){return new _.XZc(_.bk(a,63,1E3),_.bk(a,64,3E5),_.bk(a,65,10))}};_.L(_.i_c,d_c);
_.i_c.prototype.intercept=function(a){var b=a.BD.length,c=0<b&&_.fa(a.BD).response||null;if(c){c=_.QL(c);if(2===c.Ip())return j_c(this,a);if(_.UUc(c))return 2>=b?(f_c(this,a),a=!0):a=!1,a;var d=c.mk();if(3===d||31===d||13===d||9===d)return k_c(this,a,b);if(GVc(c))return b=YZc(this.V),c=this.V,YZc(c)<c.xK?(this.log("Backoff number "+b+" for a User Rate Limit error."),f_c(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var j_c=function(a,b){var c=l_c(a,b),d=YZc(c);if(YZc(c)<c.xK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Te()?(d=c.H.Ya(),_.n.setTimeout(function(){return f_c(a,b)},d),_.rH(c.H)):(_.n.setTimeout(function(){return f_c(a,b)}),c.V++),!0;a.H.delete(b);return!1},l_c=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},k_c=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 f_c(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.i_c.prototype.O=function(a){this.H.delete(a)};_.i_c.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var m_c=function(a){try{if("undefined"!==typeof FileReaderSync&&_.VUc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.fxb,d=aYc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.dxb(_.bM(e),"reading data"))}},n_c=function(a){return m_c(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var o_c=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.ke=_.Th();this.finished=!1;this.Ba=this.zu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Bz();a=_.VUc()&&a?_.B(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.rO="progress_"+this.requestId;h.rO=this.rO;this.ma=!!f.metadata};
o_c.prototype.log=function(a){this.Ja.info("drive.ds.sync.request.ResumableUpload",a)};o_c.prototype.start=function(){var a=this,b=new bWc(this.request.request,this.request.metadata),c=p_c(this);this.Ha.then(function(d){return d.Se(b,c)}).then(function(d){a.ha=d.O;a.va=d.H;a.Fa=d.V;q_c(a)},function(d){return void a.ke.reject(d)});return _.Uh(this.ke.promise.then(function(d){r_c(a,d);return d},function(d){d=_.$A(d);r_c(a,d.Og);return _.Rh(d)}),function(){sZc(a.H,[a.rO])})};
var p_c=function(a){var b=_.$a(a.config);rZc(a.H,a.rO,DXc(function(){return void a.H.notify([a.requestId],0)}));return b};o_c.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.ke.resolve(jWc(this.request)),!0)};
var q_c=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),s_c(a,4))},s_c=function(a,b){t_c(a).then(function(c){if(c){var d=u_c(a,c.blob.size);a.Ha.then(function(f){return f.Se(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.oa+=h;a.Ba++;f.XJ()&&(a.va=f.XJ());f.WM()&&(a.Fa=f.WM());a.progress<a.fileSize?q_c(a):a.ke.resolve(f)},function(f){if(d.QEa)a.cancel();else{var h=_.QL(f);h.YBa()||h.wla()||a.ma?v_c(a,b,h,!1):n_c(c.blob).then(function(k){k=k?_.oEa.get(k)||
25:38;_.$L(h,k);k=38===h.Ip();var l=38!==h.Ip()&&25!==h.Ip();v_c(a,b,h,k,l)},function(){})}})}else{var e=_.$A(_.$L(_.$p(new _.kc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.ke.reject(e)}})},v_c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Ifa(f);!e&&0<b?(a.zu++,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+"."));s_c(a,b)},a.Oa*Math.pow(1.5,f))):a.ke.reject(_.$A(c))},t_c=function(a,b){return a.ma&&a.V?_.Ph(a.V):w_c(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return t_c(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 cWc(a.ha,c,a.oa,a.oa+c.size-1,a.finished,a.request.request.getMimeType(),_.B(a.request.request,
12)||void 0);return a.V})},w_c=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.jQ?a.request.jQ(b,a.O):_.Ph(_.FVc(a.request.file,b,b+a.O))},u_c=function(a,b){var c=_.$a(a.config);c.CRa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;sZc(a.H,[a.rO]);rZc(a.H,a.rO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},r_c=function(a,b){b.LMa(3);b.Ifa(a.zu);b.XJ()||b.$ca(a.va);b.WM()||b.Qca(a.Fa)};
_.x_c=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.x_c.prototype.create=function(a,b){return new o_c(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.y_c=function(a){this.O=a;this.H={}};_.y_c.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].xv.request instanceof _.dWc)b.push(z_c(this,a[c].xv));else{var d=_.$p(new _.kc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.$A(d)))}return b};_.y_c.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.y_c.prototype.dK=function(){return!_.Va(this.H)};
var z_c=function(a,b){var c=a.O.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Uh(d,function(){delete a.H[e]})};
_.A_c=function(a,b){return new _.MN(b,a,[new b_c],[new _.KN],[],"immediate")};_.B_c=function(a,b,c,d,e){return new _.MN(e,a,[_.WZc(d),new _.JN(c,e),new c_c],[new _.KN],[new _.i_c(b,c,d.Ij(),e)],"connected")};_.C_c=function(a,b,c,d,e,f,h){h=void 0===h?_.bk(b,10,50):h;return new _.MN(e,a,[_.WZc(d),new _.$Zc(h,_.bk(b,12,10)),new _.LN(3*h),new _.JN(c,e)],[new _.KN],[new _.i_c(b,c,d.Ij(),e)],f)};_.D_c=function(a,b,c){b=_.bk(b,46,1);return new _.MN(c,a,[new _.LN(b)],[new _.KN],[],"resumable_upload")};
_.E_c=function(a,b,c,d,e,f,h,k){this.kI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.E_c.prototype.Se=function(a,b){return F_c(this,a,b).then(null,function(c){c=_.$A(c);var d=c.Og;kWc(a)||_.bq(d);return _.Rh(c)})};
var F_c=function(a,b,c){c=void 0===c?{}:c;var d=a.kI.validate(b);if(d)return _.Rh(_.$A(d));var e=a.ma.translate(b);e instanceof _.kc?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 _.kc)return _.Rh(_.$A(e));if(Array.isArray(e)){var f=e.map(function(h){return G_c(a,b,h,c)});return _.qL(f)}return G_c(a,b,e,c)},function(f){return _.Rh(_.$A(f))})},
G_c=function(a,b,c,d){var e=H_c(a,c);if(!e)return b=_.$L(_.$p(new _.kc,"Failed to choose a queue for server request."),18),_.Rh(_.$A(b));if(e===a.H[7]||e===a.H[8])d.LN=!0;d=e.add({request:c,config:d});(_.VM(b)||_.VM(c))&&_.Uh(d,function(){var f=a.W;f.O()||(f.H&&(f.H.resolve(),f.H=null),f.V())});b=a.ha.apply(c,d);d.then(function(f){a.ka.apply(c,f)},function(){});return b};_.E_c.prototype.cancel=function(a){return _.Qa(this.H,function(b){return b.cancel(a)})};
var H_c=function(a,b){var c,d=!1;b instanceof _.vM?d=!(null===(c=_.C(b,_.Zz,2))||void 0===c||!_.R(c,7)):b instanceof _.Zz?d=!!_.R(b,7):b instanceof _.JL&&(d=(d=b.wd())&&!!_.R(d,46));return(b instanceof _.gWc||b instanceof _.kL&&_.R(b,9))&&a.H[1]?a.H[1]:b instanceof _.dWc&&a.H[5]?a.H[5]:d&&rWc(b,a.O)&&a.H[7]?a.H[7]:rWc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.vM||b instanceof _.Zz)&&a.H[6]?a.H[6]:(d||JZc.includes(b.constructor))&&a.H[3]?a.H[3]:lWc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var I_c=function(a){this.H=a};I_c.prototype.build=function(a,b){var c="====="+_.Mg()+"=====",d=a[0].Vm,e=b.every(function(l){return l.LN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=yZc(this.H,a[0].Vm);_.ij(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=J_c[d],h=K_c[d]||{},h["content-type"]=_.tt('multipart/mixed; boundary="%s"',c),d=L_c[d],k=new _.bj("");a=M_c(this,a,b,c,e);return{Vm:f,body:a,headers:h,method:d,uri:k}};
var M_c=function(a,b,c,d,e){for(var f=PVc(N_c[b[0].Vm]||{}),h="",k=0;k<b.length;k++){e&&wZc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=xZc(p,q.Vm,q.uri);switch(q.Vm){case 0:case 5:vZc(p,q,r);uZc(p,q,r);break;case 2:wZc(p,q,r);vZc(p,q,r);var u=q,y=_.B(p.H.Zf(),57);u.headers.host=_.mj(y).H;u.headers.origin=_.n.location.origin?_.n.location.origin:_.n.location.protocol+"//"+_.n.location.host;uZc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ze`"+q.Vm);default:throw Error("Ye`"+
q.Vm);}p=l;q=p.uri.clone();_.cj(q,"");_.dj(q,"");_.ej(q,null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+PVc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},O_c={},J_c=(O_c[0]=1,O_c[2]=3,O_c),P_c={},L_c=(P_c[0]="POST",P_c[2]="PUT",P_c[12]="POST",P_c),Q_c={},R_c={},K_c=(R_c[2]=(Q_c["x-goog-upload-protocol"]="batch",Q_c),R_c),S_c={},T_c={},U_c={},V_c={},N_c=(V_c[0]=(S_c["content-type"]="application/http",S_c["content-transfer-encoding"]="binary",S_c),V_c[12]=
(T_c["content-type"]="application/http",T_c["content-transfer-encoding"]="binary",T_c),V_c[2]=(U_c["content-type"]="application/http",U_c),V_c);
var W_c=/^HTTP\/1\.1 (\d+) ([\w ]+)/,X_c=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var Y_c=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.ij=new Map};Y_c.prototype.add=function(a,b){var c="DEFAULT";b.LN&&(c=yZc(this.V,a.Vm).toString());this.ij.has(c)||this.ij.set(c,[]);c=this.ij.get(c);if(1<=c.length&&!b.LN&&!J_c[a.Vm])return a=_.$p(new _.kc,"Unsupported batch API: "+a.Vm),_.Rh(_.$A(a));var d=_.Th();c.push({request:a,config:b,ke:d});return d.promise};
Y_c.prototype.send=function(){var a=this;this.ij.forEach(function(b,c){try{Z_c(a,b)}catch(f){var d=_.aq(_.$p(new _.kc,"Error executing XHR: "+f.message),f.stack),e=_.$A(d);b.forEach(function(h){h.ke.reject(e)});a.ij.delete(c)}})};
var Z_c=function(a,b){if(1===b.length){var c=b[0];if(!c.config.yCa&&!c.config.LN){var d=!1;if(J_c[c.request.Vm]){var e={Vm:c.request.Vm,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){$_c(a,c);return}}}a0c(a,b)},$_c=function(a,b){var c=b.ke;a.W.Xg(b.request,b.config).then(function(d){c.resolve(d);b0c(a,b)},function(d){a.handleError(b,d);c.reject(_.$A(d))})},a0c=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.Xg(a.ha.build(c,d),{yCa:!0,LN:d.every(function(e){return e.LN})}).then(function(e){e.headers=_.sVc(e.headers);var f=X_c.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.lc("Could not extract batch boundary.",_.$L(_.aq(new _.kc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.Ad(_.cia(h[0]),f)&&_.ae(h[1]))h=_.cia(h[0]).substring(f.length);else throw new _.lc("Could not parse batch response; did not begin and end with boundary.",
_.$L(_.aq(new _.kc,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],H=p&&p.uri,I=D.split("\r\n\r\n");if(2>I.length)u=new _.lc("Individual batch response contained too few parts.",_.$L(_.aq(new _.kc,D),17));else{var M=I[1].split("\r\n");if(y=W_c.exec(M[0])){p=_.Rg(y[1]);y=y[2];M.shift();z=_.$a(z);for(var Q=Object,W=Q.assign,pa={},ia=0;ia<M.length;ia++){var na=_.lia(M[ia],":",1);na&&2===
na.length&&(pa[(0,_.cg)(na[0])]=(0,_.cg)(na[1]))}M=_.sVc(pa);W.call(Q,z,M);try{u=_.ae(_.Lg(I[2]))?void 0:JSON.parse(I[2])}catch(qa){}u=(p=_.xVc(p,y,z,D,u,void 0,void 0,H&&H.toString()))?_.$A(p):{headers:z,text:D,json:u||void 0}}else u=new _.lc("Could not extract HTTP status code and text.",_.$L(_.aq(new _.kc,D),16))}r.call(q,u)}return k}).then(null,function(e){e=_.$A(e);return _.BSc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].ke,l=e[h];l instanceof _.kc||l instanceof
_.lc?(l=_.$A(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||b0c(a,b[0])})},b0c=function(a,b){var c=b.request.Vm;b=!b.config.ku&&_.ma(c0c,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=DZc(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()};
Y_c.prototype.handleError=function(a,b){a=_.btb(b);if(2===a.Ip()){if(this.H)return _.FZc(this.H),!0}else if(_.UUc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.EZc(a);return!0}if(this.O)return this.O.oa(),!0}return!1};var c0c=[0,2,4,7,8];
var d0c=function(){_.Yi.apply(this,arguments)};_.L(d0c,_.Yi);d0c.prototype.getAllResponseHeaders=function(){return _.cia(_.Yi.prototype.getAllResponseHeaders.call(this))};
var e0c=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};_.g=e0c.prototype;_.g.Xg=function(a,b){try{this.W.tc(a,b);var c=new d0c;c.oC=!0;var d=b.requestId||"",e=_.Th();c.listen("complete",this.Bab.bind(this,c,e,d,b.yCa,4===a.Vm));d&&b.rO&&!b.LN&&(this.O[d]=c,this.H[d]=b,c.Gb=!0,c.listen("uploadprogress",(0,_.v)(this.Zzb,this,b)),b.CRa||c.listen("downloadprogress",(0,_.v)(this.Yvb,this,b)));c.send(a.uri,a.method,a.body,a.headers);return e.promise}catch(f){return _.Rh(_.$A(f))}};
_.g.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.QEa=!0,b.abort(),!0):!1};_.g.Bab=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.O[c],delete this.H[c]);c={headers:_.Zla(a),text:a.Sk()};if(!d)try{c.json=_.mL(a)}catch(f){}d=_.xVc(a.Ab(),_.Wla(a),c.headers,c.text,c.json,a.O,_.$la(a),String(a.oa),e);a.dispose();d?b.reject(_.$A(d)):b.resolve(c)};_.g.Zzb=function(a,b){b.lengthComputable&&this.V.notify([a.rO],a.CRa?b.loaded/b.total:b.loaded/b.total/2)};
_.g.Yvb=function(a,b){b.lengthComputable&&this.V.notify([a.rO],b.loaded/b.total/2+.5)};
_.f0c=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 I_c(this.O);this.W=new e0c(this.O,this.va)};_.g=_.f0c.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].xv;this.V.push(e);b.push(this.Ba.BE(e,a[d].BD));c.push(KZc(e.request)?_.OZc(this.ma,e.request):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.$A(_.xVc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new Y_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={mra:e.mra},k++){e.mra=a[k].xv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.mra)}}(e));
d.push(l)}Promise.allSettled(b).then(function(){h.send()});b=[];for(e=0;e<a.length;e++)k=a[e].xv,l=d[e].then(this.dob.bind(this,k.request,c[e],a[e].BD)).then(null,function(p){return Promise.reject(_.$A(p))}),l.then(this.MMa.bind(this,k),this.MMa.bind(this,k)),b.push(l);return b};_.g.dob=function(a,b,c,d){a=this.oa.BE(a,d,c);b&&(c=a.Fd?a.Fd():[],_.PZc(b,c));return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.dK=function(){return this.V.some(function(a){return _.VM(a.request)})};
_.g.MMa=function(a){_.va(this.V,a)};
_.g0c=function(){};_.g0c.prototype.execute=function(){return null};
var h0c;h0c=function(a){this.H=a};_.NN=function(a,b){if(!_.Ca(b))throw new _.lc("Expected an object, but got a "+_.Lfa(b)+".",_.aM(11,void 0,8));var c=b.kind;if(!c)throw new _.lc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.aM(11,void 0,21));if(!a.includes(c))throw new _.lc("Expected "+a.join(" or ")+" but got a "+c+".",_.aM(11,void 0,9));};_.ON=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.i0c=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.xWc(new _.Tk,a.canAddChildren);c=_.A(c,18,a.canChangeTeamDriveBackground);c=_.A(c,2,a.canComment);c=_.A(c,3,a.canCopy);b=_.GWc(_.BWc(_.HWc(_.IWc(_.JWc(_.FWc(_.EWc(_.AWc(_.zWc(_.yWc(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=_.KWc(_.DWc(_.CWc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.A(b,27,a.canModifyContentRestriction);b=_.A(b,26,a.canShareOutsideDomain);b=_.NWc(_.MWc(_.LWc(_.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=_.PWc(_.OWc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.A(b,44,a.canRead);b=_.SWc(_.RWc(_.QWc(_.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)};_.PN=function(a,b){_.NN(["drive#user"],b);var c=_.vWc(_.wWc(_.tWc(1).Pb(b.permissionId),b.id).jd(b.displayName),b.emailAddress);b.picture&&c.ho(b.picture.url);_.IL(a.H)&&_.vWc(c,b.emailAddressFromAccount||b.emailAddress);_.uWc(c,a.Nf(b.id));_.A(c,9,b.domain);return c};h0c.prototype.Nf=function(a){if(a)return _.gN(_.DL(this.H))==a};
var j0c,p0c,E0c,m0c,u0c,t0c,v0c,x0c,z0c,l0c,B0c,A0c,C0c,D0c,G0c,H0c,F0c,w0c;j0c=function(a,b){this.H=a;this.O=b};
_.n0c=function(a,b,c){var d=new _.HN,e=new _.QA,f=e.Ow;_.NN(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.k0c(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var p=_.k0c(a,k[l]);h.push(p)}e=f.call(e,h);e=_.A(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.NN(["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 _.Frb).Dc(l0c[p.status]);
r=_.A(r,1,p.original);p=_.A(r,3,p.correction);a.push(p)}k=new _.Jrb;a=_.Nj(k,1,a);f.push(a)}q=new _.Lrb;_.Nj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.Hrb;_.Kj(u,1,f)}q||u?(f=new _.Mrb,q&&_.J(f,1,q),u&&_.J(f,2,u),u=f):u=null;_.J(e,7,u);u=m0c(b);_.Kj(e,18,u)}d=_.QZc(d,e);c=_.uVc(c);c=_.A(d,2,c);b.nextPageToken&&_.A(c,3,b.nextPageToken);return c};
p0c=function(a,b,c,d,e){_.NN(["drive#adminFile","drive#file","drive#revision"],b);var f=_.ZXc(new _.UM,c);"drive#adminFile"==b.kind?(_.NN(["drive#adminFile"],b),c=(new _.Yk).Pb(b.id),b.parentId&&_.bN(c,[b.parentId]),_.iXc(c,b.teamDriveId),f.setItem(c),_.ZXc(f,c.getId())):"drive#file"==b.kind?(b=_.k0c(a,b),f.setItem(b),c||_.ZXc(f,b.getId())):"drive#revision"==b.kind&&(b=_.o0c(a,b),_.J(f,4,b));f.$ca(_.tVc(d));f.Qca(_.uVc(d));(d=(d=d&&_.sVc(d))&&d["x-server-object-version"])&&e&&(e=(new _.lN).Pb(d),
_.J(f,4,e));f.Dc(1);return f};_.q0c=function(a,b){return _.ZXc(new _.UM,a).Dc(1).$ca(_.tVc(b)).Qca(_.uVc(b))};_.s0c=function(a,b,c,d){d||_.NN(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.r0c(a,b[c],d);f&&e.push(f)}return e};
_.r0c=function(a,b,c){c||_.NN(["drive#permission"],b);c=_.uWc(_.wWc(_.tWc(t0c[b.type]).Pb(b.id),b.userId),a.H.Nf(b.userId));c=_.A(c,4,b.withLink);c=_.vWc(c.jd(b.name).ho(b.photoLink),b.emailAddress);c=_.A(c,9,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);_.IL(a.O)&&c.jd(b.nameIfNotUser);a=u0c[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};
_.k0c=function(a,b){_.NN(["drive#file"],b);var c=b.title,d=(new _.Yk).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=_.gXc(_.cXc(_.PF(_.bN(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.lm(b.description);_.dXc(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.zv(d.starred),_.A(c,6,d.hidden),c.Jn(d.trashed),_.$Wc(c,d.restricted),_.A(c,9,d.viewed));_.A(c,10,_.ON(b.createdDate));_.A(c,69,_.ON(b.serverCreatedDate));_.PTb(c,_.ON(b.modifiedDate));_.A(c,12,_.ON(b.modifiedByMeDate));_.A(c,13,_.ON(b.lastViewedByMeDate));_.A(c,23,_.ON(b.sharedWithMeDate));_.A(c,62,_.ON(b.subscribedDate));_.A(c,70,_.ON(b.recency));b.recencyReason&&_.A(c,71,v0c[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.PN(a.H,
e[f]))&&d.push(h);_.aXc(c,d);b.lastModifyingUser&&(d=_.PN(a.H,b.lastModifyingUser),_.bXc(c,d));b.userPermission&&_.QTb(c,u0c[b.userPermission.role]);b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.ZM).uh(e.width).th(e.height),d=_.A(d,4,e.rotation),e.date&&(e=e.date,f=new _.BUc,f.setMilliseconds(0),w0c.parse(e,f),_.A(d,1,f.getTime())),_.J(c,27,d));null!=b.folderColor&&_.fXc(c,Number(b.folderColor));_.eXc(c,b.subscribed);_.A(c,45,b.fileExtension);_.Kj(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=_.PN(a.H,b.sharingUser),_.J(c,47,d));b.sources?_.Kj(c,56,b.sources):b.gplusMedia&&_.Kj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.pSc[h]&&(h=_.Ue(new _.Te,_.pSc[h]),e.push(h));c.rA(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 _.Ena).Pb(h.id);h=_.A(k,2,x0c[h.type]);e.push(h)}_.Nj(c,83,e)}b.capabilities&&_.cN(c,_.i0c(b.capabilities));b.permissionsSummary&&_.jXc(c,_.y0c(a,b.permissionsSummary));b.headRevisionId&&_.A(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.$M).lm(d.description),
e=_.A(e,3,z0c[d.galleryState]),d=_.Kj(e,2,d.category),_.J(c,86,d));_.iXc(c,b.teamDriveId);_.A(c,76,b.hasAugmentedPermissions);_.A(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.PN(a.H,b.creator),_.J(c,91,d));_.kXc(c,b.primaryDomainName);_.lXc(c,b.organizationDisplayName);_.A(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.PN(a.H,b.trashingUser),_.J(c,95,d));c.gda(_.ON(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,A0c[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.aN).uh(d.width).th(d.height),d.durationMillis&&_.A(e,3,Number(d.durationMillis)),_.J(c,103,e));_.Kj(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=_.VWc(_.UWc(new _.Vk,f.readOnly),f.reason),d.push(f);_.Nj(c,125,d)}if(d=b.publishingInfo)_.A(c,118,d.published),_.A(c,119,d.publishedUrl);_.Kj(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 _.Gna).Pb(f.approvalId).Dc(B0c[f.status]),d.push(f);_.Nj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Qna,e=_.A(e,1,d.targetId),e=_.A(e,3,d.targetMimeType),e=_.A(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.A(e,4,C0c[d.targetLookupStatus]||0),d.targetFile&&(d=_.k0c(a,d.targetFile),_.J(e,5,d)),_.J(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.YM,e=_.A(e,1,D0c[d.encryptionState]),d.decryptionMetadata&&(d=E0c(d.decryptionMetadata),_.J(e,2,d)),_.J(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Hna,e=_.A(e,2,d.securityUpdateEligible),e=_.A(e,3,d.securityUpdateEnabled),d=_.A(e,5,d.securityUpdateExplicitlySet),_.J(c,139,d));_.A(c,140,b.resourceKey);_.Kj(c,135,b.authorizedAppIds);
_.mXc(c,b.customerId);_.A(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&_.A(c,145,F0c[b.abuseNoticeReason]);_.OVc(c);_.IL(a.O)&&_.hXc(c,5);return c};
_.o0c=function(a,b){_.NN(["drive#revision"],b);var c=(new _.lN).Pb(b.id);c=_.A(c,2,b.mimeType);c=_.A(c,3,_.ON(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=_.PN(a.H,b.lastModifyingUser),_.J(c,9,a));b.decryptionMetadata&&(b=E0c(b.decryptionMetadata),_.J(c,10,b));return c};
_.y0c=function(a,b){a=_.YWc(_.XWc(_.WWc(new _.Lna,b.entryCount),_.s0c(a,b,"visibility",!0)),_.s0c(a,b,"selectPermissions",!0));a=_.A(a,4,b.memberCount);a=_.A(a,5,b.userEntryCount);return _.A(a,6,b.groupEntryCount)};E0c=function(a){var b=a.wrappedKey;var c=new _.TWc;b=b?_.FXc(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,G0c[a.aes256GcmChunkSize]);c=_.A(c,6,H0c[a.keyFormat]);return _.A(c,4,a.jwt)};
m0c=function(a){_.NN(["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};u0c={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};t0c={anyone:4,audience:5,domain:3,group:2,user:1};v0c={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};x0c={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};z0c={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};l0c={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};
B0c={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};A0c={docs:1,sheets:2,slides:3};C0c={ok:1,notFound:2,permissionDenied:3};D0c={unencrypted:1,encrypted:2};G0c={unset:0,"default":1,small:2,size16kb:3};H0c={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};F0c={UNKNOWN_REASON:0,ACCESSIBLE_ONLY_TO_OWNER:1,ACCESSIBLE_ONLY_TO_OWNING_CUSTOMER:2,SUSPICIOUS_OTHER:3,SUSPICIOUS_PHISHING:4,SUSPICIOUS_MALWARE:5};w0c=new _.GVa("yyyy:MM:dd HH:mm:ss");
var L0c;_.I0c=function(a){this.V=new h0c(a);this.lF=new j0c(this.V,a)};_.I0c.prototype.BE=function(a,b,c){c=void 0===c?[]:c;try{return J0c(this,a,b,c)}catch(d){_.cM(d)}};
var J0c=function(a,b,c,d){var e=a.ha(b,c);if(e)return e;if(b instanceof _.jM)return _.K0c(a,b,c);if(b instanceof _.sM)return L0c(0,c,d);if(b instanceof _.Zz||b instanceof _.vM){if(!c.json)throw _.QN();return _.n0c(a.lF,c.json,c.headers)}if(b instanceof _.RM)return _.K0c(a,b,c);if("undefined"!=typeof _.ZVc&&b instanceof _.ZVc){if(!c.json)throw _.QN();a=c.json;return new _.nYc(a.fileId,a.jwt,Number(a.currentKaclsId),a.currentKaclsName,a.customerId)}if("undefined"!=typeof _.M0c&&b instanceof _.M0c){if(!c.json)throw _.QN();
return _.o0c(a.lF,c.json)}if(b instanceof _.GM)return L0c(b.wd(),c,d);if(b instanceof cWc){if(b.V){if(!c.json)throw _.QN();a=p0c(a.lF,c.json,null,c.headers,!!b.revisionId)}else a=_.q0c(null,c.headers);return a}if(b instanceof bWc){a=_.sVc(c.headers);b=a.location;if(!b)throw a=_.$L(new _.kc,10),new _.lc("No upload session URI included.",a);return new oYc(b,_.tVc(a),_.uVc(a))}if(b instanceof _.gWc)return new pYc;throw new _.lc("FromXhrConverter: Unsupported request type.",new _.kc);};
_.I0c.prototype.ha=function(){return null};L0c=function(a,b,c){return"base64"===b.headers["x-goog-safety-encoding"]?new qYc(_.Eaa(b.text),c.length):new qYc(new Uint8Array(_.oma(b.text)),c.length)};_.K0c=function(a,b,c){if(!c.json){if(b instanceof _.TL)return _.q0c(_.N0c(b));throw _.QN();}var d=!1;b instanceof _.RM&&(d=!!_.B(b.request,12));return p0c(a.lF,c.json,_.N0c(b),c.headers,d)};_.QN=function(){var a=_.$L(new _.kc,11);return new _.lc("FromXhrConverter: JSON required, but none found",a)};
_.N0c=function(a){return a.getId?a.getId():a.Cc?a.Cc():null};
var R0c,S0c,U0c,O0c,V0c,P0c;
R0c=function(a,b){var c={};_.ae(_.Lg(a.getTitle()))||(_.B(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.getMimeType()&&(c.mimeType=a.getMimeType(),a.Cc()&&_.Lea(a.getMimeType())&&b)){var d=b.V(),e=b.O(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.sj(b.ka()),h.kaclsId=b.ma(),h.aes256GcmChunkSize=O0c[d?d.O():0],h.keyFormat=P0c[e?e.O():0],h);c.clientEncryptionDetails=f}_.Q0c(c,_.Md(a,3));(b=a.Cc())&&(c.id=b);_.B(a,16)&&(c.embeddingParent=_.B(a,16));a.a2()&&
(c.shortcutDetails={},c.shortcutDetails.targetId=a.a2());"number"===typeof _.B(a,26)&&(c.modifiedDate=_.vXc(_.uYc(_.B(a,26)||0)));return c};_.Q0c=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)}}};S0c={};_.T0c=(S0c[1]="active",S0c[2]="archived",S0c);U0c={};O0c=(U0c[0]="unset",U0c[1]="default",U0c[2]="small",U0c[3]="size16kb",U0c);V0c={};P0c=(V0c[0]="unsetKeyFormat",V0c[1]="tinkKeyset",V0c[2]="tinkAesGcmKey",V0c);
var Y0c=function(a,b,c){return(a.jQ?a.jQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return m_c(d)}).then(function(d){return W0c(a,b,d,c)},X0c)},W0c=function(a,b,c,d){var e=!!_.B(a.request,12),f="files";e&&(f+="/"+_.B(a.request,12));f=new _.bj(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",_.JVc({fields:_.oN(b).filter(function(q){return 194!=q}),jr:!1}));
QVc(f,a.request.we());var h=R0c(a.request,a.metadata),k=_.Mg();b={};b=(b["content-type"]=_.tt('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());_.XM(d,_.Uj(a.request,_.Cl,28),[],null,b);a="--"+k;a=a+"\r\n"+PVc(l)+"\r\n"+h+"\r\n"+a+"\r\n"+PVc(p)+"\r\n"+c+"\r\n"+
a+"--";return{Vm:2,headers:b,method:e?"PUT":"POST",uri:f,body:a}},X0c=function(a){if(a instanceof _.dxb){var b=new _.kc;_.$p(b,"fs.Error: "+a.message);a=(a=a.name)?_.oEa.get(a)||25:38;_.$L(b,a);b=_.$A(b)}else b=_.bM(a);return Promise.reject(b)};
_.TN=function(a,b,c,d){this.H=a;this.Ig=b;this.O=c;this.Cd=d;this.ka=_.SL(a)||new _.WUc};_.TN.prototype.BE=function(a,b){try{return a.request instanceof _.RM?Y0c(a.request,this.Ig,this.H):Promise.resolve(this.V(a.request,a.config,b))}catch(c){return c instanceof _.lc?a=c.Og:(a=new _.kc,_.$p(a,"Error converting XHR: "+c.message),_.aq(a,c.stack),_.$L(a,4)),Promise.reject(a)}};
_.TN.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.jM){h=(e=!!_.B(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.B(a,12),k.pinned=!!_.S(a,13,!1));null!=_.R(a,8)&&(k.convert=_.R(a,8));k.fields=_.JVc({fields:this.Kg(c),jr:_.CL(_.DL(this.H)),zG:_.IL(this.H)});e=R0c(a);f["content-type"]="application/json";var r=a.we();p=!0;_.nN(k);_.Z0c(this.H,k);_.XM(this.H,_.Uj(a,_.Cl,28),_.Md(a,3).concat([_.B(a,16),a.a2(),a.Cc()]),this.O,f)}else if(a instanceof _.sM||a instanceof
_.GM)a instanceof _.GM?(l=a.wd(),_.P(a,2)&&(q="bytes="+_.B(a,2)+"-",_.P(a,3)&&(q+=_.B(a,3)),f.range=q)):l=a,q="files/"+l.getId(),_.B(l,2)&&(k.revisionId=_.B(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.XM(this.H,[_.Dl((new _.Cl).Pb(l.getId()),_.B(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.vM||a instanceof _.Zz){if(a instanceof _.vM)q=_.B(a,1),a=_.C(a,_.Zz,2);else if(a instanceof _.Zz)q=0,_.EN(this.Cd,190196159);else throw Error("Xf");p=a.an()[q];q="files/"+
p;r=_.xa(this.Kg(c),this.Kg(c,a.O()));_.Fa(r);k.fields=_.JVc({fields:r,jr:_.CL(_.DL(this.H)),zG:_.IL(this.H)});_.nN(k);_.$0c(this.H,k);_.a1c(this.H,k);this.W(p,k);r=a.we();p=!0;_.R(a,7)&&(b.yCa=!0);_.XM(this.H,_.Uj(a,_.Cl,11),a.an(),this.O,f)}else if("undefined"!=typeof _.ZVc&&a instanceof _.ZVc)q="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.M0c&&a instanceof _.M0c)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 cWc){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?_.tt("bytes %d-%d/%d",u,b,b+1):_.tt("bytes %d-%d/*",u,b)}u=a.blob;p=!0}else a instanceof bWc?(d=2,h=(e=!!_.B(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.B(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=_.JVc({fields:this.Kg(c).filter(function(y){return 194!=
y}),jr:_.CL(_.DL(this.H)),zG:_.IL(this.H)}),_.nN(k),e=R0c(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.XM(this.H,[],_.Md(a.request,3),this.O,f),r=a.request.we(),p=!0):a instanceof _.gWc?(q="about",k.fields="kind",r=a.H,p=!0):_.b1c(a);p&&_.c1c(c,k);0!=d||l||r&&_.B(r,1)||_.EN(this.Cd,74438989);return _.d1c(this,d,q,k,f,h,r,e,u)};
_.d1c=function(a,b,c,d,e,f,h,k,l){c=new _.bj(c);[10,12,13].includes(b)||QVc(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{Vm:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.$0c=function(a,b){_.S(a.Zf(),23,!1)&&(b.includePermissionsForView="published")};_.TN.prototype.W=function(){};
_.a1c=function(a,b){_.S(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.Z0c=function(a,b){_.S(a,3,!1)&&(b.enforceSingleParent=!0)};_.c1c=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.fa(a).qRb):b.retryCount=0};_.TN.prototype.Kg=function(a,b){b||(b=_.oN(this.Ig));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return XXc.includes(c)}));return b};_.b1c=function(a){var b=_.$L(new _.kc,4);throw new _.lc("ToXhrConverter: Unsupported request type: "+iWc(a),b);};
_.UN=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.va=e;this.oa=f;this.ij={};this.ha={};this.Cd=null;_.we(this,function(){h.hG()})};_.L(_.UN,_.ri);_.UN.prototype.oQ=function(){return _.oL()};
_.UN.prototype.upload=function(a,b,c,d){NZc(this.V,"UploadTotalCount");var e=a.ej();if(e&&this.ij[e])throw new _.lc("Upload requested with a duplicate request ID.");var f=_.Md(a,10);if(f&&f.length){if(1!==f.length)throw new _.lc("Multi-parented uploads are not supported.");var h=this.ij[f[0]];if(!h)throw new _.lc("The parent upload request must precede this request.");}!_.B(a,26)&&b&&b.lastModified&&_.A(a,26,b.lastModified);e||(e=this.oQ(),_.A(a,9,e));a=a.clone();f=e1c(this,e);this.ij[e]={request:a,
file:b,Ag:f,IM:!1,zu:0,success:!1,yE:!1,children:[],metadata:c,Ila:void 0,jQ:d};h?f1c(this,e,h):this.ka(e);return f.vn()};
var e1c=function(a,b){var c=new _.Vh;c.Sf(_.wb(a.Fa,b),_.wb(a.Ha,b),a);return c},f1c=function(a,b,c,d){var e=a.ij[b];c.children.push(b);_.Fa(c.children);c.Ag.then(function(f){if(1===f.Ab()&&(f=f.Cc(),_.Md(e.request,3).push(f),_.MH(e.request,10),!c.yE||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.Ag.Od(_.HL(f)?f:Error(f))})};
_.UN.prototype.Fa=function(a,b){NZc(this.V,"UploadSuccessCount");a=this.ij[a];a.success=1===b.Ab();(b=a.Ila)&&!a.yE&&(OXc(QXc(LYc(b),a.zu),!0),b.Yj())};_.UN.prototype.Ha=function(a,b){var c=_.C(this.O,_.ZL,58);c&&_.S(c,1,!1)&&(this.ha[a]=b);NZc(this.V,"UploadFailureCount");c=this.ij[a];(a=c.Ila)&&!c.yE&&(OXc(QXc(LYc(a),c.zu),!1),b=(c=b&&b.Og)&&c.mk(),c=c&&c.Ip(),b?PXc(LYc(a),g1c.get(b)||13):c&&PXc(LYc(a),h1c.get(c)||0),a.Yj())};
_.UN.prototype.ka=function(a){var b=this.ij[a];if(!b.IM){b.IM=!0;a=this.ij[a];var c=a.request,d=_.C(this.O,_.ZL,58);d&&_.S(d,4,!1)&&(d=c.getTitle().match(i1c))&&(!d[1]||a.zu<Number(d[1].substr(1)))&&(c=c.clone(),_.sa(_.Md(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Bz())?_.B(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.O.Zf();d=_.bk(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.Ila=f;f=LYc(f);f=_.A(f,1,2===d?2:1);f=_.A(f,4,!!b.metadata);
var h=!!_.B(a,12);f=_.A(f,5,h);e=_.A(f,6,e);c=_.bk(c,32,1073741824);_.A(e,7,c)}}switch(d){case 2:b.file&&j1c(this,new _.dWc(a,b.file,b.jQ,b.metadata),b.Ag,a.ej());break;case 1:b.file&&(c=b.Ag,d=b.file,e=b.metadata,b=b.jQ,f=_.C(this.O,_.nXc,2),j1c(this,new _.RM(a,d,b,f&&_.dN(f)?e:void 0),c,a.ej()));break;case 3:j1c(this,a,b.Ag,a.ej());break;default:throw new _.lc("Upload type ${uploadType} not supported.");}}};
var j1c=function(a,b,c,d){rZc(a.Ba,d,a.ma.bind(a,d));_.Uh(a.W.then(function(e){return e.Se(b,{requestId:d})}).then(null,function(e){return k1c(a,b,e)}),function(){sZc(a.Ba,[d])}).then(c.callback,c.Od,c)},k1c=function(a,b,c){var d=_.$A(c),e=b instanceof _.RM&&b.request.Cc()||"";c=d.Og;if(e&&8===c.mk()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.aA(new _.Zz,[e]);return _.$h(a.W.then(function(h){return h.Se(f)}).then(function(h){h=h.qd().Fd()[0];var k=b.request;if(h&&!h.Rh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.ZXc((new _.UM).setItem(h),e).Dc(1);a.log("No matching item found for: "+e);return _.Rh(d)}))}return _.ai(d)};_.g=_.UN.prototype;
_.g.cancel=function(a){var b=this,c=this.ij[a];if(c&&(!c.yE||0!==c.children.length))if(c.yE=!0,c.Ag.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.Ila;d&&(PXc(OXc(QXc(LYc(d),c.zu),!1),2),d.Yj());var e=_.Th();c.IM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.IM=!0,c.Ag.callback(jWc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.hG=function(){var a=this;_.Ma(this.ij,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.ij[f]){var h=[];do{h.push(f);var k=(_.Md(b.ij[f].request,10)||[])[0];if(k){var l=b.ij[k];if(l.success||!l.Ag.ag()||e[k])break;else if(!c.has(k)){e[f]=new _.lc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ha(h,function(p){var q=b.ij[p];q.zu++;if(!e[p])if(!q.Ag.ag()||q.success)e[p]=new _.lc("Unable to retry request.");else{var r=(_.Md(q.request,10)||[])[0];e[r]instanceof _.lc?
e[p]=e[r]:(q.Ag=e1c(b,p),q.IM=!1,q.yE=!1,(r=r?b.ij[r]:null)?f1c(b,p,r,!0):d.push(p),e[p]=q.Ag.vn())}})}else e[f]=new _.lc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Vh?f:_.ai(f)});_.Ka(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.wd=function(a){return this.ij[a]};var i1c=/^uploadTestFailMe(\.[1-9])?$/,h1c=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),g1c=new Map([[3,14]]);

_.w();

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

_.w();

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

_.w();

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

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.mc=function(a){_.gi.call(this,_.wc);this.error=a};_.L(_.mc,_.gi);_.t("sy1mb");
_.l1c=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.w();

}catch(e){_._DumpException(e)}
try{
var m1c;m1c=[1];_.VN=function(a){_.O(this,a,-1,m1c,null)};_.L(_.VN,_.K);_.VN.prototype.O=function(){return _.Md(this,1)};_.t("sy1m7");
var n1c;_.WN=function(a){_.O(this,a,-1,n1c,null)};_.L(_.WN,_.K);_.WN.prototype.Ab=function(){return _.B(this,1)};_.WN.prototype.Dc=function(a){return _.A(this,1,a)};_.WN.prototype.yj=function(){return _.Uj(this,_.Yk,2)};_.o1c=function(a,b){return _.Nj(a,2,b)};_.WN.prototype.ir=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.WN.prototype.Uf=function(){return _.B(this,4)};_.p1c=function(a,b){return _.A(a,4,b)};n1c=[2];

_.w();

}catch(e){_._DumpException(e)}
try{
_.t("sy1m6");
_.RTb=function(a){_.O(this,a,-1,null,null)};_.L(_.RTb,_.K);_.RTb.prototype.Li=function(){return _.B(this,3)};_.RTb.prototype.wi=function(a){return _.A(this,3,a)};_.RTb.prototype.we=function(){return _.C(this,_.lf,5)};_.RTb.prototype.getCustomer=function(){return _.B(this,6)};

_.w();

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

_.w();

}catch(e){_._DumpException(e)}
try{
_.r1c=function(a){return _.me(a).Kg(_.S(a.get(_.$o),19,!1)?q1c:_.ke)};_.t("sy1mf");
var q1c=[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 s1c,t1c,u1c,v1c,w1c,x1c,y1c,z1c,A1c,B1c,D1c,E1c,F1c,G1c,H1c,ZN,M1c,N1c,$N,aO,O1c,P1c,R1c,S1c,T1c,V1c,W1c,X1c,Y1c,Z1c,$1c,a2c,c2c,e2c,k2c,m2c,p2c,q2c,t2c,w2c,hO,x2c,y2c,z2c,A2c,B2c,C2c,D2c,F2c,G2c,H2c,I2c,L2c,K2c,O2c,Q2c,S2c,U2c,Y2c,$2c,a3c,b3c,c3c,d3c,e3c,i3c,k3c,l3c,m3c,n3c,o3c,J1c,bO,I1c,K1c,L1c,F4c,G4c,mO,J4c,U4c,X4c,Y4c,Z4c,b5c,J2c,oO,y5c,z5c,A5c,B5c,D5c,E5c,F5c,G5c,pO,H5c,I5c,J5c,K5c,L5c,M5c,N5c,O5c,P5c,Q5c,R5c,S5c,T5c,qO,W5c,X5c,Y5c,E2c,Z5c,$5c,a6c,W6c,X6c,Z6c,$6c,e7c,s7c,t7c,A7c,K7c,b8c,
h8c,o8c,q8c,v8c,B8c,S8c,T8c,Y8c,$8c,j9c,v9c,x9c,y9c,E9c,F9c,X2c,G9c,B$c,h2c,C$c,F$c,Ldd,Mdd,Ndd,Odd,Pdd,Qdd,Rdd,Sdd,Tdd,Udd;s1c=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.Md(a,3),Convert:_.R(a,8),ID:a.ej()};var b=[];_.Ma(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
t1c=function(a){var b=[];b.push(s1c(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.zu&&b.push("# of retries by client: "+a.zu);var d="";a.IM?a.Ag.ag()?a.Ag.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")};
u1c=function(a,b,c,d,e,f){var h=_.tt("Drive Upload Report: %d/%d failed",_.Ra(f),_.Ra(e));a=a.Zf();d.push("Batch query interval: "+_.bk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.bk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.bk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.bk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.bk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ma(e,function(p){l.push(t1c(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.mYc(b)});_.Ma(f,function(p,q){var r=k.push;q=e[q].request;q=_.tt('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.ej()||"");var u=p.Og;u=u?_.B(u,4):"No detail.";r.call(k,{name:q,content:p.toString()+"\n"+u})});return{title:h,description:d,ZP:k,yd:152391,j9:c,A0:361003}};v1c=function(a){return Array.prototype.concat.apply([],arguments)};w1c=function(a,b,c){c=_.Ha(a,b,c);return 0>c?(_.Ba(a,-(c+1),0,b),!0):!1};
x1c=function(a){return String.fromCharCode(10>a?48+a:87+a)};y1c=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]=x1c(d>>4);b[2*c+3]=x1c(d&15)}return b.join("")};z1c=function(a){var b=new _.Po;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.dM(a,!0,"file"));a.t7&&(b.append(",teamDriveId,teamDrive("),b.append(a.t7),b.append(")"));b.append(")");return b.toString()};
A1c=function(a){var b=new _.Po;b.append("kind,nextPageToken,items(");b.append(_.dM(a,!0));b.append("),incompleteSearch");a.t7&&(b.append(","),b.append(a.t7));return b.toString()};
B1c=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.YM,138),k=_.C(d,_.Vk,111),l=_.C(d,_.ZM,27),p=_.dl(d),q=d.Of(),r=d.eh(),u=_.C(d,_.aN,103);switch(e){case 227:_.Lj(d,144);break;case 228:_.Lj(d,145);break;case 74:_.Oj(d,83);break;case 188:_.Lj(d,137);break;case 149:_.MH(d,128);break;case 148:_.Oj(d,127);break;case 138:_.Lj(d,126);break;case 184:_.MH(d,135);break;case 76:f&&_.Lj(f,1);break;case 223:f&&_.Lj(f,54);break;case 208:f&&_.Lj(f,48);break;case 185:f&&
_.Lj(f,40);break;case 224:f&&_.Lj(f,55);break;case 213:f&&_.Lj(f,50);break;case 156:f&&_.Lj(f,39);break;case 61:f&&_.Lj(f,2);break;case 216:f&&_.Lj(f,52);break;case 217:f&&_.Lj(f,53);break;case 77:f&&_.Lj(f,4);break;case 134:f&&_.Lj(f,34);break;case 147:f&&_.Lj(f,38);break;case 81:f&&_.Lj(f,10);break;case 82:f&&_.Lj(f,11);break;case 114:f&&_.Lj(f,27);break;case 133:f&&_.Lj(f,33);break;case 202:f&&_.Lj(f,47);break;case 132:f&&_.Lj(f,32);break;case 101:f&&_.Lj(f,20);break;case 201:f&&_.Lj(f,46);break;
case 131:f&&_.Lj(f,31);break;case 200:f&&_.Lj(f,45);break;case 130:f&&_.Lj(f,30);break;case 93:f&&_.Lj(f,17);break;case 191:f&&_.Lj(f,44);break;case 146:f&&_.Lj(f,37);break;case 90:f&&_.Lj(f,16);break;case 78:f&&_.Lj(f,7);break;case 186:f&&_.Lj(f,41);break;case 222:f&&_.Lj(f,51);break;case 85:f&&_.Lj(f,12);break;case 137:f&&_.Lj(f,36);break;case 209:f&&_.Lj(f,49);break;case 79:f&&_.Lj(f,8);break;case 189:f&&_.Lj(f,42);break;case 190:f&&_.Lj(f,43);break;case 80:f&&_.Lj(f,9);break;case 135:f&&_.Lj(f,
35);break;case 102:f&&_.Lj(f,21);break;case 69:_.Lj(d,74);break;case 194:h&&_.Mj(h,2);break;case 193:h&&_.Lj(h,1);break;case 1004:_.Lj(d,108);break;case 136:_.Oj(d,125);break;case 115:k&&_.Lj(k,1);break;case 116:k&&_.Lj(k,2);break;case 34:_.Lj(d,30);f&&_.Lj(f,3);break;case 9:_.Lj(d,10);break;case 91:_.Mj(d,91);break;case 43:_.Lj(d,42);_.Lj(d,43);break;case 187:_.Lj(d,136);break;case 26:_.Lj(d,24);break;case 108:_.MH(d,104);break;case 41:_.Lj(d,40);f&&_.Lj(f,5);break;case 42:_.Lj(d,41);break;case 1005:_.Oj(d,
117);break;case 59:f&&_.Lj(f,6);break;case 28:_.Lj(d,26);break;case 44:_.Lj(d,45);break;case 13:_.Lj(d,14);break;case 48:_.Lj(d,36);break;case 38:_.Lj(d,34);break;case 49:_.MH(d,50);break;case 51:_.Lj(d,53);break;case 104:_.Lj(d,102);break;case 39:_.Lj(d,35);break;case 87:_.Lj(d,76);break;case 100:_.Lj(d,98);break;case 72:_.Lj(d,78);break;case 5:_.Lj(d,6);break;case 20:_.Lj(d,21);break;case 21:break;case 29:l&&_.Lj(l,1);break;case 31:l&&_.Lj(l,3);break;case 92:l&&_.Lj(l,4);break;case 30:l&&_.Lj(l,
2);break;case 16:_.Mj(d,17);break;case 12:_.Lj(d,13);break;case 211:p&&_.Lj(p,2);break;case 212:p&&_.Lj(p,3);break;case 220:p&&_.Lj(p,5);break;case 157:r&&_.Oj(r,8);break;case 3:_.Lj(d,4);break;case 11:_.Lj(d,12);break;case 10:_.Lj(d,11);break;case 50:_.Lj(d,49);_.Lj(d,51);_.Mj(d,81);break;case 18:_.Lj(d,19);break;case 95:_.Lj(d,93);break;case 58:_.Lj(d,63);break;case 14:_.Oj(d,15);break;case 103:_.Lj(d,101);break;case 1:_.MH(d,2);break;case 96:_.Lj(d,94);break;case 1003:_.Oj(d,107);break;case 75:_.Mj(d,
85);break;case 94:_.Lj(d,92);break;case 45:_.Lj(d,46);break;case 124:_.Lj(d,118);break;case 125:_.Lj(d,119);break;case 1002:_.Mj(d,100);break;case 32:_.Lj(d,28);break;case 67:_.Lj(d,70);break;case 68:_.Lj(d,71);break;case 73:_.Lj(d,79);break;case 71:_.Lj(d,77);break;case 221:r&&_.Lj(r,9);break;case 210:_.Lj(d,140);break;case 7:_.Lj(d,8);break;case 122:_.Mj(d,109);break;case 66:_.Lj(d,69);break;case 33:_.Lj(d,29);break;case 24:_.Lj(d,22);break;case 25:_.Lj(d,23);break;case 46:_.Mj(d,47);break;case 192:q&&
_.Lj(q,6);break;case 159:q&&_.Mj(q,5);break;case 154:q&&_.Lj(q,1);break;case 158:q&&_.Lj(q,4);break;case 155:q&&_.Lj(q,3);break;case 52:_.MH(d,56);break;case 56:_.Lj(d,61);break;case 55:_.Oj(d,60);break;case 4:_.Lj(d,5);break;case 35:_.Lj(d,31);break;case 57:_.Lj(d,62);break;case 83:_.Lj(d,72);break;case 84:_.Mj(d,86);break;case 19:_.Lj(d,20);_.Lj(d,44);_.Lj(d,90);break;case 2:_.Lj(d,3);break;case 6:_.Lj(d,7);break;case 98:_.Lj(d,96);break;case 97:_.Mj(d,95);break;case 27:_.Lj(d,25);break;case 70:_.Lj(d,
75);break;case 107:u&&_.Lj(u,3);break;case 106:u&&_.Lj(u,2);break;case 105:u&&_.Lj(u,1);break;case 8:_.Lj(d,9);break;case 126:_.MH(d,120);break;default:throw Error("Lc`"+e);}}};D1c=function(a,b){if(0!=a.length){var c=new Set([].concat(_.jd(a),_.jd(C1c)));a=[].concat(_.jd(_.xbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)B1c(b[d],a)}};
E1c=function(a,b){var c=a.getCapabilities()||new _.Tk,d=_.C(a,_.YM,138),e=_.C(a,_.Vk,111),f=_.C(a,_.ZM,27),h=_.dl(a),k=a.Of(),l=a.eh(),p=_.C(a,_.aN,103);switch(b){case 227:return null!=_.R(a,144);case 228:return null!=_.B(a,145);case 74:return 0<a.Yt().length;case 188:return null!=_.R(a,137);case 149:return 0<_.Md(a,128).length;case 148:return 0<a.ka().length;case 138:return null!=a.V();case 184:return 0<_.Md(a,135).length;case 76:return null!=_.Uk(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!=_.he(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!=_.C(d,_.TWc,2);case 193:return null!=d&&null!=_.B(d,1);case 1004:return null!=_.R(a,108);case 136:return 0<a.O().length;case 115:return null!=e&&null!=_.R(e,1);case 116:return null!=e&&null!=_.B(e,2);case 34:return null!=_.R(a,30)||null!=_.R(c,3);case 9:return null!=a.QC();
case 91:return null!=a.Kq();case 43:return null!=_.B(a,42)||null!=_.B(a,43);case 187:return null!=_.B(a,136);case 26:return null!=a.Pe();case 108:return 0<_.Md(a,104).length;case 41:return null!=_.R(c,5);case 42:return null!=_.B(a,41);case 1005:return 0<_.cl(a).length;case 59:return null!=_.R(c,6);case 28:return null!=a.JI();case 44:return null!=_.B(a,45);case 13:return null!=a.RF();case 48:return null!=_.R(a,36);case 38:return null!=a.Si();case 49:return 0<_.Md(a,50).length;case 51:return null!=
_.R(a,53);case 104:return null!=_.R(a,102);case 39:return null!=a.mka();case 87:return null!=_.$k(a);case 100:return null!=_.R(a,98);case 72:return null!=_.B(a,78);case 5:return null!=a.Bm();case 20:return null!=a.Ze();case 21:return null!=a.getId();case 29:return!(!f||null==_.B(f,1));case 31:return!(!f||null==_.B(f,3));case 92:return!(!f||null==_.B(f,4));case 30:return!(!f||null==f.Me());case 16:return null!=a.xm();case 12:return null!=a.az();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||!_.Uj(l,_.Xk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.cB();case 10:return null!=a.zq();case 50:return null!=_.R(a,49)||null!=_.R(a,51)||null!=a.Nm();case 18:return null!=a.Oq();case 14:return 0<_.Zk(a).length;case 95:return null!=a.en();case 58:return null!=_.R(a,63);case 103:return null!=_.B(a,101);case 1:return 0<a.lk().length;case 96:return null!=_.R(a,94);case 1003:return 0<_.bl(a).length;case 75:return null!=
a.Tw();case 94:return null!=a.jN();case 45:return null!=a.kw();case 124:return null!=_.R(a,118);case 125:return null!=_.B(a,119);case 1002:return null!=_.al(a);case 32:return null!=a.Mu();case 67:return null!=a.UJ();case 68:return null!=_.B(a,71);case 73:return null!=_.B(a,79);case 71:return null!=a.V1();case 221:return null!=l&&null!=_.R(l,9);case 210:return null!=_.el(a);case 7:return null!=a.d7();case 122:return null!=_.YN(a);case 66:return null!=_.B(a,69);case 33:return null!=_.R(a,29);case 24:return null!=
a.Fj();case 25:return null!=a.my();case 46:return null!=a.Pv();case 192:return null!=k&&null!=_.R(k,6);case 159:return null!=k&&null!=_.Qd(k);case 154:return null!=k&&null!=_.B(k,1);case 158:return null!=k&&null!=_.Sd(k);case 155:return null!=k&&null!=_.B(k,3);case 52:return 0<_.Md(a,56).length;case 55:return 0<a.kB().length;case 56:return null!=_.B(a,61);case 4:return null!=a.NA();case 35:return null!=_.R(a,31);case 57:return null!=_.B(a,62);case 83:return null!=a.Bc();case 84:return null!=_.C(a,
_.$M,86);case 2:return null!=a.getTitle();case 19:return null!=a.Nx()||null!=_.R(a,44)||null!=_.B(a,90);case 6:return null!=a.Rh();case 98:return null!=a.Qv();case 97:return null!=a.eD();case 27:return null!=a.ep();case 70:return null!=a.Ci();case 107:return null!=p&&null!=_.B(p,3);case 106:return null!=p&&null!=_.B(p,2);case 105:return null!=p&&null!=p.Me();case 8:return null!=_.R(a,9);case 126:return 0<_.Md(a,120).length;default:throw Error("Mc`"+b);}};
F1c=function(a,b){return b.every(function(c){return E1c(a,c)})};G1c=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)})};H1c=function(a,b){var c=new Set(b.concat(_.IVc));return a.filter(function(d){return!c.has(d)})};
ZN=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(E1c(b,e))if(_.Bbb.has(e)){if(d){var f=a.getCapabilities()||new _.Tk;_.cN(a,f);switch(e){case 76:_.xWc(f,_.Uk(d));break;case 223:var h=_.R(d,54);_.A(f,54,h);break;case 208:_.SWc(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:_.yWc(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:_.EWc(f,_.R(d,10));break;case 82:_.FWc(f,_.R(d,11));break;case 114:var H=_.R(d,27);_.A(f,27,H);break;case 133:_.NWc(f,_.R(d,33));break;case 202:_.RWc(f,_.R(d,47));_.MWc(f,_.R(d,32));break;case 132:_.MWc(f,_.R(d,32));break;case 101:_.JWc(f,_.R(d,20));break;case 201:_.QWc(f,_.R(d,46));break;case 131:_.LWc(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:_.IWc(f,_.R(d,17));break;case 191:var Q=_.R(d,44);_.A(f,44,Q);break;case 146:var W=_.R(d,37);_.A(f,37,W);break;case 90:_.HWc(f,_.he(d));break;case 78:_.BWc(f,_.R(d,7));break;case 186:var pa=_.R(d,41);_.A(f,41,pa);break;case 222:var ia=_.R(d,51);_.A(f,51,ia);break;case 85:_.GWc(f,_.R(d,12));break;case 137:var na=_.R(d,36);_.A(f,36,na);break;case 209:var qa=_.R(d,49);_.A(f,49,qa);break;case 79:_.CWc(f,
_.R(d,8));break;case 189:_.OWc(f,_.R(d,42));break;case 190:_.PWc(f,_.R(d,43));break;case 80:_.DWc(f,_.R(d,9));break;case 135:var ua=_.R(d,35);_.A(f,35,ua);break;case 102:_.KWc(f,_.R(d,21));break;case 34:var Wa=_.R(b,30);_.A(a,30,Wa);var Ea=_.R(d,3);_.A(f,3,Ea);break;case 41:var Pa=_.R(b,40);_.A(a,40,Pa);_.zWc(f,_.R(d,5));break;case 59:_.AWc(f,_.R(d,6))}}}else if(_.Cbb.has(e)){var dc=_.C(b,_.YM,138);if(dc){var pb=_.C(a,_.YM,138)||new _.YM;_.J(a,138,pb);switch(e){case 194:var Zb=_.C(dc,_.TWc,2);_.J(pb,
2,Zb);break;case 193:var Jc=_.B(dc,1);_.A(pb,1,Jc)}}}else if(_.Dbb.has(e)){var ne=_.C(b,_.Vk,111);if(ne){var oe=_.C(a,_.Vk,111)||new _.Vk;_.J(a,111,oe);switch(e){case 115:_.UWc(oe,_.R(ne,1));break;case 116:_.VWc(oe,_.B(ne,2))}}}else if(_.Ebb.has(e)){var Id=_.C(b,_.ZM,27);if(Id){var ff=_.C(a,_.ZM,27)||new _.ZM;_.J(a,27,ff);switch(e){case 29:var Dc=_.B(Id,1);_.A(ff,1,Dc);break;case 31:ff.th(_.B(Id,3));break;case 92:var Bb=_.B(Id,4);_.A(ff,4,Bb);break;case 30:ff.uh(Id.Me())}}}else if(_.Fbb.has(e)){var Og=
_.dl(b);if(Og){var Ag=_.dl(a)||new _.Hna;_.J(a,139,Ag);switch(e){case 211:var Ve=_.R(Og,2);_.A(Ag,2,Ve);break;case 212:var Cj=_.R(Og,3);_.A(Ag,3,Cj);break;case 220:var Zf=_.R(Og,5);_.A(Ag,5,Zf)}}}else if(_.Gbb.has(e)){var ni=b.Of();if(ni){var Fg=a.Of()||new _.Qna;_.J(a,132,Fg);switch(e){case 192:var im=_.R(ni,6);_.A(Fg,6,im);break;case 159:var pf=_.Qd(ni);_.J(Fg,5,pf);break;case 154:var $e=_.B(ni,1);_.A(Fg,1,$e);break;case 158:var eh=_.Sd(ni);_.A(Fg,4,eh);break;case 155:var oi=_.B(ni,3);_.A(Fg,3,
oi)}}}else if(_.Hbb.has(e)){var aj=b.eh();switch(e){case 157:if(aj){var Ml=a.eh()||new _.Ona;I1c(a,Ml);J1c(Ml,_.Uj(aj,_.Xk,8))}break;case 221:if(aj){var ik=a.eh()||new _.Ona;I1c(a,ik);var Qj=_.R(aj,9);_.A(ik,9,Qj)}}}else if(_.Ibb.has(e)){var fh=_.C(b,_.aN,103);if(fh){var gl=_.C(a,_.aN,103)||new _.aN;_.J(a,103,gl);switch(e){case 107:var hl=_.B(fh,3);_.A(gl,3,hl);break;case 106:gl.th(_.B(fh,2));break;case 105:gl.uh(fh.Me())}}}else switch(e){case 227:var Gg=_.R(b,144);_.A(a,144,Gg);break;case 228:var il=
_.B(b,145);_.A(a,145,il);break;case 74:var jm=b.Yt();_.Nj(a,83,jm);break;case 188:var jl=_.R(b,137);_.A(a,137,jl);break;case 149:var Wh=_.Md(b,128);_.Kj(a,128,Wh);break;case 148:var Dj=b.ka();_.Nj(a,127,Dj);break;case 138:var oj=b.V();_.A(a,126,oj);break;case 184:var pj=_.Md(b,135);_.Kj(a,135,pj);break;case 69:var Rj=_.R(b,74);_.A(a,74,Rj);break;case 1004:var Jh=_.R(b,108);_.A(a,108,Jh);break;case 136:var Nl=b.O();_.Nj(a,125,Nl);break;case 9:var qj=b.QC();_.A(a,10,qj);break;case 91:var jk=b.Kq();
_.J(a,91,jk);break;case 43:var km=_.B(b,42);_.A(a,42,km);var kl=_.B(b,43);_.A(a,43,kl);break;case 187:_.mXc(a,_.B(b,136));break;case 26:a.lm(b.Pe());break;case 108:var Im=_.Md(b,104);_.Kj(a,104,Im);break;case 42:var kk=_.B(b,41);_.A(a,41,kk);break;case 1005:var Jk=_.cl(b);_.Nj(a,117,Jk);break;case 28:_.dXc(a,b.JI());break;case 44:var uf=_.B(b,45);_.A(a,45,uf);break;case 13:var Bi=b.RF();_.A(a,14,Bi);break;case 48:var lk=_.R(b,36);_.A(a,36,lk);break;case 38:_.fXc(a,b.Si());break;case 49:var Fc=_.Md(b,
50);_.Kj(a,50,Fc);break;case 51:var Kk=_.R(b,53);_.A(a,53,Kk);break;case 104:var Pg=_.R(b,102);_.A(a,102,Pg);break;case 39:var mk=b.mka();_.A(a,35,mk);break;case 87:var Mi=_.$k(b);_.A(a,76,Mi);break;case 100:var Ln=_.R(b,98);_.A(a,98,Ln);break;case 72:var nk=_.B(b,78);_.A(a,78,nk);break;case 5:var xh=b.Bm();_.A(a,6,xh);break;case 20:var Qg=b.Ze();_.A(a,21,Qg);break;case 21:a.Pb(b.getId());break;case 16:_.bXc(a,b.xm());break;case 12:var Lk=b.az();_.A(a,13,Lk);break;case 3:_.PF(a,b.getMimeType());break;
case 11:var ll=b.cB();_.A(a,12,ll);break;case 10:_.PTb(a,b.zq());break;case 50:var Qh=_.R(b,49);_.A(a,49,Qh);var Ni=_.R(b,51);_.A(a,51,Ni);var jn=b.Nm();_.J(a,81,jn);break;case 95:_.lXc(a,b.en());break;case 18:_.cXc(a,b.Oq());break;case 58:var pi=_.R(b,63);_.A(a,63,pi);break;case 14:_.aXc(a,_.Zk(b));break;case 1:_.bN(a,b.lk());break;case 96:var ml=_.R(b,94);_.A(a,94,ml);break;case 103:var Mn=_.B(b,101);_.A(a,101,Mn);break;case 1003:K1c(a,_.bl(b));break;case 75:_.jXc(a,b.Tw());break;case 94:_.kXc(a,
b.jN());break;case 45:var kn=b.kw();_.A(a,46,kn);break;case 124:var Jm=_.R(b,118);_.A(a,118,Jm);break;case 125:var Nn=_.B(b,119);_.A(a,119,Nn);break;case 1002:var Ol=_.al(b);_.J(a,100,Ol);break;case 32:var Km=b.Mu();_.A(a,28,Km);break;case 67:var ln=b.UJ();_.A(a,70,ln);break;case 68:var On=_.B(b,71);_.A(a,71,On);break;case 73:var xk=_.B(b,79);_.A(a,79,xk);break;case 71:var To=b.V1();_.A(a,77,To);break;case 210:var Fp=_.el(b);_.A(a,140,Fp);break;case 7:_.$Wc(a,b.d7());break;case 122:L1c(a,_.YN(b));
break;case 66:var Gp=_.B(b,69);_.A(a,69,Gp);break;case 33:var Js=_.R(b,29);_.A(a,29,Js);break;case 24:var Pw=b.Fj();_.A(a,22,Pw);break;case 25:var Ks=b.my();_.A(a,23,Ks);break;case 46:var Yn=b.Pv();_.J(a,47,Yn);break;case 52:var Iq=_.Md(b,56);_.Kj(a,56,Iq);break;case 56:var Ut=_.B(b,61);_.A(a,61,Ut);break;case 55:a.rA(b.kB());break;case 4:a.zv(b.NA());break;case 35:_.eXc(a,_.R(b,31));break;case 57:var $C=_.B(b,62);_.A(a,62,$C);break;case 83:_.iXc(a,b.Bc());break;case 84:var DA=_.C(b,_.$M,86);_.J(a,
86,DA);break;case 98:a.gda(b.Qv());break;case 97:var aD=b.eD();_.J(a,95,aD);break;case 19:var Vt=b.Nx();_.A(a,20,Vt);_.gXc(a,_.R(b,44));var Tw=_.B(b,90);_.A(a,90,Tw);break;case 2:a.setTitle(b.getTitle());break;case 6:a.Jn(b.Rh());break;case 27:_.QTb(a,b.ep());break;case 70:var Uw=b.Ci();_.A(a,75,Uw);break;case 8:var Vw=_.R(b,9);_.A(a,9,Vw);break;case 126:var oJ=_.Md(b,120);_.Kj(a,120,oJ);break;default:throw Error("Nc`"+e);}})};
M1c=function(a,b){var c=_.Ty[a];return b.filter(function(d){return!c||!c.has(d)})};N1c=function(a,b,c){a=M1c(c,a);return G1c(b,a,_.IVc)};$N=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};aO=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&$N(a)?(a=a.Of(),!!a&&"application/vnd.google-apps.folder"===_.B(a,3)):"application/vnd.google-apps.folder"===c};O1c=function(a){var b=a&&a.getId()||null;a&&$N(a)&&(a=(a=a.Of())&&_.B(a,1))&&(b=a);return b};
P1c=function(a){return!!_.R(a,31)&&!_.R(a,94)};R1c=function(a){return Q1c.some(function(b){return E1c(a,b)})};S1c=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(bO(b))})};T1c=function(a){return S1c(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};_.U1c=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};V1c=function(a,b){var c=_.sVc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};
W1c=function(a,b){return 0<=b?!a||a<=b:!0};X1c=function(a,b){if(b){var c=[];_.R(b,3)&&c.push("folder");var d=_.lSc()&&4===b.getType()?"title_natural":_.xUc[b.getType()];b=_.zUc[b.yf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};Y1c=function(a,b){var c=a.Nm();c||(c=new _.Ina,b&&_.J(a,81,c));return c};Z1c=function(a){if(aO(a))_.XN(Y1c(a,!0),!0);else if(aO(a,!0)){var b=a.Of();if(b=b&&_.Qd(b))_.XN(Y1c(b,!0),!0),_.XN(Y1c(a,!0),!0)}};$1c=function(a){return!!a.Nm()&&!aO(a)};
a2c=function(a){var b=[];_.Ka(a,function(c){if(3!=bO(c)){var d=c;if(null!=_.R(d,49)||null!=_.R(d,51)||null!=d.Nm())c=c.clone(),_.Lj(c,49),_.Lj(c,51),_.Mj(c,81);b.push(c)}});return b};c2c=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.K?a[b]=c.kc():c&&c instanceof _.wN?a[b]=c.kc(function(d){return d?d.kc():null}):c&&c instanceof b2c&&(a[b]=c.kc())}};e2c=function(a){var b=a.slice(0),c=new Set(b);d2c.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
k2c=function(a,b,c){var d=_.C(a,f2c,66);if(d){var e=_.B(d,1),f=_.iN(a);a=_.RL(_.DL(a));e=new _.bj(e);var h=new _.bj(window.location);var k=h.O+"://"+h.H;null!=h.W&&(k+=":"+h.W);h=_.sj(k,3);_.ij(e,"co",h);h=e.Le();!f&&0<a&&(h+="u/"+a+"/");e.xi(h+"_/dataservice/cacheproxy");f=_.B(d,5)||"";if(_.jVc(window.location.href,e.toString())&&f)return e=e2c(c),c=_.B(d,6),b="#"+b+"_",d=new _.vL,d.update(e.join(",")),b+=_.HSc(d.digest()),c&&(b+="&jobset="+c),b=_.by(f+"?"+b),_.n.SharedWorker?(c=new SharedWorker(_.zga(b),
void 0),b=new g2c(c.port),c.port.start()):b=new g2c(new Worker(_.zga(b),void 0)),new h2c(new cO(b,!1,!0),1,f,e);c=e.toString();b="cpiframe_"+_.oL();c=_.rh("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.sha(_.iVc(_.Qf("display: none;")));document.body.appendChild(c);c=_.DSc(e.O,void 0,e.H,e.W).toString();return new h2c(new cO(i2c(window.frames[b],c),!1,!0),0,e.toString())}b=new j2c;return new h2c(new cO(b.O,!1,!1),2,"inline",c,new cO(b.H,!1,!1))};
m2c=function(a){var b=new l2c;if(a instanceof _.eM)_.Wj(b,16,eO[0],a);else if(a instanceof _.fM)_.Wj(b,1,eO[0],a);else if(a instanceof _.gM)_.Wj(b,2,eO[0],a);else if(a instanceof _.fO)_.Wj(b,17,eO[0],a);else if(a instanceof _.jM)_.Wj(b,3,eO[0],a);else if(a instanceof _.GN)_.Wj(b,4,eO[0],a);else if(a instanceof _.hM)_.Wj(b,5,eO[0],a);else if(a instanceof _.nM)_.Wj(b,6,eO[0],a);else if(a instanceof _.pM)_.Wj(b,7,eO[0],a);else if(a instanceof _.qM)_.Wj(b,8,eO[0],a);else if(a instanceof _.tM)_.Wj(b,9,
eO[0],a);else if(a instanceof _.JM)_.Wj(b,10,eO[0],a);else if(a instanceof _.KM)_.Wj(b,11,eO[0],a);else if(a instanceof _.LM)_.Wj(b,12,eO[0],a);else if(a instanceof _.TL)_.Wj(b,13,eO[0],a);else if(a instanceof _.OM)_.Wj(b,14,eO[0],a);else if(a instanceof _.PM)_.Wj(b,15,eO[0],a);else throw new _.lc("Unsupported request type");return b};
p2c=function(a){a=a.map(function(c){var d=new n2c;if(c instanceof _.eM)_.Wj(d,6,gO[0],c);else if(c instanceof _.fO)_.Wj(d,7,gO[0],c);else if(c instanceof _.nM)_.Wj(d,1,gO[0],c);else if(c instanceof _.JM)_.Wj(d,2,gO[0],c);else if(c instanceof _.KM)_.Wj(d,3,gO[0],c);else if(c instanceof _.TL)_.Wj(d,4,gO[0],c);else if(c instanceof _.PM)_.Wj(d,5,gO[0],c);else throw new _.lc("Unsupported request type");return d});var b=new o2c;_.Nj(b,1,a);return b};
q2c=function(a){return _.Uj(a,n2c,1).map(function(b){return _.C(b,_.eM,6)||_.C(b,_.nM,1)||_.C(b,_.JM,2)||_.C(b,_.KM,3)||_.C(b,_.TL,4)||_.C(b,_.PM,5)||_.C(b,_.fO,7)})};t2c=function(a){var b=new r2c;if(a instanceof _.jD)_.Wj(b,1,s2c[0],a);else if(a instanceof _.kD)_.Wj(b,2,s2c[0],a);else throw new _.lc("Unsupported request type");return b};
w2c=function(a){var b=new u2c;if(a instanceof _.kM)_.Wj(b,1,v2c[0],a);else if(a instanceof _.rM)_.Wj(b,2,v2c[0],a);else if(a instanceof _.QM)_.Wj(b,3,v2c[0],a);else throw new _.lc("Unsupported request type");return b};hO=function(a,b,c){return b?new c(JSON.parse(a)):a};x2c=function(a){a={t:a.title,d:a.description,c:a.yd,fi:a.j9,dti:a.A0,a:a.ZP?a.ZP.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.U8})}):void 0};return JSON.stringify(a)};
y2c=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,yd:a.c,j9:a.fi,A0:a.dti,ZP:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,U8:b.ec}}):void 0}};z2c=function(a,b,c){a=a?1:2;a=_.$c(_.Zc(new _.Yc,12),a);var d=(new _.Ye).Jn(!0);d=_.A(d,17,!0);a=_.Ze(d,a);c&&_.Hl(a,c);c=new _.vUc;b&&_.zVc(c,b);return _.AVc(_.CVc(new _.JL,a),c)};A2c=function(a){return a.map(function(b){return b.getItem()})};
B2c=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};C2c=function(a,b){var c=new _.bj(_.E(b,16,"")+"/open"),d=a.getId();$N(a)&&(d=O1c(a));_.ij(c,"id",d);_.ij(c,"authuser",_.RL(_.DL(b)));_.S(b,89,!1)&&_.P(a,140)&&_.ij(c,"resourcekey",_.el(a));return c.toString()};
D2c=function(a){_.Hf("drive.DebugUtil.printFindById",function(c){a.MM(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.Hf("drive.DebugUtil.getLogs",function(){return _.mYc(a.Rf())});_.Hf("drive.DebugUtil.printLogs",function(){window.console.log(_.mYc(a.Rf()))});_.Hf("drive.DebugUtil.printRequestHistory",function(){a.ZQ().addCallback(function(c){c.forEach(function(d){window.console.log(_.B(d,1));window.console.log(_.B(d,2))})})});_.Hf("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.S(b,1,!1)&&(_.Hf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Hf("drive.DebugUtil.setOffline",function(c){return void a.Il(c)}))};F2c=function(a,b){var c=new _.VN,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.l1c.get(bO(b)))&&d.add(b):d.add(1);0===d.size&&d.add(0)}E2c(c,[].concat(_.jd(d)));return c};
G2c=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={hfa:c.hfa},d=a.next())if(d=d.value){c.hfa=new Map;[].concat(_.jd(_.Zk(d)),[d.xm(),d.Pv(),d.Kq()]).forEach(function(p){return function(q){q&&p.hfa.set(_.VF(q),q)}}(c));for(var e=[],f=_.m(c.hfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(_.VF(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.Gj(h,16,0))}b.push(d.getId()+","+bO(d)+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};H2c=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?_.ak(d,f)||(d=_.wSc(4).setItem(f),c[e]=d):(d=_.wSc(2).setItem(d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=_.wSc(1).setItem(d),c[e]=d)});return c};I2c=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(H2c(a,b))};
L2c=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.lf;_.mf(b,305);_.nf(b,!0);_.A(b,3,2);var c=new _.iD;_.J(c,1,b);J2c(c,[7]);a=a.then(function(d){return d.Se(c)}).then(K2c);return _.$h(a)};K2c=function(a){a=_.Uj(a,_.hp,3);var b=new M2c;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.B(d,2))&&(c=_.Rg(c.Ya()),_.A(b,3,c))});return"number"===typeof _.B(b,3)?b:null};
O2c=function(a,b){var c=N2c(a.um,b.Cc());if(c){var d=c.getItem(),e=d.Tw();if(e){var f=e.eR(),h=_.wa(f,function(k){return k.getId()===_.B(b,2)});_.XWc(e,f);h||(f=_.Uj(e,_.Fk,3),_.wa(f,function(k){return k.getId()===_.B(b,2)}),_.YWc(e,f));_.WWc(e,(_.B(e,1)||1)-1);a.nl([d],c.H)}}};
Q2c=function(a,b,c){if(b=N2c(a.um,b.Cc())){var d=b.getItem(),e=d.Tw();if(e){if(1===c.getType()||2===c.getType()){var f=_.Uj(e,_.Fk,3);f.push(c);_.Ia(f,P2c);_.YWc(e,f)}else f=e.eR(),f.push(c),_.Ia(f,P2c),_.XWc(e,f);_.WWc(e,(_.B(e,1)||0)+1);a.nl([d],b.H)}}};S2c=function(a){return a.map(function(b){var c=new _.Wsb;c=_.A(c,3,R2c[b.serviceName]);return _.A(c,2,Number(b.bytesUsed))})};
U2c=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return T2c.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
Y2c=function(a){var b=a.json.exportJob,c=V2c[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=_.We(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.We(b.failedItemInfos||[],function(l){var p=_.PF((new _.Yk).Pb(l.docId).setTitle(l.title),l.mediaType);p=(new _.W2c).setItem(p);p=_.A(p,3,l.relativePath);return _.A(p,4,l.cause)});return new X2c(c,d,k,f,h,e,a,b)};
$2c=function(a){var b={},c=a.getKey(),d=c&&_.B(c,2);b.key=d;b.value=a.Ya();(a=c&&_.ip(c))&&(b.namespace=Z2c[a]);return b};a3c=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Z2c[a[c]]);return b};b3c=function(a){return"kind,defaultAppIds,items("+a+")"};c3c=function(a,b){return _.S(b,93,!1)?a+",adminSecureLinkSetting":a};d3c=function(a,b){var c;return(null===(c=_.SL(b))||void 0===c?0:_.S(c,16,!1))?a+",individual_quota_bytes_total,individual_quota_bytes_used_aggregate":a};
e3c=function(){var a=!(!_.n.IDBObjectStore||!_.n.IDBObjectStore.prototype.getAll);return!!(_.n.indexedDB||_.n.mozIndexedDB||_.n.webkitIndexedDB||_.n.moz_indexedDB)&&a};
i3c=function(a,b){_.A(b,75,1<_.n.devicePixelRatio);var c=_.S(b,61,!1);var d=_.SL(b),e=!!d&&_.S(d,10,!1);if(_.CL(_.DL(b))||!c&&!e)_.A(b,61,!1),_.Mj(b,66),d&&_.A(d,10,!1),c=!1;else{if(c){_.n.SharedWorker||(c=!1);var f=_.C(b,f2c,66);f&&_.B(f,1)||(c=!1);_.iN(b)&&!_.S(b,52,!1)&&(c=!1)}c?d&&_.A(d,10,!1):(_.A(b,61,!1),_.Mj(b,66));c=c||e}if(c)return c=_.S(b,61,!1)?3:5,b=new iO(a,b,c),new f3c(b);c=_.CL(_.DL(b))?2:1;a=new jO(a,b,c,void 0,void 0,void 0);return _.CL(_.DL(b))?new g3c(a):new h3c(a)};
k3c=function(a){return _.me(a).Kg(_.S(a.get(_.$o),19,!1)?j3c:_.RUa)};l3c=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};m3c=function(a,b){return _.Nj(a,1,b)};n3c=[1];o3c=function(a){_.O(this,a,-1,n3c,null)};_.L(o3c,_.K);o3c.prototype.xha=function(a){_.Xj(this,1,a,_.Fk,void 0)};
var p3c=function(a){var b=new o3c;return _.Nj(b,1,a)},q3c=function(a,b){return _.J(a,1,b)},r3c=function(a,b){_.Nj(a,2,b)},s3c=function(a,b){_.J(a,6,b)},t3c=function(a,b){return _.Wj(a,3,_.Ik[0],b)},u3c=function(a){_.O(this,a,-1,null,null)};_.L(u3c,_.K);var v3c=function(a){_.O(this,a,-1,null,null)};_.L(v3c,_.K);var kO=function(a){_.O(this,a,-1,null,null)};_.L(kO,_.K);var w3c=function(a){_.O(this,a,-1,null,null)};_.L(w3c,_.K);var x3c=function(a){_.O(this,a,-1,null,null)};_.L(x3c,_.K);
var y3c=function(a){_.O(this,a,-1,null,null)};_.L(y3c,_.K);var z3c=function(a){_.O(this,a,-1,null,null)};_.L(z3c,_.K);var A3c=function(a){_.O(this,a,-1,null,null)};_.L(A3c,_.K);var B3c=function(a){_.O(this,a,-1,null,null)};_.L(B3c,_.K);var C3c=function(a){_.O(this,a,-1,null,null)};_.L(C3c,_.K);var D3c=function(a){_.O(this,a,-1,null,null)};_.L(D3c,_.K);var E3c=function(a){_.O(this,a,-1,null,null)};_.L(E3c,_.K);var F3c=function(a){_.O(this,a,-1,null,null)};_.L(F3c,_.K);
var G3c=function(a){_.O(this,a,-1,null,null)};_.L(G3c,_.K);var H3c=function(a,b){_.Nj(a,1,b)},I3c=function(a,b){return _.A(a,2,b)},J3c=function(a,b){return _.J(a,3,b)},K3c=function(a,b){return _.A(a,4,b)},L3c=[[1,2,3,4]],M3c=function(a){_.O(this,a,-1,null,L3c)};_.L(M3c,_.K);var N3c=function(a,b){_.Nj(a,1,b)},O3c=function(a,b){return _.J(a,2,b)},P3c=[[1]],Q3c=function(a){_.O(this,a,-1,null,P3c)};_.L(Q3c,_.K);
var R3c=function(a,b){_.Nj(a,1,b)},S3c=function(a,b){return _.J(a,4,b)},T3c=function(a,b){_.J(a,5,b)},U3c=function(a,b){_.Nj(a,2,b)},V3c=function(a,b){_.Nj(a,4,b)},W3c=function(a,b){return _.J(a,5,b)},X3c=[[1,2]],Y3c=function(a){_.O(this,a,-1,null,X3c)};_.L(Y3c,_.K);var Z3c=function(a,b){_.Nj(a,1,b)},$3c=function(a,b){return _.J(a,2,b)},a4c=[[1]],b4c=function(a){_.O(this,a,-1,null,a4c)};_.L(b4c,_.K);
var c4c=function(a,b){_.Nj(a,2,b)},d4c=function(a){var b=new _.Qk;return _.Nj(b,3,a)},e4c=[[1,2]],f4c=function(a){_.O(this,a,-1,null,e4c)};_.L(f4c,_.K);f4c.prototype.MG=function(){return _.C(this,kO,1)};f4c.prototype.qg=function(a){return _.Wj(this,1,e4c[0],a)};var g4c=[1],h4c=function(a){_.O(this,a,-1,g4c,null)};_.L(h4c,_.K);h4c.prototype.Np=function(){return _.B(this,2)};
var i4c=function(a,b){_.Nj(a,1,b)},j4c=function(a,b){return _.A(a,2,b)},k4c=function(a,b){return _.J(a,3,b)},l4c=[[1]],m4c=function(a){_.O(this,a,-1,null,l4c)};_.L(m4c,_.K);var n4c=[2],o4c=function(a){_.O(this,a,-1,n4c,null)};_.L(o4c,_.K);var p4c=function(a,b){_.Nj(a,2,b)},q4c=function(a,b){return _.J(a,3,b)},r4c=[[1]],s4c=function(a){_.O(this,a,-1,null,r4c)};_.L(s4c,_.K);s4c.prototype.MG=function(){return _.C(this,w3c,1)};s4c.prototype.qg=function(a){return _.Wj(this,1,r4c[0],a)};
var t4c=function(a,b){_.Nj(a,1,b)},u4c=function(a,b){return _.Nj(a,2,b)},v4c=[[1,2]],w4c=function(a){_.O(this,a,-1,null,v4c)};_.L(w4c,_.K);var x4c=function(a,b){_.Nj(a,1,b)},y4c=function(a,b){return _.J(a,2,b)},z4c=[[1]],A4c=function(a){_.O(this,a,-1,null,z4c)};_.L(A4c,_.K);var B4c=function(a,b){return _.J(a,1,b)},C4c=function(a,b){return _.A(a,2,b)},D4c=function(a,b){return _.A(a,3,b)},E4c=function(a){_.O(this,a,-1,null,null)};_.L(E4c,_.K);J1c=function(a,b){_.Nj(a,8,b)};
bO=function(a){return _.Gj(a,52,1)};I1c=function(a,b){return _.J(a,73,b)};K1c=function(a,b){_.Nj(a,107,b)};_.YN=function(a){return _.C(a,E4c,109)};L1c=function(a,b){_.J(a,109,b)};F4c=function(a){var b=new _.gk;var c=_.B(a,1);null!=c&&_.rk(b,1,c);c=_.B(a,2);null!=c&&_.rk(b,2,c);return _.ok(b)};G4c=function(a){_.O(this,a,-1,null,null)};_.L(G4c,_.K);var f2c=function(a){_.O(this,a,-1,null,null)};_.L(f2c,_.K);var H4c=[11],I4c=function(a){_.O(this,a,-1,H4c,null)};_.L(I4c,_.K);
var lO=function(a){_.O(this,a,-1,null,null)};_.L(lO,_.K);lO.prototype.getKey=function(){return _.B(this,2)};lO.prototype.us=function(){return _.P(this,2)};mO=function(a){return _.E(a,4,"en")};_.nO=function(a){return _.C(a,I4c,34,1)};J4c=function(a,b){return _.A(a,5,b)};_.K4c=function(a,b){return _.A(a,2,b)};_.L4c=function(a,b){return _.A(a,3,b)};_.M4c=function(a,b){return _.A(a,1,b)};_.N4c=function(a,b){return _.A(a,2,b)};_.O4c=function(a,b){return _.Nj(a,5,b)};
_.P4c=function(a,b){return _.A(a,6,b)};_.Q4c=function(a,b){return _.A(a,7,b)};_.R4c=function(a,b){return _.A(a,8,b)};_.S4c=function(a,b){return _.A(a,10,b)};_.T4c=function(a,b){return _.A(a,15,b)};U4c=[2];_.V4c=function(a){_.O(this,a,-1,U4c,null)};_.L(_.V4c,_.K);_.V4c.prototype.Mh=function(){return _.B(this,1)};_.W4c=function(a,b){return _.J(a,1,b)};X4c=function(a,b){return _.A(a,2,b)};Y4c=function(a,b){return _.A(a,3,b)};Z4c=function(a,b){_.Nj(a,4,b)};_.$4c=function(a,b){_.J(a,8,b)};
_.a5c=function(a,b){_.J(a,9,b)};b5c=function(a){_.O(this,a,-1,null,null)};_.L(b5c,_.K);b5c.prototype.Ya=function(){return _.Hj(this,1)};b5c.prototype.Lb=function(a){return _.Pj(this,1,a,0)};J2c=function(a,b){_.Kj(a,3,b)};oO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.ak(b[a]||void 0,c[a]||void 0))return!0;return!1};_.c5c=function(a){_.O(this,a,-1,null,null)};_.L(_.c5c,_.K);_.c5c.prototype.getId=function(){return _.B(this,1)};
_.c5c.prototype.Pb=function(a){return _.A(this,1,a)};_.c5c.prototype.Me=function(){return _.B(this,4)};_.c5c.prototype.uh=function(a){return _.A(this,4,a)};_.GN=function(a){_.O(this,a,-1,null,null)};_.L(_.GN,_.K);_.GN.prototype.getTitle=function(){return _.B(this,1)};_.GN.prototype.setTitle=function(a){return _.A(this,1,a)};_.GN.prototype.we=function(){return _.C(this,_.lf,2)};
var d5c=function(a,b){return _.Kj(a,9,b)},e5c=function(a,b){return _.Kj(a,10,b)},f5c=function(a,b){return _.A(a,36,b)},g5c=function(a,b){return _.Nj(a,38,b)},h5c=function(a,b){return _.A(a,2,b)},i5c=function(a,b){return _.J(a,3,b)},j5c=function(a){_.O(this,a,-1,null,null)};_.L(j5c,_.K);var k5c=function(a){_.O(this,a,-1,null,null)};_.L(k5c,_.K);var l5c=function(a){_.O(this,a,-1,null,null)};_.L(l5c,_.K);var m5c=function(a){_.O(this,a,-1,null,null)};_.L(m5c,_.K);
var n5c=function(a){_.O(this,a,-1,null,null)};_.L(n5c,_.K);var o5c=function(a,b){return _.A(a,1,b)},p5c=function(a,b){return _.A(a,3,b)},q5c=function(a,b){return _.A(a,4,b)},r5c=function(a,b){_.A(a,7,b)},s5c=function(a){_.O(this,a,-1,null,null)};_.L(s5c,_.K);s5c.prototype.ny=function(){return _.R(this,2)};var t5c=function(a,b){_.A(a,1,b)},u5c=function(a){_.O(this,a,-1,null,null)};_.L(u5c,_.K);u5c.prototype.Mm=function(){return _.B(this,3)};u5c.prototype.Bt=function(a){return _.A(this,3,a)};
u5c.prototype.uo=function(){return _.B(this,4)};var v5c=function(a){_.O(this,a,-1,null,null)};_.L(v5c,_.K);var w5c=[1,3,5],x5c=function(a){_.O(this,a,-1,w5c,null)};_.L(x5c,_.K);x5c.prototype.QE=function(){return _.Md(this,1)};x5c.prototype.ny=function(){return _.R(this,2)};x5c.prototype.uo=function(){return _.B(this,7)};y5c=function(a,b){_.A(a,2,b)};z5c=function(a,b){_.Sj(a,5,b,void 0)};A5c=function(a,b){_.A(a,6,b)};B5c=function(a,b){_.A(a,7,b)};_.C5c=function(a,b){_.J(a,2,b)};
D5c=function(a,b,c){_.mN(a,b,c,"warning")};E5c=function(a){return[].concat(_.jd(a.O))};F5c=function(a){return a.H.concat([].concat(_.jd(a.O)))};G5c=function(a,b){var c=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.jd(c))};pO=function(a){var b=_.uN(a).wd();b||(b=new _.JXc,a=_.uN(a),_.J(a,1,b));return b};H5c=function(a){var b=_.C(_.uN(a),x5c,3);b||(b=new x5c,a=_.uN(a),_.J(a,3,b));return b};
I5c=function(a){var b=_.C(_.uN(a),l5c,7);b||(b=new l5c,a=_.uN(a),_.J(a,7,b));return b};J5c=function(a){var b=_.C(_.uN(a),n5c,12);b||(b=new n5c,a=_.uN(a),_.J(a,12,b));return b};K5c=function(a){var b=_.C(_.uN(a),s5c,17);b||(b=new s5c,a=_.uN(a),_.J(a,17,b));return b};
L5c=function(a){if(a instanceof _.wL)return 2;if(a instanceof _.JF)return 10;if(a instanceof _.Ye)return _.zM(a)?3:_.AM(a)?7:_.BM(a)?8:1;if(a instanceof _.Zz)return 9;if(a instanceof _.WF)return 11;if(a instanceof _.HM)return 15;if(a instanceof _.EL)return 6;if(a instanceof _.DM){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 _.iD)return 4;if(a instanceof _.Jz)return 12;if(a instanceof _.LF)return 13}return 0};
M5c=function(a){var b=null;a instanceof _.QA||"undefined"!=typeof _.wN&&a instanceof _.wN||"undefined"!=typeof _.xN&&a instanceof _.xN?b=a.hf()||0:"undefined"!=typeof _.zN&&a instanceof _.zN||"undefined"!=typeof _.AN&&a instanceof _.AN||"undefined"!=typeof _.BN&&a instanceof _.BN||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.DN&&a instanceof _.DN?b=a.Oe:"undefined"!=typeof _.yN&&a instanceof _.yN&&(b=a.hf());return b||0};
N5c=function(a,b,c){return a.V&&_.iZc(a)?(a=_.eZc(a.V,b,0),c&&_.ATc(a,c),a):null};O5c=function(a){a.V&&_.iZc(a)&&(a=a.V,a.H.zP()&&a.H.$Z())};P5c=function(a){var b=new _.vM;return _.A(b,1,a)};Q5c=function(a,b){return _.J(a,2,b)};R5c=function(a,b){return _.J(a,1,b)};S5c=function(a,b){a.ha=b};T5c=[2];qO=function(a){_.O(this,a,-1,T5c,null)};_.L(qO,_.K);qO.prototype.Ab=function(){return _.B(this,1)};qO.prototype.Dc=function(a){return _.A(this,1,a)};qO.prototype.xha=function(a){_.Xj(this,2,a,_.Fk,void 0)};
qO.prototype.Zj=function(){return _.B(this,3)};var U5c=[2],V5c=function(a){_.O(this,a,-1,U5c,null)};_.L(V5c,_.K);V5c.prototype.Ab=function(){return _.B(this,1)};V5c.prototype.Dc=function(a){return _.A(this,1,a)};V5c.prototype.Zj=function(){return _.B(this,3)};W5c=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.yn,a.H.promise):null};X5c=function(a){var b=[];a.ij.forEach(function(c){(c=c.xv.config.timestamp)&&b.push(c)});return b};
Y5c=function(a){var b=[];a.W.forEach(function(c){c.forEach(function(d){(d=d.xv.config.timestamp)&&b.push(d)})});a.buckets.forEach(function(c){_.za(b,X5c(c))});return b};E2c=function(a,b){return _.Kj(a,1,b)};Z5c=function(a,b){if(!(a instanceof b.constructor))throw Error("ca");var c=_.Vj(a,!0);b=_.Vj(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++)_.Qma(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
$5c={SUCCESS:1,R6b:2,VYb:3,DUb:4,d7b:5,x1b:6,o1b:7,kVb:8,P5b:9,d6b:10,Q6b:11,PWb:12,tWb:13,VZb:14,oYb:15,xWb:16,wWb:17,CWb:18,zWb:19,AWb:20,u6b:21,$6b:22,P1b:23,V0b:24,dVb:25,PERMISSION_DENIED:26,m0b:27,pVb:28,oVb:29,INTERRUPTED:30,o2b:31,H2b:32,dXb:33,jXb:34,W5b:35,qXb:36,pYb:37,iXb:38,n1b:39,XVb:40,j2b:41,J2b:42,N5b:43,IVb:44,WVb:45,mYb:46,h0b:47,l1b:48,G1b:49,k2b:50,G5b:51,uWb:52,O5b:53,M5b:54,OVb:55,LVb:56,BXb:57,F0b:58,l2b:59,H_b:60,Z3b:61,N4b:62,t5b:63,j_b:64,X0b:65,g7b:66,sXb:67,qYb:68,P6b:69,
o_b:70,nVb:71,AVb:72,V4b:73,u5b:74,q5b:75,o5b:76,J4b:190,n5b:191,W4b:192,b5b:126,Y4b:128,Z4b:129,$4b:130,a5b:131,c5b:132,d5b:133,h4b:127,e4b:134,f4b:135,j4b:136,k4b:137,l4b:138,g4b:194,i4b:195,m4b:196,d4b:197,M4b:189,Y3b:139,$3b:140,n4b:141,o4b:142,A4b:143,D4b:144,E4b:145,F4b:146,G4b:147,H4b:148,I4b:149,L4b:150,R4b:151,T4b:152,U4b:153,X4b:154,e5b:155,g5b:156,h5b:157,i5b:158,j5b:159,k5b:160,l5b:161,p5b:162,s5b:163,v5b:164,a4b:165,b4b:166,c4b:167,W3b:168,X3b:169,r4b:170,p4b:171,q4b:172,s4b:173,t4b:174,
u4b:175,v4b:176,w4b:177,x4b:178,y4b:179,z4b:180,B4b:181,C4b:182,K4b:106,S4b:183,f5b:184,m5b:185,O4b:186,P4b:187,Q4b:188,r5b:244,i2b:77,U6b:78,Z6b:79,t0b:80,$Zb:81,b_b:82,AXb:83,lYb:84,n0b:85,n6b:86,hXb:87,q_b:88,p_b:89,y5b:90,w5b:91,x5b:92,V6b:93,jWb:94,iWb:95,fWb:96,hWb:97,gWb:98,f7b:99,I3b:100,FWb:101,yWb:102,DWb:103,BWb:104,EWb:105,rYb:107,a6b:108,C3b:109,J6b:110,uYb:111,tYb:112,M_b:113,N_b:114,N2b:115,PVb:116,U_b:117,KXb:118,W6b:119,t1b:120,u1b:121,WZb:193,vWb:122,YWb:123,ZZb:124,R0b:125,r_b:198,
t2b:199,g_b:200,gUb:201,m_b:202,k_b:203,qVb:204,E7b:205,a0b:206,cWb:207,q1b:208,I2b:209,E3b:210,HUb:211,K_b:212,R_b:213,R5b:214,Q5b:215,i_b:216,UZb:217,h_b:218,uXb:219,e6b:220,vXb:221,I_b:222,Y5b:223,p7b:224,a1b:225,X5b:226,$Wb:227,$_b:228,zXb:229,ZVb:230,l6b:231,S0b:232,FILE_TOO_LARGE:233,n_b:234,tXb:235,iYb:236,E2b:237,Y0b:238,STb:239,$Vb:240,e1b:241,O3b:242,fXb:243,eUb:245,c_b:246,I1b:247,a_b:248,s0b:249,W0b:250,nYb:251,bZb:252,L_b:253,MVb:254,sYb:255,e7b:256,OYb:257,C0b:258,U2b:259,s2b:260,y_b:261,
KWb:262,gXb:263,cVb:264,l0b:265,c7b:266,WTb:267,VUb:268,UUb:269,m1b:270};a6c=[2,6];_.xN=function(a){_.O(this,a,-1,a6c,null)};_.L(_.xN,_.K);_.g=_.xN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Fd=function(){return _.Uj(this,_.Yk,2)};_.g.Ow=function(a){return _.Nj(this,2,a)};_.g.kh=function(a,b){return _.Xj(this,2,a,_.Yk,b)};_.g.Zj=function(){return _.B(this,3)};_.g.fl=function(){return _.S(this,4,!0)};var b6c=function(a,b){return _.Nj(a,6,b)};
_.xN.prototype.Uf=function(){return _.B(this,10)};_.xN.prototype.AP=function(a){return _.A(this,10,a)};_.xN.prototype.hf=function(){return _.B(this,9)};_.xN.prototype.jj=function(a){return _.A(this,9,a)};var C1c=[1004,1005,1002,1003],Q1c=[1002,1003,1005],c6c=[1,2],d6c=function(a){_.O(this,a,-1,c6c,null)};_.L(d6c,_.K);_.e6c=function(a){_.O(this,a,-1,null,null)};_.L(_.e6c,_.K);_.e6c.prototype.Ab=function(){return _.B(this,1)};_.e6c.prototype.Dc=function(a){return _.A(this,1,a)};
_.e6c.prototype.hn=function(){return _.C(this,_.KF,2)};var f6c=function(a){_.gi.call(this,a)};_.L(f6c,_.gi);var g6c=[5,7,9],h6c=function(a){_.O(this,a,-1,g6c,null)};_.L(h6c,_.K);_.g=h6c.prototype;_.g.getUser=function(){return _.C(this,_.Fk,1)};_.g.IA=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.npa=function(a){return _.Kj(this,5,a)};_.g.addTextValues=function(a,b){return _.Sj(this,5,a,b)};
_.g.setSelectionValue=function(a){return _.A(this,6,a)};_.g.jpa=function(a){return _.Kj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.Sj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.A(this,8,a)};_.g.bpa=function(a){return _.Kj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,9,a,b)};var i6c=[7,10,12,16,13,3],rO=function(a){_.O(this,a,-1,i6c,null)};_.L(rO,_.K);var sO=function(a){return _.B(a,4)};_.g=rO.prototype;_.g.IA=function(a){_.A(this,4,a)};
_.g.setBooleanValue=function(a){return _.A(this,5,a)};_.g.S$a=function(){return _.B(this,6)};_.g.setTextValue=function(a){return _.A(this,6,a)};_.g.npa=function(a){return _.Kj(this,7,a)};_.g.addTextValues=function(a,b){return _.Sj(this,7,a,b)};_.g.Q$a=function(){return _.B(this,8)};_.g.setLongTextValue=function(a){return _.A(this,8,a)};_.g.R$a=function(){return _.B(this,9)};_.g.setSelectionValue=function(a){return _.A(this,9,a)};_.g.xMa=function(){return _.Md(this,10)};
_.g.jpa=function(a){return _.Kj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.Sj(this,10,a,b)};_.g.P$a=function(){return _.B(this,11)};_.g.setIntegerValue=function(a){return _.A(this,11,a)};_.g.bpa=function(a){return _.Kj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.Sj(this,12,a,b)};_.g.yMa=function(){return _.C(this,_.Fk,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.nBa=function(){return _.Uj(this,_.Fk,16)};var j6c=function(a,b){_.Nj(a,16,b)};
rO.prototype.addUserValues=function(a,b){return _.Xj(this,16,a,_.Fk,b)};rO.prototype.O=function(){return _.B(this,17)};rO.prototype.setDateStringValue=function(a){return _.A(this,17,a)};rO.prototype.V=function(){return _.P(this,17)};var k6c=function(a,b){_.Nj(a,13,b)};rO.prototype.getId=function(){return _.B(this,14)};rO.prototype.Pb=function(a){return _.A(this,14,a)};rO.prototype.getName=function(){return _.B(this,1)};rO.prototype.jd=function(a){return _.A(this,1,a)};
var l6c=[2],tO=function(a){_.O(this,a,-1,l6c,null)};_.L(tO,_.K);tO.prototype.getName=function(){return _.B(this,1)};tO.prototype.jd=function(a){return _.A(this,1,a)};tO.prototype.O=function(){return _.Uj(this,rO,2)};var m6c=function(a,b){_.Nj(a,2,b)};tO.prototype.Cc=function(){return _.B(this,3)};var n6c=function(a,b){return _.A(a,3,b)},o6c=function(a){_.O(this,a,-1,null,null)};_.L(o6c,_.K);o6c.prototype.O=function(){return _.C(this,_.vC,1)};o6c.prototype.V=function(){return _.C(this,_.vC,2)};
o6c.prototype.ka=function(){return _.C(this,_.vC,3)};var p6c=function(a){_.O(this,a,-1,null,null)};_.L(p6c,_.K);_.g=p6c.prototype;_.g.Tn=function(){return _.R(this,1)};_.g.fk=function(a){return _.A(this,1,a)};_.g.Bm=function(){return _.R(this,2)};_.g.T$a=function(){return _.R(this,3)};_.g.U$a=function(){return _.R(this,4)};var uO=[[13,19,12,11,10,15,14,9,8,18,17,16]],q6c=function(a){_.O(this,a,-1,null,null)};_.L(q6c,_.K);q6c.prototype.O=function(){return _.R(this,1)};
q6c.prototype.V=function(){return _.R(this,2)};var r6c=function(a){_.O(this,a,-1,null,null)};_.L(r6c,_.K);r6c.prototype.sVa=function(){return _.B(this,1)};r6c.prototype.O=function(){return _.B(this,4)};var s6c=function(a){_.O(this,a,-1,null,null)};_.L(s6c,_.K);s6c.prototype.V=function(){return _.B(this,1)};s6c.prototype.O=function(){return _.B(this,2)};var t6c=function(a){_.O(this,a,-1,null,null)};_.L(t6c,_.K);t6c.prototype.V=function(){return _.B(this,1)};
t6c.prototype.O=function(){return _.B(this,2)};var u6c=function(a){_.O(this,a,-1,null,null)};_.L(u6c,_.K);var v6c=[1],w6c=function(a){_.O(this,a,-1,null,null)};_.L(w6c,_.K);w6c.prototype.O=function(){return _.R(this,1)};w6c.prototype.V=function(){return _.R(this,2)};var x6c=function(a){_.O(this,a,-1,null,null)};_.L(x6c,_.K);_.g=x6c.prototype;_.g.Tn=function(){return _.R(this,1)};_.g.fk=function(a){return _.A(this,1,a)};_.g.Bm=function(){return _.R(this,2)};_.g.eab=function(){return _.C(this,o6c,3)};
_.g.hab=function(){return _.P(this,3)};_.g.gab=function(){return _.C(this,o6c,4)};_.g.jab=function(){return _.P(this,4)};_.g.fab=function(){return _.B(this,5)};_.g.iab=function(){return _.P(this,5)};var y6c=function(a){_.O(this,a,-1,null,null)};_.L(y6c,_.K);_.g=y6c.prototype;_.g.getLabel=function(){return _.B(this,1)};_.g.Br=function(){return _.P(this,1)};_.g.Ya=function(){return _.B(this,2)};_.g.Lb=function(a){return _.A(this,2,a)};_.g.zi=function(){return _.Lj(this,2)};
_.g.hh=function(){return _.P(this,2)};_.g.Pe=function(){return _.B(this,5)};_.g.lm=function(a){return _.A(this,5,a)};_.g.dab=function(){return _.P(this,5)};_.g.getCapabilities=function(){return _.C(this,w6c,3)};_.g.cab=function(){return _.C(this,x6c,4)};var z6c=function(a){_.O(this,a,-1,v6c,null)};_.L(z6c,_.K);z6c.prototype.O=function(){return _.Uj(this,y6c,1)};var A6c=function(a,b){_.Nj(a,1,b)},B6c=function(a){_.O(this,a,-1,null,null)};_.L(B6c,_.K);B6c.prototype.hv=function(){return _.B(this,1)};
B6c.prototype.nW=function(){return _.P(this,1)};B6c.prototype.getOptions=function(){return _.C(this,z6c,2)};var C6c=function(a){_.O(this,a,-1,null,null)};_.L(C6c,_.K);C6c.prototype.hv=function(){return _.B(this,1)};C6c.prototype.nW=function(){return _.P(this,1)};C6c.prototype.getOptions=function(){return _.C(this,t6c,2)};var D6c=function(a){_.O(this,a,-1,null,null)};_.L(D6c,_.K);var E6c=function(a){_.O(this,a,-1,null,null)};_.L(E6c,_.K);E6c.prototype.hv=function(){return _.B(this,1)};
E6c.prototype.nW=function(){return _.P(this,1)};E6c.prototype.getOptions=function(){return _.C(this,D6c,2)};var vO=[[3,4,5,6,7,8,9,10,11,12]],F6c=function(a){_.O(this,a,-1,null,vO)};_.L(F6c,_.K);_.g=F6c.prototype;_.g.eda=function(a){return _.Wj(this,3,vO[0],a)};_.g.e5a=function(a){return _.Wj(this,4,vO[0],a)};_.g.r4a=function(a){return _.Wj(this,5,vO[0],a)};_.g.q4a=function(a){return _.Wj(this,6,vO[0],a)};_.g.e4a=function(a){return _.Wj(this,7,vO[0],a)};
_.g.S4a=function(a){return _.Wj(this,8,vO[0],a)};_.g.R4a=function(a){return _.Wj(this,9,vO[0],a)};_.g.j5a=function(a){return _.Wj(this,10,vO[0],a)};_.g.rpa=function(a){return _.Wj(this,11,vO[0],a)};_.g.Yoa=function(a){return _.Wj(this,12,vO[0],a)};var G6c=function(a){_.O(this,a,-1,null,null)};_.L(G6c,_.K);var H6c=function(a){_.O(this,a,-1,null,null)};_.L(H6c,_.K);H6c.prototype.hv=function(){return _.B(this,1)};H6c.prototype.nW=function(){return _.P(this,1)};
H6c.prototype.getOptions=function(){return _.C(this,G6c,2)};var I6c=function(a){_.O(this,a,-1,null,uO)};_.L(I6c,_.K);_.g=I6c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.X$a=function(){return _.B(this,2)};_.g.ye=function(){return _.B(this,4)};_.g.W$a=function(){return _.C(this,p6c,5)};_.g.getCapabilities=function(){return _.C(this,q6c,6)};_.g.bab=function(){return _.B(this,7)};_.g.e4a=function(a){return _.Wj(this,13,uO[0],a)};
_.g.V$a=function(){return _.C(this,r6c,19)};_.g.Yoa=function(a){return _.Wj(this,19,uO[0],a)};_.g.q4a=function(a){return _.Wj(this,12,uO[0],a)};_.g.r4a=function(a){return _.Wj(this,11,uO[0],a)};_.g.rtb=function(){return _.C(this,s6c,10)};_.g.Y$a=function(){return _.C(this,B6c,15)};_.g.R4a=function(a){return _.Wj(this,15,uO[0],a)};_.g.Z$a=function(){return _.C(this,z6c,14)};_.g.S4a=function(a){return _.Wj(this,14,uO[0],a)};_.g.e5a=function(a){return _.Wj(this,9,uO[0],a)};
_.g.$$a=function(){return _.C(this,t6c,8)};_.g.eda=function(a){return _.Wj(this,8,uO[0],a)};_.g.aab=function(){return _.C(this,H6c,18)};_.g.rpa=function(a){return _.Wj(this,18,uO[0],a)};_.g.j5a=function(a){return _.Wj(this,17,uO[0],a)};var J6c=[5],K6c=function(a){_.O(this,a,-1,null,null)};_.L(K6c,_.K);K6c.prototype.ka=function(){return _.R(this,1)};K6c.prototype.O=function(){return _.R(this,2)};K6c.prototype.ma=function(){return _.R(this,3)};K6c.prototype.V=function(){return _.R(this,4)};
var wO=function(a){_.O(this,a,-1,J6c,null)};_.L(wO,_.K);wO.prototype.getName=function(){return _.B(this,1)};wO.prototype.jd=function(a){return _.A(this,1,a)};wO.prototype.Zm=function(){return _.B(this,2)};var L6c=function(a,b){return _.A(a,2,b)};wO.prototype.V=function(){return _.B(this,14)};var M6c=function(a,b){return _.A(a,14,b)};_.g=wO.prototype;_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Pe=function(){return _.B(this,4)};
_.g.lm=function(a){return _.A(this,4,a)};_.g.lab=function(){return _.B(this,15)};_.g.kab=function(){return _.Uj(this,I6c,5)};var N6c=function(a,b){return _.Nj(a,5,b)},O6c=function(a,b){_.J(a,6,b)},P6c=function(a,b){_.J(a,7,b)},Q6c=function(a,b){_.J(a,8,b)},R6c=function(a,b){return _.A(a,9,b)},S6c=function(a,b){return _.A(a,10,b)},T6c=function(a,b){return _.A(a,11,b)};wO.prototype.O=function(){return _.C(this,p6c,12)};var U6c=function(a,b){_.J(a,12,b)};
wO.prototype.getCapabilities=function(){return _.C(this,K6c,13)};var V6c=function(a,b){_.J(a,13,b)};wO.prototype.getCustomer=function(){return _.B(this,16)};W6c=function(a,b){return _.A(a,16,b)};X6c=[3];_.xO=function(a){_.O(this,a,-1,X6c,null)};_.L(_.xO,_.K);_.xO.prototype.getType=function(){return _.B(this,1)};_.xO.prototype.Cc=function(){return _.B(this,2)};_.fO=function(a){_.O(this,a,-1,null,null)};_.L(_.fO,_.K);_.fO.prototype.getId=function(){return _.B(this,1)};
_.fO.prototype.Pb=function(a){return _.A(this,1,a)};_.fO.prototype.we=function(){return _.C(this,_.lf,3)};_.Y6c=function(a){_.O(this,a,-1,null,null)};_.L(_.Y6c,_.K);_.Y6c.prototype.getFeature=function(){return _.B(this,1)};Z6c=[1];_.tN=function(a){_.O(this,a,-1,Z6c,null)};_.L(_.tN,_.K);$6c=[2,3,8];_.KM=function(a){_.O(this,a,-1,$6c,null)};_.L(_.KM,_.K);_.KM.prototype.getId=function(){return _.B(this,1)};_.KM.prototype.Pb=function(a){return _.A(this,1,a)};
_.KM.prototype.we=function(){return _.C(this,_.lf,4)};_.KM.prototype.Bc=function(){return _.B(this,5)};var a7c=function(a){_.O(this,a,-1,null,null)};_.L(a7c,_.K);var b7c=[1,2,4],c7c={X6b:0,D0b:1,R1b:2,E1b:3,t_b:4,EUb:5,E0b:6,F1b:7,BZb:8,bVb:9,C1b:10},yO=function(){this.map={};this.status=6;this.Oe=null};yO.prototype.Ab=function(){return this.status};yO.prototype.Dc=function(a){this.status=a};yO.prototype.hf=function(){return this.Oe};yO.prototype.jj=function(a){this.Oe=a};
var d7c=function(a,b){a.map=b};yO.prototype.kc=function(a){var b=[];_.Ma(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Oe,me:b})};e7c=function(a,b,c){c=JSON.parse(c);a.Dc(c.s);a.jj(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d};_.wN=function(){yO.apply(this,arguments)};_.L(_.wN,yO);var f7c=function(){yO.apply(this,arguments)};_.L(f7c,yO);var g7c=function(a){_.O(this,a,-1,null,null)};_.L(g7c,_.K);
g7c.prototype.getType=function(){return _.B(this,1)};var h7c=function(a){var b=new g7c;return _.A(b,1,a)},i7c=function(a,b){return _.J(a,2,b)};g7c.prototype.ly=function(){return _.B(this,3)};g7c.prototype.Ny=function(a){return _.A(this,3,a)};g7c.prototype.Mi=function(){return _.B(this,4)};g7c.prototype.setPosition=function(a){return _.A(this,4,a)};var j7c=[2],k7c=function(a){_.O(this,a,-1,j7c,null)};_.L(k7c,_.K);k7c.prototype.Ab=function(){return _.B(this,1)};
k7c.prototype.Dc=function(a){return _.A(this,1,a)};var l7c=[2],zO=function(a){_.O(this,a,-1,l7c,null)};_.L(zO,_.K);zO.prototype.Ab=function(){return _.B(this,1)};zO.prototype.Dc=function(a){return _.A(this,1,a)};zO.prototype.O=function(){return _.Uj(this,tO,2)};var m7c=function(a,b){return _.Nj(a,2,b)};zO.prototype.Zj=function(){return _.B(this,3)};var n7c=function(a){_.O(this,a,-1,null,null)};_.L(n7c,_.K);n7c.prototype.Ab=function(){return _.B(this,1)};
n7c.prototype.Dc=function(a){return _.A(this,1,a)};var o7c=function(a,b){return _.J(a,2,b)},p7c={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"},q7c=function(a){_.O(this,a,-1,null,null)};_.L(q7c,_.K);q7c.prototype.Pe=function(){return _.E(this,1)};q7c.prototype.lm=function(a){return _.ek(this,1,a)};q7c.prototype.getUrl=function(){return _.E(this,2)};_.r7c=function(a){_.O(this,a,-1,null,null)};_.L(_.r7c,_.K);_.r7c.prototype.getType=function(){return _.Gj(this,1,0)};
_.r7c.prototype.getContext=function(){return _.C(this,q7c,2)};_.r7c.prototype.Xi=function(a){return _.J(this,2,a)};s7c=[1];t7c=[2,4];_.u7c=function(a){_.O(this,a,-1,t7c,null)};_.L(_.u7c,_.K);_.u7c.prototype.getLabel=function(){return _.E(this,1)};_.u7c.prototype.getTitle=function(){return _.E(this,3)};_.u7c.prototype.setTitle=function(a){return _.ek(this,3,a)};_.v7c=function(a){_.O(this,a,-1,s7c,null)};_.L(_.v7c,_.K);_.w7c=[[2,3,4]];_.AO=function(a){_.O(this,a,-1,null,null)};_.L(_.AO,_.K);
_.AO.prototype.ye=function(){return _.E(this,3)};_.AO.prototype.ho=function(a){return _.ek(this,4,a)};_.x7c=function(a){_.O(this,a,-1,null,null)};_.L(_.x7c,_.K);_.y7c=function(a){_.O(this,a,-1,null,_.w7c)};_.L(_.y7c,_.K);var z7c=function(a){_.O(this,a,-1,null,null)};_.L(z7c,_.K);A7c=[3,5];_.BO=[[8,9,10,11,12,13,14]];_.B7c=function(a){_.O(this,a,-1,null,null)};_.L(_.B7c,_.K);_.C7c=function(a){_.O(this,a,-1,A7c,_.BO)};_.L(_.C7c,_.K);_.C7c.prototype.Ab=function(){return _.Gj(this,6,0)};
_.C7c.prototype.Dc=function(a){return _.fk(this,6,a)};var D7c=function(a){_.O(this,a,-1,null,null)};_.L(D7c,_.K);var E7c=function(a){_.O(this,a,-1,null,null)};_.L(E7c,_.K);var F7c=function(a){_.O(this,a,-1,null,null)};_.L(F7c,_.K);var G7c=[1],H7c=function(a){_.O(this,a,-1,G7c,null)};_.L(H7c,_.K);var I7c=function(a){_.O(this,a,-1,null,null)};_.L(I7c,_.K);var J7c=function(a){_.O(this,a,-1,null,null)};_.L(J7c,_.K);K7c=[7];_.L7c=[[1,2,3]];_.M7c=function(a){_.O(this,a,-1,null,null)};_.L(_.M7c,_.K);
_.N7c=function(a){_.O(this,a,-1,null,null)};_.L(_.N7c,_.K);_.O7c=function(a){_.O(this,a,-1,null,null)};_.L(_.O7c,_.K);_.P7c=function(a){_.O(this,a,-1,K7c,_.L7c)};_.L(_.P7c,_.K);_.Q7c=function(a){_.O(this,a,-1,null,null)};_.L(_.Q7c,_.K);_.Q7c.prototype.getName=function(){return _.E(this,1)};_.Q7c.prototype.jd=function(a){return _.ek(this,1,a)};var R7c=function(a){_.O(this,a,-1,null,null)};_.L(R7c,_.K);R7c.prototype.getName=function(){return _.E(this,1)};
R7c.prototype.jd=function(a){return _.ek(this,1,a)};R7c.prototype.getTitle=function(){return _.E(this,2)};R7c.prototype.setTitle=function(a){return _.ek(this,2,a)};var S7c=[[1,4]],T7c=function(a){_.O(this,a,-1,null,S7c)};_.L(T7c,_.K);T7c.prototype.getUser=function(){return _.C(this,_.y7c,1)};var U7c=[[8,9,10]],V7c=function(a){_.O(this,a,-1,null,null)};_.L(V7c,_.K);var W7c=function(a){_.O(this,a,-1,null,null)};_.L(W7c,_.K);W7c.prototype.getType=function(){return _.Gj(this,6,0)};
var X7c=function(a){_.O(this,a,-1,null,null)};_.L(X7c,_.K);_.Y7c=function(a){_.O(this,a,-1,null,U7c)};_.L(_.Y7c,_.K);_.g=_.Y7c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.getFile=function(){return _.C(this,V7c,3)};_.g.cka=function(){return _.C(this,W7c,9)};_.g.Yza=function(){return _.C(this,X7c,10)};_.g.Ci=function(){return _.bk(this,5)};
_.g.getMimeType=function(){return _.E(this,6)};_.g.YC=function(){return _.C(this,T7c,7)};var Z7c=function(a){_.O(this,a,-1,null,null)};_.L(Z7c,_.K);var $7c=[[8,9,10]],a8c=function(a){_.O(this,a,-1,null,$7c)};_.L(a8c,_.K);_.g=a8c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.getFile=function(){return _.C(this,V7c,3)};
_.g.cka=function(){return _.C(this,W7c,9)};_.g.Yza=function(){return _.C(this,X7c,10)};b8c=[[1,3]];_.CO=function(a){_.O(this,a,-1,null,b8c)};_.L(_.CO,_.K);_.CO.prototype.li=function(){return _.C(this,a8c,1)};_.c8c=[[1,2,3]];_.d8c=function(a){_.O(this,a,-1,null,null)};_.L(_.d8c,_.K);_.e8c=function(a){_.O(this,a,-1,null,_.c8c)};_.L(_.e8c,_.K);var f8c=function(a){_.O(this,a,-1,null,null)};_.L(f8c,_.K);var g8c=function(a){_.O(this,a,-1,null,null)};_.L(g8c,_.K);h8c=[2,3];
_.i8c=function(a){_.O(this,a,-1,h8c,null)};_.L(_.i8c,_.K);_.i8c.prototype.getType=function(){return _.Gj(this,1,0)};_.j8c=function(a){_.O(this,a,-1,null,null)};_.L(_.j8c,_.K);_.j8c.prototype.getType=function(){return _.Gj(this,1,0)};var k8c=function(a){_.O(this,a,-1,null,null)};_.L(k8c,_.K);k8c.prototype.getType=function(){return _.Gj(this,1,0)};var l8c=function(a){_.O(this,a,-1,null,null)};_.L(l8c,_.K);_.m8c=function(a){_.O(this,a,-1,null,null)};_.L(_.m8c,_.K);
_.m8c.prototype.O=function(){return _.S(this,1)};var n8c=function(a){_.O(this,a,-1,null,null)};_.L(n8c,_.K);o8c=[1,2,4];_.p8c=function(a){_.O(this,a,-1,null,null)};_.L(_.p8c,_.K);q8c=[1,2];_.r8c=function(a){_.O(this,a,-1,null,null)};_.L(_.r8c,_.K);_.r8c.prototype.getParent=function(){return _.C(this,_.CO,1)};_.r8c.prototype.xg=function(a){return _.J(this,1,a)};_.s8c=function(a){_.O(this,a,-1,q8c,null)};_.L(_.s8c,_.K);_.t8c=function(a){_.O(this,a,-1,o8c,null)};_.L(_.t8c,_.K);
_.DO=function(a){_.O(this,a,-1,null,null)};_.L(_.DO,_.K);_.DO.prototype.getEmail=function(){return _.E(this,1)};_.DO.prototype.getTitle=function(){return _.E(this,2)};_.DO.prototype.setTitle=function(a){return _.ek(this,2,a)};_.EO=[[2,3,4,5]];_.FO=function(a){_.O(this,a,-1,null,_.EO)};_.L(_.FO,_.K);_.FO.prototype.zf=function(){return _.Gj(this,1,0)};_.FO.prototype.getUser=function(){return _.C(this,_.y7c,2)};var u8c=function(a){_.O(this,a,-1,null,null)};_.L(u8c,_.K);v8c=[1,2,3,4];
_.w8c=function(a){_.O(this,a,-1,v8c,null)};_.L(_.w8c,_.K);_.x8c=function(a){_.O(this,a,-1,null,null)};_.L(_.x8c,_.K);_.y8c=function(a){_.O(this,a,-1,null,null)};_.L(_.y8c,_.K);_.z8c=function(a){_.O(this,a,-1,null,null)};_.L(_.z8c,_.K);_.A8c=function(a){_.O(this,a,-1,null,null)};_.L(_.A8c,_.K);_.A8c.prototype.getType=function(){return _.Gj(this,1,0)};B8c=[1];_.C8c=function(a){_.O(this,a,-1,null,null)};_.L(_.C8c,_.K);_.C8c.prototype.getFeature=function(){return _.Gj(this,1,0)};
_.D8c=function(a){_.O(this,a,-1,B8c,null)};_.L(_.D8c,_.K);var E8c=function(a){_.O(this,a,-1,null,null)};_.L(E8c,_.K);var F8c=function(a){_.O(this,a,-1,null,null)};_.L(F8c,_.K);var G8c=function(a){_.O(this,a,-1,null,null)};_.L(G8c,_.K);G8c.prototype.getType=function(){return _.Gj(this,1,0)};_.GO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.HO=function(a){_.O(this,a,-1,null,_.GO)};_.L(_.HO,_.K);_.HO.prototype.Pz=function(){return _.C(this,G8c,10)};_.H8c=function(a){_.O(this,a,-1,null,null)};
_.L(_.H8c,_.K);var I8c=function(a){_.O(this,a,-1,null,null)};_.L(I8c,_.K);_.J8c=function(a){_.O(this,a,-1,null,null)};_.L(_.J8c,_.K);_.K8c=function(a){_.O(this,a,-1,null,null)};_.L(_.K8c,_.K);_.K8c.prototype.getType=function(){return _.Gj(this,1,0)};_.L8c=[[1,2,3,4,5]];_.M8c=function(a){_.O(this,a,-1,null,_.L8c)};_.L(_.M8c,_.K);_.M8c.prototype.getUser=function(){return _.C(this,_.y7c,1)};var N8c=function(a){_.O(this,a,-1,null,null)};_.L(N8c,_.K);
N8c.prototype.getType=function(){return _.Gj(this,2,0)};N8c.prototype.yh=function(){return _.E(this,1)};_.O8c=function(a){_.O(this,a,-1,null,null)};_.L(_.O8c,_.K);_.g=_.O8c.prototype;_.g.getName=function(){return _.E(this,1)};_.g.jd=function(a){return _.ek(this,1,a)};_.g.getTitle=function(){return _.E(this,2)};_.g.setTitle=function(a){return _.ek(this,2,a)};_.g.Na=function(){return _.C(this,_.Y7c,3)};_.P8c=function(a){_.O(this,a,-1,null,null)};_.L(_.P8c,_.K);
_.P8c.prototype.getParent=function(){return _.C(this,_.Y7c,4)};_.P8c.prototype.xg=function(a){return _.J(this,4,a)};_.Q8c=[[1,5,3]];_.R8c=function(a){_.O(this,a,-1,null,_.Q8c)};_.L(_.R8c,_.K);_.R8c.prototype.li=function(){return _.C(this,_.Y7c,1)};S8c=function(a,b){return new _.kTc(_.lTc.bound(a,b,void 0,void 0))};
T8c=function(){var a=new _.Vh,b=_.xTc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Od(_.AL(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.U8c=function(a){_.O(this,a,-1,null,null)};_.L(_.U8c,_.K);_.U8c.prototype.Hq=function(){return _.B(this,1)};_.U8c.prototype.Ld=function(){return _.B(this,2)};_.U8c.prototype.setSize=function(a){return _.A(this,2,a)};_.U8c.prototype.getUrl=function(){return _.B(this,3)};
_.V8c=function(a){_.O(this,a,-1,null,null)};_.L(_.V8c,_.K);_.V8c.prototype.getType=function(){return _.B(this,1)};Y8c=[2,3];_.Z8c=function(a){_.O(this,a,-1,Y8c,null)};_.L(_.Z8c,_.K);$8c=[4,5,6,17,18,24];_.IO=function(a){_.O(this,a,-1,$8c,null)};_.L(_.IO,_.K);_.IO.prototype.getId=function(){return _.B(this,1)};_.IO.prototype.Pb=function(a){return _.A(this,1,a)};_.IO.prototype.getName=function(){return _.B(this,2)};_.IO.prototype.jd=function(a){return _.A(this,2,a)};
var a9c=function(a,b){return _.Kj(a,4,b)},b9c=function(a,b){return _.Kj(a,5,b)};_.IO.prototype.JQ=function(){return _.B(this,8)};_.IO.prototype.SAa=function(){return _.R(this,22)};_.IO.prototype.getType=function(){return _.B(this,23)};_.IO.prototype.Bm=function(){return _.R(this,33)};var M2c=function(a){_.O(this,a,-1,null,null)};_.L(M2c,_.K);var c9c=[3],JO=function(a){_.O(this,a,-1,c9c,null)};_.L(JO,_.K);JO.prototype.iq=function(){return _.B(this,1)};var d9c=function(a,b){return _.A(a,1,b)};
JO.prototype.getTitle=function(){return _.B(this,2)};JO.prototype.setTitle=function(a){return _.A(this,2,a)};JO.prototype.Fd=function(){return _.Uj(this,_.Yk,3)};var e9c=function(a,b){return _.Nj(a,3,b)};JO.prototype.kh=function(a,b){return _.Xj(this,3,a,_.Yk,b)};JO.prototype.V=function(){return _.B(this,4)};var f9c=function(a,b){return _.A(a,4,b)};JO.prototype.O=function(){return _.C(this,_.Hk,5)};var g9c=function(a,b){return _.J(a,5,b)},h9c=[2],KO=function(a){_.O(this,a,-1,h9c,null)};_.L(KO,_.K);
KO.prototype.Ab=function(){return _.B(this,1)};KO.prototype.Dc=function(a){return _.A(this,1,a)};KO.prototype.kl=function(){return _.Uj(this,JO,2)};var i9c=function(a,b){return _.Nj(a,2,b)};KO.prototype.Uf=function(){return _.B(this,4)};j9c=function(a,b){return _.A(a,4,b)};_.yN=function(a){_.O(this,a,-1,null,null)};_.L(_.yN,_.K);_.g=_.yN.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.PT=function(){return _.Ij(this,2,_.KF)};
_.g.Zj=function(){return _.B(this,3)};_.g.hf=function(){return _.B(this,5)};_.g.jj=function(a){return _.A(this,5,a)};var k9c=[1],gO=[[1,2,3,4,5,6,7]],n2c=function(a){_.O(this,a,-1,null,gO)};_.L(n2c,_.K);var o2c=function(a){_.O(this,a,-1,k9c,null)};_.L(o2c,_.K);var LO=function(a){_.O(this,a,-1,null,null)};_.L(LO,_.K);LO.prototype.getQuery=function(){return _.C(this,_.Ye,1,1)};var l9c=function(a,b){return _.J(a,1,b)};LO.prototype.Sn=function(){return _.B(this,4)};
var m9c=function(a,b){return _.J(a,5,b)},n9c=[1,2,5,7,9,10,12],MO=function(a){_.O(this,a,-1,n9c,null)};_.L(MO,_.K);MO.prototype.Fd=function(){return _.Uj(this,_.Yk,1)};var o9c=function(a,b){return _.Nj(a,1,b)};MO.prototype.kh=function(a,b){return _.Xj(this,1,a,_.Yk,b)};MO.prototype.xha=function(a){_.Xj(this,2,a,_.Fk,void 0)};var p9c=function(a,b){return _.A(a,3,b)};MO.prototype.Un=function(){return _.B(this,4)};MO.prototype.Du=function(a){return _.A(this,4,a)};
var q9c=function(a,b){return _.Nj(a,5,b)},r9c=function(a,b){return _.A(a,6,b)};MO.prototype.Eh=function(){return _.C(this,_.ZA,8)};var s9c=function(a,b){return _.Kj(a,12,b)};MO.prototype.uo=function(){return _.Gj(this,13,0)};var t9c=function(a,b){return _.A(a,13,b)},u9c={fVb:0,eVb:1,T_b:2,Z5b:3,b6b:4},eO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],l2c=function(a){_.O(this,a,-1,null,eO)};_.L(l2c,_.K);var s2c=[[1,2]],r2c=function(a){_.O(this,a,-1,null,s2c)};_.L(r2c,_.K);
var v2c=[[1,2,3]],u2c=function(a){_.O(this,a,-1,null,v2c)};_.L(u2c,_.K);_.NO=function(a){_.O(this,a,-1,null,null)};_.L(_.NO,_.K);_.NO.prototype.uY=function(a){_.J(this,1,a)};_.NO.prototype.xr=function(){return _.C(this,_.Ax,2)};_.NO.prototype.tF=function(a){_.J(this,2,a)};v9c=[[5,6]];_.w9c=function(a){_.O(this,a,-1,null,v9c)};_.L(_.w9c,_.K);_.w9c.prototype.Mh=function(){return _.C(this,N8c,2)};_.w9c.prototype.O=function(a){_.Wj(this,5,v9c[0],a)};x9c=[3,4,5];y9c=[[6,7]];
_.z9c=function(a){_.O(this,a,-1,x9c,y9c)};_.L(_.z9c,_.K);_.z9c.prototype.O=function(a){_.Wj(this,6,y9c[0],a)};var A9c=[1],B9c=function(a){_.O(this,a,-1,A9c,null)};_.L(B9c,_.K);B9c.prototype.ky=function(){return _.E(this,2)};var C9c=function(a,b){return 1<a?2===b:a===b},D9c=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");},OO=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=OO.prototype;_.g.clone=function(){return new OO(this.item.clone(),this.count,this.H,this.V,this.O)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};_.g.setItem=function(a){this.item=a};_.g.JD=function(a){this.H=a};_.g.equals=function(a){return this.count===a.$b()&&this.H===a.H&&this.V===a.V&&this.O===a.O&&_.ak(this.item,a.getItem())};
_.zN=function(a,b,c){this.response=a;this.Oe=void 0===b?0:b;this.g0=void 0===c?null:c};_.XVc=function(a){this.H=a;this.type=1};E9c=function(){};F9c=function(a){this.H=a};_.YVc=function(a){this.H=a;this.type=0};X2c=function(a,b,c,d,e,f,h,k){this.status=a;this.O=b;this.V=c;this.ka=d;this.ha=e;this.eA=f;this.H=h;this.W=k};_.BN=function(a,b,c){this.response=a;this.Oe=void 0===b?0:b;this.g0=void 0===c?null:c};_.eWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.hWc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.CN=function(a,b,c){this.response=a;this.Oe=void 0===b?0:b;this.g0=void 0===c?null:c};_.DN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Oe=void 0===d?0:d};_.AN=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Oe=void 0===d?0:d};G9c=function(a){_.AN.call(this,a,void 0,void 0,void 0);this.b4a=new _.yn};_.L(G9c,_.AN);
var H9c=function(a,b){this.response=a;this.pageToken=void 0===b?"":b},I9c=function(a){return[].concat(_.jd(new Set(a.map(function(b){return _.AUc.get(b)}).filter(function(b){return b})))).join(",")},PO=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.jd(b));b=I9c(b);var d=_.IL(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+")"},J9c=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+PO(a,b,!1)+")"},QO=function(a){return a instanceof _.Yk?null!=a.getId()&&a.getId()==a.Bc():null!=a.Cc()&&a.Cc()==a.Bc()},K9c=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.eh();null!=e&&I1c(a,e.clone());if((e=b.getCapabilities())&&null!=_.R(e,13)){var f=a.getCapabilities()||
new _.Tk,h=_.R(e,13);_.A(f,13,h);_.cN(a,f)}e&&null!=_.R(e,18)&&(f=a.getCapabilities()||new _.Tk,e=_.R(e,18),_.A(f,18,e),_.cN(a,f));ZN(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.eh()&&ZN(a,d,c)},L9c=function(a,b,c){c=void 0===c?[]:c;if(!b||!QO(a)&&!QO(b))return a;if(2==bO(a)){c=_.B(a,82);var d=b.clone();K9c(d,a);_.hXc(d,bO(b));_.WL(d,c);return d}a=a.clone();K9c(a,b,c);return a},M9c=function(a){return(a=a?a.eh():null)&&a.Bm()||!1},N9c=
function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},O9c=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]={}})},Q9c=function(a,b,c){b.every(function(d){return QO(d)})?P9c(b,c,a.H,a.O):b.every(function(d){return!QO(d)})&&P9c(b,c,a.items,a.fields)},P9c=function(a,b,c,d){var e=_.KVc(b,[].concat(_.jd(d)));0!==e.length&&a.forEach(function(f){e.forEach(function(h){var k=
c[h][f.getId()];k&&ZN(f,k,[h])})})};N9c.prototype.update=function(a,b,c){b&&QO(b)?R9c(a,b,this.H,this.O,c):R9c(a,b,this.items,this.fields,c)};N9c.prototype.xJ=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 R9c=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&&F1c(b,[h])){var k=new _.Yk;k.Pb(b.getId());ZN(k,b,[h]);f[a]=k}});b&&B1c(b,[].concat(_.jd(d)))};
N9c.prototype.clear=function(){var a=this;_.Ma(this.items,function(b,c){a.items[c]={}});_.Ma(this.H,function(b,c){a.H[c]={}})};N9c.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var S9c=function(a,b,c){var d=this;this.uu=b;this.xw=c;this.Nd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=S9c.prototype;_.g.by=function(){return this.Nd};
_.g.tk=function(a){var b=new Map;a=_.m(a.an());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Nd.has(c)&&b.set(c,this.Nd.get(c).getItem());return b};_.g.query=function(a,b){var c=[];if(T9c(a)){for(var d=_.m(this.Nd.values()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.uu,a,e.getItem())&&(void 0===b||C9c(e.H,b))&&c.push(e);this.xw.sort(a,c)}return c};_.g.get=function(a){return this.Nd.get(a)||null};
_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Nd.get(c.value))&&b.push(c);return b};_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,U9c(this,a.H)?(this.Nd.delete(a.id),a.H.count--):this.Nd.set(a.id,a.H)):(this.Nd.delete(a.id),a.O.count--)};var U9c=function(a,b){return 1<b.$b()||C9c(b.H,2)||b.getItem().JI()||$1c(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};
S9c.prototype.xJ=function(){for(var a=_.m(this.Nd.values()),b=a.next();!b.done;b=a.next())b=b.value,U9c(this,b)&&(this.Nd.delete(b.getId()),b.count--)};var V9c=function(a,b,c,d){this.Ig=a;this.W=b;this.O=c;this.V=d},N2c=function(a,b){return(b=a.O.get(b))?(b=b.clone(),Q9c(a.V,[b.getItem()],F5c(a.Ig)),b):null};V9c.prototype.H=function(a){return(a=N2c(this,a))?a.getItem():null};
var W9c=function(a,b){var c={};b.forEach(function(d){var e=N2c(a,d);e&&(c[d]=e)});return c},X9c=function(a,b){return _.Oa(W9c(a,b),function(c){return c.getItem()})},Y9c=function(a,b){b=SO(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};V9c.prototype.query=function(a){return Y9c(this,a).map(function(b){return b.getItem()})};V9c.prototype.Ld=function(){return this.O.by().size};
var Z9c=function(a){var b=new Set;a=_.m(a.O.by().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Zk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.VF(e));(d=c.xm())&&b.add(d.getId()||_.VF(d));(d=c.Pv())&&b.add(d.getId()||_.VF(d));(d=c.Kq())&&b.add(d.getId()||_.VF(d));(c=c.eD())&&b.add(c.getId()||_.VF(c))}return b.size},$9c=function(a){var b=new _.Po;_.sN(b,"hidden",a.Bm());a=_.R(a,6);null!=a&&_.sN(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},
a$c=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}},b$c=function(a){var b=_.lSc(),c={};b&&(c.numeric=b);this.H=_.mSc(a,c)};b$c.prototype.compare=function(a,b,c){b=c$c(b);c=c$c(c);a=a.Ac();var d=a$c(a);if(a&&d){d=d$c(this,a);var e=4===a.getType()?this.H:_.Ga;return e$c(a,d,e,b,c)}return _.Ga(b.getId(),c.getId())};
b$c.prototype.sort=function(a,b,c){a=a.Ac();var d=a$c(a);a&&d&&(d=d$c(this,a),d=f$c(b,d),_.Ia(b,g$c(this,a,d)));c&&0<c&&_.Ba(b,c,b.length-c)};
var c$c=function(a){return a instanceof _.Yk?a:a.getItem()},d$c=function(a,b){b=a$c(b);return _.v(a.O,a,b,_.Ga)},f$c=function(a,b){var c={};a.forEach(function(d){d=c$c(d);var e=d.getId();c[e]=b(d)});return c},g$c=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ga;d=c$c(d);e=c$c(e);return e$c(b,function(h){return c[h.getId()]},f,d,e)}},e$c=function(a,b,c,d,e){var f=1===a.yf()?1:-1;if(_.R(a,3)){a=aO(d,!0);var h=aO(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ga(d.getId(),
e.getId()))};b$c.prototype.O=function(a,b,c){for(var d=h$c(a[0],c),e=1;e<a.length;e++){var f=h$c(a[e],c);d=1===b(f,d)?f:d}return d};
var h$c=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.NA()||!1;case 12:return b.az()||0;case 11:return b.cB()||0;case 10:return b.zq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.my()||0;case 57:return _.B(b,62)||0;case 32:return b.Mu()||0;case 9:return b.QC()||0;case 67:return b.UJ()||0;case 98:return b.Qv()||0;default:return""}},i$c=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.jr=_.CL(_.DL(b));
a=_.SL(b);this.V=!(!a||!_.S(a,1,!1));this.O=!(!a||!_.S(a,8,!1))};i$c.prototype.Du=function(a){this.rootId=a||""};
var SO=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Pb(a.rootId);_.Gl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Lb(a.rootId)});_.ef(b,_.Fl(b).map(function(d){d.Lb(d.Ya().toLowerCase());return d}));c&&_.El(b,a.fields);b.O().sort();return b},TO=function(a,b,c){if(b instanceof _.Ye){b=SO(a,b);var d=_.FYc(b)}else if(b instanceof _.Zz)d=b.an().sort().join(","),_.S(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.wL)return d=$9c(b),d+"|tdList";if(b instanceof _.JF)return d=
b.an().sort().join(","),b.O().length&&(d+="|"+I9c(b.O())),d+"|tdMap";throw Error("Pe");}return 3===c?d:d+"|"+j$c(a,b.O(),2===c)},j$c=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.jd(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.dM({fields:[].concat(_.jd(f)),jr:a.jr}));e.size&&(d=d+" + "+_.dM({fields:[].concat(_.jd(e)),jr:a.jr}));
return d};i$c.prototype.equals=function(a,b,c){var d;c&&(d=3);return TO(this,a,d)===TO(this,b,d)};
var k$c=function(a){if(!a.an().every(function(b){return!_.ae(b)}))throw new _.lc("Invalid ids for FindByIdsRequest");},m$c=function(a,b,c){if(_.AM(b))throw new _.lc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");l$c(a,b,c)},l$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(b.getId())throw new _.lc("Use findByIds() for find by id queries.",d?d:_.aM(3));if(!b.Li()||0>=b.Li())throw new _.lc("A positive limit is required on an ItemQueryRequest.",d?d:_.aM(3));
_.Md(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),n$c(a,d,b.O()));if(c=(c=b.Ac())&&a$c(c))d=b.O().length?b.O():a.fields,n$c(a,d,c);if(_.zM(b)){if(a.jr)throw new _.lc("User must be authenticated for a Quick Access request.");if(!o$c(a)&&20<b.Li())throw new _.lc("Limit must be in the range [1, 20].");c=2===_.fN(b);d=_.Md(b,33).length;if(c&&1!==d||d&&!c)throw new _.lc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.Oj(_.Lj(_.Lj(_.Lj(_.MH(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),33),45),47),48),6);d=new _.Ye;if(!_.ak(c,d))throw new _.lc("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: "+Z5c(d,c));}if(_.BM(b)){if(a.jr)throw new _.lc("User must be authenticated for a DrivePriority request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a Drive Priority request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),1),30),32),45),52);
b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+Z5c(b,a));}},p$c=function(a,b,c){if(!_.AM(b))throw new _.lc("Expected a PeoplePredict request.");l$c(a,b,c);if(a.jr)throw new _.lc("User must be authenticated for a People Predict request.");if(2===_.fN(b))throw new _.lc("Team Drive corpora is not valid for a People Predict request.");a=_.Lj(_.Lj(_.Lj(_.Mj(_.MH(b.clone(),
1),30),32),45),49);b=new _.Ye;if(!_.ak(a,b))throw new _.lc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+Z5c(b,a));},n$c=function(a,b,c){var d;a.O||(d=_.aM(3));if(!G1c(b,c,_.IVc)){var e=_.dM({fields:c,jr:a.jr}),f=_.dM({fields:b,jr:a.jr});a=_.dM({fields:H1c(c,b),jr:a.jr});throw new _.lc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.aM(3));
}},o$c=function(a){return 200<=_.hN(a.H)&&300>_.hN(a.H)},q$c=function(a){var b=new Set;_.Fl(a).forEach(function(c){switch(_.QNa(c.Ya())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.jd(b))},r$c=function(a){switch(_.hN(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"}},s$c=function(a){_.N.call(this);this.H=a};_.If(s$c,_.N);_.g=s$c.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.wO=function(a){this.H.addCallback(function(b){b.wO(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Xa=function(){this.cancel();s$c.ub.Xa.call(this)};var g2c=function(a){_.hy.call(this);this.H=a;this.V=_.ue(this.H,"message",this.mpb,!1,this)};_.If(g2c,_.hy);_.g=g2c.prototype;_.g.Cd=null;
_.g.send=function(a,b){var c=[];b=this.Sya(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.HUc&&(a=(0,_.xi)(a));this.H.postMessage(a,c)};_.g.mpb=function(a){a=a.Ce;var b=a.data;if(_.HUc)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.sCa(a.ports||[],b),d.$Ea),null!=b&&d.callback(b))}};
_.g.Sya=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.Sya,this,a)):b&&b.constructor==Object?_.Oa(b,function(c,d){c=this.Sya(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.sCa=function(a,b){return Array.isArray(b)?b.map((0,_.v)(this.sCa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Oa(b,function(c,d){return this.sCa(a,"_port"==d?c.val:c)},this):b};_.g.Xa=function(){_.mi(this.V);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;g2c.ub.Xa.call(this)};
var i2c=function(a,b){if("*"==b)return new s$c(_.ai(Error("Qe")));var c=new _.si(50),d=_.wb(_.aa,c),e=new _.Vh(d);_.Yja(e,d);c.start();_.ue(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new g2c(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new s$c(e)},t$c=function(a){_.N.call(this);this.H=new _.RSc(a);this.V={};this.O=_.TSc(this.H,
"private");this.W=_.TSc(this.H,"public");this.O.registerService("mics",(0,_.v)(this.Kmb,this),!0)};_.If(t$c,_.N);_.g=t$c.prototype;_.g.TFb=0;_.g.Xa=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 cO=function(a,b,c){_.N.call(this);this.W=c;this.started=!1;this.H=new _.RSc(a);this.Ma(this.H);this.O=new t$c(_.TSc(this.H,"direct"));this.Ma(this.O);a=_.TSc(this.H,"passthrough");this.V=b?a:new t$c(a);this.Ma(this.V);this.JW=b};_.L(cO,_.N);cO.prototype.registerService=function(a,b){this.O.registerService(a,b)};
cO.prototype.send=function(a,b,c){this.O.send(a,b||{},c||_.Ef)};var UO=function(a,b,c){if(a.JW)throw Error("Re");a.V.registerService(b,c,!0)},VO=function(a,b,c,d){if(a.JW)throw Error("Se");a.V.send(b,c||{},d||_.Ef)};cO.prototype.start=function(){this.started||(this.started=!0);if(this.JW)throw Error("Te");};var d2c=[],u$c=function(){_.hy.call(this);this.H=null};_.L(u$c,_.hy);u$c.prototype.send=function(a,b){_.u6a(this.H,a,b)};
var j2c=function(){this.O=new u$c;this.H=new u$c;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},v$c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.kc=null},w$c=function(a,b){b=void 0===b?!1:b;null==a.kc&&(a.kc=b)&&c2c(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.kc}},x$c=function(a){var b=new v$c(a.c,a.m,a.a,a.req);b.kc=a.s;return b},y$c=function(a,b,c){this.data=b?void 0:a;this.error=b;this.H=c;this.kc=null},z$c=function(a,
b){b=void 0===b?!1:b;null==a.kc&&a.data&&(a.kc=b)&&c2c(a.data);return{d:a.data,err:a.error&&b?a.error.kc():a.error,uid:a.H,s:b}},A$c=function(a){var b=a.s,c=a.err&&b?new _.kc(JSON.parse(a.err)):a.err;a=new y$c(c?void 0:a.d,c,a.uid);c||(a.kc=b);return a},b2c=function(a,b){this.H=a;this.BD=b};b2c.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.BD[b];return a};
b2c.prototype.kc=function(){for(var a={},b={},c=0;c<this.BD.length;c++){var d=this.BD[c],e=this.H[c];d instanceof Error?b[e]=_.QL(d).kc():a[e]=d.kc()}return{r:a,e:b}};B$c=function(a,b){if(b){var c=[],d=[];_.Ma(a.r,function(e,f){c.push(f);d.push(new _.UM(JSON.parse(e)))});_.Ma(a.e,function(e,f){c.push(f);e=new _.kc(JSON.parse(e));d.push(_.bM(e))});return new b2c(c,d)}return a};h2c=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
C$c={RTb:0,kUb:1,e_b:3,q7b:5,ojb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.lM=function(a){_.O(this,a,-1,null,null)};_.L(_.lM,_.K);_.lM.prototype.yh=function(){return _.B(this,1)};_.lM.prototype.we=function(){return _.C(this,_.lf,3)};_.oM=function(a){_.O(this,a,-1,null,null)};_.L(_.oM,_.K);_.oM.prototype.Cc=function(){return _.B(this,1)};_.oM.prototype.we=function(){return _.C(this,_.lf,3)};_.wM=function(a){_.O(this,a,-1,null,null)};_.L(_.wM,_.K);
_.wM.prototype.yh=function(){return _.B(this,1)};_.wM.prototype.we=function(){return _.C(this,_.lf,2)};_.xM=function(a){_.O(this,a,-1,null,null)};_.L(_.xM,_.K);_.xM.prototype.yh=function(){return _.B(this,1)};_.xM.prototype.we=function(){return _.C(this,_.lf,2)};_.yM=function(a){_.O(this,a,-1,null,null)};_.L(_.yM,_.K);_.g=_.yM.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.zf=function(){return _.B(this,2)};_.g.getType=function(){return _.B(this,3)};_.g.Ya=function(){return _.B(this,4)};
_.g.Lb=function(a){return _.A(this,4,a)};_.g.zi=function(){return _.Lj(this,4)};_.g.hh=function(){return _.P(this,4)};_.g.we=function(){return _.C(this,_.lf,7)};_.FM=function(a){_.O(this,a,-1,null,null)};_.L(_.FM,_.K);_.FM.prototype.Cc=function(){return _.B(this,1)};_.FM.prototype.we=function(){return _.C(this,_.lf,2)};_.FM.prototype.Li=function(){return _.bk(this,3,1E3)};_.FM.prototype.wi=function(a){return _.A(this,3,a)};_.IM=function(a){_.O(this,a,-1,null,null)};_.L(_.IM,_.K);
_.IM.prototype.we=function(){return _.C(this,_.lf,1)};var D$c=function(){var a=new _.IM,b=_.mf(new _.lf,301);return _.J(a,1,b)};_.IM.prototype.Bc=function(){return _.B(this,3)};_.fWc=function(a){_.O(this,a,-1,null,null)};_.L(_.fWc,_.K);_.fWc.prototype.Bc=function(){return _.B(this,1)};_.MM=function(a){_.O(this,a,-1,null,null)};_.L(_.MM,_.K);_.MM.prototype.yh=function(){return _.B(this,1)};_.MM.prototype.we=function(){return _.C(this,_.lf,4)};var E$c=function(a){_.O(this,a,-1,null,null)};_.L(E$c,_.K);
F$c=function(a,b){return _.A(a,1,b)};_.mM=function(a){_.O(this,a,-1,null,null)};_.L(_.mM,_.K);_.mM.prototype.getId=function(){return _.B(this,1)};_.mM.prototype.Pb=function(a){return _.A(this,1,a)};_.CM=function(a){_.O(this,a,-1,null,null)};_.L(_.CM,_.K);_.CM.prototype.getId=function(){return _.B(this,1)};_.CM.prototype.Pb=function(a){return _.A(this,1,a)};_.TVc=function(a){_.O(this,a,-1,null,null)};_.L(_.TVc,_.K);
var G$c=function(a,b,c){_.ri.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(G$c,_.ri);G$c.prototype.tB=function(){return this.O};G$c.prototype.hQ=function(){var a=this;if(this.W)return this.W;var b=_.Th();this.W=b.promise;_.n.setTimeout(function(){a.W=null},5E3);H$c(this,b);return b.promise};G$c.prototype.oa=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,I$c(this))};
G$c.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 f6c("ib")))};
var J$c=function(a,b){a.ha=b},I$c=function(a){a.H||(a.H=new _.zZc(5E3),a.timeout=_.n.setTimeout(function(){return K$c(a)},a.H.Ya()))},K$c=function(a){H$c(a);a.H&&(_.rH(a.H),a.timeout=_.n.setTimeout(function(){return K$c(a)},a.H.Ya()))},H$c=function(a,b){var c=_.Ph();a.ha&&(c=a.ha());c.then(function(){return L$c(a,b)})},L$c=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Se(new _.gWc)});b?c.then(function(){b.resolve(F$c(new E$c,1))},function(d){var e=_.$A(d).Og;
d=0;_.UUc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.bq(e),_.A(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new E$c;F$c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.$A(d);_.UUc(d.Og)&&a.V&&(a.dispatchEvent(new f6c("jb")),a.V=!1)})};G$c.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};
var M$c=function(a){return _.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)},N$c=function(a){_.O(this,a,-1,null,null)};_.L(N$c,_.K);_.g=N$c.prototype;_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.Iz=function(){return _.B(this,3)};_.g.Le=function(){return _.B(this,4)};_.g.xi=function(a){return _.A(this,4,a)};var O$c=function(a){this.Cd=a;this.H=new Map;this.O=this.Cd.W};
O$c.prototype.create=function(a,b){if(0!=L5c(b)){var c=this.Cd.H(106001);if(c){var d=L5c(b),e=pO(c);_.A(e,2,d);d=pO(c);e=null;if(b instanceof _.WF||b instanceof _.Zz||b instanceof _.Ye||b instanceof _.DM||b instanceof _.iD||b instanceof _.JF||b instanceof _.wL||b instanceof _.EL||b instanceof _.LF||b instanceof _.Jz)e=b.we();e=e&&_.S(e,2,!1);_.A(d,7,"boolean"==typeof e?e:void 0);d=pO(c);b=b instanceof _.Ye?0<_.Gl(b).length:void 0;_.A(d,8,b);this.H.set(a,c)}}};
var P$c=function(a,b,c){if(a=a.H.get(b))a=pO(a),_.A(a,5,c)},Q$c=function(a,b,c){(a=a.H.get(b))&&_.R(pO(a),8)&&(a=pO(a),_.A(a,9,c))},R$c=function(a,b,c,d,e){var f=a.H.get(b);f&&(pO(f).Dc(c),pO(f).jj(d),null!=e&&(c=pO(f),_.A(c,6,e)),f.Yj(),a.H.delete(b))},S$c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Ab(c);c=M5c(c);if(1==e||2==c)e=_.vN(_.KUc,c),d=pO(d),d=3==e||8==e?!_.R(d,5):0!=e?_.gVc.has(e):null,R$c(a,b,1,e,d)}},T$c=function(a,b,c){var d=a.O.Ab(c);d=_.vN(_.JUc,d||22);var e=M5c(c);e=_.vN(_.KUc,
e);R$c(a,b,d,e,"undefined"!=typeof _.zN&&c instanceof _.zN||"undefined"!=typeof _.BN&&c instanceof _.BN||"undefined"!=typeof _.CN&&c instanceof _.CN?c.g0:null)},WO=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(pO(d).Dc(c),d.Yj(),a.H.delete(b))},XO=function(a,b){_.gi.call(this,"Gb");this.error=a;this.H=b};_.L(XO,_.gi);var U$c=[2,4],YO=function(a){_.O(this,a,-1,U$c,null)};_.L(YO,_.K);YO.prototype.Ab=function(){return _.B(this,1)};YO.prototype.Dc=function(a){return _.A(this,1,a)};
YO.prototype.Zj=function(){return _.B(this,3)};var V$c=[4,9],W$c=function(a){_.O(this,a,-1,V$c,null)};_.L(W$c,_.K);_.g=W$c.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.gWa=function(){return _.B(this,2)};_.g.HMa=function(){return _.B(this,3)};_.g.gtb=function(){return _.Uj(this,_.ML,4)};var X$c={Y6b:0,A1b:1,D1b:2,B1b:4,l_b:5,yXb:6,s_b:7,Q1b:8},Y$c=function(a){_.O(this,a,-1,null,null)};_.L(Y$c,_.K);Y$c.prototype.getUrl=function(){return _.B(this,1)};
var ZO=function(a){_.O(this,a,-1,null,null)};_.L(ZO,_.K);var Z$c=function(a,b){return _.A(a,1,b)};ZO.prototype.getName=function(){return _.B(this,2)};ZO.prototype.jd=function(a){return _.A(this,2,a)};ZO.prototype.getEmail=function(){return _.B(this,3)};var $$c=function(a,b){return _.A(a,3,b)};ZO.prototype.vp=function(){return _.P(this,3)};var aad=[1],bad=function(a){_.O(this,a,-1,aad,null)};_.L(bad,_.K);var cad=function(a,b){return _.Nj(a,1,b)},dad=function(a){_.O(this,a,-1,null,null)};_.L(dad,_.K);
_.g=dad.prototype;_.g.Cc=function(){return _.B(this,1)};_.g.Ab=function(){return _.B(this,2)};_.g.Dc=function(a){return _.A(this,2,a)};_.g.getError=function(){return _.C(this,_.kc,3)};_.g.Re=function(a){return _.J(this,3,a)};_.g.Dn=function(){return _.P(this,3)};var ead=[2],$O=function(a){_.O(this,a,-1,ead,null)};_.L($O,_.K);$O.prototype.Ab=function(){return _.B(this,1)};$O.prototype.Dc=function(a){return _.A(this,1,a)};$O.prototype.kl=function(){return _.Uj(this,_.KF,2)};
var fad=function(a,b){return _.Nj(a,2,b)};$O.prototype.Zj=function(){return _.B(this,3)};var gad=[1],had=function(a){_.O(this,a,-1,gad,null)};_.L(had,_.K);var iad=function(a,b){return _.Kj(a,1,b)},jad=function(a,b){this.O=a|0;this.H=b|0};jad.prototype.equals=function(a){return this===a?!0:a instanceof jad?this.O===a.O&&this.H===a.H:!1};jad.prototype.Ic=function(){return 31*this.O+17*this.H|0};
var kad=function(a,b){return new jad(a,b)},lad=function(a,b){b=~b;a?a=~a+1:b+=1;return kad(a,b)},mad=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?lad:kad)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},nad=function(){this.H=this.W=this.O=this.V=null},oad=function(a,b,c){this.id=a;this.O=b;this.H=c},pad=function(a,b){return new oad((a?a:b).getId(),a,b)},aP=function(a){return new oad(a.getId(),null,a)},qad=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=
null;this.started=!1},bP=function(a,b,c){if(a.started)throw Error("bf");c={Co: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)}},cP=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.Co.delete(b);if(0===e.Co.size)try{e.callback()}catch(f){throw a.enabled=
!1,a.error=f?_.bM(f):null,f;}}}};qad.prototype.H=function(a){return this.V.has(a)};qad.prototype.start=function(){this.started=!0};qad.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var rad=function(){_.ri.call(this);this.H=Date.now()};_.L(rad,_.ri);rad.prototype.gF=function(){this.H=Date.now();this.dispatchEvent("Hb")};var sad=function(a,b){this.uu=a;this.xw=b;this.gK=!0;this.i8=!1;this.Oe=0},dP=function(a,b){(a.gK=b)||a.xJ()};_.g=sad.prototype;
_.g.ala=function(a,b){if(5===this.wE(a))throw Error("ef");for(var c=[],d=_.m(this.by()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.uu,a,e.getItem())&&c.push(e);this.xw.sort(a,c,b);return c};_.g.Ld=function(){return this.by().length};_.g.tk=function(a){var b=this.ala(a,void 0);b=A2c(b);var c=new _.QA;c.Ow(b);c.Dc(this.IN(a)?6:1);return c};_.g.update=function(a){var b=this.zs(a.O),c=this.zs(a.H);if(!b&&!c)return!1;b&&this.oJ(a.O);c&&this.rR(a.H);return!0};
_.g.wE=function(a){return this.gK&&this.i8?T9c(a)?1:5:5};_.g.eX=function(){this.i8=!0};_.g.zs=function(a){return!!a&&this.gK};_.g.jj=function(a){this.Oe=a};_.g.hf=function(){return this.Oe};var eP=function(a,b,c,d,e,f){f=void 0===f?"":f;sad.call(this,a,b);var h=this;this.W=c;this.nextPageToken=f;this.Nd=[];this.O={};this.request=SO(c,d,!0);this.H=!e;tad(this,e);this.V=function(k,l){return h.xw.compare(h.request,k,l)}};_.L(eP,sad);_.g=eP.prototype;_.g.wd=function(){return this.request};
_.g.rR=function(a){var b=this.O[a.getId()];b&&this.oJ(b);w1c(this.Nd,a,this.V);this.O[a.getId()]=a;a.count++;this.Nd.length>this.request.Li()&&(this.oJ(_.fa(this.Nd)),this.H=!1)};_.g.oJ=function(a){var b=this.Nd,c=_.Ha(b,a,this.V);0<=c&&_.ta(b,c);_.Xa(this.O,a.getId());a.count--};_.g.xJ=function(){this.Nd.forEach(function(a){a.count--});this.Nd=[];this.O={}};_.g.by=function(){return this.Nd};
_.g.wE=function(a){var b;if(b=this.W.equals(this.request,a,!0))a=a.O(),b=this.request.O(),b=G1c(b,a,_.IVc);return b?this.H?1:6:5};_.g.ala=function(a,b){if(5===this.wE(a))throw Error("ef");b=b?Math.min(b,this.Nd.length):this.Nd.length;return _.Aa(this.Nd,0,b)};_.g.zs=function(a){if(!sad.prototype.zs.call(this,a)||!RO(this.uu,this.request,a.getItem()))return!1;if(this.H||_.S(this.request,48,!1))return!0;var b=_.fa(this.Nd);return!!b&&0>=this.V(a,b)};_.g.IN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.nl=function(a,b){var c=this,d=_.fa(this.Nd);!this.H&&d&&_.ka(a,function(e){return e.getId()===d.getId()})&&(b?(this.oJ(d),tad(this,_.fa(a))):this.H=!0);_.Ka(a,function(e){c.update(aP(e))})};var tad=function(a,b){b&&RO(a.uu,a.request,b.getItem())&&a.rR(b)};eP.prototype.ky=function(){return this.nextPageToken};var fP=function(a,b){sad.call(this,a,b);this.Nd=new Map};_.L(fP,sad);fP.prototype.rR=function(a){this.Nd.set(a.getId(),a);a.count++};
fP.prototype.oJ=function(a){this.Nd.delete(a.getId());a.count--};fP.prototype.xJ=function(){for(var a=_.m(this.Nd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Nd=new Map};fP.prototype.by=function(){return Array.from(this.Nd.values())};var uad=function(a,b){fP.call(this,a,b);this.eX()};_.L(uad,fP);_.g=uad.prototype;
_.g.wE=function(a){var b=this,c=fP.prototype.wE.call(this,a);if(5===c)return c;if(0<_.Md(a,33).length)return 5;a=_.Gl(a);return 0<a.length?a.every(function(d){return(d=b.Nd.get(d.Ya()))&&!d.getItem().Bc()&&d.O})?1:5:5};_.g.zs=function(a){return fP.prototype.zs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().Bc())};_.g.ala=function(a,b){for(var c=[],d=_.m(this.by()),e=d.next();!e.done;e=d.next())e=e.value,RO(this.uu,a,e.getItem())&&c.push(e);this.xw.sort(a,c,b);return c};_.g.wd=function(){return new _.Ye};
_.g.getType=function(){return"MyDriveCorpusCache"};_.g.IN=function(){return!1};var gP=function(a,b,c,d){fP.call(this,a,b);var e=this;this.H=d;bP(c,["aU7Ts","BNEDtc"],function(){return e.eX()})};_.L(gP,fP);gP.prototype.wE=function(a){var b=this,c=fP.prototype.wE.call(this,a);if(5==c)return c;if(0<_.Md(a,33).length)return 5;a=_.Gl(a);return 0<a.length&&!a.every(function(d){d=b.Nd.get(d.Ya());return null!=d&&!d.getItem().Bc()&&P1c(d.getItem())&&!_.R(d.getItem(),108)})?5:1};
gP.prototype.zs=function(a){return fP.prototype.zs.call(this,a)&&vad(this,a.getItem())};var vad=function(a,b){if(_.R(b,31)||!a.i8)return!0;var c=a.H();return b.lk().some(function(d){var e=a.Nd.get(d);return d==c||null!=e&&P1c(e.getItem())})};gP.prototype.eX=function(){fP.prototype.eX.call(this);for(var a=_.m(this.Nd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;vad(this,c.getItem())||(c.count--,this.Nd.delete(b))}};gP.prototype.wd=function(){return new _.Ye};
gP.prototype.getType=function(){return"SubscribedCorpusCache"};gP.prototype.IN=function(){return!1};var wad=/^[\x00-\x7F]*$/,xad=function(){this.rootId=""};xad.prototype.Du=function(a){this.rootId=a||""};
var T9c=function(a){return yad(a)&&0==_.Md(a,40).length&&void 0==_.B(a,41)},yad=function(a){var b=!0;_.Uj(a,_.af,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Ac();c=!c||5!=c.getType();return 0==_.Uj(a,_.Al,5).length&&0==_.Uj(a,_.af,14).length&&0==_.Uj(a,_.af,15).length&&!_.P(a,58)&&!_.R(a,18)&&!_.R(a,34)&&0==_.Uj(a,_.vl,35).length&&0==_.Uj(a,_.vl,38).length&&c&&b&&0==_.Md(a,39).length&&!_.B(a,42)&&0==_.Uj(a,_.ul,44).length&&!_.zM(a)&&!_.AM(a)&&!_.BM(a)&&0==_.Uj(a,_.wl,57).length&&zad(a)&&
!_.C(a,_.xoa,59)&&null==_.R(a,60)&&0==_.Uj(a,_.af,68).length&&0==_.Uj(a,_.af,67).length&&null==_.R(a,69)},zad=function(a){return _.Uj(a,_.Bl,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&wad.test(b)})};xad.prototype.c9=function(a,b){var c=this;return b.filter(function(d){return RO(c,a,d)})};
var RO=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.rootId&&!QO(c);if(d){d=!0;var e=_.Uj(b,_.Bl,4);if(zad(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.Ya()){var k=_.S(h,3,!1),l=(c.getTitle()||"").toLowerCase(),p=h.Ya().toLowerCase();if(2==_.B(h,1))l=p==l,d=d&&(k?!l:l);else{h=[];if(0<=p.indexOf("-"))for(var q=/\w*-[\w-]*/,r=_.m(p.match(q)||[]),u=r.next();!u.done;u=r.next())h.push(u.value),p=p.replace(q,"");h.push.apply(h,_.jd(p.split(/\b/)));for(p=0;p<h.length&&d;p++)q=h[p],r=!0,0!=(0,_.cg)(q).length&&
(0==q.replace(/\./g,"").length&&(r=!1),q=!!l.match(r?new RegExp("(^|[^\\w])"+_.Ig(q)+"($|[^\\w])|(^|[ ])"+_.Ig(q)):new RegExp(_.Ig(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.Fl(b);e=d=0;k=f=!1;l=_.m(l);for(h=l.next();!h.done;h=l.next())h=h.value,h.Ya()&&(q=c.getMimeType()||"",_.R(h,4)&&(q=(p=c.Of())&&_.B(p,3)||""),p=_.S(h,2,!1),r=h.Ya(),_.WM(b)&&(r=r.toLowerCase(),q=q.toLowerCase()),h=0===_.Gj(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=_.Uj(b,_.yl,7),
e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.zq(),d=d&&Aad(k,f);if(d)for(d=!0,e=_.Uj(b,_.yl,8),e=_.m(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.az(),d=d&&Aad(k,f);d&&(d=b.Rh(),e=(e=_.fN(b))&&(2==e||3==e),d=null==d||d==!!c.Rh()&&(!d||1==c.ep()||!!e));d&&(d=null==_.R(b,10)||_.R(b,10)==!!c.NA());d&&(d=null==b.Bm()||b.Bm()==!!c.Bm());if(d)a:{d=_.Gl(b);d=_.m(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.Ya()&&(f="root"==e.Ya()&&a.rootId||e.Ya(),f=c.lk().includes(f),_.S(e,2,!1)?f:!f)){d=
!1;break a}d=!0}if(a=d)a:{a=_.Uj(b,_.af,13);a=_.m(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.Ya()&&(e=1==c.ep(),_.S(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.R(b,16)||(_.R(b,16)?null!=c.my():!0));a&&(a=_.R(b,17),d=(d=_.fN(b))&&(2==d||3==d),a=null==a||a==!!c.JI()&&(!a||1==c.ep()||!!d));a&&(a=Y1c(c),a=null==_.R(b,19)||_.R(b,19)==!!_.Wk(a));a&&(a=!0);if(a=a&&Bad(b,c)&&Cad(b,c))a=_.Md(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&Dad(b,c))_.B(b,41)?(a=_.C(c,_.$M,86),a=null!=a&&
_.B(b,41)==_.B(a,3)):a=!0;if(a=a&&Ead(b,c))a=_.fN(b),1==a?(a=_.R(c,31),a=!!_.Gl(b).length||!!_.Uj(b,_.vl,35).length||1==_.R(b,18)||_.zM(b)||_.AM(b)||_.BM(b)||!!b.Np()||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.zM(b)?!!_.al(c)&&!c.Rh():!0);a&&(a=_.AM(b)?!!_.bl(c).length&&!c.Rh():!0);a&&(a=_.BM(b)?!!_.cl(c).length&&!c.Rh():!0);a&&(a=_.P(b,50)?_.S(b,50,!1)?_.P(c,101)&&0!==_.B(c,101):!_.P(c,101):!0);a&&(a=b.Np(),a=!a||_.Md(c,120).includes(a));a&&(c=_.C(c,_.YM,138),null==_.R(b,65)||null==c?a=!0:(c=2==_.B(c,
1),a=_.R(b,65)==c));return a},Aad=function(a,b){if(null!=_.B(b,2))switch(_.B(b,1)){case 1:return a<=_.B(b,2);case 2:return a<_.B(b,2);case 3:return a==_.B(b,2);case 4:return a>_.B(b,2);case 5:return a>=_.B(b,2);default:return!1}return!0},Bad=function(a,b){var c=_.cb(_.Md(b,56));a=_.Uj(a,_.eN,25);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Cad=function(a,b){if(0==a.kB().length)return!0;var c=_.cb(b.kB().map(function(d){return _.B(d,1)}));a=_.cb(a.kB().map(function(d){return _.B(d,
1)}));return _.Qa(a,function(d,e){return c[e]})},Dad=function(a,b){var c=_.cb(_.Md(b,50));a=_.Uj(a,_.zl,37);return 0==a.length?!0:a.every(function(d){return c[d.Ya()]})},Ead=function(a,b){if(_.Md(a,40).length){if(b=_.C(b,_.$M,86)){var c=_.cb(_.Md(b,2));return _.Md(a,40).some(function(d){return c[d]})}return!1}return!0},hP=function(a,b,c,d){d=void 0===d?5E3:d;fP.call(this,a,b);this.teamDriveId=c;this.limit=d};_.L(hP,fP);_.g=hP.prototype;
_.g.wE=function(a){var b=this,c=fP.prototype.wE.call(this,a);if(5==c)return c;c=_.Gl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Nd.get(f)||b.teamDriveId==f)&&!_.S(e,2,!1)});if(0<c.length&&d)return 1;a=_.Md(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.zs=function(a){return fP.prototype.zs.call(this,a)&&!!a&&a.getItem().Bc()==this.teamDriveId&&!QO(a.getItem())};_.g.IN=function(){return!1};_.g.wd=function(){var a=new _.Ye;_.Il(a,[this.teamDriveId]);_.Jl(a,2);return a};
_.g.Bc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var Fad=function(a,b){this.V=a;this.ka=b;this.W=[];this.ha=this.H=null;this.O=[];a=new _.Ye;_.A(a,48,!0);b=new _.Yc;_.Zc(b,11);_.$c(b,2);_.Ze(a,b);this.ma=SO(this.V,a,!0)};Fad.prototype.add=function(a){a instanceof gP?this.H=a:a instanceof uad?this.ha=a:a instanceof eP?(this.log("Adding new cache hint for "+TO(this.V,a.wd(),2)),this.W.push(a)):a instanceof hP&&this.O.push(a)};
Fad.prototype.remove=function(a){var b=this;if(a instanceof gP)this.H&&(dP(this.H,!1),this.H=null);else if(a instanceof uad)this.ha&&(dP(this.ha,!1),this.ha=null);else if(a instanceof eP){var c=_.ja(this.W,function(d){return b.V.equals(d.wd(),a.wd())});0<=c&&(dP(this.W[c],!1),_.ta(this.W,c))}else a instanceof hP&&(c=_.ja(this.O,function(d){return b.V.equals(d.wd(),a.wd())}),0<=c&&(dP(this.O[c],!1),_.ta(this.O,c)))};
var Gad=function(a){var b=[];a.H&&b.push(a.H);a.ha&&b.push(a.ha);_.za(b,_.ya(a.W));_.za(b,_.ya(a.O));return b},Had=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=c.wd().clone(),_.Lj(c,32),_.Oj(c,26),!_.ak(a.ma,c)):!0})};Fad.prototype.bW=function(){return _.ya(this.O)};var Iad=function(a,b){return _.ag(a.O,function(c){return c.Bc()===b})},Jad=function(a,b){return Had(a).find(function(c){return a.V.equals(c.wd(),SO(a.V,b,!0))})};
Fad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var Kad=function(a,b){_.gi.call(this,"Ib");this.ids=a;this.error=b};_.L(Kad,_.gi);Kad.prototype.getError=function(){return this.error};Kad.prototype.H=function(){return this.ids};var Lad=function(a){_.gi.call(this,"Jb");this.people=a};_.L(Lad,_.gi);Lad.prototype.getPeople=function(){return this.people};var Mad=function(a){_.gi.call(this,"Kb");this.people=a};_.L(Mad,_.gi);
Mad.prototype.getPeople=function(){return this.people};var Oad=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Oe=c;this.V=this.W=null;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0);Nad(this)};Oad.prototype.hf=function(){return this.Oe};
var Pad=function(a){return 0===a.Oe?1:2===a.Oe||(1===a.Oe||4===a.Oe)&&(a.person.vp()||a.O)?3:2},Qad=function(a,b,c){if(_.B(b,1)!==_.B(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=Pad(a),e=a.hf();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=$$c(b.clone(),a.getEmail(b)),e=!_.ak(a.person,b),a.person=b,a.Oe=c,Nad(a),e||d!==Pad(a);if(4===c)return a.Oe=c,Nad(a),d!==Pad(a);c=b;return!a.person.getEmail()&&c.getEmail()?($$c(a.person,a.getEmail(b)),!0):!1};
Oad.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var Nad=function(a){1===a.Oe?(a.W=Date.now(),a.V=null):4===a.Oe&&(a.V=Date.now())},Sad=function(a,b,c,d){_.ri.call(this);var e=this;this.O=a;this.V=b;this.W=c;this.ha=d;this.H=[];this.ka=new _.uL(function(){return Rad(e)},100,this)};_.L(Sad,_.ri);Sad.prototype.Xg=function(a){a&&_.IL(this.O)&&(this.H.includes(a)||this.H.push(a),this.ka.ue())};
var Rad=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)}})};Sad.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Se;var e=new _.HM;e=_.Kj(e,1,a);return d.call(c,e)}).then(function(c){c=_.Uj(c,ZO,1);b.dispatchEvent(new Lad(c))},function(c){c=_.$A(c);b.dispatchEvent(new Kad(a,c))})};
Sad.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var Vad=function(a,b,c,d,e){_.ri.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.ka=b;this.ha=d;this.oa=_.bk(_.C(a,G4c,85)||new G4c,1,864E5);this.W=new Sad(a,b,c,e);this.ma=new _.AD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:N5c(h,106015);if(k){h=_.C(_.uN(k),m5c,11);if(!h){h=new m5c;var l=_.uN(k);_.J(l,11,h)}h=_.A(h,1,f.H.size);_.A(h,2,f.O.size);k.Yj()}},500,this);this.Mc.listen(this.W,"Jb",function(h){h=h.getPeople();Tad(f,
h,1);f.ma.ue()});this.Mc.listen(this.W,"Ib",function(h){Uad(f,h)})};_.L(Vad,_.ri);Vad.prototype.get=function(a){var b=this.H.get(a);return b?(Wad(this,b)&&Xad(this,a),b):null};var Xad=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.Xg(b);var c=new _.yn;a.V.set(b,c);return c.promise};Vad.prototype.Tb=function(a){var b=this;return Yad(this,a)?Promise.resolve(this.H.get(a)):Xad(this,a).then(function(){return b.H.get(a)})};
Vad.prototype.wc=function(){return 0===this.H.size};Vad.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var Zad=function(a){return[].concat(_.jd(a.H.values())).filter(function(b){return 3===Pad(b)&&4!==b.hf()}).map(function(b){return b.person.clone()})},$ad=function(a,b){return(a=a.H.get(b))?[].concat(_.jd(a.H)):[]},abd=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.jd(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},Tad=function(a,b,c){if(![1,2].includes(c))throw Error("ff");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(X$c)[c]+".")),bbd(a,b,c))},dbd=function(a,b,c,d){0!==b.length&&cbd(a,b,c,void 0===d?0:d)},Yad=function(a,b){b=a.H.get(b);return!(!b||3!==Pad(b)||Wad(a,b))},cbd=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.B(f,1),k=a.H.get(h);if(k)Qad(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&&Xad(k,_.B(f,1));l=new Oad(f,p,l);k.H.set(_.B(f,1),l)}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},Wad=function(a,
b){switch(b.hf()){case 1:return Date.now()-Number(b.W)>a.oa;case 4:return 1E3<Date.now()-Number(b.V);default:return!0}};Vad.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var Uad=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():Z$c(new ZO,c)});bbd(a,b,4)},bbd=function(a,b,c){for(var d=_.m(b),e=d.next();!e.done;e=d.next()){e=_.B(e.value,1);var f=a.V.get(e);f&&(f.resolve(),a.V.delete(e))}cbd(a,b,void 0,c)&&a.dispatchEvent(new Mad(b))},ebd=function(a,b,c,d,e,f){_.ri.call(this);var h=this;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.H=new Vad(a,b,c,e,f);this.O=_.SL(a)||new _.WUc;this.Mc.listen(this.H,"Kb",function(k){return h.dispatchEvent(k)})};
_.L(ebd,_.ri);ebd.prototype.eP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=fbd(this,[c]).map(function(e){return gbd(b,e)});dbd(this.H,d,a.H.getId(),this.hf(_.B(c,82)))}a.O&&abd(this.H,a.id,hbd(this,a))};ebd.prototype.hf=function(a){return _.pVc.get(a)||0};
var hbd=function(a,b){var c=ibd(a,b.O),d=ibd(a,b.H);return c.filter(function(e){return!d.includes(e)})},ibd=function(a,b){return b?jbd(a,[b.getItem()]):[]},lbd=function(a,b){b=b.getUser();dbd(a.H,[gbd(a,b)],"ACCOUNT");kbd(a,b)},nbd=function(a,b){var c=_.Uj(b,_.lN,2).map(function(d){var e=_.C(d,_.Fk,9,1);return a.H.Tb(_.VF(e)).then(function(){return void mbd(a,[e])})});return Promise.all(c).then(function(){return b})},mbd=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.VF(c)&&
kbd(a,c)},obd=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,_.VF(f)&&(d.add(_.VF(f)),dbd(a.H,[gbd(a,f)],c));return Promise.all([].concat(_.jd(d)).map(function(h){return a.H.Tb(h)})).then(function(){return mbd(a,b)})},qbd=function(a,b){return jbd(a,[b]).some(function(c){return!pbd(a,c)})},pbd=function(a,b){return Yad(a.H,b)},jbd=function(a,b){var c=new Set;a=fbd(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=_.VF(b.value))&&c.add(b);return[].concat(_.jd(c))},
fbd=function(a,b){return b.map(function(c){var d=c.Tw();d=d?[].concat(_.jd(d.eR()),_.jd(_.Uj(d,_.Fk,3))):[];var e=c.Of();e=(e=e&&_.Qd(e))?fbd(a,[e]):[];return[].concat(_.jd(_.Zk(c)),[c.xm(),c.Pv(),c.Kq(),c.eD()],_.jd(d),_.jd(e))}).flat().filter(function(c){return c&&!!_.VF(c)})};ebd.prototype.Gd=function(a){return $ad(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var rbd=function(a,b){return b.map(function(c){c=c.clone();var d=fbd(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Lj(e,3),_.Lj(e,8),_.Lj(e,5);return c})},tbd=function(a,b){return b.some(function(c){return sbd(a,c)})},sbd=function(a,b){return fbd(a,[b]).some(function(c){return _.P(c,3)||c.vp()||_.P(c,5)})},kbd=function(a,b){var c=a.H.get(_.VF(b));if(c){a=c.person.clone();var d=_.vWc(b.jd(a.getName()),a.getEmail());c=Pad(c);_.A(d,16,c);(a=_.C(a,Y$c,4))&&b.ho(a.getUrl())}},gbd=function(a,
b){var c=_.VF(b);c=$$c(Z$c(new ZO,c).jd(b.getName()),b.getEmail());var d=new Y$c;var e=_.B(b,5);d=_.A(d,1,e);c=_.J(c,4,d);_.S(a.O,9,!1)&&(_.Lj(b,3),_.Lj(b,8),_.Lj(b,5));return c},ubd=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};ubd.prototype.Uf=function(){return this.suggestionSessionId};ubd.prototype.CAa=function(){return this.O};ubd.prototype.wc=function(){return this.H};
var vbd=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},wbd=function(a,b){a=vbd(a);b=vbd(b);return!(!a||!b||a!==b)},xbd=function(a){return a.Cc()+"_"+vbd(a.getName())},ybd=function(a,b){var c=_.Md(a,1).map(function(d,e){return b[Number(e)].value.b4a.promise});return Promise.allSettled(c).then(function(d){return _.Md(a,1).map(function(e,f){e=e.toString();var h=new dad;e=_.A(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Dc(1):(e.Dc(3),e.Re(f.reason.Og));return e})})},iP=function(a,
b){_.N.call(this);this.O=a;this.request=b;this.wy=new Set;this.status=6;this.V=new Map;this.Oe=0};_.L(iP,_.N);_.g=iP.prototype;_.g.$h=function(a){var b=this;this.wy.add(a);return this.resize().then(function(){return b.tO(a)})};_.g.hk=function(a){this.wy.delete(a);0===this.wy.size&&this.dispose()};_.g.hf=function(){return this.Oe};_.g.jj=function(a){this.Oe=a};
_.g.lD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Hu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.NX():_.Ph([])};_.g.NX=function(){for(var a=[],b=_.m(this.wy.values()),c=b.next();!c.done;c=b.next())a.push(this.tO(c.value));return _.Sh(a)};
_.g.MX=function(a){this.status=3;for(var b=[],c={},d=_.m(this.wy.values()),e=d.next();!e.done;c={qra:c.qra},e=d.next())c.qra=e.value,b.push(this.O.then(function(f){return function(h){return void h.MX(f.qra,a)}}(c)));return _.Sh(b)};_.g.hA=function(){for(var a=this,b=[],c={},d=_.m(this.wy.values()),e=d.next();!e.done;c={rra:c.rra},e=d.next())c.rra=e.value,b.push(this.O.then(function(f){return function(h){return void h.hA(f.rra)}}(c)));return _.Sh(b).then(function(){a.jj(0===a.hf()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.wy.forEach(function(d){d=b.Oka(d);c=Math.max(c,d.Li?d.Li()||0:0)});a.Hfa(c)})};var zbd=function(a,b){return b?a.V.get(a.tka(b))||null:null};_.g=iP.prototype;_.g.$H=function(a,b){var c=zbd(this,a);b=D9c(c,b);this.V.set(this.tka(a),b)};_.g.tka=function(a){return a};_.g.IMa=function(){return[]};_.g.tO=function(a){var b=this;return this.O.then(function(c){return void c.tO(a,b.tk())})};_.g.removeItem=function(){};
var jP=function(a,b){_.ri.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.L(jP,_.ri);var Abd=function(a){return!a.O||""!==a.pageToken};jP.prototype.Xg=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&Abd(this)?Bbd(this):_.Ph()};
var Bbd=function(a){a.O=!0;a.H=!0;var b=a.uia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return Cbd(a,c)},function(c){return a.handleError(c)})},Cbd=function(a,b){a.H=!1;a.pageToken=a.Ika(b);b=a.Vja(b);b.forEach(function(c){return a.data.push(c)});a.k6(b);return a.data.length<a.limit&&Abd(a)?_.Sh([_.Ph(b),Bbd(a)]).then(function(c){return c[0].concat(c[1])}):_.Ph(b)};
jP.prototype.handleError=function(a){this.H=!1;a=_.QL(a);var b=new XO(a);this.JMa(b);this.dispatchEvent(b);return _.Rh(a)};jP.prototype.k6=function(){};jP.prototype.JMa=function(){};var Dbd=function(a,b,c){jP.call(this,c,function(d){return a.then(function(e){return e.Se(d)}).Fg(function(e){return void _.cM(e)})});this.V=b};_.L(Dbd,jP);_.g=Dbd.prototype;_.g.uia=function(a,b,c){a=a.clone();a.wi(b);return new _.VVc(a,c)};_.g.Ika=function(a){return a.pageToken||""};_.g.Vja=function(a){return a.response.O()};
_.g.k6=function(a){this.V.lD(a,!1,1)};_.g.JMa=function(a){this.V.mB(this.request,a)};var Ebd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.W=c;this.data=[];this.H=null};_.L(Ebd,iP);_.g=Ebd.prototype;_.g.refresh=function(){this.hA();this.H=new Dbd(this.ha,this.W,this.request);return this.H.Xg(this.request.Li()||100)};_.g.Hq=function(a){return this.data.find(function(b){return wbd(b.getName(),a)})};
_.g.Hfa=function(a){this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Xg(a):this.refresh())};_.g.tk=function(){var a=this,b=m7c((new zO).Dc(this.status),this.data.filter(function(c){return a.W.sDa(c)}).map(function(c){return c.clone()}));return new _.AN(b,void 0,void 0,this.hf())};_.g.lD=function(a,b,c){var d=this;a=a.filter(function(e){return e.Cc()===d.request.Cc()});return iP.prototype.lD.call(this,a,b,c)};
_.g.Hu=function(a,b){b=void 0===b?1:b;if(!W1c(zbd(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return wbd(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.$H(a.getName(),b);return!0};_.g.removeItem=function(a){_.wa(this.data,function(b){return wbd(b.getName(),a)})&&(this.V.delete(this.tka(a)),this.NX())};_.g.tka=function(a){return vbd(a)};_.g.$H=function(a,b){this.Hq(a)&&iP.prototype.$H.call(this,a,b)};
_.g.IMa=function(a){var b=this;return a instanceof _.NM&&a.Cc()===this.request.Cc()?a.HV().map(function(c){return b.Hq(c.Zm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var kP=function(){this.H=new Map};kP.prototype.$h=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.wia(b),this.H.set(c,d));d.$h(a);return e};var Fbd=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.rxa(c),a.H.set(d,e));e.$h(b);return f};
kP.prototype.hk=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.hk(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var Gbd=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.hk(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},Hbd=function(a,b){return a.H.get(b)};kP.prototype.lD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.sDa(f)});this.H.forEach(function(f){f.lD(e,b,c)})};kP.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var Ibd=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.IMa(b)});return[].concat.apply([],_.jd(a))};kP.prototype.$H=function(a,b){this.H.forEach(function(c){c.$H(a,b)})};kP.prototype.sDa=function(){return!0};kP.prototype.mB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.MX(b)};kP.prototype.R2=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.wia(b),f.jj(c),this.H.set(e,f),this.lD(a,d))};var Jbd=function(){this.V=new Set;this.O=0;this.H=[]},Kbd=function(a,b){a.V.add(b)};
Jbd.prototype.W=function(a){this.V.delete(a)};var Lbd=function(a,b){var c;if(c=b instanceof _.Yk)c=b.Qv(),c=!!(b.Rh()&&c&&c<=Math.max.apply(Math,_.jd([a.O].concat(_.jd(a.H)))));if(c)return!0;b=b instanceof _.Yk?b.getId():b;return a.V.has(b)},Mbd=function(a,b){return _.wa(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};Jbd.prototype.c9=function(a){var b=this;return a.filter(function(c){return!Lbd(b,c)})};var Nbd=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new Jbd};_.L(Nbd,kP);
var Obd=function(a,b){Kbd(a.O,xbd(b));(a=Hbd(a,b.Cc()))&&a.NX()};_.g=Nbd.prototype;_.g.getKey=function(a){return a.Cc()};_.g.wia=function(a){return new Ebd(this.V,this.W,this,a)};_.g.rxa=function(a){return new Ebd(this.V,this.W,this,a)};_.g.Qo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=Hbd(this,b.getId()))&&b.refresh()};_.g.sDa=function(a){return!Lbd(this.O,xbd(a))};
var Pbd=function(a,b){this.O=a;this.H=b},Qbd=function(a,b){b=_.KUb(b);var c=new Dbd(a.O,a.H,b);new Promise(function(d,e){return c.Xg(100).then(d,e)})},Rbd=function(){this.Nd={}},lP=function(a,b){Sbd(a,"subscribed");b&&Sbd(a,b);return a.Nd[b||"subscribed"].ke.promise},Sbd=function(a,b){a.Nd[b]||(a.Nd[b]={count:0,xR:[],f2a:[],ke:_.Th()});a.Nd[b].count++},Ubd=function(a,b){b&&!Tbd(a,b)||Tbd(a,"subscribed")},Tbd=function(a,b){if(!a.Nd[b])return!1;a.Nd[b].count--;0===a.Nd[b].count&&(a.Nd[b].ke.resolve({items:a.Nd[b].xR,
rLb:a.Nd[b].f2a}),_.Xa(a.Nd,b));return!0};Rbd.prototype.Qo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f===e.Cc()&&c.Nd[f]&&c.Nd[f].f2a.push(e);c.Nd[d]&&c.Nd[d].xR.push(e)})};var Vbd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(Vbd,jP);Vbd.prototype.uia=function(a,b){return a.clone().wi(b)};Vbd.prototype.Ika=function(){return""};Vbd.prototype.Vja=function(a){return[a]};Vbd.prototype.k6=function(a){this.V(a)};
var Wbd=function(a,b,c,d){iP.call(this,a,d.clone());this.ha=b;this.H=this.US=null;this.W=c};_.L(Wbd,iP);Wbd.prototype.refresh=function(){var a=this;this.hA();this.H=new Vbd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Se(b)})});return this.H.Xg(this.request.Li()||0)};Wbd.prototype.Hfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Xg(a):this.refresh())};
Wbd.prototype.tk=function(){if(this.US)return this.US;var a=new KO;a.Dc(this.status);return a};Wbd.prototype.Hu=function(a){this.US=a;return!0};var Xbd=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.L(Xbd,kP);_.g=Xbd.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.wia=function(a){var b=this;return new Wbd(this.O,this.W,function(c){b.lD(c,!1)},a)};_.g.rxa=function(){throw Error("gf");};
_.g.R2=function(a,b,c,d){var e=a[0].kl();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.iq()}).join(", "));kP.prototype.R2.call(this,a,b,c,d)};var mP=function(a,b,c,d){_.ri.call(this);this.request=a;this.Fa=b;this.oa=c;this.Ba=d;this.ma=0;this.ke=null;this.O=new Set};_.L(mP,_.ri);
mP.prototype.Xg=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Th();this.W(this.request).forEach(function(b,c){a.ma++;a.Fa.then(function(d){return d.Se(b)}).then(a.va.bind(a,c),a.handleError.bind(a,c))});return this.ke.promise};mP.prototype.va=function(a,b){this.V(b);Ybd(this,a)};var Ybd=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Fb"),a.ke.resolve()):a.dispatchEvent("Cb")};
mP.prototype.handleError=function(a,b){b=_.$A(b);var c=b.Og;5===c.et()||4===c.mk()?(this.Ba.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Ybd(this,a)):(a=new XO(c,_.bk(this.oa.Zf(),1,1)),this.dispatchEvent(a),this.ke.reject(b))};var Zbd=function(a){var b=new _.KF;b.Pb(a);return b},$bd=function(a,b,c,d,e){mP.call(this,a.clone(),c,d,e);this.H=b};_.L($bd,mP);
$bd.prototype.W=function(a){var b=new Map;a.an().forEach(function(c){var d=_.OTb(a.clone(),[c]);b.set(c,d)});return b};$bd.prototype.V=function(a){var b=[];a.PT().forEach(function(c){b.push(c)});this.H(b,!0)};$bd.prototype.ha=function(){this.H([],!1)};$bd.prototype.ka=function(a){this.H([Zbd(a)],!0)};var acd=function(a,b,c,d,e,f){iP.call(this,a,f.clone());this.ma=b;this.W=c;this.ka=d;this.ha=e;this.Xk={};this.H=null};_.L(acd,iP);
acd.prototype.refresh=function(){this.H=new $bd(this.request,this.ha,this.ma,this.W,this.ka);return this.H.Xg()};acd.prototype.Hfa=function(){this.H||this.refresh()};acd.prototype.tk=function(){var a=new _.yN;a.Dc(this.status);_.Ma(this.Xk,function(b,c){a.PT().set(c,b||new _.KF)});a.jj(this.hf());return a};acd.prototype.Hu=function(a){var b=a.getId();if(_.ak(a,Zbd(a.getId()))){if(this.Xk[b])return delete this.Xk[b],!0}else if(0<=this.request.an().indexOf(b))return this.Xk[b]=a,!0;return!1};
var bcd=function(a,b){a=a.getState();return null==a||b.getState()==a},ccd=function(a,b,c){jP.call(this,a,c);this.V=b};_.L(ccd,jP);ccd.prototype.uia=function(a,b,c){a=a.clone();a.wi(b);return new _.hWc(a,c)};ccd.prototype.Ika=function(a){return a.pageToken||""};ccd.prototype.Vja=function(a){return a.response.kl()};ccd.prototype.k6=function(a){this.V(a)};var dcd=function(a){this.H=_.mSc(a,{numeric:!0})};
dcd.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};dcd.prototype.V=function(a,b,c){var d=_.B(b,4),e=_.B(c,4),f;d!==e?f=_.Ga(d,e)*(a?1:-1):f=_.Ga(b.getId(),c.getId())*(a?1:-1);return f};var ecd=function(a,b,c,d,e){iP.call(this,a,e.clone());this.ha=b;this.Xk=[];this.H=null;this.W=d;a=new dcd(c);b=(c=this.request.lw())?c.getType():0;c=c?c.yf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.L(ecd,iP);ecd.prototype.refresh=function(){var a=this;this.hA();this.H=new ccd(this.request,this.W,function(b){return a.ha.then(function(c){return c.Se(b)})});return this.H.Xg(this.request.Li()||0)};ecd.prototype.Hfa=function(a){1===this.status||this.H&&a===this.request.Li()||(this.request.wi(a),this.H?this.H.Xg(a):this.refresh())};ecd.prototype.tk=function(){var a=new $O;a.Dc(this.status);fad(a,this.Xk.map(function(b){return b.clone()}));return new _.DN(a,void 0,1!==this.status&&Abd(this.H),this.hf())};
ecd.prototype.Hu=function(a){var b=_.wa(this.Xk,function(c){return c.getId()===a.getId()});return a&&bcd(this.request,a)&&!_.ak(a,Zbd(a.getId()))?w1c(this.Xk,a,this.ka):b};var fcd=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d};_.L(fcd,kP);_.g=fcd.prototype;_.g.log=function(a){this.W.info("drive.ds.sync.cache.WorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};
_.g.wia=function(a){var b=this;return new ecd(this.V,this.ha,mO(_.DL(this.O)),function(c){return void b.lD(c,!1)},a)};_.g.rxa=function(a){var b=this;return new acd(this.V,this.ha,this.O,this.W,function(c,d){return b.lD(c,d)},a)};_.g.R2=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));kP.prototype.R2.call(this,a,b,c,d)};
var gcd=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();$N(a)&&(c=(c=a.Of())?_.B(c,3):"");aO(a)&&(a.Si()&&(c+="+"+String(a.Si())),a.Fj()&&(c+="+shared"));return _.kTa(c,b?"32":"16")},hcd=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("&")},icd=function(a,b){var c=_.R(a,44),d=a.Of();if(d){if(1!==_.Sd(d))return null;c=(c=_.Qd(d))?_.R(c,44):!0}if(!c)return null;c={};d=a.getId();$N(a)&&(d=O1c(a));
d=[_.E(b,65,"https://lh3.google.com"),"u",_.RL(_.DL(b)),"d",d].join("/");d+="={size}";_.S(b,89,!1)&&_.P(a,140)&&(c.resourcekey=_.el(a));return d=hcd(d,c)},jcd=function(a){this.H=a},lcd=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=gcd(b,_.S(a.H,75,!1));_.A(b,21,d)}c.includes(18)&&_.cXc(b,C2c(b,a.H));c.includes(19)&&(d=icd(b,a.H),_.A(b,20,d));kcd(a,b,c);if($N(b)){if(d=(d=b.Of())&&_.Qd(d)){if(c.includes(20)&&c.includes(3)){var e=gcd(d,_.S(a.H,75,!1));_.A(d,21,e)}c.includes(18)&&_.cXc(d,C2c(d,
a.H));c.includes(19)&&(e=icd(d,a.H),_.A(d,20,e));kcd(a,d,c)}_.gXc(b,!!b.Nx())}},kcd=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!aO(b)&&!$N(b)&&!_.zd(e)&&(!b.d7()||2!==b.ep()),d&&_.A(b,40,e),e&&c&&(a=a.H,d=b.getId(),$N(b)&&(d=O1c(b)),c=new _.bj(_.E(a,16,"")+"/uc"),_.ij(c,"id",d),_.ij(c,"authuser",_.RL(_.DL(a))),_.ij(c,"export","download"),_.S(a,89,!1)&&_.P(b,140)&&_.ij(c,"resourcekey",_.el(b)),_.A(b,41,c.toString())))}},mcd=function(a,b){this.Eia="";
this.startTime=b||new Date;this.bea=a;this.X$=y1c(a)};mcd.prototype.clone=function(){return new mcd(this.bea,this.startTime)};var ncd=function(){this.H=null;this.GY=[]},ocd=function(a){return _.We(a.GY,function(b){return _.$a(b)})};ncd.prototype.nN=function(){return this.H};
ncd.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new nad;e.V=mad(d.X$);var f=_.Mg().substring(0,8);d=y1c(f);f=(new N$c).Pb(f);f=_.A(f,2,d);b=_.A(f,3,b).xi(c);this.GY.push(b);e.O=mad(d);e.H=kad(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.gk;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.hk(d,1,1);var k=d.O;l3c(k,f);l3c(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.hk(d,2,1),k=d.O,l3c(k,f),l3c(k,h));f=e.W;null!=f&&(_.hk(d,3,5),l3c(d.O,f));e.H&&(f=
e.H.O>>>0,e=e.H.H>>>0,_.hk(d,4,1),h=d.O,l3c(h,f),l3c(h,e));e=_.ok(d);a["X-Google-DapperTraceInfo"]=_.n.btoa(c.call(b,null,e))}}};var pcd=function(){this.Cb=[];this.O=this.H=0};pcd.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 qcd=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},rcd=function(a){this.key=a;this.H=new _.mVc;this.O=new _.kVc(new _.mVc,_.oma(a))};rcd.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.pma(b);c=scd(this,a);return b.concat(c,tcd(this,b,a,!0))};
var ucd=function(a,b){var c=tcd(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=scd(a,c);if(b!==a)throw Error("hf");return c},scd=function(a,b){a=_.lVc(a.O,_.EVc(b));return _.pma(a)},tcd=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new pcd;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=_.EVc(c.substring(8192*
e,8192*(e+1))),qcd(b,a),d+=_.pma(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;qcd(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=vcd(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=vcd(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&
63)):239<f&&365>f?(h=vcd(d,e++),k=vcd(d,e++),l=vcd(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=vcd(d,e++),k=vcd(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},vcd=function(a,b){return a[Math.floor(b/8192)][b%8192]},wcd=function(a,b,c){this.data=a;this.OZa=b;this.H=c;this.isEncrypted=!1};wcd.prototype.getData=function(){return this.data};
wcd.prototype.Mm=function(){return this.OZa};var xcd=function(a,b,c,d){this.O=a;this.H=_.Th();this.xp=!1;this.V=_.E(b,7,"");this.W=_.bk(_.nO(b),6,2E7);this.zG=_.IL(b);this.ha=_.bk(_.nO(b),12,0);this.ka=c;this.Cd=d||null};xcd.prototype.initialize=function(){var a=this;this.xp||(this.xp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.$h(this.H.promise)};
xcd.prototype.TC=function(a){if(a instanceof _.ZA)return 0;if(a instanceof YO)return 1;if(a instanceof d6c)return 5;if(a instanceof MO)return 3;if(a instanceof bad)return 6;throw new _.lc("Unsupported dataShard in getDataType");};var ycd=function(a){if(0==a)return _.ZA;if(1==a)return YO;if(5==a)return d6c;if(3==a)return MO;if(6==a)return bad;throw new _.lc("Unsupported dataType:"+a+" in getDataTypeCtor");};xcd.prototype.uo=function(a){if(a instanceof MO)return a.uo()};
xcd.prototype.Mm=function(a){if(a instanceof MO)return a.Fd().length};
var Dcd=function(a,b,c,d){if(0==c.length)return _.Ph();var e=a.TC(c[0]);c.forEach(function(){});var f=a.uo(c[0]),h=0;3==e&&zcd(a,c);var k=!!b;return Acd(a,c).then(function(l){if(k){var p=a.Cd?a.Cd.H(106023,d):null;h=l.reduce(function(r,u){return r+u.Mm()},0);var q=Bcd(a,b,l.map(function(r){return r.getData()})).then(function(r){if(r.length!=l.length)return _.Rh(Error("kf"));r.forEach(function(u,y){y=l[y];y.data=u;y.isEncrypted=!0});return l});p&&(r5c(q5c(p5c(p.OE(),_.vN(_.QUc,e)),_.vN(_.NUc,f)),!0),
q.then(function(){var r=h;o5c(p.OE(),!0).Bt(r);p.Yj()},function(){var r=h;o5c(p.OE(),!1).Bt(r);p.Yj()}));return q}return l}).then(function(l){return a.H.promise.then(function(){return Ccd(a.O,l,e,f,k,d)})})},Acd=function(a,b){return new _.Oh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.kc();if(p.length>a.W)e=!0;else{var q=f.push,r=a.Mm(l);l instanceof MO?(l=_.R(l,6),l=null!=l?l:void 0):l=void 0;q.call(f,new wcd(p,r,l))}}});if(e){var h=Error("lf"),k=new _.kc;_.OL(k,2);_.$L(k,23);
_.A(k,21,h.message);_.bq(k);a.ka(k);d(h)}c(f)})},zcd=function(a,b){a.uo(b[0]);b.forEach(function(){});a.zG||Ecd(b);Fcd(a,b)},nP=function(a,b,c,d,e,f){var h=_.Th(),k;_.Uh(a.H.promise.then(function(){return Gcd(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),q=new _.Vh;if(l[0]&&l[0].T0){if(k=a.Cd?a.Cd.H(106022,f):null)r5c(q5c(p5c(k.OE(),_.vN(_.QUc,c)),_.vN(_.NUc,d)),!0),q.vn().then(function(r){var u=k;r=void 0!=r;o5c(u.OE(),r);_.HYc(u)});Hcd(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 (ycd(c))(JSON.parse(r));q+=a.Mm(r);p.push(r)});3==c&&(a.zG||Icd(p),Jcd(p));k&&k.OE().Bt(q)}h.resolve(p)}),function(){k&&k.Yj()}).Fg(h.reject,h);return h.promise},Ecd=function(a){if(a.length){for(var b=0;b<a.length;b++)if(_.Uj(a[b],_.Fk,2).length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Fd()||[]).forEach(function(h){_.aXc(h,Kcd(_.Zk(h),c,d));_.bXc(h,Kcd([h.xm()],c,d)[0]);var k=Kcd([h.Pv()],c,d)[0];_.J(h,
47,k);k=Kcd([h.Kq()],c,d)[0];_.J(h,91,k);k=Kcd([h.eD()],c,d)[0];_.J(h,95,k);if(h=h.Tw())_.XWc(h,Kcd(h.eR(),c,d)),_.YWc(h,Kcd(_.Uj(h,_.Fk,3),c,d))})});var e=[];c.forEach(function(f){e.push(f)});_.Nj(a[0],2,e)}},Kcd=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)?_.ak(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.Fk,e.Pb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},Icd=function(a){var b=new Map,c=new Map;a[0]&&_.Uj(a[0],
_.Fk,2)&&_.Uj(a[0],_.Fk,2).forEach(function(d){b.set(d.getId(),d);d=(new _.Fk).Pb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Fd()||[]).forEach(function(e){_.aXc(e,Lcd(_.Zk(e),b,c));_.bXc(e,Lcd([e.xm()],b,c)[0]);var f=Lcd([e.Pv()],b,c)[0];_.J(e,47,f);f=Lcd([e.Kq()],b,c)[0];_.J(e,91,f);f=Lcd([e.eD()],b,c)[0];_.J(e,95,f);if(e=e.Tw())_.XWc(e,Lcd(e.eR(),b,c)),_.YWc(e,Lcd(_.Uj(e,_.Fk,3),b,c))});_.Oj(d,2)})},Lcd=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=
e.getId();_.ak(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e)});return d},Fcd=function(a,b){if(a.ha){a=a.ha;for(var c=b.length-1;0<=c;c--)if(b[c].uo()){for(var d=[],e=b[c].Fd();e.length>a;){var f=_.Ba(e,a-1,a);f=o9c(new MO,f);d.push(f)}o9c(b[c],e);d.length&&_.wb(_.Ba,b,c+1,0).apply(null,d)}}},Jcd=function(a){for(var b={},c=1;c<a.length;b={Cea:b.Cea},c++)if(!a[c].uo()){for(var d=0,e=c;e<a.length&&!a[e].uo();e++)d++;e=a[c-1];d=_.Ba(a,c,d);b.Cea=e.Fd();d.forEach(function(f){return function(h){_.za(f.Cea,
h.Fd())}}(b));o9c(e,b.Cea)}},Bcd=function(a,b,c){if(!_.VUc()&&a.V){var d=new Worker(_.zga(_.by(a.V)),void 0),e=new _.Vh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Od(Error(String(k)))},!1);c=iad(new had,c);d.postMessage({command:"encrypt",data:{request:c.kc(),key:b}});return e}try{a=[];var f=new rcd(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},Hcd=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(!_.VUc()&&a.V){var f=new Worker(_.zga(_.by(a.V)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new rcd(c);for(c=0;c<d.length;c++)a.push(ucd(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},Mcd=function(a,b,c){return[a.Oz(),
a.clientId,b?"#":oP(a)].join(":")+":"+(c||"")},Ncd=function(a,b,c){this.global=void 0===c?!1:c;this.key=a;this.value=b};Ncd.prototype.getKey=function(){return this.key};Ncd.prototype.Ya=function(){return this.value};
var Ocd=function(a,b){a=Mcd(a,b);return S8c(a+"A",a+"z")},Pcd=function(a,b){this.H=a;this.O=b},Qcd=function(a){return a?new Pcd(a.versionKey,a.versionChangeTimestamp):null},Rcd=function(a,b){return a+":"+b},Scd=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.T0=void 0===e?null:e},Tcd=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.T0}},Ucd=function(a,b,c,d){a=oP(a)+"_"+b;3===b&&(a+="_"+d);return a+=_.tt(":%02d",c)},Vcd=function(a,b,
c,d){c=Ucd(a,b,void 0===c?0:c,d);a=oP(a)+"_"+b;3===b&&(a+="_"+d);return S8c(c,a+":a")},Wcd=function(a){var b=oP(a)+"_";a=oP(a)+"_A";return S8c(b,a)},Xcd=function(a){return a?new Scd(a.data,a.index,a.size,a.timestamp,a.e):null},Ycd=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);_.Ia(this.fields);_.Fa(this.fields);this.H=f};Ycd.prototype.Oz=function(){return this.userId};
Ycd.prototype.Kg=function(){return _.ya(this.fields)};
var oP=function(a){if(!a.O){var b=new _.vL;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.HSc(b.digest())}return a.O},Zcd=function(a){return{versionKey:oP(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},$cd=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 Ycd(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:oP(a)!==d&&(a=null);return a},pP=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.Cd=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.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(pP,_.N);pP.prototype.initialize=function(){return add(this)};
var add=function(a,b){a.V||(a.V=_.Th(),a.Oa.then(function(){b?(a.va=!1,bdd(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)"),_.yTc("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 _.lc("Database version error",void 0,_.HL(c)?c:void 0))}));return a.V.promise},bdd=function(a,b){a.H=b;a.Jb.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Jb.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};pP.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ka(b.H.objectStoreNames,function(c){return _.xXc(b,c)});_.Ma(_.YL,function(c){var d=_.qVc.get(c);_.vTc(b,c,d?{keyPath:d}:void 0)})};
pP.prototype.oa=function(a){var b;a&&a instanceof _.yL&&"InvalidStateError"==a.getName()&&_.rj.Nw?b=Error("mf"):_.HL(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);cdd(this,!1)};pP.prototype.Ja=function(a){this.ka?a.dispose():(bdd(this,a),this.Ma(this.H),this.readOnly||ddd(this).Fg(function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),cdd(this,!0))};
var cdd=function(a,b){if(a.ma){var c=a.ma,d=_.C(_.uN(c),j5c,5);d||(d=new j5c,c=_.uN(c),_.J(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}};pP.prototype.Ha=function(){this.H||this.If()||(this.ha("Opening database GoogleDriveDs timed out."),this.oa(Error("nf")))};pP.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.va&&this.H.close())};pP.prototype.If=function(){return this.ka};
var edd=function(a){return a.ka?a.O:null};pP.prototype.Ci=function(){return this.version};
var qP=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.wTc(a,[b],c)}catch(d){return null}},ddd=function(a){var b=_.YL.I_,c=qP(a,b,"readwrite");if(!c)return _.Rh(Error("of"));c.objectStore(b).put(Zcd(a.Ci()));return c.wait().then(function(){})},fdd=function(a){if(!a.H)return _.Rh(Error("pf"));if(a.If())return _.Rh(Error(a.O));var b=_.YL.I_,c=qP(a,b,"readwrite");return c?c.objectStore(b).remove(oP(a.Ci())).then():_.Rh(Error("qf"))},gdd=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Xcd(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},Gcd=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Rh(Error("xf"));if(a.If())return _.Rh(Error(a.O));var e=Vcd(a.Ci(),b,0,c),f=_.YL.X5,h=qP(a,f);if(!h)return _.Rh(Error("yf"));e=h.objectStore(f).getAll(e);var k=_.Th();e.Sf(function(l){l=gdd(l,k,d);a.readOnly||null==l||hdd(a,b,c,l).Fg(function(){})},k.reject);return k.promise},Ccd=function(a,b,c,d,e,f){if(a.H){if(a.If())return _.Rh(Error(a.O));if(100<b.length||3==c&&void 0==d)return _.Rh(Error("zf"))}else return _.Rh(Error("Af"));
var h=Date.now(),k=b.length;b=b.map(function(r,u){return{key:Ucd(a.Ci(),c,u,d),data:new Scd(r.getData(),u,k,h,e),metadata:r}});var l=_.YL.X5,p=qP(a,l,"readwrite");if(!p)return _.Rh(Error("Bf"));var q=p.objectStore(l);b.forEach(function(r){var u=idd(a,c,d,r.metadata,f);q.put(Tcd(r.data),r.key).then(function(){u&&(o5c(u.OE(),!0),u.Yj())},function(y){var z=y instanceof _.yL?y.code:_.YSc;u&&a.W&&(y=o5c(u.OE(),!1),z=_.vN(_.RUc,z),_.A(y,2,z),u.Yj())})});return p.wait().then(function(){})},idd=function(a,
b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=q5c(p5c(a.OE(),_.vN(_.QUc,b)),_.vN(_.NUc,c)),f=f.uo(d.H),f=_.A(b,5,f),r5c(f,d.isEncrypted),void 0!=d.Mm()&&a.OE().Bt(d.Mm());return a}return null},hdd=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.If())return _.Rh(Error(a.O));if(3==b&&void 0==c)return _.Rh(Error("Cf"))}else return _.Rh(Error("Df"));b=Vcd(a.Ci(),b,d,c);c=_.YL.X5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Ef"));a.objectStore(c).remove(b);return a.wait().then(function(){})},jdd=
function(a){if(!a.H)return _.Rh(Error("Ff"));if(a.If())return _.Rh(Error(a.O));var b=Wcd(a.Ci()),c=_.YL.X5;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Gf"));a.objectStore(c).remove(b);return a.wait().then(function(){})};
pP.prototype.getMetadata=function(a){if(this.H){if(this.If())return _.Rh(Error(this.O));if(a&&0==a.length)return _.Rh(Error("Hf"))}else return _.Rh(Error("If"));var b=this.Ci(),c=_.YL.h7,d=qP(this,c);if(!d)return _.Rh(Error("Jf"));var e=d.objectStore(c);if(a){var f=[];a.forEach(function(k){f.push(e.get(Mcd(b,k.global,k.key)).then())});a=_.Sh(f)}else a=_.Sh([e.getAll(Ocd(b,!1)).then(),e.getAll(Ocd(b,!0)).then()]).then(function(k){return v1c(k[0],k[1])});var h=_.Th();a.then(function(k){h.resolve(k.map(function(l){if(l){var p=
l.k.split(":"),q="#"===p[2];l=4!==p.length||!q&&p[2]!==oP(b)||p[0]!==b.Oz()||p[1]!==String(b.clientId)?null:new Ncd(p[3],l.v,q)}else l=null;return l}))},h.reject);return h.promise};
var kdd=function(a,b){if(a.H){if(a.If())return _.Rh(Error(a.O));if(0==b.length)return _.Rh(Error("Kf"))}else return _.Rh(Error("Lf"));var c=_.YL.h7,d=qP(a,c,"readwrite");if(!d)return _.Rh(Error("Mf"));var e=d.objectStore(c),f=[];b.forEach(function(h){var k=f.push,l=e.put,p=a.Ci();h={k:Mcd(p,h.global,h.key),v:h.value};k.call(f,l.call(e,h).then())});return _.Sh(f).then(function(){})},ldd=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.If())return _.Rh(Error(a.O))}else return _.Rh(Error("Of"));var c=a.Ci(),
d=_.YL.h7;a=qP(a,d,"readwrite");if(!a)return _.Rh(Error("Pf"));d=a.objectStore(d);a=[];a.push(d.remove(Ocd(c,!1)).then());b&&a.push(d.remove(Ocd(c,!0)).then());return _.Sh(a).then(function(){})},mdd=function(a){if(!a.H)return _.Rh(Error("Qf"));if(a.If())return _.Rh(Error(a.O));var b=Rcd(a.Ci().Oz(),a.Ci().clientId),c=_.YL.oU;return(a=qP(a,c))?a.objectStore(c).get(b).then(function(d){return Qcd(d)}):_.Rh(Error("Rf"))},ndd=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Rh(Error("Sf"));if(a.If())return _.Rh(Error(a.O));
var c=a.Ci(),d=Rcd(c.Oz(),c.clientId);b=new Pcd(oP(c),b?Date.now():void 0);c=_.YL.oU;a=qP(a,c,"readwrite");if(!a)return _.Rh(Error("Tf"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return a.wait().then(function(){})};
pP.prototype.Il=function(a){var b=this;return this.H?this.If()?_.Rh(Error(this.O)):mdd(this).then(function(c){var d=oP(b.Ci());if(c)if(a){if(!c.O&&d==c.H&&d!=oP(a))return ndd(b,!0);if(c.O&&d==oP(a))return ndd(b)}else{if(d!=c.H)return ndd(b)}else if(!a)return ndd(b)}):_.Rh(Error("Uf"))};var odd=function(a){if(!a.H)return _.Rh(Error("Vf"));if(a.If())return _.Rh(Error(a.O));var b=a.Ci(),c=Rcd(b.Oz(),b.clientId);return mdd(a).then(function(d){if(d){d=_.YL.oU;var e=qP(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
pP.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.If()?_.Rh(Error(this.O)):mdd(this).then(function(c){var d=c&&c.H==oP(b.Ci());return d&&!a?!1:(c&&d?odd(b):_.Ph()).then(function(){return _.Sh([ldd(b,a),jdd(b),fdd(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Rh(Error("Wf"))};pP.prototype.close=function(){this.ha("Closing database")};pP.prototype.log=function(a){this.Cd.info("drive.ds.sync.storage.VersionedDb",a)};
var pdd=function(a){if(1>=a.Ci())return!1;var b=a.H.objectStoreNames;return _.Sa(_.YL).every(function(c){return b&&b.contains(c)})},qdd=function(){var a=_.Th();_.yTc("GoogleDriveDs").Sf(function(b){b?pdd(b)?a.resolve(b):(b.close(),_.Uh(T8c().then(),function(){a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},rdd=function(a,b,c){var d=_.Th();a?_.wTc(a,[_.YL.I_],"readonly").objectStore(_.YL.I_).getAll().Sf(function(e){e=_.Sa(e).map(function(f){return $cd(f)}).filter(function(f){return null!=
f});d.resolve(e.filter(function(f){return(!b||f.Oz()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},sdd=function(a,b,c){var d=_.Th();qdd().then(function(e){if(e){var f=_.YL.oU;_.wTc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Qcd(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.YL.I_,p=_.wTc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=$cd(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=
k),d.resolve(q)):d.resolve(null)});_.Yja(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},tdd=function(a,b,c){var d=_.Th(),e=new pP(_.Ph(a),b);add(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},udd=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=tdd(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?h:void 0}))});_.Sh(f).then(function(h){var k=
[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+oP(l)))});d.resolve(k)})},vdd=function(a,b,c){var d=Date.now()-12096E5,e=_.Th();qdd().then(function(f){f?(_.Uh(e.promise,function(){f.close()}),rdd(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){udd(h,c,f,e)})):e.resolve([])});return e.promise},wdd=function(a,b,c){var d=_.Th();qdd().then(function(e){e?(_.Uh(d.promise,function(){e.close()}),
rdd(e,a,b).then(function(f){udd(f,c,e,d,!0)})):d.resolve([])});return d.promise},xdd=function(a,b,c,d){if(a.length){var e=_.YL.X5,f=a.shift(),h=Ucd(f,3,0,1);try{_.wTc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Xcd(k))&&(!k.T0||k.T0&&d.has(f.V))?b.resolve(f):xdd(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},ydd=function(a,b,c,d,e,f,h){var k=_.Th();qdd().then(function(l){l?(_.Uh(k.promise,function(){l.close()}),rdd(l,a,b).then(function(p){return p.filter(function(q){return(!h||
h!=oP(q))&&q.W==c&&q.H>=e&&N1c(d.filter(function(r){return!_.rVc.has(r)}),q.Kg(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),xdd(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},zdd={key:"rid",global:!0},Add={key:"ooi",global:!0},Bdd={key:"rtds",global:!1},Cdd={key:"dct",global:!1},Ddd={key:"pc",global:!1},Edd=function(a){this.H=new _.Oh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};
Edd.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.If())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};Edd.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.If()?kdd(c,[new Ncd(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};Edd.prototype.Un=function(){return this.get(zdd).then(function(a){return a?a:null})};Edd.prototype.Du=function(a){return this.set(zdd,a)};
var Fdd=function(a){return a.get(Add).then(function(b){return"boolean"===typeof b?b:null})};Edd.prototype.My=function(a){return this.set(Add,a)};var Gdd=function(a){return a.get(Ddd).then(function(b){return"boolean"===typeof b?b:null})},Hdd=function(a){return a.get(Bdd).then(function(b){return Array.isArray(b)?b:null})},Idd=function(a){return a.get(Cdd).then(function(b){return"number"===typeof b?b:null})},Jdd=function(){this.ij=[]};_.L(Jdd,_.KN);
Jdd.prototype.add=function(a,b){var c=a.xv.request;return c instanceof _.RM&&_.B(c.request,12)?_.KN.prototype.add.call(this,a,b):!1};Jdd.prototype.Osa=function(a){return this.ij.splice(0,Math.min(a,1))};var Kdd=function(a,b){this.ij=[];this.H=b};_.L(Kdd,_.KN);Kdd.prototype.add=function(a,b){return a.xv.request instanceof _.RM?!1:_.KN.prototype.add.call(this,a,b)};
Kdd.prototype.Osa=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.ij.length&&b.length<a;f++){var h=this.ij[f],k=h.xv.request;k instanceof _.lM||k instanceof _.xM||k instanceof _.MM?k="app|"+k.yh():k instanceof _.gM||k instanceof _.hM||k instanceof _.nM||k instanceof _.TL?k="item|"+(k instanceof _.gM?k.Cc():k.getId()):k instanceof _.oM||k instanceof _.yM?k="item|"+k.Cc():k instanceof _.pM||k instanceof _.OM?k="item|"+k.Cc():k instanceof _.kD||k instanceof _.jD?(k=k instanceof _.kD?_.C(k,_.hp,1).getKey():
k.getKey(),k="pref|"+_.B(k,2)+"|"+_.ip(k)):k=k instanceof _.qM?"td|"+k.getId():null;var l=h.xv.request;if(l instanceof _.jM)l=!!_.R(l,8);else if(l instanceof _.hM){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.Jbb.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.ij,c[a]);return b};
Ldd=function(a,b,c,d,e,f,h,k,l){a=a.Zf();h=new _.x_c(k,h,d,_.bk(a,32,1073741824),_.bk(a,21,1E3));h=new _.y_c(h);k=new _.XZc(_.bk(a,59,2E3),_.bk(a,60,2E4),_.bk(a,61,6));c=new _.VZc(l?l:c,l?void 0:e);e={};e[1]=_.A_c(b,d);e[2]=_.B_c(b,a,k,c,d);e[3]=_.C_c(b,a,k,c,d,"batch");l=_.bk(a,10,50);f=new _.MN(d,b,[_.WZc(c),new _.$Zc(l,_.bk(a,11,100)),new _.LN(l),new _.JN(k,d)],[new Kdd(a,f),new Jdd,new _.KN],[new _.i_c(a,k,c.Ij(),d)],"mutation");return e[4]=f,e[5]=_.D_c(h,a,d),e[6]=_.C_c(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.C_c(b,a,k,c,d,"xd4_batch"),e[8]=_.C_c(b,a,k,c,d,"xd4_batch_one",1),e};Mdd=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};Ndd=function(a){var b={};return b.parentId=a.Hk(),b};Odd=function(a){var b={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());_.Q0c(b,_.Md(a,3));_.R(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
Pdd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.B(a,3)&&(b.workspaceToken=_.B(a,3));return b};Qdd=function(a){var b={};b.sourceIds=_.Md(a.request,1);b.destinationFolderId=_.B(a.request,2);a.pageToken&&(b.continuationToken=a.pageToken);return b};
Rdd=function(a){var b={},c={};_.ae(_.Lg(a.getTitle()))||(b.title=a.getTitle());null!=a.Pe()&&(b.description=a.Pe());null!=_.R(a,4)&&(c.starred=_.R(a,4));null!=a.Rh()&&(c.trashed=a.Rh());_.ae(_.Lg(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.B(a,7)&&(b.modifiedDate=_.vXc(_.uYc(_.B(a,7)||0)));null!=_.R(a,11)&&(c.restricted=_.R(a,11));_.Ra(c)&&(b.labels=c);null!=a.Si()&&(b.folderColor=a.Si());null!=_.R(a,16)&&(b.subscribed=_.R(a,16));null!=_.R(a,40)&&(c={},b.linkShareMetadata=
(c.securityUpdateEnabled=_.R(a,40),c));if(c=_.C(a,_.Vk,25)){b.contentRestrictions=[];var d={};null!=_.R(c,1)&&(d.readOnly=_.R(c,1));null!=_.B(c,2)&&(d.reason=_.B(c,2));b.contentRestrictions.push(d)}_.Q0c(b,_.Md(a,8));return b};Sdd=function(a){var b={};null!=_.R(a,3)&&(b.pinned=_.R(a,3));return b};
Tdd=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.B(a,3))b.backgroundImageId=_.B(a,3);else{var c=_.B(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Jg)("0",6-c.length)+c);c=_.C(a,_.c5c,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.B(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.B(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=c.Me())&&(a.width=c);b.backgroundImageFile=a}}return b};
Udd=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.T0c[a.getState()])&&(b.state=a);return b};_.Vdd=function(a){_.O(this,a,-1,null,null)};_.L(_.Vdd,_.K);_.Vdd.prototype.O=function(){return _.B(this,1)};var Wdd=function(a){_.O(this,a,-1,null,null)};_.L(Wdd,_.K);Wdd.prototype.O=function(){return _.R(this,1)};Wdd.prototype.V=function(){return _.B(this,2)};_.rP=function(a){_.O(this,a,-1,null,null)};_.L(_.rP,_.K);_.g=_.rP.prototype;
_.g.getId=function(){return _.B(this,1)};_.g.Pb=function(a){return _.A(this,1,a)};_.g.getTitle=function(){return _.B(this,2)};_.g.setTitle=function(a){return _.A(this,2,a)};_.g.Qsa=function(){return _.B(this,3)};_.g.Wy=function(){return _.B(this,4)};_.g.A$=function(){return _.C(this,Wdd,6)};_.g.xsb=function(){return _.C(this,_.Vdd,7)};_.g.DVa=function(){return _.B(this,8)};_.g.Psa=function(){return _.R(this,9)};_.sP=function(a){_.O(this,a,-1,null,null)};_.L(_.sP,_.K);_.g=_.sP.prototype;
_.g.getType=function(){return _.B(this,1)};_.g.getId=function(){return _.B(this,2)};_.g.Pb=function(a){return _.A(this,2,a)};_.g.getTitle=function(){return _.B(this,3)};_.g.setTitle=function(a){return _.A(this,3,a)};_.g.Ld=function(){return _.B(this,5)};_.g.setSize=function(a){return _.A(this,5,a)};_.g.Cab=function(){return _.B(this,6)};_.Xdd=function(a,b){return _.A(a,6,b)};_.sP.prototype.Pe=function(){return _.B(this,8)};_.sP.prototype.lm=function(a){return _.A(this,8,a)};
_.sP.prototype.O=function(){return _.R(this,9)};_.tP=function(a,b,c,d,e,f){_.ri.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=E2c(new _.VN,[1]);this.limit=e.Li();this.Oe=0;_.we(this,function(){h.O=!1;h.H=[]})};_.L(_.tP,_.ri);_.g=_.tP.prototype;_.g.vi=function(){return String(_.Da(this))};_.g.isActive=function(){return this.O};
_.g.activate=function(){this.O=!0;_.oa(this.items)&&6===this.Ab()&&this.Sj()||Ydd(this)};_.g.wd=function(){return this.request};_.g.Li=function(){return this.limit};_.g.Ab=function(){return this.status};_.g.Qq=function(){return this.ka};_.g.Sj=function(){return this.ha};_.g.$r=function(){var a=_.ASc().Cz(this.H,this.items),b=(new _.NSc).Dc(this.Ab());a=_.Nj(b,2,a);this.H=this.items;return a};_.g.Er=function(a){this.O&&(this.limit+=a||50,this.Ha(this.vi(),this.limit))};
var Zdd=function(a,b){return a.Ab()!==b.Ab()||oO(_.ASc(),a.items,b.Fd())},$dd=function(a,b){a.items=b.Fd();a.status=b.Ab();_.IL(a.Ba)&&(a.ka=F2c(a.status,a.items));a.ha=b.fl();a.Oe=b.hf()};_.tP.prototype.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a query after "+a.H+" retries.",a.error)))};_.tP.prototype.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};
_.tP.prototype.yu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+TO(this.V,this.wd());return _.$h(this.va.then(function(d){return d.vMb(a,b,c.wd(),c.Li(),c.items)}))};
var Ydd=function(a){a.isActive()&&(a.log("Livelist "+a.vi()+" returning "+a.items.length+". Status: "+(_.ab($5c)[a.Ab()]+". Datasource: ")+(_.ab(c7c)[a.Oe]+". Query: ")+(TO(a.V,a.request)+" ")+G2c(a.items)),aed(a,a.items,a.request),a.dispatchEvent(new _.gi(_.xc,a)))},aed=function(a,b,c){if(_.zM(c))c="quick access";else if(_.AM(c))c="people predict";else if(_.BM(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");a.log("Livelist "+a.vi()+" returning "+a.items.length+
" for "+(c+": "+b))};_.tP.prototype.refresh=function(){};_.tP.prototype.log=function(a){this.Fa.info(this.W,a)};var j3c=[90,59,75];_.t("sy1m3");
var bed=function(a){_.O(this,a,-1,null,null)};_.L(bed,_.K);
var ced=function(a){_.O(this,a,-1,null,null)};_.L(ced,_.K);ced.prototype.getType=function(){return _.B(this,1)};var ded=function(a){var b=new ced;return _.A(b,1,a)},eed=function(a,b){return _.J(a,2,b)};ced.prototype.ly=function(){return _.B(this,3)};ced.prototype.Ny=function(a){return _.A(this,3,a)};ced.prototype.Mi=function(){return _.B(this,4)};ced.prototype.setPosition=function(a){return _.A(this,4,a)};
var uP=function(a){_.O(this,a,-1,null,null)};_.L(uP,_.K);uP.prototype.getType=function(){return _.B(this,1)};var fed=function(a){var b=new uP;return _.A(b,1,a)};uP.prototype.hn=function(){return _.C(this,JO,2)};var ged=function(a,b){return _.J(a,2,b)};uP.prototype.ly=function(){return _.B(this,3)};uP.prototype.Ny=function(a){return _.A(this,3,a)};uP.prototype.Mi=function(){return _.B(this,4)};uP.prototype.setPosition=function(a){return _.A(this,4,a)};
var vP=function(a){_.O(this,a,-1,null,null)};_.L(vP,_.K);vP.prototype.getType=function(){return _.B(this,1)};var hed=function(a){var b=new vP;return _.A(b,1,a)};vP.prototype.hn=function(){return _.C(this,_.KF,2)};var ied=function(a,b){return _.J(a,2,b)};vP.prototype.ly=function(){return _.B(this,3)};vP.prototype.Ny=function(a){return _.A(this,3,a)};vP.prototype.Mi=function(){return _.B(this,4)};vP.prototype.setPosition=function(a){return _.A(this,4,a)};
var jed=function(a){_.O(this,a,-1,null,null)};_.L(jed,_.K);jed.prototype.Ab=function(){return _.B(this,1)};jed.prototype.Dc=function(a){return _.A(this,1,a)};jed.prototype.sr=function(){return _.C(this,_.IO,2)};
var led=function(a){_.O(this,a,-1,ked,null)};_.L(led,_.K);led.prototype.Ab=function(){return _.B(this,1)};led.prototype.Dc=function(a){return _.A(this,1,a)};led.prototype.Zj=function(){return _.B(this,3)};var ked=[2];
var med=function(a){_.O(this,a,-1,null,null)};_.L(med,_.K);med.prototype.qd=function(){return _.C(this,qO,1)};med.prototype.Sn=function(){return _.B(this,2)};
var ned=function(a){_.O(this,a,-1,null,null)};_.L(ned,_.K);_.g=ned.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.sr=function(){return _.C(this,_.IO,2)};_.g.Zj=function(){return _.B(this,3)};_.g.yh=function(){return _.B(this,4)};
var wP=function(a){_.O(this,a,-1,null,null)};_.L(wP,_.K);wP.prototype.Ab=function(){return _.B(this,1)};wP.prototype.Dc=function(a){return _.A(this,1,a)};wP.prototype.Zj=function(){return _.B(this,3)};
var oed=function(a){_.O(this,a,-1,null,null)};_.L(oed,_.K);_.g=oed.prototype;_.g.Ab=function(){return _.B(this,1)};_.g.Dc=function(a){return _.A(this,1,a)};_.g.Zj=function(){return _.B(this,2)};_.g.NMa=function(){return _.C(this,_.hp,3)};_.g.getKey=function(){return _.C(this,_.Ob,4)};_.g.us=function(){return _.P(this,4)};
var qed=function(a){_.O(this,a,-1,null,ped)};_.L(qed,_.K);qed.prototype.getKey=function(){return _.B(this,1)};qed.prototype.us=function(){return _.P(this,1)};var sed=function(a){_.O(this,a,-1,red,null)};_.L(sed,_.K);var ped=[[2,4,6,10],[3,5,7,8,9]],red=[1];
var ted=function(a){_.O(this,a,-1,null,null)};_.L(ted,_.K);
var xP=function(a){_.O(this,a,-1,ued,null)};_.L(xP,_.K);xP.prototype.Ab=function(){return _.B(this,1)};xP.prototype.Dc=function(a){return _.A(this,1,a)};xP.prototype.O=function(){return _.Uj(this,wO,2)};var ved=function(a,b){return _.Nj(a,2,b)};xP.prototype.Zj=function(){return _.B(this,3)};var ued=[2];
var wed=function(a){_.O(this,a,-1,null,null)};_.L(wed,_.K);wed.prototype.Ab=function(){return _.B(this,1)};wed.prototype.Dc=function(a){return _.A(this,1,a)};wed.prototype.O=function(){return _.C(this,wO,2)};wed.prototype.Zj=function(){return _.B(this,3)};
var xed=function(a){_.O(this,a,-1,null,null)};_.L(xed,_.K);xed.prototype.ky=function(){return _.B(this,2)};
var zed=function(a){_.O(this,a,-1,yed,null)};_.L(zed,_.K);zed.prototype.Ab=function(){return _.B(this,1)};zed.prototype.Dc=function(a){return _.A(this,1,a)};zed.prototype.yj=function(){return _.Uj(this,_.vSc,2)};zed.prototype.ir=function(a,b){return _.Xj(this,2,a,_.vSc,b)};var yed=[2];
var Bed=function(a){_.O(this,a,-1,Aed,null)};_.L(Bed,_.K);Bed.prototype.Ab=function(){return _.B(this,1)};Bed.prototype.Dc=function(a){return _.A(this,1,a)};Bed.prototype.kl=function(){return _.Uj(this,uP,2)};var Aed=[2];
_.Ded=function(a){_.O(this,a,-1,Ced,null)};_.L(_.Ded,_.K);var Ced=[1];
var yP=function(a){_.O(this,a,-1,Eed,null)},Hed,Ied;_.L(yP,_.K);yP.prototype.Sn=function(){return _.B(this,1)};var Fed=function(a,b){return _.A(a,1,b)},Ged=function(a,b){return _.A(a,2,b)};yP.prototype.Ab=function(){return _.B(this,3)};yP.prototype.Dc=function(a){return _.A(this,3,a)};Hed=function(a,b){return _.A(a,4,b)};Ied=function(a,b){return _.Nj(a,5,b)};_.Jed=function(a){_.O(this,a,-1,null,null)};_.L(_.Jed,_.K);_.Jed.prototype.$b=function(){return _.B(this,2)};
_.Led=function(a){_.O(this,a,-1,Ked,null)};_.L(_.Led,_.K);var Med=function(a,b){return _.A(a,1,b)},Ned=function(a,b){return _.A(a,2,b)},Oed=function(a,b){return _.Nj(a,3,b)},Eed=[5],Ked=[3];
_.zP=function(a){_.O(this,a,-1,Ped,null)};_.L(_.zP,_.K);_.zP.prototype.HV=function(){return _.Uj(this,_.FF,2)};_.zP.prototype.we=function(){return _.C(this,_.lf,3)};var Ped=[1,2];
_.AP=function(a){_.O(this,a,-1,null,null)};_.L(_.AP,_.K);_.AP.prototype.Ab=function(){return _.B(this,1)};_.AP.prototype.Dc=function(a){return _.A(this,1,a)};_.AP.prototype.Eh=function(){return _.C(this,_.ZA,2)};_.Qed=function(a,b){return _.J(a,2,b)};_.AP.prototype.Zj=function(){return _.B(this,3)};
var Red=function(a){_.O(this,a,-1,null,null)};_.L(Red,_.K);Red.prototype.Ab=function(){return _.B(this,1)};Red.prototype.Dc=function(a){return _.A(this,1,a)};
var Ted=function(a){_.O(this,a,-1,Sed,null)};_.L(Ted,_.K);Ted.prototype.Ab=function(){return _.B(this,1)};Ted.prototype.Dc=function(a){return _.A(this,1,a)};Ted.prototype.kl=function(){return _.Uj(this,vP,2)};var Sed=[2];
var Ued=function(a){_.O(this,a,-1,null,null)};_.L(Ued,_.K);Ued.prototype.getType=function(){return _.B(this,1)};var Ved=function(a){var b=new Ued;return _.A(b,1,a)};Ued.prototype.ly=function(){return _.B(this,3)};Ued.prototype.Ny=function(a){return _.A(this,3,a)};Ued.prototype.Mi=function(){return _.B(this,4)};Ued.prototype.setPosition=function(a){return _.A(this,4,a)};
var Xed=function(a){_.O(this,a,-1,Wed,null)};_.L(Xed,_.K);Xed.prototype.Ab=function(){return _.B(this,1)};Xed.prototype.Dc=function(a){return _.A(this,1,a)};Xed.prototype.Zj=function(){return _.B(this,3)};var Wed=[2];
_.Yed=function(a){_.O(this,a,-1,null,null)};_.L(_.Yed,_.K);_.Yed.prototype.getId=function(){return _.B(this,1)};_.Yed.prototype.Pb=function(a){return _.A(this,1,a)};_.Yed.prototype.we=function(){return _.C(this,_.lf,4)};
var $ed=function(a){_.O(this,a,-1,Zed,null)};_.L($ed,_.K);$ed.prototype.Ab=function(){return _.B(this,1)};$ed.prototype.Dc=function(a){return _.A(this,1,a)};$ed.prototype.Zj=function(){return _.B(this,3)};var Zed=[2,4];
_.BP=function(a){_.O(this,a,-1,null,null)};_.L(_.BP,_.K);_.BP.prototype.getType=function(){return _.B(this,1)};var afd=function(a){var b=new _.BP;return _.A(b,1,a)},bfd=function(a,b){return _.J(a,2,b)};_.BP.prototype.ly=function(){return _.B(this,3)};_.BP.prototype.Ny=function(a){return _.A(this,3,a)};_.BP.prototype.Mi=function(){return _.B(this,4)};_.BP.prototype.setPosition=function(a){return _.A(this,4,a)};
_.W2c=function(a){_.O(this,a,-1,null,null)};_.L(_.W2c,_.K);_.g=_.W2c.prototype;_.g.getItem=function(){return _.C(this,_.Yk,1)};_.g.setItem=function(a){return _.J(this,1,a)};_.g.getError=function(){return _.C(this,_.kc,2)};_.g.Re=function(a){return _.J(this,2,a)};_.g.Dn=function(){return _.P(this,2)};_.g.et=function(){return _.B(this,4)};
var dfd=function(a){_.O(this,a,-1,cfd,null)};_.L(dfd,_.K);var cfd=[2,4];
var ffd=function(a){_.O(this,a,-1,efd,null)};_.L(ffd,_.K);var efd=[1];
var hfd=function(a){_.O(this,a,-1,gfd,null)};_.L(hfd,_.K);hfd.prototype.Ab=function(){return _.B(this,1)};hfd.prototype.Dc=function(a){return _.A(this,1,a)};hfd.prototype.Zj=function(){return _.B(this,3)};var gfd=[2];
var jfd=function(a){_.O(this,a,-1,ifd,null)};_.L(jfd,_.K);jfd.prototype.Ab=function(){return _.B(this,1)};jfd.prototype.Dc=function(a){return _.A(this,1,a)};jfd.prototype.Zj=function(){return _.B(this,3)};var ifd=[2];
var kfd=function(a){_.O(this,a,-1,null,null)};_.L(kfd,_.K);
var mfd=function(a){_.O(this,a,-1,lfd,null)};_.L(mfd,_.K);mfd.prototype.O=function(){return _.B(this,2)};var nfd=function(a,b){_.A(a,2,b)},lfd=[1];
var ofd=function(a){_.gi.call(this,"Ob");this.dataType=a};_.L(ofd,_.gi);
var pfd=function(a,b){_.gi.call(this,"Pb");this.xPa=a;this.qua=b};_.L(pfd,_.gi);
var qfd=function(){};_.g=qfd.prototype;_.g.vM=function(a,b){return i7c(h7c(1),a).setPosition(b)};_.g.uM=function(a,b){return i7c(h7c(2).setPosition(b),a)};_.g.CE=function(a,b,c){return i7c(h7c(3).Ny(b).setPosition(c),a)};_.g.pQ=function(a,b){return i7c(h7c(4),a).setPosition(b)};_.g.YM=function(a){return _.C(a,tO,2)};
var rfd=function(){_.lL.call(this,new qfd,function(a){return a&&a.getName()})};_.L(rfd,_.lL);
var CP=function(a,b,c){c=void 0===c?50:c;_.ri.call(this);var d=this;this.W=a;this.connectionState=b;this.limit=c;this.active=!1;this.status=6;this.va=E2c(new _.VN,[1]);this.ha=this.H=!1;this.Mc=new _.Ee(this);this.Ma(this.Mc);_.we(this,function(){d.active=!1;d.Mc.removeAll()})};_.L(CP,_.ri);_.g=CP.prototype;_.g.vi=function(){return String(_.Da(this))};_.g.Te=function(){return this.W.Te()||this.connectionState.Te()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Mc.listen(this.W,"Ab",_.wb(this.St)),this.Mc.listen(this.connectionState,[].concat(_.jd(Object.values(_.aB))),_.wb(this.St)),this.W.Te()?this.Mc.od(this.W,"Ab",function(b){b.Te()||(a.UG(),a.dispatchEvent(new _.gi(_.gq)))}):this.connectionState.Te()?this.Mc.od(this.connectionState,[_.aB.xL,_.aB.pU],function(){a.UG();a.dispatchEvent(new _.gi(_.gq))}):(this.UG(),this.dispatchEvent(new _.gi(_.gq))))};_.g.UG=function(){};
_.g.Er=function(a){var b=this;if(this.Sj()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.St();this.W.Te()?this.Mc.od(this.W,"Ab",function(d){d.Te()||b.bP()}):this.bP()}};_.g.EL=function(){this.Te()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ab=function(){return this.status};_.g.Qq=function(){return this.va};_.g.handleError=function(a){this.dispatchEvent(new _.mc(a))};_.g.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.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.bP=function(){};
var sfd=function(a,b,c,d,e){CP.call(this,a,b,e.Li()||void 0);this.ka=c;this.request=e;this.O=[];this.data=[];this.changed=!1;this.V=new rfd;this.ma=d};_.L(sfd,CP);_.g=sfd.prototype;_.g.UG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){return m7c(new zO,this.data).Dc(this.status)};_.g.$r=function(){var a=this.V.Cz(this.O,this.data);this.O=this.data;var b=(new k7c).Dc(this.status);return _.Nj(b,2,a)};
_.g.bP=function(){this.ma(this.vi(),this.limit)};_.g.St=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,tfd(this)}};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.O()))this.H=!0,this.status=b.Ab(),this.data=b.O(),this.ha=a.H,tfd(this)};
var tfd=function(a){a.log("Livelist "+a.vi()+" returning "+a.data.length+" for "+(a.request.Cc()+". Status: ")+(_.ab($5c)[a.Ab()]+"."));a.dispatchEvent(new _.gi(_.xc,a))};sfd.prototype.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a category metadata query after "+a.H+" retries.",a.error)))};sfd.prototype.log=function(a){this.ka.info("drive.ds.sync.CategoryMetadataLiveList",a)};
var ufd=function(a,b,c,d,e,f,h){_.tP.call(this,a,b,c,e,f,d);this.Cd=h;this.W="drive.ds.sync.ViewCacheLiveList";this.oa=null;this.ma=void 0};_.L(ufd,_.tP);ufd.prototype.getData=function(){this.H=this.items;var a=J4c((new _.QA).Dc(this.Ab()).Ow(this.items),this.Sj());a=_.J(a,7,this.oa).AP(this.suggestionSessionId).jj(this.Oe);return _.Kj(a,18,this.ma)};
ufd.prototype.update=function(a){if(Zdd(this,a)&&($dd(this,a),this.oa=a.j6(),this.suggestionSessionId=a.Uf(),this.ma=a.zka(),Ydd(this),this.suggestionSessionId&&o$c(this.V)&&(a=this.Cd.H(106027)))){var b=_.C(_.uN(a),v5c,20);if(!b){b=new v5c;var c=_.uN(a);_.J(c,20,b)}_.A(b,1,this.suggestionSessionId);a.Yj()}};
var vfd=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?_.ak(d,f)||(d=ied(hed(4),f),c[e]=d):(d=ied(hed(2),d),c[e]=d)});_.Ma(b,function(d,e){a[e]||(d=ied(hed(1),d),c[e]=d)});return c},wfd=function(a,b){return _.Ra(a)!==_.Ra(b)||!_.Va(vfd(a,b))};
var xfd=function(a,b){_.ri.call(this);this.request=b;this.active=!1;this.status=6;this.H={};this.data={}};_.L(xfd,_.ri);_.g=xfd.prototype;_.g.activate=function(){this.active||(this.active=!0,_.Va(this.data)&&6===this.status||this.dispatchEvent(new _.gi(_.xc,this)))};_.g.Ab=function(){return this.status};_.g.Qq=function(){return new _.VN};_.g.getData=function(){this.H=this.data;var a=(new _.yN).Dc(this.status);_.Ma(this.data,function(b,c){a.PT().set(c,b||new _.KF)});return a};
_.g.$r=function(){var a=vfd(this.H,this.data);this.H=this.data;var b=(new Red).Dc(this.status);_.Ma(a,function(c,d){_.Ij(b,2,vP).set(d,c)});return b};_.g.jT=function(){throw Error("Yf");};_.g.vi=function(){return String(_.Da(this))};_.g.wd=function(){return this.request};_.g.update=function(a){var b={};a.PT().forEach(function(c,d){c||(c=Zbd(d));b[d]=c});if(this.status!==a.Ab()||wfd(this.H,b))this.status=a.Ab(),this.data=b,this.active&&this.dispatchEvent(new _.gi(_.xc,this))};
_.g.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Workspace find by id after "+a.H+" retries.",a.error)))};_.g.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var yfd=function(a,b,c,d,e,f){_.ri.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=E2c(new _.VN,[1]);this.log("Creating find by ids live map: "+this.request.an().join(", "));_.we(this,function(){h.O=!1;h.H=[]})};_.L(yfd,_.ri);_.g=yfd.prototype;_.g.vi=function(){return String(_.Da(this))};_.g.activate=function(){this.O=!0;_.Va(this.items)&&6===this.status||zfd(this)};_.g.wd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.wN;_.IL(this.V)?a.Dc(S1c(Object.values(this.items))?6:this.status):a.Dc(this.status);a.map=this.items;return a};_.g.$r=function(){var a=H2c(this.H,this.items),b=new f7c;b.Dc(this.status);b.map=a;this.H=this.items;return b};_.g.Ab=function(){return this.status};_.g.Qq=function(){return this.W};_.g.jT=function(a){k$c(a);var b=this.request;this.request=a;this.oa(this.vi(),b,a)};
_.g.update=function(a){var b=this;0<=_.la(this.wd().an(),"root")?this.ma.addCallback(function(c){var d=a.map[c];d&&(_.Xa(a.map,c),a.map.root=d);Afd(b,a)}):Afd(this,a)};var Afd=function(a,b){if(a.status!==b.Ab()||I2c(a.items,b.map))a.status=b.Ab(),a.items=b.map,_.IL(a.V)&&(a.W=F2c(a.status,Object.values(a.items))),zfd(a)};yfd.prototype.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a find-by-IDs query after "+a.H+" retries.",a.error)))};yfd.prototype.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var zfd=function(a){a.O&&(a.log("Livelist "+a.vi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.ab($5c)[a.Ab()]+". Query: ")+(TO(a.ka,a.request)+" ")+G2c(Object.values(a.items))),a.dispatchEvent(new _.gi(_.xc,a)))};yfd.prototype.log=function(a){this.ha.info("drive.ds.sync.IdViewCacheLiveMap",a)};
var Bfd=function(a,b,c,d,e,f){_.tP.call(this,a,b,c,d,e,f);this.ma=[];this.W="drive.ds.sync.PeoplePredictLiveList"};_.L(Bfd,_.tP);Bfd.prototype.getData=function(){this.H=this.items;var a=(new _.xN).Dc(this.Ab()).Ow(this.items);var b=this.Sj();a=_.A(a,4,b);return b6c(a,this.ma).AP(this.suggestionSessionId).jj(this.Oe)};Bfd.prototype.update=function(a){Zdd(this,a)&&($dd(this,a),this.ma=_.Uj(a,_.Fk,6),this.suggestionSessionId=a.Uf(),Ydd(this))};
var Cfd=function(){};_.g=Cfd.prototype;_.g.vM=function(a,b){return ged(fed(1),a).setPosition(b)};_.g.uM=function(a,b){return ged(fed(2).setPosition(b),a)};_.g.CE=function(a,b,c){return ged(fed(3).Ny(b).setPosition(c),a)};_.g.pQ=function(a,b){return ged(fed(4),a).setPosition(b)};_.g.YM=function(a){return a.hn()};
var Dfd=function(){_.lL.call(this,new Cfd,function(a){return a&&a.iq()})};_.L(Dfd,_.lL);
var Efd=function(a,b,c){CP.call(this,a.Ij(),a.qk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new Dfd;this.suggestionSessionId=null;this.ka=c};_.L(Efd,CP);_.g=Efd.prototype;_.g.UG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return j9c(i9c((new KO).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.$r=function(){var a=this.V.Cz(this.O,this.data);this.O=this.data;var b=(new Bed).Dc(this.status);return _.Nj(b,2,a)};_.g.bP=function(){};_.g.St=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Ab()||oO(0,this.data,a.kl())){this.changed=this.H=!0;this.data=a.kl();if(a=a.Uf())this.suggestionSessionId=a;this.St()}};_.g.refresh=function(){this.ka()};_.g.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Suggested Workspace query after "+(a.H+" retries."),a.error)))};
var Ffd=function(a,b,c){_.ri.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=E2c(new _.VN,[1]);this.O=!0;this.limit=a.Li();_.we(this,function(){d.H=!1;d.V=[]})};_.L(Ffd,_.ri);_.g=Ffd.prototype;_.g.vi=function(){return String(_.Da(this))};_.g.activate=function(){this.H=!0;_.oa(this.items)&&6===this.status&&this.O||this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.Ab=function(){return this.status};
_.g.Qq=function(){return this.W};_.g.Sj=function(){return this.O};_.g.getData=function(){this.V=this.items;return J4c((new _.QA).Dc(this.status).Ow(this.items),this.O)};_.g.$r=function(){var a=_.ASc().Cz(this.V,this.items),b=(new _.NSc).Dc(this.status);a=_.Nj(b,2,a);this.V=this.items;return a};_.g.Er=function(a){this.H&&(this.limit+=a||20,this.ka.CF(this.vi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Ab()||oO(_.ASc(),this.items,a.Fd()))this.items=a.Fd(),this.status=a.Ab(),_.IL(this.ha)&&(this.W=F2c(this.status,this.items)),this.O=a.fl(),this.H&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Team Drive query after "+a.H+" retries.",a.error)))};_.g.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};_.g.yu=function(){throw Error("Zf");};_.g.refresh=function(){};
var Gfd=function(a,b,c){_.ri.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=E2c(new _.VN,[1]);this.context.Rf().info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.request.an().join(", "));_.we(this,function(){d.V=!1;d.O=[]})};_.L(Gfd,_.ri);_.g=Gfd.prototype;_.g.vi=function(){return String(_.Da(this))};
_.g.activate=function(){this.V=!0;(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.wd=function(){return this.request};_.g.getData=function(){this.O=this.H;var a=new _.wN;a.Dc(this.status);a.map=this.H;return a};_.g.$r=function(){var a=H2c(this.O,this.H),b=new f7c;b.Dc(this.status);b.map=a;this.O=this.H;return b};_.g.Ab=function(){return this.status};_.g.Qq=function(){return this.W};
_.g.jT=function(a){var b=this.request;this.request=a;this.ha.iZ(this.vi(),b,a)};_.g.update=function(a){if(this.status!==a.Ab()||I2c(this.H,a.map))this.status=a.Ab(),this.H=a.map,_.IL(this.context.Oc)&&(this.W=F2c(this.status,Object.values(this.H))),this.V&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a team drive find-by-IDs query after "+a.H+" retries.",a.error)))};_.g.lW=function(){this.dispatchEvent(new _.gi(_.mEa))};
var Hfd=function(){};_.g=Hfd.prototype;_.g.vM=function(a,b){return ied(hed(1),a).setPosition(b)};_.g.uM=function(a,b){return ied(hed(2).setPosition(b),a)};_.g.CE=function(a,b,c){return ied(hed(3).Ny(b).setPosition(c),a)};_.g.pQ=function(a,b){return ied(hed(4),a).setPosition(b)};_.g.YM=function(a){return a.hn()};
var Ifd=function(){_.lL.call(this,new Hfd,function(a){return a&&a.getId()})};_.L(Ifd,_.lL);
var Jfd=function(a,b,c){CP.call(this,a.Ij(),a.qk(),b.Li()||10);this.request=b;this.ka=c;this.O=[];this.data=[];this.changed=!1;this.V=new Ifd};_.L(Jfd,CP);_.g=Jfd.prototype;_.g.UG=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.gi(_.xc,this))};_.g.getData=function(){this.O=this.data;return fad((new $O).Dc(this.status),this.data.slice(0))};_.g.$r=function(){var a=this.V.Cz(this.O,this.data);this.O=this.data;var b=(new Ted).Dc(this.status);return _.Nj(b,2,a)};
_.g.bP=function(){this.ka.CF(this.vi(),this.limit)};_.g.St=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};_.g.wd=function(){return this.request};_.g.update=function(a){var b=a.response;if(this.status!==b.Ab()||oO(0,this.data,b.kl()))this.H=!0,this.status=b.Ab(),this.data=b.kl(),this.ha=a.H,this.dispatchEvent(new _.gi(_.xc,this))};
_.g.mB=function(a){this.dispatchEvent(new _.mc(new _.lc("Error occurred running a Workspace query after "+a.H+" retries.",a.error)))};
var Kfd=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.tf;this.O=this.context.Nfa;this.oa=this.context.l6};_.g=Kfd.prototype;_.g.sxa=function(a){var b=this,c=new ufd(this.context.Fm,this.context.dQ,this.context.Rf(),this.context.Oc,function(d,e){b.CF(d,e)},a,this.context.Rk());this.$h(c);_.we(c,function(){b.hk(c)});return c};
_.g.vxa=function(a){var b=this,c=new Bfd(this.context.Fm,this.context.dQ,this.context.Rf(),function(d,e){b.CF(d,e)},a,this.context.Oc);this.$h(c);_.we(c,function(){b.hk(c)});return c};_.g.pxa=function(a){var b=this,c=new yfd(this.context.Oc,this.context.Fm,this.context.Rf(),this.context.b_,this.iZ.bind(this),a);this.$h(c);_.we(c,function(){b.hk(c)});return c};_.g.yxa=function(a){var b=this,c=new Ffd(a,this,this.context.Oc);this.$h(c);_.we(c,function(){b.hk(c)});return c};
_.g.zxa=function(a){var b=this,c=new Gfd(this.context,this,a);this.$h(c);_.we(c,function(){b.hk(c)});return c};_.g.Cxa=function(a){var b=this,c=new Jfd(this.context,a,this);this.$h(c);_.we(c,function(){b.hk(c)});return c};_.g.wxa=function(a){var b=this,c=new Efd(this.context,a,function(){if(a instanceof _.IF){var d=Lfd(b.context);Hbd(d,d.getKey(a)).refresh()}});this.$h(c);_.we(c,function(){b.hk(c)});return c};
_.g.Dxa=function(a){var b=this,c=new xfd(this.context,a);this.$h(c);_.we(c,function(){b.hk(c)});return c};_.g.mxa=function(a){var b=this,c=new sfd(this.context.Ij(),this.context.qk(),this.context.Rf(),function(d,e){b.CF(d,e)},a);this.$h(c);_.we(c,function(){b.hk(c)});return c};
_.g.$h=function(a){var b=a.vi();this.H[b]=a;this.ha.create(b,a.wd());if(a.wd()instanceof _.Jz)a=this.O.$h(b,a.wd());else if(a.wd()instanceof _.LF)a=Fbd(this.O,b,a.wd());else if(a.wd()instanceof _.IF)a=Lfd(this.context).$h(b,a.wd());else if(a.wd()instanceof _.WF)a=this.oa.$h(b,a.wd());else{var c=a.wd(),d=TO(this.context.Fm,c,2);this.log("Registering LiveList "+a.vi()+" "+d);a=this.W.$h(b,c)}"boolean"===typeof a&&P$c(this.ha,b,a)};
_.g.hk=function(a){if(a.wd()instanceof _.Jz)this.O.hk(a.vi(),a.wd());else if(a.wd()instanceof _.LF)Gbd(this.O,a.vi(),a.wd());else if(a.wd()instanceof _.IF)Lfd(this.context).hk(a.vi(),a.wd());else if(a.wd()instanceof _.WF)this.oa.hk(a.vi(),a.wd());else{var b=a.wd(),c=TO(this.context.Fm,b,2);this.log("Unregistering LiveList "+a.vi()+" "+c);this.W.hk(a.vi(),b)}WO(this.ha,a.vi(),4);delete this.H[a.vi()]};_.g.iZ=function(a,b,c){this.W.hk(a,b);this.W.$h(a,c)};
_.g.CF=function(a,b){var c=Mfd(this,a).wd();c.wi(b);c instanceof _.Jz?this.O.$h(a,c):c instanceof _.LF?Fbd(this.O,a,c):c instanceof _.WF?this.oa.$h(a,c):this.W.$h(a,c)};_.g.tO=function(a,b){var c=this.H[a]&&this.H[a].wd();c&&(c instanceof _.Ye?D1c(c.O(),b.Fd().filter(function(d){return!QO(d)})):c instanceof _.Zz&&D1c(c.O(),Object.values(b.map).filter(function(d){return d&&!QO(d)})));this.ka[a]=b;this.V||(this.V=_.ti(this.g9,50,this))};
_.g.MX=function(a,b){this.ma[a]=b;this.V||(this.V=_.ti(this.g9,50,this))};_.g.hA=function(a){(a=this.H[a])&&a.lW()};_.g.g9=function(){_.ui(this.V);this.V=null;var a=Object.keys(this.ka),b=Object.keys(this.ma);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.ka[c];if(d){delete this.ka[c];var e=this.H[c];e&&(S$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])WO(this.ha,a,3),d.mB(c)};
_.g.Oka=function(a){return Mfd(this,a).wd()};var Mfd=function(a,b){if(!a.H[b])throw Error("$f`"+b);return a.H[b]};Kfd.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var DP=function(a,b){_.ri.call(this);this.O=a;this.request=b;this.ke=_.Th();this.complete=!1;this.H=""};_.L(DP,_.ri);DP.prototype.start=function(){var a=this;this.O.then(function(b){return b.Se(a.request)}).then(this.W.bind(this)).Fg(this.handleError.bind(this));return this.ke.promise};DP.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new pfd(0,this.H));Nfd(this)};
var Nfd=function(a){_.n.setTimeout(function(){a.O.then(function(b){return b.Se(new _.YVc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new dfd;c=_.Kj(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.eA);c=_.A(c,8,b.H);b=_.Nj(c,4,b.W);a.ke.resolve(b)}else b=_.PL(_.aq(_.$p(new _.kc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new pfd(b.O,
a.H)),Nfd(a)}).Fg(function(b){a.handleError(b)})},5E3)};DP.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Se(new _.XVc(a.H))}).then(this.V.bind(this)).Fg(this.handleError.bind(this))};DP.prototype.V=function(){if(!this.complete){var a=new dfd;a=_.A(a,3,this.H);a=_.A(a,1,!0);this.ke.resolve(a);this.complete=!0;this.dispose()}};DP.prototype.handleError=function(a){this.complete=!0;this.ke.reject(_.bM(a));this.dispose()};
var Ofd=function(){_.gi.call(this,"VbxEwf")};_.L(Ofd,_.gi);
var Pfd=function(a,b){this.context=a;this.H=null;this.vc=b||null};_.g=Pfd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Bz=function(){return this.context.JA.Bz(this.H)};_.g.Rf=function(){return this.context.Rf()};_.g.MM=function(a){return _.Zh(this.context.tf.um.H(a))};_.g.ZQ=function(){return _.Zh(this.context.JA.ZQ())};
_.g.i5=function(a,b,c){var d=new _.Vh;if(_.C(a,_.JL,3)||_.C(a,_.SM,4)||_.C(a,_.GN,5)||_.C(a,_.PM,6)||_.C(a,_.qM,7)||_.C(a,_.jM,8)||_.C(a,_.nM,9)||_.C(a,_.TL,10)){var e=M$c(a);this.context.Pm().then(function(f){return f.Se(e,{H7a:b,I7a:c})}).then(this.Dab.bind(this,d),d.Od,d);return d}throw Error("ag");};
_.g.Dab=function(a,b){var c=[],d="";if(b instanceof _.HN){c=b.qd().Fd();var e=_.B(b,2);d=b.Sn()}else if(b instanceof _.UM)b.getItem()&&c.push(b.getItem()),e=b.WM();else throw Error("bg");a.callback({items:c,Eia:e,pageToken:d})};_.g.nqa=function(){var a=this.context.Oc,b=a.Zf();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a)};_.g.fia=function(){this.context.Rs.gS();var a=this.context.Oc;wdd(_.gN(_.DL(a)),_.hN(a),this.context.Rf()).Fg(function(){})};
_.g.q9=function(){return _.$Uc[_.Gj(this.context.Oc.Zf(),8,0)]};_.g.Bda=function(){this.context.OF.H=new mcd(_.Mg().substring(0,8))};_.g.SS=function(){var a=this.context.OF.nN(),b=null;a&&(b=ocd(this.context.OF),b={traceId:a,spanRecs:b});a=this.context.OF;a.H=null;a.GY=[];return _.Zh(b)};_.g.nN=function(){return _.Zh(this.context.OF.nN())};
_.g.getState=function(a){var b=this.context.Pj,c=b.H.bind(b);b={};b.b=this.context.Oc.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.tf.um.Ld();c=this.context.tf.Tu;var d=c.H;d&&(b.cs_sutd=d.i8,b.cs_ss=d.Ld());b.cs_ch=Had(c).length;b.cs_td=c.bW().length;(c=this.context.m6)&&(b.t_cps=c.$tb().join(","));b.t_id=Qfd(this.context);var e=
[];Rfd(this.context.YQ()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.Xy?this.context.qk().isConnected():this.context.yI.tB();b.n_o=this.context.Xy?this.context.qk().Te():this.context.Ij().Te();b.n_csm=!!this.context.Xy;a&&(b.csw_cc=_.Ra(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.Zh(JSON.stringify(b))};_.g.Dpa=function(){this.vc&&(this.vc.dispatchEvent(new Ofd),this.vc.Fu())};
_.g.Il=function(a){var b=this.context.Xy;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.EZc(b))};
var Ufd=function(a,b){this.context=a;this.Ig=b;this.H=_.KVc(_.oN(this.Ig),Sfd);this.O=_.KVc(_.oN(this.Ig),Tfd)};
Ufd.prototype.nl=function(a){var b=this,c=this.context.VP.Eh().Eh(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.OVc(h);var k=h.getId(),l=b.context.Un();_.hXc(h,3);_.WL(h,5);var p=Y1c(h,!0);h.getCapabilities()||_.cN(h,new _.Tk);_.R(p,2)&&((p=h.lk())&&p.length?_.A(h,46,p[0]):(_.bN(h,[l]),_.A(h,46,l)),l=h.zq(),_.A(h,12,l),l=new _.Fk,l.Pb(d),_.A(l,6,1),_.uWc(l,!0),_.bXc(h,l),_.aXc(h,[l]),_.QTb(h,1));e[k]=h});a=Object.keys(e);c=this.context.tf;var f=W9c(c.um,a);_.Ma(f,function(h,
k){ZN(h.getItem(),e[k],b.H);(b.context.Ij().Te()||b.context.qk().Te()||3===bO(h.getItem()))&&ZN(h.getItem(),e[k],b.O);_.Xa(e,k)});_.Ma(e,function(h){_.Wk(h.Nm())&&(f[h.getId()]=new OO(h))});Vfd(c,Object.values(f))};
var Wfd=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.nl(c)},Xfd=function(a){a=a.context.tf;var b=new _.Ye;b.Il(!0);b=Y9c(a.um,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===bO(f)){var h=new _.ML;_.NL(h,f.getId());_.XL(h);d.push(h)}else h=new _.Ina,_.XN(h,!1),_.A(h,2,!1),_.J(f,81,h),c.push(b[e])}Vfd(a,c);a.Qo(d)},Sfd=[50],Tfd=[12,11,10,67,68];
var Yfd=function(a){this.context=a;this.H=null;this.V=!1;this.O=new Ufd(a,a.Ig)};_.g=Yfd.prototype;_.g.nY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Fab.bind(this);var b=this.Eab.bind(this);this.log("Querying all offline items.");this.H.xV().Sf(a,b);this.V||(this.H.R_((0,_.v)(this.Lxb,this)),this.V=!0)}}else Xfd(this.O)};_.g.Fab=function(a){this.log("Processing all offline item(s): "+a.length);this.O.nl(a);cP(this.context.Pj,"GZTDpc")};_.g.Eab=function(){this.log("Error fetching offline items.")};
_.g.Lxb=function(a){this.log("Handling offline change(s): "+a.length);Wfd(this.O,a)};_.g.log=function(a){this.context.Rf().info("drive.ds.sync.offline.LocalDataService",a)};
var EP=function(a){_.ri.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Mc=new _.Ee(this);this.ma=null;this.Ta=this.va=!1;var b=new Yfd(a);this.context.ha=b;this.Fa=new Pfd(a,this);D2c(this.Fa);(b=_.C(a.Oc,_.ZL,58))&&_.S(b,1,!1);this.Ma(this.Mc);this.O=this.context.Pj;this.W=a.Kfa;this.V=new Kfd(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.pSa()};_.L(EP,_.ri);_.g=EP.prototype;_.g.pSa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.Th();var b=this.context.Rk().H(106E3);this.ma.promise.then(function(){b&&b.Yj()},function(){_.EN(a.context.Rk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Rf().info(this.Ba,"Initializing "+c+"with client build: "+this.context.Oc.Ji());this.Mc.listen(this.context,_.wc,this.ovb);this.Mc.listen(this.context.yI,["ib","jb"],function(d){return void a.dispatchEvent(d)});this.Mc.listen(this.context.qk(),[].concat(_.jd(Object.values(_.aB))),
function(d){return void a.dispatchEvent(d)});this.$a();this.O.start();cP(this.O,"NSockf")}return this.ma.promise};_.g.hXa=function(){this.context.Rf().info(this.Ba,"Ready to process requests.");this.va||(this.va=!0,this.ma.resolve())};_.g.ovb=function(a){var b=a.error,c=b.Og;c&&3===c.getType()&&!this.va?(this.va=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.WY=function(){throw FP("teamDriveQuery");};_.g.Qda=function(){throw FP("teamDriveFindByIds");};
_.g.gqa=function(){throw FP("teamDriveMovePreflight");};_.g.ZFa=function(){throw FP("peoplePredictQuery");};_.g.query=function(a){m$c(this.context.Fm,a,E5c(this.context.Ig));this.gF();var b=a.clone();b=this.V.sxa(b);this.Ta||(a=a.we(),a&&121===_.B(a,1)||(this.Ta=!0,this.Mc.listen(b,_.xc,this.OMa)));return b};_.g.OMa=function(a){a=a.currentTarget;if(1===a.Ab()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Mc.Yc(a,_.xc,this.OMa)}};_.g.Fq=function(a){this.gF();k$c(a);return this.V.pxa(a.clone())};
_.g.sva=function(){throw FP("activityQuery");};_.g.gwa=function(){throw FP("backupsQuery");};_.g.IGa=function(){throw FP("refreshBackups");};_.g.yV=function(){throw FP("getAndroidBackupItems");};_.g.x8=function(){throw FP("deleteBackup");};_.g.bGa=function(){throw FP("permissionQuery");};_.g.iaa=function(){throw FP("insertPermission");};_.g.y8=function(){throw FP("deletePermission");};_.g.xd=function(){throw FP("mutate");};_.g.VN=function(){throw FP("mutateWorkspace");};
_.g.mz=function(){throw FP("bulkMutate");};_.g.oxa=function(){throw FP("createFileUploader");};_.g.DSa=function(a){return new DP(this.context.Pm(),a)};_.g.Gq=function(a){if(3===a.getType())return _.$h(this.context.Pm().then(function(b){return b.Se(a)}).then(null,_.cM));throw FP("getApps with type "+a.getType());};_.g.sr=function(){throw FP("getApp");};_.g.kaa=function(){throw FP("installApp");};_.g.w8=function(){throw FP("deleteApp");};_.g.gT=function(){throw FP("updateApp");};
_.g.rN=function(){throw FP("getUserAccount");};_.g.SG=function(){throw FP("getUserPrefs");};_.g.VR=function(){throw FP("mutateUserPref");};_.g.gu=function(){throw FP("getRevisions");};_.g.aCa=function(){return!1};_.g.Il=function(a){this.context.Xy?a?_.FZc(this.context.Xy,!0):this.context.qk().Te()&&this.context.Xy.mM(!0).then(null,function(){}):this.context.Ij().Il(a)};_.g.My=function(){throw FP("setOfflineOptIn");};_.g.nY=function(){throw FP("setLocalItemService");};_.g.gF=function(){};
_.g.XR=function(){this.context.XR();this.context.Rk().O(106006)};_.g.I9=function(){return this.Fa};_.g.lY=function(){};_.g.tB=function(){return this.context.yI.tB()};_.g.hQ=function(){return _.S(this.context.Oc.Zf(),52,!1)?_.Ph(F$c(new E$c,0)):this.context.yI.hQ()};_.g.isConnected=function(){return 1===this.context.qk().get()};_.g.T7=function(){var a=this.context.Xy;return a?a.mM():_.Ph(_.oZc(0))};_.g.sync=function(){throw FP("sync");};_.g.Fu=function(){return this.context.Fu()};
_.g.Dba=function(){throw FP("offlineDataLoaded");};_.g.aoa=function(a){return this.context.Pm().then(function(b){return b.Se(a)}).then(function(b){return b})};_.g.Iwa=function(){throw FP("categoryMetadataQuery");};_.g.S7=function(){throw FP("changeCategoryLinks");};_.g.dP=function(){throw FP("updateCategoryMetadata");};_.g.tGa=function(){throw FP("publishedCategoriesQuery");};_.g.moa=function(){throw FP("publishedCategoryQuery");};_.g.pLa=function(){throw FP("workspaceFindByIdsRequest");};
_.g.bra=function(){throw FP("workspaceQueryRequest");};_.g.EJa=function(){throw FP("suggestedWorkspaceItemQueryRequest");};_.g.FJa=function(){throw FP("suggestedWorkspaceQueryRequest");};_.g.O_=function(){throw FP("addCacheHint");};_.g.v0=function(){throw FP("createUserFeedback");};_.g.Qo=function(){throw FP("handleChanges");};var FP=function(a){return new _.lc(a+" is unsupported",_.aM(3))};
var g3c=function(a){EP.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.Du("")};_.L(g3c,EP);g3c.prototype.$a=function(){bP(this.O,["NSockf"],this.hXa.bind(this))};
var Zfd=new Set([1,2,4,5,6]),$fd=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.Oe=0};$fd.prototype.Eh=function(){var a=new _.AP;a.Dc(this.status);this.H&&_.Qed(a,this.H?this.H.clone():null);return a};
var agd=function(a,b,c,d){d=void 0===d?!1:d;var e=Zfd.has(c);if(1===a.status&&!e)return!1;a.Oe=c;var f=a.status;c=!a.H;if(_.IL(a.O)){var h=(h=b&&b.getUser())&&_.VF(h);h=!(!h||!pbd(a.ka,h));a.status=h&&e||d?1:6}f=!_.ak(a.H,b)||(_.IL(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.IL(a.O)||(a.status=e||d?1:6);c&&(cP(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};$fd.prototype.hf=function(){return this.Oe};
var bgd=function(a){_.ri.call(this);this.ha=a;this.Oe=0};_.L(bgd,_.ri);var cgd=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};a9c(a,_.Md(a,4).map(b));b9c(a,_.Md(a,5).map(b));return a};_.g=bgd.prototype;_.g.Gq=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.eQ=function(){};_.g.jD=function(){return 0!==this.Oe};_.g.hf=function(){return this.Oe};
var dgd=new Set([1,2,4,5,6]),egd=function(a,b,c){bgd.call(this,b);this.W=a;this.V=c;this.H={};this.O=[];this.status=6;this.xp=!1};_.L(egd,bgd);egd.prototype.Gq=function(){var a=new YO;if(!_.Va(this.H)){_.Kj(a,4,this.O);var b=[];_.Ma(this.H,function(c){b.push(c.clone())});_.Nj(a,2,b)}a.Dc(this.status);return a};egd.prototype.put=function(a){this.H[a.getId()]=cgd(a);this.V.update(1);this.dispatchEvent(new _.gi("Qb",this))};egd.prototype.remove=function(a){_.Xa(this.H,a)&&this.V.update(1)};
egd.prototype.eQ=function(a,b,c){c=void 0===c?!1:c;var d=!dgd.has(b);1===this.status&&d||(this.Oe=b,fgd(this,a,!d||c),d||this.V.update(1),this.xp||(this.xp=!0,this.W.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),cP(this.ha,"nVUlO")))};
var fgd=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.Md(b,4);if(!d)if(e.length!==a.O.length)d=!0;else{var f=e.concat(a.O);_.Fa(f);d=f.length!==a.O.length}a.O=e;var h=_.$a(a.H);_.hVc(a.H);b=_.Uj(b,_.IO,2);d||(d=b.length!==_.Ra(h));b.forEach(function(k){var l=cgd(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.ak(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 GP=function(a){_.N.call(this);this.context=a;this.wy=new Set;this.Gp=6;this.NCa=!0;this.Oe=0;this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(GP,_.N);_.g=GP.prototype;_.g.$h=function(a){this.BRa(a);this.wy.add(a);this.resize(!0);this.tO(a)};_.g.BRa=function(){};_.g.hk=function(a){this.wy.delete(a);0!=this.wy.size||this.sZa()?this.resize(!1):this.dispose()};_.g.hf=function(){return this.Oe};_.g.jj=function(a){this.Oe=a};_.g.QB=function(a){this.NCa=!1;this.Gp=a};_.g.FJ=function(){return this.Gp};
_.g.refresh=function(){};_.g.tk=function(){};
var hgd=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)}}ggd(a.context.tf,d,b);d.forEach(function(k){lcd(a.context.SMa,k,b);if(k.Bc()){var l=k.getCapabilities();QO(k)?l&&(_.GWc(l,_.R(l,13)),_.DWc(l,!1),_.KWc(l,!1)):aO(k)?(l&&_.A(l,3,!1),_.A(k,30,!1)):l&&(_.OWc(l,!1),_.PWc(l,!1))}k.getCapabilities()||_.cN(k,
new _.Tk)})};GP.prototype.resize=function(){};GP.prototype.wd=function(){};GP.prototype.nl=function(a,b){var c=this,d=!1;a.forEach(function(e){e=aP(e);d=c.Hu(e,!0)||d});b||(1!=this.FJ()&&(d=!0),this.QB(1));d&&this.NX()};var igd=function(a,b){var c=!1;b.forEach(function(d){c=a.Hu(d)||c});c&&a.NX();return c};_.g=GP.prototype;_.g.update=function(a){return igd(this,[a])};_.g.Hu=function(){};_.g.NX=function(){var a=this;this.ARa();this.wy.forEach(function(b){a.tO(b)})};_.g.ARa=function(){};
_.g.tO=function(a){var b=jgd(this.context).Oka(a);this.EYa(b)||(b=this.tk(b),jgd(this.context).tO(a,b))};_.g.MX=function(a){var b=this;this.QB(3);this.wy.forEach(function(c){jgd(b.context).MX(c,a)})};_.g.hA=function(){var a=this;this.wy.forEach(function(b){jgd(a.context).hA(b)});this.jj(0==this.hf()?1:6)};_.g.sZa=function(){return!1};_.g.EYa=function(){return!1};
var kgd=function(a){_.gi.call(this,"Db");this.id=a};_.L(kgd,_.gi);
var lgd=function(a,b,c,d){d=void 0===d?!1:d;_.ri.call(this);this.request=a;this.context=b;this.fLa=d;this.ke=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.L(lgd,_.ri);
lgd.prototype.Xg=function(){var a=this;if(this.ke)return this.ke.promise;this.ke=_.Th();for(var b={},c=_.m(this.request.an().entries()),d=c.next();!d.done;b={Fra:b.Fra,Lea:b.Lea,sra:b.sra},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.sra=e;b.Fra=Q5c(P5c(d),this.request);b.Lea=void 0;this.fLa&&(b.Lea={fLa:!0});this.context.Pm().then(function(f){return function(h){return h.Se(f.Fra,f.Lea)}}(b)).then(function(f){return void mgd(a,f)},function(f){return function(h){var k=f.sra;h=
_.$A(h);5===h.Og.et()||4===h.Og.mk()?(a.context.Rf().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),ngd(a)):a.handleError(h)}}(b))}return this.ke.promise};var mgd=function(a,b){b.qd().Fd().forEach(function(c){_.WL(c,1);a.W.push(c)});ngd(a)},ngd=function(a){a.H||(a.H=_.n.setTimeout(a.ha.bind(a),10))};
lgd.prototype.ha=function(){_.n.clearTimeout(this.H);this.H=null;ogd(this);pgd(this);this.O.size===this.request.an().length?(this.context.tf.nl([],1,this.originalRequest,!1),this.dispatchEvent("Fb"),this.ke.resolve(this.items)):this.dispatchEvent("Cb")};
var ogd=function(a){var b=a.W;a.W=[];b=a.context.Mfa.c9(b);if(_.CL(_.DL(a.context.Oc))){var c=a.context.tf.um;_.Ka(b,function(d){var e=c.H(d.getId());e&&_.bN(d,e.lk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.tf.nl(b,1,a.originalRequest,!0)},pgd=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.XL(_.NL(new _.ML,c));a.context.tf.Qo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new kgd(c))})};
lgd.prototype.handleError=function(a){var b=new XO(a.Og,_.bk(this.context.Oc.Zf(),1,1));this.context.tf.mB(this.request,b);this.dispatchEvent(b);this.ke.reject(a)};
var qgd=function(a,b,c,d){GP.call(this,a);this.Ig=b;this.request=c;this.Nd={};this.H=null;this.O=_.SL(a.Oc)||new _.WUc;d&&this.nl(d,!0)};_.L(qgd,GP);
qgd.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Gp=6;if(_.S(this.request,5,!1))return this.QB(1),_.Ph();var b=!this.NCa&&_.S(this.O,3,!1)?!1:!G1c(_.oN(this.Ig),this.request.O()),c=[],d=this.context.Un();this.request.an().forEach(function(h){if("root"!==h&&h!==d){var k=a.Nd[h],l=k&&k.getItem();if(k=!k||l&&1!==bO(l)||b)l=l&&l.Nm(),k=!(l&&_.R(l,2));k&&c.push(h)}});if(0===c.length)return this.nl([],!1),_.Ph();this.H=_.Th();this.H.promise.then(function(){a.H=null},function(){a.H=
null});var e=this.request.clone();_.aA(e,c);var f=new lgd(e,this.context,this.request);this.context.Ij().Te()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Te()||(a.Mc.Yc(a.context.Ij(),"Ab"),rgd(a,f,a.H))}),this.Gp=0<Object.values(this.Nd).length?1:2):(this.context.qk().Te()&&(this.Gp=0<Object.values(this.Nd).length?1:2),rgd(this,f,this.H));return this.H.promise};var rgd=function(a,b,c){a.Mc.listen(b,"Db",function(d){a.Nd[d.id]=null});a.hA();b.Xg().then(function(){c.resolve()},c.reject)};
_.g=qgd.prototype;_.g.bia=function(a){var b=this;if(this.context.Fm.equals(a,this.request,!0)){if(G1c(_.oN(this.Ig),a.O()))return!0;if(G1c(this.request.O(),a.O(),_.oN(this.Ig))){if(this.NCa)return!0;if(_.S(this.O,5,!1)&&_.S(this.O,3,!1))return this.request.an().every(function(c){return(c=b.Nd[c])&&_.R(c.getItem(),31)})}}return!1};
_.g.tk=function(a){var b=new _.wN;_.IL(this.context.Oc)?b.Dc(T1c(Object.values(this.Nd))?6:this.Gp):b.Dc(this.Gp);b.jj(this.hf());d7c(b,_.Oa(this.Nd,function(c){return c?c.getItem():null}));hgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};_.g.Hu=function(a){var b=this.zs(a.O),c=this.zs(a.H);if(b||c)c?(this.Nd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Nd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.zs=function(a){return!!a&&_.ma(this.request.an(),a.getId())};
var sgd=function(a,b){_.gi.call(this,a);this.changes=b};_.L(sgd,_.gi);
var tgd=function(a){var b=new ubd;if(a.Uf()){var c=a.Uf();b.H=!1;b.suggestionSessionId=c}a instanceof _.xN&&_.Uj(a,_.Fk,6).length?(a=_.Uj(a,_.Fk,6),b.H=!1,b.V=a):a instanceof _.QA&&(a.j6()||a.Asa()||a.zka().length)&&(c=a.j6(),b.H=!1,b.W=c,c=a.Asa()||!1,b.H=!1,b.incompleteSearch=c,a=a.zka(),b.H=!1,b.O=a);return b};
var HP=function(a,b,c,d,e){e=void 0===e?"":e;_.ri.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.Rf();this.Ba=new Set;this.ma=c||!1;this.Ha=d||!1;this.Fa=this.qGa(b);this.ha=new ubd};_.L(HP,_.ri);var ugd=function(a){return!a.va||""!==a.nextPageToken},wgd=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&ugd(a)?vgd(a):_.Zh()};HP.prototype.$b=function(){return this.V.length};HP.prototype.H=function(){return this.V.slice()};
var vgd=function(a){var b=a.W-a.V.length+a.ka;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.Vh;d.addCallback(function(f){return void xgd(a,c,f)});var e=_.BVc(_.CVc(new _.JL,a.Fa),c);b=_.zVc(new _.vUc,b);a.Ha&&_.A(b,10,!0);_.AVc(e,b);a.va=!0;a.O=!0;a.context.Pm().then(function(f){return f.Se(e)}).then(a.oa.bind(a,d),a.handleError.bind(a,d,b));return d};
HP.prototype.oa=function(a,b){this.O=!1;if(b instanceof _.xN)var c=b;else c=b.qd(),this.nextPageToken=b.Sn()||"";this.ha=tgd(c);this.ha.wc()||this.dispatchEvent("Eb");a.callback(c.Fd())};
HP.prototype.handleError=function(a,b,c){c=_.$A(c);this.O=!1;if(5===c.Og.et())a.callback([]);else{if(10===c.Og.et()&&(_.zVc(b,Math.ceil(_.bk(b,1,1E3)/2-2E-15)),1<_.bk(b,1,1E3))){var d=_.AVc(_.BVc(_.CVc(new _.JL,this.Fa),this.nextPageToken),b);this.O=!0;this.context.Pm().then(function(e){return e.Se(d)}).then(this.oa.bind(this,a),this.handleError.bind(this,a,b));return}b=new XO(c.Og,_.bk(this.context.Oc.Zf(),1,1));this.PMa(b);this.dispatchEvent(b);a.Od(c)}};
var xgd=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: ")+(_.FYc(a.request)+" paginationToken: ")+b;b=_.bq(_.$p(_.PL(_.OL(new _.kc,2),9),f));a.context.dispatchEvent(new _.mc(new _.lc(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())_.WL(b.value,
a.ma?2:1);c=[];b=_.m(a.e2a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.NL(new _.ML,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new sgd("Cb",c));if(a.V.length<a.W&&a.nextPageToken)return vgd(a);a.dispatchEvent("Fb")};_.g=HP.prototype;_.g.e2a=function(a){return a};_.g.PMa=function(){};_.g.wd=function(){return this.request};_.g.qGa=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 ygd=function(a,b,c,d){HP.call(this,a,b,void 0,c,d)};_.L(ygd,HP);ygd.prototype.e2a=function(a){a=this.context.Mfa.c9(a);this.context.tf.nl(a,1,this.request,ugd(this));return a};ygd.prototype.PMa=function(a){this.context.tf.mB(this.request,a)};ygd.prototype.qGa=function(a){var b=a=HP.prototype.qGa.call(this,a),c=_.Gl(b);0===_.Md(b,33).length&&1===c.length&&(c=this.context.tf.um.H(c[0].Ya()))&&(c=c.Bc())&&(_.Il(b,[c]),_.Jl(b,2));zgd(this,a);return a};
var zgd=function(a,b){if(_.Gl(b).some(function(d){return(d=a.context.tf.um.H(d.Ya()))&&_.R(d,108)})){var c=b.we();c||(c=new _.lf,_.Hl(b,c));_.mf(c,937)}};
var Agd=function(a,b,c,d){this.context=a;this.Ig=b;this.W=d;this.coa=0;this.H=c},Egd=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.Jl(_.El(_.Il(new _.Ye,[b]),_.oN(a.Ig)),1),d=_.mf(new _.lf,306);_.Hl(c,d);Bgd(a);c=new ygd(a.context,c);wgd(c,5E3).addCallback(a.V.bind(a,c));Cgd(a);Dgd(a,b)}},Cgd=function(a){var b=_.Sa(a.H);b=b.filter(function(d){return d instanceof qgd});var c=new Set;b.forEach(function(d){d.wd().an().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.mf(new _.lf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.vO([].concat(_.jd(c)),b)},Dgd=function(a,b){var c=[];(a.context.tf.yGa.nQ[b||"subscribed"]||[]).forEach(function(d){_.Ma(a.H,function(e){_.ak(e.wd(),d)&&c.push(e)})});_.Fa(c);0<c.length&&(Bgd(a),c.forEach(function(d){d=TO(a.context.Fm,d.wd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.Uh(_.Sh(c.map(function(d){return d.refresh().Fg(_.Ef)})),a.O.bind(a)))};
Agd.prototype.vO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.ae(f)});if(0===a.length)return _.Ph({});a=_.A(_.$z(_.aA(new _.Zz,a),d||_.oN(this.Ig)),7,!0);_.bA(a,b);e&&e.length&&_.Nj(a,11,e);Bgd(this);b=new lgd(a,this.context,void 0,c);return _.Uh(b.Xg(),this.V.bind(this,b))};Agd.prototype.V=function(a){a.dispose();this.O()};var Bgd=function(a){a.coa++;a.context.Rs.setActive(!1)};Agd.prototype.O=function(){this.coa--;0===this.coa&&this.context.Rs.setActive(!0)};
Agd.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CacheRefresher",a)};
var Fgd=function(a,b,c){_.N.call(this);this.context=a;this.H=b;this.request=c;this.O=this.ke=null;a=new _.lf;_.nf(a,!1);_.mf(a,305);_.Hl(this.request,a);this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L(Fgd,_.N);
Fgd.prototype.Xg=function(){if(!this.ke){this.ke=_.Th();if(_.S(this.request,48,!1))return this.H.jj(9),this.ke.resolve(this.H),this.ke.promise;this.O=new HP(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.ke.reject.bind(this.ke));wgd(this.O,this.request.Li())}return this.ke.promise};Fgd.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(aP(new OO(b)))};
Fgd.prototype.V=function(){this.H instanceof eP?this.H.H=!ugd(this.O):ugd(this.O)&&dP(this.H,!1);this.H.jj(5);this.ke.resolve(this.H)};
var Hgd=function(a,b){_.gi.call(this,Ggd);this.cache=a;this.changes=b};_.L(Hgd,_.gi);var Ggd="Rb";
var Igd=function(a,b){return new _.Oh(function(c,d){b.then(function(e){var f={};a.by().forEach(function(h){var k=h.getId();Z1c(h.getItem());f[k]=new OO(h.getItem())});e.items.forEach(function(h){var k=h.Cc();k=f[k];h.rk()?k&&a.update(new oad(k.getId(),k,null)):(h=h.getItem(),Z1c(h),a.update(pad(k,new OO(h))))});a.eX();c(e.rLb)},d)})};
var Jgd=function(a,b){_.N.call(this);this.context=a;this.Ig=b};_.L(Jgd,_.N);
Jgd.prototype.Xg=function(a){this.log("Running initial view populator (IVDP).");try{var b=new MO(JSON.parse(a))}catch(q){this.handleError("Error parsing initial view dump.",_.bM(q));return}a=_.DL(this.context.Oc);if(!_.CL(a)){var c=b.Eh();if(c){var d=c.getUser();d&&d.getId()===_.E(a,6,"")&&agd(this.context.VP,c,4)}(a=b.Un())&&this.context.Du(a,6)}var e=_.B(b,3)||void 0;e&&Kgd(this.context,e,!0);if((a=_.Uj(b,_.hp,9))&&a.length){c=(c=this.context.Oc.Zf())&&_.Md(c,30)||[];var f=new Set(c);a.forEach(function(q){(q=
(q=q.getKey())&&_.ip(q))&&f.add(q)});this.context.eE.eQ(a,4,[].concat(_.jd(f.values())))}a=b.Fd();a.forEach(function(q){_.OVc(q);_.WL(q,6)});if(c=_.Uj(b,LO,5)[0])if(b=this.context.Fm,N1c(_.oN(this.Ig),c.getQuery().O(),_.hN(this.context.Oc)))if((d=c.getQuery().Ac())&&4===d.getType()&&!_.lSc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=SO(b,c.getQuery());var h=_.B(c,2)||void 0;d.wi(h);h=a.map(function(q){return new OO(q,void 0,1,e)});var k=_.C(c,_.Yk,
3);if(k&&_.B(c,2)){var l=h[h.length-1];_.WL(k,6);if(!_.ak(k,l.getItem())){this.handleError("Invalid last item in initial view data.");return}}c=(k=_.SL(this.context.Oc))&&_.S(k,2,!1)&&c.Sn()||"";var p=new eP(this.context.uu,this.context.xw,this.context.Fm,d,l,c);p.jj(4);h.forEach(function(q){p.update(aP(q))});Lgd(this.context.tf,p);l=p.wd();this.log("Imported "+a.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+TO(b,l));b=new _.JL;_.CVc(b,l);l=_.OZc(this.context.JA,
b,"IVDP");_.PZc(l,a);cP(this.context.Pj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+j$c(b,c.getQuery().O()));else this.handleError("No initial query found")};Jgd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));b=new _.lc(a,c,b);this.context.sJ(b.Og);this.log("Initial view dump population failed. Message: "+a);cP(this.context.Pj,"DEJoH")};Jgd.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var Mgd=function(a){_.ri.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new gP(a.uu,a.xw,a.Pj,function(){return a.Un()})};_.L(Mgd,_.ri);var Ngd=function(a,b){var c=_.bk(a.context.Oc,31,2E4);("number"===typeof _.B(b,3)?_.B(b,3):c+1)>c?(dP(a.O,!1),b="partialCorpus",a.log("Too many subscribed items; skipping subscribed cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.JA.Lb("CachedCorpusType",b)};
Mgd.prototype.log=function(a,b){this.context.Rf().log(this.W,a,b||"info")};var Ogd=function(a,b){0===a.V&&(a.V=b)};
var Pgd=function(a,b){var c;if(c=!!b&&!!b.eh())a=a.Bm(),c=null==a||!!b.eh().Bm()==a;return c};
var Qgd=function(a,b){_.ri.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.L(Qgd,_.ri);Qgd.prototype.Xg=function(){return this.H||this.O&&""===this.nextPageToken?_.Zh():Rgd(this)};Qgd.prototype.$b=function(){return this.V.length};
var Rgd=function(a){a.O=!0;a.H=!0;var b=h5c(i5c(new _.SM,a.request),a.nextPageToken),c=_.OZc(a.context.JA,b);return _.$h(a.context.Pm().then(function(d){return d.Se(b)}).then(function(d){var e=d.qd().Fd();a.nextPageToken=d.Sn()||"";Sgd(a,c,e)},function(d){return void a.handleError(d)}))},Sgd=function(a,b,c){_.PZc(b,c);for(b=0;b<c.length;b++)_.WL(c[b],1);a.context.tf.nl(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ka(c,function(e){this.V.push(e.getId());e=_.NL(new _.ML,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new sgd("Cb",d));a.nextPageToken?Rgd(a):(a.H=!1,a.dispatchEvent("Fb"))};Qgd.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.Zf(),1,1));this.dispatchEvent(a)};Qgd.prototype.wd=function(){return this.request};
var Tgd=function(a){this.H=_.mSc(a,{numeric:!0})};Tgd.prototype.sort=function(a){_.Ia(a,this.compare.bind(this))};Tgd.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ga(a.getId(),b.getId()):c};
var Ugd=function(a,b,c,d){d=void 0===d?!1:d;GP.call(this,a);this.Ig=b;this.Nd=[];this.ke=null;this.request=c.clone();this.vv=new Qgd(a,this.request);this.eQb=new Tgd(mO(_.DL(a.Oc)));this.JW=null!=_.R(this.request,6);_.we(this,this.qnb,this);d&&(this.ke=_.Th(),this.ke.resolve())};_.L(Ugd,GP);_.g=Ugd.prototype;_.g.refresh=function(){3===this.Gp&&(this.Gp=6,this.ke=null);return this.Eca()};_.g.isInitialized=function(){return!!this.ke};
_.g.Eca=function(){var a=this;if(this.isInitialized())return this.ke.promise;this.ke=_.Th();this.context.Ij().Te()?this.Mc.listen(this.context.Ij(),"Ab",function(b){b.Te()||(a.Mc.Yc(a.context.Ij(),"Ab"),a.hA(),a.vv.Xg().Sf(a.ke.resolve,a.ke.reject,a.ke))}):this.context.qk().Te()?this.Mc.od(this.context.qk(),[_.aB.xL,_.aB.pU],function(){a.hA();a.vv.Xg().Sf(a.ke.resolve,a.ke.reject,a.ke)}):(this.hA(),this.vv.Xg().Sf(this.ke.resolve,this.ke.reject,this.ke));return this.ke.promise};_.g.resize=function(){};
_.g.wd=function(){return this.request};_.g.by=function(){return this.Nd};_.g.bia=function(a){return this.context.Fm.equals(a,this.request)};_.g.tk=function(a){a=a.Li();this.eQb.sort(this.Nd);var b=A2c(_.Aa(this.Nd,0,Math.min(a,this.Nd.length)));hgd(this,F5c(this.Ig),b);var c=new _.QA;c.Ow(b);c.Dc(this.Xwa(a));c.jj(this.hf());J4c(c,a<this.Nd.length||!(this.context.Ij().Te()||this.context.qk().Te())&&1!==this.Gp);return c};
_.g.Xwa=function(a){return 1===this.Gp||a<=this.Nd.length?1:this.context.Ij().Te()||this.context.qk().Te()?0<this.Nd.length?1:2:6};_.g.nl=function(a,b){this.isInitialized()&&GP.prototype.nl.call(this,a,b)};_.g.Hu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.ka(this.Nd,function(h){return h.getId()===c}),e=!!d;b=this.zs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.OKa(f,a.H):this.oJ(f):this.rR(a.H);else return!1;return!0};_.g.rR=function(a){this.Nd.push(a);a.count++};
_.g.oJ=function(a){_.va(this.Nd,a);a.count--};_.g.aza=function(a){return _.la(this.Nd,a)};_.g.OKa=function(a,b){this.Nd[this.aza(a)]=b;b.count++;a.count--};_.g.zs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.JW&&null!=_.R(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Nd.find(function(d){return c===d.getId()},this);a=QO(a.getItem())&&Pgd(this.request,a.getItem());return b&&a}return QO(a.getItem())&&Pgd(this.request,a.getItem())};_.g.qnb=function(){this.Nd.forEach(function(a){a.count--})};
_.g.sZa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ld=function(){return this.Nd.length};_.g.eX=function(){this.Gp=1};
var Vgd=function(a){this.H=a},Wgd=function(a,b,c,d,e){if(0===e||null===b){var f=new xed;_.A(f,2,b);_.A(f,1,d);return _.Ph(f)}var h=D$c();_.A(h,2,b);c&&_.A(h,3,c);return a.H.then(function(k){return k.Se(h)}).then(function(k){var l,p=null!==(l=k.ky())&&void 0!==l?l:null;k=d+_.B(k,1);return Wgd(a,p,c,k,e-1)})};
var Xgd=function(a,b){Mgd.call(this,a);this.Ig=b;this.ha=void 0;this.ka=null;this.ma=!1;this.xD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator";this.H=a.Oc};_.L(Xgd,Mgd);Xgd.prototype.handleError=function(){this.log("Local dump population failed.");cP(this.context.Pj,"mrK8ic")};
Xgd.prototype.Xg=function(){var a=this;if(this.ka)return this.ka;if(this.context.uQ){var b=new _.Vh;this.ka=b;this.initialize().then(function(){var c=_.Uj(_.nO(a.H),lO,11);c=c[0]&&c[0].getKey()||"";return Ygd(a,a.context.uQ,c,4)}).Fg(function(c){if(_.S(a.H,8,!0))return Zgd(a);throw c;}).then(function(){_.IL(a.H)||a.context.tf.vq.H.clear();cP(a.context.Pj,"zaOY7");b.callback()},function(c){Ogd(a,8);a.handleError();b.Od(c)});return b}this.handleError();return _.ai(Error("cg"))};
Xgd.prototype.initialize=function(){var a=this;return this.context.uQ.initialize().then(function(){if(!_.iN(a.H)){var b=_.bk(_.nO(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Oh(function(c,d){Gdd(a.context.rD).then(function(e){e?c():d(Error("dg"))})})}})};
var Ygd=function(a,b,c,d){var e=a.ha;$gd(a,b,c,e);ahd(a,b,c,e);bhd(a,b,c,e);return chd(a,b,c,e).then(function(){return Promise.all([dhd(a,b,c,d,e),ehd(a,b,c,d,e),fhd(a,b,c,d,e),ghd(a,b,c,d,e)])})},$gd=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};nP(b,c,0,void 0,d,a.xD).then(function(f){f[0]?agd(a.context.VP,f[0],a.hf(),_.iN(a.H)):e()},function(){return e()})},ahd=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};nP(b,
c,1,void 0,d,a.xD).then(function(f){f[0]?a.context.c_.eQ(f[0],a.hf(),_.iN(a.H)):e()},function(){return e()})},bhd=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};nP(b,c,5,void 0,d,a.xD).then(function(f){if(f[0]){f=f[0];var h=_.Uj(f,_.hp,1);h.length&&a.context.eE.eQ(h,a.hf(),_.Md(f,2),_.iN(a.H))}else e()},function(){return e()})},dhd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,1,e,a.xD).then(function(h){return hhd(a,h[0])}).then(function(h){if(h){b!==a.context.uQ||
N1c(_.Md(h,12),_.oN(a.Ig),_.hN(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Rs.gS());var k=_.B(h,3);if(!k||0>k)throw Error("gg");a.context.Du(h.Un(),d);k=_.B(h,3);"number"===typeof k&&Kgd(a.context,Number(k));_.iN(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.dEa());a.nl(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},ehd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,2,e,a.xD).then(function(h){h[0]?
(a.nl(h[0],d),f.resolve()):f.reject(Error("eg"))},f.reject,f);return f.promise},fhd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,4,e,a.xD).then(function(h){h.forEach(function(k){a.nl(k,d)});f.resolve()},f.reject,f);return f.promise},ghd=function(a,b,c,d,e){var f=new _.yn;nP(b,c,3,3,e,a.xD).then(function(h){h.length?h.forEach(function(k){a.nl(k,d)}):cP(a.context.Pj,"rVezo");f.resolve()},f.reject,f);return f.promise},chd=function(a,b,c,d){var e=new _.yn;nP(b,c,6,void 0,d,a.xD).then(function(f){f=_.m(f);
for(var h=f.next();!h.done;h=f.next())h=h.value,_.Uj(h,ZO,1).length&&(a.log("Importing "+_.Uj(h,ZO,1).length+" people into the PeopleCache."),h=_.Uj(h,ZO,1),Tad(a.context.tf.vq.H,h,2));e.resolve()},e.reject,e);return e.promise},hhd=function(a,b){var c=_.B(b,3);if(c&&!_.iN(a.H)){var d=new Vgd(a.context.Pm()),e=_.bk(_.nO(a.context.Oc),13,5);return Wgd(d,c,null,0,e).then(function(f){return _.P(f,2)?(a.log("Encrypted dump too stale."),a.context.Rk().O(106007),Ogd(a,9),null):b},function(){return b})}return _.Ph(b)},
Zgd=function(a){var b=oP(a.context.FL.Ci()),c=_.Uj(_.nO(a.H),lO,11).filter(function(d){return d.us()});return ydd(_.gN(_.DL(a.H)),_.hN(a.H),_.bk(_.nO(a.H),10,0)||0,_.oN(a.Ig),a.ha||0,c.map(function(d){return _.B(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V===_.B(k,1)}),f=new pP(_.Ph(d),a.context.Rf(),null,!0),h=new xcd(f,a.H,function(k){a.context.sJ(k)});h.initialize();a.ma=!0;return Ygd(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([Ddd])}).then(function(k){if(k[0])return k=
k[0].Ya(),a.context.rD.set(Ddd,k)}).then(function(){f.close()})}return _.Rh(Error("fg"))})},lhd=function(a,b,c){switch(b.uo()){case 1:return ihd(a,b,c);case 2:b=_.C(b,M2c,11);if(!b)throw Error("hg");Ngd(a,b);a.O.gK?(a.O.jj(a.hf()),a=[{cache:a.O,changes:lP(a.context.nz,null)}]):a=[];return a;case 3:return jhd(a,b);case 4:return khd(a,b);default:return null}},ihd=function(a,b,c){var d=[];_.Uj(b,LO,5).forEach(function(e){var f=void 0,h=_.C(e,_.Yk,3);h&&(_.OVc(h),_.R(a.H,67)&&B1c(h,Q1c),_.WL(h,c),f=new OO(h));
var k=e.getQuery();if(!_.S(k,48,!1)||_.Uj(a.H,_.Ye,44).some(function(l){if(!_.S(l,48,!1))return!1;l=SO(a.context.Fm,l,!0);return _.ak(l,k)}))e=new eP(a.context.uu,a.context.xw,a.context.Fm,k,f),e.jj(a.hf()),d.push({cache:e,changes:lP(a.context.nz,null)})});return d},khd=function(a,b){return _.Uj(b,LO,5).map(function(c){c=new Ugd(a.context,a.Ig,_.C(c,_.wL,5),!0);c.jj(a.hf());return{cache:c,changes:lP(a.context.nz,null)}})},jhd=function(a,b){var c=_.Md(_.Uj(b,LO,5)[0].getQuery(),33)[0],d=_.B(b,3)||
void 0;b=lP(a.context.nz,c);IP(a.context).addCallback(function(f){f.Cva(c,d)});var e=new hP(a.context.uu,a.context.xw,c);e.jj(a.hf());return[{cache:e,changes:b}]};
Xgd.prototype.nl=function(a,b){var c=this,d=lhd(this,a,b);d&&0!==d.length?(a.Fd().forEach(function(e){_.OVc(e);_.R(c.H,67)&&B1c(e,Q1c);_.WL(e,b);if(!_.IL(c.H)&&!c.context.tf.vq.H.wc()){var f=c.context.tf.vq;mbd(f,fbd(f,[e]))}e=new OO(e);for(f=0;f<d.length;f++)d[f].cache.update(aP(e))}),d.forEach(function(e){var f=e.cache;c.dispatchEvent(new Hgd(f,e.changes));c.log("Imported "+f.Ld()+" items into the "+f.getType());var h=null;f instanceof hP&&(h=f.Bc());c.context.gaa.promise.then(function(){Ubd(c.context.nz,
h)})}),1===a.uo()&&cP(this.context.Pj,"ZA9qG")):this.log("Ignoring corpus cache for "+a.uo()+".")};Xgd.prototype.hf=function(){return this.ma?7:3};
var mhd=function(a){_.N.call(this);this.context=a};_.L(mhd,_.N);mhd.prototype.Xg=function(a){try{nhd(this,new qed(JSON.parse(a)))}catch(b){this.handleError("Error parsing prefetched request.",b)}};
var nhd=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:ohd(a,b);break;case 4:phd(a,b);break;case 6:qhd(a,b);break;case 2:rhd(a,b);break;case 7:shd(a,b);break;case 5:_.Uj(_.C(b,sed,7),qed,1).forEach(function(c){nhd(a,c)});break;default:a.handleError("Unsupported prefetched request.")}},ohd=function(a,b){var c=_.C(b,_.Ye,2);b=JSON.parse(_.B(b,3)||"{}");var d=new _.JL;_.CVc(d,c);b=a.context.YQ().Ssa.BE(d,{headers:{},text:"",json:b}).qd();
thd(a,c,b)},qhd=function(a,b){thd(a,_.C(b,_.Ye,2),_.C(b,_.QA,9))},thd=function(a,b,c){for(var d=c.Fd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.WL(f.value,7);c=tgd(c);a=a.context.tf;b=SO(a.context.Fm,b);e=JP(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.O[e];f||(f=new KP(a.context,b),f.jj(2),a.O[e]=f);c.wc()||f.Rsa(c);a.nl(d,1,b)},rhd=function(a,b){b=_.C(b,_.sz,5);var c=a.context.Oc.Zf();c=c&&_.Md(c,30)||[];var d=new Set(c);_.Uj(b,_.hp,3).forEach(function(e){(e=(e=e.getKey())&&
_.ip(e))&&d.add(e)});a.context.eE.eQ(_.Uj(b,_.hp,3),2,[].concat(_.jd(d.values())))},phd=function(a,b){a.context.Nfa.R2(_.C(b,$O,8).kl(),_.C(b,_.Jz,6),2,!1)},shd=function(a,b){var c=_.C(b,_.IF,10);b=JSON.parse(_.B(b,3)||"{}");b=a.context.YQ().Ssa.BE(c,{headers:{},text:"",json:b});Lfd(a.context).R2([b],c,2,!1)};mhd.prototype.handleError=function(a,b){var c=b?void 0:_.bq(_.PL(_.OL(new _.kc,2),6));this.context.dispatchEvent(new _.mc(new _.lc(a,c,b)));this.log("Prefetched request population failed.")};
mhd.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var LP=function(a){Mgd.call(this,a);this.H=[];this.ha=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.ma=Math.ceil(1.1*_.bk(a.Oc,31,2E4))};_.L(LP,Mgd);LP.prototype.Xg=function(){if(!_.S(this.context.Oc,45,!1))return Ogd(this,5),this.handleError(),_.ai(Error("ig"));this.log("Drive SDK cache population initiated.");return this.context.NVa().addCallback(this.va,this).addCallback(this.oa,this).Gg(this.handleError,this)};
LP.prototype.va=function(){var a=this;cP(this.context.Pj,"L6uQWd");IP(this.context).addCallback(function(b){b.hea()});if(_.S(this.context.Oc,46,!1))return L2c(this.context.Pm(),this.context.Rf()).addCallback(function(b){if(!b)throw Ogd(a,4),Error("jg");Ngd(a,b)});this.log("Subscribed corpus cache population disabled.");dP(this.O,!1);return _.Zh()};
LP.prototype.oa=function(){this.context.dEa();var a=new _.Vh;if(this.O.gK){this.log("Starting subscribed corpus cache population.");var b=this.O.wd();b.wi(this.ma);this.O.jj(5);uhd(this,this.O,b)}b=_.Uj(this.context.Oc,_.Ye,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new eP(this.context.uu,this.context.xw,this.context.Fm,c.value),c.jj(5),uhd(this,c,c.wd()),c=TO(this.context.Fm,c.wd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Sh(this.ha).then(a.callback,this.ka.bind(this,
a),a);return a};var uhd=function(a,b,c){var d=lP(a.context.nz,null);b=new Fgd(a.context,b,c);a.H.push(b);b=_.Uh(b.Xg().then(function(e){!e.gK&&e instanceof gP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.JA.Lb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new Hgd(e,d))}),function(){a.context.gaa.promise.then(function(){Ubd(a.context.nz,null)})});a.ha.push(b)};
LP.prototype.ka=function(a,b){for(var c=_.m(this.H),d=c.next();!d.done;d=c.next())d.value.dispose();Ogd(this,7);c=b;b instanceof XO?c=_.bM(b.error):_.HL(b)||(c=Error("kg`"+b));a.Od(c)};LP.prototype.handleError=function(){this.log("Drive SDK cache population failed.");cP(this.context.Pj,"Gv4zef")};LP.prototype.hf=function(){return 5};
var vhd=function(a,b){_.N.call(this);this.context=a;this.V=b;this.Mc=new _.Ee(this);this.impression=null;this.W=[];this.Ma(this.Mc);this.H=new Xgd(this.context,this.context.Ig);this.Ma(this.H);this.O=new LP(this.context);this.Ma(this.O)};_.L(vhd,_.N);
vhd.prototype.Xg=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.Rk().H(106002);_.n._DRIVE_dsp&&whd(this);_.n._DRIVE_dspc=function(c){whd(a,c)};lP(this.context.nz,null);_.S(this.context.Oc,24,!1)&&!_.iN(this.context.Oc)&&(_.n._DRIVE_ivd||null===_.n._DRIVE_ivd?xhd(this):_.n._DRIVE_ivdc=function(){xhd(a)});var b=this.context.uQ;if(b)return this.Mc.listen(this.H,Ggd,this.ha),this.Mc.listen(this.O,Ggd,this.ha),(!_.S(this.context.Oc,10,!1)&&_.R(this.context.Oc,
69)?this.context.BX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.xD=a.impression);return a.H.Xg().Sf(function(){return yhd(a,a.H.hf())},function(){zhd(a,a.H.hf(),a.H.V);return _.iN(a.context.Oc)?a.handleError(Error("lg")):a.O.Xg().then(function(){return yhd(a,a.O.hf())},function(c){zhd(a,a.O.hf(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.HL(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var whd=function(a,b){var c=new mhd(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.Xg(d)});c.dispose()};vhd.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(Ahd(this,b,a.changes))};
var yhd=function(a,b){Ubd(a.context.nz,null);cP(a.context.Pj,"L6uQWd");IP(a.context).addCallback(function(c){c.hea()});return Promise.all(a.W).then(function(){Bhd(a,b)})},Bhd=function(a,b){if(!a.isDisposed()){_.iN(a.context.Oc)||Chd(a.V,_.Uj(a.context.Oc,_.Ye,44));a.log("Corpus cache population complete.");var c=a.context.Pj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Rs.eEa():Gdd(a.context.rD).then(function(d){d&&a.context.Rs.eEa()},function(){});cP(c,"rVezo");cP(c,"BNEDtc");a.impression&&(b=_.vN(_.KUc,
b),z5c(H5c(a.impression),b),y5c(H5c(a.impression),!0),A5c(H5c(a.impression),Z9c(a.V.um)),B5c(H5c(a.impression),a.context.tf.uo()),a.impression.Yj());a.dispose()}},zhd=function(a,b,c){a.impression&&(b=_.vN(_.KUc,b),z5c(H5c(a.impression),b),a=H5c(a.impression),_.Sj(a,3,c,void 0))};
vhd.prototype.handleError=function(a,b){b=void 0===b?!1:b;Ubd(this.context.nz,null);var c=this.context.Pj;cP(c,"L6uQWd");IP(this.context).addCallback(function(d){d.hea()});cP(c,"mrK8ic");cP(c,"Gv4zef");cP(c,"rVezo");cP(c,"BNEDtc");this.context.JA.Lb("CachedCorpusType","partialCorpus");c=!!this.H.context.uQ||_.S(this.O.context.Oc,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.HL(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.lc(b,void 0,c),c=a.Og,_.OL(c,_.iN(this.context.Oc)?3:
1),_.PL(c,6),_.$p(c,b),_.bq(c),this.context.dispatchEvent(new _.mc(a))):this.log("Corpus population skipped");this.impression&&(y5c(H5c(this.impression),!1),this.impression.Yj());this.dispose()};
var Ahd=function(a,b,c){return Igd(b,c).then(function(d){d.some(function(e){return b instanceof hP&&e.rk()&&e.Cc()===b.Bc()})||Lgd(a.V,b,d)},function(){return a.handleError(Error("mg"))})},xhd=function(a){if(_.n._DRIVE_ivd){var b=new Jgd(a.context,a.context.Ig);a.Ma(b);b.Xg(_.n._DRIVE_ivd)}else cP(a.context.Pj,"DEJoH")};vhd.prototype.log=function(a){this.context.Rf().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var Dhd=function(){fP.apply(this,arguments)};_.L(Dhd,fP);Dhd.prototype.zs=function(a){var b;if(b=fP.prototype.zs.call(this,a))a=a&&a.getItem()&&a.getItem().Nm(),b=!(!a||!_.R(a,3));return b};Dhd.prototype.wd=function(){};Dhd.prototype.getType=function(){};Dhd.prototype.IN=function(){};
var Ehd=function(a,b){this.context=a;this.H=b;this.nQ={}},Ghd=function(a,b){if(!_.zM(b)){var c=_.Md(b,33);if(1===c.length)Fhd(a,c[0],b);else{c=_.Gl(b);if(1===c.length&&!_.S(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.tf.xI;var e=_.mf(new _.lf,310);c.vO([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.he(h)&&(f=f.Bc(),Fhd(a,f,b))}else Fhd(a,null,b)});return}if(c.getItem().Bc()&&_.he(c.getItem().getCapabilities())){c=c.getItem().Bc();Fhd(a,c,b);return}}Fhd(a,
null,b)}}},Fhd=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!QO(d.getItem()))return}d=b||"subscribed";a.nQ[d]||(a.nQ[d]=[]);a.nQ[d].push(c);b&&(IP(a.context).addCallback(function(e){e.Cva(b)}),Hhd(a.context.QJa,b))},Ihd=function(a,b){if(!_.zM(b)){var c={},d;for(d in a.nQ){c.BT=d;for(var e=0;e<a.nQ[c.BT].length;e++)if(_.ak(b,a.nQ[c.BT][e])){_.ta(a.nQ[c.BT],e);"subscribed"!==c.BT&&IP(a.context).addCallback(function(f){return function(h){h.aHa(f.BT,!1)}}(c));return}c={BT:c.BT}}}};
var Jhd=function(){this.H=new Map;this.O=[];this.V=[]};
Jhd.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();$N(e)&&(a?(e=a.getItem().Of())&&_.B(e,1)&&(1===_.Sd(e)||3===_.Sd(e))&&(e=_.B(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.ak(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var Khd=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},Lhd=function(a){a.O=[];a.V=[]};
var Mhd=function(a,b){mP.call(this,a.clone(),b.Pm(),b.Oc,b.Rf());this.context=b};_.L(Mhd,mP);Mhd.prototype.W=function(a){var b=new Map;a.an().forEach(function(c){var d=_.LTb(a.clone(),[c]);b.set(c,d)});return b};Mhd.prototype.V=function(a){a=a.Fd()[0];this.context.tf.nl([a],1,void 0,!0,this.request.O())};Mhd.prototype.ha=function(a){this.context.tf.nl([],1,a,!1,this.request.O())};Mhd.prototype.ka=function(a){a=_.XL(_.NL(new _.ML,a));this.context.tf.Qo([a])};
var Nhd=function(a,b,c,d){GP.call(this,a);this.Ig=b;this.request=c;this.Nd={};d&&this.nl(d,!0)};_.L(Nhd,GP);_.g=Nhd.prototype;
_.g.refresh=function(){var a=this;this.Gp=6;var b=PO(this.context.Oc)!==PO(this.context.Oc,this.request.O()),c=[];this.request.an().forEach(function(h){var k=a.Nd[h];k&&k.getItem().eh()&&!b||c.push(h)});if(0===c.length)return this.nl([],!1),_.Ph();var d=this.request.clone();_.LTb(d,c);var e=new Mhd(d,this.context),f=_.Th();this.context.Ij().Te()?(this.Mc.listen(this.context.Ij(),"Ab",function(h){h.Te()||(a.Mc.Yc(a.context.Ij(),"Ab"),a.hA(),e.Xg().then(f.resolve,f.reject,f))}),this.Gp=0<_.Ra(this.Nd)?
1:2):(this.context.qk().Te()&&(this.Gp=0<_.Ra(this.Nd)?1:2),this.hA(),e.Xg().then(f.resolve,f.reject,f));return f.promise};_.g.bia=function(a){return this.context.Fm.equals(a,this.request)&&G1c(_.oN(this.Ig),a.O())};_.g.tk=function(a){var b=new _.wN;b.Dc(this.Gp);b.jj(this.hf());d7c(b,_.Oa(this.Nd,function(c){return c?c.getItem():null}));hgd(this,a.O(),b.map);return b};_.g.resize=function(){};_.g.wd=function(){return this.request};
_.g.Hu=function(a){var b=this.zs(a.O),c=this.zs(a.H);if(b||c)c?(this.Nd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Nd[a.id]=null,a.O.count--);else return!1;return!0};_.g.zs=function(a){return!!a&&this.request.an().includes(a.getId())};
var KP=function(a,b,c,d,e){GP.call(this,a);var f=this;this.V=0;this.Nd=[];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.vv=new ygd(this.context,this.request,!1,e);b=this.request.Ac()&&a$c(this.request.Ac());var h=this.context.xw;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.JW=!b||!T9c(this.request)||_.CL(_.DL(a.Oc));this.Fa=yad(this.request);
c&&this.nl(c,!d);this.va=_.bk(a.Oc.Zf(),16,36E5);_.WM(this.request)&&this.Mc.listen(this.context.rha,"Hb",this.Ha);_.we(this,function(){_.aa(f.vv);f.clear()})};_.L(KP,GP);KP.prototype.refresh=function(){return Ohd(this,!1)};var Ohd=function(a,b){a.Gp=6;if(_.S(a.request,48,!1))return a.Gp=1,_.Ph();if(_.WM(a.request)){var c=Phd,d=a.context.rha.H;d=Math.max(Date.now()-d,a.va);c(a,Math.min(d,2592E5))}return Qhd(a,b)};
KP.prototype.initialize=function(){return this.count>=this.request.Li()||1===this.Gp?_.Ph():this.refresh()};KP.prototype.clear=function(){Rhd(this)};var Rhd=function(a){a.Nd.forEach(function(b){b.count--});a.count=0;a.Nd=[];a.O.clear()},Phd=function(a,b){_.n.clearTimeout(a.Ba);a.Ba=_.n.setTimeout(function(){return Ohd(a,!0)},b)};KP.prototype.Ha=function(){Date.now()-this.oa>this.va&&Phd(this,0)};
var Qhd=function(a,b){a.vv&&(a.Mc.Yc(a.vv,"Eb",a.Rsa),a.Mc.Yc(a.vv,"Fb",a.QMa),a.vv.dispose());var c=a.request.we();c&&_.nf(c,!1);a.vv=new ygd(a.context,a.request,b);a.V=0;a.Mc.listen(a.vv,"Eb",function(){return a.Rsa(a.vv.ha)});a.Mc.listen(a.vv,"Fb",a.QMa);return a.Eca()};
KP.prototype.Eca=function(){var a=this,b=_.Th();this.context.Ij().Te()?this.Mc.listen(this.context.Ij(),"Ab",function(c){c.Te()||(a.Mc.Yc(a.context.Ij(),"Ab"),Shd(a,b))}):this.context.qk().Te()?this.Mc.od(this.context.qk(),[_.aB.xL,_.aB.pU],function(){Shd(a,b)}):Shd(this,b);return b.promise};var Shd=function(a,b){a.hA();var c=a.request.Li()+a.V;_.Zja(wgd(a.vv,c).Sf(b.resolve,b.reject,b),function(){return a.oa=Date.now()})};_.g=KP.prototype;
_.g.resize=function(a){var b=0;for(var c=_.m(new Set([].concat(_.jd(this.wy)))),d=c.next();!d.done;d=c.next())d=d.value,d=jgd(this.context).Oka(d),b=Math.max(b,d.Li());_.WM(this.request)?(this.request.wi(b),2!==this.hf()&&!this.vv.O&&(b>this.count||a)?this.refresh():this.xJ()):this.request.Li()!==b&&(this.request.wi(b),b>this.count?this.Eca():this.xJ())};_.g.wd=function(){return this.request};_.g.bia=function(a){return this.context.Fm.equals(a,this.request)};
_.g.tk=function(a){var b=a.Li(),c,d=!1;if(_.AM(this.request)){var e=this.Nd.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=_.bl(k.getItem()).filter(function(l){return h.includes(_.C(l,_.Fk,1).getId())});k=k.clone();K1c(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.bl(l.getItem()).length})}d=T1c(e);c=new _.xN;_.A(c,4,!1);b6c(c,f)}else e=this.Nd.slice(0,b),c=new _.QA,J4c(c,b<this.Nd.length||!(this.context.Ij().Te()||
this.context.qk().Te())&&1!==this.Gp),_.J(c,7,this.ka),_.A(c,8,this.incompleteSearch),_.Kj(c,18,this.ha),d=T1c(e);e=A2c(e);hgd(this,a.O(),e);c.Ow(e);c.Dc(d?6:this.Xwa(b));c.jj(this.hf());c.AP(this.suggestionSessionId);return c};_.g.Xwa=function(a){return 1===this.Gp||a<=this.count?1:this.context.Ij().Te()||this.context.qk().Te()?0<this.Nd.length?1:2:6};_.g.Rsa=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.CAa();this.W=a.V;this.suggestionSessionId=a.Uf()};
_.g.QMa=function(){var a=this.request.Li()-this.count;0<a&&ugd(this.vv)&&(this.V+=a,this.Eca())};_.g.nl=function(a,b){_.WM(this.request)&&Rhd(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=aP(d.value),c=this.Hu(d,!0)||c;b||(1!==this.Gp&&(c=!0),this.Gp=1);if(a=this.H){a:{a=this.Nd;d=this.H||_.Ga;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.Gn("ViewCache unsorted after import"),this.context.xw.sort(this.request,this.Nd));c&&(this.NX(),Thd(this,b))};
var Thd=function(a,b){_.Gl(a.request).length&&a.Nd.length&&a.context.b_.then(function(c){var d=N5c(a.context.Rk(),106024,a.ma);if(d){var e=_.Gl(a.request)[0].Ya(),f=_.C(_.uN(d),u5c,18);if(!f){f=new u5c;var h=_.uN(d);_.J(h,18,f)}f=_.A(f,1,!b);c=_.A(f,2,c===e).Bt(a.Nd.length);e=a.context.tf.uo();_.A(c,4,e);a.ma=d;d.Yj()}})};_.g=KP.prototype;
_.g.Hu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.zs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.Gn("Updating different wrapper from the existing one"):this.Gn("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.OKa(f,a.H):(this.oJ(f),_.WM(this.request)&&Phd(this,0));else{if(_.WM(this.request)&&!b)return!1;this.rR(a.H)}else return!1;return!0};_.g.rR=function(a){this.H?w1c(this.Nd,a,this.H):this.Nd.push(a);a.count++;Uhd(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.oJ=function(a){if(this.H){var b=this.Nd,c=_.Ha(b,a,this.H);0<=c&&_.ta(b,c)}else _.va(this.Nd,a);a.count--;Uhd(a)&&this.count--;this.O.delete(a.getId())};_.g.aza=function(a){return this.H?_.Ha(this.Nd,a,this.H):_.la(this.Nd,a)};_.g.OKa=function(a,b){this.H&&0!==this.H(a,b)?(this.oJ(a),this.rR(b)):(this.Nd[this.aza(a)]=b,b.count++,Uhd(b)&&this.count++,a.count--,Uhd(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.zs=function(a,b){if(!a)return!1;if(this.JW&&!_.WM(this.request)){if(b)return!0;if(!this.Fa){var c=a.getId();b=!!this.Nd.find(function(e){return c===e.getId()},this);a=RO(this.context.uu,this.request,a.getItem());return b&&a}}if(!RO(this.context.uu,this.request,a.getItem()))return!1;var d=1.2*this.request.Li();if(1===this.Gp||!this.H||C9c(a.H,2)||this.count<d||b||$1c(a.getItem()))return!0;b=0===this.Nd.length?null:this.Nd[this.Nd.length-1];return!!b&&0>=this.H(a,b)};
_.g.xJ=function(){if(1!==this.Gp&&!this.context.Ij().Te()&&!this.context.qk().Te()){var a=1.2*this.request.Li();if(!(a>=this.count||this.vv&&a>=this.vv.$b())){a=this.count-this.request.Li();for(var b=this.Nd.length-1;0<=b&&0<a;b--){var c=this.Nd[b];C9c(c.H,2)||$1c(c.getItem())||(c.count--,Uhd(c)&&this.count--,this.O.delete(c.getId()),_.ta(this.Nd,b),a--)}Qhd(this,!1)}}};_.g.Gn=function(a){var b=new _.kc;_.OL(b,2);_.PL(b,6);_.bq(b);this.context.dispatchEvent(new _.mc(new _.lc(a,b)))};
var Uhd=function(a){return!C9c(a.H,2)&&3!==bO(a.getItem())};KP.prototype.BRa=function(a){var b=this,c=_.Gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.tf.um.H(d.Ya()))&&_.R(d,108)}),Q$c(this.context.Kfa,a,c))};KP.prototype.ARa=function(){this.xJ()};KP.prototype.EYa=function(a){return 1!==this.Gp&&a.Li()>this.count&&this.vv.O};
var MP=function(a,b){var c;_.N.call(this);var d=this;this.O={};this.W=new Jhd;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.context=a;this.Ig=b;this.Tu=new Fad(a.Fm,a.Rf());if(null===(c=_.SL(this.context.Oc))||void 0===c?0:_.S(c,15,!1)){var e=new uad(a.uu,a.xw);this.Tu.add(e);a.Lfa.promise.then(function(){var f,h;dP(e,!(null===(h=null===(f=d.Tu)||void 0===f?void 0:f.H)||void 0===h?0:h.gK))})}this.H=new S9c(a.b_,a.uu,a.xw);_.R(a.Oc,60)&&(this.va=new Dhd(a.uu,a.xw));this.V=new N9c(a.Rf(),_.oN(this.Ig));
Vhd(this,_.Md(this.context.Oc,28));this.um=new V9c(this.Ig,this.context.Fm,this.H,this.V);this.context.Rk().W.H=this.um;this.xI=new Agd(this.context,this.Ig,this.O,this.H);this.yGa=new Ehd(this.context,this.H);this.ka=new vhd(this.context,this);_.we(this.ka,function(){d.ka=null});this.oa=_.KVc(_.oN(this.Ig),Whd);bP(this.context.Pj,["NSockf"],function(){return d.initialize()});bP(this.context.Pj,["NSockf","jroI5d"],function(){var f=d.context.Oc;if(_.C(f,_.Yk,12))f=_.C(f,_.Yk,12);else{var h=_.uWc(_.wWc(new _.Fk,
_.gN(_.DL(f))),!0);h=_.A(h,6,1);var k=_.E(_.DL(f),6,"");k&&h.Pb(k);h=_.QTb(_.aXc(_.bXc(_.PF((new _.Yk).Pb(d.context.Un()).setTitle(_.E(f,38,"My Drive")),"application/vnd.google-apps.folder").Jn(!1),h),[h]),1);h=_.A(h,29,!0);h=_.A(h,63,!0);f=_.xWc(new _.Tk,_.S(f,6,!0));f=_.A(f,2,!1);f=_.cN(h,_.KWc(_.DWc(_.CWc(_.GWc(_.HWc(_.FWc(_.EWc(_.BWc(_.AWc(_.zWc(_.yWc(_.A(f,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}d.nl([f],1);cP(d.context.Pj,"hVFf7")});this.ha=_.Th();bP(this.context.Pj,["BNEDtc"],function(){d.ha.resolve()});
this.vq=new ebd(this.context.Oc,this.context.Rf(),a.Pm(),a.Kfa,this.context.Rk(),this.context.BX.promise);_.IL(this.context.Oc)&&this.Mc.listen(this.vq,"Kb",this.ma);this.RMa=new _.AZc(this.context.Oc,this.um)};_.L(MP,_.N);
MP.prototype.ma=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.B(d.value,1);for(var e=this.vq.Gd(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.vq.H.get(d),e=!(!d||1!==d.hf()&&4!==d.hf()||3===Pad(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(),Xhd(this,h),b.push(pad(d,new OO(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");Yhd(this,b,[]);this.context.Rs.update(6);a.size&&this.xI.vO([].concat(_.jd(a)),_.mf(new _.lf,311))};MP.prototype.initialize=function(){this.ka.Xg()};
MP.prototype.$h=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Fm,b),Zhd(this,b.O()),Ghd(this.yGa,b),b=$hd(this,b),b.cache.$h(a);else if(b instanceof _.Zz)b=aid(this,b),Zhd(this,b.O()),b=bid(this,b),b.cache.$h(a);else if(b instanceof _.wL){var c=JP(this,b),d=this.O[c];d?(3==d.FJ()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,qv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new Ugd(this.context,this.Ig,b),d.refresh().Fg(_.Ef),this.O[c]=d,b={cache:d,qv:!0});b.cache.$h(a)}else if(b instanceof _.JF)c=b.O(),d=this.V,O9c(d,d.H,d.O,c),b=bid(this,b),b.cache.$h(a);else throw Error("ng");return b.qv};MP.prototype.hk=function(a,b){if(b instanceof _.Ye)b=SO(this.context.Fm,b),Ihd(this.yGa,b);else if(b instanceof _.Zz)b=aid(this,b);else if(!(b instanceof _.wL||b instanceof _.JF))throw Error("ng");b=JP(this,b);var c=this.O[b];c&&(c.hk(a),c.isDisposed()&&delete this.O[b])};
var JP=function(a,b){return TO(a.context.Fm,b,2)},$hd=function(a,b){var c=JP(a,b),d=a.O[c];if(d)return 3==d.FJ()?(a.log(c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):a.log(c+" | ItemQueryRequest backed by existing view cache"),{cache:d,qv:!1};d=[];for(var e=5,f,h,k=Gad(a.Tu),l=0;l<k.length;l++){var p=k[l];e=p.wE(b);if(5!=e){f=1==e?void 0:b.Li();d=p.ala(b,f);f=p.hf();h=p instanceof eP?p.ky():"";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().Te()||a.context.qk().Te())d=d.concat(a.H.query(b,1)),_.Fa(d,void 0,function(q){return q.getId()}),e=(e=a.Tu.H)&&e.i8&&5!=e.wE(b)?e.wE(b):6,a.log("Offline: Populate with "+d.length+" initial items(s)");d=new KP(a.context,b,d,1==e,h);f&&d.jj(f);d.nl(a.H.query(b,2),1!=e);d.initialize().Fg(function(q){q=_.QL(q);_.bq(q);a.context.dispatchEvent(new _.mc(new _.lc("Error during view cache init",q)))});a.O[c]=d;return{cache:d,
qv:!0}},bid=function(a,b){var c=JP(a,b),d=!1,e=a.O[c];if(e&&e.bia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.H.getAll(b.an()),h;b instanceof _.Zz?h=new qgd(a.context,a.Ig,b,f):h=new Nhd(a.context,a.Ig,b,f);f.length&&h.jj(8);h.refresh().Fg(_.Ef);b=h;d=!0;a.O[c]=b;e?(cid(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,qv:d}};
MP.prototype.bW=function(){return Object.values(this.O).filter(function(a){return a.wd()instanceof _.wL})};
MP.prototype.w2a=function(a){for(var b=_.mf(new _.lf,309),c=[],d=_.m(Object.entries(this.V.items)),e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;f=_.m(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.m(h.value);var k=h.next().value;h.next();if(k===a){c.push(Number(e));break}}}c.length&&(d=j$c(this.context.Fm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.xI.vO([a],b,!1,c))};
var ggd=function(a,b,c){c&&c.length&&Q9c(a.V,b,c);_.IL(a.context.Oc)&&(a=a.vq,mbd(a,fbd(a,b)))},Lgd=function(a,b,c){if(b instanceof Ugd){var d=JP(a,b.wd());if(a.O[d]){a.log(d+" | Cache already exists, ignoring persisted data");return}}b instanceof sad&&a.Tu.remove(b);var e={},f=new Map;d=a.H.by();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.by().forEach(function(q){var r=q.getId(),u=a.H.get(r);if(u){var y=bO(u.getItem());3==y||4==y?e[q.getId()]=q.getItem():
u!=q&&(y=l.push,u=new oad(q.getId(),q,u),y.call(l,u));f.delete(r)}else r=aP(q),a.H.update(r),a.W.update(r),_.IL(a.context.Oc)&&a.vq.eP(r);_.IL(a.context.Oc)&&Xhd(a,q.getItem())});d=_.m(f.values());for(h=d.next();!h.done;h=d.next())l.push(aP(h.value));d=_.m(l);for(h=d.next();!h.done;h=d.next())b.update(h.value);b instanceof Ugd?(d=JP(a,b.wd()),a.O[d]=b):a.Tu.add(b);var p=[];_.Ma(e,function(q){var r=new _.ML;_.NL(r,q.getId());r.setItem(q);p.push(r)});a.Qo(p);a.log("Merged cache: "+b.getType());b instanceof
hP&&c.forEach(function(q){did(a.context.Tsa,q)});a.context.Rs.update(3)},cid=function(a,b){(new Set([].concat(_.jd(a.wy)))).forEach(function(c){b.$h(c);a.hk(c)})};
MP.prototype.nl=function(a,b,c,d,e){var f=this,h;e||(e=c?[].concat(_.jd(c.O().filter(function(D){return!_.oN(f.Ig).includes(D)}))):[]);c&&c instanceof _.Ye&&_.WM(c)&&eid(this,a,c);for(var k=[],l=[],p=0;p<a.length;p++){var q=a[p],r=new OO(q,void 0,b),u=this.H.get(q.getId()),y=u?u.getItem():null,z=fid(this,u,r);if(null!=z)r.JD(z),gid(this,y,q),Z1c(q),q=L9c(q,y,e),r.setItem(q);else if(null!=u)r=u,q=y;else continue;_.IL(this.context.Oc)&&Xhd(this,q);!u||hid(this,y,q,e)?(l.push(pad(u,r)),k.push(r)):k.push(u)}a=
null;if(c){if(c instanceof _.Ye){if(null===(h=_.SL(this.context.Oc))||void 0===h?0:_.S(h,15,!1))a=_.Gl(c),1==a.length&&(a=a[0].Ya(),(a=this.H.get(a))&&!a.O&&(a.O=!d));(a=Jad(this.Tu,c))&&a.nl(k,!!d)}c=JP(this,c);(a=this.O[c])&&a.nl(k,!!d)}0<l.length&&(_.IL(this.context.Oc)&&l.forEach(function(D){return f.vq.eP(D)}),Yhd(this,l,e,a?[a]:[]),iid(this,k));jgd(this.context).g9()};
var Xhd=function(a,b){qbd(a.vq,b)||5!=bO(b)||_.hXc(b,1)},hid=function(a,b,c,d){(b=b?_.Lj(b.clone(),82):null)&&ggd(a,[b],d);c=_.Lj(c.clone(),82);ggd(a,[c],[]);return!_.ak(b,c)},eid=function(a,b,c){jid(a,b,c);b.forEach(function(d,e){var f=a.um.H(d.getId());f&&(ZN(f,d,[1002]),ZN(f,d,[1003]),ZN(f,d,[1005]),b[e]=f);_.zM(c)&&0<_.Md(c,33).length&&_.iXc(d,_.Md(c,33)[0])})},jid=function(a,b,c){var d;_.zM(c)?d="quick access":_.AM(c)?d="people predict":_.BM(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" items for "+d+": "+c)},Vfd=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.nl(A2c(d),e)})};MP.prototype.Hla=function(a){this.RMa.Hla(a)};
MP.prototype.Qo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.rk()?null:e.getItem(),h=e.Cc(),k=(h=this.H.get(h))?h.getItem():null,l=null;if(f){l=new OO(f,void 0,void 0,_.B(e,1)||void 0);var p=fid(this,h,l);if(null==p)continue;l.JD(p);gid(this,k,f);_.S(e,5,!1)&&B1c(f,Q1c);Z1c(f);f=L9c(f,k);l.setItem(f);_.IL(this.context.Oc)&&Xhd(this,f)}if(k&&!f||f&&hid(this,k,f,[]))this.context.QJa.oy(e),c.push(pad(h,l))}_.IL(this.context.Oc)&&c.forEach(function(q){return b.vq.eP(q)});Yhd(this,
c,[])};var gid=function(a,b,c){b&&!c.Nm()&&ZN(c,b,a.oa);var d=b?b.Of():null,e=c.Of();e=e?_.Qd(e):null;d&&e&&gid(a,_.Qd(d),e);b&&!_.al(c)&&ZN(c,b,[1002]);b&&!_.bl(c).length&&ZN(c,b,[1003]);b&&!_.cl(c).length&&ZN(c,b,[1005]);b&&null==c.V1()&&ZN(c,b,[71]);b&&null==_.B(c,79)&&ZN(c,b,[73]);b&&_.R(b,31)&&!_.R(c,31)&&(B1c(c,Q1c),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
MP.prototype.mB=function(a,b){if(a instanceof _.Ye||a instanceof _.Zz||a instanceof _.wL)a=JP(this,a),(a=this.O[a])&&a.MX(b);else throw Error("ng");};var fid=function(a,b,c){var d=c.getItem();if(Lbd(a.context.Mfa,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!=bO(a)&&!QO(a)&&!QO(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.zq()>d.zq())return null}return D9c(b&&b.H,c.H)};
MP.prototype.$H=function(a,b){(a=this.H.get(a))&&a.JD(D9c(a.H,b))};
var Yhd=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.SL(a.context.Oc))||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())igd(h.value,b);h=Gad(a.Tu);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 hP&&f.Ld()>=1.2*f.limit&&kid(a.context.QJa,f.Bc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.R(a.context.Oc,60)&&a.va.update(h),a.H.update(h),a.H.get(h.id)||a.V.xJ(h.id),a.W.update(h);0<d&&a.context.Rs.xna(d);lid(a)},lid=function(a){var b=a.W.O.slice(0),c=Khd(a.W);Lhd(a.W);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.lf;_.mf(d,308);a.xI.vO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=W9c(a.um,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Of(),k=_.B(h,1);if(k=a.um.H(k))_.J(h,5,k),_.A(h,4,1),e.push(f)});Vfd(a,e)}},mid=function(a){jgd(a.context).g9();a.H.xJ()},aid=function(a,b){_.Ia(b.O());var c=_.la(b.an(),"root");if(0>c)return b;b=b.clone();b.an()[c]=a.context.Un();return b},Vhd=function(a,b){var c;null!==(c=_.SL(a.context.Oc))&&void 0!==c&&_.S(c,1,!1)||(b=G5c(a.Ig,b),a=a.V,O9c(a,a.items,a.fields,b))},Zhd=function(a,b){var c;if(null===(c=_.SL(a.context.Oc))||
void 0===c?0:_.S(c,1,!1))b=G5c(a.Ig,b),a=a.V,O9c(a,a.items,a.fields,b)},iid=function(a,b){a.ha.promise.then(function(){var c=b.filter(function(e){return 4==bO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.mf(new _.lf,311);a.xI.vO(c,d)}})},Chd=function(a,b){a.ha.promise.then(function(){b.forEach(function(c){if(!Jad(a.Tu,c)){a.log("Adding new cache hint for "+JP(a,c));var d=new eP(a.context.uu,a.context.xw,a.context.Fm,
c);c=new Fgd(a.context,d,c);var e=lP(a.context.nz,null);_.Uh(c.Xg().then(function(){Igd(d,e).then(function(f){Lgd(a,d,f)})}),function(){Ubd(a.context.nz,null)})}})})};MP.prototype.uo=function(){var a=this.Tu.H;return a&&a.gK?1:2};MP.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var Whd=[50];
var oid=function(a){_.N.call(this);var b=this;this.context=a;this.H=[];this.V=new _.ol;this.O=new Map;this.ka=-1;this.ha=0;var c=_.Th();this.va=c.promise;Hdd(this.context.rD).then(function(d){b.H=d||[];c.resolve();nid(b)},function(){return c.resolve()});bP(this.context.Pj,["rVezo"],(0,_.v)(this.W,this))};_.L(oid,_.N);
var Hhd=function(a,b){_.S(a.context.Oc,46,!1)&&a.va.then(function(){if(a.H[0]!==b){_.va(a.H,b);for(M9c(a.context.tf.um.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.Ba(a.H,0,0,b);a.H.length>2*_.bk(a.context.Oc,47,5);)a.H.pop();a.context.rD.set(Bdd,a.H)}a.context.tf.Tu.bW().length+a.O.size<_.bk(a.context.Oc,47,5)&&(nid(a),a.W())})},pid=function(a,b){_.va(a.H,b)&&a.context.rD.set(Bdd,a.H)};
oid.prototype.oy=function(a){did(this.context.Tsa,a);if(QO(a)){var b=a.Bc();a.rk()?kid(this,b,!0):(a=a.getItem(),M9c(a)&&pid(this,b))}};var kid=function(a,b,c){pid(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.tf.Tu;for(var e=d.bW(),f=0;f<e.length;f++){var h=e[f];if(h.Bc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Rs.update(3);break}}IP(a.context).addCallback(function(k){k.aHa(b,c)});a.W()};
oid.prototype.W=function(){if(this.context.Pj.H("rVezo")){var a=this.context.tf.Tu;qid(this);for(var b={};this.V.$b()&&!(this.ha>=_.bk(this.context.Oc,47,5));){var c=_.pl(this.V);this.ha++;Iad(a,c)||this.O.has(c)||(this.O.set(c,null),b.gfa=new _.fWc,_.A(b.gfa,1,c),this.context.Pm().then(function(d){return function(e){return e.Se(d.gfa)}}(b)).then(this.oa.bind(this,c),this.ma.bind(this,c)));b={gfa:b.gfa}}}};
var nid=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},qid=function(a){_.n.clearTimeout(a.ka);a.ka=_.n.setTimeout(function(){nid(a);a.W()},36E5)};oid.prototype.oa=function(a,b){var c=_.B(b,1);c&&c>_.bk(this.context.Oc,48,1E3)?(this.log(a,"Too large to backfill: "+_.B(b,1)),rid(this,a,!1)):sid(this,a)};
oid.prototype.ma=function(a,b){(b=_.QL(b).mk())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.XL(_.oVc(_.NL(new _.ML,a),a)),this.context.tf.Qo([a])):sid(this,a)};
var sid=function(a,b){var c=new hP(a.context.uu,a.context.xw,b),d=c.wd().clone();d.wi(_.bk(a.context.Oc,48,1E3));d=new Fgd(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=lP(a.context.nz,b);IP(a.context).addCallback(function(f){f.Cva(b)});_.Uh(d.Xg().then(function(){tid(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;rid(a,b,!0)}),function(){Ubd(a.context.nz,b)})},tid=function(a,b,c,d){c.gK?(c.eX(),Igd(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ld());Lgd(a.context.tf,
c,e);rid(a,b,!1)},function(){a.log(b,"Backfill changes failed");rid(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),rid(a,b,!0))},rid=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&IP(a.context).addCallback(function(e){e.aHa(b,!1)});a.W();0<a.O.size||a.context.tf.Tu.bW().map(function(e){return e.Bc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){kid(a,e,!0)})};
oid.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var uid=function(){_.N.apply(this,arguments)};_.L(uid,_.N);
var xid=function(a,b){b=vid(b);var c=a.getItem(),d=wid(c.getCapabilities());b.f4.forEach(function(e){_.QTb(e.getItem(),c.ep());_.cN(e.getItem(),d.clone())});return b},Aid=function(a,b,c){var d=yid(c);c=c.find(function(e){return e.getId()===b.getId()});c={oK:c?c:new OO(b),children:[]};zid(a,d,c);return c},yid=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().lk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},zid=
function(a,b,c){var d=c.oK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(zid(a,b,{oK:e,parent:c,children:[]}))});return c},Cid=function(a,b){b=b.children.filter(function(l){return!_.$k(l.oK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.oK.getItem();if(!c.has(f.getId())){_.QTb(f,a.ep());Bid(a,f,e.parent?e.parent.oK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.$k(k.oK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.oK)}}return d},
Did=function(a){a=a.children.filter(function(h){return!_.$k(h.oK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.oK.getItem();if(!b.has(e.getId())){c.push(_.XL(_.NL(new _.ML,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.$k(f.oK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},vid=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();_.$k(e)||_.R(e,137)?c.push(e):b.push(d)}return{rQ:c,f4:b}},wid=
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);_.QWc(a,b);_.A(a,30,c);_.LWc(a,b);_.RWc(a,c);_.MWc(a,c);_.NWc(a,b);_.yWc(a,b);_.DWc(a,c);_.JWc(a,b);_.IWc(a,_.R(a,7));_.CWc(a,_.R(a,10)||_.R(a,11));_.KWc(a,_.Uk(a));_.Lj(a,18);_.Lj(a,13);_.Lj(a,10);_.OWc(a,_.R(a,42));_.PWc(a,_.R(a,43));_.SWc(a,_.R(a,48));return a},Bid=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.R(d,30);_.A(e,30,f);_.LWc(e,_.R(d,31));_.RWc(e,_.R(d,
47));_.MWc(e,_.R(d,32));_.NWc(e,_.R(d,33));_.yWc(e,_.R(d,4));_.DWc(e,_.R(d,9));_.KWc(e,_.R(d,21));_.JWc(e,_.R(d,20));_.IWc(e,_.R(d,17));_.xWc(e,_.Uk(d));_.BWc(e,_.R(d,7));_.EWc(e,_.R(d,10));_.FWc(e,_.R(d,11));f=_.R(d,45);_.A(e,45,f);_.QWc(e,_.R(d,46));_.SWc(e,_.R(d,48));a=_.$k(a);_.A(b,137,a);c&&(c=c.getCapabilities(),aO(b)?(_.CWc(e,_.R(c,43)),_.PWc(e,_.R(c,43)),_.OWc(e,_.R(c,42))):_.CWc(e,_.R(c,42)))};
var Eid=function(a){this.context=a;this.V=new uid;this.O=_.mf(new _.lf,306);this.H=a.tf},did=function(a,b){if(QO(b))b.rk()?Fid(a,b):Gid(a,b);else if(_.S(a.context.Oc,86,!1)){var c=b.Cc(),d=a.H.um.H(c);var e=d&&d.Bc();var f=b.getItem()&&b.getItem().Bc();if(!d||!e||!aO(b.getItem()||d)||f&&f!==e)e=!1;else if(e=!!_.$k(d),!b.rk()){var h=b.getItem();f=_.$k(d)!==_.$k(h);h=h.ep()!==d.ep();e=f||e&&h}if(e)if(b.rk()){if(b=Hid(a,d.Bc()),d=a.V,e=(new _.Yk).Pb(c),b=(b=Aid(d,e,b))?Did(b):[],a.context.tf.Qo(b),a.log(c,
"SD shared folder delete | Removed "+b.length+" item(s)"),a=N5c(a.context.Rk(),106009))c=I5c(a),_.A(c,2,b.length),a.Yj()}else if(c=b.getItem(),d=Hid(a,c.Bc()),e=a.V,c=b.getItem(),c=(d=Aid(e,c,d))?Cid(c,d):[],Vfd(a.context.tf,c),a.log(b.Cc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=N5c(a.context.Rk(),106010))b=I5c(a),_.A(b,1,c.length),a.Yj()}},Fid=function(a,b){var c=b.Cc();b=Hid(a,c);b=vid(b);var d=_.We(b.f4,function(e){return _.XL(_.NL(new _.ML,e.getId()))});a.context.tf.Qo(d);
a.H.xI.vO(b.rQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.rQ.map(function(e){return _.Dl((new _.Cl).Pb(e.getId()),_.el(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.rQ.length+" divergent items"));if(a=N5c(a.context.Rk(),106016))c=J5c(a),_.A(c,1,b.rQ.length),_.A(c,2,b.f4.length),a.Yj()},Gid=function(a,b){var c=b.Cc(),d=Hid(a,c),e=a.H.um.H(c);b=xid(b,d);Vfd(a.context.tf,b.f4);a.H.xI.vO(b.rQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.rQ.map(function(h){return _.Dl((new _.Cl).Pb(h.getId()),
_.el(h))}));a.log(c,"SD update | Update "+b.f4.length+" item(s), "+(b.rQ.length+" divergent items"));if(d=N5c(a.context.Rk(),106017)){var f=J5c(d);_.A(f,1,b.rQ.length);_.A(f,2,b.f4.length);d.Yj()}e||Egd(a.H.xI,c)},Hid=function(a,b){var c=new _.Ye;_.Il(c,[b]);_.Jl(c,2);return Y9c(a.H.um,c)};Eid.prototype.log=function(a,b){this.context.Rf().info("drive.ds.sync.change.TdChangeProcessor",a+": "+b)};
var Iid=function(a,b,c){this.H=a;this.V=b;this.sJ=c};
Iid.prototype.Vw=function(a,b){var c=this;if(a.HV().length){var d=Hbd(this.H,a.Cc());if(d){var e=d?Ibd(this.H,a):[];for(var f={},h=_.m(a.HV()),k=h.next();!k.done;f={tL:f.tL},k=h.next())if(k=k.value,f.tL=Jid(e,k.Zm(),a.Cc()),_.R(k,3))Obd(this.H,f.tL),_.Uh(b,function(r){return function(){c.H.O.W(xbd(r.tL))}}(f));else{for(var l=_.m(_.Uj(k,_.EF,2)),p=l.next();!p.done;p=l.next())Kid(this,f.tL,p.value);k=_.m(_.Md(k,4));for(l=k.next();!l.done;l=k.next())Lid(f.tL,l.value);this.H.lD([f.tL],!1,-1);b.then(function(r){return function(){return void c.H.$H(r.tL.getName(),
-2)}}(f),function(r){return function(){c.H.$H(r.tL.getName(),-2)}}(f))}e=this.qd(d.tk().response)}}e=e?e:this.qd();var q=e.b4a;b.then(function(r){q.resolve(r)},function(r){q.reject(_.$A(r));c.handleError(a.Cc(),r)});return e};Iid.prototype.qd=function(a){a=void 0===a?new zO:a;return new G9c(a.Dc(1))};var Jid=function(a,b,c){var d=a.find(function(e){return wbd(e.getName(),b)});d||(d=n6c((new tO).jd(b),c),a.push(d));return d};
Iid.prototype.handleError=function(a,b){Qbd(this.V,a);a=_.QL(b);_.A(a,21,"Server error updating metadata after optimistic application.");this.sJ(a)};
var Kid=function(a,b,c){var d=b.O().find(function(e){return e.getId()===c.getId()});d||(d=new rO,d.Pb(c.getId()),m6c(b,b.O().concat([d])),Mid(d,c));if(1===sO(d))d.setBooleanValue(_.R(c,3));else if(12===sO(d))d.setDateStringValue(_.B(c,17));else if(2===sO(d))d.setTextValue(_.B(c,4));else if(3===sO(d))_.Md(c,6).length?d.npa(_.Md(c,6)):_.Md(c,5).length&&(a=_.Md(d,7).concat(_.Md(c,5)),d.npa(a));else if(4===sO(d))d.setLongTextValue(_.B(c,7));else if(5===sO(d))d.setSelectionValue(_.B(c,8));else if(6===
sO(d))_.Md(c,10).length?d.jpa(_.Md(c,10)):_.Md(c,9).length&&(a=d.xMa().concat(_.Md(c,9)),d.jpa(a));else if(7===sO(d))d.setIntegerValue(_.B(c,11));else if(8===sO(d))_.Md(c,13).length?d.bpa(_.Md(c,13)):_.Md(c,12).length&&(a=_.Md(d,12).concat(_.Md(c,12)),d.bpa(a));else if(10===sO(d))d.setUserValue(a.O(_.B(c,14)));else if(11===sO(d))_.Md(c,16).length?j6c(d,_.Md(c,16).map(a.O)):_.Md(c,15).length&&j6c(d,d.nBa().concat(_.Md(c,15).map(a.O)));else throw d="Optimistic Applier: Unsupported value type "+(sO(d)+
"."),new _.lc(d,new _.kc);},Lid=function(a,b){if(a=a.O().find(function(c){return c.getId()===b}))if(1===sO(a))_.Lj(a,5);else if(12===sO(a))_.Lj(a,17);else if(2===sO(a))_.Lj(a,6);else if(3===sO(a))_.MH(a,7);else if(4===sO(a))_.Lj(a,8);else if(5===sO(a))_.Lj(a,9);else if(6===sO(a))_.MH(a,10);else if(7===sO(a))_.Lj(a,11);else if(8===sO(a))_.MH(a,12);else if(10===sO(a))_.Mj(a,15);else if(11===sO(a))_.Oj(a,16);else throw a="Optimistic Applier: Unsupported value type "+(sO(a)+"."),new _.lc(a,new _.kc);
},Mid=function(a,b){_.P(b,3)?a.IA(1):_.P(b,17)?a.IA(12):_.P(b,4)?a.IA(2):_.Md(b,6).length||_.Md(b,5).length?a.IA(3):_.P(b,7)?a.IA(4):_.P(b,8)?a.IA(5):_.Md(b,10).length||_.Md(b,9).length?a.IA(6):_.P(b,11)?a.IA(7):_.Md(b,13).length||_.Md(b,12).length?a.IA(8):_.P(b,14)?a.IA(10):(_.Md(b,16).length||_.Md(b,15).length)&&a.IA(11)};Iid.prototype.O=function(a){return _.vWc(_.tWc(1),a)};
var Nid=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.Ig=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};Nid.prototype.apply=function(a,b){var c=this;if(!_.VM(a))return b;var d=null;a instanceof _.nM?d=Oid(this,a,b):a instanceof _.uM?d=Pid(this,a,b):a instanceof _.TL?d=this.Vw(a,b):a instanceof _.iM?d=Qid(this,a,b):a instanceof _.NM&&(d=this.va.Vw(a,b));d&&(this.W++,this.ha.setActive(!1),_.Uh(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Ph(d):b};
var Oid=function(a,b,c){Kbd(a.O,b.getId());var d=a.H.um.H(b.getId());_.Uh(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=_.QL(e);_.A(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Pid=function(a,b,c){var d=_.B(b,2);d&&a.O.H.push(d);c.then(function(){d&&Mbd(a.O,d)&&_.Uh(Rid(a,d,new _.zZc(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=_.QL(e);_.A(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.UM).Dc(1)},Rid=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Ph();var f=_.Th(),h=c.Ya();_.rH(c);setTimeout(function(){a.ka.then(function(k){var l=_.mf(new _.lf,1425);l=z2c(!0,1,l);return k.Se(l).then(function(p){if(p=p.qd())if(p=p.Fd()[0],!p||(p.Qv()||0)>b){f.resolve();return}_.Uh(Rid(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.Uh(Rid(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},Qid=function(a,b,c){var d=b.Bc(),e=a.H.um.H(d);if(!e)return null;e=e.clone();ggd(a.H,[e],[157]);var f=e.eh();Sid(f,_.Uj(b,_.Xk,2));Tid(f,_.Uj(b,_.Xk,3));a.H.nl([e],-1,void 0,void 0,[157]);_.Uh(c,function(){a.H.$H(d,-2)}).then(function(h){a.H.nl([_.C(h,_.Yk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.QL(h);_.A(h,21,"Server error updating item after optimistic application.");a.V(h)});return o7c(new n7c,e).Dc(1)},
Sid=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={Yea:c.Yea},d=b.next())c.Yea=d.value,_.Uj(a,_.Xk,8).some(function(e){return function(f){return f.Zm()==e.Yea.Zm()}}(c))||_.Xj(a,8,c.Yea,_.Xk,void 0)},Tid=function(a,b){var c=b.map(function(d){return d.Zm()});b=_.Uj(a,_.Xk,8).filter(function(d){return!c.includes(d.Zm())});J1c(a,b)};
Nid.prototype.Vw=function(a,b){var c=this,d=this.H.um.H(a.getId());if(!d||d.Bc()&&0==a.Rh()||null!=_.R(a,40))return null;var e=_.Md(a,10),f=_.Md(a,9);if(0<e.length&&0<f.length&&(e=Object.values(X9c(this.H.um,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.Fa(e),1<e.length))return null;var h=d.clone();Uid(this,a,h);this.H.nl([h],-1,void 0,void 0,E5c(this.Ig));b.then(function(){return c.H.$H(a.getId(),-2)},function(){c.H.$H(a.getId(),-2);c.oa(a.getId(),d)});b.then(null,function(k){k=_.QL(k);
if(63==k.mk()){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 _.ZXc((new _.UM).setItem(h),h.getId()).Dc(1)};
var Uid=function(a,b,c){null!=b.Pe()&&c.lm(b.Pe());null!=b.Si()&&_.fXc(c,b.Si());null!=b.getMimeType()&&_.PF(c,b.getMimeType());null!=_.B(b,7)&&_.PTb(c,_.B(b,7));null!=_.R(b,11)&&_.$Wc(c,_.R(b,11));null!=_.R(b,4)&&c.zv(_.R(b,4));null!=_.R(b,16)&&_.eXc(c,_.R(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Rh()&&(c.Jn(b.Rh()),_.dXc(c,b.Rh()));null!=_.R(b,18)&&_.XN(Y1c(c,!0),_.R(b,18));_.Md(b,8).length&&_.bN(c,_.Md(b,8));if(_.Md(b,9).length){var d=new Set(c.lk());_.Md(b,9).forEach(function(p){return d.add(p)});
_.bN(c,[].concat(_.jd(d)))}if(_.Md(b,10).length){var e=new Set(c.lk());_.Md(b,10).forEach(function(p){return e.delete(p)});_.bN(c,[].concat(_.jd(e)));var f=c.kw();f&&_.Md(b,10).includes(f)&&_.Lj(c,46)}if(!c.kw()){var h=a.Ba();f=c.lk().find(function(p){var q=a.H.um.H(p);return q&&!!q.kw()||p==h});_.A(c,46,f||void 0)}c.lk().length&&(f=a.H.um.H(c.lk()[0]))&&_.iXc(c,f.Bc());if(f=_.C(b,_.Vk,25)){var k=_.C(c,_.Vk,111)||new _.Vk;null!=_.R(f,1)&&_.UWc(k,_.R(f,1));null!=_.B(f,2)&&_.VWc(k,_.B(f,2));_.J(c,111,
k)}var l=_.Md(c,120);_.Md(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.Md(b,32).forEach(function(p){_.va(l,p)});_.Kj(c,120,l)};Nid.prototype.oa=function(a,b){var c=this,d=_.aA(new _.Zz,[a]);this.ka.then(function(e){return e.Se(d)}).then(function(e){e=e.qd().Fd()[0];c.H.nl([e.clone()],1)},function(){b&&c.H.nl([b.clone()],1)})};
var Vid=function(a){this.H=a};_.L(Vid,_.g0c);Vid.prototype.execute=function(a,b,c){var d=_.g0c.prototype.execute.call(this,a,b,c);if(d)return d;if(c.fLa||b instanceof _.JL&&_.WM(b.wd()))if(c=W5c(this.H))return c;return b instanceof _.uM?(c=_.mf(new _.lf,1424),a.Se(z2c(!1,1,c)).then(function(e){(e=e.qd())&&(e=e.Fd()[0])&&_.P(e,96)&&b.gda(e.Qv())},function(){})):null};
var P2c=function(a,b){return[Wid,Xid,Yid,Zid].reduce(function(c,d){var e;0!==c?e=c:e=_.Ga(d(a),d(b));return e},0)},Wid=function(a){return $id[a.zf()]},Xid=function(a){return ajd[a.getType()]},Yid=function(a){return a.getName()||""},Zid=function(a){return a.getId()||""},NP={},$id=(NP[5]=0,NP[7]=1,NP[1]=2,NP[3]=3,NP[4]=4,NP[2]=5,NP[6]=6,NP),bjd={},ajd=(bjd[1]=0,bjd[2]=1,bjd[3]=2,bjd[4]=3,bjd);
var cjd=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.Ig=l};
cjd.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.UM&&8===b.Ab()))if(a instanceof _.hM||a instanceof _.jM||a instanceof _.WVc||a instanceof _.TL||a instanceof _.PM||a instanceof _.dWc||a instanceof _.RM||a instanceof _.fO){var d=_.WL(b.getItem().clone(),9);this.H.nl([d],1);lcd(this.oa,b.getItem(),_.oN(this.Ig))}else a instanceof _.nM?(b=_.XL(_.NL(new _.ML,a.getId())),this.H.Qo([b])):a instanceof _.qM?(b=_.XL(_.oVc(_.NL(new _.ML,a.getId()),a.getId())),this.H.Qo([b]),did(this.ma,b)):
a instanceof _.uM?(b=z2c(!0).wd(),b=this.H.um.query(b).map(function(e){return _.XL(_.NL(new _.ML,e.getId()))}),this.H.Qo(b)):a instanceof _.lM?this.O.remove(a.yh()):a instanceof _.xM||a instanceof _.MM?this.O.put(b.sr()):a instanceof _.oM?O2c(this.H,a):a instanceof _.jD?this.W.remove(a.getKey()):a instanceof _.yM?Q2c(this.H,a,_.C(b,_.Fk,2)):a instanceof _.kD?this.W.put(b.NMa()):a instanceof _.kM||a instanceof _.QM?this.ha.lD([b.hn()],!1):a instanceof _.rM?this.ha.lD([Zbd(a.getId())],!1):a instanceof
_.VVc?this.V.lD(b.response.O(),!1,1):a instanceof _.NM?(a.HV().filter(function(e){return _.R(e,3)}).forEach(function(e){return c.V.removeItem(e.Zm()||"",a.Cc())}),Qbd(this.ka,a.Cc()),this.H.w2a(a.Cc())):a instanceof _.tN&&_.Uj(a,_.Y6c,1).forEach(function(e){switch(e.getFeature()){case 3:case 1:switch(e=_.C(e,_.xO,2),e.getType()){case 1:case 2:if(e=c.H.um.H(e.Cc())){var f=new _.ML;f=_.A(f,5,!0);e=_.NL(f,e.getId()).setItem(e.clone());c.H.Qo([e])}}}})};
var djd=function(a){this.H=a};
djd.prototype.translate=function(a){if(a instanceof _.JM){var b=this.H.H(a.getId());if(!b)return new _.kc;var c=(new _.TL).Pb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.he(d)||_.R(d,9)?c.Jn(!0):_.UL(c,!1)}else d=a.getParent(),1===b.ep()?c.Jn(!0):d?(b=this.H.H(d),!b||_.R(b.getCapabilities(),7)?e5c(c,[d]):_.UL(c,!1)):_.UL(c,!1);return c}if(a instanceof _.KM)return g5c(f5c(e5c(d5c((new _.TL).Pb(a.getId()),_.Md(a,2)),_.Md(a,3)),_.R(a,6)),_.Uj(a,_.Cl,8));if(a instanceof _.LM){b=this.H.H(a.getId());
if(!b)return new _.kc;c=(new _.TL).Pb(a.getId());b.Bc()?(d=b.getCapabilities(),_.he(d)||_.R(d,9)?c.Jn(!1):_.UL(c,!0)):(d=a.getParent(),1===b.ep()?c.Jn(!1):d?(b=this.H.H(d),!b||_.Uk(b.getCapabilities())?d5c(c,[d]):_.UL(c,!0)):_.UL(c,!0));return c}if(a instanceof _.GN)return new _.WVc(a);if(a instanceof _.zP)return _.Md(a,1).map(function(f){var h=new _.NM;f=_.A(h,1,f);h=a.HV();f=_.Nj(f,2,h);h=a.we();return _.J(f,3,h)});if(a instanceof _.tM){c=z2c(!1,1).wd();var e=0;this.H.query(c).forEach(function(f){(f=
f.Qv())&&(e=Math.max(e,f))});return R5c(new _.uM,a).gda(e)}return a};
var ejd=function(){};ejd.prototype.validate=function(a){var b=null;a instanceof _.CM?(a=a.getId()||"",_.ae(a)&&(b="Tried to request backup with no id.")):a instanceof _.mM&&(a=a.getId()||"",_.ae(a)&&(b="Tried to delete backup with no id."));return b?_.QL(b):null};
var fjd=function(a,b){this.O=a;this.H=b},jjd=function(a,b){_.NN(["drive#about"],b);var c=new _.AP,d=new _.ZA;if(b.user){var e=_.PN(a.O,b.user);_.J(d,1,e)}a=gjd(a,b);a=Y4c(X4c(_.W4c(new _.$sb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.$4c(a,_.L4c(_.K4c((new _.YA).Dc(hjd[e.status]),Number(e.trialMillisRemaining)),_.ON(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.a5c(a,_.N4c(_.M4c(new _.Vsb,e.canAdministerTeam),
e.canManageInvites)));b.importFormats&&Z4c(a,b.importFormats.map(function(f){var h=new _.V4c;h=_.A(h,1,f.source);return _.Kj(h,2,f.targets)}));b.adminSecureLinkSetting&&_.A(a,10,ijd[b.adminSecureLinkSetting]);_.J(d,3,a);_.Qed(c,d);b=b.largestChangeId;null!=b&&_.A(c,4,Number(b));return c},gjd=function(a,b){var c;var d=new _.Zsb;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=_.R4c(_.Q4c(_.P4c(_.O4c(d,
S2c(b.quotaBytesByService||[])),kjd[b.quotaType]),Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-U2c(b);d=_.A(d,9,e);d=_.S4c(d,Number(b.quotaBytesUsedAggregate));d=_.A(d,11,Number(b.quotaBytesUsedInTrash));d=_.A(d,13,_.U1c(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.T4c(d,ljd[b.quotaStatus]||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Ysb;var f=
_.E2a(new Date(b.graceQuotaInfo.endDate));e=_.J(e,1,f);e=_.A(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.J(d,12,e)}(null===(c=_.SL(a.H))||void 0===c?0:_.S(c,16,!1))?(a=_.A(d,16,Number(b.individualQuotaBytesTotal)),a=_.A(a,17,_.U1c(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))),b=_.A(a,9,Number(b.individualQuotaBytesUsedAggregate))):b=d;return b},ljd={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},T2c=new Set(["POOLED_STORAGE","FAMILY"]),hjd={isInTrial:1,
hasPaidContract:2,noSubscription:3,trialExpired:4},R2c={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},kjd={LIMITED:1,UNLIMITED:2,POOLED:3},ijd={unknown:0,requireLessSecureLinks:1,removeLessSecureLinks:2,userCanChoose:3};
var mjd={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},njd={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},ojd={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2,MULTIPARENTING_MIGRATION:4},pjd={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},qjd={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},rjd={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},sjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},tjd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},ujd={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},vjd={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},wjd={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},xjd={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},yjd={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},zjd={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},Ajd={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},Bjd={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},Cjd={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},Djd={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},Ejd={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},Fjd={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},Gjd={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},Hjd={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},Ojd=function(a){return a.map(function(b){var c=new _.z9c;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=Ijd(e);_.J(c,2,d);break;case "actors":d=Jjd(e);_.Nj(c,3,d);break;case "actions":d=Kjd(e);_.Nj(c,
4,d);break;case "targets":d=Ljd(e);_.Nj(c,5,d);break;case "timestamp":c.O(Mjd(e));break;case "timeRange":d=Njd(e),_.Wj(c,7,y9c[0],d)}}return c})},Kjd=function(a){return a.map(function(b){var c=new _.w9c;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=Ijd(e);_.J(c,1,d);break;case "source":d=new N8c;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":_.fk(d,2,mjd[h]);break;case "appId":_.ek(d,1,h)}}_.J(c,2,d);break;case "actor":d=Pjd(e);_.J(c,3,d);break;case "target":d=Qjd(e);_.J(c,4,d);break;case "timestamp":c.O(Mjd(e));break;case "timeRange":d=Njd(e),_.Wj(c,6,v9c[0],d)}}return c})},Ljd=function(a){return a.map(function(b){return Qjd(b)})},Sjd=function(a){return a.map(function(b){return Rjd(b)})},Tjd=function(a){return a.map(function(b){var c=new _.r8c;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.xg(Rjd(e));break;case "shortcut":d=Rjd(e),_.J(c,2,d)}}return c})},Qjd=function(a){var b=new _.R8c;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=Ujd(d);_.Wj(b,1,_.Q8c[0],c);break;case "drive":c=new _.O8c;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=Ujd(f),_.J(c,3,e)}}_.Wj(b,5,_.Q8c[0],c);break;case "fileComment":c=new _.P8c;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":_.ek(c,1,f);break;case "legacyDiscussionId":_.ek(c,2,f);break;case "linkToDiscussion":_.ek(c,3,f);break;case "parent":c.xg(Ujd(f))}_.Wj(b,3,_.Q8c[0],c)}}return b},Rjd=function(a){var b=new _.CO;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 a8c;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 Z7c;_.Wj(e,8,$7c[0],f);break;case "driveFolder":e=Vjd(f);_.Wj(c,9,$7c[0],e);break;case "driveShortcut":e=Wjd(f),_.Wj(c,10,$7c[0],e)}}_.Wj(b,1,b8c[0],c);break;case "drive":c=Xjd(d),_.Wj(b,3,
b8c[0],c)}}return b},Ujd=function(a){var b=new _.Y7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.jd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.ek(b,6,d);break;case "version":_.dk(b,5,d);break;case "owner":c=new T7c;d=_.m(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=Yjd(f);_.J(c,3,e);break;case "user":e=
OP(f);_.Wj(c,1,S7c[0],e);break;case "drive":e=Xjd(f),_.Wj(c,4,S7c[0],e)}}_.J(b,7,c);break;case "driveFile":c=new Z7c;_.Wj(b,8,U7c[0],c);break;case "driveFolder":c=Vjd(d);_.Wj(b,9,U7c[0],c);break;case "driveShortcut":c=Wjd(d),_.Wj(b,10,U7c[0],c)}}return b},Xjd=function(a){var b=new R7c;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},Vjd=function(a){var b=new W7c;
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":_.fk(b,6,njd[d])}}return b},Wjd=function(a){var b=new X7c;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":_.ek(b,1,d);break;case "targetMimeType":_.ek(b,2,d)}}return b},Jjd=function(a){return a.map(function(b){return Pjd(b)})},Pjd=function(a){var b=new _.M8c;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=OP(d);_.Wj(b,1,_.L8c[0],c);break;case "anonymous":c=new I8c;_.Wj(b,2,_.L8c[0],c);break;case "impersonation":c=new _.J8c;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=OP(f),_.J(c,1,e)}}_.Wj(b,3,_.L8c[0],c);break;case "system":c=new _.K8c;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":_.fk(c,1,ojd[f])}_.Wj(b,4,_.L8c[0],c);break;case "administrator":c=new _.H8c,_.Wj(b,5,_.L8c[0],c)}}return b},Zjd=function(a){return a.map(function(b){return OP(b)})},OP=function(a){var b=new _.y7c;a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.AO;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":_.ek(c,1,f);break;case "isCurrentUser":_.ck(c,2,f);break;case "displayName":_.ek(c,3,f);break;case "photoUrl":c.ho(f)}}_.Wj(b,2,_.w7c[0],c);break;case "unknownUser":c=new z7c;_.Wj(b,4,_.w7c[0],c);break;case "deletedUser":c=new _.x7c,_.Wj(b,3,_.w7c[0],c)}}return b},Mjd=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.D2a((new _.Ax).setSeconds(a),b)},Njd=function(a){var b=new _.NO;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.uY(Mjd(d));break;case "endTime":b.tF(Mjd(d))}}return b},Yjd=function(a){var b=new _.Q7c;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":_.ek(b,3,d);break;case "audienceDisplayName":_.ek(b,4,d)}}return b},Ijd=function(a){for(var b=new _.HO,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 _.e8c,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 f8c;_.Wj(y,1,_.c8c[0],z);break;case "upload":var D=k,H=new g8c;_.Wj(D,2,_.c8c[0],H);break;case "copy":for(var I=u,M=new _.d8c,Q=_.m(Object.entries(I)),W=Q.next();!W.done;W=Q.next()){var pa=_.m(W.value),ia=pa.next().value,na=pa.next().value;
switch(ia){case "originalObject":var qa=Rjd(na);_.J(M,1,qa)}}_.Wj(k,3,_.c8c[0],M)}}_.Wj(b,1,_.GO[0],k);break;case "edit":var ua=new l8c;_.Wj(b,2,_.GO[0],ua);break;case "move":for(var Wa=new _.t8c,Ea=_.m(Object.entries(h)),Pa=Ea.next();!Pa.done;Pa=Ea.next()){var dc=_.m(Pa.value),pb=dc.next().value,Zb=dc.next().value;switch(pb){case "addedParents":var Jc=Sjd(Zb);_.Nj(Wa,1,Jc);break;case "removedParents":var ne=Sjd(Zb);_.Nj(Wa,2,ne);break;case "fromOwnershipTransfer":_.ck(Wa,3,Zb);break;case "reparents":var oe=
Zb.map($jd);_.Nj(Wa,4,oe);break;case "multiparentingMigration":for(var Id=Zb,ff=new _.s8c,Dc=_.m(Object.entries(Id)),Bb=Dc.next();!Bb.done;Bb=Dc.next()){var Og=_.m(Bb.value),Ag=Og.next().value,Ve=Og.next().value;switch(Ag){case "removedParents":var Cj=Sjd(Ve);_.Nj(ff,2,Cj);break;case "migratedParents":var Zf=Tjd(Ve);_.Nj(ff,1,Zf)}}_.J(Wa,5,ff)}}_.Wj(b,3,_.GO[0],Wa);break;case "rename":for(var ni=new _.z8c,Fg=_.m(Object.entries(h)),im=Fg.next();!im.done;im=Fg.next()){var pf=_.m(im.value),$e=pf.next().value,
eh=pf.next().value;switch($e){case "oldTitle":_.ek(ni,1,eh);break;case "newTitle":_.ek(ni,2,eh)}}_.Wj(b,4,_.GO[0],ni);break;case "delete":for(var oi=new _.j8c,aj=_.m(Object.entries(h)),Ml=aj.next();!Ml.done;Ml=aj.next()){var ik=_.m(Ml.value),Qj=ik.next().value,fh=ik.next().value;switch(Qj){case "type":_.fk(oi,1,pjd[fh])}}_.Wj(b,5,_.GO[0],oi);break;case "restore":for(var gl=new _.A8c,hl=_.m(Object.entries(h)),Gg=hl.next();!Gg.done;Gg=hl.next()){var il=_.m(Gg.value),jm=il.next().value,jl=il.next().value;
switch(jm){case "type":_.fk(gl,1,qjd[jl])}}_.Wj(b,6,_.GO[0],gl);break;case "permissionChange":for(var Wh=new _.w8c,Dj=_.m(Object.entries(h)),oj=Dj.next();!oj.done;oj=Dj.next()){var pj=_.m(oj.value),Rj=pj.next().value,Jh=pj.next().value;switch(Rj){case "addedPermissions":var Nl=akd(Jh);_.Nj(Wh,1,Nl);break;case "removedPermissions":var qj=akd(Jh);_.Nj(Wh,2,qj);break;case "resharedPermissions":var jk=akd(Jh);_.Nj(Wh,3,jk);break;case "otherActivePermissions":var km=akd(Jh);_.Nj(Wh,4,km)}}_.Wj(b,7,_.GO[0],
Wh);break;case "comment":for(var kl=new _.P7c,Im=_.m(Object.entries(h)),kk=Im.next();!kk.done;kk=Im.next()){var Jk=_.m(kk.value),uf=Jk.next().value,Bi=Jk.next().value;switch(uf){case "post":for(var lk=Bi,Fc=new _.M7c,Kk=_.m(Object.entries(lk)),Pg=Kk.next();!Pg.done;Pg=Kk.next()){var mk=_.m(Pg.value),Mi=mk.next().value,Ln=mk.next().value;switch(Mi){case "subtype":_.fk(Fc,1,sjd[Ln])}}_.Wj(kl,1,_.L7c[0],Fc);break;case "assignment":for(var nk=Bi,xh=new _.N7c,Qg=_.m(Object.entries(nk)),Lk=Qg.next();!Lk.done;Lk=
Qg.next()){var ll=_.m(Lk.value),Qh=ll.next().value,Ni=ll.next().value;switch(Qh){case "subtype":_.fk(xh,1,tjd[Ni]);break;case "assignedUser":var jn=OP(Ni);_.J(xh,7,jn)}}_.Wj(kl,2,_.L7c[0],xh);break;case "suggestion":for(var pi=Bi,ml=new _.O7c,Mn=_.m(Object.entries(pi)),kn=Mn.next();!kn.done;kn=Mn.next()){var Jm=_.m(kn.value),Nn=Jm.next().value,Ol=Jm.next().value;switch(Nn){case "subtype":_.fk(ml,1,ujd[Ol])}}_.Wj(kl,3,_.L7c[0],ml);break;case "mentionedUsers":var Km=Zjd(Bi);_.Nj(kl,7,Km)}}_.Wj(b,8,
_.GO[0],kl);break;case "dlpChange":for(var ln=new _.i8c,On=_.m(Object.entries(h)),xk=On.next();!xk.done;xk=On.next()){var To=_.m(xk.value),Fp=To.next().value,Gp=To.next().value;switch(Fp){case "type":_.fk(ln,1,vjd[Gp])}}_.Wj(b,9,_.GO[0],ln);break;case "view":for(var Js=new G8c,Pw=_.m(Object.entries(h)),Ks=Pw.next();!Ks.done;Ks=Pw.next()){var Yn=_.m(Ks.value),Iq=Yn.next().value,Ut=Yn.next().value;switch(Iq){case "type":_.fk(Js,1,wjd[Ut]);break;case "viewHistoryVisibility":for(var $C=Ut,DA=new F8c,
aD=_.m(Object.entries($C)),Vt=aD.next();!Vt.done;Vt=aD.next()){var Tw=_.m(Vt.value),Uw=Tw.next().value,Vw=Tw.next().value;switch(Uw){case "domainPolicyVisibilityState":_.fk(DA,1,xjd[Vw]);break;case "namedPartyState":_.fk(DA,2,yjd[Vw])}}_.J(Js,2,DA)}}_.Wj(b,10,_.GO[0],Js);break;case "download":for(var oJ=new k8c,wy=_.m(Object.entries(h)),Wt=wy.next();!Wt.done;Wt=wy.next()){var xn=_.m(Wt.value),xy=xn.next().value,Jq=xn.next().value;switch(xy){case "type":_.fk(oJ,1,zjd[Jq])}}_.Wj(b,11,_.GO[0],oJ);break;
case "reference":for(var pS=new _.r7c,MF=_.m(Object.entries(h)),Ww=MF.next();!Ww.done;Ww=MF.next()){var vi=_.m(Ww.value),NF=vi.next().value,Xw=vi.next().value;switch(NF){case "type":_.fk(pS,1,Ajd[Xw]);break;case "context":for(var EA=pS,jZ=EA.Xi,kZ=Xw,Sg=new q7c,bD=_.m(Object.entries(kZ)),cD=bD.next();!cD.done;cD=bD.next()){var Er=_.m(cD.value),ao=Er.next().value,OF=Er.next().value;switch(ao){case "description":Sg.lm(OF);break;case "url":_.ek(Sg,2,OF)}}jZ.call(EA,Sg)}}_.Wj(b,12,_.GO[0],pS);break;case "settingsChange":for(var RN=
new _.D8c,pJ=_.m(Object.entries(h)),qJ=pJ.next();!qJ.done;qJ=pJ.next()){var lZ=_.m(qJ.value),yy=lZ.next().value,zy=lZ.next().value;switch(yy){case "restrictionChanges":var Tha=bkd(zy);_.Nj(RN,1,Tha)}}_.Wj(b,13,_.GO[0],RN);break;case "approvalChange":for(var Ns=new _.C7c,SN=_.m(Object.entries(h)),rJ=SN.next();!rJ.done;rJ=SN.next()){var Yw=_.m(rJ.value),sJ=Yw.next().value,Fr=Yw.next().value;switch(sJ){case "approvalName":_.ek(Ns,2,Fr);break;case "approvalEventNames":_.Kj(Ns,3,Fr);break;case "initiator":var tJ=
OP(Fr);_.J(Ns,4,tJ);break;case "reviewers":var mZ=Zjd(Fr);_.Nj(Ns,5,mZ);break;case "status":Ns.Dc(Djd[Fr]);break;case "dueTime":var qS=Mjd(Fr);_.J(Ns,7,qS);break;case "approvalRequested":var rS=Ns,u7=new D7c;_.Wj(rS,8,_.BO[0],u7);break;case "approvalCancelled":var uJ=Ns,nZ=new E7c;_.Wj(uJ,9,_.BO[0],nZ);break;case "reviewerResponded":for(var sS=Fr,FA=new _.B7c,Ip=_.m(Object.entries(sS)),Kq=Ip.next();!Kq.done;Kq=Ip.next()){var dO=_.m(Kq.value),Nia=dO.next().value,U0a=dO.next().value;switch(Nia){case "reviewerDecision":_.fk(FA,
1,Ejd[U0a])}}_.Wj(Ns,10,_.BO[0],FA);break;case "commentAdded":var OS=Ns,V0a=new F7c;_.Wj(OS,11,_.BO[0],V0a);break;case "reviewersChanged":for(var DCb=Fr,HZ=new H7c,IZ=_.m(Object.entries(DCb)),W0a=IZ.next();!W0a.done;W0a=IZ.next()){var ECb=_.m(W0a.value),X0a=ECb.next().value,FCb=ECb.next().value;switch(X0a){case "reviewerChanges":var mxc=ckd(FCb);_.Nj(HZ,1,mxc)}}_.Wj(Ns,12,_.BO[0],HZ);break;case "dueTimeChanged":for(var GCb=Fr,cAa=new J7c,MA=_.m(Object.entries(GCb)),dAa=MA.next();!dAa.done;dAa=MA.next()){var Y0a=
_.m(dAa.value),HCb=Y0a.next().value,ICb=Y0a.next().value;switch(HCb){case "oldDueTime":var JCb=Mjd(ICb);_.J(cAa,1,JCb)}}_.Wj(Ns,13,_.BO[0],cAa)}}_.Wj(b,18,_.GO[0],Ns);break;case "lock":var KCb=new n8c;_.Wj(b,15,_.GO[0],KCb);break;case "unlock":var Z0a=new E8c;_.Wj(b,16,_.GO[0],Z0a);break;case "appliedLabelChange":for(var $0a=new _.v7c,a1a=_.m(Object.entries(h)),eAa=a1a.next();!eAa.done;eAa=a1a.next()){var LCb=_.m(eAa.value),Oia=LCb.next().value,fAa=LCb.next().value;switch(Oia){case "changes":var PS=
dkd(fAa);_.Nj($0a,1,PS)}}_.Wj(b,19,_.GO[0],$0a);break;case "publishChange":for(var b1a=new _.y8c,MCb=_.m(Object.entries(h)),c1a=MCb.next();!c1a.done;c1a=MCb.next()){var BJ=_.m(c1a.value),NCb=BJ.next().value,d1a=BJ.next().value;switch(NCb){case "oldPublishState":var OCb=ekd(d1a);_.J(b1a,1,OCb);break;case "newPublishState":var PCb=ekd(d1a);_.J(b1a,2,PCb)}}_.Wj(b,20,_.GO[0],b1a);break;case "linkShareMetadataChange":for(var QCb=new _.m8c,e1a=_.m(Object.entries(h)),JZ=e1a.next();!JZ.done;JZ=e1a.next()){var KZ=
_.m(JZ.value),Pia=KZ.next().value,f1a=KZ.next().value;switch(Pia){case "securityUpdateEnabled":_.ck(QCb,1,f1a)}}_.Wj(b,21,_.GO[0],QCb)}}return b},$jd=function(a){var b=new _.p8c;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":_.fk(b,1,Hjd[d])}}return b},akd=function(a){return a.map(function(b){var c=new _.FO;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":_.fk(c,1,rjd[e]);break;case "user":d=OP(e);_.Wj(c,2,_.EO[0],d);break;case "group":d=new _.DO;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":_.ek(d,1,h);break;case "title":d.setTitle(h)}}_.Wj(c,3,_.EO[0],d);break;case "domain":d=Yjd(e);_.Wj(c,4,_.EO[0],d);break;case "anyone":d=new u8c;_.Wj(c,5,_.EO[0],d);break;case "allowDiscovery":_.ck(c,6,e)}}return c})},bkd=function(a){return a.map(function(b){var c=
new _.C8c;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":_.fk(c,1,Bjd[e]);break;case "newRestriction":_.fk(c,2,Cjd[e])}}return c})},ckd=function(a){return a.map(function(b){var c=new I7c;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=OP(e);_.J(c,3,d);break;case "addedReviewer":d=OP(e),_.J(c,4,d)}}return c})},
dkd=function(a){return a.map(function(b){var c=new _.u7c;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":_.ek(c,1,e);break;case "types":d=fkd(e),_.Kj(c,2,d)}}return c})},fkd=function(a){return a.map(function(b){return Fjd[b]})},ekd=function(a){var b=new _.x8c;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":_.fk(b,
1,Gjd[d]);break;case "signinRequired":_.ck(b,2,d);break;case "publishedTime":c=Mjd(d),_.J(b,3,c)}}return b};
var hkd=function(a,b){var c=new ned;b=_.A(c,4,b);a&&"drive#app"==a.kind&&(a=gkd(a),_.J(b,2,a));return b},gkd=function(a){_.NN(["drive#app"],a);var b=(new _.IO).Pb(a.id);b=_.A(b,3,a.useByDefault).jd(a.name);b=_.A(b,7,a.openUrlTemplate);b=b9c(a9c(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=_.Kj(b,17,a.primaryFileExtensions);b=_.Kj(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,ikd[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 _.U8c;l=_.A(l,3,k.iconUrl).setSize(k.size);k.category&&_.A(l,1,jkd[k.category]);h.call(f,l)}_.Nj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.Kj(b,24,d);c=a.rankingInfo||{};a=new _.Z8c;d=c.absoluteScore;null!=d&&_.A(a,1,Number(d));d=kkd(c.mimeTypeScores||[]);_.Nj(a,2,d);c=kkd(c.fileExtensionScores||[]);
_.Nj(a,3,c);_.J(b,29,a);return b},kkd=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.V8c;d=_.A(d,1,a[c].type);d=_.A(d,2,Number(a[c].score));b.push(d)}return b},ikd={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},jkd={application:1,document:2,documentShared:3};
var mkd=function(a){var b=new jfd;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.rP).Pb(c.id).setTitle(c.title);d=_.A(d,3,_.ON(c.updateTime));d=_.A(d,4,lkd[c.backupSource]);d=_.A(d,5,c.iconUri);d=_.A(d,8,_.ON(c.expiryTime));d=_.A(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.Wy()){var e=new Wdd;e=_.A(e,1,c.whatsappOngoingBackupEnabled);c=_.A(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2===d.Wy()&&(e=new _.Vdd,e=_.A(e,1,c.deviceName),e=_.A(e,2,c.deviceModelName),
e=_.A(e,3,c.shouldIncludeSpecialSyncItems),c=_.A(e,4,c.deviceAndroidId),_.J(d,7,c));return d});_.Nj(b,2,a);return b},okd=function(a){var b=new ffd;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.sP).Pb(c.id);d=_.A(d,1,nkd[c.type]).setTitle(c.title);d=_.A(d,4,c.iconUri);d=_.Xdd(d.setSize(c.size),_.ON(c.updateTime));d=_.A(d,7,c.hasCustomBehavior).lm(c.description);return _.A(d,9,c.ongoingSyncEnabled)});_.Nj(b,1,a);return b},lkd={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,
BACKUP_SOURCE_ANDROID:2},nkd={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 pkd=function(a,b){this.H=a;this.O=b};
var qkd={read:2,write:3,comment:4},rkd=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.PF((new _.Yk).Pb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&_.cN(d,_.i0c(c.userCapabilities));_.oN(b).includes(19)&&_.gXc(d,!0);lcd(a,d,_.oN(b));_.hXc(d,4);return d},tkd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Mna;f=_.A(f,2,skd(e));e=rkd(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.QA).Ow(d).AP(c.suggestionSessionId);return _.QZc(new _.HN,c)},vkd=function(a,
b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=ukd(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=rkd(a,b,l),d.push(q));l=D4c(C4c(B4c(new _.Jna,k.clone()),skd(l)),l.url);_.Xj(q,107,l,_.Jna,void 0)})}});return b6c((new _.xN).Ow(d),e).AP(c.suggestionSessionId)},ukd=function(a){return _.vWc((new _.Fk).Pb(a.id).jd(a.displayName),a.emailAddress).ho(a.photoUrl)},
xkd=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=rkd(a,b,e);e=wkd(e);f=_.Nj(f,117,e);d.push(f)}});c=(new _.QA).Ow(d).AP(c.suggestionSessionId);return _.QZc(new _.HN,c)},wkd=function(a){var b=a.action;return b?b.map(function(c){var d=new _.qna,e=ykd(c);e&&_.Wj(d,2,_.Ik[0],e);(e=zkd(c))&&t3c(d,e);(e=Akd(c))&&_.Wj(d,4,_.Ik[0],e);(e=Bkd(c))&&_.Wj(d,5,_.Ik[0],e);(e=Ckd(c))&&_.Wj(d,6,_.Ik[0],e);(e=Dkd(c))&&_.Wj(d,7,_.Ik[0],e);(e=Ekd(c))&&_.Wj(d,8,_.Ik[0],e);(e=Fkd(c))&&
_.Wj(d,9,_.Ik[0],e);(e=Gkd(c))&&_.Wj(d,10,_.Ik[0],e);(c=Hkd(c))&&_.Wj(d,11,_.Ik[0],c);return d}):(a=PP(a),a=d4c([a]),[t3c(new _.qna,a)])},Jkd=function(a){return(a.justification||[]).map(function(b){return Ikd(b)})},PP=function(a){return(a=a.justification)?Ikd(a):null},Ikd=function(a){var b=q3c(new _.Hk,Kkd(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=ukd(c),_.Wj(b,3,_.pna[0],c),r3c(b,[c])):d?(c=(d.person||[]).map(function(e){return ukd(e)}),d=p3c(c),_.Wj(b,4,_.pna[0],d),r3c(b,c)):(c=(a.person||
[]).map(function(e){return ukd(e)}),c.length&&(d=p3c(c),_.Wj(b,4,_.pna[0],d),r3c(b,c)));_.A(b,5,_.ON(a.eventTime));s3c(b,Kkd(a.justificationDescription));return b},Kkd=function(a){if(!a)return null;a=a.textSegment||[];return m3c(new _.nna,a.map(function(b){var c=(new _.Dk).nh(b.text),d=b.link;if(d){var e=new _.Ek;d=_.A(e,1,d.url)}else d=null;c=_.J(c,2,d);c=_.A(c,3,b.bold);return _.A(c,4,b.italic)}))},ykd=function(a){a=a.documentDocosAction;if(!a)return null;var b=S3c(new _.wna,PP(a));R3c(b,(a.subAction||
[]).map(function(c){var d=new _.yna;c.reply?(c=new _.sna,_.Wj(d,1,_.xna[0],c)):c.resolve?(c=new A3c,_.Wj(d,2,_.xna[0],c)):c.reassign?(c=new y3c,_.Wj(d,3,_.xna[0],c)):c.acceptSuggestion?(c=new u3c,_.Wj(d,4,_.xna[0],c)):c.rejectSuggestion?(c=new z3c,_.Wj(d,5,_.xna[0],c)):c.openThread&&(c=new _.rna,_.Wj(d,6,_.xna[0],c));return d}));_.A(b,2,a.discussionId);_.A(b,3,a.postId);T3c(b,Kkd(a.anchorText));return b},Akd=function(a){a=a.documentShareAction;if(!a)return null;var b=W3c(new _.Ok,PP(a));V3c(b,(a.subAction||
[]).map(function(c){var d=new Y3c;c.suggestedShare?(c=new E3c,_.Wj(d,1,X3c[0],c)):c.responseToRequest&&(c=new B3c,_.Wj(d,2,X3c[0],c));return d}));U3c(b,(a.sharee||[]).map(function(c){return ukd(c)}));_.A(b,3,qkd[a.shareeRole]);return b},zkd=function(a){a=a.documentViewAction;if(!a)return null;var b=d4c(Jkd(a));c4c(b,(a.subAction||[]).map(function(c){var d=new f4c;c.open?d.qg(new kO):c.reviewEdits&&(c=new C3c,_.Wj(d,2,e4c[0],c));return d}));return b},Bkd=function(a){a=a.emailViewAction;if(!a)return null;
var b=q4c(new o4c,PP(a));p4c(b,(a.subAction||[]).map(function(c){var d=new s4c;c.openEmail&&d.qg(new w3c);return d}));return b},Ckd=function(a){a=a.calendarEventAction;if(!a)return null;var b=K3c(J3c(I3c(new _.Mk,a.eventId),PP(a)),a.guestCount);H3c(b,(a.subAction||[]).map(function(c){var d=new M3c;if(c.viewCalendarEvent){var e=new F3c;_.Wj(d,1,L3c[0],e)}c.shareWithAttendees&&(e=new D3c,_.Wj(d,2,L3c[0],e));c.present&&(e=new x3c,_.Wj(d,3,L3c[0],e));c.openDocument&&(c=new kO,_.Wj(d,4,L3c[0],c));return d}));
return b},Dkd=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=k4c(j4c(new h4c,a.workspaceId),PP(a));i4c(b,(a.subAction||[]).map(function(c){var d=new m4c;c.addToWorkspace&&(c=new v3c,_.Wj(d,1,l4c[0],c));return d}));return b},Ekd=function(a){a=a.documentTopicAction;if(!a)return null;var b=$3c(new _.Pk,PP(a));Z3c(b,(a.subAction||[]).map(function(c){var d=new b4c;c.openDocument&&(c=new kO,_.Wj(d,1,a4c[0],c));return d}));return b},Fkd=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=y4c(new _.Sk,PP(a));x4c(b,(a.subAction||[]).map(function(c){var d=new A4c;c.openDocument&&(c=new kO,_.Wj(d,1,z4c[0],c));return d}));return b},Gkd=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=O3c(new _.Nk,PP(a));N3c(b,(a.subAction||[]).map(function(c){var d=new Q3c;c.openDocument&&(c=new kO,_.Wj(d,1,P3c[0],c));return d}));return b},Hkd=function(a){a=a.formResponseAction;if(!a)return null;var b=u4c(new _.Rk,Jkd(a));t4c(b,(a.subAction||[]).map(function(c){var d=new w4c;c.openDocument?
(c=new kO,_.Wj(d,1,v4c[0],c)):c.viewResponses&&(c=new G3c,_.Wj(d,2,v4c[0],c));return d}));return b},skd=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var Lkd=function(a,b){this.H=a;this.O=b},Nkd=function(a,b,c){_.NN(["drive#categoryMetadataList"],c);var d=new zO,e=Object.values(c.categoryMetadata||{});m7c(d,e.map(function(f){return Mkd(a,f,b.Cc())}));d.Dc(1);return new _.AN(d,Mdd(c))},Pkd=function(a,b){var c=new xP;ved(c,(b.categories||[]).map(function(d){return Okd(a,d)}));c.Dc(1);return new H9c(c,Mdd(b))},Mkd=function(a,b,c){_.NN(["drive#categoryMetadata"],b);c=n6c((new tO).jd(b.categoryName),c);b=Object.values(b.attributeValues||[]);m6c(c,b.map(function(d){return Qkd(a,
d)}).filter(function(d){return d}));return c},Okd=function(a,b){var c,d=W6c(N6c(T6c(S6c(R6c(M6c(L6c((new wO).jd(b.name),b.categoryName),b.latestName).setTitle(b.title).lm(b.description),_.ON(b.createTime)),_.ON(b.updateTime)),_.ON(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){var f=e.type;var h=(new I6c).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=Rkd(e.attributeDisplayHints);_.J(h,5,k)}if(e.capabilities){k=
e.capabilities;var l=new q6c;l=_.A(l,1,k.canSearch);k=_.A(l,2,k.canWrite);_.J(h,6,k)}_.A(h,7,Skd[f]);e=e[Tkd(f)+"Options"];return Ukd(a,h,f,e)?h:null}).filter(function(e){return e})),b.customer);b.createdBy&&O6c(d,Vkd(b.createdBy));b.updatedBy&&P6c(d,Vkd(b.updatedBy));b.publishedBy&&Q6c(d,Vkd(b.publishedBy));b.displayHints&&U6c(d,Rkd(b.displayHints));b.capabilities&&V6c(d,Wkd(b.capabilities));b.learnMoreUri&&_.A(d,15,b.learnMoreUri);return d},Qkd=function(a,b){_.NN(["drive#categoryAttributeValue"],
b);var c=(new rO).Pb(b.id);if(b.userScoped)b=Object.values(b.userScoped),k6c(c,b.map(function(d){_.NN(["drive#userScopedAttributeValue"],d);var e=new h6c,f=_.PN(a.H,d.scopedUser);e=_.J(e,1,f);return a.Lb(e,d)?e:null}).filter(function(d){return d})),c.IA(9);else if(!a.Lb(c,b))return null;return c},Rkd=function(a){var b=(new p6c).fk(a.disabled);b=_.A(b,2,a.hidden);b=_.A(b,3,a.activatedInAllDrives);return _.A(b,4,!!a.required)},Wkd=function(a){var b=new K6c;b=_.A(b,1,a.canSearch);b=_.A(b,2,a.canApply);
b=_.A(b,4,a.canRemove);return _.A(b,3,a.canManageSharedDriveActivation)},Ukd=function(a,b,c,d){return Xkd(a,function(){Ykd(a)[c](b,d)},c,b)},Zkd=function(a){a=void 0===a?{}:a;var b=new t6c;b=_.A(b,1,a.minSize);return _.A(b,2,a.maxSize)},ald=function(a){var b=new z6c;A6c(b,(a.choices||[]).map(function(c){var d=new y6c;d=_.A(d,1,c.label).Lb(c.value);c.description&&d.lm(c.description);if(c.capabilities){var e=c.capabilities;var f=new w6c;f=_.A(f,1,e.canSearch);e=_.A(f,2,e.canSelect);_.J(d,3,e)}c.displayHints&&
(c=c.displayHints,e=(new x6c).fk(c.disabled),e=_.A(e,2,c.hidden),c.badgePriority&&_.A(e,5,c.badgePriority),c.badgeColors&&(f=$kd(c.badgeColors),_.J(e,3,f)),c.darkBadgeColors&&(c=$kd(c.darkBadgeColors),_.J(e,4,c)),_.J(d,4,e));return d}));return b},$kd=function(a){var b=new o6c;var c=bld(a.backgroundColor);b=_.J(b,1,c);c=bld(a.foregroundColor);b=_.J(b,2,c);a=bld(a.soloColor);return _.J(b,3,a)},bld=function(a){var b=new _.vC;b=_.Pj(b,1,a.red,0);b=_.Pj(b,2,a.green,0);b=_.Pj(b,3,a.blue,0);a.alpha&&(a=
(new b5c).Lb(a.alpha),_.J(b,4,a));return b},cld=function(a){var b=new D6c;b=_.A(b,1,a.showThousandsSeparator);b=_.A(b,2,a.minValue);return _.A(b,3,a.maxValue)},dld=function(a){var b=(new _.coa).setYear(a.year).setMonth(a.month);return _.A(b,3,a.day)};Lkd.prototype.Lb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.IA(Skd[d]);return Xkd(this,function(){eld(c)[d](a,b[b.valueType])},b.valueType)};
var Xkd=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof F6c))return D5c(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},Vkd=function(a){return _.tWc(1).Pb(a.personName.split("/")[1])},Tkd=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Ykd=function(a){return{BOOLEAN:function(b,c){var d=b.e4a;var e=new u6c;e=_.A(e,1,c.trueLabel);c=_.A(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.eda(Zkd(c))},TEXT_LIST:function(b,c){var d=b.e5a;var e=new C6c;e=_.A(e,1,c.maxEntries);c=Zkd(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new s6c;d=_.A(d,1,c.minSize);c=_.A(d,2,c.maxSize);return _.Wj(b,10,uO[0],c)},SELECTION:function(b,c){return b.S4a(ald(c))},SELECTION_LIST:function(b,c){var d=b.R4a;var e=new B6c;e=_.A(e,1,c.maxEntries);c=ald(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.r4a(cld(c))},INTEGER_LIST:function(b,
c){var d=b.q4a;var e=new E6c;e=_.A(e,1,c.maxEntries);c=cld(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.j5a(new G6c)},USER_LIST:function(b,c){var d=b.rpa,e=new H6c;c=_.A(e,1,c.maxEntries);e=new G6c;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Yoa;var e=new r6c;e=_.A(e,4,c.dateFormat);var f=dld(c.minValue);e=_.J(e,2,f);c=dld(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new F6c;d=_.A(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.A(d,2,Skd[e]);c=c[Tkd(e)+"Options"];Ukd(a,d,e,c);return _.Wj(b,16,uO[0],d)}}},eld=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.npa(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.jpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.bpa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.PN(a.H,c))},USER_LIST:function(b,c){j6c(b,c.map(function(d){return _.PN(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},Skd={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 fld=function(a){a=a.personResponse;return cad(new bad,a.map(function(b){var c=b.person;b=Z$c(new ZO,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=$$c(b,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new Y$c;c=_.A(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))};
var gld=function(a){this.H=a},ild=function(a,b){_.NN(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return hld(a,c)})},hld=function(a,b){_.NN(["drive#teamDrive","drive#drive"],b);var c=new _.Ona,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)&&
J1c(c,d.map(function(e){_.NN(["drive#driveCategoryReference"],e);var f=new _.Xk;return _.A(f,1,e.category)}));c=_.mXc(_.lXc(_.kXc(_.hXc(_.iXc(I1c(_.PF((new _.Yk).Pb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.HWc(_.i0c(b.capabilities),!0),_.cN(c,d));b.permissionsSummary&&_.jXc(c,_.y0c(a.H,b.permissionsSummary));b.restrictions&&L1c(c,jld(b.restrictions));return c},jld=function(a){var b=new E4c;
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 kld={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},Z2c=_.ab(kld);
var lld=function(a){_.NN(["drive#setting"],a);var b=new _.Ob;b=_.A(b,2,a.key);b=_.A(b,1,kld[a.namespace]);return _.WAa(new _.hp,b).Lb(a.value)};
var nld=function(a){_.NN(["drive#workspaceList"],a);var b=a.items||[];b=fad(new $O,b.map(function(c){return mld(c)}));return new _.DN(b,Mdd(a))},mld=function(a){_.NN(["drive#workspace"],a);var b=(new _.KF).Pb(a.id).setTitle(a.title);b=_.A(b,3,_.ON(a.createdDate));return _.A(b,4,_.ON(a.modifiedDate)).Md(old[a.state])},pld=function(a,b,c){var d=c.item||[];return _.p1c(_.o1c(new _.WN,d.map(function(e){return rkd(a,b,e)})),c.suggestionSessionId)},rld=function(a,b,c){var d=c.item||[];return j9c(i9c(new KO,
d.map(function(e){return qld(a,b,e)})),c.suggestionSessionId)},qld=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return g9c(e9c(f9c(d9c(new JO,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return rkd(a,b,f)})),PP(c))},sld=function(a){var b=new _.e6c;a.kind&&(a=mld(a),_.J(b,2,a));b.Dc(1);return b},old={active:1,archived:2};
var V2c={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5};
var tld=function(a,b,c,d){_.I0c.call(this,b);this.Ig=a;this.ka=c;this.O=d;this.W=null;this.ma=new fjd(this.V,b);this.H=new gld(this.lF);this.oa=new pkd(this.lF,this.H)};_.L(tld,_.I0c);var uld=function(a){a.W||(a.W=new Lkd(a.V,a.ka));return a.W};
tld.prototype.ha=function(a,b){if(a instanceof _.eM)var c=_.q0c(_.N0c(a));else{if(a instanceof _.fM)var d=_.K0c(this,a,b);else{if(a instanceof _.VVc)var e=vld(this,a.request,b);else{if(a instanceof _.gM)var f=_.K0c(this,a,b);else{if(a instanceof _.iM){if(!b.json)throw _.QN();var h=o7c((new n7c).Dc(1),hld(this.H,b.json))}else{if(a instanceof _.hM)var k=_.K0c(this,a,b);else{if(a instanceof _.tN)var l=new a7c;else{if(a instanceof _.kM)var p=wld(a,b);else{if(a instanceof _.lM)var q=hkd(void 0,a.yh());
else{if(a instanceof _.mM)var r=new kfd;else{if(a instanceof _.nM)var u=_.q0c(_.N0c(a));else{if(a instanceof _.oM)var y=new wP;else{if(a instanceof _.pM)var z=_.q0c(_.N0c(a));else{if(a instanceof _.qM)var D=_.q0c(_.N0c(a));else{if(a instanceof _.jD){var H=new oed,I=a.getKey();var M=_.J(H,4,I)}else{if(a instanceof _.rM)var Q=wld(a,b);else{if(a instanceof _.uM)var W=_.q0c(_.N0c(a));else{if(a instanceof _.SVc){if(!b.json)throw _.QN();var pa=new F9c(b.json.exportJob.id)}else{if(a instanceof _.wM){if(!b.json)throw _.QN();
var ia=b.json,na=new jed,qa=gkd(ia);var ua=_.J(na,2,qa).Dc(1)}else{if(a instanceof _.xM)var Wa=xld(a,b);else{if(a instanceof _.yM){if(!b.json)throw _.QN();var Ea=(new wP).Dc(1),Pa=_.r0c(this.lF,b.json);var dc=_.J(Ea,2,Pa)}else{if(a instanceof _.JL)a:{if(!b.json)throw _.QN();if(a instanceof _.JL){var pb=a.wd();if(pb&&_.zM(pb)){var Zb=tkd(this.O,this.Ig,b.json);break a}if(pb&&_.AM(pb)){Zb=vkd(this.O,this.Ig,b.json);break a}if(pb&&_.BM(pb)){Zb=xkd(this.O,this.Ig,b.json);break a}}Zb=_.n0c(this.lF,b.json,
b.headers)}else{if(a instanceof _.CM){if(!b.json)throw _.QN();var Jc=okd(b.json)}else{if(a instanceof _.DM){if(!b.json)throw _.QN();var ne=b.json;_.NN(["drive#appList"],ne);for(var oe=new YO,Id=[],ff=ne.items||[],Dc=0;Dc<ff.length;Dc++)Id.push(gkd(ff[Dc]));var Bb=_.Nj(oe,2,Id);var Og=_.Kj(Bb,4,ne.defaultAppIds).Dc(1)}else{if(a instanceof _.TVc){if(!b.json)throw _.QN();var Ag=mkd(b.json)}else{if(a instanceof _.VL)var Ve=yld(this,b);else{if(a instanceof _.EM){if(!b.json)throw _.QN();var Cj=new med,
Zf=this.lF,ni=b.json,Fg=new qO,im=_.s0c(Zf,ni,"items");var pf=_.Nj(Fg,2,im);var $e=_.J(Cj,1,pf);var eh=_.A($e,2,Mdd(b.json))}else{if(a instanceof _.FM){if(!b.json)throw _.QN();var oi=this.lF,aj=b.json,Ml=new V5c;_.NN(["drive#revisionList"],aj);for(var ik=[],Qj=aj.items||[],fh=0;fh<Qj.length;fh++){var gl=_.o0c(oi,Qj[fh]);ik.push(gl)}var hl=_.Nj(Ml,2,ik)}else{if(a instanceof _.kL)var Gg=zld(a,b);else{if(a instanceof _.HM){if(!b.json)throw _.QN();var il=fld(b.json)}else{if(a instanceof _.aWc){if(!b.json)throw _.QN();
var jm=Pkd(uld(this),b.json)}else{if(a instanceof _.GF){if(!b.json)throw _.QN();var jl=uld(this),Wh=b.json,Dj=new wed,oj=Okd(jl,Wh);var pj=_.J(Dj,2,oj).Dc(1)}else{if(a instanceof _.IM){if(!b.json)throw _.QN();var Rj=b.json;_.NN(["drive#remainingCount"],Rj);var Jh=new xed,Nl=Rj.nextPageToken;null!=Nl&&_.A(Jh,2,Number(Nl));_.A(Jh,1,Number(Rj.remainingCount));var qj=Jh}else{if(a instanceof _.JF){if(!b.json)throw _.QN();var jk=(new _.QA).Ow([hld(this.H,b.json)])}else{if(a instanceof _.SM){if(!b.json)throw _.QN();
var km=(new _.QA).Ow(ild(this.H,b.json)),kl=_.QZc(new _.HN,km);var Im=_.A(kl,3,Mdd(b.json))}else{if(a instanceof _.MM)var kk=xld(a,b);else{if(a instanceof _.NM)var Jk=vld(this,a,b);else{if(a instanceof _.TL)var uf=_.K0c(this,a,b);else{if(a instanceof _.OM)var Bi=_.K0c(this,a,b);else{if(a instanceof _.PM)var lk=Ald(this,b);else{if(a instanceof _.kD){if(!b.json)throw _.QN();var Fc=lld(b.json),Kk=new oed;var Pg=_.J(Kk,3,Fc);var mk=Fc.getKey();var Mi=_.J(Pg,4,mk)}else{if(a instanceof _.QM)var Ln=wld(a,
b);else{if(a instanceof _.EL){if(!b.json)throw _.QN();var nk=jjd(this.ma,b.json)}else{if(a instanceof _.LF){if(!b.json)throw _.QN();var xh=mld(b.json),Qg=new _.yN;Qg.PT().set(xh.getId(),xh);var Lk=Qg}else{if(a instanceof _.UVc){if(!b.json)throw _.QN();for(var ll=b.json,Qh=new B9c,Ni=_.m(Object.entries(ll)),jn=Ni.next();!jn.done;jn=Ni.next()){var pi=_.m(jn.value),ml=pi.next().value,Mn=pi.next().value;switch(ml){case "nextPageToken":_.ek(Qh,2,Mn);break;case "activities":var kn=Ojd(Mn);_.Nj(Qh,1,kn)}}var Jm=
Qh}else{if(a instanceof _.WVc)var Nn=Ald(this,b);else{if("undefined"!=typeof _.$Vc&&a instanceof _.$Vc)var Ol=yld(this,b);else{if(a instanceof _.XVc){if(!b.json)throw _.QN();var Km=new E9c}else{if(a instanceof _.YVc){if(!b.json)throw _.QN();var ln=Y2c(b)}else{if(a instanceof _.iD){if(!b.json)throw _.QN();var On=b.json,xk=new _.sz;_.NN(["drive#settingList"],On);for(var To=[],Fp=On.items||[],Gp=0;Gp<Fp.length;Gp++){var Js=lld(Fp[Gp]);Js&&To.push(Js)}var Pw=_.Yhb(xk,To)}else{if(a instanceof _.IF){if(!b.json)throw _.QN();
var Ks=rld(this.O,this.Ig,b.json).Dc(1)}else{if(a instanceof _.HF){if(!b.json)throw _.QN();var Yn=pld(this.O,this.Ig,b.json)}else{if(a instanceof _.fWc){if(!b.json)throw _.QN();var Iq=b.json;_.NN(["drive#teamDrive"],Iq);var Ut=Iq.recursiveFolderCount,$C=Iq.recursiveFileCount,DA=new bed;var aD=_.A(DA,1,$C);var Vt=_.A(aD,2,Ut)}else{if(a instanceof _.eWc)var Tw=Bld(b);else{if(a instanceof _.hWc){if(!b.json)throw _.QN();var Uw=nld(b.json)}else Uw=a instanceof _.fO?Ald(this,b):null;Tw=Uw}Vt=Tw}Yn=Vt}Ks=
Yn}Pw=Ks}ln=Pw}Km=ln}Ol=Km}Nn=Ol}Jm=Nn}Lk=Jm}nk=Lk}Ln=nk}Mi=Ln}lk=Mi}Bi=lk}uf=Bi}Jk=uf}kk=Jk}Im=kk}jk=Im}qj=jk}pj=qj}jm=pj}il=jm}Gg=il}hl=Gg}eh=hl}Ve=eh}Ag=Ve}Og=Ag}Jc=Og}Zb=Jc}dc=Zb}Wa=dc}ua=Wa}pa=ua}W=pa}Q=W}M=Q}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 wld=function(a,b){if(!b.json){if(a instanceof _.rM)return sld({});throw _.QN();}return sld(b.json)},Ald=function(a,b){if(!b.json)throw _.QN();a=hld(a.H,b.json);return(new _.UM).Dc(1).setItem(a)},vld=function(a,b,c){if(!c.json)throw _.QN();return Nkd(uld(a),b,c.json)},xld=function(a,b){if(!b.json)throw _.QN();return hkd(b.json,a.yh())},yld=function(a,b){if(!b.json)throw _.QN();a=a.oa;var c=b.json;_.NN(["drive#about","drive#changeList"],c);b=new W$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){_.NN(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.NN(["drive#change"],h);var k=new _.ML;k=_.A(k,1,Number(h.id));h.teamDriveId?(_.oVc(k,h.teamDriveId),_.NL(k,h.teamDriveId)):_.NL(k,h.fileId);h.file?k.setItem(_.k0c(f.H,h.file)):h.teamDrive&&k.setItem(hld(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.XL(k);d.push(k)}_.Nj(b,4,d)}return b},Bld=function(a){var b,c;if(!a.json)throw _.QN();
a=a.json;var d=a.result&&a.result.status;d=d&&Cld[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 Oed(Ned(Med(new _.Led,f.sourceId),f.fileCount),null!==(k=null===(h=f.unmovableFileReasons)||void 0===h?void 0:h.map(function(l){var p=new _.Jed;p=_.A(p,1,l.unmovableReason);return _.A(p,2,l.count)}))&&void 0!==k?k:[])})))&&void 0!==c?c:[];return Ied(Hed(Ged(Fed(new yP,Mdd(a)),a.processedFileCount).Dc(d),a.result&&a.result.validationToken),
e)},zld=function(a,b){var c=new mfd;if(_.Md(a,6).length){var d=[];V1c(_.Md(a,6),b.headers).forEach(function(e,f){var h=new _.nSc;e=_.A(h,1,f).Lb(e);d.push(e)});_.Nj(c,1,d)}nfd(c,b.json?JSON.stringify(b.json):b.text);return c},Cld={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var Eld=function(a){var b=new _.Po;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(Dld[a]);_.qN(b,c.join(" "))}return b.toString()},Fld={},Dld=(Fld[1]="active",Fld[2]="archived",Fld);
var Gld=function(a,b,c,d){_.TN.call(this,b,c,a.RMa,d);this.ma=a;this.ha=new i$c(_.oN(c),b)};_.L(Gld,_.TN);
Gld.prototype.V=function(a,b,c){var d=this;try{return _.TN.prototype.V.call(this,a,b,c)}catch(Q){}var e=0,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.fM){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();_.P(a,4)&&(k.preflightValidationToken=_.B(a,4));var r=Ndd(a);f["content-type"]="application/json";l=p=!0}else if(a instanceof _.gM){h="POST";q="files/"+a.Cc()+"/authorize";k.appId=a.yh();
_.R(a,3)&&(k.propagate=!0);var u=a.we();p=!0;_.nN(k);_.XM(this.H,[],[a.Cc()],this.O,f)}else if(a instanceof _.fO)q="drives/"+a.getId(),h="PUT",r={},r=(r.removeSecureLinkUpdateForAllFiles=_.S(a,2,!1),r),f["content-type"]="application/json",k.fields=PO(this.H,[],!0),u=a.we(),p=!0;else if(a instanceof _.WVc)h="POST",q="teamdrives/"+a.requestId,k.fields=PO(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 _.kM)h="POST",q="workspaces",
k.fields="kind,id,title,createdDate,modifiedDate,state",r=Pdd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.hM)h="POST",q="files/"+a.getId()+"/copy",k.fields=_.JVc({fields:this.Kg(c),jr:_.CL(_.DL(this.H)),zG:_.IL(this.H)}),k.convert=_.S(a,4,!1),r=Odd(a),f["content-type"]="application/json",u=a.we(),a=_.Md(a,3).concat([a.getId()]),_.XM(this.H,[],a,this.O,f),p=!0,_.nN(k),_.Z0c(this.H,k);else if(a instanceof _.lM)h="DELETE",q="apps/"+a.yh(),k.appId=a.yh(),k.deleteAppData=
!!_.R(a,2),u=a.we(),p=!0;else if(a instanceof _.mM)h="DELETE",q="backups/"+a.getId(),e=9;else if(a instanceof _.nM)h="DELETE",q="files/"+a.getId(),u=a.we(),p=!0,_.nN(k),_.Z0c(this.H,k),_.XM(this.H,[],[a.getId()],this.O,f);else if(a instanceof _.oM)h="DELETE",q="files/"+a.Cc()+"/permissions/"+_.B(a,2),u=a.we(),p=!0,_.nN(k);else if(a instanceof _.pM)h="DELETE",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),u=a.we(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.qM)h="DELETE",q="teamdrives/"+
a.getId(),u=a.we(),p=!0;else if(a instanceof _.jD)h="DELETE",u=a.getKey(),q="settings/"+_.B(u,2),_.ip(u)&&(k.namespace=Z2c[_.ip(u)]),u=a.we(),p=!0;else if(a instanceof _.rM)h="DELETE",q="workspaces/"+a.getId(),u=a.we(),p=!0;else if(a instanceof _.uM)h="DELETE",q="files/trash",u=a.wd().we(),p=!0,_.Z0c(this.H,k);else if(a instanceof _.wM)q="apps/"+a.yh(),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 _.CM)q="backups/"+a.getId()+"/items",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.xM)h="POST",q="apps",k.appId=a.yh(),u=a.we(),p=!0;else if(a instanceof _.yM)h="POST",q="files/"+a.Cc()+"/permissions",k.fields=_.IL(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",k.emailMessage=
_.B(a,5)||"",k.sendNotificationEmail=!_.S(a,6,!1),r={},1==a.zf()?r.role="owner":3==a.zf()?r.role="writer":4==a.zf()?(r.role="reader",r.additionalRoles=["commenter"]):2==a.zf()&&(r.role="reader"),1==a.getType()?r.type="user":2==a.getType()?r.type="group":3==a.getType()?r.type="domain":4==a.getType()?r.type="anyone":5==a.getType()&&(r.type="audience"),a.Ya()&&(r.value=a.Ya()),r.withLink=!_.S(a,8,!1),f["content-type"]="application/json",u=a.we(),p=!0,_.nN(k);else if(a instanceof _.SVc)e=8,h="POST",q=
"/v1/exports",f["content-type"]="application/json",r=_.Md(a,1).map(function(Q){if(_.S(d.H,89,!1)){var W=_.BZc(d.O,Q);if(null!==W)return{id:Q,resource_key:{resource_key:W}}}return{id:Q}}),r={archiveFormat:null,archivePrefix:_.B(a,2),conversions:null,items:r,locale:null};else if(a instanceof _.JL||a instanceof _.tN||a instanceof _.IF||a instanceof _.HF)if(b=a instanceof _.JL?a.wd():a,_.WM(b)){e=10;h="POST";q="/v1/items";f["content-type"]="application/json";r={};var y=9==_.hN(this.H)?"WEB_MOBILE":"WEB_DESKTOP",
z={};z.applicationType=r$c(this.H);z.platformType=y;z.languageCode=mO(_.DL(this.H));z.timeZone=(new _.Et).v$();z.requestType="LIVE_REQUEST";a instanceof _.JL&&(y=a.getOptions())&&_.S(y,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ye?_.zM(b)?(o$c(this.ha)?(z.scenarioType="ONE_PICK",this.Cd.O(106026)):z.scenarioType="QUICK_ACCESS",2==_.fN(b)&&(o$c(this.ha)||(z.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),r.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.Md(b,33)[0]}),_.Fl(b).length&&
(r.itemType=q$c(b))):_.AM(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.BM(b)&&(z.scenarioType="DRIVE_PRIORITY"):b instanceof _.tN?(q="/v1/userfeedback",r.userFeedback=_.Uj(b,_.Y6c,1).map(function(Q){var W=_.C(Q,_.xO,2),pa={},ia={};ia.feedbackType=p7c[W.getType()];pa.item=ia;pa.clientInfo=z;switch(Q.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ia.itemId=W.Cc();break;case 3:z.scenarioType="QUICK_ACCESS";ia.itemId=W.Cc();break;case 2:z.scenarioType="DRIVE_WORKSPACES",ia.itemId=W.Cc(),ia.childItem=
_.Uj(W,_.xO,3).map(function(na){var qa={};qa.itemId=na.Cc();return qa})}return pa})):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.Np()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:_.R(b,5)}]):_.b1c(a);b instanceof _.tN||(r.maxSuggestions=b.Li(),r.clientInfo=z)}else{u=b.we();p=!0;q="files";k.q=_.EYc(b);y=[];var D;(D=_.SL(this.H))&&
_.S(D,4,!1)?(D=_.xa(this.Kg(c),this.Kg(c,b.O())),_.Fa(D)):D=_.ya(this.Kg(c));var H=void 0,I=!1;0<_.Uj(b,_.Al,5).length&&(H=_.B(this.H.Zf(),50),I=!0);k.fields=A1c({fields:D,jr:_.CL(_.DL(this.H)),t7:H||void 0,zG:_.IL(this.H),oBb:I});k.appDataFilter="NO_APP_DATA";0<_.Uj(b,_.eN,25).length&&(k.sources=_.wYc(b));0<b.kB().length&&(k.spaces=_.xYc(b));a.Sn()&&(k.pageToken=a.Sn());(a=a.getOptions())&&_.bk(a,1,1E3)&&(k.maxResults=_.bk(a,1,1E3));_.S(b,36,!1)&&(k.includeUnsubscribed=!0);_.B(b,43)&&(k.rawUserQuery=
_.B(b,43));_.nN(k);k.includeItemsFromAllDrives=_.S(b,66,!0);0<_.Md(b,33).length&&2==_.fN(b)&&(a=_.Md(b,33)[0],k.teamDriveId=a,y.push(a));k.corpora=_.dYc[_.fN(b)];_.R(b,18)&&(_.Xa(k,"corpora"),k.corpus="DOMAIN");a=_.Gl(b);D=_.Uj(b,_.vl,35);H=_.Uj(b,_.vl,38);y=y.concat(a.filter(function(Q){return!_.S(Q,2,!1)}).map(function(Q){return Q.Ya()})).concat(D.map(function(Q){return Q.Ya()})).concat(H.map(function(Q){return Q.Ya()}));_.XM(this.H,_.Uj(b,_.Cl,63),y,this.O,f);X1c(k,b.Ac());_.$0c(this.H,k);_.a1c(this.H,
k);_.C(b,_.dea,64)&&(a=F4c(_.C(b,_.dea,64)),a=_.kb(a,4),k.searchSessionData=a)}else if(a instanceof _.DM){q="apps";switch(a.getType()){case 1:k.fields=Hld;break;case 2:k.fields=Ild;break;case 4:k.fields=Jld;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.ku=!0}k.languageCode=mO(_.DL(this.H));
0<_.Md(a,3).length&&(k.appFilterExtensions=_.Md(a,3).join(","));0<_.Md(a,4).length&&(k.appFilterMimeTypes=_.Md(a,4).join(","));u=a.we();p=!0}else if(a instanceof _.TVc)q="backups",e=9,k.languageCode=mO(_.DL(this.H));else if(a instanceof _.VL)q="changes",k.includeDeleted=_.S(a,3,!0),k.includeSubscribed=_.S(a,4,!0),k.maxResults=a.PQ(),k.startChangeId=_.B(a,1),k.fields=z1c({fields:this.Kg(c),t7:PO(this.H,_.Md(a,5)),jr:_.CL(_.DL(this.H)),zG:_.IL(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters=
"DRIVE_DATASERVICE"),u=_.Md(this.H.Zf(),31),u.length&&(k.spaces=_.We(u,function(Q){return _.qSc[Q]}).join(",")),_.nN(k),k.includeCorpusRemovals=!0,k.includeItemsFromAllDrives=!0,a.Bc()&&(k.teamDriveId=a.Bc()),u=a.we(),p=!0;else if(a instanceof _.EM)b=a.wd(),q="files/"+b.getId()+"/permissions",k.fields=_.IL(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.Sn()&&(k.pageToken=a.Sn()),_.B(a,1)&&(k.maxResults=_.B(a,1)),u=b.we(),p=!0,_.nN(k),_.$0c(this.H,k),_.a1c(this.H,k),_.XM(this.H,[],[b.getId()],this.O,f);else if(a instanceof _.FM)k.fields=_.IL(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.Cc()+"/revisions",u=a.we(),p=!0,_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.JF)q="teamdrives/"+a.an()[0],k.fields=PO(this.H,a.O()),u=a.we(),p=!0;else if(a instanceof _.eWc)h="POST",q="admin/files/migrateToTeamDrivePreFlight",_.R(a.request,3)&&(k.useDomainAdminAccess=!0),r=Qdd(a),f["content-type"]="application/json",p=l=!0,_.XM(this.H,[],_.Md(a.request,1),this.O,f);else if(a instanceof _.SM)u=a.wd(),q="teamdrives",k.fields=J9c(this.H,u.O()),k.q=$9c(u),
a.Sn()&&(k.pageToken=a.Sn()),(u=(u=a.getOptions())&&_.bk(u,1,1E3))&&(k.maxResults=u),u=a.wd().we(),p=!0;else if(a instanceof _.fWc)q="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",p=l=!0;else if(a instanceof _.MM)h="PUT",q="apps/"+a.yh(),k.appId=a.yh(),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 _.TL)h="PUT",q="files/"+a.getId(),k.fields=_.JVc({fields:this.Kg(c),jr:_.CL(_.DL(this.H)),
zG:_.IL(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.R(a,15),k.fileId=a.getId(),_.Md(a,9).length&&(k.addParents=_.Md(a,9).join(",")),_.Md(a,10).length&&(k.removeParents=_.Md(a,10).join(",")),_.Md(a,31).length&&(k.addWorkspaces=_.Md(a,31).join(",")),_.Md(a,32).length&&(k.removeWorkspaces=_.Md(a,32).join(",")),null!=_.R(a,24)&&(k.confirmed=_.R(a,24)),k.languageCode=mO(_.DL(this.H)),r=Rdd(a),f["content-type"]="application/json",u=a.we(),p=!0,_.nN(k),this.W(a.getId(),k),_.R(a,36)?
k.bypassMultiparentingCheck=!0:_.Z0c(this.H,k),b=_.Md(a,9).concat(_.Md(a,10)),b.push(a.getId()),_.XM(this.H,_.Uj(a,_.Cl,38),b,this.O,f);else if(a instanceof _.OM)h="PUT",q="files/"+a.Cc()+"/revisions/"+_.B(a,2),r=Sdd(a),f["content-type"]="application/json",u=a.we(),_.XM(this.H,[],[a.Cc()],this.O,f);else if(a instanceof _.PM)q="teamdrives/"+a.getId(),null!=a.Bm()?(h="POST",q+="/"+(a.Bm()?"hide":"unhide")):(h="PUT",r=Tdd(a),f["content-type"]="application/json"),k.fields=PO(this.H),u=a.we(),p=!0;else if(a instanceof
_.QM)h="PUT",q="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",r=Udd(a),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.kD)h="PUT",r=_.C(a,_.hp,1),u=r.getKey(),q="settings/"+_.B(u,2),(u=_.ip(u))&&(k.namespace=Z2c[u]),r=$2c(r),f["content-type"]="application/json",u=a.we(),p=!0;else if(a instanceof _.EL)q="about",k.fields=_.IL(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=c3c(k.fields,this.H),k.fields=d3c(k.fields,this.H),u=a.we(),p=!0;else if(a instanceof _.kL){e=11;h=a.Iz();q=a.getUrl();var M=_.B(a,5)||"";_.Uj(a,_.nSc,2).forEach(function(Q){f[Q.getKey()]=
Q.Ya()});_.Uj(a,_.nSc,4).forEach(function(Q){k[Q.getKey()]=Q.Ya()});_.R(a,7)&&(b.AKb=!0);_.R(a,8)&&(b.ku=!0);_.R(a,9)&&(b.QEa=!0)}else a instanceof _.VVc?(b=a.request.Cc(),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",_.XM(this.H,[],[b],this.O,f)):a instanceof _.NM?(f["content-type"]="application/json",h="POST",b=a.Cc(),q="files/"+b+"/updateCategoryMetadata",
u=a.we(),r={categoryMetadata:a.HV().map(function(Q){var W=_.Uj(Q,_.EF,2).map(function(ia){return{id:ia.getId(),userId:ia.Oz(),setBooleanValue:_.R(ia,3),setTextValue:_.B(ia,4),setTextValues:_.Md(ia,6),addTextValues:_.Md(ia,5),setLongTextValue:_.B(ia,7),setSelectionValue:_.B(ia,8),setSelectionValues:_.Md(ia,10),addSelectionValues:_.Md(ia,9),setIntegerValue:_.B(ia,11),setIntegerValues:_.Md(ia,13),addIntegerValues:_.Md(ia,12),setUserValue:_.B(ia,14),setUserValues:_.Md(ia,16),addUserValues:_.Md(ia,15),
setDateStringValue:_.B(ia,17)}}),pa={categoryName:Q.Zm()};W.length?pa.categoryAttributeValueDeltas=W:_.Md(Q,4).length?pa.revertAttributeIds=_.Md(Q,4):_.R(Q,3)&&(pa.removeCategory=_.R(Q,3));return pa})},_.XM(this.H,[],[b],this.O,f)):a instanceof _.HM?(e=13,q=_.CL(_.DL(this.H))?"/v2/people/public":"/v2/people",k.person_id=a.an(),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"],_.CL(_.DL(this.H))||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.aWc?(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=mO(_.DL(this.H))):a instanceof _.GF?(e=12,q="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=
mO(_.DL(this.H))):a instanceof _.iM?(f["content-type"]="application/json",h="POST",q="drives/"+a.Bc()+"/changeCategoryReferences",u=a.we(),p=!0,k.fields=PO(this.H,[157],!0),r={},b=_.Uj(a,_.Xk,2),b.length&&(r.addCategoryReferences=b.map(function(Q){return{category:Q.Zm()}})),a=_.Uj(a,_.Xk,3),a.length&&(r.removeCategoryReferences=a.map(function(Q){return Q.Zm()}))):a instanceof _.LF?(q="workspaces/"+a.an()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",u=a.we(),p=!0):a instanceof _.UVc?
(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=_.SL(this.H))&&_.S(a,13,!1)&&(r.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:MULTIPARENTING_MIGRATION")):a instanceof _.XVc?(e=8,h="POST",q="/v1/exports/"+a.H+":cancel"):a instanceof _.YVc?(e=8,q="/v1/exports/"+
a.H):"undefined"!=typeof _.$Vc&&a instanceof _.$Vc?(q="changes",k.fields="kind,largestChangeId",_.nN(k),k.includeItemsFromAllDrives=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId),u=a.H,p=!0):a instanceof _.iD?(q="settings",u=_.Md(a,3),k.namespace=a3c(u),u=a.we(),p=!0):a instanceof _.hWc?(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=Eld(a.request),(u=a.request.lw())&&
1==u.getType()&&(k.orderBy="title"),u=a.request.we(),p=!0):a instanceof _.IM?(q="changes/getRemainingCount",k.pageToken=_.B(a,2),_.P(a,3)&&(k.supportsTeamDrives=!0,k.includeItemsFromAllDrives=!0,k.teamDriveId=a.Bc()),u=a.we()):a instanceof _.eM?(f["content-type"]="application/json",h="POST",q="files/"+a.Cc()+"/sendAccessRequest",r={},l=!0):_.b1c(a);p&&_.c1c(c,k);0!=e||l||u&&_.B(u,1)||_.EN(this.Cd,74438989);return _.d1c(this,e,q,k,f,h,u,r,M)};
Gld.prototype.W=function(a,b){a=this.ma.um.H(a);b.expectedParentIds=a?a.lk().join(","):[]};
var Hld=b3c("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"),Ild=
b3c("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"),
Jld=b3c("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 Kld=function(a,b,c,d,e,f,h,k,l,p,q,r,u,y,z,D,H,I,M,Q,W,pa,ia){this.Koa=_.Th();this.Jfa=new _.qZc;var na=new _.SZc(this.dK.bind(this),function(){return W("w8KrJc")}),qa=new djd(b.um),ua=new Vid(na);c=new Nid(b,f,new Iid(d,e,c),h,this.Koa.promise,k,l,c,W);d=new cjd(b,p,q,r,u,d,e,D,k);this.O=new _.tZc(a,y);y=new Gld(b,a,k,pa);this.Ssa=new tld(k,a,z,D);this.H=Ldd(a,new _.f0c(this.O,this.Jfa,y,this.Ssa,H,I,M),I,z,Q,b.um,this.Jfa,this.Koa.promise,M||void 0);this.Koa.resolve(ia?ia:new _.E_c(new ejd,
qa,ua,this.H,na,c,d,a))};Kld.prototype.dK=function(){return _.Qa(this.H,function(a){return a.dK()})};var Rfd=function(a){var b=new Map,c=Date.now();_.Ma(a.H,function(d,e){d=Y5c(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var Lld=function(a,b){var c=this;this.context=a;this.Ig=b;this.ha=null;this.xR=0;this.ka=this.active=!1;this.H=this.oa=null;this.V={};this.Fa=this.Ba=!1;this.Cd=a.Rk();this.W=new _.yn;this.O=a.Oc;this.Ha=_.SL(this.O)||new _.WUc;b=_.nO(this.O);this.va=new _.zZc(_.bk(b,2,37500),_.bk(b,3,6E5));this.ma=a.uQ;_.Ma(C$c,function(d){c.V[d]=[]});bP(a.Pj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});bP(a.Pj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});bP(a.Pj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.iL().catch(_.Ef)})};_.g=Lld.prototype;_.g.initialize=function(){var a=this;this.Ba||(this.Ba=!0,IP(this.context).then(function(b){a.ma.initialize().then(function(){a.ha=b;a.setActive(!0)},function(c){c&&D5c(a.context.Rf(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.bM(c));a.log("Error initializing dump storage");a.gS()})}))};
_.g.isInitialized=function(){return!!this.ha||this.ka};_.g.xna=function(a){this.active&&(this.xR+=a,this.xR>_.bk(_.nO(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.YQ().dK()||0<b.tf.xI.coa||b.Ij().Te()||b.qk().Te())||((this.active=a)?(this.W.resolve(),this.H||this.iL().catch(_.Ef)):(this.W=new _.yn,_.n.clearTimeout(this.oa)))}};_.g.gS=function(){this.ka=!0};_.g.PWa=function(){return this.H?this.H.promise:(new _.yn).resolve()};
_.g.iL=function(){var a=this;if(this.H)return this.H.promise;this.H=new _.yn;this.H.promise.finally(function(){a.H=null});var b=this.Cd.H(106021)||void 0;this.W.promise.then(function(){return Fdd(a.context.rD)}).then(function(c){var d=!c;return a.ka?d:Promise.all([Mld(a,3,d,void 0,void 0,b),Mld(a,0,d,void 0,!0,b),Mld(a,1,d,void 0,!0,b),Mld(a,5,d,void 0,!0,b),Mld(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.lc("Failed to update dump",void 0,_.bM(e));return Promise.reject(e)})},
function(){return Promise.reject(Error("og"))}).then(function(c){a.H.resolve(c);b&&(c=K5c(b),_.A(c,2,!0),b.Yj())},function(c){a.H.reject(c);b&&(c=K5c(b),_.A(c,2,!1),b.Yj())});return this.H.promise};
_.g.update=function(a,b){var c=this,d=new _.yn,e=this.Cd.H(106021)||void 0;e&&(t5c(K5c(e),_.vN(_.QUc,a)),d.promise.then(function(){var f=K5c(e);_.A(f,2,!0);e.Yj()},function(){var f=K5c(e);_.A(f,2,!1);e.Yj()}));this.W.promise.then(function(){return Fdd(c.context.rD)}).then(function(f){f=!f;c.ka?d.resolve():Mld(c,a,f,b,void 0,e).then(d.resolve,d.reject)});return d.promise};
var Mld=function(a,b,c,d,e,f){var h=_.fa(a.V[b]);if(h){if(h.encrypt===c&&1<a.V[b].length)return h.promise;var k=new _.yn;h.promise.finally(function(){a.Hu(b,c,d,e,f).promise.then(k.resolve,k.reject)})}else k=a.Hu(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.If()?a.gS():p instanceof _.lc&&(p=p.O||null,p instanceof _.yL&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.gS())}).finally(function(){_.wa(a.V[b],
function(p){return l===p})})};
Lld.prototype.Hu=function(a,b,c,d,e){var f=this,h=new _.yn;this.W.promise.then(function(){if(3===a)Nld(f,c||!1,b,e).then(h.resolve,h.reject);else{switch(a){case 0:var k=f.context.VP;k=k.H?k.H.clone():null;break;case 1:k=f.context.c_.Gq();break;case 5:k=Old(f.context.eE);break;case 6:k=f.context.tf.vq;k=cad(new bad,Zad(k.H));break;default:h.reject(Error("pg"));return}if(k){var l=_.Uj(_.nO(f.O),lO,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.resolve()):Dcd(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 Nld=function(a,b,c,d){_.n.clearTimeout(a.oa);a.oa=_.n.setTimeout((0,_.v)(a.Ja,a),a.va.Ya());if(b&&0===a.xR)return Promise.resolve();a.xR=0;var e=_.Uj(_.nO(a.O),lO,11)[0].getKey();if(!e&&c)return a.log("Skipping dump update, encrypted and no key"),Promise.resolve();var f=[];_.Ma(u9c,function(k){0<k&&(k=Pld(a,k),k.length&&f.push(Dcd(a.ma,c?e:null,k,d)))});var h=new _.yn;Promise.all(f).then(function(){a.Fa&&a.context.rD.set(Ddd,!0);h.resolve()},h.reject);return h.promise};
Lld.prototype.Ja=function(){_.rH(this.va);this.update(3,!0)};
var Pld=function(a,b){switch(b){case 1:return[Qld(a)];case 2:var c=(b=a.context.tf.Tu.H)?b.by():[];c=Rld(a,_.Sa(B2c(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.bk(_.nO(a.O),5,2E4)&&(b&&dP(b,!1),c=[]);c=o9c(new MO,Sld(c));var d=a.context.tf.Tu;a=new M2c;(d=d.H)&&d.gK&&(d=d.by(),_.A(a,3,d.length));c=_.J(c,11,a);c=t9c(c,2);b&&r9c(c,b.IN());return[c];case 3:return Tld(a);case 4:return Uld(a);default:throw new _.lc("Unsupported CacheType");}},Qld=function(a){for(var b={},c=[],
d=Had(a.context.tf.Tu,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.by(),l=Rld(a,A2c(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=l9c(new LO,h.wd()),h.H||(_.A(l,2,k),_.J(l,3,p),e=!1),c.push(l)}d=_.Sa(b);a.log("Exporting "+d.length+" initial dump items.");return r9c(t9c(q9c(o9c(p9c(s9c((new MO).Du(a.context.Un()),_.oN(a.Ig)),a.ha.VQ(null)),Sld(d)),c),1),!e)},Tld=function(a){var b=[],c=a.ha;a.context.tf.Tu.bW().forEach(function(d){var e=c.VQ(d.Bc());if(e){var f=
Rld(a,A2c(d.by()));a.log("Exporting "+f.length+" TD dump items for: "+d.Bc());e=r9c(t9c(p9c(o9c(new MO,Sld(f)),e),3),d.IN(d.wd()));d=l9c(new LO,d.wd());q9c(e,[d]);b.push(e)}});return b},Uld=function(a){var b={},c=[];a.context.tf.bW().forEach(function(d){1===d.FJ()&&null==_.R(d.wd(),6)&&(A2c(d.by()).forEach(function(e){b[e.getId()]=e}),d=m9c(l9c(new LO,new _.Ye),d.wd()),c.push(d))});return[r9c(t9c(q9c(o9c(new MO,Sld(Object.values(b))),c),4),!1)]},Rld=function(a,b){b=a2c(b);_.R(a.O,67)&&(b=Vld(b));
_.IL(a.O)&&(_.S(a.Ha,9,!1)?tbd(a.context.tf.vq,b)&&(_.EN(a.Cd,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=rbd(a.context.tf.vq,b)):b=rbd(a.context.tf.vq,b));return b.filter(function(c){return 4!==bO(c)})},Vld=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,R1c(c)?(c=c.clone(),B1c(c,Q1c),b.push(c)):b.push(c);return b},Sld=function(a){return a.map(function(b){return b.clone()})};
Lld.prototype.log=function(a,b){this.context.Rf().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};Lld.prototype.eEa=function(){this.Fa=!0};
var Wld=function(){};_.g=Wld.prototype;_.g.setActive=function(){};_.g.gS=function(){};_.g.update=function(){return Promise.resolve()};_.g.PWa=function(){return Promise.resolve()};_.g.iL=function(){return Promise.resolve()};_.g.xna=function(){};_.g.eEa=function(){};
var iO=function(a,b,c,d){_.ri.call(this);var e=this;this.Aa=a;this.Yr=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.va=d||new _.jYc;this.Oc=b.clone();(a=_.SL(this.Oc))&&_.S(a,1,!1)&&_.MH(this.Oc,28);this.Ig=new _.sYc(this.Oc);this.Fm=new i$c(_.oN(this.Ig),this.Oc);Xld(this);this.BX=new _.yn;this.nb=_.n.setTimeout(function(){e.Rf().info("drive.ds.sync.ThinContext","Page stable timed out.");e.BX.resolve();e.Rk().O(106020)},1E4);this.b_=new _.Vh;this.Ba=new _.UYc(_.iN(this.Oc),_.S(this.Oc.Zf(),
52,!1));this.connectionState=new _.NYc(_.iN(this.Oc)?3:1,!_.S(this.Oc.Zf(),52,!1));this.Cd=_.jZc(this.Oc,this.Ba,this.connectionState,this.va,this.BX.promise,this.Yr);this.Kfa=new O$c(this.Cd);this.dQ=new _.Vh;Yld(this)};_.L(iO,_.ri);iO.prototype.getEnvironment=function(){return this.Yr};iO.prototype.XR=function(){this.Rf().info("drive.ds.sync.ThinContext","Notified of page stable.");_.n.clearTimeout(this.nb);this.BX.resolve()};
var Yld=function(a){var b=function(){a.Fu().Fg(_.Ef)},c=a.Aa;(c=c&&_.hc(c,_.$l))?_.Ke(c,"w",b):_.VUc()||_.Ke(_.n,"unload",b)};iO.prototype.Fu=function(){this.Cd.O(106005);O5c(this.Cd);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.qL(a).then()};var Zld=function(a,b){a.ma.push(b)};_.g=iO.prototype;_.g.Rf=function(){return this.va};_.g.Du=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.b_.callback(a),a.length&&this.N4a(a,b||null))};_.g.N4a=function(){};
_.g.Un=function(){return this.rootId};_.g.Rk=function(){return this.Cd};var $ld=function(a){if(!a.ha)throw Error("rg");return a.ha},amd=function(a,b){a.ha=b};iO.prototype.tB=function(){return this.Fa||this.connectionState.isConnected()};iO.prototype.Ij=function(){return this.Ba};iO.prototype.qk=function(){return this.connectionState};iO.prototype.UNb=function(a){this.dQ.callback(a)};
var Xld=function(a){var b=a.Oc.Zf();0===_.Md(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.A(b,19,3));if(!_.E(b,37,""))throw Error("sg");_.B(b,57)||(a.log("No root URI provided; using prod default."),_.A(b,57,"https://clients6.google.com"));if(_.S(_.nO(a.Oc),9,!1))if(b=_.Uj(_.nO(a.Oc),lO,11),0<b.length){if(!_.B(b[0],1)||!b[0].getKey()&&!_.iN(a.Oc)&&!_.S(a.Oc,10,!1))throw Error("tg");}else _.A(_.nO(a.Oc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.S(_.nO(a.Oc),9,!1)&&(_.iN(a.Oc)||_.S(a.Oc,10,!1)))throw Error("ug");var c=_.DL(a.Oc);b=!(!c||!_.CL(c));c=c&&_.gN(c)||"";if(!b&&!c)throw Error("vg");b&&_.Oj(a.Oc,44);_.Uj(a.Oc,_.Ye,44).forEach(function(d){try{m$c(a.Fm,d)}catch(e){if(e instanceof _.lc&&(d=e.Og)&&3===d.et())throw Error("wg");throw e;}})};iO.prototype.sJ=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,a)))};iO.prototype.log=function(a){this.Rf().info("drive.ds.sync.ThinContext",a)};
var bmd=function(a,b){this.H=a;this.Oe=b};
var cmd=new Set([5,4,1,6,2]),dmd=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),emd=function(a,b,c){_.ri.call(this);this.ha=a;this.V=b;this.W=c;this.EF=new Map;this.O=new Map;this.status=6;this.H=null};_.L(emd,_.ri);
emd.prototype.eQ=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())&&_.ip(q))&&f.add(q)});[].concat(_.jd(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=cmd.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),u=r&&_.ip(r);r=r&&_.B(r,2);u=k.get(u);r&&u&&u.set(r,fmd(q))});var l=0,p=0;[].concat(_.jd(k.keys())).forEach(function(q){var r=k.get(q),u=e.EF.get(q);u?h&&
(r.forEach(function(y){var z=y.getKey();(z=u.get(z&&_.B(z,2)))&&_.ak(y,z)||l++}),[].concat(_.jd(u.values())).forEach(function(y){y=y.getKey();r.has(_.B(y,2))||p++}),e.EF.set(q,r),e.O.set(q,b)):(l+=r.size,e.EF.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,cP(this.V,"px2C2c");cP(this.V,"rkYxSd")}(l||p)&&gmd(this,!h)}};
emd.prototype.jD=function(){return 0<this.EF.size};var gmd=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"))};emd.prototype.put=function(a){var b=a.getKey(),c=b&&_.ip(b);b=b&&_.B(b,2);if(c&&b&&(c=this.EF.get(c))){var d=c.get(b);a=fmd(a);d&&_.ak(a,d)||(c.set(b,a),gmd(this))}};emd.prototype.remove=function(a){var b=a&&_.ip(a);a=a&&_.B(a,2);b&&a&&(b=this.EF.get(b))&&b.delete(a)&&gmd(this)};
var Old=function(a,b){var c=[];(b||[].concat(_.jd(a.EF.keys()))).forEach(function(e){(e=a.EF.get(e))&&[].concat(_.jd(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.EF.has(e)}):[].concat(_.jd(a.EF.keys()));var d=new d6c;_.Nj(d,1,c);_.Kj(d,2,b);return d};
emd.prototype.SG=function(a){var b=this,c=Old(this,a),d=new _.sz;d.Dc(this.status);_.Yhb(d,_.Uj(c,_.hp,1));_.J(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);dmd.has(f)&&Infinity>dmd.get(f)&&(e=f)});return new bmd(d,e)};var fmd=function(a){a=a.clone();a.hh()||a.Lb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var hmd=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},jmd=function(a,b){return imd(a[b])+(imd(a[b+1])<<8)+(imd(a[b+2])<<16)+(imd(a[b+3])<<24)},imd=function(a){return 127<a?a-256:a};
var jO=function(a,b,c,d,e,f){iO.call(this,a,b,c,d);var h=this;this.Ta=_.Th();this.uu=new xad;this.W=null;this.O=_.Th();this.Ha=new _.Vh;this.m6=null;this.Mfa=new Jbd;this.V=null;this.$a=_.Th();this.oa=new _.Vh;this.OF=new ncd;this.nz=new Rbd;this.rha=new rad;this.gaa=new _.yn;this.Ja=!1;this.Lfa=new _.yn;this.H={};this.ka=null;this.Jb=new _.Ee;this.Ma(this.Jb);this.Pj=e?e:new qad(this.Rf());this.Rk().W.O=this.Pj;this.FL=_.S(_.nO(b),9,!1)&&e3c()?kmd(this,b):null;this.xw=new b$c(mO(_.DL(b)));this.rD=
lmd(this,this.FL);this.uQ=mmd(this,this.FL,b);this.Rs=nmd(this);this.tf=new MP(this,this.Ig);(a=(a=_.C(this.Oc,_.Yk,12))&&a.getId())&&this.Du(a,6);this.VP=new $fd(this.Oc,this.tf.vq,this.Pj,this.Rf(),this.Rs);this.c_=new egd(this.Rf(),this.Pj,this.Rs);this.eE=new emd(this.Rf(),this.Pj,this.Rs);this.yI=new G$c(this.Pm(),this.Rf(),function(k){return void h.sJ(k)});this.Xy=_.S(this.Oc.Zf(),52,!1)?new _.FN(this.qk(),this.Pm(),this.Rf(),this.Rk()):null;bP(this.Pj,["mrK8ic"],function(){h.$a.promise.then(function(){Kgd(h,
h.V)})});this.SMa=new jcd(this.Oc);this.JA=new _.LZc(this.Oc,this.tf.um);this.Tsa=new Eid(this);this.l6=new Nbd(this.O.promise,this.Pm());this.kb=new Pbd(this.Pm(),this.l6);this.Nfa=new fcd(this.O.promise,this.Pm(),this.Rf(),this.Oc);this.Oa=new Kld(this.Oc,this.tf,this.sJ.bind(this),this.l6,this.kb,this.Rs,this.Mfa,this.Ig,this.Un.bind(this),this.Tsa,this.c_,this.eE,this.Nfa,this.OF,this.Rf(),this.SMa,this.JA,this.yI,this.Xy,this.Ij(),this.Npb.bind(this),this.Rk(),f);this.Ta.resolve(this.Oa);this.QJa=
new oid(this);bP(this.Pj,["BNEDtc"],function(){return h.Lfa.resolve()});Zld(this,function(){h.Rs.gS();return _.Ph()})};_.L(jO,iO);
var kmd=function(a,b){var c=_.gN(_.DL(b)),d=_.hN(b),e=function(){},f=_.Uj(_.nO(b),lO,11);f=f[0]&&_.B(f[0],1);var h=new Ycd(c,d,_.bk(_.nO(b),10,0)||0,f||"",_.oN(a.Ig));_.iN(b)?c=sdd(c,d).then(function(l){return l?l:h}):_.S(b,10,!1)&&0<_.bk(_.nO(b),8,432E6)?(b=omd(a,c),c=sdd(c,d,b).then(function(l){return l&&(e=function(p){return p.Il(h).Fg(function(){return null})},!l.ha)?l:h})):c=_.Ph(h);var k=new pP(c,a.Rf(),a.Rk());k.initialize().then(function(){return e(k)},function(){return null});return k},omd=
function(a,b){var c=_.bk(_.nO(a.Oc),8,432E6);if(!_.iN(a.Oc)&&0<c){a=Math;var d=a.abs;b=_.oma(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+=jmd(b,e),h.b+=jmd(b,e+4),h.c+=jmd(b,e+8),hmd(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+=jmd(b,e+4);h.a+=jmd(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+=jmd(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=hmd(h);return d.call(a,b)%c}};jO.prototype.My=function(a){var b=this;return this.FL?this.FL.If()?_.Rh(Error("xg`"+edd(this.FL))):Fdd(this.rD).then(function(c){var d=b.FL,e=[];e.push(b.Rs.PWa());e.push(a?d.Il():odd(d));if(a===c)return _.Sh(e).then(function(){return!1});!1===a&&(e.push(ddd(d)),(c=b.Un())&&e.push(b.rD.Du(c)));return _.Sh(e).then(function(){return b.rD.My(a)},function(){return!1})}):_.Rh(Error("yg"))};
var mmd=function(a,b,c){var d=null;b&&(d=new xcd(b,c,function(e){a.sJ(e)},a.Rk()),d.initialize());return d},lmd=function(a,b){var c=new Edd(b||void 0);c.Un().then(function(d){d&&a.Du(d,5)});b&&(Fdd(c).then(function(d){a.Ij().My(d)}),_.Sh([b.initialize(),a.BX.promise]).then(function(){pmd(a,c)},function(){}));return c},pmd=function(a,b){Idd(b).then(function(c){(!c||c<Date.now()-864E5)&&vdd(_.gN(_.DL(a.Oc)),_.hN(a.Oc),a.Rf()).then(function(d){d&&(d=Date.now(),b.set(Cdd,d))},function(){})})},nmd=function(a){if(!a.uQ)return new Wld;
var b=new Lld(a,a.Ig);a.Jb.listen(a.Ij(),"Ab",function(c){return void b.setActive(!c.Te())});a.Jb.listen(a.qk(),[].concat(_.jd(Object.values(_.aB))),function(){return void b.setActive(a.qk().isConnected())});return b};jO.prototype.lY=function(a){this.m6=a;this.Ha.callback(a)};var IP=function(a){return a.Ha.vn()},Qfd=function(a){return a.FL?a.FL.If():null},qmd=function(a,b){a.Pj.H("NSockf")?cP(a.Pj,b):bP(a.Pj,["NSockf"],function(){cP(a.Pj,b)})};
jO.prototype.N4a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.uu.Du(a),this.Fm.Du(a),6!==b&&1!==b||this.rD.Du(a),qmd(this,"jroI5d"))};jO.prototype.NVa=function(){return this.oa.vn()};var Kgd=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.$a.resolve()):a.oa.ag()||(a.oa.callback(b),qmd(a,"T8oKm")))},jgd=function(a){if(!a.W)throw Error("zg");return a.W};_.g=jO.prototype;_.g.YQ=function(){return this.Oa};_.g.Pm=function(){return this.Ta.promise.then(function(a){return a.Koa.promise})};
_.g.dEa=function(){this.Ja||(this.Ja=!0,this.gaa.resolve(),cP(this.Pj,"aU7Ts"))};_.g.tB=function(){throw Error("Ag");};_.g.Npb=function(a){this.dispatchEvent(a)};var rmd=function(a,b){Vhd(a.tf,b)},smd=function(a,b,c){a.H[b]=c},Lfd=function(a){a.ka||(a.ka=new Xbd(a.O.promise,a.Pm(),a.Rf()));return a.ka};
var QP=function(a,b,c){_.ri.call(this);var d=this;this.Ba=a;this.kb=b;this.oa=new _.Vh;this.va=this.channel=this.clientId=null;c.then(function(e){return tmd(d,e)})};_.L(QP,_.ri);var tmd=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.va=b.H;UO(a.channel,a.Ba,function(c){c=A$c(c);a.N$(c.H,!(!c.data||!c.kc),c.data,c.error)});a.log("Service initialized: "+a.Ba);a.oa.callback()};QP.prototype.N$=function(){};
QP.prototype.send=function(a,b,c,d){var e=this,f=new _.Vh;this.oa.addCallback(function(){var h=e.channel;VO(h,e.Ba,w$c(new v$c(e.clientId,a,b,d),h.W),function(k){return void umd(k,a,f,c||function(){})})});return f};var umd=function(a,b,c,d){a=A$c(a);a.data?c.callback(d(a.data,a.kc)):(a.error?d=a.error:(d=new _.kc,_.OL(d,2),_.PL(d,6),_.A(d,21,"Worker["+b+"]: An invalid response was received")),c.Od(new _.lc(void 0,d)))};QP.prototype.log=function(a){this.va&&this.va.info(this.kb,a)};
var vmd=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var RP=function(a,b){_.N.call(this);this.V=a;this.va=b;this.Ja=this.UU()};_.L(RP,_.N);RP.prototype.registerService=function(a){UO(a,this.V,(0,_.v)(this.qw,this))};
RP.prototype.qw=function(a){var b=this;a=x$c(a);var c=a.kc,d=this.Ja[a.method],e=null;if(d)try{var f=d(a);if(f instanceof y$c)return z$c(f,c);if(f.then)return f.then(function(h){return z$c(h,c)},function(h){h=_.QL(h);return z$c(b.qd(void 0,h),c)})}catch(h){e=_.bM(h)}f=new _.kc;_.OL(f,2);_.PL(f,3);_.$p(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.A(f,20,e.stack);return z$c(this.qd(void 0,f),c)};
RP.prototype.qd=function(a,b,c){if(a&&!b)return new y$c(a,void 0,c);a=_.QL(b);return new y$c(void 0,a,c)};RP.prototype.update=function(a,b,c,d){(a=this.va.channels[a]||null)&&VO(a,this.V,z$c(this.qd(c,d,b),a.W))};
var wmd=function(){this.channels={};this.H=this.O=this.V=0},xmd=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Ra(a.channels));return c},ymd=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var zmd=function(a,b){RP.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.tf;this.O=this.context.Nfa;this.W=Lfd(this.context);this.ka=this.context.l6};_.L(zmd,RP);
zmd.prototype.UU=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Ye);return a.$h(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.$h(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.$h(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.$h(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=hO(c.args[0],!!c.kc,_.Ye);return a.hk(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.wL);return a.hk(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Zz);return a.hk(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.JF);return a.hk(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.Zz);c=hO(c.args[1],!!c.kc,_.Zz);return a.iZ(d,e,c)},b["4.6"]=function(c){var d=
c.clientId+":"+c.requestId,e=hO(c.args[0],!!c.kc,_.JF);c=hO(c.args[1],!!c.kc,_.JF);return a.iZ(d,e,c)},b["4.7"]=function(c){return a.CF(c)},b["4.8"]=function(c){return a.CF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.$h(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.$h(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.Jz);return a.hk(d,c)},b["4.16"]=function(c){var d=
c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.LF);return a.hk(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.$h(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.WF);return a.hk(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.$h(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=hO(c.args[0],!!c.kc,_.IF);return a.hk(d,c)},b["4.21"]=function(c){c=
a.H[c.clientId+":"+c.requestId].query;if(c instanceof _.IF){var d=a.W;Hbd(d,d.getKey(c)).refresh()}return a.qd([])},b};zmd.prototype.$h=function(a,b){var c=this,d=new _.yn;this.H[a]={query:b,fTb:d.promise};b instanceof _.Jz?d.resolve(this.O.$h(a,b)):b instanceof _.LF?d.resolve(Fbd(this.O,a,b)):b instanceof _.IF?d.resolve(this.W.$h(a,b)):b instanceof _.WF?d.resolve(this.ka.$h(a,b)):d.resolve(this.ha.$h(a,b));return d.promise.then(function(){return c.qd([])})};
zmd.prototype.hk=function(a,b){Amd(this,a,b);return this.qd([])};var Amd=function(a,b,c){delete a.H[b];c instanceof _.Jz?a.O.hk(b,c):c instanceof _.LF?Gbd(a.O,b,c):c instanceof _.IF?a.W.hk(b,c):c instanceof _.WF?a.ka.hk(b,c):a.ha.hk(b,c)};_.g=zmd.prototype;_.g.iZ=function(a,b,c){Amd(this,a,b);return this.$h(a,c)};
_.g.CF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.wi(a.args[0]);c instanceof _.Jz?this.O.$h(b,c):c instanceof _.LF?Fbd(this.O,b,c):c instanceof _.IF?this.W.$h(b,c):c instanceof _.WF?this.ka.$h(b,c):this.ha.$h(b,c);return this.qd([])};
_.g.tO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.Ng(a[0]),f=a[1];d.fTb.then(function(h){b instanceof _.DN||b instanceof _.AN?c.update(e,f,[b.response,b.pageToken,b.H,b.Oe,h]):(d.query instanceof _.Ye?D1c(d.query.O(),b.Fd().filter(function(k){return!QO(k)})):d.query instanceof _.Zz&&D1c(d.query.O(),Object.values(b.map).filter(function(k){return k&&!QO(k)})),c.update(e,f,[b,h]))})}};
_.g.MX=function(a,b){if(this.H[a]){var c=a.split(":");a=_.Ng(c[0]);c=c[1];var d=b.error;d.Ifa(b.H);this.update(a,c,void 0,d)}};_.g.hA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.Ng(a[0]),a[1],["cacheRefresh"]))};_.g.g9=function(){};_.g.Oka=function(a){if(!this.H[a])throw Error("$f`"+a);return this.H[a].query};var Bmd=function(a,b){_.Ma(a.H,function(c,d){_.Ng(d.split(":")[0])===b&&Amd(a,d,c.query)})};
var Cmd=function(a,b,c){QP.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.L(Cmd,QP);Cmd.prototype.sxa=function(a){var b=this;a=new ufd(this.context.Fm,this.context.dQ,this.context.Rf(),this.context.Oc,function(c,d){return b.CF(c,d)},a,this.context.Rk());Dmd(this,a);return a};Cmd.prototype.vxa=function(a){var b=this;a=new Bfd(this.context.Fm,this.context.dQ,this.context.Rf(),function(c,d){return b.CF(c,d)},a,this.context.Oc);Dmd(this,a);return a};
var Dmd=function(a,b){a.$h(b);_.we(b,function(){a.hk(b);a.send("4.3",[b.wd()],void 0,b.vi())});a.send("4.1",[b.wd()],void 0,b.vi())};_.g=Cmd.prototype;_.g.pxa=function(a){var b=this,c=new yfd(this.context.Oc,this.context.Fm,this.context.Rf(),this.context.b_,this.iZ.bind(this),a);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.4",[c.wd()],void 0,c.vi())});this.send("4.2",[c.wd()],void 0,c.vi());return c};
_.g.yxa=function(a){var b=this,c=new Ffd(a,this,this.context.Oc);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.11",[c.wd()],void 0,c.vi())});this.send("4.9",[c.wd()],void 0,c.vi());return c};_.g.zxa=function(a){var b=this,c=new Gfd(this.context,this,a);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.12",[c.wd()],void 0,c.vi())});this.send("4.10",[c.wd()],void 0,c.vi());return c};
_.g.Cxa=function(a){var b=this,c=new Jfd(this.context,a,this);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.15",[c.wd()],void 0,c.vi())});this.send("4.13",[c.wd()],void 0,c.vi());return c};_.g.Dxa=function(a){var b=this,c=new xfd(this.context,a);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.16",[c.wd()],void 0,c.vi())});this.send("4.14",[c.wd()],void 0,c.vi());return c};
_.g.wxa=function(a){var b=this,c=new Efd(this.context,a,function(){b.send("4.21",[],void 0,c.vi())});this.$h(c);_.we(c,function(){b.hk(c);b.send("4.23",[c.wd()],void 0,c.vi())});this.send("4.22",[c.wd()],void 0,c.vi());return c};_.g.mxa=function(a){var b=this,c=new sfd(this.context.Ij(),this.context.qk(),this.context.Rf(),function(d,e){return b.CF(d,e)},a);this.$h(c);_.we(c,function(){b.hk(c);b.send("4.19",[c.wd()],void 0,c.vi())});this.send("4.18",[c.wd()],void 0,c.vi());return c};
_.g.$h=function(a){this.H.create(a.vi(),a.wd());this.O[a.vi()]=a};_.g.hk=function(a){WO(this.H,a.vi(),4);delete this.O[a.vi()]};_.g.iZ=function(a,b,c){if(b instanceof _.Zz&&c instanceof _.Zz)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.CF=function(a,b){if(!this.O[a])throw Error("$f`"+a);var c=this.O[a];if(c.wd()instanceof _.Ye)var d="4.7";else if(c.wd()instanceof _.wL)d="4.8";else if(c.wd()instanceof _.WF)d="4.20";else if(c.wd()instanceof _.Jz)d="4.17";else throw Error("Cg");c.wd().wi(b);this.send(d,[b],void 0,a)};
_.g.N$=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)b=new XO(d,d.f7()),a.mB(b),WO(this.H,a.vi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.lW();return}var h=a.wd();if(h instanceof _.Ye||h instanceof _.wL)h instanceof _.Ye&&_.AM(h)?e=hO(d,b,_.xN):e=hO(d,b,_.QA);else if(h instanceof _.Zz||h instanceof _.JF)b?(e=new _.wN,e7c(e,function(k){return new _.Yk(JSON.parse(k))},d)):e=d;else if(h instanceof _.WF)e=new _.AN(hO(d,b,zO),c[f++],c[f++],c[f++]);else if(h instanceof _.Jz)e=new _.DN(hO(d,
b,$O),c[f++],c[f++],c[f++]);else if(h instanceof _.LF)e=hO(d,b,_.yN);else if(h instanceof _.IF)e=hO(d,b,KO);else throw Error("Dg");}e&&(b=f,c&&"boolean"===typeof c[b]&&P$c(this.H,a.vi(),!!c[b]),S$c(this.H,a.vi(),e),a.update(e))}};
var SP=function(){_.ri.apply(this,arguments);this.commands=new _.ol;this.ha=this.active=this.xp=!1};_.L(SP,_.ri);SP.prototype.initialize=function(){this.xp||(this.xp=!0,this.V(),this.setActive(!0))};SP.prototype.V=function(){};SP.prototype.setActive=function(a){this.active=a;Emd(this)};var Emd=function(a){if(a.active&&!a.ha){var b=_.pl(a.commands);if(b)if(a.va()){do a.ka(b);while(b=_.pl(a.commands))}else a.ha=!0,_.Uh(a.Ba(b),function(){a.ha=!1;Emd(a)})}};SP.prototype.ka=function(){};
SP.prototype.Ba=function(){};SP.prototype.va=function(){return!0};SP.prototype.enqueue=function(a){try{var b=new _.Vh;this.commands.enqueue(new Fmd(a,b));Emd(this);return b}catch(c){return _.ai(_.bM(c))}};var Fmd=function(a,b){this.H=a;this.Ag=b};Fmd.prototype.getCommand=function(){return this.H};Fmd.prototype.EG=function(){return this.Ag};
var Imd=function(a){SP.call(this);var b=this;this.context=a;this.O=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context,"VMiG2e",function(){return void Gmd(b)});this.H=this.context.tf.vq;_.IL(this.context.Oc)&&this.Mc.listen(this.H,"Kb",this.W);var c=a.Pj;bP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.Gj(a.Oc.Zf(),17,1)&&(d.push("iuEtc"),bP(c,["mrK8ic"],function(){cP(c,"iuEtc")}));bP(c,d,function(){Hmd(b)})};_.L(Imd,SP);Imd.prototype.V=function(){Jmd(this)};
var Hmd=function(a){if(1===a.context.VP.Eh().Ab())Promise.resolve();else{var b=_.mf(_.nf(new _.lf,!0),301);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(c){c=_.QL(c);_.A(c,21,"Initial account request failed.");a.context.sJ(c)})}},Gmd=function(a){var b=_.mf(new _.lf,304);b=_.FL(new _.EL,b);a.refresh(b).then(null,function(){})};
Imd.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.Uh(this.context.Pm().then(function(d){return d.Se(a,b)}).then(function(d){var e=d.Eh(),f=e.getUser();if(f&&!1===_.Gk(f))d=_.RL(_.DL(c.context.Oc)),d=Error("Eg`"+d+"`"+_.VF(f)),_.tb(d),_.EN(c.context.Rk(),73301807),d=Promise.reject(d);else{f=c.context.VP;var h=0===f.hf()?1:6;_.IL(c.context.Oc)&&lbd(c.H,e);h=agd(f,e,h);(e=e.getMetadata())&&c.context.Du(_.B(e,2),1);(d=_.B(d,4))&&Kgd(c.context,d,!0);h&&c.dispatchEvent(new _.gi("WPi0i"));
d=Promise.resolve(new _.CN(f.Eh(),f.hf(),!1))}return d}).then(function(d){return d},function(d){d=_.QL(d);_.A(d,5,1);return Promise.reject(new _.lc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
Imd.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.wD&&(c.wD=b.wD);this.refresh(b.request,c).then(function(e){return a.EG().callback(e)},function(e){return void a.EG().Od(e)})}else if(b=this.context.VP,c=b.Eh(),_.IL(this.context.Oc)){c=c.Eh();var d=c.getUser();d=pbd(this.H,_.VF(d));lbd(this.H,c);agd(b,c,b.hf())&&this.dispatchEvent(new _.gi("WPi0i"));a.EG().callback(new _.CN(b.Eh(),b.hf(),d))}else c.Ab(),b=new _.CN(c,b.hf(),!0),a.EG().callback(b)};
var Jmd=function(a){var b=a.context.Oc.Zf();_.n.setTimeout(function(){var c=_.mf(new _.lf,306);c=_.FL(new _.EL,c);a.refresh(c).then(function(){Jmd(a)},function(){Jmd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,3,72E5))};Imd.prototype.W=function(a){var b=this.context.VP,c=b.Eh().Eh();c&&a.getPeople().find(function(d){return _.B(d,1)===_.VF(c.getUser())})&&(lbd(this.H,c),agd(b,c,b.hf())&&this.dispatchEvent(new _.gi("WPi0i")))};var Kmd=function(a,b,c){this.request=a;this.H=!!b;this.wD=c||null};
var Mmd=function(a){SP.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 _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.c_,"Qb",_.wb(this.dispatchEvent,new _.gi("Qb",this)));Lmd(this)};_.L(Mmd,SP);
var Lmd=function(a){var b=a.context.Pj;bP(b,["nVUlO"],function(){a.oa=!0;a.setActive(!0)});if(!_.iN(a.context.Oc)){var c=_.Gj(a.context.Oc.Zf(),18,1);bP(b,["NSockf"],function(){1===c?Nmd(a):a.setActive(!0)});2===c&&bP(b,["mrK8ic"],function(){a.W||Nmd(a)})}},Nmd=function(a){var b=new _.lf;_.nf(b,!0);_.mf(b,301);var c=new _.DM;_.C5c(c,b);_.A(c,1,1);a.refresh(c).Fg(function(){return null})};
Mmd.prototype.refresh=function(a,b){var c=this;_.n.clearTimeout(this.ma);this.ma=0;var d=_.Th();this.O=d.promise;_.Uh(this.O,function(){c.O=null;Omd(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.DM;_.A(h,1,this.H);_.C5c(h,a.we());this.context.Pm().then(function(k){return k.Se(h,b)}).then(function(k){c.error=null;var l=c.context.c_;l.eQ(k,l.jD()?6:1);d.resolve()},function(k){c.H=e;k=_.$A(k);var l=k.Og;_.A(l,5,2);f?(_.OL(l,1),k.message="Initial app settings refresh failed.",
_.A(k.Og,21,"Initial app settings refresh failed."),c.context.sJ(l),c.setActive(!0)):(_.OL(l,2),k.message="Error occurred while loading the latest set of apps.",_.A(k.Og,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};Mmd.prototype.va=function(){return!1};
Mmd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Aja,f=c.wD?{wD:c.wD}:void 0;if(!Pmd(d))return this.context.Pm().then(function(l){return l.Se(d,f)}).then(function(l){a.EG().callback(new _.zN(l,1,!1))},function(l){a.EG().Od(_.bM(l))}),_.Ph();c=_.Ph();var h=!1;this.O?Qmd(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&&Qmd(this,d.getType())&&!this.error?(h=!0,e=_.Ph()):e=this.refresh(d,f);
var k=a.EG();e.then(function(){var l=b.context.c_;k.callback(new _.zN(l.Gq(),l.hf(),h))},function(l){k.Od(l)});return c.then()};
var Pmd=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.Md(a,4),a=_.Md(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Qmd=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},Omd=function(a){var b=a.context.Oc.Zf(),c=new _.lf;_.mf(c,306);var d=new _.DM;_.A(d,1,1);_.C5c(d,c);a.ma=_.n.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,4,72E5))},Rmd=function(a,b,c){this.request=a;this.Aja=!!b;this.wD=c||null};
var Tmd=function(a){SP.call(this);var b=this;this.context=a;this.error=null;this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.eE,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.H=_.Th();this.O=_.Md(this.context.Oc.Zf(),30);Smd(this)};_.L(Tmd,SP);
var Smd=function(a){var b=a.context.Pj;bP(b,["rkYxSd"],function(){return a.initialize()});bP(b,["px2C2c"],function(){a.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.Gj(a.context.Oc.Zf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&bP(b,["mrK8ic"],function(){cP(b,"OZvrNc")}));!_.S(a.context.Oc,11,!1)&&_.S(a.context.Oc,24,!1)&&(c.push("DEJoH"),_.n.setTimeout(function(){0<_.Uj(Old(a.context.eE),_.hp,1).length||(b.H("NSockf")?
cP(b,"DEJoH"):bP(b,["NSockf"],function(){cP(b,"DEJoH")}))},12E3));bP(b,c,function(){if(!b.H("px2C2c")){var e=new _.lf;_.nf(e,!0);_.mf(e,301);var f=new _.iD;_.J(f,1,e);J2c(f,Umd(a));a.query(f).Fg(function(){a.initialize()})}})};Tmd.prototype.V=function(){var a="User prefs detected: "+_.Uj(Old(this.context.eE),_.hp,1).length;this.context.Rf().info("drive.ds.sync.userprefs.UserPrefsManager",a);Vmd(this)};
Tmd.prototype.query=function(a,b){var c=this,d=b?{wD:b}:void 0;return this.context.Pm().then(function(e){return e.Se(a,d)}).then(function(e){c.error=null;var f=c.context.eE;f.eQ(_.Uj(e,_.hp,3),f.jD()?6:1,_.Md(a,3))}).then(null,function(e){e=_.$A(e);_.A(e.Og,5,4);0<c.commands.$b()||c.context.sJ(e.Og);c.error=e;throw e;})};
Tmd.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.EG(),e=new Set([].concat(_.jd(this.context.eE.EF.keys()))),f=_.Md(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Aja=!0);this.error?d.Od(this.error):c.Aja?(J2c(c.request,Umd(this,f)),_.Uh(this.H?this.H.promise:this.query(c.request,c.wD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var Umd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.jd(a.O),_.jd([].concat(_.jd(a.context.eE.EF.keys()))),_.jd(b)));return[].concat(_.jd(a.values()))};
Tmd.prototype.getData=function(a,b,c){b=this.context.eE.SG(b);a.callback(new _.BN(b.H,b.Oe,c))};var Vmd=function(a){var b=a.context.Oc.Zf();_.n.setTimeout(function(){var c=new _.iD,d=new _.lf;_.mf(d,306);_.J(c,1,d);J2c(c,Umd(a));_.Uh(a.query(c).Fg(_.Ef),function(){Vmd(a)})},Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,5,72E5))},Wmd=function(a,b,c){this.request=a;this.Aja=!!b;this.wD=c||null};
var Xmd=function(a,b,c,d){RP.call(this,"IS",b);this.context=a;this.Mc=new _.Ee(this);this.Ba=_.Th();this.O=null;this.ha=!1;this.W=null;this.Fa=new Pfd(a);D2c(this.Fa);this.Ma(this.Mc);this.ka=new Imd(a);this.Ma(this.ka);this.Mc.listen(this.ka,"WPi0i",function(){return c(new ofd(1))});this.ma=new Mmd(a);this.Ma(this.ma);this.Mc.listen(this.ma,"Qb",function(){return c(new ofd(2))});this.oa=new Tmd(a);this.Ma(this.oa);this.Mc.listen(this.oa,"WPi0i",function(){return c(new ofd(4))});this.Ha=d;this.H=
this.context.Pm()};_.L(Xmd,RP);_.g=Xmd.prototype;
_.g.UU=function(){var a={};return a["3.43"]=this.O_.bind(this),a["3.42"]=this.S7.bind(this),a["3.1"]=this.rN.bind(this),a["3.2"]=this.SG.bind(this),a["3.3"]=this.xd.bind(this),a["3.35"]=this.VN.bind(this),a["3.4"]=this.mz.bind(this),a["3.5"]=this.Gq.bind(this),a["3.6"]=this.VR.bind(this),a["3.8"]=this.Il.bind(this),a["3.36"]=this.My.bind(this),a["3.9"]=this.gF.bind(this),a["3.10"]=this.sr.bind(this),a["3.11"]=this.kaa.bind(this),a["3.12"]=this.w8.bind(this),a["3.13"]=this.gT.bind(this),a["3.14"]=
this.iaa.bind(this),a["3.15"]=this.y8.bind(this),a["3.16"]=this.gu.bind(this),a["3.17"]=this.TDb.bind(this),a["3.18"]=this.XDb.bind(this),a["3.19"]=this.hQ.bind(this),a["3.20"]=this.VDb.bind(this),a["3.25"]=this.UDb.bind(this),a["3.22"]=this.x8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.aoa.bind(this),a["3.29"]=this.eyb.bind(this),a["3.40"]=this.ZDb.bind(this),a["3.33"]=this.$Db.bind(this),a["3.39"]=this.dP.bind(this),a["3.37"]=this.YDb.bind(this),a["3.38"]=this.Gab.bind(this),a["3.41"]=
this.XR.bind(this),a["3.44"]=this.v0.bind(this),a["3.45"]=this.Qo.bind(this),a["3.46"]=this.T7.bind(this),a};_.g.rN=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EL);a=new Kmd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Pj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.qd([d.response,d.Oe,d.g0])},function(d){return b.qd(void 0,d)})};
_.g.SG=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iD);a=new Wmd(c,a.args[1],this.context.H[a.clientId]);cP(this.context.Pj,"OZvrNc");return this.oa.enqueue(a).then(function(d){return b.qd([d.response,d.Oe,d.g0])},function(d){return b.qd(void 0,d)})};
_.g.xd=function(a){var b=this,c=hO(a.args[0],!!a.kc,l2c),d=_.C(c,_.eM,16)||_.C(c,_.fM,1)||_.C(c,_.gM,2)||_.C(c,_.jM,3)||_.C(c,_.GN,4)||_.C(c,_.hM,5)||_.C(c,_.nM,6)||_.C(c,_.pM,7)||_.C(c,_.qM,8)||_.C(c,_.tM,9)||_.C(c,_.JM,10)||_.C(c,_.KM,11)||_.C(c,_.LM,12)||_.C(c,_.TL,13)||_.C(c,_.OM,14)||_.C(c,_.PM,15)||_.C(c,_.fO,17),e=TP(this,a);return this.H.then(function(f){return f.Se(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.VN=function(a){var b=this,c=hO(a.args[0],!!a.kc,u2c),d=_.C(c,_.kM,1)||_.C(c,_.rM,2)||_.C(c,_.QM,3),e=TP(this,a);return this.H.then(function(f){return f.Se(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.mz=function(a){var b=this,c=hO(a.args[0],!!a.kc,o2c),d=TP(this,a),e=[],f=[];q2c(c).forEach(function(h){h instanceof _.eM?e.push(String(h.Cc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Se(h,d)}))});a=_.qL(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.Uh(a,function(){return void mid(b.context.tf)});return a.then(function(h){return b.qd([new b2c(e,h)])})};
_.g.Gq=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.DM),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=TP(this,a);a=this.H.then(function(f){return f.Se(c,e)}).then(function(f){return new _.zN(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.zN(f.response,f.Oe,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new Rmd(c,d,this.context.H[a.clientId]),cP(this.context.Pj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.qd([f.response,f.Oe,f.g0])},function(f){return b.qd(void 0,
f)})};_.g.VR=function(a){var b=this,c=hO(a.args[0],!!a.kc,r2c),d=_.C(c,_.jD,1)||_.C(c,_.kD,2),e=TP(this,a);return this.H.then(function(f){return f.Se(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};_.g.Il=function(a){a=a.args[0];if(this.context.Xy)a?_.FZc(this.context.Xy,!0):this.context.qk().Te()&&this.context.Xy.mM(!0).then(null,function(){});else try{this.context.Ij().Il(a)}catch(b){return this.qd(void 0,b)}return this.qd([])};
_.g.My=function(a){var b=this,c=a.args[0];return this.context.My(c).then(function(d){return d?(b.context.Ij().My(c),b.Ha(c),b.context.Rs.iL().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 _.Sh([this.context.gaa.promise,this.context.Lfa.promise]).then(function(){return a.context.Rs.iL()}).then(function(){return a.qd([])},function(b){return a.qd(void 0,b)})};
_.g.gF=function(){try{var a=this.context.m6;a&&a.Doa();this.context.rha.gF();return this.qd([])}catch(b){return this.qd(void 0,b)}};_.g.XR=function(){this.context.XR();return this.qd([])};_.g.sr=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.wM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.kaa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.xM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.w8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.lM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.gT=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.MM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.iaa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.yM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return _.IL(b.context.Oc)?obd(b.context.tf.vq,[_.C(e,_.Fk,2)],c.Cc()).then(function(){return e}):e}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.y8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.oM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.gu=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.FM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d).then(function(f){return _.IL(b.context.Oc)?nbd(b.context.tf.vq,f):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.TDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.Yed),d=new _.UVc(c,a.args[1],a.args[2]||void 0),e=TP(this,a);return this.H.then(function(f){return f.Se(d,e)}).then(function(f){return b.qd([f])},function(f){return b.qd(void 0,f)})};
_.g.XDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.EM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d).then(function(f){return _.IL(b.context.Oc)?obd(b.context.tf.vq,_.Uj(f.qd(),_.Fk,2),c.wd().getId()).then(function(){return f}):f})}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.hQ=function(){var a=this;return(_.S(this.context.Oc.Zf(),52,!1)?_.Ph(F$c(new E$c,0)):this.context.yI.hQ()).then(function(b){return a.qd([b])},function(b){return a.qd(void 0,b)})};_.g.VDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.TVc),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.UDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.CM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.x8=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.mM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.aoa=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.kL),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e,null])},function(e){return b.qd([null,_.QL(e)])})};_.g.eyb=function(){return this.qd([!0])};_.g.ZDb=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.HF),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.$Db=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.IF),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.O_=function(a){a=hO(a.args[0],!!a.kc,_.Ye);Chd(this.context.tf,[a]);return this.qd([])};_.g.S7=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.iM),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.dP=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.zP),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return ybd(c,e)}).then(function(e){return b.qd(e)},function(e){return b.qd(void 0,e)})};_.g.YDb=function(a){var b=this,c=new _.aWc(hO(a.args[0],!!a.kc,_.RTb),a.args[1]),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e.response,e.pageToken])},function(e){return b.qd(void 0,e)})};
_.g.Gab=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.GF),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};_.g.v0=function(a){var b=this,c=hO(a.args[0],!!a.kc,_.tN),d=TP(this,a);return this.H.then(function(e){return e.Se(c,d)}).then(function(e){return b.qd([e])},function(e){return b.qd(void 0,e)})};
_.g.Qo=function(a){var b=a.args.map(function(c){return hO(c,!!a.kc,_.ML)});this.context.tf.Qo(b);mid(this.context.tf);return this.qd([])};_.g.T7=function(){var a=this,b=this.context.Xy;return(b?b.mM():_.Ph(_.oZc(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=_.Th();this.context.Rf().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Oc.Ji());this.Mc.listen(this.context,_.wc,function(e){e=e.error;var f=e.Og;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):D5c(a.context.Rf(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Pj,c=["hVFf7"];_.iN(this.context.Oc)&&c.push("BNEDtc");bP(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});bP(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){IP(a.context).then(function(e){return void e.start()})};bP(b,["T8oKm","ZA9qG"],function(){return void d()});bP(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();cP(b,"NSockf")}return this.O.promise};_.g.Dba=function(){return this.Ba.promise};_.g.Fu=function(){var a=this.context.m6;a&&a.dispose();return this.context.Fu()};
var TP=function(a,b){return(a=a.context.H[b.clientId])?{wD:a}:{}};
var Ymd=function(a,b,c){RP.call(this,"DU",b);this.context=a;this.O=c;this.H=new Pfd(a)};_.L(Ymd,RP);_.g=Ymd.prototype;
_.g.UU=function(){var a=this,b={};return b["5.1"]=function(){return a.fia()},b["5.2"]=function(c){return a.MM(c)},b["5.4"]=function(c){return a.Bz(c)},b["5.5"]=function(){return a.ZQ()},b["5.10"]=function(){return a.nN()},b["5.6"]=function(){return a.Bda()},b["5.7"]=function(){return a.SS()},b["5.9"]=function(c){return a.nqa(c)},b["5.8"]=function(c){return a.i5(c)},b["5.11"]=function(){return a.Dpa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Il(c)},b};
_.g.fia=function(){var a=this;this.context.Rs.gS();var b=this.context.Oc;return wdd(_.gN(_.DL(b)),_.hN(b),this.context.Rf()).Fg(function(){}).then(function(){return a.qd([])})};_.g.MM=function(a){a=this.context.tf.um.H(a.args[0]);return this.qd([a?a.kc():JSON.stringify(null)])};_.g.Bz=function(a){var b=this;return this.context.JA.Bz(a.args[0]).then(function(c){return b.qd([c.kc()])})};_.g.ZQ=function(){for(var a=this.context.JA.ZQ(),b=[],c=0;c<a.length;c++)b.push(_.Yj(a[c]));return this.qd([JSON.stringify(b)])};
_.g.i5=function(a){var b=this,c=new _.wUc(JSON.parse(a.args[0])),d=a.args[1],e=a.args[2];if(_.C(c,_.JL,3)||_.C(c,_.SM,4)||_.C(c,_.GN,5)||_.C(c,_.PM,6)||_.C(c,_.qM,7)||_.C(c,_.jM,8)||_.C(c,_.nM,9)||_.C(c,_.TL,10)){var f=M$c(c);return this.context.Pm().then(function(h){return h.Se(f,{H7a:d,I7a:e})}).then(this.Hab.bind(this,a),function(h){return b.qd(void 0,h)})}return _.Ph(this.qd(void 0,Error("ag")))};
_.g.Hab=function(a,b){a=[];var c="";if(b instanceof _.HN){a=b.qd().Fd();var d=_.B(b,2);c=b.Sn()}else if(b instanceof _.UM)b.getItem()&&a.push(b.getItem()),d=b.WM();else return this.qd(void 0,Error("bg"));b=[];for(var e=0;e<a.length;e++)b.push(_.Yj(a[e]));return this.qd([JSON.stringify(b),d,c])};_.g.nqa=function(){var a=this.context.Oc,b=a.Zf();a="email:"+_.DL(a).getEmail().replace(/@.*$/,"");_.A(b,13,a);return this.qd([])};_.g.Bda=function(){this.context.OF.H=new mcd(_.Mg().substring(0,8));return this.qd([])};
_.g.SS=function(){var a=this.context.OF.nN();if(a){for(var b=[],c=ocd(this.context.OF),d=0;d<c.length;d++)b.push(_.Yj(c[d]));a=[a.bea,a.startTime,JSON.stringify(b)]}else a=[];b=this.context.OF;b.H=null;b.GY=[];return this.qd(a)};_.g.nN=function(){var a=this.context.OF.nN();return this.qd(a?[a.bea,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.va).then(function(b){return a.qd([b])})};
_.g.Dpa=function(){var a=[this.O.Fu(),_.wi(3E4)];_.Uh(_.Jja(a),function(){_.n.setTimeout(function(){self.close()})});return this.qd([])};_.g.Il=function(a){this.H.Il(a.args[0]);return this.qd([])};
var Zmd=function(a,b,c,d,e,f,h){_.UN.call(this,a,b,c,d,f,h);this.H=e;this.Cd=null};_.L(Zmd,_.UN);Zmd.prototype.tM=function(a,b){var c=this;return _.$h(this.H.then(function(d){return d.b3a(u1c(c.O,c.va,a,b,c.ij,c.ha))},null))};Zmd.prototype.ma=function(a,b){var c=this.wd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Bz();e&&(d=_.B(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.RZc(a,b,d))}};
var $md=function(a,b,c,d,e,f,h,k){RP.call(this,"FU",k);this.ka=a;this.ha=b;this.oa=c;this.Ba=d;this.W=e;this.ma=f;this.Cd=h;this.H={};this.O={};this.Mc=new _.Ee(this);this.Ma(this.Mc)};_.L($md,RP);_.g=$md.prototype;
_.g.UU=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.hG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.tM(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=hO(a.args[0],!!a.kc,_.jM),e=a.args[1];if(!this.H[c]){var f=new Zmd(this.ka,this.ha,this.oa,this.Ba,this.W,this.ma,this.Cd);this.Mc.listen(f,"Lb",_.wb(this.Iab,a.clientId,a.requestId));this.Ma(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.ej(),r=_.Th();b.O[q]=r;b.update(l,p,and(3,q,[h,k]));return r.promise}).then(function(h){return b.qd([h])},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.hG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].hG();return this.qd([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ka(f,function(p){k[p]=h[l++]});_.Ma(k,function(p,q){p.Sf(function(r){b.update(a.clientId,c,and(0,e,[q,r]))},function(r){b.update(a.clientId,c,and(1,e,[q,r.Og]))})});return this.qd([])}return this.qd(void 0,_.QL("Could not retry upload."))};
_.g.tM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=u1c(b.O,b.va,c,a,b.ij,b.ha),this.qd([x2c(c)])):this.qd(void 0,_.QL("FileUploader not found."))};_.g.Iab=function(a,b,c){this.update(a,b,and(2,c.requestId,[c.progress,c.totalBytes]))};var and=function(a,b,c){return[Number(a),b].concat(_.jd(c))};
var bnd=function(a,b){RP.call(this,"IE",b);this.O=a;this.H=new Map};_.L(bnd,RP);bnd.prototype.UU=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};
bnd.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=hO(a.args[0],!!a.kc,_.SVc);e=new DP(this.O,e);var f=_.ue(e,"Pb",function(h){b.update(a.clientId,c,[h.xPa,h.qua])});_.we(e,function(){_.mi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.qd([h])},function(h){return b.qd(void 0,h)})};bnd.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.qd([])};
var cnd=function(a,b){RP.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.Th();this.O=new Ufd(a,a.Ig)};_.L(cnd,RP);cnd.prototype.UU=function(){var a=this,b={};return b["6.1"]=function(c){return dnd(a,c)},b["6.2"]=function(c){return end(a,c)},b["6.3"]=function(){a.H&&(Xfd(a.O),a.H=!1,a.W=_.Th());return a.qd([])},b};
var dnd=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return hO(d,!!b.kc,_.Yk)});a.O.nl(c);cP(a.context.Pj,"GZTDpc");a.W.resolve()}return a.qd([])},end=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return hO(d,!!b.kc,_.ML)});Wfd(a.O,c);return a.qd([])})};
var fnd=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Fg`"+b);a.services.set(b,new _.Vh)})};fnd.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 gnd=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)})};fnd.prototype.zo=function(){return[].concat(_.jd(this.services.values())).every(function(a){return a.ag()})};
var hnd=function(){},ind={0:2E3,1:3E3,2:5E3},jnd=function(a,b){this.request=a;this.ha=b;this.O=_.Th();this.continuationToken="";this.V=0;this.yE=this.W=!1;this.H=hnd};jnd.prototype.Xg=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=hnd;b.V=0;return c},function(c){b.H=hnd;b.V=0;return Promise.reject(c)})};
jnd.prototype.sendRequest=function(){var a=this;if(this.yE)this.O.resolve((new yP).Dc(8));else{var b=new _.eWc(this.request,this.continuationToken);this.ha.then(function(c){return c.Se(b)}).then(function(c){knd(a,c)},function(c){a.handleError(c)})}};var knd=function(a,b){var c;a.continuationToken=null!==(c=b.Sn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},lnd(a.V++,a.ka)):a.O.resolve(b)};jnd.prototype.handleError=function(a){a=_.$A(a);this.O.reject(a)};
jnd.prototype.cancel=function(){this.yE=!0};var lnd=function(a,b){return b?b:(a=ind[a])?a:1E4};
var mnd=function(a,b){RP.call(this,"TM",b);this.O=a;this.H=new Map};_.L(mnd,RP);mnd.prototype.UU=function(){var a=this,b={};return b["10.1"]=function(c){return nnd(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var nnd=function(a,b){var c=b.clientId+":"+b.requestId,d=hO(b.args[0],!!b.kc,_.Ded);d=new jnd(d,a.O);a.H.set(c,d);return _.Uh(d.Xg(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)})};mnd.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.qd([])};
var UP=function(a,b,c){_.N.call(this);this.H=a;this.Yr=b;this.kb=c;this.fields=null;this.Ha=!1;this.Ja=_.Th();this.W=!1;this.Ba=_.Th();this.O=_.Th();this.oa=null;this.va=this.Ta=!1;this.yb=_.Th();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.TB=Date.now();this.services=new fnd;this.Jb=new _.Ee(this);this.Ma(this.Jb)};_.L(UP,_.N);UP.prototype.lY=function(a){this.O.promise.then(function(b){b.m6||a.Xi(b)})};
var rnd=function(a,b){var c=xmd(a.H,b),d=a.Sb.bind(a,c);UO(b,"8.1",d);b.registerService("8.1",d);UO(b,"8.4",a.Oa.bind(a,c));b.registerService("8.5",function(f){return ond(a,c,f)});UO(b,"8.2",a.Gb.bind(a,c));UO(b,"8.3",a.Mb.bind(a,c));gnd(a.services,b);b.start();pnd(a,c,b);a.ka(c,b);var e=[];a.oa||(a.oa=_.Sh([a.Ja.promise,a.Ba.promise]).then((0,_.v)(a.initialize,a)));e.push(a.oa);_.Sh(e).then(function(){return void qnd(a,c,b)},function(f){a.Ta=!0;VO(b,"2.2",{err:_.QL(f).kc()},d)})},snd=function(a){return Math.floor((Date.now()-
a.TB)/1E3)},tnd=function(a,b,c){var d=function(e){VO(b,"2.8",{au:"ib"===e.type})};a.Jb.listen(c.yI,["ib","jb"],d);_.we(b,a.Jb.Yc.bind(a.Jb,c.yI,["ib","jb"],d))},und=function(a,b,c){var d=c.qk(),e=[].concat(_.jd(Object.values(_.aB))),f=function(h){VO(b,"2.19",{cs:h.connectionState})};a.Jb.listen(d,e,f);_.we(b,function(){a.Jb.Yc(d,e,f)})};
UP.prototype.Sb=function(a){var b=ymd(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){Bmd(d,a)}),b.dispose(),this.log(_.tt("Client %d disconnected (num clients remaining: %d)",a,_.Ra(this.H.channels))),0===_.Ra(this.H.channels))){var c=function(){_.n.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.Uh(d.Fu(),c)})}};
UP.prototype.Oa=function(a,b){if(this.ha.has(a))return _.Ph();var c=new _.Sb(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){smd(d,a,_.E(c.Zf(),37,""));rmd(d,_.Md(c,28));d.tf.Hla(_.Uj(c,_.Cl,91));return d.BX.promise.then(function(){Chd(d.tf,_.Uj(c,_.Ye,44))})},function(){})};
UP.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new Jgd(e,e.Ig);e.Xg(d);e.dispose();(e=c.H.channels[a]||null)&&VO(e,"2.16")})}};UP.prototype.Mb=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){vnd(new mhd(h),e);(h=c.H.channels[a]||null)&&VO(h,"2.17",{t:f})})}};
var vnd=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.Xg(c)});a.dispose()};UP.prototype.$a=function(){for(var a=[],b={},c=_.m(_.Sa(this.H.channels)),d=c.next();!d.done;b={Fea:b.Fea,efa:b.efa},d=c.next())b.Fea=d.value,b.efa=_.Th(),VO(b.Fea,"2.12",void 0,function(e){return function(){e.Fea.dispose();e.efa.resolve()}}(b)),a.push(b.efa.promise);return _.Sh(a).then()};
UP.prototype.initialize=function(a){var b=this;a=a[0];_.uXc(a,this.fields);var c=_.C(a,_.ZL,58);c=c&&_.S(c,1,!1)?this.kb:void 0;try{var d=new jO(null,a,this.Yr,c,void 0,void 0),e=d.Rk().H(106E3);Zld(d,this.$a.bind(this));this.Jb.listen(d.Ij(),"Ab",function(k){k={os:k.Te()};for(var l=_.m(_.Sa(b.H.channels)),p=l.next();!p.done;p=l.next())VO(p.value,"2.6",k)});this.Jb.listen(d,_.wc,this.nb);this.Jb.listen(d,"w8KrJc",this.Lc);J$c(d.yI,this.ka.bind(this));var f=d.Xy;f&&S5c(f,function(){return b.ka()});
this.O.resolve(d);var h=wnd(this,d,new Xmd(d,this.H,(0,_.v)(this.uc,this),(0,_.v)(this.Ec,this)));e&&h.then(function(){return e&&e.Yj()});return h}catch(k){return _.Rh(k)}};
var wnd=function(a,b,c){a.services.activate(c);a.services.activate(new zmd(b,a.H));a.services.activate(new Ymd(b,a.H,c));a.services.activate(new cnd(b,a.H));a.services.activate(new $md(b.Oc,b.JA,b.YQ().Jfa,b.Pm(),b.dQ,b.Rf(),b.Rk(),a.H));a.services.activate(new bnd(b.Pm(),a.H));a.services.activate(new mnd(b.Pm(),a.H));return c.initialize()},qnd=function(a,b,c){var d=_.Ra(a.H.channels);a.log(_.tt("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));VO(c,"2.2",{id:b,
clients:d,uptimeSec:snd(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.b_.addCallback(function(f){c.isDisposed()||VO(c,"2.5",{id:f})});1<d&&IP(e).addCallback(function(f){return f.Mwa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Dba().then(function(){c.isDisposed()||VO(c,"2.14")})});tnd(a,c,e);und(a,c,e)})};UP.prototype.uc=function(a){a={dt:a.dataType};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.15",a)};
UP.prototype.Ec=function(a){var b={oois:a};_.Sa(this.H.channels).forEach(function(c){VO(c,"2.18",b)})};UP.prototype.nb=function(a){a={p:a.error.Og.kc()};for(var b=_.m(_.Sa(this.H.channels)),c=b.next();!c.done;c=b.next())VO(c.value,"2.10",a)};UP.prototype.Lc=function(){for(var a=_.m(_.Sa(this.H.channels)),b=a.next();!b.done;b=a.next())VO(b.value,"2.7")};var pnd=function(a,b,c){a.ha.has(b)?_.Ph():new _.Oh(function(d){VO(c,"2.1",void 0,function(e){d(a.Oa(b,e))})})};
UP.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Rh(Error("Hg"));if(this.W&&this.Fa.has(a))return _.Ph()}b=b||_.Sa(this.H.channels)[0];if(!b)return _.Rh(Error("Ig"));var d=_.Th();b.send("1.1",void 0,function(e){ond(c,a,e);d.resolve()});return d.promise};var ond=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())};
UP.prototype.log=function(a){this.O.promise.then(function(b){return b.Rf().info("drive.ds.sync.cacheproxy.Worker",a)})};
var xnd=function(a,b){QP.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.L(xnd,QP);_.g=xnd.prototype;_.g.La=function(){return _.C(this.context.Oc,_.ZL,58)};_.g.getContext=function(){return this.context};_.g.Bz=function(){return this.send("5.4",[this.H],function(a){return new _.iYc(JSON.parse(a[0]))})};_.g.Rf=function(){return this.context.Rf()};_.g.MM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Yk(b)})};
_.g.ZQ=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 _.wUc(a[c]));return b})};_.g.i5=function(a,b,c){return this.send("5.8",[a.kc(),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 _.Yk(e[k]));return{items:h,Eia:f,pageToken:d}})};_.g.nqa=function(){this.send("5.9",[])};_.g.fia=function(){this.send("5.1",[])};_.g.q9=function(){return _.$Uc[_.Gj(this.context.Oc.Zf(),8,0)]};
_.g.Bda=function(){this.send("5.6",[])};_.g.SS=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 N$c(a[e]));return{traceId:new mcd(b,c),spanRecs:d}})};_.g.nN=function(){return this.send("5.10",[],function(a){return 0===a.length?null:new mcd(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.Dpa=function(){this.send("5.11",[])};
_.g.Il=function(a){this.send("5.13",[a])};
var ynd=function(a,b){QP.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Da(this))};_.L(ynd,QP);ynd.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return hO(b[0],c,dfd)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};ynd.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
ynd.prototype.N$=function(a,b,c){this.dispatchEvent(new pfd(c[0],c[1]))};
var znd=function(a){QP.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.L(znd,QP);znd.prototype.nY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.xV().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.R_(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var And=function(a,b){jP.call(this,a,b)};_.L(And,jP);And.prototype.uia=function(a,b,c){return new _.aWc(a,c)};And.prototype.Ika=function(a){return a.pageToken||""};And.prototype.Vja=function(a){return a.response.O()};And.prototype.k6=function(){};
var Bnd=function(a,b,c){CP.call(this,a.Ij(),a.qk(),b.Li()||void 0);this.request=b;this.O=[];this.changed=!1;this.ka=c;this.V=new And(this.request,this.ka)};_.L(Bnd,CP);_.g=Bnd.prototype;_.g.UG=function(){this.V.Xg().then(this.Jab.bind(this),this.handleError.bind(this))};_.g.getData=function(){return ved(new xP,this.O).Dc(this.status)};_.g.$r=function(){return new ted};_.g.Sj=function(){return!this.Te()&&(!this.H||Abd(this.V))};_.g.Jab=function(a){this.changed=this.H=!0;this.O=a;this.St()};
_.g.St=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.$b=function(){return this.O.length};
var Cnd=function(a,b,c){CP.call(this,a.Ij(),a.qk(),b.Li()||10);this.request=b;this.O=[];this.data=[];this.changed=!1;this.V=new _.ySc;this.suggestionSessionId=null;this.ka=c};_.L(Cnd,CP);_.g=Cnd.prototype;_.g.UG=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.yj();a.suggestionSessionId=b.Uf();a.St()},this.handleError.bind(this))};_.g.getData=function(){this.O=this.data;return _.p1c(_.o1c((new _.WN).Dc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.$r=function(){var a=this.V.Cz(this.O,this.data);this.O=this.data;var b=(new zed).Dc(this.status);return _.Nj(b,2,a)};_.g.bP=function(){};_.g.St=function(){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))};_.g.$b=function(){return this.data.length};
var Dnd=function(){};_.g=Dnd.prototype;_.g.vM=function(a,b){b=Ved(1).setPosition(b);_.J(b,2,a);return b};_.g.uM=function(a,b){b=Ved(2).setPosition(b);_.J(b,2,a);return b};_.g.CE=function(a,b,c){b=Ved(3).Ny(b).setPosition(c);_.J(b,2,a);return b};_.g.pQ=function(a,b){b=Ved(4).setPosition(b);_.J(b,2,a);return b};_.g.YM=function(a){return _.C(a,_.z9c,2)};
var Fnd=function(){_.lL.call(this,new Dnd,function(a){return End(a)})};_.L(Fnd,_.lL);var End=function(a){switch(_.Ej(a,y9c[0])){case 6:return _.Bx(_.C(a,_.Ax,6)).getTime().toString();case 7:var b=_.C(a,_.NO,7);a=_.C(b,_.Ax,1);b=b.xr();return a&&b?(a=_.Bx(a).getTime(),_.Bx(b).getTime()+"--"+a):"";default:return""}},Hnd=function(){Gnd||(Gnd=new Fnd);return Gnd},Gnd;
var Ind=function(a,b,c,d){CP.call(this,b.Ij(),b.qk(),d);this.request=a;this.V=!1;this.ka=[];this.O=[];this.token="";this.changed=!1;this.ma=new _.zZc(_.bk(b.Oc.Zf(),6,1E3));this.oa=c};_.L(Ind,CP);_.g=Ind.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.St()};_.g.UG=function(){_.R(this.request,3)?this.page():this.poll()};_.g.Er=function(a){if(a=a||50,this.O.length>this.limit)this.changed=!0;CP.prototype.Er.call(this,a)};
_.g.getData=function(){var a=(new $ed).Dc(this.status);_.Nj(a,2,this.O.slice(0,this.limit));this.ka=_.ya(this.O);return a};_.g.$r=function(){var a=Hnd().Cz(this.ka,this.O),b=new Xed;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.Sj=function(){return!this.Te()&&(!this.H||this.O.length>this.limit||!!this.token)};_.g.wd=function(){return this.request};_.g.TMa=function(a){this.dispatchEvent(new _.mc(a));this.V=!1};
_.g.Txb=function(a,b){this.H=!0;var c=_.Uj(b,_.z9c,1);this.O=this.O.concat(c);this.token=b.ky()||"";0<c.length&&(this.changed=!0);this.St();this.page(a)};_.g.lyb=function(a){Hnd();this.H=!0;var b=_.Uj(a,_.z9c,1);oO(0,this.O.slice(0,b.length),b)?(this.O=b,this.token=a.ky()||"",this.changed=!0,this.St(),this.page()):(this.V=!1,Jnd(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(_.wb(this.Txb,a),this.TMa,this):(this.V=!1,a&&a.callback(),Jnd(this))):this.V=!1};_.g.poll=function(){this.active&&(this.V=!0,this.oa(this.request,this.limit).Sf(this.lyb,this.TMa,this))};_.g.St=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};
_.g.EL=function(){this.Te()&&!this.H?this.status=2:this.status=this.O.length<this.limit&&(!this.H||this.token)?6:1};_.g.bP=function(){this.active&&this.Sj()&&!this.V&&this.page(new _.Vh)};var Jnd=function(a){_.R(a.request,3)||(_.rH(a.ma),_.n.setTimeout((0,_.v)(a.poll,a),a.ma.Ya()))};Ind.prototype.$b=function(){return this.O.length};
var Knd=function(){};_.g=Knd.prototype;_.g.vM=function(a,b){return bfd(afd(1),a).setPosition(b)};_.g.uM=function(a,b){return bfd(afd(2).setPosition(b),a)};_.g.CE=function(a,b,c){return bfd(afd(3).Ny(b).setPosition(c),a)};_.g.pQ=function(a,b){return bfd(afd(4),a).setPosition(b)};_.g.YM=function(a){return _.C(a,_.rP,2)};
var Lnd=function(){_.lL.call(this,new Knd,function(a){return a.getId()})};_.L(Lnd,_.lL);var Nnd=function(){Mnd||(Mnd=new Lnd);return Mnd},Mnd;
var Ond=function(a,b,c){CP.call(this,b.Ij(),b.qk());this.request=a;this.ka=[];this.O=[];this.changed=!1;this.V=new _.zZc(_.bk(b.Oc.Zf(),54,1E3));this.ma=c};_.L(Ond,CP);_.g=Ond.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.St()};_.g.UG=function(){this.poll()};_.g.getData=function(){var a=new jfd;a=_.Nj(a,2,this.O).Dc(this.status);this.ka=_.ya(this.O);return a};_.g.$r=function(){var a=Nnd().Cz(this.ka,this.O),b=new hfd;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.O);return a};
_.g.Sj=function(){return!this.Te()&&!this.H};_.g.poll=function(){var a=new _.Vh;this.ma(this.request).Sf(_.wb(this.Lab,a),_.wb(this.Kab,a),this);return a};_.g.Kab=function(a,b){this.dispatchEvent(new _.mc(b));a.Od(b);Pnd(this)};_.g.Lab=function(a,b){this.H=!0;b=_.Uj(b,_.rP,2);oO(Nnd(),this.O,b)&&(this.changed=!0,this.O=b,this.V.reset());this.St();a.callback();Pnd(this)};
_.g.St=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};_.g.bP=function(){};var Pnd=function(a){a.active&&(_.n.setTimeout((0,_.v)(a.poll,a),a.V.Ya()),_.rH(a.V))};Ond.prototype.$b=function(){return this.O.length};
var Qnd=function(){};_.g=Qnd.prototype;_.g.vM=function(a,b){return eed(ded(1),a).setPosition(b)};_.g.uM=function(a,b){return eed(ded(2).setPosition(b),a)};_.g.CE=function(a,b,c){return eed(ded(3).Ny(b).setPosition(c),a)};_.g.pQ=function(a,b){return eed(ded(4),a).setPosition(b)};_.g.YM=function(a){return _.C(a,_.Fk,2)};
var Rnd=function(){_.lL.call(this,new Qnd,function(a){return a.getId()})};_.L(Rnd,_.lL);_.Ff(Rnd);
var VP=function(a,b,c){_.ri.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.L(VP,_.ri);VP.prototype.wi=function(a){this.limit=a};VP.prototype.Xg=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():Snd(this)};VP.prototype.Kka=function(){return this.permissions};
var Snd=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.EM;c=_.J(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))};VP.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Sn()||"";a=_.Uj(a.qd(),_.Fk,2);this.permissions=_.xa(this.permissions,a);a.length&&this.dispatchEvent("Cb");if(this.nextPageToken&&this.permissions.length<this.limit)return Snd(this);this.dispatchEvent("Fb")};
VP.prototype.handleError=function(a){this.H=!1;a=new XO(_.QL(a),_.bk(this.context.Oc.Zf(),1,1));this.dispatchEvent(a)};
var Tnd=function(a,b,c,d){CP.call(this,b.Ij(),b.qk(),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 VP(b,this.request,this.ma);_.we(this,function(){e.V&&(_.n.clearTimeout(e.V),e.V=null)})};_.L(Tnd,CP);_.g=Tnd.prototype;_.g.activate=function(){CP.prototype.activate.call(this);this.St()};_.g.UG=function(){this.query()};_.g.Er=function(a){CP.prototype.Er.call(this,a||100)};
_.g.getData=function(){var a=new qO;a=_.Nj(a,2,this.permissions.slice(0,this.limit)).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.$r=function(){var a=Rnd.Db().Cz(this.ka,this.permissions),b=new led;a=_.Nj(b,2,a).Dc(this.status);this.ka=_.ya(this.permissions);return a};_.g.Sj=function(){var a;(a=!this.Te())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.wd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new VP(this.context,this.request,this.ma);this.O.wi(this.limit);return this.O.Xg().then(function(){return Und(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){CP.prototype.handleError.call(this,a);Vnd(this)};var Und=function(a){a.H=!0;var b=a.O.Kka();oO(Rnd.Db(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.St();Vnd(a)};
Tnd.prototype.St=function(){if(this.active){var a=this.status;this.EL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.gi(_.xc,this))}};Tnd.prototype.bP=function(){var a=this;this.O.wi(this.limit);this.O.Xg().then(function(){return Und(a)},function(b){return a.handleError(b)})};var Vnd=function(a){if(a.active){var b=a.context.Oc.Zf();a.V=_.n.setTimeout((0,_.v)(a.query,a),Math.ceil(_.bk(b,7,9E5)*Math.random())+_.bk(b,15,36E5))}};Tnd.prototype.$b=function(){return this.permissions.length};
var Wnd=function(a){6!==a.status&&_.n.setTimeout(function(){a.dispatchEvent(new _.gi(_.xc,a))},0)};
var Xnd=function(){},Ynd=function(a,b){QP.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=Xnd;this.H=null;this.id=String(_.Da(this))};_.L(Ynd,QP);Ynd.prototype.N$=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(hO(a,b,yP)))};Ynd.prototype.Xg=function(a){a=void 0===a?Xnd:a;if(!this.H){this.O=a;var b=_.Th();this.H=b;this.send("10.1",[this.request],function(c,d){return hO(c[0],d,yP)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
Ynd.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var Znd=function(a,b,c){_.ri.call(this);var d=this;this.instanceId=a;this.H=b;this.V=c;this.zu={};this.O={};_.we(this,function(){d.H("7.6",[])})};_.L(Znd,_.ri);_.g=Znd.prototype;_.g.getId=function(){return this.instanceId};_.g.oQ=function(){return _.oL()};
_.g.upload=function(a,b){!_.B(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 _.zXc;_.A(d,1,b.size);_.J(a,15,d);this.O[a.ej()]=b}return this.H("7.1",[a,c],function(e,f){return hO(e[0],f,_.UM)})};_.g.cancel=function(a){this.H("7.2",[a])};_.g.hG=function(){this.H("7.3",[])};
_.g.retry=function(a){for(var b={},c=_.m(a),d=c.next();!d.done;d=c.next())b[d.value]=new _.Vh;c=this.oQ();this.zu[c]=b;b=_.Sa(b);this.H("7.4",[c].concat(_.jd(a)));return b};_.g.tM=function(a,b){var c=this;return this.H("7.5",[a].concat(_.jd(b)),function(d){return y2c(d[0])}).addCallback(function(d){return c.V.addCallback(function(e){return e.b3a(d)})})};var $nd=function(a,b,c,d){if(a.zu[b]&&a.zu[b][c]){var e=a.zu[b][c];d instanceof _.UM?e.callback(d):e.Od(d);delete a.zu[b][c];_.Va(a.zu[b])&&delete a.zu[b]}};
var aod=function(a,b){QP.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.L(aod,QP);var bod=function(a){var b=_.oL(),c=new Znd(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.we(c,function(){return void a.H.delete(b)});return c};
aod.prototype.N$=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.O[d];a.H("7.7",[d,_.FVc(c,b,Math.min(c.size,b+e))]);break;case 0:b=hO(e[1],b,_.UM);$nd(a,d,e[0],b);break;case 1:b=new _.lc(void 0,hO(e[1],b,_.kc));$nd(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.RZc(d,e[0],e[1]));break;default:throw Error("Jg");}}};
var cod=function(a,b){if(0===a.length)throw new _.lc("mutateUserPref requires a namespace.",_.aM(3));var c=null;b instanceof _.kD?c=(b=(b=_.C(b,_.hp,1))&&b.getKey())&&_.ip(b)||null:b instanceof _.jD&&(c=(b=b.getKey())&&_.ip(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.lc("mutateUserPref unsupported for namespace: "+c,_.aM(3));};
var dod=function(a){this.H=a};
var f3c=function(a){QP.call(this,"IS","drive.ds.sync.ItemServiceProxy",(eod=_.Th()).promise);var b=this;this.Xn=null;this.Ja=this.Oa=this.Ta=this.ma=!1;this.ha=this.ka=this.W=null;this.$a=new _.yn;this.Ha=new _.yn;this.V=eod;eod=void 0;this.context=a;amd(this.context,new znd(this.V.promise));G5c(this.context.Ig,_.Md(this.context.Oc,28));this.H=this.context.Kfa;this.O=new Cmd(this.V.promise,this.context,this.H);this.nb=new aod(this.V.promise,this.context.dQ);this.Fa=new xnd(this.V.promise,this.context);
this.Mc=new _.Ee(this);this.Ma(this.Mc);this.Mc.listen(this.context.qk(),[].concat(_.jd(Object.values(_.aB))),function(c){return void b.dispatchEvent(c)})},eod;_.L(f3c,QP);
f3c.prototype.initialize=function(){var a=this;if(!this.Xn){this.Xn=_.Ph(this.oa);var b=this.context.Rk().H(106E3);this.Xn.then(function(){b&&b.Yj();a.S1a()},function(){_.EN(a.context.Rk(),181008852)});var c=_.iN(this.context.Oc)?"(coldstart) ":"";this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Initializing "+c+"with client build: "+this.context.Oc.Ji());var d=k2c(this.context.Oc,this.vi(),_.oN(this.context.Ig));fod(this,d);2===d.H?(c=new UP(new wmd,6,this.context.Rf()),rnd(c,d.O),this.Ha.resolve(c)):
D2c(this.Fa);this.context.Rf().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+d.endpoint);d.channel.start();Zld(this.context,function(){return god(d.channel)})}return this.Xn};
var god=function(a){return _.Jja([new _.Oh(function(b){a.isDisposed()||VO(a,"8.1",void 0,function(){a.dispose();b()})}),_.wi(1E4)])},fod=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 hod(a,b)});2===b.H?a.Ha.promise.then(function(){return void iod(a,b)}):iod(a,b);UO(c,"2.1",function(){return{dsc:a.context.Oc.kc()}});UO(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new vmd(d.id,c,a.context.Rf(),d.clients)),d.dsp&&jod(c),
d.ivd&&kod(a,c)):(d=new _.kc(JSON.parse(d.err)),a.oa.Od(new _.lc("Unable to initialize dataservice.",d)))});UO(c,"2.15",function(d){a.dispatchEvent(new ofd(d.dt))});UO(c,"2.5",function(d){a.context.Du(d.id)});UO(c,"2.6",function(d){a.context.Ij().Il(d.os)});UO(c,"2.18",function(d){a.context.Ij().My(d.oois)});UO(c,"2.7",function(){a.ma=!1});UO(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new f6c(d.au?"ib":"jb"))});UO(c,"2.19",function(d){a.context.qk().update(d.cs)});UO(c,"2.9",function(d){var e=
d.logName,f=d.level;d=_.tt("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Rf().config(e,d);break;case "fine":_.mN(a.context.Rf(),e,d,"fine");break;case "finer":_.mN(a.context.Rf(),e,d,"finer");break;case "finest":_.mN(a.context.Rf(),e,d,"finest");break;case "info":a.context.Rf().info(e,d);break;case "warning":case "severe":D5c(a.context.Rf(),e,d);break;default:D5c(a.context.Rf(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),D5c(a.context.Rf(),e,d)}});UO(c,"2.10",
function(d){return void a.L$(d)});UO(c,"2.12",function(){a.Ja=!0;WP(a)});UO(c,"2.14",function(){return a.$a.resolve()});UO(c,"2.16",function(){return a.Ta=!0});UO(c,"2.17",function(d){a.context.Rf().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},iod=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",hod(a,b));VO(b.channel,"8.4",{dsc:a.context.Oc.kc()});jod(b.channel);kod(a,b.channel)},jod=function(a){_.n._DRIVE_dsp&&VO(a,"8.3",{dsp:lod(_.n._DRIVE_dsp)});
_.n._DRIVE_dspc=function(b){if(_.n._DRIVE_dsp){var c=[];c[b]=_.n._DRIVE_dsp[b];VO(a,"8.3",{dsp:lod(c)})}}},kod=function(a,b){_.S(a.context.Oc,24,!1)&&(_.n._DRIVE_ivd?VO(b,"8.2",{ivd:_.n._DRIVE_ivd}):void 0===_.n._DRIVE_ivd&&(_.n._DRIVE_ivdc=function(){_.n._DRIVE_ivd&&VO(b,"8.2",{ivd:_.n._DRIVE_ivd})}))},hod=function(a,b){var c={};if(1===b.H){var d=new _.oPa(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.Oc.Ji(),
ufds:b.V}};f3c.prototype.yb=function(){return{uid:this.vi(),fds:_.oN(this.context.Ig)}};f3c.prototype.vi=function(){var a=_.Oj(_.Oj(_.MH(this.context.Oc.clone(),28),44),91),b=new _.vL;b.update(_.gN(_.DL(a)));b.update(String(_.RL(_.DL(a))));b.update(a.kc());return _.HSc(b.digest())};var lod=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=f3c.prototype;_.g.L$=function(a){this.dispatchEvent(new _.mc(new _.lc(void 0,new _.kc(JSON.parse(a.p)))))};
_.g.query=function(a){WP(this);m$c(this.context.Fm,a,E5c(this.context.Ig));this.gF();var b=this.O.sxa(a);this.Oa||(a=a.we(),a&&121===_.B(a,1)||(this.Oa=!0,this.Mc.listen(b,_.xc,this.UMa)));return b};_.g.UMa=function(a){a=a.currentTarget;1===a.Ab()&&(this.Fa.H=this.Ta,this.Mc.Yc(a,_.xc,this.UMa))};_.g.Fq=function(a){WP(this);k$c(a);this.gF();return this.O.pxa(a)};
_.g.sva=function(a,b){var c=this;WP(this);if(this.ka&&_.ak(this.ka.wd(),a))return this.ka;this.ka=new Ind(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return hO(h[0],k,B9c)})},b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.bGa=function(a,b){var c=this;WP(this);if(this.ha&&_.ak(this.ha.wd(),a))return Wnd(this.ha),this.ha;this.ha=new Tnd(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return hO(e[0],f,med)})},b);_.n.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.iaa=function(a){WP(this);return this.send("3.14",[a],function(b,c){return hO(b[0],c,wP)})};_.g.y8=function(a){WP(this);return this.send("3.15",[a],function(b,c){return hO(b[0],c,wP)})};
_.g.xd=function(a){WP(this);!this.ma&&_.VM(a)&&(this.ma=!0);a=m2c(a);return this.send("3.3",[a],function(b,c){return hO(b[0],c,_.UM)})};_.g.VN=function(a){WP(this);a=w2c(a);return this.send("3.35",[a],function(b,c){return hO(b[0],c,_.e6c)}).then()};_.g.mz=function(a){WP(this);for(var b=0;b<a.length;b++)!this.ma&&_.VM(a[b])&&(this.ma=!0);a=p2c(a);return this.send("3.4",[a],function(c,d){return B$c(c[0],d).get()})};_.g.oxa=function(){WP(this);return bod(this.nb)};
_.g.DSa=function(a){WP(this);return new ynd(this.V.promise,a)};_.g.Gq=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.5",[a,!!b],function(e,f){f=hO(e[0],f,YO);return new _.zN(f,e[1],e[2])}).addCallback(function(e){T$c(c.H,d,e);return e.response}).Gg(function(e){WO(c.H,d);return e})};_.g.sr=function(a){WP(this);return this.send("3.10",[a],function(b,c){return hO(b[0],c,jed)})};
_.g.kaa=function(a){WP(this);return this.send("3.11",[a],function(b,c){return hO(b[0],c,ned)})};_.g.w8=function(a){WP(this);return this.send("3.12",[a],function(b,c){return hO(b[0],c,ned)})};_.g.gT=function(a){WP(this);return this.send("3.13",[a],function(b,c){return hO(b[0],c,ned)})};
_.g.rN=function(a,b){var c=this;WP(this);var d=_.Mg();this.H.create(d,a);return this.send("3.1",[a,!!b],function(e,f){f=hO(e[0],f,_.AP);return new _.CN(f,e[1],e[2])}).addCallback(function(e){T$c(c.H,d,e);return e.response}).Gg(function(e){WO(c.H,d);return e})};
_.g.SG=function(a,b){var c=this,d=_.Md(this.context.Oc.Zf(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&J2c(a,d);WP(this);var e=_.Mg();this.H.create(e,a);return this.send("3.2",[a,!!b],function(f,h){h=hO(f[0],h,_.sz);return new _.BN(h,f[1],f[2])}).addCallback(function(f){T$c(c.H,e,f);return f.response}).Gg(function(f){WO(c.H,e);return f})};
_.g.VR=function(a){WP(this);cod(_.Md(this.context.Oc.Zf(),30),a);a=t2c(a);return this.send("3.6",[a],function(b,c){return hO(b[0],c,oed)})};_.g.gu=function(a){WP(this);return this.send("3.16",[a],function(b,c){return hO(b[0],c,V5c)})};_.g.aCa=function(){return this.ma};_.g.Il=function(a){WP(this);this.send("3.8",[a])};_.g.My=function(a){WP(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.nY=function(a){WP(this);$ld(this.context).nY(a);this.My(!!a)};
_.g.gF=function(){WP(this);this.send("3.9",[])};_.g.XR=function(){WP(this);this.send("3.41",[]);this.context.XR();var a=N5c(this.context.Rk(),106006);a&&this.V.promise.then(function(b){var c=_.C(_.uN(a),k5c,6);if(!c){c=new k5c;var d=_.uN(a);_.J(d,6,c)}c=_.A(c,1,b.clientId);_.A(c,2,b.O);a.Yj()},function(){})};_.g.tB=function(){WP(this);return this.context.tB()};_.g.hQ=function(){WP(this);return _.Ph(this.send("3.19",[],function(a,b){return hO(a[0],b,E$c)}))};_.g.isConnected=function(){return this.context.qk().isConnected()};
_.g.T7=function(){return this.send("3.46",[],function(a,b){return hO(a[0],b,_.nZc)}).then()};_.g.I9=function(){return this.Fa};_.g.sync=function(){WP(this);return this.send("3.28",[]).then()};_.g.Fu=function(){return this.context.Fu()};_.g.lY=function(a){this.Ha.promise.then(function(b){return void b.lY(a)})};_.g.Qda=function(a){WP(this);return this.O.zxa(a)};_.g.WY=function(a){WP(this);return this.O.yxa(a)};_.g.ZFa=function(a){WP(this);p$c(this.context.Fm,a,E5c(this.context.Ig));return this.O.vxa(a)};
_.g.gqa=function(a){WP(this);return new Ynd(this.V.promise,a)};_.g.gwa=function(a){var b=this;WP(this);if(!this.W||this.W.isDisposed())this.W=new Ond(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return hO(d[0],e,jfd)})});return this.W};_.g.IGa=function(){this.W&&!this.W.isDisposed()?this.W.poll().then():_.Ph()};_.g.x8=function(a){WP(this);return this.send("3.22",[a],function(b,c){return hO(b[0],c,kfd)})};
_.g.yV=function(a){WP(this);return this.send("3.25",[a],function(b,c){return hO(b[0],c,ffd)})};_.g.Dba=function(){return this.$a.promise};_.g.aoa=function(a){var b=_.Th();this.send("3.30",[a],function(c,d){c[0]?b.resolve(hO(c[0],d,mfd)):b.reject(new _.lc(void 0,hO(c[1],d,_.kc)))}).Gg(function(c){return void b.reject(c)});return b.promise};_.g.Iwa=function(a){WP(this);return this.O.mxa(a)};_.g.S7=function(a){WP(this);return this.send("3.42",[a],function(b,c){return hO(b[0],c,n7c)}).then()};
_.g.dP=function(a){WP(this);var b=new _.yn;this.send("3.39",[a],function(c,d){return c.map(function(e){return hO(e,d,dad)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new dod(b.promise))};_.g.tGa=function(a){var b=this;WP(this);return new Bnd(this.context,a,function(c){return b.send("3.37",[c.request,c.pageToken],function(d,e){return new H9c(hO(d[0],e,xP),d[1])}).then()})};
_.g.moa=function(a){WP(this);return this.send("3.38",[a],function(b,c){return hO(b[0],c,wed)}).then()};_.g.pLa=function(a){WP(this);return this.O.Dxa(a)};_.g.bra=function(a){WP(this);return this.O.Cxa(a)};_.g.EJa=function(a){var b=this;WP(this);return new Cnd(this.context,a,function(){return b.send("3.40",[a],function(c,d){return hO(c[0],d,_.WN)}).then()})};_.g.FJa=function(a){WP(this);return this.O.wxa(a)};_.g.O_=function(a){WP(this);this.send("3.43",[a])};
_.g.v0=function(a){WP(this);return this.send("3.44",[a],function(b,c){return hO(b[0],c,a7c)}).then()};_.g.Qo=function(a){WP(this);if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.rk()&&!c.getItem())return Promise.reject(Error("Mg"))}return Promise.resolve(this.send("3.45",a))};
_.g.S1a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.wi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Jja(b).then(function(c){c?_.ti(a.S1a.bind(a),6E4):(a.Ja=!0,WP(a))})}};var WP=function(a){a.Ja&&a.dispatchEvent(new Ofd)};
var h3c=function(a){EP.call(this,a);this.ha=this.ka=this.oa=null;this.kb=_.Th();this.H=a.Pm()};_.L(h3c,EP);h3c.prototype.pSa=function(){this.Ha=new Imd(this.context);this.Ma(this.Ha);this.Ja=new Mmd(this.context);this.Ma(this.Ja);this.Oa=new Tmd(this.context);this.Ma(this.Oa)};
h3c.prototype.$a=function(){var a=this,b=["hVFf7"];_.iN(this.context.Oc)&&b.push("BNEDtc");bP(this.O,b,function(){return void a.hXa()});bP(this.O,["T8oKm","ZA9qG"],function(){return void mod(a)});bP(this.O,["T8oKm","mrK8ic"],function(){return void mod(a)});this.Mc.listen(this.Ha,"WPi0i",this.Usa.bind(this,1));this.Mc.listen(this.Ja,"Qb",this.Usa.bind(this,2));this.Mc.listen(this.Oa,"WPi0i",this.Usa.bind(this,4));bP(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var mod=function(a){IP(a.context).addCallback(function(b){b.start()})};
_.g=h3c.prototype;_.g.Usa=function(a){_.ma(b7c,a)&&this.dispatchEvent(new ofd(a))};_.g.WY=function(a){return this.V.yxa(a.clone())};_.g.ZFa=function(a){p$c(this.context.Fm,a,E5c(this.context.Ig));return this.V.vxa(a.clone())};_.g.Qda=function(a){return this.V.zxa(a.clone())};_.g.gqa=function(a){return new jnd(a,this.context.Pm())};
_.g.sva=function(a,b){var c=this;if(this.oa&&_.ak(this.oa.wd(),a))return this.oa;this.oa=new Ind(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 _.UVc(a,b,c);return _.$h(this.H.then(function(e){return e.Se(d)}).Fg(function(e){return _.cM(e)}))};_.g.gwa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new Ond(a,this.context,function(c){return nod(b,c)});return this.ha};var nod=function(a,b){return _.$h(a.H.then(function(c){return c.Se(b)}).Fg(function(c){return _.cM(c)}))};
_.g=h3c.prototype;_.g.IGa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Ph()};_.g.yV=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}))};_.g.x8=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}))};_.g.bGa=function(a,b){var c=this;if(this.ka&&_.ak(this.ka.wd(),a))return Wnd(this.ka),this.ka;this.ka=new Tnd(a.clone(),this.context,this.NKb.bind(this),b);_.n.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.NKb=function(a){var b=this;return this.H.then(function(c){return c.Se(a)}).then(function(c){return _.IL(b.context.Oc)?obd(b.context.tf.vq,_.Uj(c.qd(),_.Fk,2),a.wd().getId()).then(function(){return c}):c},_.cM)};_.g.iaa=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Se(a)}).then(function(c){return _.IL(b.context.Oc)?obd(b.context.tf.vq,[_.C(c,_.Fk,2)],a.Cc()).then(function(){return c}):c},_.cM))};
_.g.y8=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};_.g.Iwa=function(a){return this.V.mxa(a.clone())};_.g.S7=function(a){return this.H.then(function(b){return b.Se(a)}).then(null,_.cM)};_.g.dP=function(a){return this.H.then(function(b){return b.Se(a)}).then(function(b){var c=new _.yn;ybd(a,b).then(function(d){return c.resolve(d)});return new dod(c.promise)},function(b){return void _.cM(b)})};_.g.tGa=function(a){var b=this;return new Bnd(this.context,a,function(c){return b.H.then(function(d){return d.Se(c)}).Fg(function(d){return _.cM(d)})})};
_.g.moa=function(a){return this.H.then(function(b){return b.Se(a)}).then(null,_.cM)};_.g.xd=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};_.g.VN=function(a){return this.H.then(function(b){return b.Se(a)}).then(null,_.cM)};_.g.mz=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.eM?c.push(String(f.Cc())):c.push(String(f.getId()));d.push(b.xd(f))});a=new _.po(d);var e=new _.Vh;a.addCallback(this.$mb.bind(this,e,c));return e};
_.g.oxa=function(){return new Zmd(this.context.Oc,this.context.JA,this.context.YQ().Jfa,this.context.Pm(),this.context.dQ,this.context.Rf(),this.context.Rk())};_.g.Gq=function(a,b){var c=this,d=_.Mg();this.W.create(d,a);3===a.getType()?a=EP.prototype.Gq.call(this,a).addCallback(function(e){return new _.zN(e,1,!1)}):(cP(this.O,"Qubz4b"),a=this.Ja.enqueue(new Rmd(a,b)));return a.addCallback(function(e){T$c(c.W,d,e);return e.response}).Gg(function(){WO(c.W,d)})};
_.g.sr=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};_.g.kaa=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};_.g.w8=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};_.g.gT=function(a){return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};
_.g.rN=function(a,b){var c=this;cP(this.O,"iuEtc");var d=_.Mg();this.W.create(d,a);return this.Ha.enqueue(new Kmd(a,b)).addCallback(function(e){T$c(c.W,d,e);return e.response}).Gg(function(){WO(c.W,d)})};
_.g.SG=function(a,b){var c=this,d=_.Md(this.context.Oc.Zf(),30);if(!d||0===d.length)return _.ai(new _.lc("getUserPrefs requires a namespace.",_.aM(3)));0===_.Md(a,3).length&&J2c(a,d);var e=_.Mg();this.W.create(e,a);cP(this.O,"OZvrNc");return this.Oa.enqueue(new Wmd(a,b)).addCallback(function(f){T$c(c.W,e,f);return f.response}).Gg(function(){WO(c.W,e)})};_.g.VR=function(a){cod(_.Md(this.context.Oc.Zf(),30),a);return _.$h(this.H.then(function(b){return b.Se(a)}).then(null,_.cM))};
_.g.gu=function(a){var b=this;return _.$h(this.H.then(function(c){return c.Se(a)}).then(function(c){return _.IL(b.context.Oc)?nbd(b.context.tf.vq,c):c},_.cM))};_.g.pLa=function(a){return this.V.Dxa(a.clone())};_.g.bra=function(a){return this.V.Cxa(a.clone())};_.g.EJa=function(a){var b=this;return new Cnd(this.context,a,function(c){return b.H.then(function(d){return d.Se(c)}).Fg(function(d){return _.cM(d)})})};_.g.FJa=function(a){return this.V.wxa(a.clone())};
_.g.O_=function(a){Chd(this.context.tf,[a])};_.g.v0=function(a){return this.H.then(function(b){return b.Se(a)}).then(null,_.cM)};_.g.Qo=function(a){if(1!==_.hN(this.context.Oc))return Promise.reject(Error("Kg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Cc())return Promise.reject(Error("Lg"));if(!c.rk()&&!c.getItem())return Promise.reject(Error("Mg"))}this.context.tf.Qo(a);mid(this.context.tf);return Promise.resolve()};_.g.aCa=function(){return this.context.YQ().dK()};
_.g.My=function(a){var b=this;return this.context.My(a).then(function(c){return c?(b.context.Ij().My(a),b.context.Rs.iL()):_.Ph(!a)})};_.g.nY=function(a){$ld(this.context).nY(a);this.My(!!a)};_.g.gF=function(){IP(this.context).addCallback(function(a){a&&a.Doa()});this.context.rha.gF()};_.g.lY=function(a){a.Xi(this.context)};_.g.$mb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];mid(this.context.tf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Sh([this.context.gaa.promise,this.context.Lfa.promise]).then(function(){return a.context.Rs.iL()}).then()};_.g.Fu=function(){IP(this.context).addCallback(function(a){a&&a.dispose()});return EP.prototype.Fu.call(this)};_.g.Dba=function(){return this.kb.promise};
var ood=function(){var a='<div class="'+_.F("la-r")+'">';a=a+'Ein Problem ist aufgetreten. Bitte aktualisieren Sie die Seite.</div><button class="'+(_.F("la-Y-A")+" "+_.F("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Neu laden</button>")};
_.vn({id:_.am,callback:function(a){var b=_.r1c(a),c=k3c(a),d=_.C(a.get(_.Uc),_.Sb,10);_.uXc(d,b);_.Kj(d,28,c);b=i3c(a,d);a.registerService(_.bm,b.I9());_.Ke(b,"VbxEwf",function(){var e={};_.uc(_.Kt.getService(a),new _.jq(new _.iq(ood,{}),"d",(e.reload=function(){_.n.window.location.reload()},e),4))});return b}});

_.w();

}catch(e){_._DumpException(e)}
try{
_.pod=function(a,b){return _.J(a,17,b)};_.qod=function(a,b){return _.A(a,2,b)};_.rod=function(a,b){return _.A(a,1,b)};_.sod=function(a,b){return _.J(a,2,b)};_.tod=function(a,b){return _.Nj(a,1,b)};_.uod=function(a,b){return _.Kj(a,1,b)};_.vod=function(a,b){return _.Nj(a,2,b)};_.wod=function(a,b){return _.J(a,3,b)};_.t("RsR2Mc");


_.w();

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